STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
233190
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2641 · P5282

<div style="position:absolute;top:-99px;left:-99px;"><img src="https://tools.swfchan.com/stathit.asp?noj=FRM98186676-30DC&rnd=98186676" width="1" height="1"></div>

armorgames lesson-3-kilogranima-1884.swf

This is the info page for
Flash #263694

(Click the ID number above for more basic data on this flash file.)


Text
Roll over one of the buttons below to view a description of its properties.

TOTAL SCORE

Bonus

Bonus

End Game

Mute Sound

Pause Game

Options

Bonus

6

Round

Select Sound

88888

99

PLAY

Developed by
ARMOR GAMES

Erase this save file?

Yes

No

Warning:
Deleting this save slot will
remove ALL of your recorded
data for this game.

Quit Current Game?

Slot 1

New User

No Dato

Slot 2

No Dato

Slot 3

No Dato

New User

New User

Select

Insert Name

Last Test

Erase Data

Slot

Select Save Slot

Armor Games "Put your mind to work" Series Lesson 3.

Based on leading research by Frank Opese

BACK

Begin

Graph

About

Dev
Blog

More
Games

Copyright Armor Games 2008

Play
Lesson
1

Animal Weight matching.

Play
Lesson
2

What is the Armor Games "Put your mind to work" series?

In late 2007, human mind enthusiast Frank Opese set to work on research into
procrastination at the work place.  He found that if people they put their minds
to work on a simple but fun task as early in the day as possible, even if only for
a short period of time, were less likely to succumb to stress later in the day.
Over a few days, this can lead many to feel better throughout the week. With
Opese's findings, paired with his love of game design, Joel Atkinson penned
several game concepts for this purpose. In conjunction with Armor Games, they
are hereby presented to you for your personal enjoyment.
Developed/Published by
Armor Games
Designed by
Joel Atkinson / Antony Lavelle
Programmed by
Antony Lavelle
Graphics by
Chris Ignatov/Antony Lavelle
Music by
AL-3B-D / Cyrus Jackson
Special Thanks
Everyone at Armor.

Your Activity Results.

The graph below indicates your performance over time. A steady
increase over time is preferable. Play every day for best results!

Score

Time

300

0

Click below for more specific results.

This
Hour

All

This
Day

This
Week

Last
15mins

Flat Tail Beaver

Emporer Penguin

African Giraffe

Democrat Donkey

Republican Elephant

KG

By Dragging weights into
the area below.

Once youve matched the weight of the animal, click check.

CHECK!

Match the weight of
the animal.

Excellent

Bonus

Excellent

Bonus

RESULT
You earned a score of
Shall we save this result
to your graph?

YES

No

Let's learn something about our mind's shall we?

Facts obtained from  "Times Online"

ActionScript [AS1/AS2]

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("ARMORACTIVEL3"); 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 = "Over the course of a day, your brain uses the amount of energy contained in two large bananas."; BF_1 = "Your brain uses less power than your refrigerator light."; BF_2 = "Your brain uses a fifth of all your blood."; BF_3 = "Neurosurgeons can probe the brain while a patient is conscious, as brains cannot feel pain!"; BF_4 = "Albert Einstein's brain may have been smaller than yours, because he was smaller than the average person."; BF_5 = "An elephant's brain is huge - about six times as large as a human brain, and weighs about 6 KG!"; BF_6 = "The male brain is usually around 15 percent larger than the female brain - but the femal brain is more efficient!"; BF_7 = "The cerebral cortex is the part of the brain that distinguishes humans from other species"; BF_8 = "It is not possible to tickle yourself. The cerebellum, a part of the brain, warns the rest of the brain that you are about to tickle yourself."; BF_9 = "Your brain is 80% water."; 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 (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; IDText = ""; 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 157 Button
on (release) { stopAllSounds(); gotoFrame("GAME"); }
Symbol 158 Button
on (release) { gotoFrame("SAVELOAD"); }
Symbol 161 Button
on (release) { if (graphButton._alpha == 100) { _root.GRAPHTIME = undefined; gotoFrame("GRAPH"); } }
Symbol 163 Button
on (release) { gotoFrame("ABOUT"); }
Symbol 165 Button
on (release) { getURL ("http://www.armorgames.com", "_blank"); }
Symbol 166 Button
on (release) { getURL ("http://www.armorblog.com", "_blank"); }
Symbol 170 Button
on (release) { getURL ("http://armorgames.com/play/1665/lesson-1-trajestimate", "_blank"); }
Symbol 176 Button
on (release) { getURL ("http://armorgames.com/play/1759/lesson-2-estiweight", "_blank"); }
Symbol 178 Button
on (release) { gotoFrame("TITLE"); }
Symbol 192 Button
on (release) { _root.GRAPHTIME = 604800000 /* 0x240C8400 */; _root.GRAPHSTRING = " time(s) this week."; gotoFrame("GRAPH"); }
Symbol 193 Button
on (release) { _root.GRAPHTIME = 86400000 /* 0x5265C00 */; _root.GRAPHSTRING = " time(s) today."; gotoFrame("GRAPH"); }
Symbol 194 Button
on (release) { _root.GRAPHTIME = 3600000 /* 0x36EE80 */; _root.GRAPHSTRING = " times(s) in the last hour."; gotoFrame("GRAPH"); }
Symbol 196 Button
on (release) { _root.GRAPHTIME = undefined; _root.GRAPHSTRING = " time(s) in total."; gotoFrame("GRAPH"); }
Symbol 200 Button
on (release) { _root.GRAPHTIME = 900000 /* 0x0DBBA0 */; _root.GRAPHSTRING = " time(s) in the last 15 minutes."; gotoFrame("GRAPH"); }
Symbol 217 MovieClip Frame 1
stop();
Symbol 224 Button
on (release) { if (endGame != true) { if (collectTotal == weightTarget) { _root.correct = true; } else { _root.correct = false; } } endGame = true; }
Symbol 228 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() { var _local2 = new Array(); i = 0; while (i < slotNum) { slot = SLOTS["H" + i]; if (slot.contentsWeight != undefined) { _local2.push(slot.contentsWeight); } i++; } collectTotal = _local2.sum(); 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 + (5 + _root.bonus); _root.EOB.scoreDisplay = ("5 Points plus bonus of " + _root.bonus) + " points!"; _root.EOB.displayText = "CONGRATULATIONS!"; _root.EOB._alpha = 200; } else { _root.playSound("LOSE"); _root.EOB.scoreDisplay = "Be more careful when you click!"; _root.EOB.displayText = "WRONG !"; _root.EOB._alpha = 200; } } endTimer++; if (endTimer > 80) { if (_root.roundNum < 6) { _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 = slotXPos[_local2]; _local1._y = slotHeight[_local2]; _local1.slotActive = false; slotArray.push(_local1); _local2++; } } function makeWeights() { weightSum = 0; weightCount = 0; while (weightSum < weightTarget) { addSum = Math.round((weightTarget / slotNum) + random(weightTarget / 3)); while ((addSum + weightSum) > weightTarget) { addSum--; trace("reduction"); } weightDist[weightCount] = addSum; weightSum = weightSum + addSum; weightCount++; } if (weightTarget > weightSum) { weightDist[weightDist.length] = weightDist[weightDist.length] - (weightDist.sum() - weightTarget); } weightTarget = weightDist.sum(); weightTargetText = weightTarget + "KG"; trace(weightDist); while (weightDist.length < (slotNum + 2)) { weightDist.push(Math.round(random(weightTarget / 3))); } weightDist.shuffle(); while (random(20) != 0) { weightDist.shuffle(); } trace(weightDist); } function makeBalls() { i = 0; while (i < (slotNum + 2)) { clone = BALLS.attachMovie("WeightSphere", "H" + balIDCount, BALLS.getNextHighestDepth()); clone._x = (400 / (slotNum + 2)) * (i + 0.5); clone._y = 275; clone.weight = weightDist[i]; clone.weightText = clone.weight; clone.typeText = "KG"; if (random(5) == 0) { clone.weightText = clone.weight + ",000"; clone.typeText = "g"; } clone._xscale = 80 + ((weightDist[i] * 20) / weightTarget); clone._yscale = 80 + ((weightDist[i] * 20) / weightTarget); clone.ID = balIDCount; balIDCount++; i++; } } Array.prototype.sum = function () { var _local3 = 0; var _local2 = 0; while (_local2 < this.length) { _local3 = _local3 + this[_local2]; _local2++; } return(_local3); }; Array.prototype.shuffle = function () { i = 0; while (i < this.length) { var _local3 = this[i]; var _local2 = random(this.length); this[i] = this[_local2]; this[_local2] = _local3; i++; } }; animalGraphic.gotoAndStop(_root.roundNum); _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 / 2) * 2000; 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(); slotNumArray = new Array(1, 4, 5, 6, 7); var slotNum = _root.roundNum; var slotName = 0; slotHeight = new Array(100, 100, 100, 150, 150, 150, 200, 200, 200); slotXPos = new Array(250, 300, 350, 250, 300, 350, 250, 300, 350); balIDCount = 0; weightTargetArray = new Array(null, 8, 28, 280, 140, 400); weightTarget = weightTargetArray[_root.roundNum] + random(10); weightDist = new Array(); weightOver = 0; randomBalls = new Array(); makeSlots(); makeWeights(); makeBalls();
Symbol 233 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 240 MovieClip Frame 1
_alpha = 400; if (_root.roundNum == 1) { displayText = "Welcome to Lesson 3"; scoreDisplay = "Time to test your mental agility."; } else if (_root.roundNum == 2) { displayText = "ROUND 2"; scoreDisplay = "This lesson is actually more about thought process than maths."; } else if (_root.roundNum == 3) { displayText = "Round 3"; scoreDisplay = "Ready for this to get alot more tricky?"; } else if (_root.roundNum == 4) { displayText = "Democrat round"; scoreDisplay = "Keep going, partner, show that Donkey who's boss."; } else if (_root.roundNum == 5) { displayText = "Republican round"; scoreDisplay = "That Elephant sure is hefty - but can you outweigh its policies?"; } _root.roundNum++; stop();
Symbol 242 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"); }

Library Items

Symbol 1 GraphicUsed by:5
Symbol 2 GraphicUsed by:3
Symbol 3 MovieClipUses:2Used by:5  Timeline
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClip [HOLE]Uses:1 3 4
Symbol 6 GraphicUsed by:48
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClipUses:7Used by:48
Symbol 9 GraphicUsed by:48
Symbol 10 GraphicUsed by:16
Symbol 11 GraphicUsed by:16
Symbol 12 GraphicUsed by:16
Symbol 13 GraphicUsed by:16
Symbol 14 GraphicUsed by:16
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClipUses:10 11 12 13 14 15Used by:17
Symbol 17 MovieClipUses:16Used by:48
Symbol 18 GraphicUsed by:19
Symbol 19 MovieClipUses:18Used by:48
Symbol 20 GraphicUsed by:23
Symbol 21 GraphicUsed by:23
Symbol 22 GraphicUsed by:23
Symbol 23 MovieClipUses:20 21 22Used by:48
Symbol 24 GraphicUsed by:48
Symbol 25 FontUsed by:26 87
Symbol 26 EditableTextUses:25Used by:48
Symbol 27 FontUsed by:28 29 30 35 37 39 44 45 46 55 58 111 112 113 114 118 134 135 136 138 139 141 142 143 144 145 146 147 148 149 153 155 156 159 160 162 164 167 168 169 171 177 180 182 184 185 186 187 188 189 190 195 197 198 199 201 202 222 223 225 227 236 237 238 239 241 243 244 245 246 247 248
Symbol 28 TextUses:27Used by:48
Symbol 29 TextUses:27Used by:48
Symbol 30 EditableTextUses:27Used by:48
Symbol 31 GraphicUsed by:34 36 38 84 109 110 116 117 133 137 140 150 151 152 157 158 161 163 165 166 170 176 178 192 193 194 196 200 224 242
Symbol 32 GraphicUsed by:34 36 38 84 109 110 116 117 133 137 140 150 151 152 157 158 161 163 165 166 170 176 178 192 193 194 196 200 224 242
Symbol 33 GraphicUsed by:34 36 38 84 109 110 116 117 133 137 140 150 151 152 157 158 161 163 165 166 170 176 178 192 193 194 196 200 224 242
Symbol 34 ButtonUses:31 32 33Used by:48
Symbol 35 TextUses:27Used by:48
Symbol 36 ButtonUses:31 32 33Used by:48
Symbol 37 EditableTextUses:27Used by:48
Symbol 38 ButtonUses:31 32 33Used by:48
Symbol 39 TextUses:27Used by:48
Symbol 40 GraphicUsed by:41
Symbol 41 MovieClipUses:40Used by:48
Symbol 42 FontUsed by:43 47 61 62 179 180 181 208 210 212 214 216 218 219 220
Symbol 43 TextUses:42Used by:48
Symbol 44 EditableTextUses:27Used by:48
Symbol 45 EditableTextUses:27Used by:48
Symbol 46 TextUses:27Used by:48
Symbol 47 TextUses:42Used by:48
Symbol 48 MovieClip [Area]Uses:6 8 9 17 19 23 24 26 28 29 30 34 35 36 37 38 39 41 43 44 45 46 47
Symbol 49 GraphicUsed by:50
Symbol 50 MovieClip [Ball]Uses:49
Symbol 51 GraphicUsed by:54
Symbol 52 GraphicUsed by:54
Symbol 53 GraphicUsed by:54
Symbol 54 MovieClip [Ripple]Uses:51 52 53
Symbol 55 EditableTextUses:27Used by:59
Symbol 56 GraphicUsed by:57
Symbol 57 ButtonUses:56Used by:59
Symbol 58 EditableTextUses:27Used by:59
Symbol 59 MovieClip [RGP]Uses:55 57 58
Symbol 60 GraphicUsed by:63
Symbol 61 EditableTextUses:42Used by:63
Symbol 62 EditableTextUses:42Used by:63
Symbol 63 MovieClip [WeightSphere]Uses:60 61 62
Symbol 64 GraphicUsed by:Timeline
Symbol 65 GraphicUsed by:66
Symbol 66 MovieClipUses:65Used by:Timeline
Symbol 67 GraphicUsed by:68
Symbol 68 MovieClipUses:67Used by:72
Symbol 69 BitmapUsed by:70
Symbol 70 GraphicUses:69Used by:71
Symbol 71 MovieClipUses:70Used by:72
Symbol 72 MovieClipUses:68 71Used by:Timeline
Symbol 73 GraphicUsed by:83
Symbol 74 GraphicUsed by:78
Symbol 75 GraphicUsed by:76
Symbol 76 MovieClipUses:75Used by:78
Symbol 77 GraphicUsed by:78
Symbol 78 MovieClipUses:74 76 77Used by:83
Symbol 79 ShapeTweeningUsed by:83
Symbol 80 GraphicUsed by:81
Symbol 81 MovieClipUses:80Used by:83
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClipUses:73 78 79 81 82Used by:Timeline
Symbol 84 ButtonUses:31 32 33Used by:Timeline
Symbol 85 FontUsed by:86
Symbol 86 TextUses:85Used by:Timeline
Symbol 87 TextUses:25Used by:Timeline
Symbol 88 GraphicUsed by:103
Symbol 89 GraphicUsed by:103
Symbol 90 GraphicUsed by:103
Symbol 91 SoundUsed by:103
Symbol 92 SoundUsed by:103
Symbol 93 GraphicUsed by:103
Symbol 94 GraphicUsed by:95
Symbol 95 MovieClipUses:94Used by:103
Symbol 96 SoundUsed by:103
Symbol 97 SoundUsed by:103
Symbol 98 SoundUsed by:103
Symbol 99 GraphicUsed by:100
Symbol 100 ButtonUses:99Used by:103
Symbol 101 SoundUsed by:103
Symbol 102 SoundUsed by:103
Symbol 103 MovieClipUses:88 89 90 91 92 93 95 96 97 98 100 101 102Used by:Timeline
Symbol 104 BitmapUsed by:105
Symbol 105 GraphicUses:104Used by:106
Symbol 106 MovieClipUses:105Used by:228  Timeline
Symbol 107 GraphicUsed by:108
Symbol 108 ButtonUses:107Used by:115 119
Symbol 109 ButtonUses:31 32 33Used by:115
Symbol 110 ButtonUses:31 32 33Used by:115
Symbol 111 TextUses:27Used by:115
Symbol 112 TextUses:27Used by:115 119
Symbol 113 TextUses:27Used by:115 119
Symbol 114 TextUses:27Used by:115
Symbol 115 MovieClipUses:108 109 110 111 112 113 114Used by:Timeline
Symbol 116 ButtonUses:31 32 33Used by:119
Symbol 117 ButtonUses:31 32 33Used by:119
Symbol 118 TextUses:27Used by:119
Symbol 119 MovieClipUses:108 116 117 118 112 113Used by:Timeline
Symbol 120 GraphicUsed by:131
Symbol 121 SoundUsed by:131
Symbol 122 SoundUsed by:131
Symbol 123 SoundUsed by:131
Symbol 124 SoundUsed by:131
Symbol 125 SoundUsed by:131
Symbol 126 SoundUsed by:131
Symbol 127 SoundUsed by:131
Symbol 128 SoundUsed by:131
Symbol 129 SoundUsed by:131
Symbol 130 SoundUsed by:131
Symbol 131 MovieClipUses:120 121 122 123 124 125 126 127 128 129 130Used by:Timeline
Symbol 132 GraphicUsed by:Timeline
Symbol 133 ButtonUses:31 32 33Used by:Timeline
Symbol 134 TextUses:27Used by:Timeline
Symbol 135 EditableTextUses:27Used by:Timeline
Symbol 136 EditableTextUses:27Used by:Timeline
Symbol 137 ButtonUses:31 32 33Used by:Timeline
Symbol 138 TextUses:27Used by:Timeline
Symbol 139 EditableTextUses:27Used by:Timeline
Symbol 140 ButtonUses:31 32 33Used by:Timeline
Symbol 141 TextUses:27Used by:Timeline
Symbol 142 EditableTextUses:27Used by:Timeline
Symbol 143 EditableTextUses:27Used by:Timeline
Symbol 144 EditableTextUses:27Used by:Timeline
Symbol 145 TextUses:27Used by:Timeline
Symbol 146 TextUses:27Used by:Timeline
Symbol 147 TextUses:27Used by:Timeline
Symbol 148 TextUses:27Used by:Timeline
Symbol 149 TextUses:27Used by:Timeline
Symbol 150 ButtonUses:31 32 33Used by:Timeline
Symbol 151 ButtonUses:31 32 33Used by:Timeline
Symbol 152 ButtonUses:31 32 33Used by:Timeline
Symbol 153 TextUses:27Used by:Timeline
Symbol 154 GraphicUsed by:Timeline
Symbol 155 TextUses:27Used by:Timeline
Symbol 156 TextUses:27Used by:Timeline
Symbol 157 ButtonUses:31 32 33Used by:Timeline
Symbol 158 ButtonUses:31 32 33Used by:Timeline
Symbol 159 TextUses:27Used by:Timeline
Symbol 160 TextUses:27Used by:Timeline
Symbol 161 ButtonUses:31 32 33Used by:Timeline
Symbol 162 TextUses:27Used by:Timeline
Symbol 163 ButtonUses:31 32 33Used by:Timeline
Symbol 164 TextUses:27Used by:Timeline
Symbol 165 ButtonUses:31 32 33Used by:Timeline
Symbol 166 ButtonUses:31 32 33Used by:Timeline
Symbol 167 TextUses:27Used by:Timeline
Symbol 168 TextUses:27Used by:Timeline
Symbol 169 TextUses:27Used by:Timeline
Symbol 170 ButtonUses:31 32 33Used by:Timeline
Symbol 171 TextUses:27Used by:Timeline
Symbol 172 GraphicUsed by:173
Symbol 173 MovieClipUses:172Used by:Timeline
Symbol 174 FontUsed by:175
Symbol 175 TextUses:174Used by:Timeline
Symbol 176 ButtonUses:31 32 33Used by:Timeline
Symbol 177 TextUses:27Used by:Timeline
Symbol 178 ButtonUses:31 32 33Used by:Timeline
Symbol 179 TextUses:42Used by:Timeline
Symbol 180 TextUses:27 42Used by:Timeline
Symbol 181 TextUses:42Used by:Timeline
Symbol 182 TextUses:27Used by:Timeline
Symbol 183 GraphicUsed by:191
Symbol 184 EditableTextUses:27Used by:191
Symbol 185 EditableTextUses:27Used by:191
Symbol 186 TextUses:27Used by:191
Symbol 187 TextUses:27Used by:191
Symbol 188 TextUses:27Used by:191
Symbol 189 TextUses:27Used by:191
Symbol 190 TextUses:27Used by:191
Symbol 191 MovieClipUses:183 184 185 186 187 188 189 190Used by:Timeline
Symbol 192 ButtonUses:31 32 33Used by:Timeline
Symbol 193 ButtonUses:31 32 33Used by:Timeline
Symbol 194 ButtonUses:31 32 33Used by:Timeline
Symbol 195 TextUses:27Used by:Timeline
Symbol 196 ButtonUses:31 32 33Used by:Timeline
Symbol 197 TextUses:27Used by:Timeline
Symbol 198 TextUses:27Used by:Timeline
Symbol 199 TextUses:27Used by:Timeline
Symbol 200 ButtonUses:31 32 33Used by:Timeline
Symbol 201 TextUses:27Used by:Timeline
Symbol 202 EditableTextUses:27Used by:Timeline
Symbol 203 BitmapUsed by:204
Symbol 204 GraphicUses:203Used by:205
Symbol 205 MovieClipUses:204Used by:Timeline
Symbol 206 GraphicUsed by:228  Timeline
Symbol 207 GraphicUsed by:217
Symbol 208 TextUses:42Used by:217
Symbol 209 GraphicUsed by:217
Symbol 210 TextUses:42Used by:217
Symbol 211 GraphicUsed by:217
Symbol 212 TextUses:42Used by:217
Symbol 213 GraphicUsed by:217
Symbol 214 TextUses:42Used by:217
Symbol 215 GraphicUsed by:217
Symbol 216 TextUses:42Used by:217
Symbol 217 MovieClipUses:207 208 209 210 211 212 213 214 215 216Used by:228
Symbol 218 EditableTextUses:42Used by:228
Symbol 219 EditableTextUses:42Used by:228
Symbol 220 TextUses:42Used by:228
Symbol 221 GraphicUsed by:228
Symbol 222 TextUses:27Used by:228
Symbol 223 TextUses:27Used by:228
Symbol 224 ButtonUses:31 32 33Used by:228
Symbol 225 TextUses:27Used by:228
Symbol 226 GraphicUsed by:228
Symbol 227 TextUses:27Used by:228
Symbol 228 MovieClipUses:206 106 217 218 219 220 221 222 223 224 225 226 227Used by:Timeline
Symbol 229 GraphicUsed by:233
Symbol 230 GraphicUsed by:231
Symbol 231 MovieClipUses:230Used by:232
Symbol 232 MovieClipUses:231Used by:233
Symbol 233 MovieClipUses:229 232Used by:Timeline
Symbol 234 GraphicUsed by:235
Symbol 235 ButtonUses:234Used by:240
Symbol 236 EditableTextUses:27Used by:240
Symbol 237 EditableTextUses:27Used by:240
Symbol 238 EditableTextUses:27Used by:240
Symbol 239 EditableTextUses:27Used by:240
Symbol 240 MovieClipUses:235 236 237 238 239Used by:Timeline
Symbol 241 TextUses:27Used by:Timeline
Symbol 242 ButtonUses:31 32 33Used by:Timeline
Symbol 243 TextUses:27Used by:Timeline
Symbol 244 EditableTextUses:27Used by:Timeline
Symbol 245 TextUses:27Used by:Timeline
Symbol 246 TextUses:27Used by:Timeline
Symbol 247 TextUses:27Used by:Timeline
Symbol 248 EditableTextUses:27Used by:Timeline

Instance Names

"adBox"Frame 1Symbol 72 MovieClip
"bar"Frame 2Symbol 83 MovieClip
"eraseScreen"Frame 6Symbol 115 MovieClip
"quitScreen"Frame 6Symbol 119 MovieClip
"FADER"Frame 6Symbol 106 MovieClip
"sound"Frame 6Symbol 131 MovieClip
"userName1"Frame 7Symbol 135 EditableText
"userName1Date"Frame 7Symbol 136 EditableText
"userName2Date"Frame 7Symbol 139 EditableText
"userName3Date"Frame 7Symbol 142 EditableText
"userName2"Frame 7Symbol 143 EditableText
"userName3"Frame 7Symbol 144 EditableText
"graphButton"Frame 8Symbol 161 Button
"graphButton"Frame 8Symbol 163 Button
"graphButton"Frame 8Symbol 165 Button
"graphButton"Frame 8Symbol 166 Button
"graphButton"Frame 8Symbol 170 Button
"graphButton"Frame 8Symbol 176 Button
"GRAPH"Frame 10Symbol 191 MovieClip
"descText"Frame 10Symbol 202 EditableText
"PSA"Frame 11Symbol 205 MovieClip
"ENGINE"Frame 11Symbol 228 MovieClip
"SHUTTER"Frame 11Symbol 233 MovieClip
"EOB"Frame 11Symbol 240 MovieClip
"ring_O"Symbol 5 MovieClip [HOLE] Frame 1Symbol 3 MovieClip
"ring_I"Symbol 5 MovieClip [HOLE] Frame 1Symbol 3 MovieClip
"L4"Symbol 48 MovieClip [Area] Frame 1Symbol 8 MovieClip
"L3"Symbol 48 MovieClip [Area] Frame 1Symbol 8 MovieClip
"L2"Symbol 48 MovieClip [Area] Frame 1Symbol 8 MovieClip
"L1"Symbol 48 MovieClip [Area] Frame 1Symbol 8 MovieClip
"timerTop"Symbol 48 MovieClip [Area] Frame 1Symbol 17 MovieClip
"timerBottom"Symbol 48 MovieClip [Area] Frame 1Symbol 17 MovieClip
"timerTopMask"Symbol 48 MovieClip [Area] Frame 1Symbol 19 MovieClip
"timerBottomMask"Symbol 48 MovieClip [Area] Frame 1Symbol 19 MovieClip
"OptionsDesc"Symbol 48 MovieClip [Area] Frame 1Symbol 26 EditableText
"PTick"Symbol 48 MovieClip [Area] Frame 1Symbol 41 MovieClip
"startDate"Symbol 191 MovieClip Frame 1Symbol 184 EditableText
"endDate"Symbol 191 MovieClip Frame 1Symbol 185 EditableText
"animalGraphic"Symbol 228 MovieClip Frame 1Symbol 217 MovieClip
"SA"Symbol 232 MovieClip Frame 1Symbol 231 MovieClip
"shutter1"Symbol 233 MovieClip Frame 1Symbol 232 MovieClip
"shutter2"Symbol 233 MovieClip Frame 1Symbol 232 MovieClip
"shutter3"Symbol 233 MovieClip Frame 1Symbol 232 MovieClip
"shutter4"Symbol 233 MovieClip Frame 1Symbol 232 MovieClip
"shutter5"Symbol 233 MovieClip Frame 1Symbol 232 MovieClip
"shutter6"Symbol 233 MovieClip Frame 1Symbol 232 MovieClip
"shutter7"Symbol 233 MovieClip Frame 1Symbol 232 MovieClip
"shutter8"Symbol 233 MovieClip Frame 1Symbol 232 MovieClip
"BG"Symbol 240 MovieClip Frame 1Symbol 235 Button

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 5 as "HOLE"
ExportAssets (56)Timeline Frame 1Symbol 48 as "Area"
ExportAssets (56)Timeline Frame 1Symbol 50 as "Ball"
ExportAssets (56)Timeline Frame 1Symbol 54 as "Ripple"
ExportAssets (56)Timeline Frame 1Symbol 59 as "RGP"
ExportAssets (56)Timeline Frame 1Symbol 63 as "WeightSphere"

Labels

"SAVELOAD"Frame 7
"TITLE"Frame 8
"ABOUT"Frame 9
"GRAPH"Frame 10
"GAME"Frame 11
"RESULT"Frame 12
"BLANK"Frame 13
"MAIN"Symbol 131 MovieClip Frame 2
"WIN"Symbol 131 MovieClip Frame 3
"LOSE"Symbol 131 MovieClip Frame 4
"BOUNCE1"Symbol 131 MovieClip Frame 5
"BOUNCE2"Symbol 131 MovieClip Frame 6
"BOUNCE3"Symbol 131 MovieClip Frame 7
"BOUNCE4"Symbol 131 MovieClip Frame 8
"BOUNCE5"Symbol 131 MovieClip Frame 9
"MENU"Symbol 131 MovieClip Frame 10
"MAIN2"Symbol 131 MovieClip Frame 11

Dynamic Text Variables

_root.bonusSymbol 30 EditableText"Bonus"
soundTextSymbol 37 EditableText"Mute Sound"
_root.scoreSymbol 44 EditableText"Bonus"
roundNumTextSymbol 45 EditableText"6"
dispTextSymbol 55 EditableText""
dispTextSymbol 58 EditableText""
weightTextSymbol 61 EditableText"88888"
typeTextSymbol 62 EditableText"99"
weightTargetTextSymbol 218 EditableText""
collectTotalSymbol 219 EditableText""
displayTextSymbol 236 EditableText"Excellent"
scoreDisplaySymbol 237 EditableText"Bonus"
displayTextSymbol 238 EditableText"Excellent"
scoreDisplaySymbol 239 EditableText"Bonus"
_root.scoreSymbol 244 EditableText""
brainFactSymbol 248 EditableText""




https://swfchan.com/53/263694/info.shtml
Created: 10/4 -2026 02:46:23 Last modified: 10/4 -2026 02:46:23 Server time: 30/04 -2026 04:43:51