ActionScript 2.0 Components Language Reference |
|
|
|
| FLVPlayback Component > FLVPlayback class > FLVPlayback.y | |||
Flash Player 8.
Flash Professional 8.
my_FLVPlybk.y
Property; a number that specifies the vertical coordinate (location) of the video player. This property affects only the vertical location of the FLVPlayback instance and does not include the location of a skin SWF file that, when applied, may alter the location. Use the FLVPlayback y property, not the MovieClip._y property because the _y property might give a different value if a skin SWF file is loaded.
The following example places the FLVPlayback instance 25 pixels from the left and 50 pixels from the top.
Drag an FLVPlayback component to the Stage, and give it an instance name of my_FLVPlybk. Then add the following code to the Actions panel on Frame 1 of the Timeline:
/**
Requires:
- FLVPlayback component on the Stage with an instance name of my_FLVPlybk
*/
import mx.video.*;
my_FLVPlybk.contentPath = "http://www.helpexamples.com/flash/video/water.flv";
my_FLVPlybk.x = 25;
my_FLVPlybk.y = 50;
|
|
|
|