Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

noelister

macrumors 6502
Original poster
Jan 15, 2005
275
0
Hey all,
I was wondering if anyone knows how to "flip" a graphic/movie clip via actionscript?

What I am looking for is the same effect if one would select the graphic or movie clip symbol that is on the stage then click "modify" => "transform" => "flip vertical or horizontal"

I am not even sure if that can be done on the fly with actionscript...:confused:

Thanks,
n
 
I'm no expert, but I've never seen it done.

You could have a copy of the image symbol already flipped and then load it dynamically to replace the current one. Or you could do a shape tween and have it run when the user clicks the button.
 
yourMovieClip._xscale *= -1

Had to do that once before and I think this is what worked.
 
thanks

robx2 That's what I was needing. Thanks for the quick replys guys.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.