Jump to content
Search Community

Is there a way to add callbacks to TimelineMax w/o tweens?

cerulean test
Moderator Tag

Recommended Posts

I need at certain points in my timeline to call various other functions/methods.

 

It's simple to do something like this:

 

tl.append(new TweenMax(something,1,{onStart:myMethod,someParams});

 

but what if I don't want to tween anything, simply add a callback at that point in the timeline?

 

I find I'm doing kludges, tweening invisible things to be invisible, and the like, simply to put some tween in there to 'hold' the callback. Is there a better way?

 

Thanks!

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