ddc
联网
平面设计 画册 VI欣赏 包装 CG-插画 搜索 个人网页 Alexa排名 CSS 建站资源 下载专区 JS特效 品牌服装 服装院校 专题欣赏 SEO 图标欣赏 专题
上海网站建设 网站建设 域名注册 虚拟主机 广州网站设计 域名注册 广州网站建设 上海网站建设 虚拟主机 广州网页设计 虚拟主机 域名注册 acg ACG玩家 品牌设计
求创科技
网站建设
中国互联
投稿
素材出售
中国设计秀
中资源
当前位置:网络学院首页 >> 设计教程 >> Flash >> ActionScript 3.0 VS 2.0 官方详细差别

ActionScript 3.0 VS 2.0 官方详细差别

来源:中国设计秀    作者:    点击:40     加入收藏    发表评论
0
顶一下
有一些方法被彻底废除,包括一些8刚加入的函数,如 “loadBitmap”
call() chr() #endinitclip #include #initclip eval() set/getProperty() removeMovieClip() ....

官方地址 HTML本地下载

看了一下MC的新定义,挺庄重的,有点MSDN的味道,我顺便翻译了一下
The MovieClip class inherits from the following classes: Sprite, DisplayObjectContainer, InteractiveObject, DisplayObject, and EventDispatcher. Unlike the Sprite object, a MovieClip object has a Timeline.

The MovieClip class is the base class for Flex components. However, while Macromedia supports some of the MovieClip interface for use in Flex applications, much of the interface has been overridden by Flex. For more information on using the MovieClip class with Flex, see Developing Flex Applications. The methods for the MovieClip class provide the same functionality as actions that target movie clips. There are also additional methods that do not have equivalent actions in the Actions toolbox in the Actions panel.

You can extend the methods of the MovieClip class by creating a subclass.

MC类由以下类继承而得:Sprite, DisplayObjectContainer, InteractiveObject, DisplayObject, EventDispatcher。和Sprite不同,一个MC对象拥有一个时间轴。

MC类是Flex组件的基础,关于Flex中使用MC的问题,可以参见“开发Flex应用程序”

你可以通过建立子类扩展MC类的方法,不必再劳驾ProtoType了(虽然我还是喜欢用ProtoType偷懒)

那么什么是Sprite呢:
The Sprite class is a basic display list building block: a display list node that can display graphics and can also contain children.
A Sprite object is similar to a movie clip, but does not have a Timeline. Sprite is an appropriate base class for objects that do not require Timelines. For example, Sprite would be a logical base class for user interface (UI) components that typically do not use the Timeline.

The Sprite class is new in ActionScript 3.0. It provides an alternative to the functionality of the MovieClip class, which has retained all the functionality of previous ActionScript releases in order to provide backward compatibility.

Sprite类是用于显示内容的基础,它是AS3.0新带来的(可免时间轴)。它为MC的功能提供一个折衷的选择,为适应向下兼容性保留了之前产品的一些功能。
2006-07-06 16:22:00    出处:Awblog
Google
热点文章/相关文章

音乐
嫁衣 画心 放生 天亮了 牡丹江 那滋味 擦肩而过 怀念过去 北京欢迎你 突然好想你 吻的太逼真 说好的幸福呢 坐上火车去拉萨 没有人比我更爱你
愚爱 心碎 稻香 带我走 醉赤壁 魔杰座 我还想她 明天过后 一定要爱你 等爱的玫瑰 原谅我一次 越单纯越幸福 最后一次的温柔 给我一首歌的时间
白狐 光荣 降临 下雨天 小酒窝 樱花草 恋爱新手 说唱脸谱 红色高跟鞋 寂寞才说爱 深深爱过你 爱上你是个错 即使知道要见面 不是因为寂寞才想你
城府 假如 花海 兰亭序 棉花糖 舍不得 最后一次 女人如烟 外滩十八号 我们的纪念 我们的无奈 心在跳情在烧 爱上你是我的错 爱情里没有谁对谁错
网站地图 | 关于我们 | 联系我们 | 网站建设 | 广告服务 | 版权声明 | 免责声明 | 网站公告 | 友情链接 | 留言 | 旧版入口