View comments | RSS feed

Flash CS3  |  Go to CS4 Help

Enable, edit, and test buttons

By default, Flash keeps buttons disabled as you create them, to make it easier to select and work with them. When a button is disabled, clicking the button selects it. When a button is enabled, it responds to the mouse events that you’ve specified as if the SWF file were playing. You can still select enabled buttons. Disable buttons as you work, and enable buttons to quickly test their behavior.

For a text tutorial about buttons, see Add Button Navigation and Animation on the Flash Tutorials page at www.adobe.com/go/learn_fl_tutorials.

Enable and disable buttons

  Select Control > Enable Simple Buttons. A check mark appears next to the command to indicate buttons are enabled. Select the command again to disable buttons.

Any buttons on the Stage now respond. As you move the pointer over a button, Flash displays the Over frame; when you click within the button’s active area, Flash displays the Down frame.

Select, move, or edit an enabled button

 Do one of the following:
  • Use the Selection tool to drag a selection rectangle around the button.

  • Use the arrow keys to move the button.

  • If the Property inspector is not visible, select Window > Properties > Properties to edit the button in the Property inspector, or Alt+double-click (Windows) or Option+double-click the button (Macintosh).

Test a button

 Do one of the following:
  • Select Control > Enable Simple Buttons. Move the pointer over the enabled button to test it.

  • Select the button in the Library panel, and click the Play button in the Library preview window.

  • Select Control > Test Scene or Control > Test Movie.

    Movie clips in buttons are not visible in the Flash authoring environment.

Comments

Comments are no longer accepted for Flash CS3. Flash CS4 is the current version. To discuss Flash CS3, please use the Adobe forum.

Comments


No screen name said on May 27, 2008 at 10:43 AM :
why do you make it so difficult to figure out how to add a simple hyperlink to a button, graphic or symbol. should be much easier to do simple things
idahoair said on Aug 18, 2008 at 7:07 AM :
"No screen name" has a good point (if you're IDE/no ActionScript 3-only), but it is fairly easy to set up a Command in building an Event Listener...

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/9.0/UsingFlash/WSd60f23110762d6b883b18f10cb1fe1af6-7dbe.html