import flash.display.*; var bmd:BitmapData = new PicFromLib(); var bm:Bitmap = new Bitmap(bmd); addChild(bm);