| Property | Defined by | ||
|---|---|---|---|
| filePath : String
The file to load.
| XMLLoader | ||
| onEndParams : Array
The additional params for the end load handler
| XMLLoader | ||
| Method | Defined by | ||
|---|---|---|---|
|
XMLLoader(filePath:String)
Creates an instanse of XMLLoader
| XMLLoader | ||
|
loadXML(onEnd:Function, onEndParams:Array):void
Loads the XML file.
| XMLLoader | ||
| filePath | property |
public var filePath:StringThe file to load.
The default value is null.
| onEndParams | property |
public var onEndParams:ArrayThe additional params for the end load handler
The default value is null.
| XMLLoader | () | constructor |
public function XMLLoader(filePath:String)Creates an instanse of XMLLoader
ParametersfilePath:String — Path to file that will be loaded
|
| loadXML | () | method |
public function loadXML(onEnd:Function, onEndParams:Array):voidLoads the XML file. After loading a function specified in onEnd is called with the file contents as the first param and onEndParams as next params, if specified.
ParametersonEnd:Function — reference to function called when loading ends
|
|
onEndParams:Array — the additional params for the onEnd function
|