Setting visibility of tween max

Recommended Posts

Dear All thank you for your time ,I am working on a path flow project using tween max .

Is there a way to set the visibility of all the path followers to zero on initial start ,as in "TweenMax.pauseAll();" like TweeMax.visibility=0;

and then convert the visibility of the tween max path follower to 1 visibility using a button.

Been searching for this cant seem to find anything.

I can do it by making the main movie clip that all the tweens reside in visibility=false ,last time i used mask to cover the 

paths just wanted a more eloquent way of doing it.

Thank you 





Share this post

Link to post
Share on other sites

If you put all your objects into an array you could use staggerTo.

var textFields = [tf1, tf2, tf3, tf4, tf5];
TweenMax.staggerTo(textFields, 0, {alpha:0}, 0);



  • Like 1

Share this post

Link to post
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.