Packagecom.bourre.ioc.load
Classpublic class ApplicationLoader
InheritanceApplicationLoader Inheritance AbstractLoader
ImplementsDisplayObjectBuilderListener, LoaderListener
SubclassesRuntimeContextLoader

Player version: Flash Player 9.0
Language version: ActionScript 3.0

IoC Context loader.



Public Properties
 PropertyDefined by
  DEBUG_LOADING_ENABLED : Boolean = false
[static] Enabled or not the debugging feature during application loading.
ApplicationLoader
  DEFAULT_CONFIG_PATH : String = ""
[static] Default path for applicationContext file.
ApplicationLoader
  DEFAULT_CONTEXT_FILE : String = ""
[static] Default URL for applicationContext file.
ApplicationLoader
  DEFAULT_DLL_PATH : String = ""
[static] Default path for dll files.
ApplicationLoader
  DEFAULT_GFX_PATH : String = ""
[static] Default path for gfx ( display tree ) files.
ApplicationLoader
  DEFAULT_RSC_PATH : String = ""
[static] Default path for resources files.
ApplicationLoader
  RELATIVE_PATH : String = "#//"
[static] Defines wildcard to search to identify a forced relative path.
ApplicationLoader
Protected Properties
 PropertyDefined by
 Inherited_sPrefixURL : String
AbstractLoader
 Inherited_sURL : String
AbstractLoader
Public Methods
 MethodDefined by
  
ApplicationLoader(rootTarget:DisplayObjectContainer, autoExecute:Boolean = false, url:URLRequest = null)
Creates loader instance.
ApplicationLoader
  
Adds the passed-in listener as listener for all events dispatched by loader.
ApplicationLoader
 Inherited
addASyncCommandListener(listener:ASyncCommandListener, ... rest):Boolean
Adds the passed-in command listener object as listener for this command events.
AbstractLoader
 Inherited
addEventListener(type:String, listener:Object, ... rest):Boolean
Adds an event listener for the specified event type.
AbstractLoader
 Inherited
addListener(listener:LoaderListener):Boolean
Adds the passed-in listener as listener for all events dispatched by this event broadcaster.
AbstractLoader
  
addProcessingMethod(processingMethod:Function, ... args):void
Adds new preprocessing method.
ApplicationLoader
  
Adds new pre processing processor.
ApplicationLoader
 Inherited
execute(e:Event = null):void
Execute the request according to the current command data.
AbstractLoader
 Inherited
Fires the onCommandEnd event to the listeners of this command.
AbstractLoader
  
Broadcasts ApplicationLoaderEvent.onApplicationInitEVENT event type when application is ready.
ApplicationLoader
  
Broadcasts ApplicationLoaderEvent.onApplicationParsedEVENT event type when xml is parsed.
ApplicationLoader
  
Broadcasts ApplicationLoaderEvent.onApplicationStartEVENT event type when xml is parsed.
ApplicationLoader
  
fireOnApplicationState(state:String):void
Broadcasts ApplicationLoaderEvent.onApplicationStateEVENT when IOC engine processing change his state ( DLL, Resources, GFX, etc.
ApplicationLoader
  
Broadcasts ApplicationLoaderEvent.onApplicationChannelsAssignedEVENT event type when all plugin channels are initialized.
ApplicationLoader
 Inherited
fireOnLoadErrorEvent(message:String = ""):void
Dispatches event when an error occur.
AbstractLoader
 Inherited
Dispatches event when the loading is finished.
AbstractLoader
 Inherited
Dispatches event during loading progression.
AbstractLoader
 Inherited
Dispatches event when the loading starts.
AbstractLoader
 Inherited
AbstractLoader
  
Broadcasts ApplicationLoaderEvent.onApplicationMethodsCalledEVENT event type when all method-call are executed.
ApplicationLoader
  
Broadcasts ApplicationLoaderEvent.onApplicationObjectsBuiltEVENT event type when all elements in xml are built.
ApplicationLoader
  
Returns ApplicationAssembler used in by this loader.
ApplicationLoader
 Inherited
Returns the number of bytes loaded.
AbstractLoader
 Inherited
Returns the total number of bytes to load.
AbstractLoader
 Inherited
getContent():Object
Returns loaded content.
AbstractLoader
  
Returns the DisplayObjectBuilder used by this loader to load and build all context elements.
ApplicationLoader
 Inherited
getName():String
Returns the loader identifier.
AbstractLoader
  
Returns parser collection used by assembler.
ApplicationLoader
 Inherited
getPerCent():Number
Returns a percentage of bytes loaded and total bytes to load.
AbstractLoader
 Inherited
Returns loading strategy used by the loader.
AbstractLoader
 Inherited
getTimeOut():Number
Returns the loading timeout limit
AbstractLoader
 Inherited
getURL():URLRequest
Returns the URL used by this loader.
AbstractLoader
  
getURLRequest(request:URLRequest, prefix:String = ""):URLRequest
[static] Returns clean URL address using passed-in base url and optional prefix one.
ApplicationLoader
 Inherited
isAntiCache():Boolean
Returns true if 'anticache' system is on.
AbstractLoader
 Inherited
isLoaded():Boolean
Returns true if all bytes are loaded.
AbstractLoader
 Inherited
isRunning():Boolean
Returns true if this object is running.
AbstractLoader
  
load(url:URLRequest = null, context:LoaderContext = null):void
Starts loading.
ApplicationLoader
  
Triggered when a display object is built.
ApplicationLoader
  
Triggered when a display loader is registred.
ApplicationLoader
  
All files in xml context are loaded.
ApplicationLoader
  
Triggered when context files starts processing.
ApplicationLoader
  
Triggered when a graphic file loading is finished.
ApplicationLoader
  
Triggered when a graphic file starts loading.
ApplicationLoader
  
Triggered when a DLL file loading is finished.
ApplicationLoader
  
Triggered when a DLL file starts loading.
ApplicationLoader
  
ApplicationLoader
  
ApplicationLoader
  
ApplicationLoader
  
ApplicationLoader
  
ApplicationLoader
  
Preprocessing is completed.
ApplicationLoader
  
Triggered when a resource file loading is finished.
ApplicationLoader
  
Triggered when a resource file starts loading.
ApplicationLoader
 Inherited
prefixURL(sURL:String):void
Adds prefix to URL passed to the loader instance.
AbstractLoader
  
processParsing(xml:*):void
Parses the xml context.
ApplicationLoader
 Inherited
release():void
Releases instance and all registered listeners.
AbstractLoader
  
Removes the passed-in listener object from loader.
ApplicationLoader
 Inherited
Removes the passed-in command listener object as listener for this command events.
AbstractLoader
 Inherited
removeEventListener(type:String, listener:Object):Boolean
Removes the passed-in listener for listening the specified event.
AbstractLoader
 Inherited
removeListener(listener:LoaderListener):Boolean
Removes the passed-in listener object from this event broadcaster.
AbstractLoader
 Inherited
run():void
Starts the asynchronous process of this runnable object.
AbstractLoader
  
runPreprocessor(xml:*):void
Starts IoC pre processing.
ApplicationLoader
 Inherited
setAntiCache(b:Boolean):void
Sets the 'anticache' system to true to add timestamp value to the loaded URL.
AbstractLoader
  
Sets the ApplicationAssembler to use by this loader.
ApplicationLoader
 Inherited
setContent(content:Object):void
Uses to replace this loader content.
AbstractLoader
  
setDisplayObjectBuilder(displayObjectBuilder:DisplayObjectBuilder):void
Sets the DisplayObjectBuilder to use by this loader to load and build all context elements.
ApplicationLoader
 Inherited
setName(sName:String):void
Sets the loader identifier.
AbstractLoader
  
Sets the parsers collection to use in order to build context.
ApplicationLoader
 Inherited
setTimeOut(n:Number):void
Sets a loading timeout limit.
AbstractLoader
 Inherited
setURL(url:URLRequest):void
Defined from which the URL will be loaded.
AbstractLoader
  
setVariable(name:String, value:Object):void
Sets new pair name / value for variable replacement when context file will be laoded.
ApplicationLoader
Protected Methods
 MethodDefined by
  
ApplicationLoader
  
ApplicationLoader
  
ApplicationLoader
 Inherited
fireEvent(e:Event):void
Dispatched passed-in event to all registered listeners.
AbstractLoader
 Inherited
fireEventType(type:String, errorMessage:String = ""):void
Dispatches event using passed-in type and optional error message.
AbstractLoader
  
getLoaderEvent(type:String, errorMessage:String = ""):LoaderEvent
ApplicationLoader
  
initContext():void
ApplicationLoader
  
initQueryURL():void
Retreives Query URL.
ApplicationLoader
 Inherited
onInitialize():void
AbstractLoader
  
preprocess(xml:XML):XML
Do preprocessing actions on xml context before parsing.
ApplicationLoader
 Inherited
setListenerType(type:Class):void
Defines the type of listeners this event broadcaster support.
AbstractLoader
Events
 EventSummaryDefined by
   Dispatched when all communication channels are assigned.ApplicationLoader
   Dispatched when application is ready.
IoC engine complete.
ApplicationLoader
   Dispatched when all methods defined in context are called.ApplicationLoader
   Dispatched when all context objects are built.ApplicationLoader
   Dispatched when context file is parsed.ApplicationLoader
   Dispatched when context files loading starts.ApplicationLoader
   Dispatched when IoC engien state change Possible values for state are :
  • ApplicationLoaderEvent.LOAD_STATE
  • ApplicationLoaderEvent.PREPROCESS_STATE
  • ApplicationLoaderEvent.PARSE_STATE
  • ApplicationLoaderEvent.DLL_STATE
  • ApplicationLoaderEvent.RSC_STATE
  • ApplicationLoaderEvent.GFX_STATE
  • ApplicationLoaderEvent.BUILD_STATE
  • ApplicationLoaderEvent.RUN_STATE
.
ApplicationLoader
   ispatched when an error occurs during context item file loading.ApplicationLoader
 Inherited Dispatched when an error occurs during loading.AbstractLoader
   Dispatched when a context item file loading is finished ApplicationLoader
 Inherited Dispatched when loading is finished.AbstractLoader
   Dispatched during context item file loading progression ApplicationLoader
 Inherited Dispatched during loading progression.AbstractLoader
   Dispatched when a context item file starts loading.ApplicationLoader
 Inherited Dispatched when loader starts loading.AbstractLoader
   Dispatched when a timeout occurs during context item file loading.ApplicationLoader
 Inherited Dispatched when a timeout occurs during loading.AbstractLoader
Public Constants
 ConstantDefined by
  ABSOLUTE_PATH : String = "://"
[static] Defines wildcard to search to identify an absolute path.
ApplicationLoader
  DEFAULT_URL : URLRequest
[static] Default URL Request for applicationContext file.
ApplicationLoader
Property detail
DEBUG_LOADING_ENABLEDproperty
public static var DEBUG_LOADING_ENABLED:Boolean = false

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Enabled or not the debugging feature during application loading.

DEFAULT_CONFIG_PATHproperty 
public static var DEFAULT_CONFIG_PATH:String = ""

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Default path for applicationContext file.

DEFAULT_CONTEXT_FILEproperty 
public static var DEFAULT_CONTEXT_FILE:String = ""

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Default URL for applicationContext file.

DEFAULT_DLL_PATHproperty 
public static var DEFAULT_DLL_PATH:String = ""

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Default path for dll files.

DEFAULT_GFX_PATHproperty 
public static var DEFAULT_GFX_PATH:String = ""

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Default path for gfx ( display tree ) files.

DEFAULT_RSC_PATHproperty 
public static var DEFAULT_RSC_PATH:String = ""

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Default path for resources files.

RELATIVE_PATHproperty 
public static var RELATIVE_PATH:String = "#//"

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Defines wildcard to search to identify a forced relative path.

The default value is #//.

Constructor detail
ApplicationLoader()constructor
public function ApplicationLoader(rootTarget:DisplayObjectContainer, autoExecute:Boolean = false, url:URLRequest = null)

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Creates loader instance.

Parameters
rootTarget:DisplayObjectContainer — Main sprite target for display tree creation.
 
autoExecute:Boolean (default = false) — (optional) true to start loading just after loader instanciation.
 
url:URLRequest (default = null) — URL request for 'applicationContext' file to load.
Method detail
_initParserCollection()method
protected function _initParserCollection():void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

_onContextLoaderLoadInit()method 
protected function _onContextLoaderLoadInit(e:ContextLoaderEvent):void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Parameters
e:ContextLoaderEvent
_onContextParsingEnd()method 
protected function _onContextParsingEnd(e:ContextParserEvent):void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Parameters
e:ContextParserEvent
addApplicationLoaderListener()method 
public function addApplicationLoaderListener(listener:ApplicationLoaderListener):Boolean

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Adds the passed-in listener as listener for all events dispatched by loader.

Parameters
listener:ApplicationLoaderListenerApplicationLoaderListener instance.

Returns
Boolean
addProcessingMethod()method 
public function addProcessingMethod(processingMethod:Function, ... args):void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Adds new preprocessing method.

Preprocessing act after xml loading and before context parsing.
Used to transform context data on fly.

Parameters
processingMethod:Function — Method to call.
Method must accept an XML object as first argument and return an XML object when completed.
 
... args — Additionals parameters to pass to method when executing.

See also


Example
   
   var oLoader : ApplicationLoader = new ApplicationLoader( this, false );
   oLoader.addProcessingMethod( ProcessingHelper.changeObjectAttribute, "cross", "visible", "false" );
   oLoader.addProcessingMethod( ProcessingHelper.changePropertyValue, "cross", "x", 600 );
   oLoader.addProcessingMethod( ProcessingHelper.addResource, "newStyle", "myStyle.css" );
   

addProcessor()method 
public function addProcessor(processor:ContextProcessor):void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Adds new pre processing processor.

Preprocessing act after xml loading and before context parsing.
Used to transform context data on fly.

Parameters
processor:ContextProcessor

Example
   
   var oLoader : ApplicationLoader = new ApplicationLoader( this, false );
   oLoader.addProcessor( new LocalisationProcessor() );
   

fireOnApplicationInit()method 
public function fireOnApplicationInit():void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Broadcasts ApplicationLoaderEvent.onApplicationInitEVENT event type when application is ready.

fireOnApplicationParsed()method 
public function fireOnApplicationParsed():void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Broadcasts ApplicationLoaderEvent.onApplicationParsedEVENT event type when xml is parsed.

fireOnApplicationStart()method 
public function fireOnApplicationStart():void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Broadcasts ApplicationLoaderEvent.onApplicationStartEVENT event type when xml is parsed.

fireOnApplicationState()method 
public function fireOnApplicationState(state:String):void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Broadcasts ApplicationLoaderEvent.onApplicationStateEVENT when IOC engine processing change his state ( DLL, Resources, GFX, etc. )

Parameters
state:String
fireOnChannelsAssigned()method 
public function fireOnChannelsAssigned():void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Broadcasts ApplicationLoaderEvent.onApplicationChannelsAssignedEVENT event type when all plugin channels are initialized.

fireOnMethodsCalled()method 
public function fireOnMethodsCalled():void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Broadcasts ApplicationLoaderEvent.onApplicationMethodsCalledEVENT event type when all method-call are executed.

fireOnObjectsBuilt()method 
public function fireOnObjectsBuilt():void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Broadcasts ApplicationLoaderEvent.onApplicationObjectsBuiltEVENT event type when all elements in xml are built.

getApplicationAssembler()method 
public function getApplicationAssembler():ApplicationAssembler

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Returns ApplicationAssembler used in by this loader.

Returns
ApplicationAssembler
getDisplayObjectBuilder()method 
public function getDisplayObjectBuilder():DisplayObjectBuilder

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Returns the DisplayObjectBuilder used by this loader to load and build all context elements.

Returns
DisplayObjectBuilder
getLoaderEvent()method 
protected override function getLoaderEvent(type:String, errorMessage:String = ""):LoaderEvent

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Parameters
type:String
 
errorMessage:String (default = "")

Returns
LoaderEvent
getParserCollection()method 
public function getParserCollection():ParserCollection

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Returns parser collection used by assembler.

Returns
ParserCollection
getURLRequest()method 
public static function getURLRequest(request:URLRequest, prefix:String = ""):URLRequest

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Returns clean URL address using passed-in base url and optional prefix one.

Parameters
request:URLRequest — Original request defined in xml context
 
prefix:String (default = "") — Prefix to insert to build correct url link

Returns
URLRequest
initContext()method 
protected function initContext():void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

initQueryURL()method 
protected function initQueryURL():void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Retreives Query URL.

Uses query URL to overwrite existing Flashvars for exemple.

load()method 
public override function load(url:URLRequest = null, context:LoaderContext = null):void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Starts loading.

Parameters
url:URLRequest (default = null) — (optional) URL request for 'applicationContext' file to load.
 
context:LoaderContext (default = null)
onBuildDisplayObject()method 
public function onBuildDisplayObject(e:DisplayObjectEvent):void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Triggered when a display object is built.

Parameters
e:DisplayObjectEvent
onDisplayLoaderInit()method 
public function onDisplayLoaderInit(e:ValueObjectEvent):void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Triggered when a display loader is registred.

Parameters
e:ValueObjectEvent
onDisplayObjectBuilderLoadInit()method 
public function onDisplayObjectBuilderLoadInit(e:DisplayObjectBuilderEvent):void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

All files in xml context are loaded.

Parameters
e:DisplayObjectBuilderEvent
onDisplayObjectBuilderLoadStart()method 
public function onDisplayObjectBuilderLoadStart(e:DisplayObjectBuilderEvent):void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Triggered when context files starts processing.

Parameters
e:DisplayObjectBuilderEvent
onDisplayObjectLoadInit()method 
public function onDisplayObjectLoadInit(e:DisplayObjectBuilderEvent):void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Triggered when a graphic file loading is finished.

Parameters
e:DisplayObjectBuilderEvent
onDisplayObjectLoadStart()method 
public function onDisplayObjectLoadStart(e:DisplayObjectBuilderEvent):void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Triggered when a graphic file starts loading.

Parameters
e:DisplayObjectBuilderEvent
onDLLLoadInit()method 
public function onDLLLoadInit(e:DisplayObjectBuilderEvent):void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Triggered when a DLL file loading is finished.

Parameters
e:DisplayObjectBuilderEvent
onDLLLoadStart()method 
public function onDLLLoadStart(e:DisplayObjectBuilderEvent):void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Triggered when a DLL file starts loading.

Parameters
e:DisplayObjectBuilderEvent
onLoadError()method 
public function onLoadError(e:LoaderEvent):void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Parameters
e:LoaderEvent
onLoadInit()method 
public function onLoadInit(e:LoaderEvent):void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Parameters
e:LoaderEvent
onLoadProgress()method 
public function onLoadProgress(e:LoaderEvent):void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Parameters
e:LoaderEvent
onLoadStart()method 
public function onLoadStart(e:LoaderEvent):void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Parameters
e:LoaderEvent
onLoadTimeOut()method 
public function onLoadTimeOut(e:LoaderEvent):void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Parameters
e:LoaderEvent
onPreprossorComplete()method 
public function onPreprossorComplete(event:BasicEvent):void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Preprocessing is completed.

Starts the IoC parsing.

Parameters
event:BasicEvent — IoC xml context

See also

onRSCLoadInit()method 
public function onRSCLoadInit(e:DisplayObjectBuilderEvent):void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Triggered when a resource file loading is finished.

Parameters
e:DisplayObjectBuilderEvent
onRSCLoadStart()method 
public function onRSCLoadStart(e:DisplayObjectBuilderEvent):void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Triggered when a resource file starts loading.

Parameters
e:DisplayObjectBuilderEvent
preprocess()method 
protected function preprocess(xml:XML):XML

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Do preprocessing actions on xml context before parsing.

Parameters
xml:XML — Content to process

Returns
XML
processParsing()method 
public function processParsing(xml:*):void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Parses the xml context.

Include files are loaded and preprocessing is done.

Parameters
xml:*
removeApplicationLoaderListener()method 
public function removeApplicationLoaderListener(listener:ApplicationLoaderListener):Boolean

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Removes the passed-in listener object from loader.

Parameters
listener:ApplicationLoaderListenerApplicationLoaderListener instance.

Returns
Boolean
runPreprocessor()method 
public function runPreprocessor(xml:*):void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Starts IoC pre processing.

Parameters
xml:* — IoC xml context

See also

setApplicationAssembler()method 
public function setApplicationAssembler(assembler:ApplicationAssembler):void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Sets the ApplicationAssembler to use by this loader.

Parameters
assembler:ApplicationAssembler
setDisplayObjectBuilder()method 
public function setDisplayObjectBuilder(displayObjectBuilder:DisplayObjectBuilder):void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Sets the DisplayObjectBuilder to use by this loader to load and build all context elements.

Parameters
displayObjectBuilder:DisplayObjectBuilder
setParserCollection()method 
public function setParserCollection(pc:ParserCollection):void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Sets the parsers collection to use in order to build context.

Parameters
pc:ParserCollection
setVariable()method 
public function setVariable(name:String, value:Object):void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Sets new pair name / value for variable replacement when context file will be laoded.

Parameters
name:String — Name of the variable to replace.
 
value:Object — New value for this variable.

Example
Variable definition somewhere in the xml context :
   
   ${POSITION_X}
   

Setting this variable using setVariable() method :
   
   rtLoader.setVariable( "POSITION_X", 200 );
   

Event detail
onApplicationChannelsAssignedevent 
Event object type: com.bourre.ioc.load.ApplicationLoaderEvent
ApplicationLoaderEvent.type property = com.bourre.ioc.load.ApplicationLoaderEvent.onApplicationChannelsAssignedEVENT

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Dispatched when all communication channels are assigned.

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:

PropertyValue
type Dispatched event type
MethodValue
getApplicationLoader() The loader object
onApplicationInitevent  
Event object type: com.bourre.ioc.load.ApplicationLoaderEvent
ApplicationLoaderEvent.type property = com.bourre.ioc.load.ApplicationLoaderEvent.onApplicationInitEVENT

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Dispatched when application is ready.
IoC engine complete.

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:

PropertyValue
type Dispatched event type
MethodValue
getApplicationLoader() The loader object
onApplicationMethodsCalledevent  
Event object type: com.bourre.ioc.load.ApplicationLoaderEvent
ApplicationLoaderEvent.type property = com.bourre.ioc.load.ApplicationLoaderEvent.onApplicationMethodsCalledEVENT

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Dispatched when all methods defined in context are called.

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:

PropertyValue
type Dispatched event type
MethodValue
getApplicationLoader() The loader object
onApplicationObjectsBuiltevent  
Event object type: com.bourre.ioc.load.ApplicationLoaderEvent
ApplicationLoaderEvent.type property = com.bourre.ioc.load.ApplicationLoaderEvent.onApplicationObjectsBuiltEVENT

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Dispatched when all context objects are built.

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:

PropertyValue
type Dispatched event type
MethodValue
getApplicationLoader() The loader object
onApplicationParsedevent  
Event object type: com.bourre.ioc.load.ApplicationLoaderEvent
ApplicationLoaderEvent.type property = com.bourre.ioc.load.ApplicationLoaderEvent.onApplicationParsedEVENT

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Dispatched when context file is parsed.

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:

PropertyValue
type Dispatched event type
MethodValue
getApplicationLoader() The loader object
onApplicationStartevent  
Event object type: com.bourre.ioc.load.ApplicationLoaderEvent
ApplicationLoaderEvent.type property = com.bourre.ioc.load.ApplicationLoaderEvent.onApplicationStartEVENT

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Dispatched when context files loading starts.

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:

PropertyValue
type Dispatched event type
MethodValue
getApplicationLoader() The loader object
onApplicationStateevent  
Event object type: com.bourre.ioc.load.ApplicationLoaderEvent
ApplicationLoaderEvent.type property = com.bourre.ioc.load.ApplicationLoaderEvent.onApplicationStateEVENT

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Dispatched when IoC engien state change Possible values for state are :

.

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:

PropertyValue
type Dispatched event type
MethodValue
getApplicationLoader() The loader object
getApplicationState() The application state
onLoadErrorevent  
Event object type: com.bourre.ioc.load.ApplicationLoaderEvent
ApplicationLoaderEvent.type property = com.bourre.ioc.load.ApplicationLoaderEvent.onLoadErrorEVENT

Player version: Flash Player 9.0
Language version: ActionScript 3.0

ispatched when an error occurs during context item file loading.

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:

PropertyValue
type Dispatched event type
MethodValue
getApplicationLoader() The loader object
getLoader() The current loader object
getErrorMessage() The current error message
onLoadInitevent  
Event object type: com.bourre.ioc.load.ApplicationLoaderEvent
ApplicationLoaderEvent.type property = com.bourre.ioc.load.ApplicationLoaderEvent.onLoadInitEVENT

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Dispatched when a context item file loading is finished

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:

PropertyValue
type Dispatched event type
MethodValue
getApplicationLoader() The loader object
getLoader() The current loader object
onLoadProgressevent  
Event object type: com.bourre.ioc.load.ApplicationLoaderEvent
ApplicationLoaderEvent.type property = com.bourre.ioc.load.ApplicationLoaderEvent.onLoadProgressEVENT

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Dispatched during context item file loading progression

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:

PropertyValue
type Dispatched event type
MethodValue
getApplicationLoader() The loader object
getLoader() The current loader object
onLoadStartevent  
Event object type: com.bourre.ioc.load.ApplicationLoaderEvent
ApplicationLoaderEvent.type property = com.bourre.ioc.load.ApplicationLoaderEvent.onLoadStartEVENT

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Dispatched when a context item file starts loading.

onLoadTimeOutevent  
Event object type: com.bourre.ioc.load.ApplicationLoaderEvent
ApplicationLoaderEvent.type property = com.bourre.ioc.load.ApplicationLoaderEvent.onLoadTimeOutEVENT

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Dispatched when a timeout occurs during context item file loading.

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:

PropertyValue
type Dispatched event type
MethodValue
getApplicationLoader() The loader object
getLoader() The current loader object
Constant detail
ABSOLUTE_PATHconstant
public static const ABSOLUTE_PATH:String = "://"

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Defines wildcard to search to identify an absolute path.

The default value is ://.

DEFAULT_URLconstant 
public static const DEFAULT_URL:URLRequest

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Default URL Request for applicationContext file.