import mx.utils.Delegate; class Baloon { private static var clip : MovieClip =_root.baloon; public static function initialise () { trace ("ini"); clip._visible=false; clip.stop(); } public static function show (frame) { clip.gotoAndStop(frame); //clip._visible = true; clip.swapDepths(clip._parent.getNextHighestDepth()); clip.popIn(false,"Pop"); } public static function hide (frame) { clip.popOut(false,"Pop"); } }