protected function button1_clickHandler(event:MouseEvent):void { var bitmap:Bitmap = Bitmap(first.content); second.source = new Bitmap(bitmap.bitmapData); }