Packageorg.flintparticles.common.events
Classpublic class UpdateEvent
InheritanceUpdateEvent Inheritance flash.events.Event

The UpdateEvent is dispatched from the FrameUpdater utility every frame, to all emitters that are being updated by Flint, to trigger the update cycle on each emitter.



Public Properties
 PropertyDefined By
  time : Number
The particle to which the event relates.
UpdateEvent
  UPDATE : String = update
[static] The event dispatched on the enter frame
UpdateEvent
Public Methods
 MethodDefined By
  
UpdateEvent(type:String, time:Number, bubbles:Boolean = false, cancelable:Boolean = false)
The constructor creates a ParticleEvent object.
UpdateEvent
  
clone():Event
[override] Creates a copy of this event.
UpdateEvent
Property Detail
timeproperty
public var time:Number

The particle to which the event relates.

UPDATEproperty 
public static var UPDATE:String = update

The event dispatched on the enter frame

Constructor Detail
UpdateEvent()Constructor
public function UpdateEvent(type:String, time:Number, bubbles:Boolean = false, cancelable:Boolean = false)

The constructor creates a ParticleEvent object.

Parameters
type:String — The type of the event, accessible as Event.type.
 
time:Number (default = NaN) — The particle to which teh event relates.
 
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.
Method Detail
clone()method
override public function clone():Event

Creates a copy of this event.

Returns
Event — The copy of this event.