Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2006-07-15
2
Medium Priority
?
3,181 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
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 the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
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.

636 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