• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 4. Working with Groups, Symbols,... > Creating Invisible Buttons

Creating Invisible Buttons

Buttons do not require graphics to be placed in the hit state frames (the first three frames). As long as the active area contains a shape, the button will be invisible but will be functional and ActionScript can be applied to it. The active area is the fourth frame in the button symbol Timeline. An instance of an invisible button appears as a transparent blue shape in the main Timeline, but will not be visible in the exported movie.

Create an Invisible Button

1.
Click the Insert menu, and then click New Symbol.

TIMESAVER Press +F8 (Mac) or Ctrl+F8 (Win) to create a new symbol.

2.
Click the Button option.

3.
4.
Click the Insert menu, point to Timeline, and then click Keyframe to add a keyframe in the fourth frame (the active area).

TIMESAVER Press F6 to create a keyframe.

5.
Add a simple graphic (a rectangle or oval, for example) to define the active area.

6.
Make sure the first three frames remain empty.

7.
Return to the main Timeline.

8.
Drag the invisible button from the Library to the Stage.

Invisible buttons appear as transparent blue shapes but are invisible in the final export.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint