User Guide

FLVPlayback class 647
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";
See also
FLVPlayback.scaleX, FLVPlayback.setScale()
FLVPlayback.scrubbing
Availability
Flash Player 8.
Edition
Flash Professional 8.
Usage
my_FLVPlybk.scrubbing
Description
Property; a Boolean value that is true if the user is scrubbing with the SeekBar and false
otherwise. Read-only.
Scrubbing refers to grabbing the handle of the seek bar and dragging it in either direction to
locate a particular scene in the FLV file.
Example
The following example shows the value of the scrubbing property when a seek event occurs.
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:
NOTE
You must grab the handle of the SeekBar, drag it, and release it to cause the event.