Instance of Symbol 3 MovieClip in Frame 1
onClipEvent (load) {
FPSTimer = 0;
}
onClipEvent (enterFrame) {
var date = new Date();
var lagCount = 0;
while (date.getTime() < FPSTimer) {
date = new Date();
lagCount++;
}
FPSTimer = date.getTime() + 20;
}
Frame 2
stopAllSounds();
_root.bytesLoaded = _root.getBytesLoaded();
_root.bytesTotal = _root.getBytesTotal();
_root.percentLoaded = Math.round(100 * (_root.bytesLoaded / _root.bytesTotal));
_root.percentLoadedText = _root.percentLoaded + "%";
_root.bar.gotoAndStop(percentLoaded);
Stage.showMenu = false;
Frame 3
if (_root.percentLoaded == 100) {
gotoAndStop (4);
} else {
gotoAndPlay (2);
}
Frame 5
stop();
Frame 6
function gotoFrame(targ) {
_root.gotoAndStop("BLANK");
_root.gotoAndStop(targ);
FADER._alpha = 100;
}
function onEnterFrame() {
if (FADER._alpha > 0) {
FADER._alpha = FADER._alpha - 2;
}
}
function playSound(targ) {
if (_root.muteSound == false) {
sound.gotoAndStop(targ);
sound.gotoAndStop(1);
}
}
function setupSave() {
if (savefile.data.activ8 == undefined) {
savefile.data.activ8 = true;
savefile.data.ACTIVEARRAY = new Array();
savefile.data.NAMEARRAY = new Array();
savefile.data.SLOTNAMEARRAY = new Array();
savefile.data.SLOTLASTDATE = new Array();
savefile.data.SLOTARRAY = new Array();
savefile.data.IDSTORE = new Array();
savefile.data.SCORESTORE = new Array();
savefile.data.DATESTORE = new Array();
savefile.data.SLOTNAMEARRAY[1] = "Player 1";
savefile.data.SLOTNAMEARRAY[2] = "Player 2";
savefile.data.SLOTNAMEARRAY[3] = "Player 3";
savefile.data.flush();
}
if (savefile.data.ACTIVEARRAY[GAMEID] == undefined) {
savefile.data.ACTIVEARRAY[GAMEID] = true;
savefile.data.SLOTLASTDATE[GAMEID] = new Array();
savefile.data.SLOTLASTDATE[GAMEID][1] = "Never";
savefile.data.SLOTLASTDATE[GAMEID][2] = "Never";
savefile.data.SLOTLASTDATE[GAMEID][3] = "Never";
savefile.data.NAMEARRAY[GAMEID] = GAMENAME;
}
}
function eraseSlot(slot) {
var _local1 = 0;
while (_local1 < savefile.data.SLOTARRAY.length) {
if (savefile.data.SLOTARRAY[_local1] == slot) {
savefile.data.SLOTARRAY.splice(_local1, 1);
savefile.data.IDSTORE.splice(_local1, 1);
savefile.data.TIMESTORE.splice(_local1, 1);
savefile.data.SCORESTORE.splice(_local1, 1);
savefile.data.DATESTORE.splice(_local1, 1);
_local1--;
}
_local1++;
}
var _local2 = 0;
while (_local2 < 10) {
if (savefile.data.SLOTLASTDATE[_local2] != undefined) {
savefile.data.SLOTLASTDATE[_local2][slot] = "Never";
}
_local2++;
}
savefile.data.SLOTNAMEARRAY[slot] = "Player " + slot;
saveGame();
}
function saveGame() {
savefile.flush();
}
function shortDate(dateInput) {
return((((((((dateInput.getDate() + " / ") + dateInput.getMonth()) + " / ") + dateInput.getFullYear()) + " ") + checkDigits(dateInput.getHours())) + ":") + checkDigits(dateInput.getMinutes()));
}
function checkDigits(input) {
if (input < 10) {
input = "0" + input;
}
return(input);
}
_root.muteSound = false;
var GAMEID = 0;
var GAMENAME = "ESTIWEIGHT";
var savefile = SharedObject.getLocal("ARMORACTIVEL2");
setupSave();
_root.soundSel = 1;
Frame 7
stop();
userName1.text = savefile.data.SLOTNAMEARRAY[1];
userName2.text = savefile.data.SLOTNAMEARRAY[2];
userName3.text = savefile.data.SLOTNAMEARRAY[3];
userName1Date.text = savefile.data.SLOTLASTDATE[GAMEID][1];
userName2Date.text = savefile.data.SLOTLASTDATE[GAMEID][2];
userName3Date.text = savefile.data.SLOTLASTDATE[GAMEID][3];
_root.GRAPHTIME = undefined;
_root.GRAPHSTRING = " time(s) in total.";
Frame 8
stop();
if (savefile.data.SLOTLASTDATE[GAMEID][_root.SAVESLOT] == "Never") {
graphButton._alpha = 50;
}
_root.score = 0;
_root.ballMax = 2;
_root.holeMax = 2;
_root.roundNum = 1;
_root.ballCount = 0;
stopAllSounds();
playSound("MENU");
Frame 10
function populateGraph(timer) {
var _local8 = new Date();
var _local2 = new Array();
var _local4 = 0;
while (_local4 < savefile.data.DATESTORE.length) {
if ((savefile.data.SLOTARRAY[_local4] == _root.SAVESLOT) && ((savefile.data.DATESTORE[_local4].getTime() > (_local8.getTime() - timer)) || (timer == undefined))) {
_local2.push(_local4);
}
_local4++;
}
GRAPH.startDate.text = shortDate(savefile.data.DATESTORE[_local2[0]]);
GRAPH.endDate.text = shortDate(savefile.data.DATESTORE[savefile.data.DATESTORE.length - 1]);
var _local7 = savefile.data.DATESTORE[_local2[_local2.length - 1]] - savefile.data.DATESTORE[_local2[0]];
_local7 = 350 / _local7;
var _local3 = 0;
while (_local3 < _local2.length) {
var _local5 = savefile.data.DATESTORE[_local2[_local3]].getTime() - savefile.data.DATESTORE[_local2[0]].getTime();
addPoint(_local5 * _local7, savefile.data.SCORESTORE[_local2[_local3]] * -1, savefile.data.DATESTORE[_local2[_local3]]);
_local3++;
}
}
function addPoint(xPos, yPos, ID) {
var _local1 = GRAPH.attachMovie("RGP", "R" + pointCount, pointCount++);
yPos = (yPos / 3) * 2;
_local1._x = xPos;
_local1._y = yPos;
_local1.ID = shortDate(ID);
pointArray.push(_local1);
}
function drawLine() {
var _local1 = 0;
while (_local1 < pointArray.length) {
if (pointArray[_local1 + 1] != undefined) {
GRAPH.moveTo(pointArray[_local1]._x, pointArray[_local1]._y);
GRAPH.lineTo(pointArray[_local1 + 1]._x, pointArray[_local1 + 1]._y);
}
_local1++;
}
}
pointArray = new Array();
pointCount = 0;
cloneArray = new Array();
GRAPH.lineStyle(1, 16777215, 100);
populateGraph(_root.GRAPHTIME);
drawLine();
descText.text = ((("User " + savefile.data.SLOTNAMEARRAY[_root.SAVESLOT]) + " has played ") + pointCount) + _root.GRAPHSTRING;
Frame 11
ENGINE.setMask(SHUTTER);
Frame 12
BF_0 = "Your brain uses 20% of your body's energy, but it makes up only 2% of your body's weight.";
BF_1 = "Your cerebral cortex is about as thick as a tongue depressor. It grows thicker as you learn and use it.";
BF_2 = "Your brain generates 25 watts of power while you're awake---enough to illuminate a lighbulb.";
BF_3 = "Humans have the most complex brain of any animal on earth.";
BF_4 = "Overexposure to aluminum compounds\u2014in foil, cookware, deodorants, antacids, toothpaste\u2014can affect brain function.";
BF_5 = "Eating foods rich in vitamin E, beta-carotene, and vitamin C may help lower your risk of Alzheimer's disease.";
BF_6 = "A cooked potato can jump-start your brain when you're feeling foggy.";
BF_7 = "The brain feels like a ripe avocado and looks pink because of the blood flowing through it.";
BF_8 = "Your brain is divided into two sides. The left side controls the right side of your body; and the right side controls the left.";
BF_9 = "Your brain is about 1300-1400 cubic centimeters in volume, about the size of a cantaloupe and wrinkled like a walnut.";
brainFact = this["BF_" + random(10)];
Symbol 5 MovieClip [HOLE] Frame 1
function onEnterFrame() {
ring_O._rotation = ring_O._rotation + 5;
ring_I._rotation = ring_I._rotation - 5;
}
stop();
Symbol 34 Button
on (release) {
if (_root.EOB._x > 100) {
_root.gamePaused = true;
_root.quitScreen._x = 0;
}
}
on (rollOver, dragOver) {
OptionsDesc.text = "Click here to end the current game.";
}
on (rollOut, dragOut) {
OptionsDesc.text = "Roll over one of the buttons below to view a description of its properties.";
}
Symbol 36 Button
on (release) {
if (_root.soundSel == 1) {
soundText = "Music 2";
stopAllSounds();
_root.muteSound = false;
_root.playSound("MAIN2");
_root.soundSel = 2;
} else if (_root.soundSel == 2) {
_root.soundSel = 3;
soundText = "Muted";
_root.muteSound = true;
stopAllSounds();
} else if (_root.soundSel == 3) {
stopAllSounds();
soundText = "Music 1";
_root.muteSound = false;
_root.playSound("MAIN");
_root.soundSel = 1;
}
}
on (rollOver, dragOver) {
OptionsDesc.text = "Select which music you would like or choose to mute it.";
}
on (rollOut, dragOut) {
OptionsDesc.text = "Roll over one of the buttons below to view a description of its properties.";
}
Symbol 38 Button
on (release) {
if (_root.gamePaused == true) {
_root.gamePaused = false;
PTick._visible = false;
} else {
_root.gamePaused = true;
PTick._visible = true;
}
}
on (rollOver, dragOver) {
OptionsDesc.text = "Click here to pause the game.";
}
on (rollOut, dragOut) {
OptionsDesc.text = "Roll over one of the buttons below to view a description of its properties.";
}
Symbol 48 MovieClip [Area] Frame 1
function onEnterFrame() {
roundNumText = _root.roundNum - 1;
var _local3 = 1;
while (_local3 < 5) {
this["L" + _local3]._alpha = this["L" + _local3]._alpha / 1.1;
_local3++;
}
}
if (_root.soundSel == 1) {
soundText = "Music 1";
} else if (_root.soundSel == 2) {
soundText = "Music 2";
} else if (_root.soundSel == 3) {
soundText = "Muted";
}
Instance of Symbol 17 MovieClip "timerBottom" in Symbol 48 MovieClip [Area] Frame 1
onClipEvent (load) {
_yscale = 0;
}
Symbol 54 MovieClip [Ripple] Frame 1
function onEnterFrame() {
if (_alpha > 0) {
_xscale = (_xscale + 40);
_yscale = (_yscale + 40);
_alpha = (_alpha - 4);
} else {
this.removeMovieClip();
}
if (targ != undefined) {
gotoAndStop(targ);
}
}
var sizer = (random(20) + 40);
stop();
Symbol 57 Button
on (rollOver, dragOver) {
dispText = ID;
}
on (rollOut, dragOut) {
dispText = "";
}
Symbol 63 MovieClip [WeightSphere] Frame 1
function onPress() {
_parent._parent.newRipple(_x, _y);
_root.playSound("BOUNCE2");
this.swapDepths(_parent._parent.BALLS.getNextHighestDepth());
slotHold.contentsWeight = undefined;
slotHold.slotActive = false;
dragActive = true;
}
function onMouseUp() {
if (dragActive == true) {
found = false;
i = 0;
while (i < _parent._parent.slotArray.length) {
if (found == false) {
slot = _parent._parent.slotArray[i];
if (slot.slotActive == false) {
if (_parent._parent.pythag(_x, _y, slot._x, slot._y) < 40) {
slot.slotActive = true;
_root.playSound("BOUNCE" + (random(3) + 3));
_parent._parent.newRipple(slot._x, slot._y, 3);
slot.contentsWeight = weight;
slotHold = slot;
found = true;
}
}
}
i++;
}
if (found == false) {
_parent._parent.newRipple(_x, _y, 2);
_root.playSound("BOUNCE1");
setX = origX;
setY = origY;
slotHold = undefined;
}
dragActive = false;
}
}
function onEnterFrame() {
if (_parent._parent.endGame == true) {
weightText = weight + "\nlbs";
IDText = "";
}
if (dragActive == true) {
targX = _parent._xmouse;
targY = _parent._ymouse;
} else if (slotHold != undefined) {
targX = slotHold._x;
targY = slotHold._y;
} else {
targX = setX;
targY = setY;
}
_x = (_x + ((targX - _x) / 2));
_y = (_y + ((targY - _y) / 2));
}
dragActive = false;
origX = _x;
origY = _y;
setX = origX;
setY = origY;
weight = random(1000) / 10;
weightText = "";
IDText = ID;
slotHold = undefined;
Symbol 72 MovieClip Frame 1
var CPMStarPoolID = 1052;
var CPMStarSubPoolID = 1;
System.security.allowDomain("server.cpmstar.com");
var adVar = this.loadMovie((("http://server.cpmstar.com/adviewas2.swf?poolid=" + CPMStarPoolID) + "&subpoolid=") + CPMStarSubPoolID);
Symbol 84 Button
on (release) {
_root.play();
}
Symbol 100 Button
on (press) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 103 MovieClip Frame 1
_root.stop();
gotoAndPlay (2);
Symbol 103 MovieClip Frame 218
_root.play();
Symbol 109 Button
on (release) {
stopAllSounds();
this._x = -1000;
_root.eraseSlot(_root.SAVESLOT);
_root.gotoAndPlay(1);
}
Symbol 110 Button
on (release) {
this._x = -1000;
}
Symbol 116 Button
on (release) {
stopAllSounds();
this._x = -1000;
_root.gotoAndStop("TITLE");
}
Symbol 117 Button
on (release) {
_root.gamePaused = false;
this._x = -1000;
}
Symbol 131 MovieClip Frame 1
stop();
Symbol 133 Button
on (release) {
savefile.data.SLOTNAMEARRAY[1] = userName1.text;
_root.saveGame();
_root.SAVESLOT = 1;
gotoFrame("TITLE");
}
Symbol 137 Button
on (release) {
savefile.data.SLOTNAMEARRAY[2] = userName2.text;
_root.saveGame();
_root.SAVESLOT = 2;
gotoFrame("TITLE");
}
Symbol 140 Button
on (release) {
savefile.data.SLOTNAMEARRAY[3] = userName3.text;
_root.saveGame();
_root.SAVESLOT = 3;
gotoFrame("TITLE");
}
Symbol 150 Button
on (release) {
_root.SAVESLOT = 1;
eraseScreen._x = 0;
}
Symbol 151 Button
on (release) {
_root.SAVESLOT = 2;
eraseScreen._x = 0;
}
Symbol 152 Button
on (release) {
_root.SAVESLOT = 3;
eraseScreen._x = 0;
}
Symbol 159 Button
on (release) {
stopAllSounds();
gotoFrame("GAME");
}
Symbol 160 Button
on (release) {
gotoFrame("SAVELOAD");
}
Symbol 163 Button
on (release) {
if (graphButton._alpha == 100) {
_root.GRAPHTIME = undefined;
gotoFrame("GRAPH");
}
}
Symbol 165 Button
on (release) {
gotoFrame("ABOUT");
}
Symbol 167 Button
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 168 Button
on (release) {
getURL ("http://www.armorblog.com", "_blank");
}
Symbol 172 Button
on (release) {
getURL ("http://armorgames.com/play/1665/lesson-1-trajestimate", "_blank");
}
Symbol 174 Button
on (release) {
gotoFrame("TITLE");
}
Symbol 188 Button
on (release) {
_root.GRAPHTIME = 604800000 /* 0x240C8400 */;
_root.GRAPHSTRING = " time(s) this week.";
gotoFrame("GRAPH");
}
Symbol 189 Button
on (release) {
_root.GRAPHTIME = 86400000 /* 0x5265C00 */;
_root.GRAPHSTRING = " time(s) today.";
gotoFrame("GRAPH");
}
Symbol 190 Button
on (release) {
_root.GRAPHTIME = 3600000 /* 0x36EE80 */;
_root.GRAPHSTRING = " times(s) in the last hour.";
gotoFrame("GRAPH");
}
Symbol 192 Button
on (release) {
_root.GRAPHTIME = undefined;
_root.GRAPHSTRING = " time(s) in total.";
gotoFrame("GRAPH");
}
Symbol 196 Button
on (release) {
_root.GRAPHTIME = 900000 /* 0x0DBBA0 */;
_root.GRAPHSTRING = " time(s) in the last 15 minutes.";
gotoFrame("GRAPH");
}
Symbol 214 MovieClip Frame 1
stop();
Symbol 220 Button
on (release) {
var checkSum = 0;
_root.correct = true;
i = 0;
while (i < slotNum) {
if (_root.correct == true) {
slot = SLOTS["H" + i];
if (slot.contentsWeight > checkSum) {
_root.correct = true;
} else {
_root.correct = false;
}
checkSum = slot.contentsWeight;
}
i++;
}
endGame = true;
}
Symbol 224 MovieClip Frame 1
function pythag(x1, y1, x2, y2) {
return(Math.sqrt(Math.pow(y1 - y2, 2) + Math.pow(x1 - x2, 2)));
}
function angle(x1, y1, x2, y2) {
return(Math.round((Math.atan2(y2 - y1, x2 - x1) / 3.141593) * 180) + 90);
}
function calcSpeed(angle, speed) {
var _local2 = angle * 0.01745329;
var _local1 = new Object();
_local1.x = speed * Math.cos(_local2);
_local1.y = speed * Math.sin(_local2);
return(_local1);
}
function rotatedXY(xPos, yPos, rotate) {
var _local1 = new Object();
var _local2 = 0.0174444444444444 * rotate;
var _local4 = Math.sin(_local2);
var _local3 = Math.cos(_local2);
_local1.x = (xPos * _local3) - (yPos * _local4);
_local1.y = (xPos * _local4) + (yPos * _local3);
return(_local1);
}
function onEnterFrame() {
if (_root.EOB._alpha > 140) {
_root.EOB._x = 0;
_root.EOB._alpha = _root.EOB._alpha - 3;
} else {
_root.EOB._x = _root.EOB._x + EOBSpeed;
EOBSpeed++;
}
if (endGame == true) {
_root.EOB._x = 0;
if (_root.EOB._alpha < 300) {
_root.EOB._alpha = 300;
}
if (endTimer == 0) {
if (_root.correct == true) {
_root.playSound("WIN");
_root.score = _root.score + (30 + _root.bonus);
_root.EOB.scoreDisplay = ("30 Points plus bonus of " + _root.bonus) + " points!";
_root.EOB.displayText = "CONGRATULATIONS!";
_root.EOB._alpha = 300;
} else {
_root.playSound("LOSE");
_root.EOB.scoreDisplay = "NO POINTS FOR YOU!";
_root.EOB.displayText = "WRONG ORDER!";
_root.EOB._alpha = 300;
}
}
endTimer++;
if (endTimer > 120) {
if (_root.roundNum < 5) {
_root.gotoFrame("GAME");
} else {
_root.gotoFrame("RESULT");
}
}
} else {
_root.bonus = Math.round(AREA.timerTop._yscale / 3);
}
if (_root.gamePaused == true) {
_root.gamePausedBuffer = 15;
} else if (_root.gamePausedBuffer > 0) {
_root.gamePausedBuffer--;
}
if (_root.gamePausedBuffer == 0) {
timer--;
AREA.timerTop._yscale = (100 / maxTimer) * timer;
AREA.timerBottom._yscale = 100 - ((100 / maxTimer) * timer);
if (_root.bonus < 0) {
_root.bonus = 0;
}
if (SCALE1.contentsWeight == undefined) {
S1W = 0;
} else {
S1W = SCALE1.contentsWeight;
}
if (SCALE2.contentsWeight == undefined) {
S2W = 0;
} else {
S2W = SCALE2.contentsWeight;
}
if (S1W > S2W) {
scaleResult.gotoAndStop(2);
SCALE2Pos = SCALE2Orig - 20;
SCALE1Pos = SCALE1Orig + 20;
} else if (S1W < S2W) {
scaleResult.gotoAndStop(3);
SCALE2Pos = SCALE2Orig + 20;
SCALE1Pos = SCALE1Orig - 20;
} else {
scaleResult.gotoAndStop(1);
SCALE2Pos = SCALE2Orig;
SCALE1Pos = SCALE1Orig;
}
SCALE1._y = SCALE1._y + ((SCALE1Pos - SCALE1._y) / 4);
SCALE2._y = SCALE2._y + ((SCALE2Pos - SCALE2._y) / 4);
}
}
function newRipple(xPos, yPos, col) {
var _local1 = EFFECTS.attachMovie("Ripple", "R", EFFECTS.getNextHighestDepth());
_local1._x = xPos;
_local1._y = yPos;
_local1.targ = col;
}
function setFPS() {
var _local1 = new Date();
var _local2 = 0;
while (_local1.getTime() < FPSTimer) {
_local1 = new Date();
_local2++;
}
FPSTimer = _local1.getTime() + frameDelay;
}
function makeSlots() {
var _local2 = 0;
while (_local2 < slotNum) {
var _local1 = SLOTS.attachMovie("Hole", "H" + slotName, SLOTS.getNextHighestDepth());
slotName++;
_local1._x = (400 / slotNum) * (_local2 + 0.5);
_local1._y = 275;
_local1.slotActive = false;
slotArray.push(_local1);
_local2++;
}
SCALE1 = SCALESLIDES.attachMovie("Hole", "SCALE1", SCALESLIDES.getNextHighestDepth());
SCALE1._x = 50;
SCALE1._y = 160;
SCALE1.slotActive = false;
SCALE1.gotoAndStop(2);
slotArray.push(SCALE1);
SCALE1Orig = SCALE1._y;
SCALE2 = SCALESLIDES.attachMovie("Hole", "SCALE2", SCALESLIDES.getNextHighestDepth());
SCALE2._x = 150;
SCALE2._y = 160;
SCALE2.slotActive = false;
SCALE2.gotoAndStop(2);
SCALE2Orig = SCALE2._y;
slotArray.push(SCALE2);
}
function makeBalls() {
i = 0;
while (i < 3) {
clone = BALLS.attachMovie("WeightSphere", "H" + BALLS.getNextHighestDepth(), BALLS.getNextHighestDepth());
clone._x = 232 + (i * 60);
clone._y = 120;
clone.ID = balIDCount;
balIDCount++;
i++;
}
i = 0;
while (i < (_root.roundNum - 1)) {
clone = BALLS.attachMovie("WeightSphere", "H" + BALLS.getNextHighestDepth(), BALLS.getNextHighestDepth());
clone._x = 232 + (i * 60);
clone._y = 180;
clone.ID = balIDCount;
balIDCount++;
i++;
}
}
_root.highLightOrigin = undefined;
_root.ballNumber = 0;
difficulty = 1;
createEmptyMovieClip("SLOTS", 0);
createEmptyMovieClip("LINES", 1);
createEmptyMovieClip("EFFECTS", 2);
createEmptyMovieClip("BALLS", 3);
createEmptyMovieClip("SCALESLIDES", 5);
var frameDelay = 34;
_root.highLightActive = false;
ballBuffer = 0;
ballReload = false;
attachMovie("Area", "AREA", 4);
EOBScale = _root.EOB._xscale;
_root.gamePaused = false;
maxTimer = (_root.roundNum / 5) * 7500;
timer = maxTimer;
if (_root.muteSound == false) {
AREA.MSTick._visible = false;
}
AREA.PTick._visible = false;
AREA.timerTop.setMask(AREA.timerTopMask);
AREA.timerBottom.setMask(AREA.timerBottomMask);
_root.gamePausedBuffer = 0;
if (_root.roundNum == 1) {
if (_root.soundSel == 1) {
_root.playSound("MAIN");
} else if (_root.soundSel == 2) {
_root.playSound("MAIN2");
}
}
endGame = false;
endTimer = 0;
var EOBSpeed = -5;
var FPSTimer = 0;
slotArray = new Array();
var slotNum = (3 + (_root.roundNum - 1));
var slotName = 0;
balIDCount = 1;
makeSlots();
makeBalls();
Symbol 229 MovieClip Frame 1
function onEnterFrame() {
if (_root.gamePaused == false) {
if (currentScale < 100) {
_root.PSA._y = _root.PSA._y + 1;
if (_root.PSA._y > 0) {
_root.PSA._y = _root.PSA._y - (_root.PSA._height / 2);
}
currentScale = currentScale + 10;
var _local3 = 1;
while (_local3 < 9) {
this["shutter" + _local3]._yscale = currentScale;
this["shutter" + _local3].SA._xscale = currentScale;
_local3++;
}
}
} else {
_root.PSA._y = _root.PSA._y + 1;
if (_root.PSA._y > 0) {
_root.PSA._y = _root.PSA._y - (_root.PSA._height / 2);
}
if (currentScale > 0) {
currentScale = currentScale - 10;
var _local3 = 1;
while (_local3 < 9) {
this["shutter" + _local3]._yscale = currentScale;
this["shutter" + _local3].SA._xscale = currentScale;
_local3++;
}
}
}
}
var currentScale = 100;
Symbol 236 MovieClip Frame 1
_alpha = 600;
if (_root.roundNum == 1) {
displayText = "Welcome to Lesson 2";
scoreDisplay = "Time to test your logical thought process.";
} else if (_root.roundNum == 2) {
displayText = "ROUND 2";
scoreDisplay = "More balls means more reliance on memory logic!";
} else if (_root.roundNum == 3) {
displayText = "Round 3";
scoreDisplay = "Now it really get's tricky - try and work in a pattern...";
} else if (_root.roundNum == 4) {
displayText = "Final Round";
scoreDisplay = "Stay relaxed and remember to keep the sphere numbers in mind.";
}
_root.roundNum++;
stop();
Symbol 238 Button
on (release) {
var currentDate = new Date();
_root.savefile.data.SLOTLASTDATE[_root.GAMEID][_root.SAVESLOT] = _root.shortDate(currentDate);
_root.savefile.data.SCORESTORE.push(_root.score);
_root.savefile.data.DATESTORE.push(currentDate);
_root.savefile.data.SLOTARRAY.push(_root.SAVESLOT);
_root.savefile.data.IDSTORE.push(_root.GAMEID);
_root.saveGame();
gotoFrame("GRAPH");
}
Symbol 244 Button
on (release) {
getURL ("http://www.mamashealth.com/organs/brain2.asp", "_blank");
}