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:

  1. Select File > New and choose Flash File (ActionScript 2.0).
  2. In the Components panel, double-click the MediaPlayback component to add it to the Stage.
  3. In the Property inspector, do the following:
  4. In the Component inspector, enter http://www.helpexamples.com/flash/video/water.flv in the URL text box.
  5. Select Control > Test Movie to see the media play.

Flash CS3