Frame 1
stop();
onEnterFrame = function () {
framesLoaded = Math.ceil((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (framesLoaded >= 100) {
gotoAndPlay ("Title");
}
};
Frame 3
function mover(target, prop, ease, origin, end, speed, trigger) {
var _local1 = new mx.transitions.Tween(target, prop, ease, origin, end, speed, false);
_local1.onMotionFinished = function () {
};
}
function scaler(aTarg, aTween, aStart, aTime) {
mover(aTarg, "_xscale", aTween, aStart, 100, aTime);
mover(aTarg, "_yscale", aTween, aStart, 100, aTime);
}
stop();
start_btn.onRelease = function () {
gotoAndPlay ("HowTo");
sound_mc.gotoAndStop("pop");
};
onEnterFrame = function () {
};
scaler(logo_mc, mx.transitions.easing.Regular.easeOut, 50, 25);
mover(berry_left_mc, "_x", mx.transitions.easing.Regular.easeOut, -50, 96.4, 20);
mover(berry_right_mc, "_x", mx.transitions.easing.Regular.easeOut, 600, 425.4, 20);
music_mc.gotoAndStop(3);
var Crom = 0;
_global.gCrom = false;
watchKeyBoard = new Object();
watchKeyBoard.onKeyDown = function () {
switch (Key.getAscii()) {
case 98 :
Crom = 1;
break;
case 119 :
if (Crom == 1) {
Crom = 2;
}
break;
case 101 :
if (Crom == 2) {
Crom = 3;
sound_mc.gotoAndStop("pop");
_global.gCrom = true;
}
break;
default :
Crom = 0;
}
};
Key.addListener(watchKeyBoard);
Frame 5
function mover(target, prop, ease, origin, end, speed, trigger) {
var _local1 = new mx.transitions.Tween(target, prop, ease, origin, end, speed, false);
_local1.onMotionFinished = function () {
};
}
stop();
mover(how_mc, "_xscale", mx.transitions.easing.Elastic.easeOut, 95, 100, 15);
mover(how_mc, "_yscale", mx.transitions.easing.Elastic.easeOut, 95, 100, 15);
ok_btn.onRelease = function () {
gotoAndPlay ("Game");
sound_mc.gotoAndStop("pop");
};
onEnterFrame = function () {
};
Frame 7
function mover(target, prop, ease, origin, end, speed, trigger) {
var _local1 = new mx.transitions.Tween(target, prop, ease, origin, end, speed, false);
_local1.onMotionFinished = function () {
};
}
function fBerryCount() {
if (_global.gStrawb > 0) {
_global.gStrawb--;
vStrawbFill++;
how_mc.strawb_txt.text = vStrawbFill;
if (vStrawbFill < 16) {
how_mc.strawb_c_mc.gotoAndStop(vStrawbFill + 1);
sound_mc.gotoAndStop("pop");
}
}
if (_global.gBlueb > 0) {
_global.gBlueb--;
vBluebFill++;
how_mc.blueb_txt.text = vBluebFill;
if (vBluebFill < 16) {
how_mc.blueb_c_mc.gotoAndStop(vBluebFill + 1);
sound_mc.gotoAndStop("pop");
}
}
}
stop();
music_mc.gotoAndStop(2);
mover(how_mc, "_xscale", mx.transitions.easing.Elastic.easeOut, 95, 100, 15);
mover(how_mc, "_yscale", mx.transitions.easing.Elastic.easeOut, 95, 100, 15);
var vResultTime = 0;
var vBerryTime = false;
var vScoreTime = false;
var vComboTime = false;
var vStrawbFill = 0;
var vBluebFill = 0;
var vScoreFill = 0;
var vComboFill = 0;
onEnterFrame = function () {
vResultTime++;
switch (vResultTime) {
case 30 :
vBerryTime = true;
how_mc.strawb_txt.text = "0";
how_mc.blueb_txt.text = "0";
break;
case 70 :
vScoreTime = true;
how_mc.score_txt.text = "0";
mover(how_mc.score_txt, "_xscale", mx.transitions.easing.Elastic.easeOut, 95, 100, 25);
mover(how_mc.score_txt, "_yscale", mx.transitions.easing.Elastic.easeOut, 95, 100, 25);
break;
case 130 :
vComboTime = true;
how_mc.combo_txt.text = "0";
}
if (vBerryTime && ((_global.gStrawb > 0) || (_global.gBlueb > 0))) {
fBerryCount();
}
if (vScoreTime && (vScoreFill < _global.gScore)) {
vScoreFill = vScoreFill + (_global.gScore / 20);
how_mc.score_txt.text = Math.round(vScoreFill);
sound_mc.gotoAndStop("pop");
}
if (vComboTime && (vComboFill < _global.gCombo)) {
vComboFill++;
if (vComboFill == 1) {
var _local2 = " Berry";
} else {
var _local2 = " Berries";
}
how_mc.combo_txt.text = vComboFill + _local2;
sound_mc.gotoAndStop("pop");
}
};
play_btn.onRelease = function () {
gotoAndPlay ("HowTo");
music_mc.gotoAndStop(3);
sound_mc.gotoAndStop("pop");
};
Frame 9
function mover(target, prop, ease, origin, end, speed, trigger) {
var _local1 = new mx.transitions.Tween(target, prop, ease, origin, end, speed, false);
_local1.onMotionFinished = function () {
};
}
function fInitialize() {
vScore = 0;
vCombo = 0;
vComboKind = "none";
vdewCountdown = 0;
vdewActive = 30;
vdewNumbers = 1;
vStemParts = 30;
vProg = 1;
vTime = 60;
scoreboard_mc.timesup_mc._visible = false;
vTimeCountdown = 0;
vSlow = false;
vGameOver = 70;
vTimesUp = false;
flower_mc.xmov = 0;
flower_mc.ymov = 0;
combo_mc._x = -300;
combo_mc._y = -300;
}
function fFlowerMove(inertia, k) {
vDistX = (-flower_mc._x) + sun_mc._x;
flower_mc._rotation = vDistX / 10;
if (xp == undefined) {
xp = inertia + (vDistX * k);
} else {
xp = (xp * inertia) + (vDistX * k);
}
flower_mc._x = flower_mc._x + (xp / 40);
if (flower_mc._y > 300) {
flower_mc._y = flower_mc._y - 0.25;
}
if (vDistX < 0) {
sberry_mc._xscale = 100;
} else {
sberry_mc._xscale = -100;
}
sberry_mc._x = flower_mc._x + (vDistX / 50);
sberry_mc._y = (flower_mc._y - 40) - Math.abs(vDistX / 60);
}
function fMakeVine() {
vRight = false;
vName = "dew_" + vdewNumbers;
_root.attachMovie("dew_lk", vName, 200 + vdewNumbers);
_root[vName]._x = random(Stage.width - 100) + 50;
if (_root[vName]._x > (Stage.width / 2)) {
_root[vName]._xscale = _root[vName]._xscale * -1;
vRight = true;
}
_root[vName]._y = -50;
_root[vName].vGot = false;
_root[vName].onEnterFrame = fdewMove;
vOther = "berry_" + (vdewNumbers - 1);
if (_root[vOther]._y < 0) {
_root[vName]._y = -250;
}
vOther = "dew_" + (vdewNumbers - 2);
if (_root[vOther]._y < 0) {
_root[vName]._y = -250;
}
if ((_root[vOther]._x < (_root[vName].x + 32)) && (_root[vOther]._x > (_root[vName].x - 32))) {
_root[vName]._x = random(Stage.width - 100) + 50;
if (_root[vName]._x > (Stage.width / 2)) {
_root[vName]._xscale = _root[vName]._xscale * -1;
vRight = true;
}
}
vdewNumbers++;
vName = "berry_" + vdewNumbers;
_root.attachMovie("straw_lk", vName, 200 + vdewNumbers);
_root[vName]._y = -50 - random(250);
if (vRight) {
_root[vName]._x = random((Stage.width / 2) - 40) + 20;
} else {
_root[vName]._x = ((Stage.width / 2) + random((Stage.width / 2) - 40)) + 20;
_root[vName]._xscale = _root[vName]._xscale * -1;
}
_root[vName].vGot = false;
_root[vName].onEnterFrame = fBerryMove;
if (vdewNumbers > 100) {
vdewNumbers = 0;
} else {
vdewNumbers++;
}
vdewActive = Math.floor(random(50) + (60 / vProg));
vdewCountdown = 0;
}
function fMakeStem(aStemParts) {
i = 1;
while (i < aStemParts) {
vName = "dummy_mc" + i;
_root.attachMovie("dummy_clip", vName, 100 + i);
_root[vName]._x = 255;
_root[vName]._y = 450;
_root[vName].stop();
i++;
}
}
function fStemGrow(aStemParts) {
vMove = 0;
vStemArray = [];
i = 1;
while (i < aStemParts) {
vName = "dummy_mc" + i;
_root[vName]._y = _root[vName]._y + 3;
vStemY = _root[vName]._y;
vStemName = _root[vName];
vStemArray.push({stemY:vStemY, stemName:vStemName});
i++;
}
if ((vdewCountdown % 5) == 0) {
vStemArray.sortOn("stemY");
vMove = vStemArray[vStemArray.length - 1].stemName;
vMove.gotoAndPlay(1);
vMove._x = flower_mc._x;
vMove._y = flower_mc._y;
vStemArray[vStemArray.length - 1].stemY = flower_mc._y;
vStemArray.sortOn("stemY");
}
}
function fStemDraw() {
vStemArray.sortOn("stemY");
_root.createEmptyMovieClip("vine2", 1);
vine2.lineStyle(6, 1525285, 99);
vine2.moveTo(flower_mc._x, flower_mc._y);
i = 0;
while (i < vStemArray.length) {
vine2.lineTo(vStemArray[i].stemName._x, vStemArray[i].stemName._y);
i++;
}
_root.createEmptyMovieClip("vine", 2);
vine.lineStyle(4, 39168, 100);
vine.moveTo(flower_mc._x, flower_mc._y);
i = 0;
while (i < vStemArray.length) {
vine.lineTo(vStemArray[i].stemName._x, vStemArray[i].stemName._y);
i++;
}
flower_mc.swapDepths(3);
sberry_mc.swapDepths(4);
}
function fCloud(aCloud) {
aCloud._y = aCloud._y + 0.5;
if (aCloud._y > 600) {
aCloud._y = -200;
aCloud._x = random(Stage.width);
}
}
function fCalcDist(aP1, aP2) {
aHypotenuse = Math.sqrt(((aP2._x - aP1._x) * (aP2._x - aP1._x)) + ((aP2._y - aP1._y) * (aP2._y - aP1._y)));
return(Math.round(aHypotenuse));
}
function fdewMove() {
this._y = this._y + (2.5 + vProg);
if (this._y < (flower_mc._y + 20)) {
vDist = fCalcDist(this, sberry_mc);
if ((vDist < 45) && (this.vGot == false)) {
this.dew_mc._visible = false;
this.dew_mc.removeMovieClip();
vCombo = 0;
this.vGot = true;
fComboCount(vCombo, vComboKind);
vProg = 1;
vSlow = true;
combo_mc._x = this._x;
combo_mc._y = this._y;
combo_mc.points_txt.text = "SPLASH!";
combo_mc.combo_txt.text = "New vine started";
combo_mc.swapDepths(_root.getNextHighestDepth());
mover(combo_mc, "_alpha", mx.transitions.easing.Regular.easeIn, 100, 0, 50);
mover(combo_mc, "_y", mx.transitions.easing.Regular.easeOut, combo_mc._y, combo_mc._y - 20, 20);
sound_mc.gotoAndStop("splash");
}
}
if (this._y > 700) {
this.removeMovieClip();
}
if (vGameOver <= 1) {
this.removeMovieClip();
}
}
function fBerryMove() {
this._y = this._y + (2.5 + vProg);
if (this._y < (flower_mc._y + 20)) {
vDist = fCalcDist(this, sberry_mc);
if ((vDist < 45) && (this.vGot == false)) {
this.vGot = true;
combo_mc._x = this._x;
combo_mc._y = this._y;
this.berry_mc.berryf_mc._visible = false;
if (this.vIsBlue) {
_global.gBlueb++;
if (vComboKind == "blue") {
vCombo++;
} else {
vComboKind = "blue";
vCombo = 1;
vSlow = true;
}
} else {
_global.gStrawb++;
if (vComboKind == "red") {
vCombo++;
} else {
vComboKind = "red";
vCombo = 1;
vSlow = true;
}
}
if (vCombo > _global.gCombo) {
_global.gCombo = vCombo;
}
vScore = vScore + (50 * vCombo);
combo_mc.points_txt.text = 50 * vCombo;
fComboCount(vCombo, vComboKind);
if (vCombo > 1) {
combo_mc.combo_txt.text = vCombo + " in a row!";
} else {
combo_mc.combo_txt.text = "";
}
combo_mc.swapDepths(_root.getNextHighestDepth());
mover(combo_mc, "_alpha", mx.transitions.easing.Regular.easeIn, 100, 0, 50);
mover(combo_mc, "_y", mx.transitions.easing.Regular.easeOut, combo_mc._y, combo_mc._y - 20, 20);
vProg = (vCombo / 3) + 1;
sound_mc.gotoAndStop("pop");
}
}
if (this._y > 700) {
this.removeMovieClip();
}
if (vGameOver <= 1) {
this.removeMovieClip();
}
}
function fComboCount(aCombo, aComboKind) {
vSpeedTrigger = true;
scoreboard_mc.combocount_mc.berry_mc._visible = true;
if (aCombo > 10) {
aCombo = 10;
} else if (aCombo == 0) {
aCombo = 1;
}
scoreboard_mc.combocount_mc.gotoAndStop(aCombo);
if (aComboKind == "blue") {
scoreboard_mc.combocount_mc.berry_mc.clipSwap("blueberry_item");
if (_global.gCrom) {
scoreboard_mc.combocount_mc.berry_mc.clipSwap("mortimer_item");
}
scoreboard_mc.combocount_mc.flower_mc.clipSwap("blue_flower_item");
} else {
scoreboard_mc.combocount_mc.berry_mc.clipSwap("strawberry_item");
scoreboard_mc.combocount_mc.flower_mc.clipSwap("red_flower_item");
}
mover(scoreboard_mc.combocount_mc.berry_mc, "_yscale", mx.transitions.easing.Regular.easeIn, 75, 50, 10);
mover(scoreboard_mc.combocount_mc.berry_mc, "_xscale", mx.transitions.easing.Regular.easeIn, 75, 50, 10);
}
function fTimesUp() {
if (vTimesUp == false) {
music_mc.gotoAndStop(2);
sound_mc.gotoAndStop("gameover");
}
vTimesUp = true;
}
function fGameOver() {
vine.removeMovieClip();
vine2.removeMovieClip();
flower_mc.removeMovieClip();
sberry_mc.removeMovieClip();
scoreboard_mc.removeMovieClip();
combo_mc.removeMovieClip();
i = 0;
while (i < vStemArray.length) {
vStemArray[i].stemName.removeMovieClip();
i++;
}
_global.gScore = vScore;
fInitialize();
gotoAndStop ("Results");
}
stop();
fInitialize();
scoreboard_mc.combocount_mc.berry_mc._visible = false;
scoreboard_mc.swapDepths(900);
scoreboard_mc._visible = true;
_global.gStrawb = 0;
_global.gBlueb = 0;
_global.gScore = 0;
_global.gCombo = 0;
fMakeStem(vStemParts);
onEnterFrame = function () {
vdewCountdown++;
if (vdewCountdown == vdewActive) {
fMakeVine();
}
if (vTime > 0) {
vTimeCountdown++;
if (vSlow) {
vProg = vProg * 0.95;
if (vProg <= 1) {
vSlow = false;
}
}
sun_mc._x = _root._xmouse;
fFlowerMove(0.95, 0.1);
if (vDebug) {
fStemGrow(_root.vStemParts);
fStemDraw();
}
fCloud(cloud_1_mc);
fCloud(cloud_2_mc);
} else {
vProg = -2.5;
scoreboard_mc.timesup_mc._visible = true;
fTimesUp();
vGameOver--;
if (vGameOver <= 0) {
fGameOver();
}
}
if (vTimeCountdown >= 35) {
vTime--;
vTimeCountdown = 0;
}
};
MovieClip.prototype.clipSwap = function (linkage, instanceName) {
var _local3 = ((instanceName == undefined) ? (this._name) : (instanceName));
var _local2 = {_x:this._x, _y:this._y, _xscale:this._xscale, _yscale:this._yscale, _rotation:this._rotation};
this._parent.attachMovie(linkage, _local3, this.getDepth(), _local2);
};
vDebug = true;
debug_btn.onPress = function () {
if (vDebug) {
vDebug = false;
} else {
vDebug = true;
}
};
ground_mc.onEnterFrame = function () {
this._y++;
if (this._y > 600) {
this.removeMovieClip();
}
};
Symbol 7 MovieClip [dummy_clip] Frame 1
this._rotation = this._rotation + random(360);
Symbol 7 MovieClip [dummy_clip] Frame 5
stop();
if (random(7) == 1) {
play();
}
Symbol 7 MovieClip [dummy_clip] Frame 45
stop();
Symbol 25 MovieClip [straw_lk] Frame 1
MovieClip.prototype.clipSwap = function (linkage, instanceName) {
var _local3 = ((instanceName == undefined) ? (this._name) : (instanceName));
var _local2 = {_x:this._x, _y:this._y, _xscale:this._xscale, _yscale:this._yscale, _rotation:this._rotation};
this._parent.attachMovie(linkage, _local3, this.getDepth(), _local2);
};
vIsBlue = false;
if (random(2) == 1) {
berry_mc.clipSwap("blueberry_item");
if (_global.gCrom) {
berry_mc.clipSwap("mortimer_item");
}
vIsBlue = true;
}
Symbol 42 MovieClip Frame 1
stop();
Symbol 42 MovieClip Frame 2
gotoAndStop (1);
Symbol 42 MovieClip Frame 3
gotoAndStop (1);
Symbol 46 MovieClip Frame 1
stop();
Symbol 46 MovieClip Frame 2
gotoAndStop (1);
Symbol 46 MovieClip Frame 10
gotoAndStop (1);
Symbol 46 MovieClip Frame 16
gotoAndStop (1);
Symbol 215 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 216 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 217 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween
{
var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime;
function Tween (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
position = (begin);
this.duration = (duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.finish = (finish);
_listeners = [];
addListener(this);
start();
}
function set time(t) {
prevTime = _time;
if (t > duration) {
if (looping) {
rewind(t - _duration);
update();
broadcastMessage("onMotionLooped", this);
} else {
if (useSeconds) {
_time = _duration;
update();
}
stop();
broadcastMessage("onMotionFinished", this);
}
} else if (t < 0) {
rewind();
update();
} else {
_time = t;
update();
}
//return(time);
}
function get time() {
return(_time);
}
function set duration(d) {
_duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d));
//return(duration);
}
function get duration() {
return(_duration);
}
function set FPS(fps) {
var _local2 = isPlaying;
stopEnterFrame();
_fps = fps;
if (_local2) {
startEnterFrame();
}
//return(FPS);
}
function get FPS() {
return(_fps);
}
function set position(p) {
setPosition(p);
//return(position);
}
function setPosition(p) {
prevPos = _pos;
obj[prop] = (_pos = p);
broadcastMessage("onMotionChanged", this, _pos);
updateAfterEvent();
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
return(func(t, begin, change, _duration));
}
function set finish(f) {
change = f - begin;
//return(finish);
}
function get finish() {
return(begin + change);
}
function continueTo(finish, duration) {
begin = position;
this.finish = (finish);
if (duration != undefined) {
this.duration = (duration);
}
start();
}
function yoyo() {
continueTo(begin, time);
}
function startEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.addListener(this);
} else {
_intervalID = setInterval(this, "onEnterFrame", 1000 / _fps);
}
isPlaying = true;
}
function stopEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(_intervalID);
}
isPlaying = false;
}
function start() {
rewind();
startEnterFrame();
broadcastMessage("onMotionStarted", this);
}
function stop() {
stopEnterFrame();
broadcastMessage("onMotionStopped", this);
}
function resume() {
fixTime();
startEnterFrame();
broadcastMessage("onMotionResumed", this);
}
function rewind(t) {
_time = ((t == undefined) ? 0 : (t));
fixTime();
update();
}
function fforward() {
time = (_duration);
fixTime();
}
function nextFrame() {
if (useSeconds) {
time = ((getTimer() - _startTime) / 1000);
} else {
time = (_time + 1);
}
}
function onEnterFrame() {
nextFrame();
}
function prevFrame() {
if (!useSeconds) {
time = (_time - 1);
}
}
function toString() {
return("[Tween]");
}
function fixTime() {
if (useSeconds) {
_startTime = getTimer() - (_time * 1000);
}
}
function update() {
position = (getPosition(_time));
}
static var version = "1.1.0.52";
static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init();
static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
function func(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 218 MovieClip [__Packages.mx.transitions.easing.Regular] Frame 0
class mx.transitions.easing.Regular
{
function Regular () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return(((c * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = t / d;
return((((-c) * t) * (t - 2)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return((((c / 2) * t) * t) + b);
}
t--;
return((((-c) / 2) * ((t * (t - 2)) - 1)) + b);
}
static var version = "1.1.0.52";
}
Symbol 219 MovieClip [__Packages.mx.transitions.easing.Elastic] Frame 0
class mx.transitions.easing.Elastic
{
function Elastic () {
}
static function easeIn(t, b, c, d, a, p) {
if (t == 0) {
return(b);
}
t = t / d;
if (t == 1) {
return(b + c);
}
if (!p) {
p = d * 0.3;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
var _local7 = p / 4;
} else {
var _local7 = (p / (Math.PI*2)) * Math.asin(c / a);
}
t = t - 1;
return((-((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p))) + b);
}
static function easeOut(t, b, c, d, a, p) {
if (t == 0) {
return(b);
}
t = t / d;
if (t == 1) {
return(b + c);
}
if (!p) {
p = d * 0.3;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
var _local7 = p / 4;
} else {
var _local7 = (p / (Math.PI*2)) * Math.asin(c / a);
}
return((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p)) + c) + b);
}
static function easeInOut(t, b, c, d, a, p) {
if (t == 0) {
return(b);
}
t = t / (d / 2);
if (t == 2) {
return(b + c);
}
if (!p) {
p = d * 0.45;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
var _local7 = p / 4;
} else {
var _local7 = (p / (Math.PI*2)) * Math.asin(c / a);
}
if (t < 1) {
t = t - 1;
return((-0.5 * ((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p))) + b);
}
t = t - 1;
return(((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p)) * 0.5) + c) + b);
}
static var version = "1.1.0.52";
}
Symbol 177 MovieClip Frame 1
stop();
Symbol 177 MovieClip Frame 25
stop();
Symbol 178 MovieClip Frame 1
stop();
Symbol 178 MovieClip Frame 25
stop();
Symbol 188 MovieClip Frame 1
function mover(target, prop, ease, origin, end, speed, trigger) {
var _local2 = new mx.transitions.Tween(target, prop, ease, origin, end, speed, false);
_local2.onMotionFinished = function () {
this.yoyo();
};
}
mover(ray1_mc, "_rotation", mx.transitions.easing.Regular.easeInOut, 45, 125, 190);
mover(ray2_mc, "_rotation", mx.transitions.easing.Regular.easeInOut, 125, 45, 190);
mover(face_mc, "_xscale", mx.transitions.easing.Regular.easeInOut, 150, 160, 30);
mover(face_mc, "_yscale", mx.transitions.easing.Regular.easeInOut, 150, 160, 30);
Symbol 204 MovieClip Frame 1
stop();