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

Chapter 28. The Basics of ActionScript > Adding ActionScript to an Object

Adding ActionScript to an Object

When you add ActionScript to an object, it must always be within an event handler, whether the ActionScript is on a button or a movie clip.

On a button, use the following general syntax:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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