Jump to content
Search Community

TransformManager[AS3] - flipping inverse [SOLVED]

danno
Moderator Tag

Recommended Posts

Posted

hey guys,

i've gotten TransformManager for AS3 and i've initialized it ( using TransformItem ) on a dynamically created clip on the stage. i've got setScaleContstraints on the item as well.

after doing so and scaling the image, if i drag the handles further, it actually will mirror the image, almost into the negative-x and negative-y space.

 

any help would be appreciated in stopping this from happening.

 

thanks!

Posted

Did you apply the scale constraints so that the minimum scaleX/scaleY are 0? That would prevent them from going negative.

Posted

i actually have them set at .5 , my code:

 

var clip1Item:TransformItem = manager.addItem(getChildByName("Item0"));
clip1Item.setScaleConstraints(0.5, 1, 0.5, 1);

 

and it's doing it currently.

Posted

I just tested it and it seemed to work perfectly for me. Could you send me a sample FLA or Flex project that demonstrates the issue? Just private message me.

Posted
I just tested it and it seemed to work perfectly for me. Could you send me a sample FLA or Flex project that demonstrates the issue? Just private message me.

pm sent!

Posted

I believe I found the problem. It only showed up if you dragged far enough in the opposite direction. Please download the latest version from the link I sent you and let me know if that works well for you. Sorry for the inconvenience.

Posted

thanks for the reply. didn't actually see a link in your reply... maybe i'm missing it in the PM.

 

thanks!

Posted

wanted to follow up and say that the updated code fixed the problem.

 

thanks again!

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...