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

Seminar 10. Using ActionScript to Contro... > Using the onClipEvent Action

Using the onClipEvent Action

Up to this point in the book, you have created a few basic actions. You used the on action to apply script to a button in Seminar 7, “Site Interactivity and Button Functionality.” The on action requires an event handler, such as (release). This event is the trigger for the button. This seminar introduces a new action, the onClipEvent action, which is similar to the on action but is attached to a movie clip instead of a button. The onClipEvent action is used often in Flash development to control and communicate with other objects.

Similar to the on action, the onClipEvent action requires an event handler for triggering a movie clip. The main difference between the on and onClipEvent actions is what happens when the end-user interacts with the movie through his mouse.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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