Solved

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

Posted on 2006-07-15
2
3,171 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now