Solved

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

Posted on 2006-07-15
2
3,178 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
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…
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): …
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

724 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