Jump to content

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.