Flash CS3 Documentation |
|||
| ActionScript 2.0 Components Language Reference > FLVPlayback Component > FLVPlayback class | |||
Inheritance MovieClip > FLVPlayback class
ActionScript Class Name mx.video.FLVPlayback
FLVPlayback extends the MovieClip class and wraps a VideoPlayer object. For information on the VideoPlayer class, see VideoPlayer class.
|
NOTE |
|
The FLVPlayback class is supported only if you are working in a document that specifies ActionScript 2.0 in its Publish Settings. |
Unlike other components, the FLVPlayback component does not extend UIObject or UIComponent and, therefore, does not support the methods and properties of these classes. For example, you must call the MovieClip method, attachMovie(), rather than the UIObject method, createClassObject(), to create an instance of the component in ActionScript.
The methods and properties of the FLVPlayback class enable you to play and manipulate FLV files using the FLVPlayback component in your Flash application.
Setting a property of the FLVPlayback class with ActionScript overrides an equivalent parameter that initially set the property in the Property inspector or the Component inspector.
Each component class has a version property, which is a class property. Class properties are available only on the class itself. The version property returns a string that indicates the version of the component. The following code shows the version in the Output panel:
trace(mx.video.FLVPlayback.version);
Flash CS3