- 浏览: 33200 次
- 性别:
- 来自: 北京
最新评论
(swf file format spec v10)swf文件格式中英文说明书v10,显示列表部分,笔记12
- 博客分类:
- Flash
The Display List
Displaying a frame of a SWF file is a three-stage process:
显示列表
展示一个SWF文件的一帧分三阶段:
1. Objects are defined with definition tags such as DefineShape, DefineSprite, and so on.
Each object is given a unique ID called a character, and is stored in a repository called the dictionary.
对象被定义,如DefineShape,DefineSprite等定义型标签。每个对象会分配一个唯一ID被称作角色,并且存储在被称作字典的库里。
2. Selected characters are copied from the dictionary and placed on the display list, which is the list of the characters that will be displayed in the next frame.
选择一个角色从字典里复制并且放到显示列表中,角色列表将被显示在下一帧。
3. Once complete, the contents of the display list are rendered to the screen with ShowFrame
一旦完成,显示列表的内容被显示在屏幕用ShowFrame
A depth value is assigned to each character on the display list. The depth determines the stacking order of the character. Characters with lower depth values are displayed underneath
characters with higher depth values. A character with a depth value of 1 is displayed at the bottom of the stack. A character can appear more than once in the display list, but at different
depths. Only one character can be at any given depth.
在显示列表中,层次值被分配给每个角色。层次决定堆放角色的顺序。低层次值的角色会被显示在高层次值角色下面。角色层次值为1被显示在堆栈的是底部。在显示列表中,每个角色在不同的层次能被显示至少一次。仅有一个角色能给定任意层次。
In SWF 1 and 2, the display list was a flat list of the objects that are present on the screen at any given time. In SWF 3 and later versions, the display list is a hierarchical list where an
element on the display can have a list of child elements. For more information, see
在SWF1和SWF2中,显示列表是平级的一系列对象在屏幕上当前对象会给一些时间显示。在SWF3中或更高版本中,显示列表是一个层次列表,其中一个在屏幕上的元素可以有一系列子元素。有关详细信息,请看:
DefineSprite.
The following six tags are used to control the display list:
下面6个标签用于控制显示列表:
■ PlaceObject Adds a character to the display list.
■ PlaceObject2 & PlaceObject3 Adds a character to the display list, or modifies the character at the specified depth.
■ RemoveObject Removes the specified character from the display list.
■ RemoveObject2 Removes the character at the specified depth.
■ ShowFrame Renders the contents of the display list to the display.
■ PlaceObject添加一个角色到显示列表
■ PlaceObject2 & PlaceObject3 添加一个角色到显示列表 或 修改角色在列表中的指定层次。
■ RemoveObject 从列表中删除指定角色
■ RemoveObject2 在指定的层次中删除角色
■ ShowFrame 渲染显示列表的内容到屏幕
注意:
The older tags, PlaceObject and RemoveObject, are rarely used in SWF 3 and later versions.
(PlaceObject 和 RemoveObject是比较老的标签,很少被使用在SWF3或更高版本中)
The following diagram illustrates the display process. First, three objects are defined: a shape,a text object, and a sprite. These objects are given character IDs and stored in the dictionary.
Character 1 (the shape) is then placed at depth 1, the bottom of the stack, and will be obscured by all other characters when the frame is rendered. Character 2 (the text) is placed
twice; once at depth 2, and once at depth 4, the top of the stack. Character 3 (the sprite) is placed at depth 3.
下图说明了显示过程。首先,三个对象被定义:一个形状,一个文本对象,一个界面容器。这些对象是给定一个角色ID并存在字典。角色1(形状)放在层次1,在堆栈的底部,当此帧被显示时,它将掩盖所有其它角色。角色2(文本)是被放二次;一个放在第二层,一个放在第4层堆栈顶部。角色3(界面容器)是放在第三层。
Displaying a frame of a SWF file is a three-stage process:
显示列表
展示一个SWF文件的一帧分三阶段:
1. Objects are defined with definition tags such as DefineShape, DefineSprite, and so on.
Each object is given a unique ID called a character, and is stored in a repository called the dictionary.
对象被定义,如DefineShape,DefineSprite等定义型标签。每个对象会分配一个唯一ID被称作角色,并且存储在被称作字典的库里。
2. Selected characters are copied from the dictionary and placed on the display list, which is the list of the characters that will be displayed in the next frame.
选择一个角色从字典里复制并且放到显示列表中,角色列表将被显示在下一帧。
3. Once complete, the contents of the display list are rendered to the screen with ShowFrame
一旦完成,显示列表的内容被显示在屏幕用ShowFrame
A depth value is assigned to each character on the display list. The depth determines the stacking order of the character. Characters with lower depth values are displayed underneath
characters with higher depth values. A character with a depth value of 1 is displayed at the bottom of the stack. A character can appear more than once in the display list, but at different
depths. Only one character can be at any given depth.
在显示列表中,层次值被分配给每个角色。层次决定堆放角色的顺序。低层次值的角色会被显示在高层次值角色下面。角色层次值为1被显示在堆栈的是底部。在显示列表中,每个角色在不同的层次能被显示至少一次。仅有一个角色能给定任意层次。
In SWF 1 and 2, the display list was a flat list of the objects that are present on the screen at any given time. In SWF 3 and later versions, the display list is a hierarchical list where an
element on the display can have a list of child elements. For more information, see
在SWF1和SWF2中,显示列表是平级的一系列对象在屏幕上当前对象会给一些时间显示。在SWF3中或更高版本中,显示列表是一个层次列表,其中一个在屏幕上的元素可以有一系列子元素。有关详细信息,请看:
DefineSprite.
The following six tags are used to control the display list:
下面6个标签用于控制显示列表:
■ PlaceObject Adds a character to the display list.
■ PlaceObject2 & PlaceObject3 Adds a character to the display list, or modifies the character at the specified depth.
■ RemoveObject Removes the specified character from the display list.
■ RemoveObject2 Removes the character at the specified depth.
■ ShowFrame Renders the contents of the display list to the display.
■ PlaceObject添加一个角色到显示列表
■ PlaceObject2 & PlaceObject3 添加一个角色到显示列表 或 修改角色在列表中的指定层次。
■ RemoveObject 从列表中删除指定角色
■ RemoveObject2 在指定的层次中删除角色
■ ShowFrame 渲染显示列表的内容到屏幕
注意:
The older tags, PlaceObject and RemoveObject, are rarely used in SWF 3 and later versions.
(PlaceObject 和 RemoveObject是比较老的标签,很少被使用在SWF3或更高版本中)
The following diagram illustrates the display process. First, three objects are defined: a shape,a text object, and a sprite. These objects are given character IDs and stored in the dictionary.
Character 1 (the shape) is then placed at depth 1, the bottom of the stack, and will be obscured by all other characters when the frame is rendered. Character 2 (the text) is placed
twice; once at depth 2, and once at depth 4, the top of the stack. Character 3 (the sprite) is placed at depth 3.
下图说明了显示过程。首先,三个对象被定义:一个形状,一个文本对象,一个界面容器。这些对象是给定一个角色ID并存在字典。角色1(形状)放在层次1,在堆栈的底部,当此帧被显示时,它将掩盖所有其它角色。角色2(文本)是被放二次;一个放在第二层,一个放在第4层堆栈顶部。角色3(界面容器)是放在第三层。
发表评论
-
手机听书客户端发布了!
2012-06-13 19:41 954沉寂了一段时间,研究了新的产品,迅速做了个人生大转型,改做手机 ... -
(swf file format spec v10)swf文件格式中英文说明书v10,字典部分,笔记10
2010-10-20 23:31 1079The dictionary The dictionary i ... -
(swf file format spec v10)swf文件格式中英文说明书v10,各种标签部分,笔记9
2010-10-20 00:44 1098Definition and control tags The ... -
(swf file format spec v10)swf文件格式中英文说明书v10,SWF文件结构,笔记8
2010-10-18 23:47 1015SWF file structure Following th ... -
(swf file format spec v10)swf文件格式中英文说明书v10,文件结构摘要,笔记7
2010-10-17 23:00 2393SWF Structure Summary This chap ... -
MP4 flash播放器,开放换肤功能,支持iphone/ipad/ipod
2010-10-13 19:16 1777最近视频网站竞争比较激烈,相传youku/tudou都已经开始 ... -
(swf file format spec v10)swf文件格式中英文说明书v10,颜色记录,笔记6
2010-10-13 19:14 1023最枯燥的部分终于要结束了,马上就要迎来很关键的部分,不过这之前 ... -
(swf file format spec v10)swf文件格式中英文说明书v10,字符串部分,笔记5
2010-10-13 19:13 1087STRING(翻译略) Field Type Comment ... -
(swf file format spec v10)swf文件格式中英文说明书v10,位值部分,笔记4
2010-10-13 19:07 1093Bit values Bit values are varia ... -
(swf file format spec v10)swf文件格式中英文说明书v10,定点数浮点数,笔记3
2010-10-13 15:53 1489Fixed-point numbers The SWF fil ... -
(swf file format spec v10)swf文件格式中英文说明书v10,基本数据类型部分,笔记2
2010-10-12 10:21 1252What’s new in SWF 10 Flash Play ... -
(swf file format spec v10)swf文件格式中英文说明书v10,简介部分,笔记1
2010-10-12 00:16 1363由于最近研究swf文件格 ... -
用Flash AS3的Clipboard类实现js复制连接功能
2010-10-12 00:11 1068大家都知道JS(clipboardData.setData)实 ... -
新闻列表不同连接色控制方法(AS3)
2010-10-12 00:08 707今天测试TextField通过读取xml文件完成新闻列表,并且 ...
相关推荐
swf文件格式说明
swf文件格式说明文档,用于反编译swf文件
swf_file_format_spec_v9.pdf swf_file_format_spec_v9.pdf swf_file_format_spec_v9.pdf swf_file_format_spec_v9.pdf
AVI ASF MP4 3GP MKV RM FLV SWF file format spec
swf_file_format_spec_v9.pdf
adobe swf-file-format-spec
The SWF [pronounced 鈥渟wiff 鈥? file format delivers vector graphics... The SWF file format is designed to be an efficient delivery format, not a format for exchanging graphics between graphics editors.
swf文件格式的说明,要对*.swf文件进行了解就必须要有swf文件格式的说明
swf file specification
swf 格式 说明书 swf file format spec_v10 Flash Player 10.1 (New API's),是生成swf不可缺少的手册
swf文件最新v10版本文件格式介绍. Flash Player 10 introduces the following features and capabilities: Expands the SWF format’s text capability with the capability to render bidirectional text (right-to...
SWF FILE FORMAT SPECIFICATIONversion 19
swf文件格式说明书(中文+英文)
swf文件格式的说明,要对*.swf文件进行了解就必须要有swf文件格式的说明
swf/flv文件的格式说明书,研究好了可以自己生成swf/flv文件了
swf文件格式。研究Flash文档的数据结构的必备详细。Copyright © 2006-2012 Adobe Systems Incorporated. All rights reserved.
有效的去除flash swf文件加密,使flash文件中的各种资源 可以提取编辑 有效的去除flash swf文件加密,使flash文件中的各种资源 可以提取编辑
swf 文件格式 说明 版本 19 共248页 ,该文档描述swf文件的二进制数据构成.
Macromedia Flash文件格式(SWF)详细说明书中文版