| 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 | ||
| Method | Defined 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 | ||
| Constant | Defined by | ||
|---|---|---|---|
| PRIORITY_CHANGED : String = "priorityChanged" [static]
Event when the priority changes.
| PriorityEvent | ||
| currentPriority | property |
currentPriority:int [read-only]Defines the current priority.
Implementation public function get currentPriority():int
| PriorityEvent | () | constructor |
public function PriorityEvent(type:String, newPriority:int = 0)
Creates a new PriorityEvent object.
type:String — The type.
|
|
newPriority:int (default = 0) — The new priority.
|
| 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.
Event — The cloned Event.
|
| PRIORITY_CHANGED | constant |
public static const PRIORITY_CHANGED:String = "priorityChanged"Event when the priority changes.