Jump to content

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

TweenMax.to but with Play

Recommended Posts

Hi - I am sure this is really easy but I can not see how I can use the TweenMax.to but play when I get to the frame. I have tried so many combinations. This is my TweenMax.to that will get me to the frame label, but pauses when it gets there. It is controlling a Movie Clip that has frame labels.



function Park_Play(e:MouseEvent):void{
    TweenMax.to(CharacterMovie, 0.5,  {frameLabel:'Park'});    


Link to comment
Share on other sites

Would the following give you the effect you are after?

function Park_Play(e:MouseEvent):void{
  TweenMax.to(CharacterMovie, 0.5, {
    onComplete:function() {
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.