Packageefnx.net
Classpublic class MultiURLLoader
InheritanceMultiURLLoader Inheritance flash.events.EventDispatcher

MultiURLLoader is a loader that loads multiple binary things or variables.



Public Properties
 PropertyDefined by
  dataFormat : String
The format of the return data.
MultiURLLoader
  isLoaded : Boolean
[read-only] Returns whether or not all resources are loaded.
MultiURLLoader
  length : int
[read-only] Returns the number of resources listed.
MultiURLLoader
Public Methods
 MethodDefined by
  
MultiURLLoader
  
get(entryName:String):*
Retrieves a resource.
MultiURLLoader
  
hasLoaded(entryName:String = ""):Boolean
Returns whether or not a given resource has loaded.
MultiURLLoader
  
load(path:String, entryName:String = ""):void
Starts the loading of a resource.
MultiURLLoader
  
toString():String
MultiURLLoader
  
unload(entryName:String):void
Unloads a given resource.
MultiURLLoader
  
unloadAll():void
Unloads all resources.
MultiURLLoader
Property detail
dataFormatproperty
dataFormat:String  [read-write]

The format of the return data.

Implementation
    public function get dataFormat():String
    public function set dataFormat(value:String):void

See also

flash.net.URLLoader.dataFormat
isLoadedproperty 
isLoaded:Boolean  [read-only]

Returns whether or not all resources are loaded.

Implementation
    public function get isLoaded():Boolean
lengthproperty 
length:int  [read-only]

Returns the number of resources listed.

Implementation
    public function get length():int
Constructor detail
MultiURLLoader()constructor
public function MultiURLLoader()

Method detail
get()method
public function get(entryName:String):*

Retrieves a resource.

Parameters
entryName:String — Then name of the resource to retrieve.

Returns
*
hasLoaded()method 
public function hasLoaded(entryName:String = ""):Boolean

Returns whether or not a given resource has loaded.

Parameters
entryName:String (default = "") — Then name of the resource.

Returns
Boolean
load()method 
public function load(path:String, entryName:String = ""):void

Starts the loading of a resource.

Parameters
path:String — The path to the resource to load.
 
entryName:String (default = "") — Then name of the resource to use in retrieval.
toString()method 
public override function toString():String

Returns
String
unload()method 
public function unload(entryName:String):void

Unloads a given resource.

Parameters
entryName:String — The name of the resource to unload.
unloadAll()method 
public function unloadAll():void

Unloads all resources.