MACROMEDIA FLASH 8-COMPONENTS LANGUAGE Reference page 699

Components language reference
Table of Contents

Advertisement

See also
FLVPlayback.height, FLVPlayback.setSize(), FLVPlayback.preferredHeight,
FLVPlayback.preferredWidth
FLVPlayback.x
Availability
Flash Player 8.
Edition
Flash Professional 8.
Usage
my_FLVPlybk.x
Description
Property; a number that specifies the horizontal coordinate (location) of the video player. This
property affects only the horizontal 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
property, not the
x
a different value if a skin SWF file is loaded.
Example
The following example places the FLVPlayback instance 50 pixels from the left and 25 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 = 50;
my_FLVPlybk.y = 25;
See also
FLVPlayback.y
property because the
MovieClip._x
property might give
_x
FLVPlayback class
697

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents