Jump to content
Search Community

Mirror Image X,Y problem

bhoffmann test
Moderator Tag

Recommended Posts

Is there a way for me to mirror an image ( scaleX * -1) while still maintaining the same x,y coordinates?

 

If the item is at 0,0 and is 150px wide and I multiply scaleX * -1, the items x value is then 150,0. I want to mirror the image, but keep it in place, and not have the xy coordinates change.

 

Maybe I'm thinking about this the wrong way, but any suggestions would be helpful.

Link to comment
Share on other sites

Are you talking about a problem with Flash in general or TransformManager specifically? I'm not seeing the behavior you mentioned. Keep in mind, though, that in Flash, setting scaleX to -1 would be the same as rotating it 180 degrees and setting sclaleY to -1.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...