Solved

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

Posted on 2006-07-15
2
3,173 Views
Last Modified: 2008-01-09
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
0
Comment
Question by:maclema
2 Comments
 
LVL 5

Author Comment

by:maclema
ID: 17118624
Ok, this was actually simple.

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


Please, delete question..
0
 

Accepted Solution

by:
EE_AutoDeleter earned 0 total points
ID: 17260411
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

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question