Packageimpression.events
Classpublic class SimulationDataRequestEvent
InheritanceSimulationDataRequestEvent Inheritance flash.events.Event

A simulation object dispatches a SimulationDataRequestEvent object when simulation data is needed.



Public Properties
 PropertyDefined By
  data : *
The simulation data requested.
SimulationDataRequestEvent
  request : *
[read-only] The data change request.
SimulationDataRequestEvent
Public Methods
 MethodDefined By
  
SimulationDataRequestEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, request:* = null)
Creates a new instance of a SimulationDataRequestEvent object.
SimulationDataRequestEvent
  
clone():Event
[override] Duplicates an instance of the event object.
SimulationDataRequestEvent
  
toString():String
[override] Returns a string containing all the properties of the SimulationDataRequestEvent object.
SimulationDataRequestEvent
Public Constants
 ConstantDefined By
  DATA_REQUEST : String = simulationDataRequest
[static] The SimulationDataRequestEvent.DATA_REQUEST constant defines the value of the type property of a data request event object.
SimulationDataRequestEvent
Property Detail
dataproperty
data:*

The simulation data requested. The specific data and format are project defined.


Implementation
    public function get data():*
    public function set data(value:any):void
requestproperty 
request:*  [read-only]

The data change request. The specific data and format are project defined.


Implementation
    public function get request():*
Constructor Detail
SimulationDataRequestEvent()Constructor
public function SimulationDataRequestEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, request:* = null)

Creates a new instance of a SimulationDataRequestEvent object.

Parameters
type:String — The type of the event. Event listeners can access this information through the inherited type property.
 
bubbles:Boolean (default = false) — Determines whether the event object participates in the bubbling phase of the event flow. Event listeners can access this information through the inheritied bubbles property.
 
cancelable:Boolean (default = false) — Determines whether the event object can be canceled. Event listeners can access this information through the inherited cancelable property.
 
request:* (default = null) — The data change request. Event listeners can access this information through the request property.
Method Detail
clone()method
override public function clone():Event

Duplicates an instance of the event object.

Returns a new SimulationDataRequestEvent object that is a copy of the original instance of the SimulationDataRequestEvent object. You do not normally call clone(); the EventDispatcher class calls it automatically when you redispatch an event--that is, when you call dispatchEvent(event) from a handler that is handling event.

Returns
Event — A new SimulationDataRequestEvent object that is identical to the original.
toString()method 
override public function toString():String

Returns a string containing all the properties of the SimulationDataRequestEvent object. The string is in the following format:

[SimulationDataRequestEvent type=value bubbles=value cancelable=value eventPhase=value request=value data=value]

Returns
String — A string containing all the properties of the SimulationDataRequestEvent object.
Constant Detail
DATA_REQUESTConstant
public static const DATA_REQUEST:String = simulationDataRequest

The SimulationDataRequestEvent.DATA_REQUEST constant defines the value of the type property of a data request event object. This event has the following properties:

PropertyValue
bubblesfalse
cancelablefalse; there is no default behavior to cancel.
currentTargetThe object that is actively processing the Event object with an event listener.
targetThe object that raised the event.
requestThe data change request.
dataThe simulation data.