Instance properties

The following table lists the instance properties of the FLVPlayback class This set of properties applies to each instance of an FLVPlayback component in the application. For example, if you drag two instances of the FLVPlayback component to the Stage, each instance has a set of these properties.

Property

Description

FLVPlayback.activeVideoPlayerIndex

A number that specifies which FLV file stream is affected by other methods, properties, and events. Use this property to manage multiple FLV file streams; Default is 0.

FLVPlayback.autoPlay

A Boolean value that, if true, specifies that the component plays the FLV file immediately when it is loaded. Default is true.

FLVPlayback.autoRewind

A Boolean value that, if true, causes the FLV file to rewind to the Frame 1 when play stops.

FLVPlayback.autoSize

A Boolean value that, if true, causes the video to automatically size to the source dimensions.

FLVPlayback.backButton

A MovieClip object that is the backButton control.

FLVPlayback.bitrate

A number that specifies the user's bandwidth in bits per second. Used in some cases to decide which FLV file to play.

FLVPlayback.buffering

A Boolean value that is true if the video is in a buffering state. Read-only.

FLVPlayback.bufferingBar

A MovieClip object that is the bufferingBar control.

FLVPlayback.bufferingBarHidesAndDisablesOthers

Affects behavior of controls when the component enters the buffering state.

FLVPlayback.bufferTime

A number that specifies the number of seconds to buffer in memory before beginning playback of a video stream.

FLVPlayback.bytesLoaded

A number that indicates the extent of downloading in number of bytes for an HTTP download. Read only.

FLVPlayback.bytesTotal

A number that specifies the total number of bytes downloaded for an HTTP download. Read-only.

FLVPlayback.contentPath

A string that specifies the URL of an FLV file to load.

FLVPlayback.cuePoints

An array that describes ActionScript cue points and disabled embedded FLV file cue points. Should never be used directly with ActionScript. Should be set only through the Cue Points dialog box.

FLVPlayback.forwardButton

A MovieClip object that is the ForwardButton control.

FLVPlayback.height

A number that specifies the height of the video in pixels.

FLVPlayback.idleTimeout

The amount of time, in milliseconds, before Flash terminates an idle connection to the FMS because playing is paused or stopped.

FLVPlayback.isLive

A Boolean value that is true if the video stream is live.

FLVPlayback.isRTMP

A Boolean value that is true if the FLV file is streaming from an FMS or an FVSS. Read-only.

FLVPlayback.maintainAspectRatio

A Boolean value that, if true, maintains the video aspect ratio.

FLVPlayback.metadata

An object that is a metadata information packet that is received from a call to the onMetaData() callback function, if available. Read-only.

FLVPlayback.metadataLoaded

A Boolean value that is true if a metadata packet has been encountered and processed or if it is clear that it will not be processed. Read-only.

FLVPlayback.muteButton

A MovieClip object that is the MuteButton control.

FLVPlayback.ncMgr

An INCManager object that provides access to an instance of the class implementing INCManager. Read-only.

FLVPlayback.pauseButton

A MovieClip object that is the PauseButton control.

FLVPlayback.paused

A Boolean value that is true if the FLV file is in a paused state. Read-only.

FLVPlayback.playButton

A MovieClip object that is the PlayButton control.

FLVPlayback.playheadPercentage

A number that specifies playhead time as a percentage of the total FLV file duration.

FLVPlayback.playheadTime

A number that is the current playhead time or position, measured in seconds, which can be a fractional value.

FLVPlayback.playheadUpdateInterval

A number that is the amount of time, in milliseconds, between each playheadUpdate event.

FLVPlayback.playing

A Boolean value that is true if the FLV file is playing. Read-only.

FLVPlayback.playPauseButton

A MovieClip object that is the PlayPauseButton control.

FLVPlayback.preferredHeight

A number that specifies the height of the source FLV file.

FLVPlayback.preferredWidth

A number that specifies the width of the source FLV file.

FLVPlayback.progressInterval

A number that is the amount of time, in milliseconds, between each progress event.

FLVPlayback.scaleX

A number that specifies the horizontal scale.

FLVPlayback.scaleY

A number that specifies the vertical scale.

FLVPlayback.scrubbing

A Boolean value that is true if the user is dragging the seekBar handle. Read-only.

FLVPlayback.seekBar

A MovieClip object that is the SeekBar control.

FLVPlayback.seekBarInterval

A number that specifies, in milliseconds, how often to check the seekBar handle when scrubbing. The default value is 250.

FLVPlayback.seekBarScrubTolerance

A number (percentage) that specifies how far a user can move the scrubBar handle before an update occurs. The value is specified as a percentage, ranging from 1 to 100.

FLVPlayback.seekToPrevOffset

A number, in seconds, that the seekToPrevNavCuePoint() method uses when it compares its time against the previous cue point.

FLVPlayback.skin

A string that specifies the name of a skin SWF file.

FLVPlayback.skinAutoHide

A Boolean value that, if true, hides the component skin when the mouse is not over the video. Defaults to false.

FLVPlayback.state

A string that specifies the state of the component. Set with the load(), play(), stop(), pause() and seek() methods. Read-only.

FLVPlayback.stateResponsive

A Boolean value that is true if the state is responsive. Read-only.

FLVPlayback.stopButton

A MovieClip object that is the StopButton control.

FLVPlayback.stopped

A Boolean value that is true if the state is stopped. Read-only.

FLVPlayback.totalTime

A number that is the total playing time for the video in seconds

FLVPlayback.transform

An object that provides direct access to the Sound.setTransform() and Sound.getTransform() methods to provide more sound control.

FLVPlayback.visible

A Boolean value that, if true, makes the FLVPlayback component visible.

FLVPlayback.visibleVideoPlayerIndex

A number that you can use to manage multiple FLV file streams. Sets which video player instance is visible and audible. Default is 0.

FLVPlayback.volume

A number in the range of 0 to 100 that indicates the volume control setting.

FLVPlayback.volumeBar

A MovieClip object that is the VolumeBar control.

FLVPlayback.volumeBarInterval

A number that specifies, in milliseconds, how often to check the volumeBar handle when scrubbing. The default value is 250.

FLVPlayback.volumeBarScrubTolerance

A number (percentage) that specifies how far a user can move the volume bar handle before an update occurs.

FLVPlayback.width

A number that specifies the width of the component instance in pixels.

FLVPlayback.x

A number that specifies the horizontal location of the video player in pixels.

FLVPlayback.y

A number that specifies the vertical location of the video player in pixels.