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

Chapter 14. Learning ActionScript > Where ActionScripts Go

Where ActionScripts Go

These three places are where you can find an ActionScript in Flash: attached to a frame of a timeline (either the main timeline or that of a symbol), attached to a button symbol instance, or attached to a movie clip symbol instance.

The placement of an ActionScript determines when it is executed. Scripts in the root or a movie clip timeline execute at a specific time—when the playhead reaches the keyframe containing the script—and are referred to as frame actions. Scripts attached to button and movie clip instances usually respond to events such as mouse clicks and key presses and are called object actions.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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