PDA

View Full Version : horizontal flip of movieclip


fitz
06-02-2008, 06:34 PM
Usually in most environments, a scale of -1 equals a horizontal flip. Not the case in AS3, as it doesn't seem to do anything. Anyone know off hand how to flip a MC horizontally? Thanks!

embersyc
06-02-2008, 07:37 PM
myMovieClip.scaleX *= -1;

fitz
06-02-2008, 08:15 PM
myMovieClip.scaleX *= -1;

Nope, doesn't do the trick for me. Not sure why if you've confirmed that works.

embersyc
06-02-2008, 08:24 PM
It definitely works for me, so I'm not sure why it wouldn't for you.