下午一直为class无法编译通过纳闷,提示错误“[Compiler] Error #1046: Type was not found or was not a compile-time constant”,刚才把class和fla文件拷贝到E盘根目录,再测试一切OK,原来只要是class文件的绝对路径中包含中文Flash 9 AS3.0 Preview就无法找到…
The Flex 2 component set is very different than what is planned for the Flash authoring tool. The Flex 2 components are very heavily dependant on the Flex framework, which is not supported by the Flash authoring tool. Though you may be able to get them to compile (I’m not sure) you will find that they are not very useful without leveraging the rest of the Flex framework (layout management, for example).
The Flex components also favor rich functionality over small file size. Customers of the Flash authoring tool have told us overwhelmingly that they favor lightweight and easy to skin over rich functionality. We aim to find an appropriate balance between functionality, file size, and designer-based visual skinning.
还是很期待Mike所说的相对轻量的Flash9组件,今后Flash是Deseloper的最好的工具,而Flex则是给那些需要快速开发RIA并且对设计不感冒的程序员用的,两种工具的用户群区别会越来越明显。本来我想写一套相对轻量的AS3 UI组件,看了Mike这段话,我决定把组件进一步简单化,写套超轻量的UI组件,只要满足最基本的要求就可以,这样等Flash9出来后我就有两套组件可以选择使用了。Flash 9 AS 3.0 Preview版本在新建Symbol时还没有Sprite类型,我先用MovieClip作为skin好了,等正式版出了再改。