Packageimpression.simulation
Interfacepublic interface IAsyncLoad extends flash.events.IEventDispatcher

Defines asynchronous load operations for a simulation object.

Some simulations and simulation user interfaces require external files to be loaded or other asynchronous operations to occur before they are ready for use. By implementing IAsyncLoad, such objects can notify a runtime when they are ready for use.



Public Properties
 PropertyDefined By
  loadComplete : Boolean
[read-only] Indicates whether the object has finished loading and is ready for use.
IAsyncLoad
Events
 Event Summary Defined By
  Dispatch when an ISimulation object has finished loading.IAsyncLoad
  Dispatch when an ISimulationUI object has finished loading.IAsyncLoad
Property Detail
loadCompleteproperty
loadComplete:Boolean  [read-only]

Indicates whether the object has finished loading and is ready for use.


Implementation
    public function get loadComplete():Boolean
Event Detail
asyncSimulationLoadComplete Event
Event Object Type: impression.events.AsyncLoadEvent
AsyncLoadEvent.type property = impression.events.SimulationDataChangedEvent.ASYNC_SIMULATION_LOAD_COMPLETE

Dispatch when an ISimulation object has finished loading.

asyncSimulationUILoadComplete Event  
Event Object Type: impression.events.AsyncLoadEvent
AsyncLoadEvent.type property = impression.events.SimulationDataChangedEvent.ASYNC_SIMULATION_UI_LOAD_COMPLETE

Dispatch when an ISimulationUI object has finished loading.