Packagech.capi.events
Classpublic class PriorityEvent
InheritancePriorityEvent Inheritance flash.events.Event

Represents a priority event.



Public Properties
 PropertyDefined by
  currentPriority : int
[read-only] Defines the current priority.
PriorityEvent
Public Methods
 MethodDefined by
  
PriorityEvent(type:String, newPriority:int = 0)
Creates a new PriorityEvent object.
PriorityEvent
  
clone():Event
Creates a copy of the PriorityEvent object and sets the value of each property to match that of the original.
PriorityEvent
Public Constants
 ConstantDefined by
  PRIORITY_CHANGED : String = "priorityChanged"
[static] Event when the priority changes.
PriorityEvent
Property detail
currentPriorityproperty
currentPriority:int  [read-only]

Defines the current priority.

Implementation
    public function get currentPriority():int
Constructor detail
PriorityEvent()constructor
public function PriorityEvent(type:String, newPriority:int = 0)

Creates a new PriorityEvent object.

Parameters
type:String — The type.
 
newPriority:int (default = 0) — The new priority.
Method detail
clone()method
public override function clone():Event

Creates a copy of the PriorityEvent object and sets the value of each property to match that of the original.

Returns
Event — The cloned Event.
Constant detail
PRIORITY_CHANGEDconstant
public static const PRIORITY_CHANGED:String = "priorityChanged"

Event when the priority changes.