| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
The LoadStrategy interface defines rule for loading strategy
implementation.
public function getBytesLoaded():uint
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Returns current loaded bytes amount.
Returns
public function getBytesTotal():uint
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Returns total bytes to load by this strategy.
Returns
public function load(request:URLRequest = null, context:LoaderContext = null):void
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Loads content.
Parameters
| request:URLRequest (default = null) — The absolute or relative URL of the content to load.
|
| |
| context:LoaderContext (default = null) — (optional) A LoaderContext object, which has properties that define the following:
- Whether or not to check for the existence of a policy file upon loading the object
- The ApplicationDomain for the loaded object
- The SecurityDomain for the loaded object
/ul>
For complete details, see the description of the properties in the
LoaderContext class.
|
public function release():void
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Releases loading process.
public function setOwner(owner:Loader):void
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
Sets the owner of this strategy.
Parameters
| owner:Loader — object who use this strategy
|
LowRA API documentation 2008- 2009
Licensed under the MOZILLA PUBLIC LICENSE, Version 1.1
mer. févr. 25 2009, 9:22 AM GMT+01:00