| Package | efnx.general |
| Class | public class Component |
| Property | Defined by | ||
|---|---|---|---|
| loaded : Boolean [static][read-only]
Returns whether or not the component swf has loaded.
| Component | ||
| testing : Boolean = false [static]
Indicates whether or not to display verbose information.
| Component | ||
| Method | Defined by | ||
|---|---|---|---|
|
| Component | ||
|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
[static]
Registers an event listener object with an EventDispatcher object so that the listener receives
notification of an event.
| Component | ||
|
load(path:*):void
[static]
Used to load the swf that contains your components.
| Component | ||
|
New(component:String):*
[static]
Returns an instance of the given class.
| Component | ||
|
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
[static]
Removes a listener from the EventDispatcher object.
| Component | ||
| Event | Summary | Defined by | ||
|---|---|---|---|---|
| A complete event is dispatched after the assets swf is loaded. | Component | |||
| loaded | property |
loaded:Boolean [read-only]Returns whether or not the component swf has loaded.
Implementation public static function get loaded():Boolean
| testing | property |
public static var testing:Boolean = falseIndicates whether or not to display verbose information.
| Component | () | constructor |
public function Component()
| addEventListener | () | method |
public static function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):voidRegisters an event listener object with an EventDispatcher object so that the listener receives notification of an event.
Parameterstype:String |
|
listener:Function |
|
useCapture:Boolean (default = false) |
|
priority:int (default = 0) |
|
useWeakReference:Boolean (default = false) |
| load | () | method |
public static function load(path:*):voidUsed to load the swf that contains your components.
Parameterspath:* — Path to the swf to load or a ByteArray containing the embedded swf asset.
|
| New | () | method |
public static function New(component:String):*Returns an instance of the given class.
Parameterscomponent:String |
* |
| removeEventListener | () | method |
public static function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):voidRemoves a listener from the EventDispatcher object. If there is no matching listener registered with the EventDispatcher object, a call to this method has no effect.
Parameterstype:String |
|
listener:Function |
|
useCapture:Boolean (default = false) |
| complete | event |
flash.events.Event
A complete event is dispatched after the assets swf is loaded.