ActionScript 2.0 Components Language Reference |
|
|
|
| Media components > Using media components > Using the MediaDisplay and MediaController components | |||
If you want a lot of control over the look and feel of your media display, you may want to use the MediaDisplay and MediaController components together. The following example creates a Flash application that displays your CD and DVD preview media.
To create a Flash document that displays a CD or DVD preview:horizontal property to false.backgroundStyle to none.
This specifies that the MediaController instance should not draw a background but should instead fill the media between the controls.
Next, you'll use a behavior to associate the MediaController and MediaDisplay instances so that the MediaController instance accurately reflects the playhead movement and other settings in the MediaDisplay instance, and so that the MediaDisplay instance responds to user clicks.
myDisplay under _root, and click OK.For more information on using behaviors with media components, see Controlling media components by using behaviors.
|
|
|
|