DynBasicEvent
| Kind of class: | public dynamic class |
|---|---|
| Package: | com.bourre.events |
| Inherits from: | BasicEvent < Event |
| Author: | Francis Bourre |
| Classpath: | com.bourre.events.DynBasicEvent |
| File last modified: | Monday, 24 November 2008, 11:36:53 |
The
DynBasicEvent class extends the BasicEvent class and make it dynamic.The DynBasicEvent class is used by
the EventBroadcaster.dispatchEventfunction, which dispatch event using anonymous object,
the event object is then decorated with the object
properties and finally broadcasted as any other event
object.
See also:
Summary
Constructor
- DynBasicEvent (type:String, target:Object = null)
- Creates a new DynBasicEvent event for the
Instance properties
Instance properties inherited from BasicEvent
Constructor
DynBasicEvent
public function DynBasicEvent (
type:String,
target:Object = null)
Creates a new
passed-in event type. The
if the target is omitted and the event used in combination
with the
target will be set on the event broadcaster source.
DynBasicEvent event for thepassed-in event type. The
target is optional, if the target is omitted and the event used in combination
with the
EventBroadcaster class, the eventtarget will be set on the event broadcaster source.
Parameters:
type :
String name of the eventtarget:
an object considered as source for this event
Instance methods
toString
override public function toString (
) : String
Returns the string representation of this instance.
Returns:
- the string representation of this instance
Overrides: