MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 512

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

Description
Property; a string value that specifies the state the MediaController component should be in when
it is loaded at runtime. A value of
paused state. Set this property and the
The default value is
The button image displayed in the MediaController component is the opposite of the current
play/pause state. For example, in the play state, the MediaController displays a pause button,
because that is what would result from the user clicking the button and toggling the state.
Since it indicates the state that the controller will be in when it is loaded, the
activePlayControl
Property inspector or the Component inspector, if the component is on the Stage. If the
component is being created by ActionScript code, this property must be set in the
parameter. Changing the value of this property after the component has been created has no
effect. The value can be changed only by the user clicking the Play/Pause button.
Example
The following example indicates that the control will be paused when first loaded:
myMedia.activePlayControl = "pause";
See also
Media.autoPlay
Media.addCuePoint()
Applies to
MediaDisplay, MediaPlayback
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
myMedia.addCuePoint(cuePointName, cuePointTime)
Parameters
cuePointName
cuePointTime
Returns
Nothing.
"play"
autoPlay
.
"play"
property must be set before the controller is created, either through the
A string that names the cue point.
A number, in seconds, that indicates when a
indicates a play state; a value of
property such that both indicate the same state.
cuePoint
Media components (Flash Professional only)
indicates a
"pause"
initObj
event is broadcast.
513

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash mx

Table of Contents