Jump to content
Search Community

Tween Before Applying LiquidStage

Sbml test
Moderator Tag

Recommended Posts

Hello,

 

I have a transition when I load my movie, I move it from outside of the stage to inside with a nice easing. How can I center my movie then with Liquid Stage only after the first transition occurred.

 

Thanks in advance

Link to comment
Share on other sites

You can use an onComplete callback to run your LiquidStage code when the tween is done:

 

TweenLite.to(mc, 2, {x:450, onComplete:initLS});

 

function initLS():void{

//place your LiquidStage code here:

 

 

}

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