(Beta)
Package | flash.system |
Class | public final class ImageDecodingPolicy |
Inheritance | ImageDecodingPolicy Object |
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 2.6 |
Related API Elements
Public Properties
Public Methods
Public Constants
Constant | Defined By | ||
---|---|---|---|
ON_DEMAND : String = "onDemand" [static]
Constant; specifies that the image being loaded will be decoded when needed and that the decoded data may be flushed at will by the system. | ImageDecodingPolicy | ||
ON_LOAD : String = "onLoad" [static]
Constant; specifies that the image being loaded will be decoded on load, prior to the complete event being sent. | ImageDecodingPolicy |
Constant Detail
ON_DEMAND | Constant |
public static const ON_DEMAND:String = "onDemand"
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 2.6 |
Constant; specifies that the image being loaded will be decoded when needed and that the decoded data may be flushed at will by the system. If flushed, it will be re-decoded as needed.
Use the syntax ImageDecodingPolicy.ON_DEMAND
.
Related API Elements
ON_LOAD | Constant |
public static const ON_LOAD:String = "onLoad"
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 2.6 |
Constant; specifies that the image being loaded will be decoded on load, prior to the complete event being sent. The decoded image data is cached, and may be flushed at will by the system. If flushed, it will be re-decoded as needed.
Use the syntax ImageDecodingPolicy.ON_LOAD
.
Related API Elements
Wed Nov 21 2018, 06:34 AM -08:00