as3.0 使用【Embed】标签插入外部资源
摘要:
嵌入GIF,PNG,JPEG,MP3文件package{ import flash.display.*; public class GIFEmbed extends Sprite { [Embed(source = "../assets/talapetra.gif")] private var theClass:Class; public function GIFEmbed () { var displayObj:DisplayObject = new theClass(); addChi... 阅读全文
posted @ 2012-03-05 22:09 haida 阅读(3565) 评论(0) 推荐(0) 编辑