Hi all,
I've looked through the forum and tried various suggestions,
but I can't seem to get this right. I have a MC in the Main timeline
that plays a series of tweens and then when finished should
got to the next frame (2) but it doesn't. I've tried moving
my stop(); around but if I don't include it then it jumps immediately
to frame two. I know this is probably something very basic, but I can't seem
to get it going. Any help would be greatly appreciated.
edit: I've also tried using a function ie: onComplete:myFunction, but without the
onCompleteParams as I expected it to simply refer to the argument within the function.
Thanks very much in advance
T.
Code is as follows;
import gs.*;
import gs.TweenLite;
import gs.easing.*
menuAnimation();
function menuAnimation():void {
TweenLite.to(bg1_mc, 0.25, {x:0, ease:Quart.easeOut});
TweenLite.to(bg2_mc, 0.25, {delay:.25, x:0, ease:Quart.easeOut});
TweenLite.to(bg3_mc, 0.25, {delay:.5, x:0, ease:Quart.easeOut});
TweenLite.to(bg4_mc, 0.25, {delay:.75, x:0, ease:Quart.easeOut});
TweenLite.to(bg5_mc, 0.25, {delay:1, x:0, ease:Quart.easeOut});
TweenLite.to(bg6_mc, 0.25, {delay:1.25, x:0, ease:Quart.easeOut});
TweenLite.to(bg7_mc, 0.25, {delay:1.50, x:0, ease:Quart.easeOut});
TweenLite.to(bg8_mc, 0.25, {delay:1.75, x:0, ease:Quart.easeOut});
TweenLite.to(bg9_mc, 0.25, {delay:2, x:0, ease:Quart.easeOut});
TweenLite.to(bg10_mc, 0.25, {delay:2.25, x:0, ease:Quart.easeOut});
TweenLite.to(green_banner_mc, 0.5, {delay:2.5, y:36, ease:Elastic.easeInOut});
TweenLite.to(banner_text_mc, 0.5, {delay:2.75, alpha:1, ease:Back.easeIn});
TweenMax.to(banner_text_mc,.75,{delay:4, bevelFilter:{blurX:10, blurY:10, strength:1.25, distance:6, onComplete:gotoAndStop, onCompleteParams:[2]}});
}
stop();