| Language Version : ||ActionScript 3|
| Runtime Versions : ||AIR 1.0, Flash Player 9.0.0|
Events for particles. Events are broadcasted from the emitter.
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
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.
data:Object (default =
bubbles:Boolean (default =
cancelable:Boolean (default =
override public function clone():Event
public static const BORN:String = born
This gets fired everytime a particle is born.
public static const DIED:String = died
This gets fired everytime a particle dies. Occurs naturally, or when kill() is called.
public static const FINISHED:String = finished
This gets fired when an emitter stops and the last particle dies.
Sat Feb 5 2011, 08:04 PM -08:00