Chris Cai's Tech Blog

博客园 首页 新随笔 联系 订阅 管理

2010年1月30日 #

摘要: Flex 3:Feature Introductions: Runtime Localization From Adobe Labs (http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions:_Runtime_Localization) Runtime Localization Gordon Smith September... 阅读全文
posted @ 2010-01-30 21:22 Chris Cai 阅读(1151) 评论(0) 推荐(0) 编辑

摘要: public static function main(UIMainWindow mainWnd): voidError:Description Resource Path Location Type1084: Syntax error: expecting rightparen before mainWnd. DesignerApp.as designer/src/com/presenter3d... 阅读全文
posted @ 2010-01-30 12:57 Chris Cai 阅读(468) 评论(0) 推荐(0) 编辑

摘要: Remember to build the dependent lib project first, so that the .swc file can be created for reference. 阅读全文
posted @ 2010-01-30 11:52 Chris Cai 阅读(148) 评论(0) 推荐(0) 编辑

2010年1月24日 #

摘要: 当Adobe、Microsoft、Sun等一系列巨头开始表现出对”开源”的青睐时,”开源”的时代即将到来! 最初来自:sinoprise.com/read.php?tid-662-page-e-fpage-1.html(遗憾的是这个链接已经打不开了),我基本未改动,只是进行了一些排版和整理。参考文献:http://www.fsf.org/licens... 阅读全文
posted @ 2010-01-24 18:38 Chris Cai 阅读(178) 评论(0) 推荐(0) 编辑

2010年1月17日 #

摘要: One problem I've always had with Flex Builder is that I can't reuse projects which link to source folders outside of the main source folder. These external source folders are usually defined with an a... 阅读全文
posted @ 2010-01-17 16:13 Chris Cai 阅读(306) 评论(0) 推荐(0) 编辑

2009年12月12日 #

摘要: Compilation Firewalls (http://www.gotw.ca/gotw/024.htm)Difficulty: 6 / 10Using the Pimpl Idiom can dramatically reduce code interdependencies and build times. But what should go into a pimpl_ object, ... 阅读全文
posted @ 2009-12-12 14:52 Chris Cai 阅读(247) 评论(0) 推荐(0) 编辑

2009年12月10日 #

摘要: http://softsurfer.com/Archive/algorithm_0103/algorithm_0103.htmThe Winding Number On the other hand, the winding number accurately determines if a point is inside a nonsimple closed polygon. It does ... 阅读全文
posted @ 2009-12-10 11:07 Chris Cai 阅读(907) 评论(0) 推荐(0) 编辑

2009年11月14日 #

摘要: http://freespace.virgin.net/hugo.elias/routines/rotate.htm 阅读全文
posted @ 2009-11-14 12:41 Chris Cai 阅读(280) 评论(0) 推荐(0) 编辑

摘要: A Dot product is a very useful tool in both mechanics and 3D graphics. It calculates the cosine of the angle between two vectors. It is used in the lighting calculations and backface removal in 3D gr... 阅读全文
posted @ 2009-11-14 12:11 Chris Cai 阅读(456) 评论(0) 推荐(0) 编辑

摘要: The world is an unpredictable place. Even more so than Mr Gump's box of choclates. It would be terribly boring of there was only 1 shape of tree in the world, and every one looked the same. Likewise, ... 阅读全文
posted @ 2009-11-14 12:06 Chris Cai 阅读(323) 评论(0) 推荐(0) 编辑