FLVPlayback.pauseButton
Availability
Flash Player 8.
Edition
Flash Professional 8.
Usage
my_FLVPlybk.pauseButton
Description
Property; a MovieClip that is the PauseButton control. For more information on using the
FLV Playback Custom UI components for playback control, see
Custom UI components individually" on page
Example
The following example uses the
and
properties to attach individual FLV Custom UI controls to an FLVPlayback
stopButton
component.
Drag an FLVPlayback component to the Stage, and 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), PlayButton
(my_plybttn), PauseButton (my_pausbttn), and StopButton (my_stopbttn). 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, PlayButton, PauseButton, and
StopButton components in the Library
*/
import mx.video.*;
my_FLVPlybk.backButton = my_bkbttn;
my_FLVPlybk.forwardButton = my_fwdbttn;
my_FLVPlybk.playButton = my_plybttn;
my_FLVPlybk.pauseButton = my_pausbttn;
my_FLVPlybk.stopButton = my_stopbttn;
my_FLVPlybk.contentPath = "http://www.helpexamples.com/flash/video/
water.flv";
See also
FLVPlayback.playButton
616
FLVPlayback Component (Flash Professional Only)
525.
,
backButton
forwardButton
,
FLVPlayback.playPauseButton
"Skinning FLV Playback
,
,
playButton
pauseButton
,
FLVPlayback.skin
,
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?