How to Create Flash CS5 Button Symbols - dummies

By Jennifer Smith, Christopher Smith, Fred Gerantabee

To make your Adobe Flash Creative Suite 5 movies better, you can use Flash CS5 buttons to give users control over the action with timeline control and navigation.

In Flash, buttons are special symbol types built to respond to mouse or keyboard interaction such as clicks, rollovers, and specific key presses. When paired with ActionScript, buttons can be used for just about any navigation or control task. Buttons are created in the same way as other symbol types, and you can easily drag instances to the stage from your library to create more buttons.

Buttons truly come to life after ActionScript is added, but you must understand how to create proper buttons before wiring them up.

As with graphical symbols, you can create buttons from existing content on the stage or as new empty symbols to which you can add content later. Follow these steps to create a new button symbol from existing content:

  1. On a new layer in your document, create a new, solid shape on the stage that you want to use as a button and select the shape with the Selection tool.

  2. Choose Modify→Convert to Symbol.

    The Convert to Symbol dialog box appears.

  3. Enter a name for your new button in the Name text box and choose Button from the Type drop-down list.

  4. Click OK to create the button.

Choose Window→Library to launch the Library panel, and you see the new symbol with the special button icon next to it.