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

Chapter 17. Button Symbols > ActionScript and Buttons

ActionScript and Buttons

To make the most of a button, you need ActionScript. You can add ActionScript directly to a button instance, or you can control a button instance from ActionScript added to a frame. What's more, you can add ActionScript using either the Actions panel, or the Behaviors panel. We cover ActionScript in more detail in a later chapter, so the thing to focus on here is not ActionScript, but rather how to add it to a button.

The Behaviors Panel

The Behaviors panel was introduced in Flash MX 2004, and it closely mirrors the Behaviors panel in other Macromedia Products. The idea behind it is that you add a behavior from the panel to an object or frame, fill out a few parameters in a dialog box, and then go on with your life. It's a great tool, although a little limited in scope, which is quite all right since it wasn't supposed to be TATE (The Answer To Every thing). The Behaviors panel is broken down in Chapter 26, “The Behaviors Panel,” so we won't address all its features here. We will, however, tell you what to do with it.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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