Reverse // Mirror Object

Hi, Does anyone know how to mirror a movieclip using actionscript? like mirror to rorrim, I tried using the rotation method but it seems to do it but leave the movieclip upside down

Thanks-

use scale :wink:

_xscale = -100; will mirror it horizontally and
_yscale = -100; will mirror it vertically

… however, if you’ve sized it before that, then its _xscale or _yscale my not be 100 (100% or normal size) at which case instead of making it -100 which is negative 100% you just make it negative of what it already is

_xscale = -_xscale;
or
_yscale = -_yscale;

You can also write it as

_xscale *= -1;
and
_yscale *= -1;

thanks alot man