5 Replies Latest reply on Jun 2, 2009 9:02 AM by kglad

    Why button duplicates itself and stays on stage?????

    MartinItsMartin

      Hi all,

       

      I have a little quirk that I cannot think of why or how to solve. swf1 - I have buttons on stage and in the first frame actions;

       

       

      med.med_btn.onRollOver = function() {
         TweenLite.to(med.med_btn, 1, {_x:10, ease:Elastic.easeOut});
         TweenLite.to(content_mc.contMed, 1, {_alpha:100});
      }
      med.med_btn.onRollOut = function() {
         TweenLite.to(med.med_btn, 1, {_x:0, ease:Elastic.easeOut});
         TweenLite.to(content_mc.contMed, 1, {_alpha:0});
      }
      med.med_btn.onRelease = function() {
         //loadMovie("webPoet.swf", "blank");
      }

       

       

      All works fine. This is loaded inside another swf(swf2). Then the parent swf(swf2) calls for the play to go to the next frame of this movie(swf1), where each button(inside its own MC) has onClipEvent(onEnterFrame) action to drop them off the screen.
      Everything works perfectly except the last button you have rolled over, creates a double and stays there!!! It happens on only the last one you have touched with the mouse. If you dont touch any they all drop off as required.

       

      Any help would be really gratefully received. I'm lost.I've attached the fla.. not the parent one. Also i created a dirty big next frame button so you can see what happens...

       

       

       

      Cheers,
      Martin