Packagech.capi.net
Interfacepublic interface ILoadPolicy
ImplementorsDefaultLoadPolicy

Represents a loading policy. The target of the objects implementing this interface is to decides for example whetever a file should be reloaded by the MassLoader or not.

See also

MassLoader


Public Properties
 PropertyDefined by
  canContinue : Boolean
[read-only] Defines if the massive loading can continue or not.
ILoadPolicy
Public Methods
 MethodDefined by
  
processFile(file:ILoadManager, closeEvent:Event):ILoadManager
Called by the MassLoader when a file download is complete.
ILoadPolicy
Property detail
canContinueproperty
canContinue:Boolean  [read-only]

Defines if the massive loading can continue or not.

Implementation
    public function get canContinue():Boolean
Method detail
processFile()method
public function processFile(file:ILoadManager, closeEvent:Event):ILoadManager

Called by the MassLoader when a file download is complete. This can be due to a successful download or not (see the closeEvent parameters).

Parameters
file:ILoadManager — The ILoadManager to process.
 
closeEvent:Event — The event within the ILoadManager is finished.

Returns
ILoadManager — The ILoadManager to reload or null if there is nothing do.