2 Replies Latest reply on Oct 10, 2009 8:11 AM by mentlity

    Multiple button actions not working in frame

    mentlity Level 1

      In the first frame of an fla I have the code below , only the functions in red works. When rolling over the second only the first function in blue works but the mouse freezes when attempting to rollout (green)

       

      But if I remove the code from the first frame and code each seperate button the functions work.

       

      Any reason for this

       

      stop();

       

      btn_shopping.onRollOver = function ()


           gotoAndStop(2)
          _root.main_mc.gotoAndStop(1065);
      }
                                
      btn_shopping.onRollOut = function ()

      {
           gotoAndStop(1)
          _root.main_mc.gotoAndPlay(162);
         
          }

       

      btn_pen.onRollOver = function ()

      {   

            gotoAndStop(3)
          _root.main_mc.gotoAndStop(1066);
      }

                                
      btn_pen.onRollOut = function ()

      {

           gotoAndStop(1)
          _root.main_mc.gotoAndPlay(283);
         
          }