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
  files : Array
[read-only] Defines the file to load at the current priority.
PriorityEvent
Public Methods
 MethodDefined By
  
PriorityEvent(type:String, newPriority:int = 0, files:Array = null)
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
filesproperty 
files:Array  [read-only]

Defines the file to load at the current priority.


Implementation
    public function get files():Array
Constructor Detail
PriorityEvent()Constructor
public function PriorityEvent(type:String, newPriority:int = 0, files:Array = null)

Creates a new PriorityEvent object.

Parameters
type:String — The type.
 
newPriority:int (default = 0) — The new priority.
 
files:Array (default = null) — The files to load.
Method Detail
clone()method
override public 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.