dispObj.addEventListener(MouseEvent.CLICK, onClick); private function onClick(e:MouseEvent):void { addChild(e.target as DisplayObject); }