Jump to content
GreenSock

monty

Remove object from TimelineMax

Moderator Tag

Recommended Posts

How can you remove an object that has been inserted into timelineMax.

Do I just set my timelineMax over again to remove all objects example:

 

timeline = new TimelineMax({onComplete:onTimelineComplete});

 

What if I just want to remove one object instead of them all.

 

Thanks,

Eric

Link to comment
Share on other sites

myTimeline.remove(myTween);

 

or

 

myTween.kill();

 

or

 

myTimeline.killTweensOf(myObject);

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