1 Reply Latest reply on Jul 25, 2006 10:12 PM by kglad

    help with flipping movieclip

    shaishaishai
      in my code i made the option to change the direction of your character by pressing ctrl. this works fine, up until you press any other key, then it stops working. the wy it works is i made two frames on the character movie clip, one of him facing left, one of him facing right. all it does when i press ctrl is play(). but somehow this doesn't work...

      if anyone could help it would be much appreciated

      ***
      on a side note, does anyone know how to keep the same _x position when using _xscale to flip? that is when the movieclip moves. what happens to me is it flips the movieclip and gives it the opposite _x position from the center