stop(); function playMovie(event:MouseEvent):void {play();} play_btn.addEventListener(MouseEvent.CLICK,playMovie); function stopMovie(event:MouseEvent):void {stop();} stop_btn.addEventListener(MouseEvent.CLICK,stopMovie); bouncing_mc.stop(); function playmcMovie(event:MouseEvent):void {bouncing_mc.play();} playmc_btn.addEventListener(MouseEvent.CLICK,playmcMovie); function stopmcMovie(event:MouseEvent):void {bouncing_mc.stop();} stopmc_btn.addEventListener(MouseEvent.CLICK,stopmcMovie); ---------------------------- stop(); function forward(event:MouseEvent):void { if (currentFrame==totalFrames) gotoAndStop(1); else nextFrame();} forward_btn.addEventListener(MouseEvent.CLICK,forward); function back(event:MouseEvent):void { if (currentFrame==1) gotoAndStop(totalFrames); else prevFrame();} back_btn.addEventListener(MouseEvent.CLICK,back); -------------------------------------------- stop(); function gotohistory(event:MouseEvent):void {gotoAndStop("history");} function gotohome(event:MouseEvent):void {gotoAndStop("home");} function gotolinks(event:MouseEvent):void {gotoAndStop("links");} history_btn.addEventListener(MouseEvent.CLICK,gotohistory); home_btn.addEventListener(MouseEvent.CLICK,gotohome); links_btn.addEventListener(MouseEvent.CLICK,gotolinks);