Jump to content

Search In
  • More options...
Find results that contain...
Find results in...

Tween not happening from center for scale bezier

Recommended Posts

Hi , i cant change registration point , i have scaled my target but still i cant able to change the x , it starts from a point and ends at  a different point , but it scales but x point is not changed. and i am using a bezier curve actually ! so using bezier values.

Share this post

Link to post
Share on other sites

Hi and welcome to the GreenSock forums,


I am having a very hard time understanding what the problem is.

Please create a very simple FLA that clearly illustrates the problem.

You can zip the fla and attach it to this post using the "more reply options" button.



Share this post

Link to post
Share on other sites
playerEffect = TweenMax.to(mc,1,bezier:{follower:mc2,curviness:curvinessBezier,values:bezierArray});

As it is a confidential project i cant post it , but it look somewaht like this and i have added the scaleX,scaleY properties are added in the end still it wont move and scale along the path. 

Share this post

Link to post
Share on other sites

Sorry, I can't take that code fragment you provided and try to simulate the issue you are having.

I don't need to see any of your actual production assets. You just need to recreate the tween with a simple vector MovieClip so that I can see how you are setting the transformation point and registration point.


This video here explains how the transformation point works differently than the registration point.



Again, a very simple example is all we need to see. 

Share this post

Link to post
Share on other sites

Hey I just saw another post from you , an user asked how to rotate the mc along the center point in bezier , you have suggested a formulation to be placed in the onUpdate function , i tweaked the formula and it worked for me , thank you very much ! you just saved me a lot of time .

  • Like 1

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.