Flash CS3 Documentation |
|||
| ActionScript 2.0 Components Language Reference > FLVPlayback Component > FLVPlayback class > FLVPlayback.scaleY | |||
Flash Player 8.
Flash Professional 8.
my_FLVPlybk.scaleY
Property; a number that is the vertical scale. The standard scale is 100.
The following example sets the horizontal (scaleX) and vertical (scaleY) scale of the FLVPlayback instance to 150 percent.
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.scaleX = 150; my_FLVPlybk.scaleY = 150; my_FLVPlybk.contentPath = "http://www.helpexamples.com/flash/video/water.flv";
FLVPlayback.scaleX, FLVPlayback.setScale()
Flash CS3