0 Replies Latest reply on Jun 16, 2007 7:11 AM by Vertine

    keeping the mask in the center

    Vertine
      [using AS3]- i have a sprite. Added inside are many text boxes in a horizontal row. The sprite is masked so it appears to be a nice rectangle in the middle of the stage. I am creating a sliding effect upon clicking corresponding buttons. The problem is the bitmap that is masking this sprite. Upon creating the mask, it's centered on the stage just fine...but now and then (not always) after sliding the mask resets to the default top left corner. click another button to slide the sprite again, and maybe it will recenter, maybe not....any thoughts on what's going on there....we can get into code if need be, but for now, i thought i would go for principle.