7 Replies Latest reply on Aug 26, 2010 1:56 PM by kglad

    My buttons do not nawigate throught scenes...

    artm77

      Hello.

       

      I got big problem with my rollover buttons. I had button inside movie clip.

      Button has code:

       

      on (rollOver) {
          na = 1;
      }
      on (releaseOutside, rollOut) {
          na = 0;
      }
      on (press) {
          na = 2;
      }

       

      And movie clip (with button inside) code is:

       

      onClipEvent (load)
      {
          na=0;
      }

       

      onClipEvent (enterFrame)
      {
          switch(na)
          {
              case 0:                                     prevFrame();
                  break;
              case 1:
                  nextFrame();
                  break;
              case 2:
                  //tu wstaw akcje po kliknieciu
                  gotoAndStop("scena 3", 1);
                  na=0;
                  break;
          }
      }

       

      Unfortunatly buton do not take me from scene 2 to scene 3... anybody can help me out?

       

      You can see fla file http://www.artmedio.pl/Index.fla

       

      Best regards and sorry for my english!

      Sebastian