Wednesday, February 6th 2008

Flipping images in Flash for mirror reflection effects
posted @ 5:22 am in [ Action Script -Flash -Web Design ]

How do you flip an image to make a mirror image in Action Script?

Actually very simply if you think about it.

mymovie._yscale = -100;
mymovie._y += mymovie._height;

So you scale the image by -100% (upside down) and then move it down by it’s own height to fix the fact you’ve just scaled it upside down , garnish with a nice alpha gradient et voila!