Method summary for the VideoPlayer class
The following table lists the methods of the VideoPlayer class:
Method
VideoPlayer.addEventListener()
VideoPlayer.close()
VideoPlayer.load()
VideoPlayer.pause()
VideoPlayer.play()
VideoPlayer.removeEventListener()
VideoPlayer.seek()
VideoPlayer.setScale()
VideoPlayer.setSize()
VideoPlayer.stop()
Property summary for the VideoPlayer class
The VideoPlayer class has class and instance properties.
Class properties
The following properties occur only for the VideoPlayer class. They are read-only constants
that apply to all instances of the VideoPlayer class.
Property
VideoPlayer.BUFFERING
VideoPlayer.CONNECTION_ERROR
708
FLVPlayback Component (Flash Professional Only)
Description
Creates a listener for a specified event.
Closes the video stream and FCS connection.
Loads the FLV file but does not begin playing.
After resizing (if needed) the FLV file is paused.
Pauses playing the video stream.
Begins playing the video stream.
Removes an event listener.
Seeks to a specified time in the file, given in
seconds, with decimal precision up to
milliseconds.
Sets
and
scaleX
Sets
and
width
height
Stops playing the video stream.
Value
"buffering"
"connectionError"
simultaneously.
scaleY
simultaneously.
Description
Possible value for the
property. Indicates state
entered immediately after
or
is called.
play()
load()
Possible value for the
property. Indicates that a
connection error occurred.
state
state
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers