HELP!! - Flex 2, AS 3, Flip an Image

Hello All,

I have figured out how to do almost anything with an image (brightness, contrast, hur, saturation, lightness, rotate, zoom, pan, crop etc). But for the life of me I cannot figure out how to flip and image horizontally and vertically.

Does anyone know how to do this???

Thanks,

Matt
LVL 5
maclemaAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
EE_AutoDeleterConnect With a Mentor Commented:
maclema,
Because you have presented a solution to your own problem which may be helpful to future searches, this question is now PAQed and your points have been refunded.

EE_AutoDeleter
0
 
maclemaAuthor Commented:
Ok, this was actually simple.

var mat:Matrix = new Matrix();
mat.scale(-1, -1);
mat.translate(image.width, image.height);


Please, delete question..
0
All Courses

From novice to tech pro — start learning today.