FLVPlayback.seekBar
Availability
Flash Player 8.
Edition
Flash Professional 8.
Usage
my_FLVPlybk.seekBar
Description
Property; a MovieClip object that is the seek bar control at playtime. For more information
on using FLV Playback Custom UI components for playback controls, see
Playback Custom UI components individually" on page
Example
The following example uses the
, and
stopButton
seekBar
FLVPlayback component.
Drag an FLVPlayback component to the Stage, give it an instance name of my_FLVPlybk,
and set the
parameter to None in the Component inspector. Next, add the following
skin
individual FLV Custom UI components, and give them the instance names shown in
parentheses: BackButton (my_bkbttn), ForwardButton (my_fwdbttn), PlayPauseButton
(my_plypausbttn), StopButton (my_stopbttn) and SeekBar (my_seekBar). Then add the
following lines of code to the Actions panel on Frame 1 of the Timeline:
/**
Requires:
- FLVPlayback component on the Stage with an instance name of my_FLVPlybk
- FLV Custom UI BackButton, ForwardButton, PlayPauseButton, StopButton and
SeekBar
components in the Library
*/
import mx.video.*;
my_FLVPlybk.backButton = my_bkbttn;
my_FLVPlybk.forwardButton = my_fwdbttn;
my_FLVPlybk.playPauseButton = my_plypausbttn;
my_FLVPlybk.stopButton = my_stopbttn;
my_FLVPlybk.seekBar = my_seekBar;
my_FLVPlybk.contentPath = "http://www.helpexamples.com/flash/video/
water.flv";
654
FLVPlayback Component (Flash Professional Only)
,
backButton
forwardButton
properties to attach individual FLV Custom UI controls to an
"Skinning FLV
525.
,
,
playButton
pauseButton
,
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers