Specifying an object's path

To use an action to control a movie clip or loaded SWF file, you must specify its name and its address, called a target path.

In ActionScript, you identify a movie clip by its instance name. For example, in the following statement, the _alpha property of the movie clip named star is set to 50% visibility:

star._alpha = 50;

To give a movie clip an instance name:

  1. Select the movie clip on the Stage.
  2. Enter an instance name in the Property inspector.

To identify a loaded SWF file:

To enter a SWF file's target path:

For more information on target paths, see Using absolute and relative target paths.