Creating applications with media components
Creating Flash content by using media components is quite simple and often requires only a few steps. This example shows how to create an application to play a small, publicly available media file.
To add a media component to an application:
- Select File > New and choose Flash File (ActionScript 2.0).
- In the Components panel, double-click the MediaPlayback component to add it to the Stage.
- In the Property inspector, do the following:
- Enter the instance name myMedia.
- Click Launch Component Inspector.
- In the Component inspector, enter http://www.helpexamples.com/flash/video/water.flv in the URL text box.
- Select Control > Test Movie to see the media play.
Flash CS3