When writing your AS3 projects, you will need events. The main thing that events do is to help you make a bridge between your instances of classes. take the adobe’s MouseEvent as an example. you add a MouseEvent.CLICK listener to a movieclip so that when you click on a movieclip instance it will dispatch the “CLICK” event. it works like below as you know.
trace("mc is clicked")
this is all good, you have used an event being built by adobe (there are many other premade events by flash if you just check the package flash.events) Continue reading