如果要在"主控台應用程式"中加入其它支程式類別
可需加入其它類別的 namespace
ex:using myOtherClass;
在main Entry point 中。
2009年8月25日 星期二
2009年8月18日 星期二
2009年6月18日 星期四
flash.net.SharedObject
在http://learn.adobe.com/wiki/display/Flex/Shared+Objects
發現Action 中一個可以記住物件的方法叫SharedObject
說明:
1、hey do not expire by default. (預設沒有期限)
2、By default, they are limited to a size of 100 KB each. (預設大小100kb)
3、They can store simple data types (such as String, Array, and Date). (!可以存字串、陣列、時間)
4、They are stored in a location specified by the application (within the user's home directory). (存在使用者ap下的目錄)
5、They are never transmitted between the client and server. (不會在主從間傳輸)
6、Use getLocal() to create a shared object. (SharedObject.getLocal("myTasks"); ) (用getLocal()建立)
7、Use flush() to write the shared object to the client file. (sharedObj.flush())(用flush()去顯示 )
8、Use clear() to destroy a shared object (sharedObj.clear()) (用clear()清除)
Cool~stuff
發現Action 中一個可以記住物件的方法叫SharedObject
說明:
1、hey do not expire by default. (預設沒有期限)
2、By default, they are limited to a size of 100 KB each. (預設大小100kb)
3、They can store simple data types (such as String, Array, and Date). (!可以存字串、陣列、時間)
4、They are stored in a location specified by the application (within the user's home directory). (存在使用者ap下的目錄)
5、They are never transmitted between the client and server. (不會在主從間傳輸)
6、Use getLocal() to create a shared object. (SharedObject.getLocal("myTasks"); ) (用getLocal()建立)
7、Use flush() to write the shared object to the client file. (sharedObj.flush())(用flush()去顯示 )
8、Use clear() to destroy a shared object (sharedObj.clear()) (用clear()清除)
Cool~stuff
2009年6月17日 星期三
2009年5月21日 星期四
2009年5月6日 星期三
PV3D Fundation
每一pv3d app 基本需要下面四個class
Viewport3D
自此看出去的視窗(比喻)
Scene3D
從viewport中看到的場景
Camera3D(可選:Camera3D、FreeCamera3D、FrustumCamera3D)
遊走在scene的視野
BasicRenderEngine(可選)
對Viewport、Scene、Camera進行繪製
文章出處:
http://www.insideria.com/2008/02/papervision3d-part-1-foundatio.html
座標轉換文章:
http://en.wikipedia.org/wiki/Quarterion
http://www.adobe.com/devnet/flash/articles/3d_classes_03.html
http://www.isner.com/tutorials/quatSpells/quaternion_spells_14.htm
Viewport3D
自此看出去的視窗(比喻)
Scene3D
從viewport中看到的場景
Camera3D(可選:Camera3D、FreeCamera3D、FrustumCamera3D)
遊走在scene的視野
BasicRenderEngine(可選)
對Viewport、Scene、Camera進行繪製
文章出處:
http://www.insideria.com/2008/02/papervision3d-part-1-foundatio.html
座標轉換文章:
http://en.wikipedia.org/wiki/Quarterion
http://www.adobe.com/devnet/flash/articles/3d_classes_03.html
http://www.isner.com/tutorials/quatSpells/quaternion_spells_14.htm
2009年5月3日 星期日
訂閱:
文章 (Atom)