Swf 6 版本tag功能表
Control Tags | the tags used by Control tags | Tag Name | Tag ID | Functional | |
SetBackgroundColor | 9 | 设置播放时的背景色 | |||
FrameLable | 43 | 给当前祯唯一的lable,给ActionGotoLable使用。 | |||
Protect | 24 | 给SWF加密 | |||
End | 0 | 标记SWF的结尾 | |||
ExportAssets | 56 | 设定可共享的tag资源,为每个共享tag定义唯一标识的字符串。 | |||
ImportAssets | 57 | 从可共享的tag资源中引入tag。 | |||
EnableDebugger | 58 | 加密Debug。 | |||
EnableDebugger2 | 64 | 以MD5算法加密密码。 | |||
StartSound | 15 | 开始或者停止播放指定的sound | |||
DefineBitsPtr | 1023 | 建立一个参考已有Bitmap的Bitmap | |||
the tags used by DisplayList | 4 | 添加一个 character到 display list,给character一个唯一的id,定义character的深度,所在位置的矩阵,颜色。 | |||
26 | 继承了placeobject的功能,可以修改一个已经在playlist上的character的属性,设置了最大深度值clipdepth,有一些层的属性是被clip或者标记才播放,clipdepth设定了被标记的最大值。 | ||||
5 | 从display list中移除指定id或者深度的character | ||||
28 | 移除指定深度的character | ||||
1 | 显示display list中所有的character
| ||||
the tags used by Actions | DoAction | 12 | 为完成的帧做一个动作列表。 | ||
| ActionRecords | 定义actioncode的长度 | |||
| ActionGotoFrame | 跳跃至指定帧 | |||
| ActionGetURL | 获得html或者另外一个swf的url地址 | |||
| ActionNextFrame | 跳至下一帧 | |||
| ActionPreviousFrame | 跳至前一帧 | |||
| ActionPlay | 开始播放 | |||
| ActionStop | 停止播放 | |||
| ActionToggleQuality | 控制画质是高质量还是低质量 | |||
| ActionStopSounds | 停止所有的声音 | |||
| ActionWaitForFrame | 让播放器停止等待指定帧,等待的同时跳过指定数目的动作。 | |||
| ActionSetTarget | 为一个动作申请一个target。 | |||
| ActionGotoLabel | 播放器跳至被标记了的帧。 | |||
Definition Tags | the tags used by Shapes | DefineShape | 2 | 定义一个shape在字典中唯一的标识id,shape的范围,组成一个shape的填充类型,线类型,以及路径等内容。 | |
DefineShape2 | 22 | 兼容DefineShape,并且多支持255种类型。 | |||
DefineShape3 | 32 | 兼容DefineShape2,并且支持RGBA色彩。 | |||
the tags used by Buttons | DefineButton | 7 | 这个tag是给控制tag使用的,定义了一个button唯一标识的id,一组buttonreacord以及一组actionreacord。 | ||
| DefineButton2 | 34 | 兼容DefineButton,增加按钮状态转换触发动作的功能。 | ||
| DefineButtonCxForm | 23 | 定义button中文字和形状的颜色转换。 | ||
| DefineButtonSound | 17 | 定义button状态转换时播放的声音 | ||
the tags used by Font Tag and Static text tags | DefineFont | 10 | 定义字体信息。以给DefineText使用。 | ||
DefineText | 11 | 定义静态文本信息。包括每个字母的字体,大小,颜色,位置。 | |||
DefineFontInfo | 13 | 定义字体的编码等信息。 | |||
DefineFont2 | 48 | 定义一个字体,或者一组静态轮廓字,用以给DefineEditText使用 | |||
DefineEditText | 37 | 定义一个文本输入框 | |||
DefineText2 | 33 | 和DefineText唯一不同的是使用RGBA定义text的颜色。 | |||
the tags used by Sprits and Movie Clips | DefineSprite | 39 | 定义了sprite的id,sprite中的帧数,以及一组control tags。 | ||
the tags used by Bitmaps | DefineBits | 6 | 定义一个以JPGE压缩格式存储的位图 | ||
JPEGTables | 8 | 定义JPGE编码表,一个swf文件只能有一个JPEGTables,所有的位图文件共享编码表。 | |||
DefineBitsJPEG2 | 21 | 同时包含了压缩的JPGE数据以及JPGE编码表 | |||
DefineBitsJPEG3 | 35 | 继承DefineBitsJPGE2,增加了阿尔法通道数据,可使用ZLIB压缩格式。 | |||
DefineBitsLossless | 20 |
定义位图的长宽,颜色表等信息。 | |||
DefineBitsLossless2 | 36 | 继承DefineBitsLossless,每个象素的颜色信息为32位真色彩,15位的颜色深度在这个tag里无法使用。 | |||
the tags used by Morphs | DefineMorphShape | 46 | 定义形状变形序列的起始形状和结束形状,以提供PlaceObject2 tag使用。 | ||
the tags used by Event Sounds | DefineSound | 14 | 定义一个sound的格式,大小,速率,类型,标志数,以及sound的数据。 | ||
SoundStreamHead | 18 | 如果时间线上有声音流数据,在声音流数据的前一个tag必须为SoundStreamHead或SoundStreamHead2,定义了背景声音信息已经声音流信息。 | |||
SoundStreamHead2 | 45 | 允许声音流的压缩和声音流的大小有不同的值。 | |||
SoundStreamBlock | 19 | 定义声音数据配合帧数据,使声音能够和帧同步。下载时声音随着每帧的一起下载,而不是一次下载。有可能每一帧只有一个SoundStreamBlock tag,此tag必须跟在SoundStreamHead或SoundStreamHead2后面。 | |||
the tags used by Video | DefineVideoStream | 60 | 定义一个将放到播放表的视频角色。包括包含的VideoFrame tags的数目,长度,宽度,预留域,播放模式等信息。 | ||
| VideoFrame | 61 | 定义视频文件的帧信息。包含视频文件中包含的一系列帧的序列号,第一帧为0,后来的帧序列号依次增加。以及帧的数据。 |
备注
MD5加密算法简介:
http://baike.baidu.com/view/7636.htm
ZLIB
Zlib是一个跨平台的压缩函数库,提供了一套 in-memory 压缩和解压函数,并能检测解压出来的数据的完整性(integrity)。
http://www.zlib.net/