Method | Defined By | ||
---|---|---|---|
load(url:String, loader:EventDispatcher = null, complete:Function = null, error:Function = null, priority:int = 0):EventDispatcher [static]
load helper. | FLoadUtil | ||
request(request:URLRequest, loader:EventDispatcher = null, complete:Function = null, error:Function = null, priority:int = 0):EventDispatcher [static]
URLRequest helper. | FLoadUtil |
load | () | method |
public static function load(url:String, loader:EventDispatcher = null, complete:Function = null, error:Function = null, priority:int = 0):EventDispatcher
load helper. use URLLoader or Loader or Sound class.
Parameters
url:String — url ( if null, load manually )
| |
loader:EventDispatcher (default = null ) — URLLoader or Loader or Sound ( if null, URLLoader will be created. )
| |
complete:Function (default = null ) — callback on complete
| |
error:Function (default = null ) — callback on io error or security error
| |
priority:int (default = 0 ) — priority of event listener
|
EventDispatcher — loader instance.(URLLoader or Loader or Sound)
|
request | () | method |
public static function request(request:URLRequest, loader:EventDispatcher = null, complete:Function = null, error:Function = null, priority:int = 0):EventDispatcher
URLRequest helper. use URLLoader or Loader or Sound class.
Parameters
request:URLRequest — URLRequest ( if null, load manually )
| |
loader:EventDispatcher (default = null ) — URLLoader or Loader or Sound ( if null, URLLoader will be created. )
| |
complete:Function (default = null ) — callback on complete
| |
error:Function (default = null ) — callback on io error or security error
| |
priority:int (default = 0 ) — priority of event listener
|
EventDispatcher — loader instance.(URLLoader or Loader or Sound)
|