
Untitled
By: a guest on
May 7th, 2012 | syntax:
None | size: 0.62 KB | hits: 13 | expires: Never
public function startSwoshAnimation():Void
{
_mainMovie.mcBgSwosh._rotation = -80;
_mainMovie.mcBgSwosh.mcGrad._x = -75;
_mainMovie.mcBgSwosh._x = -65;
_mainMovie.mcBgSwosh._y = 300;
_mainMovie.mcBgSwosh._alpha = 100;
_mainMovie.mcBgSwosh.mcSwosh._alpha = 80;
if (_swoshGradHackCounter < 1)
{
TweenLite.to(_mainMovie.mcBgSwosh.mcGrad, 5, { _x:370 } );
swoshGradHackCounter++;
}
else
{
_mainMovie.mcBgSwosh.mcGrad._alpha = 0;
}
var targetX:Number = (_mainMovie.mcBgSwosh.mcSwosh._x > -600) ? -1000 : -200;
TweenLite.to(_mainMovie.mcBgSwosh.mcSwosh, 14.5, {_x:targetX, ease:Linear.easeOut});
}