| Package | com.jeffdePascale.fosfr.core |
| Class | public class ConfigLoader |
| Inheritance | ConfigLoader flash.events.EventDispatcher |
See also
| Method | Defined by | ||
|---|---|---|---|
|
ConfigLoader(_fosfr:FosfrBaseClass)
Instantiates the ConfigLoader class.
| ConfigLoader | ||
|
load(configURL:String):void
Begins the loading process of the configuration XML file.
| ConfigLoader | ||
| Event | Summary | Defined by | ||
|---|---|---|---|---|
| Dispatched when the loading process has completed in the ConfigLoader class. | ConfigLoader | |||
| ConfigLoader | () | constructor |
public function ConfigLoader(_fosfr:FosfrBaseClass)Instantiates the ConfigLoader class.
Parameters_fosfr:FosfrBaseClass — An instance of the Fosfr framework.
|
| load | () | method |
public function load(configURL:String):voidBegins the loading process of the configuration XML file.
ParametersconfigURL:String — the url of the configuration XML, relative the SWF file. this method integrates the 'rootFolder' value in the Fosfr instance to determine relative file location. See FosfrBaseClass for more details.
|
| complete | event |
com.jeffdePascale.fosfr.core.ConfigLoaderEvent
com.jeffdePascale.fosfr.core.ConfigLoaderEvent.COMPLETE
Dispatched when the loading process has completed in the ConfigLoader class.
The ConfigLoaderEvent.COMPLETE constant defines the value of the type property of the event object for a complete event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
type | "complete" |
bubbles | A Boolean value. |
cancelable | A Boolean value. |
configXML | an XML object containing the loaded configuration file. |