Package | flash.system |
Class | public class JPEGLoaderContext |
Inheritance | JPEGLoaderContext LoaderContext Object |
Language version: | ActionScript 3.0 |
Runtime version: | AIR 1.5 |
deblockingFilter
property. Then use the JPEGLoaderContext object name as the value of the
context
parameter of the load()
method of the Loader object used to load the image.
The JPEGLoaderContext class extends the LoaderContext class. Set the checkPolicyFile
property to true
if you need programmatic access to the pixels of the loaded image
(for example, if you're using the BitmapData.draw()
method). Setting the checkPolicyFile
property is not necessary for AIR content running in the application sandbox.
See also
Property | Defined by | ||
---|---|---|---|
allowCodeImport : Boolean
Specifies whether you can use a
Loader object to import content with executable code,
such as a SWF file, into the caller's security sandbox. | LoaderContext | ||
allowLoadBytesCodeExecution : Boolean
Legacy property, replaced by
allowCodeImport , but still supported for compatibility. | LoaderContext | ||
applicationDomain : ApplicationDomain = null
Specifies the application domain to use for the
Loader.load() or
Loader.loadBytes() method. | LoaderContext | ||
checkPolicyFile : Boolean = false
Specifies whether the application should attempt to download a URL policy file from the
loaded object's server before beginning to load the object itself.
| LoaderContext | ||
constructor : Object
A reference to the class object or constructor function for a given object instance.
| Object | ||
deblockingFilter : Number = 0.0
Specifies the strength of the deblocking filter.
| JPEGLoaderContext | ||
imageDecodingPolicy : String
Specifies whether to decode bitmap image data when it is used or when it is loaded.
| LoaderContext | ||
parameters : Object
An Object containing the parameters to pass to the LoaderInfo object of the content.
| LoaderContext | ||
prototype : Object
[static]
A reference to the prototype object of a class or function object.
| Object | ||
requestedContentParent : DisplayObjectContainer
The parent to which the Loader will attempt to add the loaded content.
| LoaderContext | ||
securityDomain : SecurityDomain = null
Specifies the security domain to use for a
Loader.load() operation. | LoaderContext |
Method | Defined by | ||
---|---|---|---|
JPEGLoaderContext(deblockingFilter:Number = 0.0, checkPolicyFile:Boolean = false, applicationDomain:ApplicationDomain = null, securityDomain:SecurityDomain = null)
Creates a new JPEGLoaderContext object with the specified settings.
| JPEGLoaderContext | ||
Indicates whether an object has a specified property defined.
| Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter.
| Object | ||
Indicates whether the specified property exists and is enumerable.
| Object | ||
Sets the availability of a dynamic property for loop operations.
| Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions.
| Object | ||
Returns the string representation of the specified object.
| Object | ||
Returns the primitive value of the specified object.
| Object |
deblockingFilter | property |
public var deblockingFilter:Number = 0.0
Language version: | ActionScript 3.0 |
Runtime version: | AIR 1.5 |
Specifies the strength of the deblocking filter. A value of 1.0 applies a full strength deblocking filter, a value of 0.0 disables the deblocking filter.
JPEGLoaderContext | () | constructor |
public function JPEGLoaderContext(deblockingFilter:Number = 0.0, checkPolicyFile:Boolean = false, applicationDomain:ApplicationDomain = null, securityDomain:SecurityDomain = null)
Language version: | ActionScript 3.0 |
Runtime version: | AIR 1.5 |
Creates a new JPEGLoaderContext object with the specified settings.
ParametersdeblockingFilter:Number (default = 0.0 ) — Specifies the strength of the deblocking filter. A value of 1.0
applies a full strength deblocking filter, a value of 0.0 disables the deblocking filter.
|
|
checkPolicyFile:Boolean (default = false ) — Specifies whether Flash Player should check for the existence
of a URL policy file before loading the object. Does not apply for AIR content running in the application sandbox.
|
|
applicationDomain:ApplicationDomain (default = null ) — Specifies the ApplicationDomain object to use for a Loader object.
|
|
securityDomain:SecurityDomain (default = null ) — Specifies the SecurityDomain object to use for a Loader object.
|
See also