http://livedocs.adobe.com/flex/3/html/help.html?content=embed_4.html
[Embed(source="logo.gif")] [Bindable] public var imgCls:Class;
如果embed是图片,那么相当于定义了一个BitmapAsset的类imgCls只想这涨图片,BitmapAsset是Bitmap的子类
通过new imgCls()可以得到这个图片对应的Bitmap对象。
[Embed(source="sample.mp3")] [Bindable] public var sndCls:Class;sndCls为Sound类[Embed(source="icon.swf")] [Bindable] public var imgCls:Class;mx.core.MovieClipLoaderAsset class, which is a subclass of the flash.display.MovieClip