MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 521

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

Advertisement

Media.contentPath
Applies to
MediaDisplay, MediaPlayback
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
myMedia.contentPath
Description
Property; a string that holds the relative path and filename of the media to be streamed and/or
played. Setting the
method without specifying a
Media.setMedia()
.
undefined
Example
The following example displays the name of the media playing in a text box:
myTextField.text = myMedia.contentPath;
See also
Media.setMedia()
Media.controllerPolicy
Applies to
MediaController, MediaPlayback
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
myMedia.controllerPolicy
Description
Property; determines whether the MediaController component (or the controller subcomponent
within the MediaPlayback component) is hidden when instantiated and only appears when the
user moves the mouse over the controller's collapsed state.
522
Chapter 6: Components Dictionary
property is equivalent to calling the
contentPath
mediaType
, the default type is FLV. The default value of the
parameter. When no
mediaType
Media.setMedia()
parameter is set with
property is
contentPath

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?

This manual is also suitable for:

Flash mx

Table of Contents