5 Replies Latest reply on Apr 16, 2006 1:08 AM by WrongAgain

    Problem when change sprite's dimension?

    WrongAgain Level 1
      I want to Adjust some sprite's dimension by change their LEFT, RIGHT, TOP, BOTTOM attributes. For example, I want to use this code to make a box shape longer:
      sprite(1).left = sprite(1).left - 5
      sprite(1).right = sprite(1).right + 5
      In my mind, the left edge of box(sprite(1)) should move to left for 5 unit, and right edge move to right 5 unit. But in fact, only the right move. The left doesn't move!
      See my example:
      If all the LEFT RIGHT TOP BOTTOM are set in code like above, I found only the last line of code works! Why?