| Package | ch.capi.events |
| Class | public class PriorityEvent |
| Inheritance | PriorityEvent flash.events.Event |
| Property | Defined By | ||
|---|---|---|---|
| currentPriority : int [read-only]
Defines the current priority. | PriorityEvent | ||
| files : Array [read-only]
Defines the file to load at the current priority. | PriorityEvent | ||
| Method | Defined 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 | ||
| Constant | Defined By | ||
|---|---|---|---|
| PRIORITY_CHANGED : String = priorityChanged [static]
Event when the priority changes. | PriorityEvent | ||
| currentPriority | property |
currentPriority:int [read-only] Defines the current priority.
public function get currentPriority():int| files | property |
files:Array [read-only] Defines the file to load at the current priority.
public function get files():Array| PriorityEvent | () | Constructor |
public function PriorityEvent(type:String, newPriority:int = 0, files:Array = null)
Creates a new PriorityEvent object.
type:String — The type.
| |
newPriority:int (default = 0) — The new priority.
| |
files:Array (default = null) — The files to load.
|
| 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.
Event — The cloned Event.
|
| PRIORITY_CHANGED | Constant |
public static const PRIORITY_CHANGED:String = priorityChangedEvent when the priority changes.