Jump to content
Search Community

Start mc invisible

vanwoods test
Moderator Tag

Recommended Posts

Hi all,

 

I'm trying to figure this out:

I'm want an mc to show up later in the timeline but it's already visible when my movie starts playing. Is there a way to make the mc "sint" invisible when the movie starts and then let it fade in later after the first 2 mc are finished?

 


var timeline:TimelineLite = new TimelineLite();
timeline.append(new TweenLite(moon, 2, {y:"145"}));
timeline.append(new TweenLite(textField, 3, {typewriter:"Hij komt..."}));
timeline.append(new TweenLite(sint, 2, {y:"0", alpha: 0 }));

 

Greetings vanWoods

Link to comment
Share on other sites

I'm not sure I understand your question - judging by your code, it looks like you're trying to fade it out instead of in. Is that right? You can certainly do something like this:

 

sint.visible = false;
sint.alpha = 0;
var timeline:TimelineLite = new TimelineLite();
timeline.append(new TweenLite(moon, 2, {y:"145"}));
timeline.append(new TweenLite(textField, 3, {typewriter:"Hij komt..."}));
timeline.append(new TweenLite(sint, 2, {autoAlpha:1}));

 

(just don't forget to activate the AutoAlphaPlugin once first)

 

Does that answer your question?

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