| Package | com.bourre.events |
| Class | public dynamic class DynBasicEvent |
| Inheritance | DynBasicEvent BasicEvent flash.events.Event |
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
DynBasicEvent class extends the
BasicEvent class and make it dynamic.
The DynBasicEvent class is used by
the EventBroadcaster.dispatchEvent
function, 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
| Method | Defined by | ||
|---|---|---|---|
|
DynBasicEvent(type:String, target:Object = null)
Creates a new
DynBasicEvent event for the
passed-in event type. | DynBasicEvent | ||
![]() |
clone():Event
Clone the event
| BasicEvent | |
![]() |
getTarget():Object
Returns the current source of this event object.
| BasicEvent | |
![]() |
getType():String
Returns the type of this event, which generally correspond
to the name of the called function on the listener.
| BasicEvent | |
![]() |
setTarget(oTarget:Object):void
Defines the new source object of this event.
| BasicEvent | |
![]() |
setType(en:String):void
Defines the new event type for this event object.
| BasicEvent | |
|
toString():String
Returns the string representation of this instance.
| DynBasicEvent | ||
| DynBasicEvent | () | constructor |
public function DynBasicEvent(type:String, target:Object = null)
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Creates a new DynBasicEvent event for the
passed-in event type. The target is optional,
if the target is omitted and the event used in combination
with the EventBroadcaster class, the event
target will be set on the event broadcaster source.
type:String — String name of the event
|
|
target:Object (default = null) — an object considered as source for this event
|
See also
| toString | () | method |
public override function toString():String
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Returns the string representation of this instance.
ReturnsString — the string representation of this instance
|