View Full Version : Turn around a character
AI_2000
March 17th, 2007, 08:28 PM
I want my character to turn around when you push the oppisite button he's facing. Can you reverse the image with the _width property, or do you have to use a whole 'nother image?
Joppe
March 17th, 2007, 08:34 PM
Using the _xscale property you can reverse the image.
the default value is 100 so if you put movieclip._xscale=-100 it will be reversed :)
Same goes for _yscale property :)
AI_2000
March 17th, 2007, 09:05 PM
Thanks! It works perfectly and it's so simple.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.