5D艺术网首页
商城
|
资讯
|
作品
|
博客
|
教程
|
论坛
登录
注册
加为好友
发短消息
来自:
性别:秘密
最后登录:2009-09-05
http://walktree.5d.cn/
首页
|
新闻
|
话题
|
博客
|
相册
|
艺术作品
|
社交关系
|
留言板
|
社交圈
2006/02/28 | as 3 中的一些变化
类别(:: Flash ::)
|
评论
(0)
|
阅读(57)
|
发表于 15:23
今天用as 3 中的socket重写 irc,需要一个交互层级的动作,结果弄了很久。
depth的管理现在由 DisplayObjectContainer 控制,一时很不习惯
试了下,总算解决了
以下是一些as2常用的函数,已经被del掉了
__proto__ Property Removed.
In AS3, direct manipulation of the prototype chain is not allowed. To create a subclass, use the extends statement in your subclass declaration. For information about an object's inheritance tree and data type, use the new reflection API flash.util.describeType().
getURL() Method Removed.
_url removed
See URLLoader class.
swapDepths() Method Removed.
In AS3, you can use the methods of the DisplayObjectContainer class, such as addChildAt to achieve similar functionality
toString() Method Removed.
startDrag()
stopDrag()
flash.display.Sprite This function is no longer global, but is still available as a method of the Sprite class.
#endinitclip Removed.
#include Removed
#initclip Removed.
See the include statement for similar functionality.
0
评论
Comments
日志分类
首页
[226]
:: Flash ::
[87]
:: php ::
[8]
::眼睛和耳朵::
[36]
::键盘时代::
[73]
::水痕专栏::
[22]