DynBasicEvent

Kind of class:dynamic class
Inherits from:BasicEvent
Known subclasses:
Version:1.0
Author:Francis Bourre
Classpath:com.bourre.events.DynBasicEvent
File last modified:Wednesday, 31 October 2007, 07:35:29
DynBasicEvent defines basic event structure for working with event as a classical
Object structure.

DynBasicEvent defines 2 main properties :

Using DynBasicEvent gives compatibility to send event throw Macromedia event API using
EventDispatcher broadcaster.

EventBroadcaster.dispatchEvent use this structure to send Macromedia compatible event.

Summary

Constructor
Instance properties
Instance properties inherited from BasicEvent
Instance methods
Instance methods inherited from BasicEvent

Constructor

DynBasicEvent

function DynBasicEvent (
s:String)
Constructs a new DynBasicEvent instance.
Parameters:
s :
Event name
oT:
Event target

Instance properties

target

target:Object
(read)
Returns event target.

Example

var o = e.target;
Returns:
event target

target

target:Void
(write)
Defines event target.

Example

e.target = this;
Parameters:
event:
target

type

type:String
(read,write)
Returns event type (event name).

Example

var o : EventType = e.type;

Defines event type (event name).

Example

e.type = MyClass.onSomething;
Parameters:
e:
String event name.
Returns:
String event name

Instance methods

toString

function toString (
) : String
Returns the string representation of this instance.
Returns:
String representation of this instance