IEvent
SASAPI Base Event class, works similarly to the AS3 Event class
The Dispatcher class excepts an object with at least one property: 'type:String'
which is the identifier of the event. This is either the listener's function that is called when the event
is dispatched, or the link through Delegate to the function to be called. Other optional properties
are:'target:Object', which is the source of the event & 'data:Object', which may contain any information
you wish to pass along with the event.
public function Event(type:String, target:Object, data:Object)
Constructor creates an event object fit for dispatching Note: the contents of the data parameter are copied to the Event object for legacy support.
type | (String) type of event |
target | (Object) the object that dispatched this event. |
data | (Object) optional data to pass with the event |
Void
public type:String [Read Only]
public target:Object [Read Only]
public data:Object [Read Only]