Hello all,
Sorry if this is a stupid question.....still new to all this. How do I calculate the total duration of my animation in seconds if I use the delay property? Do I just add the seconds I'm assigning to each line? Below is my code. Any help would be greatly appreciated! Thank you!
import com.greensock.*;
import com.greensock.easing.*;
mini_mc.alpha = 0;
amazonLogo_mc.alpha = 0;
copy1_mc.alpha = 0;
copy2_mc.alpha = 0;
copy3_mc.alpha = 0;
TweenMax.to(mini_mc, 2, {alpha:1});
TweenMax.to(artistName_mc, 1, {x:10.95});
TweenMax.to(title_mc, 2, {x:10.95});
TweenMax.to(line1_mc, 1, {x:49.25, delay:2});
TweenMax.to(copy1_mc, 1, {alpha:1, scaleX:0.45, scaleY:0.45, x:19.15, y:354.65, delay:2.5});
TweenMax.to(line2_mc, 1, {x:49.25, delay:3});
TweenMax.to(copy2_mc, 1, {alpha:1, scaleX:0.45, scaleY:0.45, x:33.1, y:434.3, delay:3.5});
TweenMax.to(line3_mc, 1, {x:49.25, delay:4});
TweenMax.to(copy3_mc, 1, {alpha:1, scaleX:0.53, scaleY:0.53, x:13, y:475.1, delay:4.5});
TweenMax.to(line4_mc, 1, {x:49.25, delay:5});
TweenMax.to(amazonLogo_mc, 2, {alpha:1, delay:5.5});
TweenMax.to(snow_1, 5, {y:650});
TweenMax.to(snow_2, 5, {y:650, delay:1});
TweenMax.to(snow_3, 5, {y:650, delay:2});
TweenMax.to(snow_4, 5, {y:650, delay:3});
TweenMax.to(snow_5, 5, {y:650, delay:4});
TweenMax.to(snow_6, 5, {y:650, delay:5});
myClickTag_btn.addEventListener(MouseEvent.MOUSE_UP, function(event: MouseEvent): void {
var sURL: String;
if ((sURL = root.loaderInfo.parameters.clickTag)) {
navigateToURL(new URLRequest(sURL), "_blank");
}
});