Add navigation to a button

With behaviors, you can quickly add navigation to a button without having to know ActionScript. You'll add navigation to open a web page when the user clicks a button.

  1. On the Stage, select the instance of Button 1.
  2. In the Behaviors panel (Window > Development Panels > Behaviors), click the Add Behavior button and select Web > Go to Web Page.

  3. In the Go to URL dialog box, select _blank, to open the URL in a new browser window. In the URL text box, either accept the default setting of http://www.macromedia.com or enter a different URL. Then click OK.
  4. If desired, repeat the steps above, selecting Button 2, then Button 3, to add navigation to those buttons as well.
  5. Click the options menu control in the upper right of the Behavior panel, and select Close Panel to close the panel.