User Guide
698 FLVPlayback Component (Flash Professional Only)
FLVPlayback.y
Availability
Flash Player 8.
Edition
Flash Professional 8.
Usage
my_FLVPlybk.y
Description
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.
Example
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;
See also
FLVPlayback.x