我如何才能嵌入.swc文件并从其中读取XML文件?
Try this: http://dispatchevent.org/roger/embed-almost-anything-in-your-swf/
It is not a very clear post, but give it some patience..
I haven't tried it personally, but people got it worked (source: comments on the same page)
您可以使用mx:XML或mx:Model标记来执行此操作。
this could help your: [Embed(source="path/to/your/xml/file",mimeType="application/octet-stream")] public var _xml:Class; var needXml:XML = XML(new _xml);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.