Property | Defined by | ||
---|---|---|---|
ACCESS_DENIED : String = "content_access_not_permitted" [static]
Accessing the loaded content not permitted.
| LoadingError | ||
error : Error [read-only]
Returns the Flash Error, if the loading failure is a result of a Flash exception.
| LoadingError | ||
failureMessage : String [read-only]
Returns a more detailed error message in cases of loading failures.
| LoadingError | ||
FILE_NOT_FOUND : String = "file_not_found" [static]
Server returns a 404 error, or the file could not be found in the file system.
| LoadingError | ||
loader : IResourceLoader
[read-only]
Returns the affected resource loader.
| LoadingError | ||
LOADING_DENIED : String = "loading_not_permitted" [static]
Loading of a resource from a not permitted realm.
| LoadingError | ||
TIMEOUT : String = "timeout" [static]
No raise in progress after the specified timeout period.
| LoadingError | ||
type : String [read-only]
Returns the type of the loading error.
| LoadingError |
Method | Defined by | ||
---|---|---|---|
LoadingError(type:String, loader:IResourceLoader, message:String = "", error:Error = null)
Creates a new LoadingError object.
| LoadingError | ||
toString():String
Info
| LoadingError |
ACCESS_DENIED | property |
public static var ACCESS_DENIED:String = "content_access_not_permitted"
Accessing the loaded content not permitted.
The Flash Loader may load a resource successfully but can't display it afterwards.
Possible reasons:
error | property |
error:Error
[read-only]Returns the Flash Error, if the loading failure is a result of a Flash exception.
Exception may have been thrown for the types LOADING_DENIED and ACCESS_DENIED.
Implementation public function get error():Error
failureMessage | property |
failureMessage:String
[read-only]Returns a more detailed error message in cases of loading failures.
Implementation public function get failureMessage():String
FILE_NOT_FOUND | property |
public static var FILE_NOT_FOUND:String = "file_not_found"
Server returns a 404 error, or the file could not be found in the file system.
loader | property |
loader:IResourceLoader
[read-only]Returns the affected resource loader.
Implementation public function get loader():IResourceLoader
LOADING_DENIED | property |
public static var LOADING_DENIED:String = "loading_not_permitted"
Loading of a resource from a not permitted realm.
Possible reasons:
TIMEOUT | property |
public static var TIMEOUT:String = "timeout"
No raise in progress after the specified timeout period.
type | property |
type:String
[read-only]Returns the type of the loading error.
Implementation public function get type():String
LoadingError | () | constructor |
public function LoadingError(type:String, loader:IResourceLoader, message:String = "", error:Error = null)
Creates a new LoadingError object.
Parameterstype:String |
|
loader:IResourceLoader |
|
message:String (default = " ")
|
|
error:Error (default = null )
|
toString | () | method |
public function toString():String
Info
ReturnsString |