You are currently browsing the category archive for the 'Programming' category.
Flash Loading 的感慨
http://www.wowbox.com.tw/blog/article.asp?id=3209
做Flash用三格..
1. preloader
2.resources //將library 中recourses 輸出到第二格
3.init
FLASH程式優化
Currently developing an application using flex air. One tricky point is what I need flex to interact with flash animation which loads by a SWFLoader .
Found that the hierarchy, from SWFloader to the timeline of flash is as follow :

the functions I need to call are on the timeline level. Therefore we call the functions through the path:
((swfLoader.content as MovieClip).getChildAt(0) as Loader).content
say we call a function “foo” inside timeline of the flash animation
(((swfLoader.content as MovieClip).getChildAt(0) as Loader).content).foo();
Don’t forget adding an event listener Event.ADDED before calling. Otherwise, you may get call to null reference error.
Made a handy class for my goal
終於搵到點搵返3D object係2D projection的位罝
myDisplayObject3D.calculateScreenCoords(camera)
以前試過做3D GUI, 無奈經bitmap render的MovieAsset material品質太差, 用作Game texture還可以, 但是用於有文字的GUI上則使文字難以閱讀
得到Projection的coordinates的話就可以輕易將controls 放係上面掩人耳目
來源:
Adobe announced releasing free license for the unemployed.
Though Adobe has been providing free student licenses,
this one still seems temptative
more info:
Adobe offers free Flex 3 license to unemployed developers
To apply
To load a 3Ds Object into Processing, there are 2 elements needed.
1. OBJLoader for Processing, which is a Processing library .
2. a convertor such as quick3D.
Firstly, I converted a 3DS object to obj with quick3D professional.
Then import the obj just created into Processing through library OBJloader.
The result was as upper image.
Links
http://www1.bbiq.jp/kougaku/ARToolKit.html



最新留言