Gary Griswold Posted November 7, 2014 Share Posted November 7, 2014 I have found some code on SnorkleTV that performed a 3D Flip of a page, and I was trying to use it. But in my use of it the object is being rotated from the left margin, but what I need is for it to be rotated by the x axis center of the object. The following is the code that I am using for the first step in the Flip. var flipSpeed:Number = 0.5; var tl:TimelineMax = new TimelineMax({paused:true}); tl.append(TweenMax.to(currentView, flipSpeed, {rotationY:90, visible:false, ease:Linear.easeNone})) The example given on SnorkleTV was extraordinary. I hope to get it right. Gary Link to comment Share on other sites More sharing options...
Carl Posted November 8, 2014 Share Posted November 8, 2014 Hi Gary, Not sure exactly what tutorial you are referring to (its been awhile) but usually I would just make sure my registration point is in the center of clip I want to rotate. Not really sure how to do it in pure AS3. Our transformAroundCenter plugin only works for 2D transformations. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now