3 Replies Latest reply: Sep 22, 2011 4:19 PM by kglad RSS

    ArgumentError: Error #2109: Frame label <BUTTON INSTANCE NAME> not found in scene <SCENE NAME>.

    adobe1kenobe066 Community Member

      I'm getting this error in the OUTPUT window, when I PREVIEW (COMMAND + RETURN) my SWF:

       

       

       

      ArgumentError: Error #2109: Frame label nGallery_btn not found in scene Scene 1.

      at flash.display::MovieClip/gotoAndStop()

      at BrookBrovazMusic004_fla::MainTimeline/pageSelect()

       

       

       

      • The funny thing is that the SWF works the way I want it to. You can view it here:  http://brookbrovaz.com

       

       

      • I just don't like the idea that something's wrong, according to the OUTPUT window anyway.

       

       

       

      Here is the code found in Frame 1, Scene 1 (My flash file only has one scene, called 'Scene 1').

       

       

       

      START AS3 CODE:

       

       

       

      //page transitions

       

       

      import fl.transitions.*;

      import fl.transitions.easing.*;

       

      TransitionManager.start(nPageHome,{type:Fly,direction:Transition.IN,duration:2,easing:Stro ng.easeOut})

       

       

      TransitionManager.start(nPageHome,{type:Blinds,direction:Transition.IN,duration:2,easing:S trong.easeOut});

       

       

      stop();

       

       

      nHome_btn.addEventListener (MouseEvent.CLICK,pageSelect);

       

      nMusic_btn.addEventListener (MouseEvent.CLICK,pageSelect);

       

      nGallery_btn.addEventListener (MouseEvent.CLICK,pageSelect);

       

      nContact_btn.addEventListener (MouseEvent.CLICK,pageSelect);

       

       

       

       

       

       

      function pageSelect(evtObj:MouseEvent) {

       

      gotoAndStop(evtObj.target.name);

      }

       

       

       

       

       

       

       

       

       

      //original navigation

       

       

      nHome_btn.addEventListener (MouseEvent.CLICK,play1);

       

      function play1(event:MouseEvent):void{

       

      gotoAndStop("f01");

      }

       

       

       

       

       

      nMusic_btn.addEventListener (MouseEvent.CLICK,play2);

       

      function play2(event:MouseEvent):void{

       

      gotoAndStop("f02");

      }

       

       

       

       

      nGallery_btn.addEventListener (MouseEvent.CLICK,play3);

       

      function play3(event:MouseEvent):void{

       

      gotoAndStop("f03");

      }

       

       

       

       

       

      nContact_btn.addEventListener (MouseEvent.CLICK,play4);

       

      function play4(event:MouseEvent):void{

       

      gotoAndStop("f04");

      }

       

       

       

      END AS3 CODE.

       

       

       

      • I just want to figure out how to NOT get the error anymore. Cause again, everything seems to be working right.

       

       

      Again, any and all help is very much appreciated.