Need Help?

Contact us by filling out this form, and an RMI representative will contact you promptly.


Events in ActionScript 3
Price:
US$ 19.00 US$ 9.99
Duration:
1 hr 24 min with R Blank with
Learn How to Connect Your Code
Course Description

Flash is an event-driven language, and events are the glue that bind together our Flash experiences. Whether you need to work with user mouse interaction, know when an XML file has completed, build a loading animation, know when your application enters/exits full-screen -- in short, when you need to use events to do almost anything in Flash -- understanding events is key to achieving fluency in ActionScript 3.

While events in AS3 might seem intimidating on first glance (especially if you've become accustomed to writing your button code in AS2 like btn.onPress = function ()...), fortunately, events in AS3 are incredibly consistent as well as powerful. Once you know how to work with one event, you can work with any event anywhere in the language!

And while events are the glue that bind our Flash together, it is incredibly difficult to find books, lessons or tutorials on these specific issues. Which is why we assembled this course -- not only to teach the basics of working with the most common events in AS3, but also investigating the details of events, how they work, and why they work that way.



Who is this course for?
This 'cookbook'-style course (including many separate, small source files illustrating the topics and points) is for users of Flash CS3 or CS4, who feel that they have a basic grasp of the ActionScript 3 language, but want to understand the nature, role and detailed behaviors of events in AS3 -- odds are you feel that you're on the cusp of being fluent in AS3, and you're not sure what you're missing. This knowledge is what you're missing!




  • Introduction
  • Event Fundamentals
    • What is an Event?
    • Basic Event Handling (addEventListener)
    • Handling More Types of Events
  • Events on the Display List
    • Understanding the Three Phases of an Event
    • mouseChildren
    • ROLL_OVER vs. MOUSE_OVER
    • Know Where To Listen
  • Intermediate Event Handling
    • Priority
    • Weak References
    • Cancelability
    • Default Behaviors
    • Dispatching Your Own Events (dispatchEvent())