Jump to content
GreenSock

eco_bach

URGENT::TimeLineLite simple cross dissolve fade in and out

Recommended Posts

Hi

Not quite an expert yet with Timeline Lite but have a lite timeline (pun intended) for an as2 banner ad project.

In the following my clip fades in, but doesn't fade out....can anyone tell me why???

 

//CODE START

 

var timeline:TimelineLite = new TimelineLite();

timeline.addLabel("f1b", 3);

 

 

timeline.append( new TweenLite(F1a, 1, {_alpha:"100"}) );

timeline.insert(new TweenLite(F1a, 1, {_alpha:"0"}), "f1b");

 

//CODE END

Link to comment
Share on other sites

It's because you have your alpha value in quotations, which means it's going to be relative to the current value.

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