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

Chapter 10. Events and Event Handling > Event Handlers Applied

10.16. Event Handlers Applied

We'll conclude our exploration of ActionScript events and event handlers with a couple of real-world examples. These are simple applications, but they give us a sense of how flexible event-based programming can be. For more event code samples, see the ActionScript Language Reference coverage of the events associated with the objects listed at the beginning of this chapter.

Example 10-2 makes a clip named box_mc shrink and grow. The box_mc clip must be square, and must have an initial size between box_mc.maxHeight and box_mc.minHeight.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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