evan
12-08-2008, 08:21 PM
I am reviewing examples of .as files with document classes as I learn to code outside the timeline.
Step by step I am finding examples seeing which each class does what.
I am not sure what "Event" does in plain english.
Event(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Creates an Event object to pass as a parameter to event listeners.
can anyone translate?
I think that when I want to create an evennListener like this:
stage.removeEventListener(Event.ENTER_FRAME, onFrameLoop);
I need "Event" is that right?
Step by step I am finding examples seeing which each class does what.
I am not sure what "Event" does in plain english.
Event(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Creates an Event object to pass as a parameter to event listeners.
can anyone translate?
I think that when I want to create an evennListener like this:
stage.removeEventListener(Event.ENTER_FRAME, onFrameLoop);
I need "Event" is that right?