[转]如何减小SWF文件的大小
?
public function checkChildType():void { var child:DisplayObject = vg1.getChildAt(0); var childClassName:String = getQualifiedClassName(child); var childIsButton:Boolean = childClassName == "spark.components::Button" s = "child class name = Button (" + childIsButton + ")"; t = "child is " + childClassName;}其它关于减小SWF文件大小的方法,还有很多例如动态加载外部资源(图片,国际化资源),模块化等等,在此就不一一赘述了。相关链接如下:http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf67...http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69...http://www.bit-101.com/blog/?p=941?