Packageorg.flintparticles.common.events
Classpublic class EmitterEvent
InheritanceEmitterEvent Inheritance flash.events.Event

The class for emitter related events dispatched by classes in the Flint project.



Public Properties
 PropertyDefined By
  COUNTER_COMPLETE : String = counterComplete
[static] The event dispatched by an emitter when it's counter has completed it's full lifecycle and will not emit any further particles.
EmitterEvent
  EMITTER_EMPTY : String = emitterEmpty
[static] The event dispatched by an emitter when it currently has no particles to display.
EmitterEvent
  EMITTER_UPDATED : String = emitterUpdated
[static] The event dispatched by an emitter when it has updated all its particles and is ready for them to be rendered.
EmitterEvent
Public Methods
 MethodDefined By
  
EmitterEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
The constructor creates a EmitterEvent object.
EmitterEvent
Property Detail
COUNTER_COMPLETEproperty
public static var COUNTER_COMPLETE:String = counterComplete

The event dispatched by an emitter when it's counter has completed it's full lifecycle and will not emit any further particles.

EMITTER_EMPTYproperty 
public static var EMITTER_EMPTY:String = emitterEmpty

The event dispatched by an emitter when it currently has no particles to display.

EMITTER_UPDATEDproperty 
public static var EMITTER_UPDATED:String = emitterUpdated

The event dispatched by an emitter when it has updated all its particles and is ready for them to be rendered. Renderers usually listen for this event to know when to redraw the particles.

Constructor Detail
EmitterEvent()Constructor
public function EmitterEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)

The constructor creates a EmitterEvent object.

Parameters
type:String — The type of the event, accessible as Event.type.
 
bubbles:Boolean (default = false) — Determines whether the Event object participates in the bubbling stage of the event flow. The default value is false.
 
cancelable:Boolean (default = false) — Determines whether the Event object can be canceled. The default values is false.