PDA

View Full Version : flipping an object vertically


Liquid
03-27-2001, 10:29 AM
Hey all,
Can someone tell me how to flip an object horizontally or vertically instead of having it rotate clockwise or CCW... thanks

Jesse
03-27-2001, 10:40 AM
A neat trick posted a by a user is:

_root.object._xscale = -1;

Cheers

Jesse

Liquid
03-27-2001, 10:48 AM
Jesse,

Do you have a link for the original post for that expression... I'm not sure if I'm placing it in the wrong parameter because it isn't working.. I'm doing something wrong, but just don't know what it is heh..

Jesse
03-27-2001, 11:46 AM
That could be because I wront the wrong code ;) (left out the * )

try:

_root.object._xscale *= -1;

Cheers

Jesse