Package | ch.capi.net |
Interface | public interface ILoadInfo |
Property | Defined By | ||
---|---|---|---|
averageSpeed : Number [read-only]
Defines the average speed since the loading has begun. | ILoadInfo | ||
bytesLoaded : uint [read-only]
Defines the bytes that have been loaded. | ILoadInfo | ||
bytesRemaining : uint [read-only]
Defines the number of bytes to load. | ILoadInfo | ||
bytesTotal : uint [read-only]
Defines the total bytes to load. | ILoadInfo | ||
currentSpeed : Number [read-only]
Defines the current speed of the download (kilobytes per seconds). | ILoadInfo | ||
elapsedTime : uint [read-only]
Defines the elapsed time since the loading as begun. | ILoadInfo | ||
filesError : Array [read-only]
Defines the files that haven't been successfully loaded. | ILoadInfo | ||
filesIdle : Array [read-only]
Defines the files that currently not being loaded (waits in the loading queue). | ILoadInfo | ||
filesLoading : Array [read-only]
Defines the files that are currently being loaded. | ILoadInfo | ||
filesSuccess : Array [read-only]
Defines the files that have been successfully loaded. | ILoadInfo | ||
massLoader : IMassLoader [read-only]
Defines the IMassLoader source. | ILoadInfo | ||
percentLoaded : uint [read-only]
Defines the percent of bytes loaded. | ILoadInfo | ||
ratioLoaded : Number [read-only]
Defines a Number between 0 and 1 (included) that represents the ratio of the loaded bytes. | ILoadInfo | ||
remainingTime : int [read-only]
Defines the remaining time, based on the speed and the bytes that left to be loaded. | ILoadInfo |
Method | Defined By | ||
---|---|---|---|
reset():void
Reset all the information about the loading. | ILoadInfo | ||
toString():String
Represents the data of the ILoadInfo in a String. | ILoadInfo | ||
update():void
Update the information about the loading. | ILoadInfo |
averageSpeed | property |
averageSpeed:Number
[read-only] Defines the average speed since the loading has begun.
public function get averageSpeed():Number
bytesLoaded | property |
bytesLoaded:uint
[read-only] Defines the bytes that have been loaded.
public function get bytesLoaded():uint
bytesRemaining | property |
bytesRemaining:uint
[read-only] Defines the number of bytes to load.
public function get bytesRemaining():uint
bytesTotal | property |
bytesTotal:uint
[read-only] Defines the total bytes to load.
public function get bytesTotal():uint
currentSpeed | property |
currentSpeed:Number
[read-only] Defines the current speed of the download (kilobytes per seconds).
public function get currentSpeed():Number
elapsedTime | property |
elapsedTime:uint
[read-only] Defines the elapsed time since the loading as begun.
public function get elapsedTime():uint
filesError | property |
filesError:Array
[read-only] Defines the files that haven't been successfully loaded.
public function get filesError():Array
filesIdle | property |
filesIdle:Array
[read-only] Defines the files that currently not being loaded (waits in the loading queue).
public function get filesIdle():Array
filesLoading | property |
filesLoading:Array
[read-only] Defines the files that are currently being loaded.
public function get filesLoading():Array
filesSuccess | property |
filesSuccess:Array
[read-only] Defines the files that have been successfully loaded.
public function get filesSuccess():Array
massLoader | property |
massLoader:IMassLoader
[read-only]
Defines the IMassLoader
source.
public function get massLoader():IMassLoader
percentLoaded | property |
percentLoaded:uint
[read-only] Defines the percent of bytes loaded.
public function get percentLoaded():uint
See also
ratioLoaded | property |
ratioLoaded:Number
[read-only] Defines a Number between 0 and 1 (included) that represents the ratio of the loaded bytes.
public function get ratioLoaded():Number
See also
remainingTime | property |
remainingTime:int
[read-only] Defines the remaining time, based on the speed and the bytes that left to be loaded. If the current speed is zero, this value will be -1.
public function get remainingTime():int
reset | () | method |
public function reset():void
Reset all the information about the loading.
toString | () | method |
public function toString():String
Represents the data of the ILoadInfo
in a String
.
String — A String with the useful information.
|
update | () | method |
public function update():void
Update the information about the loading.