| Flash TimelineSpecifying target paths of objects in Flash
To control a movie clip, loaded SWF file, or button, you must specify a target path. You can specify it manually, or by using the Insert Target Path dialog box, or by creating an expression that evaluates to a target path. To specify a target path for a movie clip or button, you must assign an instance name to the movie clip or button. A loaded document doesn’t require an instance name, because you use its level number as an instance name (for example, _level5). To assign an instance name to a movie clip or button just: - Select a movie clip or button on the Stage.
- Enter an instance name in the Property inspector.
To specify a target path using the Insert Target Path dialog box do the following: - Select the movie clip, frame, or button instance to which you want to assign the action. This becomes the controlling Timeline.
- In the Actions panel (Window > Actions), go to the Actions toolbox on the left, and select an action or method
- that requires a target path.
- Click the parameter box or location in the script where you want to insert the target path.
- Click the Insert Target Path button above the Script pane.
- Select Absolute or Relative for the target path mode.
- Select a movie clip in the Insert Target Path display list, and click OK.
| |