[static]
This gets fired when an emitter stops and the last particle dies.
ParticleEvent
Property Detail
data
property
public var data:Object
This is the info object that's gets passed to the function. It contains the particle property, that is the particle that the event is associated with. For the FINISHED event, it's the pool property.
Constructor Detail
ParticleEvent
()
Constructor
public function ParticleEvent(type:String, data:Object = null, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a new ParticleEvent. Events get dispatched internally, manual creation isn't necessary.
Parameters
type:String
data:Object (default = null)
bubbles:Boolean (default = false)
cancelable:Boolean (default = false)
Method Detail
clone
()
method
override public function clone():Event
Returns
Event
Constant Detail
BORN
Constant
public static const BORN:String = born
This gets fired everytime a particle is born.
DIED
Constant
public static const DIED:String = died
This gets fired everytime a particle dies. Occurs naturally, or when kill() is called.
FINISHED
Constant
public static const FINISHED:String = finished
This gets fired when an emitter stops and the last particle dies.