Jump to content
Search Community

How to set scale point for TweenLite?

adifrank test
Moderator Tag

Recommended Posts

Hi. I'm new to GreenSock and Flash and ActionScript in general.

 

I'm trying to do a scale tween of a MovieClip instance using TweenLite. The tween works, but it's scaling the MovieClip symmetrically around the center point of the MovieClip and I want it to scale only from the left side. I've selected my MovieClip, clicked the Free Transform Tool and moved the little circle that signifies the zero point for scaling to the MovieClip's right edge - but that doesn't seem to have any affect on the scaling when using TweenLite.

 

Any ideas?

 

Thanks.

Link to comment
Share on other sites

yeah the transformation point that you are moving in flash only affects how your objects scale and rotate in Flash.

 

All transformations that happen via actionscript use the registration point.

 

the registration point is the little cross-hair icon.

 

what you need to do is go into symbol edit mode either by double-clicking on your symbol on the stage or in the library.

 

once you are "inside" the symbol you need to manually shift the artwork so the that the registration point is in the upperleft.

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