Jump to content
GreenSock

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

3D rotation and scale deforms the object and flicks

Recommended Posts

Im trying to rotate a square in Y axis and at the same time scale it up so it ends up covering almost all the screen, when I only use the Y rotation it works perfect, when I use just the scale works great, buen when they are combined, the square deforms and the image flicks... Am I doing something wrong? here is the code:

 

TweenLite.to(cuadroAzul, 1, {rotationY:-180, width:862.10, height:518.4, onComplete:goHandler, ease:Strong.easeIn});

 

I believe it's a problem in Flash's 3D environment because if I try to make the tween in timeline it behaves crazy.

 

Any help would be greatly appreciated

Link to comment
Share on other sites

Aha!!! solved it... it is a problem with flash so I solved it not using the width and height but tweening the Z axis

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.

×