2009-09-03
AS3 库资源 很多非常有用的类库[转]
栏目:actionscript3.0 , web前端share
736 views
下文内容转自http://www.eoocy.com/article.asp?id=3
下面是非常有用的类库,找到他们的时候我兴奋的不得了
APIs、Libs、Components
1、as3ebaylib
阅读全文——共7340字
2009-09-03
栏目:actionscript3.0 , web前端share
736 views
下文内容转自http://www.eoocy.com/article.asp?id=3
下面是非常有用的类库,找到他们的时候我兴奋的不得了
APIs、Libs、Components
1、as3ebaylib
阅读全文——共7340字
栏目:小憩随笔
329 views
转自:http://blog.comtaste.com/2008/11/how_to_know_who_called_my_acti.html
A good debug tip when you program in actionscript is to know who and when has called your method. This can be done by generating an error using the “throw new Error()” command inside the traced method. Through a custom error exception we can trace the stack and see the iter of the entire process.
阅读全文——共900字
2009-05-03
栏目:小憩随笔
407 views
转自:http://www.richnetapps.com/as3-performance-optimization/
AS3 Performance Optimization
orking on a CPU-intensive app in flash is a challenging experience. It can be wonderful or frustrating, depending on your mindset.
Based on my experience with the flash chess and other intensive applications, I’ll give some tips and ideas on how to get the most out of your flash project.
阅读全文——共6838字
2009-03-02
栏目:actionscript3.0 , web前端share
238 views
public:指定类、变量、常量或方法可用于任何调用者
private:指定变量、常量或方法仅可供声明或定义它的类使用
protected:指定变量、常量、方法或命名空间只可用于定义它的类及该类的任何子类
internal:指定类、变量、常量或函数可用于同一包中的任何调用者
阅读全文——共1175字
2009-02-12
栏目:actionscript3.0 , web前端share
231 views
1、如果我需要属性公开,并且可以被自己的子类继承,那么定义成public的。子类也可重写(override)之。
2、如果我需要属性隐藏,但是可以被自己的子类继承,那么定义成protected的。与public类似,子类也可重写(override)之。
3、如果我的某一个类有一个属性不想在任何位置可见,包括其子类,那么定义为private的。其子类无需重写(override),因为它根本就不存在于子类中。
4.非静态方法也可以访问静态属性,但静态方法不能访问非静态属性……