Packageflash.utils
Classpublic final class CompressionAlgorithm
InheritanceCompressionAlgorithm Inheritance Object

Language Version : ActionScript 3.0
Runtime Versions : Flash Player 10, AIR 1.0

The CompressionAlgorithm class defines string constants for the names of compress and uncompress options. These constants are used as values of the algorithm parameter of the ByteArray.compress() and ByteArray.uncompress() methods.

See also

flash.utils.ByteArray.compress()
flash.utils.ByteArray.uncompress()


Public Methods
 MethodDefined By
 Inherited
_init():*
[static]
_init
 Inherited
AS3
 Inherited
init():*
[static]
init
 Inherited
AS3
 Inherited
AS3
Protected Methods
 MethodDefined By
 Inherited
[static]
protected
 Inherited
_setPropertyIsEnumerable(o:*, V:String, enumerable:Boolean):void
[static]
protected
Public Constants
 ConstantDefined By
  DEFLATE : String = "deflate"
[static] Defines the string to use for the deflate compression algorithm.
CompressionAlgorithm
 Inheritedlength : int = 1
[static]
length
  LZMA : String = "lzma"
[static] Defines the string to use for the lzma compression algorithm.
CompressionAlgorithm
  ZLIB : String = "zlib"
[static] Defines the string to use for the zlib compression algorithm.
CompressionAlgorithm
Constant Detail
DEFLATEConstant
public static const DEFLATE:String = "deflate"

Language Version : ActionScript 3.0
Runtime Versions : Flash Player 10, AIR 1.0

Defines the string to use for the deflate compression algorithm.

LZMAConstant 
public static const LZMA:String = "lzma"

Language Version : ActionScript 3.0
Runtime Versions : Flash Player 11.4, AIR 3.4

Defines the string to use for the lzma compression algorithm.

ZLIBConstant 
public static const ZLIB:String = "zlib"

Language Version : ActionScript 3.0
Runtime Versions : Flash Player 10, AIR 1.0

Defines the string to use for the zlib compression algorithm.