import com.greensock.*; import com.greensock.easing.*; stop(); b1._alpha = 0; b2._alpha = 0; b3._alpha = 0; b4._alpha = 0; b5._alpha = 0; b6._alpha = 0; b7._alpha = 0; b8._alpha = 0; b9._alpha = 0; b10._alpha = 0; b11._alpha = 0; b12._alpha = 0; b13._alpha = 0; typewriterfull._alpha = 0; logo._alpha = 0; postit._alpha = 0; searchoff._alpha = 100; searchon._alpha = 0; searchresults._alpha = 0; cursorarrow._alpha = 100; cursorarrow._x = 183; cursorarrow._y = 117; cursor._alpha = 0; cursor._x = 164; TweenLite.delayedCall(0.5,animationStart); function animationStart():Void { b1._alpha = 0; b2._alpha = 0; b3._alpha = 0; b4._alpha = 0; b5._alpha = 0; b6._alpha = 0; b7._alpha = 0; b8._alpha = 0; b9._alpha = 0; b10._alpha = 0; b11._alpha = 0; b12._alpha = 0; b13._alpha = 0; typewriterfull._alpha = 0; logo._alpha = 0; postit._alpha = 0; searchoff._alpha = 100; searchon._alpha = 0; searchresults._alpha = 0; cursorarrow._alpha = 100; cursorarrow._x = 183; cursorarrow._y = 117; cursor._alpha = 0; cursor._x = 164; TweenLite.delayedCall(0.1,mouseIn); } function mouseIn():Void { TweenLite.to(cursorarrow,0.3,{_x:162, _y:73, ease:Power0.easeNone}); TweenLite.delayedCall(0.2,searchonIn); } function searchonIn():Void { TweenLite.to(searchon,0.1,{_alpha:100, ease:Power0.easeNone}); TweenLite.to(searchoff,0.1,{_alpha:0, ease:Power0.easeNone}); TweenLite.to(cursor,0.5,{_alpha:100, _x:164, ease:Power0.easeNone}); TweenLite.delayedCall(1.0,b1In); } function b1In():Void { cursorarrow._alpha = 0; cursor._x = 182; b1._alpha = 100; TweenLite.delayedCall(0.1,b2In); } function b2In():Void { cursor._x = 196; b2._alpha = 100; TweenLite.delayedCall(0.1,b3In); } function b3In():Void { cursor._x = 208; b3._alpha = 100; TweenLite.delayedCall(0.1,b4In); } function b4In():Void { cursor._x = 221; b4._alpha = 100; TweenLite.delayedCall(0.1,b5In); } function b5In():Void { cursor._x = 234; b5._alpha = 100; TweenLite.delayedCall(0.1,b6In); } function b6In():Void { cursor._x = 247; b6._alpha = 100; TweenLite.delayedCall(0.1,b7In); } function b7In():Void { cursor._x = 260; b7._alpha = 100; TweenLite.delayedCall(0.1,b8In); } function b8In():Void { cursor._x = 273; b8._alpha = 100; TweenLite.delayedCall(0.1,b9In); } function b9In():Void { cursor._x = 285; b9._alpha = 100; TweenLite.delayedCall(0.1,b10In); } function b10In():Void { cursor._x = 301; b10._alpha = 100; TweenLite.delayedCall(0.1,b11In); } function b11In():Void { cursor._x = 313; b11._alpha = 100; TweenLite.delayedCall(0.1,b12In); } function b12In():Void { cursor._x = 326; b12._alpha = 100; TweenLite.delayedCall(0.1,b13In); } function b13In():Void { cursor._x = 344; b13._alpha = 100; TweenLite.delayedCall(1.0,searchresultsIn); } function searchresultsIn():Void { /* cursor.gotoAndStop(10);*/ TweenLite.to(searchresults,0.2,{ _alpha:100, ease:Power1.easeOut}); TweenLite.delayedCall(1.0,searchresultsMove); } function searchresultsMove():Void { cursor._alpha = 0; typewriterfull._alpha = 100; b1._alpha = 0; b2._alpha = 0; b3._alpha = 0; b4._alpha = 0; b5._alpha = 0; b6._alpha = 0; b7._alpha = 0; b8._alpha = 0; b9._alpha = 0; b10._alpha = 0; b11._alpha = 0; b12._alpha = 0; b13._alpha = 0; TweenLite.to(searchresults,5.0,{_y:-366, ease:Power0.easeNone}); TweenLite.to(searchon,5.0,{_y:-405, ease:Power0.easeNone}); TweenLite.to(typewriterfull,5.0,{_y:-395, ease:Power0.easeNone}); TweenLite.delayedCall(4.5,logoIn); } function logoIn():Void { TweenLite.to(logo,1.0,{_alpha:100, ease:Power2.easeIn}); TweenLite.to(postit,1.0,{_alpha:100, ease:Power2.easeIn}); TweenLite.delayedCall(3.0,backnormal); } function backnormal():Void { b1._alpha = 0; b2._alpha = 0; b3._alpha = 0; b4._alpha = 0; b5._alpha = 0; b6._alpha = 0; b7._alpha = 0; b8._alpha = 0; b9._alpha = 0; b10._alpha = 0; b11._alpha = 0; b12._alpha = 0; b13._alpha = 0; typewriterfull._alpha = 0; logo._alpha = 0; postit._alpha = 0; searchoff._alpha = 100; searchon._alpha = 0; searchresults._alpha = 0; cursorarrow._alpha = 100; cursorarrow._x = 183; cursorarrow._y = 117; cursor._alpha = 0; cursor._x = 164; TweenLite.delayedCall(0.1,animationStart); }