Add and configure a behavior

Be sure you are working in a FLA file whose ActionScript Publish setting is ActionScript 2.0 or earlier.

  1. Select the object, such as a button, to trigger the behavior.
  2. In the Behaviors panel (Window > Behaviors), click the Add (+) button and select the desired behavior from the Movieclip submenu.
  3. Select the movie clip to control with the behavior.
  4. Select a relative or absolute path.
  5. If required, select or input settings for the behavior parameters and click OK. Default settings for the behavior appear in the Behaviors panel.
  6. Under Event, click On Release (the default event) and select a mouse event from the menu. To use the On Release event, leave the option unchanged.

  This page on the Web