flexSDK 添加 swc资源

  将flash导出swc文件。 资源要有as链接  

flex添加swc里的资源基本代码        

  var u:UIComponent=new UIComponent();//flex UI

this.addElement(u);

var h:haha=new haha();//资源实例化

u.addChild(h);

原文地址:https://www.cnblogs.com/mattins/p/2465910.html