11 Replies Latest reply on Oct 24, 2006 7:55 PM by kglad

    Object staying on a frame that it isn't even on.

    Mikeb88_69
      I have 3 buttons, and when they are pressed down, I have them switch their order using this code

      _root.x+=2;
      this.swapDepths(_root.x);


      The flash file is 3 frames, and the 3 buttons are on the first frame. My problem is that, the last activated button (the one with the highest depth value) stays on every frame when I switch back and forth, meanwhile I only have these 3 buttons on the first frame. Why is it staying on screen when it should disappear when I change frames?