(AIR only)
flash.utils
Classpublic final class CompressionAlgorithm
继承CompressionAlgorithm Inheritance Object

语言版本 : ActionScript 3.0
RuntimeVersions: Flash Player 9.0, AIR 1.0

为压缩和解压缩选项的名称定义字符串常量。这些常量是 ByteArray.compress()ByteArray.uncompress() 方法的 algorithm 参数所使用的值。

另请参见

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


公共属性
 属性定义方
 Inheritedconstructor : Object
对类对象或给定对象实例的构造函数的引用。
Object
 Inheritedprototype : Object
[] 对类或函数对象的原型对象的引用。
Object
公共方法
 方法定义方
 Inherited
指示对象是否已经定义了指定的属性。
Object
 Inherited
指示 Object 类的实例是否在指定为参数的对象的原型链中。
Object
 Inherited
指示指定的属性是否存在、是否可枚举。
Object
 Inherited
设置循环操作动态属性的可用性。
Object
 Inherited
返回指定对象的字符串表示形式。
Object
 Inherited
返回指定对象的原始值。
Object
公共常量
 常量定义方
  DEFLATE : String = "deflate"
[] 定义用于 deflate 压缩算法的字符串。
CompressionAlgorithm
  ZLIB : String = "zlib"
[] 定义用于 zlib 压缩算法的字符串。
CompressionAlgorithm
常量详细信息
DEFLATE常量
public static const DEFLATE:String = "deflate"

语言版本 : ActionScript 3.0
RuntimeVersions: Flash Player 9.0, AIR 1.0

定义用于 deflate 压缩算法的字符串。

ZLIB常量 
public static const ZLIB:String = "zlib"

语言版本 : ActionScript 3.0
RuntimeVersions: Flash Player 9.0, AIR 1.0

定义用于 zlib 压缩算法的字符串。





 

评论添加到页面后给我发送电子邮件 | 评论报告

当前页: http://livedocs.adobe.com/flex/3_cn/flash/utils/CompressionAlgorithm.html