If you’re like me you probably never used Event Listeners in AS2. Not unless you needed to do something “crazy” (insert sarcasm here at how amateur I was then, I’m only slightly less amateur now but that’s besides the point)
Well AS3 is all about Event Listeners, well Events actually. Actionscript is an Event based language. When something happens it dispatches an Event of some form and you have to react to it to make things go.
Wiring up buttons is a great way to introduce the concept of listening for and responding to events and has the upside of being THE MOST BASIC THING YOU EVER HAVE TO DO when building a website or anything that requires users to interact with an interface. So lets get started because we have clients waiting.
(more…)