| Package | ch.capi.net |
| Interface | public interface ILoadManager extends flash.events.IEventDispatcher |
| Subinterfaces | ILoadableFile, IMassLoader |
See also
| Property | Defined by | ||
|---|---|---|---|
| bytesLoaded : uint [read-only]
Defines the bytes that have been loaded.
| ILoadManager | ||
| bytesTotal : uint [read-only]
Defines the total bytes to load.
| ILoadManager | ||
| closeEvent : Event [read-only]
Defines the event that happend to close the file (Event.CLOSE, Event.COMPLETE, ...).
| ILoadManager | ||
| stateIdle : Boolean [read-only]
Defines if the
ILoadManager is idle. | ILoadManager | ||
| stateLoading : Boolean [read-only]
Defines if the
ILoadManager is loading. | ILoadManager | ||
| useCache : Boolean
Defines if the
ILoadManager can use the cache or not. | ILoadManager | ||
| Method | Defined by | ||
|---|---|---|---|
|
start():void
Starts downloading data from the specified URL.
| ILoadManager | ||
|
stop():void
Stops the load operation in progress.
| ILoadManager | ||
| Event | Summary | Defined by | ||
|---|---|---|---|---|
| Dispatched when the download operation stops. | ILoadManager | |||
| Dispatched after all the received data is received. | ILoadManager | |||
Dispatched when the download operation commences following a call to the ILoadManager.load()
method. | ILoadManager | |||
| Dispatched when data is received as the download operation progresses. | ILoadManager | |||
| bytesLoaded | property |
bytesLoaded:uint [read-only]Defines the bytes that have been loaded.
Implementation public function get bytesLoaded():uint
| bytesTotal | property |
bytesTotal:uint [read-only]Defines the total bytes to load.
Implementation public function get bytesTotal():uint
| closeEvent | property |
closeEvent:Event [read-only]Defines the event that happend to close the file (Event.CLOSE, Event.COMPLETE, ...).
Implementation public function get closeEvent():Event
| stateIdle | property |
stateIdle:Boolean [read-only]
Defines if the ILoadManager is idle.
public function get stateIdle():Boolean
| stateLoading | property |
stateLoading:Boolean [read-only]
Defines if the ILoadManager is loading.
public function get stateLoading():Boolean
| useCache | property |
useCache:Boolean [read-write]
Defines if the ILoadManager can use the cache or not.
public function get useCache():Boolean
public function set useCache(value:Boolean):void
| start | () | method |
public function start():voidStarts downloading data from the specified URL.
— If the ILoadManager is already loading.
|
| stop | () | method |
public function stop():voidStops the load operation in progress. Any load operation in progress is immediately terminated.
— If the ILoadManager is not loading.
|
| close | event |
flash.events.Event
Dispatched when the download operation stops. This is following a call to the ILoadManager.stop()
method.
| complete | event |
| open | event |
flash.events.Event
Dispatched when the download operation commences following a call to the ILoadManager.load()
method.
| progress | event |
flash.events.ProgressEvent
Dispatched when data is received as the download operation progresses.