[Embed (source = "my_image.png")] private static var myImage:Class; private var _myImageBitmap:Bitmap = new myImage();