User Guide
Media class (Flash Professional only) 847
Customizing media components (Flash
Professional only)
If you want to change the appearance of your media components, you can use skinning. For a
complete guide to component customization, see Chapter 5, “Customizing Components” in
Using Components.
Using styles with media components
The media components do not use styles.
Using skins with media components
The media components do not support dynamic skinning, although you can open the media
component source document and change their assets to achieve the desired look. It is best to
make a copy of this file and work from the copy, so that you always have the installed source
to go back to. You can find the media component source document at the following locations:
■ Windows: C:\Program Files\Macromedia\Flash 8\<language>\Configuration\
ComponentFLA\MediaComponents.fla
■ Macintosh: HD/Applications/Macromedia Flash 8/Configuration/ComponentFLA/
MediaComponents.fla
Media class (Flash Professional only)
Inheritance MovieClip > UIObject class > UIComponent class > Media
ActionScript Class Names mx.controls.MediaController, mx.controls.MediaDisplay,
mx.controls.MediaPlayback
Each component class has a
version property, which is a class property. Class properties are
available only for the class itself. The
version property returns a string that indicates the
version of the component. To access this property, use the following code:
trace(mx.controls.MediaPlayback.version);
NOTE
The code trace(myMediaInstance.version); returns undefined.