The DataEvent class is an
Event that carries a
data property that can be used as a generic data container
for the payload of the event. It is recommended to create event classes with strongly typed data properties however, so use this class
only if the type of data is not known.
data:* [read-write]Implementation
public function get data():*
public function set data(value:*):void
public function DataEvent(type:String, data:Boolean = null, bubbles:Boolean = false, cancelable:* = false)
Creates a new DataEvent instance.
Parameters
| type:String — The type of the current DataEvent.
|
| |
| data:Boolean (default = null) — The data payload of the current DataEvent.
|
| |
| bubbles:Boolean (default = false) |
| |
| cancelable:* (default = false) |
public override function clone():Event
Returns
| Event — An exact copy of the current DataEvent.
|
Copyright 2007-2010 Spring Actionscript.