| Package | com.bourre.ioc.load |
| Class | public class ApplicationLoaderEvent |
| Inheritance | ApplicationLoaderEvent LoaderEvent BasicEvent flash.events.Event |
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
| Method | Defined by | ||
|---|---|---|---|
|
ApplicationLoaderEvent(type:String, al:ApplicationLoader, errorMessage:String = "")
Creates a new
DisplayObjectBuilderEvent object. | ApplicationLoaderEvent | ||
![]() |
clone():Event
Clone the event
| BasicEvent | |
|
Returns the application loader object carried by this event.
| ApplicationLoaderEvent | ||
|
getApplicationState():String
Returns application state.
| ApplicationLoaderEvent | ||
![]() |
getErrorMessage():String
Returns the error message carried by this event.
| LoaderEvent | |
![]() |
Returns the loader object carried by this event.
| LoaderEvent | |
![]() |
getName():String
Returns the loader named carried by this event.
| LoaderEvent | |
![]() |
getPerCent():Number
Returns the loading progression value of object carried by
this event.
| LoaderEvent | |
![]() |
getTarget():Object
Returns the current source of this event object.
| BasicEvent | |
![]() |
getType():String
Returns the type of this event, which generally correspond
to the name of the called function on the listener.
| BasicEvent | |
![]() |
setErrorMessage(errorMessage:String = ""):void
Sets the error message to be carried by this event.
| LoaderEvent | |
![]() |
setTarget(oTarget:Object):void
Defines the new source object of this event.
| BasicEvent | |
![]() |
setType(en:String):void
Defines the new event type for this event object.
| BasicEvent | |
![]() |
toString():String
Returns the string representation of this instance.
| BasicEvent | |
| Constant | Defined by | ||
|---|---|---|---|
| BUILD_STATE : String = "BUILD" [static] Constante to identify 'Building' state of application.
| ApplicationLoaderEvent | ||
| DLL_STATE : String = "DLL" [static] Constante to identify 'DLL loading' state of application.
| ApplicationLoaderEvent | ||
| GFX_STATE : String = "GFX" [static] Constante to identify 'Display list loading' state of application.
| ApplicationLoaderEvent | ||
| INCLUDE_STATE : String = "INCLUDE" [static] Constante to identify 'Include loading' state of application.
| ApplicationLoaderEvent | ||
| LOAD_STATE : String = "LOAD" [static] Constante to identify 'Loading' state of application.
| ApplicationLoaderEvent | ||
| onApplicationChannelsAssignedEVENT : String = "onApplicationChannelsAssigned" [static]
Defines the value of the
type property of the event
object for a onApplicationChannelsAssigned event. | ApplicationLoaderEvent | ||
| onApplicationInitEVENT : String = "onApplicationInit" [static]
Defines the value of the
type property of the event
object for a onApplicationInit event. | ApplicationLoaderEvent | ||
| onApplicationMethodsCalledEVENT : String = "onApplicationMethodsCalled" [static]
Defines the value of the
type property of the event
object for a onApplicationMethodsCalled event. | ApplicationLoaderEvent | ||
| onApplicationObjectsBuiltEVENT : String = "onApplicationObjectsBuilt" [static]
Defines the value of the
type property of the event
object for a onApplicationObjectsBuilt event. | ApplicationLoaderEvent | ||
| onApplicationParsedEVENT : String = "onApplicationParsed" [static]
Defines the value of the
type property of the event
object for a onApplicationParsed event. | ApplicationLoaderEvent | ||
| onApplicationStartEVENT : String = "onApplicationStart" [static]
Defines the value of the
type property of the event
object for a onApplicationStart event. | ApplicationLoaderEvent | ||
| onApplicationStateEVENT : String = "onApplicationState" [static]
Defines the value of the
type property of the event
object for a onApplicationState event. | ApplicationLoaderEvent | ||
| onLoadErrorEVENT : String = "onLoadError" [static]
Defines the value of the
type property of the event
object for a onLoadError event. | ApplicationLoaderEvent | ||
| onLoadInitEVENT : String = "onLoadInit" [static]
Defines the value of the
type property of the event
object for a onLoadInit event. | ApplicationLoaderEvent | ||
| onLoadProgressEVENT : String = "onLoadProgress" [static]
Defines the value of the
type property of the event
object for a onLoadProgress event. | ApplicationLoaderEvent | ||
| onLoadStartEVENT : String = "onLoadStart" [static]
Defines the value of the
type property of the event
object for a onLoadstart event. | ApplicationLoaderEvent | ||
| onLoadTimeOutEVENT : String = "onLoadTimeOut" [static]
Defines the value of the
type property of the event
object for a onLoadTimeOut event. | ApplicationLoaderEvent | ||
| PARSE_STATE : String = "PARSE" [static] Constante to identify 'Parsing' state of application.
| ApplicationLoaderEvent | ||
| PREPROCESS_STATE : String = "PREPROCESS" [static] Constante to identify 'pre processing' state of application.
| ApplicationLoaderEvent | ||
| RSC_STATE : String = "RSC" [static] Constante to identify 'Resource loading' state of application.
| ApplicationLoaderEvent | ||
| RUN_STATE : String = "RUN" [static] Constante to identify 'Complete' state of application.
| ApplicationLoaderEvent | ||
| ApplicationLoaderEvent | () | constructor |
public function ApplicationLoaderEvent(type:String, al:ApplicationLoader, errorMessage:String = "")
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Creates a new DisplayObjectBuilderEvent object.
type:String — Name of the event type
|
|
al:ApplicationLoader — Application loader object carried by this event
|
|
errorMessage:String (default = "") — (optional) Error message carried by this event
|
| getApplicationLoader | () | method |
public function getApplicationLoader():ApplicationLoader
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Returns the application loader object carried by this event.
ReturnsApplicationLoader —
The dimension value carried by this event.
|
| getApplicationState | () | method |
public function getApplicationState():String
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Returns application state.
ReturnsString |
| BUILD_STATE | constant |
public static const BUILD_STATE:String = "BUILD"
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Constante to identify 'Building' state of application.
| DLL_STATE | constant |
public static const DLL_STATE:String = "DLL"
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Constante to identify 'DLL loading' state of application.
| GFX_STATE | constant |
public static const GFX_STATE:String = "GFX"
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Constante to identify 'Display list loading' state of application.
| INCLUDE_STATE | constant |
public static const INCLUDE_STATE:String = "INCLUDE"
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Constante to identify 'Include loading' state of application.
| LOAD_STATE | constant |
public static const LOAD_STATE:String = "LOAD"
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Constante to identify 'Loading' state of application.
| onApplicationChannelsAssignedEVENT | constant |
public static const onApplicationChannelsAssignedEVENT:String = "onApplicationChannelsAssigned"
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Defines the value of the type property of the event
object for a onApplicationChannelsAssigned event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
type |
Dispatched event type |
| Method | Value |
getApplicationLoader()
| The loader object |
| onApplicationInitEVENT | constant |
public static const onApplicationInitEVENT:String = "onApplicationInit"
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Defines the value of the type property of the event
object for a onApplicationInit event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
type |
Dispatched event type |
| Method | Value |
getApplicationLoader()
| The loader object |
| onApplicationMethodsCalledEVENT | constant |
public static const onApplicationMethodsCalledEVENT:String = "onApplicationMethodsCalled"
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Defines the value of the type property of the event
object for a onApplicationMethodsCalled event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
type |
Dispatched event type |
| Method | Value |
getApplicationLoader()
| The loader object |
| onApplicationObjectsBuiltEVENT | constant |
public static const onApplicationObjectsBuiltEVENT:String = "onApplicationObjectsBuilt"
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Defines the value of the type property of the event
object for a onApplicationObjectsBuilt event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
type |
Dispatched event type |
| Method | Value |
getApplicationLoader()
| The loader object |
| onApplicationParsedEVENT | constant |
public static const onApplicationParsedEVENT:String = "onApplicationParsed"
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Defines the value of the type property of the event
object for a onApplicationParsed event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
type |
Dispatched event type |
| Method | Value |
getApplicationLoader()
| The loader object |
| onApplicationStartEVENT | constant |
public static const onApplicationStartEVENT:String = "onApplicationStart"
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Defines the value of the type property of the event
object for a onApplicationStart event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
type |
Dispatched event type |
| Method | Value |
getApplicationLoader()
| The loader object |
| onApplicationStateEVENT | constant |
public static const onApplicationStateEVENT:String = "onApplicationState"
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Defines the value of the type property of the event
object for a onApplicationState event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
type |
Dispatched event type |
| Method | Value |
getApplicationLoader()
| The loader object |
getApplicationState()
| The application state |
| onLoadErrorEVENT | constant |
public static const onLoadErrorEVENT:String = "onLoadError"
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Defines the value of the type property of the event
object for a onLoadError event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
type |
Dispatched event type |
| Method | Value |
getApplicationLoader()
| The loader object |
getLoader()
| The current loader object |
getErrorMessage()
| The current error message |
| onLoadInitEVENT | constant |
public static const onLoadInitEVENT:String = "onLoadInit"
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Defines the value of the type property of the event
object for a onLoadInit event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
type |
Dispatched event type |
| Method | Value |
getApplicationLoader()
| The loader object |
getLoader()
| The current loader object |
| onLoadProgressEVENT | constant |
public static const onLoadProgressEVENT:String = "onLoadProgress"
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Defines the value of the type property of the event
object for a onLoadProgress event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
type |
Dispatched event type |
| Method | Value |
getApplicationLoader()
| The loader object |
getLoader()
| The current loader object |
| onLoadStartEVENT | constant |
public static const onLoadStartEVENT:String = "onLoadStart"
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Defines the value of the type property of the event
object for a onLoadstart event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
type |
Dispatched event type |
| Method | Value |
getApplicationLoader()
| The loader object |
getLoader()
| The current loader object |
| onLoadTimeOutEVENT | constant |
public static const onLoadTimeOutEVENT:String = "onLoadTimeOut"
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Defines the value of the type property of the event
object for a onLoadTimeOut event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
type |
Dispatched event type |
| Method | Value |
getApplicationLoader()
| The loader object |
getLoader()
| The current loader object |
| PARSE_STATE | constant |
public static const PARSE_STATE:String = "PARSE"
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Constante to identify 'Parsing' state of application.
| PREPROCESS_STATE | constant |
public static const PREPROCESS_STATE:String = "PREPROCESS"
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Constante to identify 'pre processing' state of application.
| RSC_STATE | constant |
public static const RSC_STATE:String = "RSC"
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Constante to identify 'Resource loading' state of application.
| RUN_STATE | constant |
public static const RUN_STATE:String = "RUN"
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Constante to identify 'Complete' state of application.