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

Chapter 13. Interactivity with Objects > Creating a Button with Multiple Hot Sp...

Creating a Button with Multiple Hot Spots

Part of the fun of buttons is that you can use them for anything. You don't have to simulate buttons or switches. Flash buttons are versatile in part because each frame of a button can have quite different content. The Hit-frame graphic, for example, need not coincide with any of the graphics of the previous frames: It can be a separate graphic that creates hot spots in various areas of the Stage.

Imagine an animated shell game in which your viewer must determine which cup is hiding a bean. You could create a separate button that displays the message "Nope, try again" for each empty cup, or you could create one button that displays the message and put a graphic for each empty cup in the Hit frame of that button.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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