Frame 1
gameDone = true;
Stage.showMenu = false;
Frame 2
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("3aab85eb", this, 10301, true);
function killSwitch() {
for (var _local2 in _root) {
if (typeof(_root[_local2]) == "movieclip") {
_root[_local2].removeMovieClip();
}
}
}
stop();
worldBeat2.stop();
mcCamera2._visible = false;
if (gameDone == true) {
o2._visible = true;
} else {
o2._visible = false;
}
o1.onRelease = function () {
gotoAndStop ("game");
};
o2.onRelease = function () {
gotoAndStop ("capitalCities");
};
o3.onRelease = function () {
getURL ("http://www.armorgames.com");
};
o4.onRelease = function () {
getURL ("http://rankz.armorbot.com/geoqueez/");
};
swoosh = new Sound();
swoosh.attachSound("swoosh");
correctAnswer = new Sound();
correctAnswer.attachSound("correctAnswer");
wrongAnswer = new Sound();
wrongAnswer.attachSound("wrongAnswer");
sitar = new Sound();
sitar.attachSound("sitar");
music = new Sound();
music.attachSound("music");
popSound = new Sound();
popSound.attachSound("pop");
buttonRollover = new Sound();
buttonRollover.attachSound("buttonRollover");
worldbeat = new Sound();
worldbeat.attachSound("worldbeat");
worldbeat.start(0, 999);
worldBeat2 = new Sound();
worldBeat2.attachSound("worldBeat2");
loseSound = new Sound();
loseSound.attachSound("loseSound");
cry = new Sound();
cry.attachSound("cry");
correct = function () {
correctAnswer.start();
mcCamera.mcPanic._visible = false;
mcCamera.mcRight.gotoAndPlay(2);
mcCamera.mcTimer.mcTimerBar._xscale = 100;
questionNumber++;
};
correct2 = function () {
correctAnswer.start();
};
incorrect = function () {
wrongAnswer.start();
mcCamera.mcTimer.mcTimerBar._xscale = 100;
mcCamera.mcWrong.gotoAndPlay(2);
mcCamera.mcLives.nextFrame();
};
incorrect2 = function () {
wrongAnswer.start();
mcCamera.mcLives.nextFrame();
};
killSwitch();
Frame 3
worldbeat.stop();
lastQuestion = false;
mcCamera._visible = true;
motionSpeed = 1;
timerSpeed = 0.3;
questionNumber = 1;
score = 0;
questionNr = 0;
questionProgress = false;
continentName = "none";
mcCamera.swapDepths(5);
firstTime = true;
mcCamera.mute._visible = false;
continentTextAppear = function () {
_root.attachMovie("mcContinentNotification", "mcContinentText", 0, {_x:mcCamera._x, _y:mcCamera._y});
};
timerbar = function () {
mcCamera.mcTimer.mcTimerBar._xscale = 100;
mcCamera.mcTimer.mcTimerBar.onEnterFrame = function () {
if ((questionProgress == true) && (this._xscale >= 0)) {
this._xscale = this._xscale - timerSpeed;
} else if ((questionProgress == true) && (this._xscale <= 0)) {
mcCamera.mcLives.nextFrame();
this._xscale = 100;
}
};
};
europe = function () {
swoosh.start();
questionProgress = false;
mcCamera.mcTimer.mcTimerBar._xscale = 100;
mcCamera.mcPanic._visible = false;
var _local1 = new mx.transitions.Tween(mcCamera, "_x", mx.transitions.easing.Elastic.easeOut, mcCamera._x, 500, motionSpeed, true);
var _local2 = new mx.transitions.Tween(mcCamera, "_y", mx.transitions.easing.Elastic.easeOut, mcCamera._y, 250, motionSpeed, true);
var _local3 = new mx.transitions.Tween(mcCamera, "_xscale", mx.transitions.easing.Elastic.easeOut, mcCamera._xscale, 40, motionSpeed, true);
var _local4 = new mx.transitions.Tween(mcCamera, "_yscale", mx.transitions.easing.Elastic.easeOut, mcCamera._yscale, 40, motionSpeed, true);
_local1.onMotionFinished = function () {
continentName = "europe";
continentTextAppear();
};
};
africa = function () {
swoosh.start();
questionProgress = false;
mcCamera.mcTimer.mcTimerBar._xscale = 100;
mcCamera.mcPanic._visible = false;
var _local1 = new mx.transitions.Tween(mcCamera, "_x", mx.transitions.easing.Elastic.easeOut, mcCamera._x, 500, motionSpeed, true);
var _local4 = new mx.transitions.Tween(mcCamera, "_y", mx.transitions.easing.Elastic.easeOut, mcCamera._y, 420, motionSpeed, true);
var _local2 = new mx.transitions.Tween(mcCamera, "_xscale", mx.transitions.easing.Elastic.easeOut, mcCamera._xscale, 50, motionSpeed, true);
var _local3 = new mx.transitions.Tween(mcCamera, "_yscale", mx.transitions.easing.Elastic.easeOut, mcCamera._yscale, 50, motionSpeed, true);
_local1.onMotionFinished = function () {
continentName = "africa";
continentTextAppear();
};
};
australia = function () {
swoosh.start();
questionProgress = false;
mcCamera.mcTimer.mcTimerBar._xscale = 100;
mcCamera.mcPanic._visible = false;
var _local1 = new mx.transitions.Tween(mcCamera, "_x", mx.transitions.easing.Elastic.easeOut, mcCamera._x, 788, motionSpeed, true);
var _local4 = new mx.transitions.Tween(mcCamera, "_y", mx.transitions.easing.Elastic.easeOut, mcCamera._y, 490, motionSpeed, true);
var _local3 = new mx.transitions.Tween(mcCamera, "_xscale", mx.transitions.easing.Elastic.easeOut, mcCamera._xscale, 40, motionSpeed, true);
var _local2 = new mx.transitions.Tween(mcCamera, "_yscale", mx.transitions.easing.Elastic.easeOut, mcCamera._yscale, 40, motionSpeed, true);
_local1.onMotionFinished = function () {
continentName = "australia";
continentTextAppear();
};
};
northAmerica = function () {
swoosh.start();
questionProgress = false;
mcCamera.mcTimer.mcTimerBar._xscale = 100;
mcCamera.mcPanic._visible = false;
var _local1 = new mx.transitions.Tween(mcCamera, "_x", mx.transitions.easing.Elastic.easeOut, mcCamera._x, 180, motionSpeed, true);
var _local4 = new mx.transitions.Tween(mcCamera, "_y", mx.transitions.easing.Elastic.easeOut, mcCamera._y, 280, motionSpeed, true);
var _local2 = new mx.transitions.Tween(mcCamera, "_xscale", mx.transitions.easing.Elastic.easeOut, mcCamera._xscale, 60, motionSpeed, true);
var _local3 = new mx.transitions.Tween(mcCamera, "_yscale", mx.transitions.easing.Elastic.easeOut, mcCamera._yscale, 60, motionSpeed, true);
_local1.onMotionFinished = function () {
continentName = "northAmerica";
continentTextAppear();
};
};
southAmerica = function () {
swoosh.start();
questionProgress = false;
mcCamera.mcTimer.mcTimerBar._xscale = 100;
mcCamera.mcPanic._visible = false;
var _local1 = new mx.transitions.Tween(mcCamera, "_x", mx.transitions.easing.Elastic.easeOut, mcCamera._x, 280, motionSpeed, true);
var _local4 = new mx.transitions.Tween(mcCamera, "_y", mx.transitions.easing.Elastic.easeOut, mcCamera._y, 480, motionSpeed, true);
var _local3 = new mx.transitions.Tween(mcCamera, "_xscale", mx.transitions.easing.Elastic.easeOut, mcCamera._xscale, 50, motionSpeed, true);
var _local2 = new mx.transitions.Tween(mcCamera, "_yscale", mx.transitions.easing.Elastic.easeOut, mcCamera._yscale, 50, motionSpeed, true);
_local1.onMotionFinished = function () {
continentName = "southAmerica";
continentTextAppear();
};
};
asia = function () {
swoosh.start();
questionProgress = false;
mcCamera.mcTimer.mcTimerBar._xscale = 100;
mcCamera.mcPanic._visible = false;
var _local1 = new mx.transitions.Tween(mcCamera, "_x", mx.transitions.easing.Elastic.easeOut, mcCamera._x, 695, motionSpeed, true);
var _local2 = new mx.transitions.Tween(mcCamera, "_y", mx.transitions.easing.Elastic.easeOut, mcCamera._y, 270, motionSpeed, true);
var _local4 = new mx.transitions.Tween(mcCamera, "_xscale", mx.transitions.easing.Elastic.easeOut, mcCamera._xscale, 65, motionSpeed, true);
var _local3 = new mx.transitions.Tween(mcCamera, "_yscale", mx.transitions.easing.Elastic.easeOut, mcCamera._yscale, 65, motionSpeed, true);
_local1.onMotionFinished = function () {
continentName = "asia";
continentTextAppear();
};
};
world = function () {
swoosh.start();
questionProgress = false;
mcCamera.mcTimer.mcTimerBar._xscale = 100;
mcCamera.mcPanic._visible = false;
var _local1 = new mx.transitions.Tween(mcCamera, "_x", mx.transitions.easing.Elastic.easeOut, mcCamera._x, 450, motionSpeed, true);
var _local4 = new mx.transitions.Tween(mcCamera, "_y", mx.transitions.easing.Elastic.easeOut, mcCamera._y, 300, motionSpeed, true);
var _local3 = new mx.transitions.Tween(mcCamera, "_xscale", mx.transitions.easing.Elastic.easeOut, mcCamera._xscale, 125, motionSpeed, true);
var _local2 = new mx.transitions.Tween(mcCamera, "_yscale", mx.transitions.easing.Elastic.easeOut, mcCamera._yscale, 125, motionSpeed, true);
_local1.onMotionFinished = function () {
continentName = "world";
continentTextAppear();
};
};
intro = function () {
sitar.start();
questionProgress = false;
mcCamera.mcTimer.mcTimerBar._xscale = 100;
var _local1 = new mx.transitions.Tween(mcCamera, "_xscale", mx.transitions.easing.Regular.easeOut, mcCamera._xscale, 125, 3, true);
var _local2 = new mx.transitions.Tween(mcCamera, "_yscale", mx.transitions.easing.Regular.easeOut, mcCamera._yscale, 125, 3, true);
_local1.onMotionFinished = function () {
continentName = "world";
continentTextAppear();
if ((firstTime = true)) {
music.start(0, 1368);
firstTime = false;
musicPlaying = true;
mcCamera.mute.mcMuteSign._visible = false;
mcCamera.mute._visible = true;
}
if ((musicPlaying = false)) {
mcCamera.mute.mcMuteSign._visible = true;
} else if ((musicPlaying = true)) {
music.start(0, 1368);
mcCamera.mute.mcMuteSign._visible = false;
}
};
};
gameOver = function () {
gotoAndStop ("gameOver");
};
nextQuestionPlz = function () {
attachMovie("mcTransition", "Transition", this.getNextHighestDepth());
};
nextQuestion = function () {
timerbar();
questionNr++;
if (questionNr == 1) {
attachMovie("question1", "question1", 0);
} else if (questionNr == 2) {
attachMovie("question2", "question2", 0);
} else if (questionNr == 3) {
attachMovie("question3", "question3", 0);
} else if (questionNr == 4) {
attachMovie("question4", "question4", 0);
} else if (questionNr == 5) {
attachMovie("question5", "question5", 0);
} else if (questionNr == 6) {
attachMovie("question6", "question6", 0);
} else if (questionNr == 7) {
attachMovie("question7", "question7", 0);
} else if (questionNr == 8) {
attachMovie("question8", "question8", 0);
} else if (questionNr == 9) {
attachMovie("question9", "question9", 0);
} else if (questionNr == 10) {
attachMovie("question10", "question10", 0);
} else if (questionNr == 11) {
attachMovie("question11", "question11", 0);
} else if (questionNr == 12) {
attachMovie("question12", "question12", 0);
} else if (questionNr == 13) {
attachMovie("question13", "question13", 0);
} else if (questionNr == 14) {
attachMovie("question14", "question14", 0);
} else if (questionNr == 15) {
attachMovie("question15", "question15", 0);
} else if (questionNr == 16) {
attachMovie("question16", "question16", 0);
} else if (questionNr == 17) {
attachMovie("question17", "question17", 0);
} else if (questionNr == 18) {
attachMovie("question18", "question18", 0);
}
};
intro();
Frame 4
mcCamera._visible = false;
attachMovie("mcCapitalCities", "capitalCities", 2);
worldbeat.stop();
worldBeat2.start(0, 999);
Frame 5
killSwitch();
music.stop();
mcButtons._visible = false;
mcCamera._visible = false;
loseSound.start();
cry.start();
gameOverMsgFunct = function () {
var _local1 = new mx.transitions.Tween(gameOverMsg, "_y", mx.transitions.easing.Bounce.easeOut, -300, 150, 2, true);
_local1.onMotionFinished = function () {
mcButtons._visible = true;
};
};
gameOverMsgFunct();
Frame 6
killSwitch();
music.stop();
mcButtons._visible = false;
mcCamera._visible = false;
gameOverMsgFunct = function () {
var _local1 = new mx.transitions.Tween(gameOverMsg, "_y", mx.transitions.easing.Bounce.easeOut, -300, 150, 2, true);
_local1.onMotionFinished = function () {
mcButtons._visible = true;
};
};
gameOverMsgFunct();
Symbol 10 MovieClip Frame 10
stop();
_parent.continentTextAppear();
_parent.mcContinentText.selectCountry();
Symbol 10 MovieClip Frame 20
gotoAndStop (1);
Symbol 18 MovieClip [mcContinentText] Frame 1
stop();
selectCountry = function () {
if (_root.continentName == "northAmerica") {
gotoAndStop ("northAmerica");
} else if (_root.continentName == "southAmerica") {
gotoAndStop ("southAmerica");
} else if (_root.continentName == "europe") {
gotoAndStop ("europe");
} else if (_root.continentName == "africa") {
gotoAndStop ("africa");
} else if (_root.continentName == "australia") {
gotoAndStop ("australia");
} else if (_root.continentName == "asia") {
gotoAndStop ("asia");
} else if (_root.continentName == "world") {
gotoAndStop ("world");
}
};
Symbol 19 MovieClip [mcContinentNotification] Frame 1
attachMovie("mcContinentText", "mcContinentText", 0, {_x:0, _y:0});
continentTextAppear = function () {
var _local1 = new mx.transitions.Tween(mcContinentText, "_y", mx.transitions.easing.Bounce.easeOut, -500, 0, 1, true);
};
continentTextDissappear = function () {
var _local2 = new mx.transitions.Tween(mcContinentText, "_y", mx.transitions.easing.Strong.easeIn, mcContinentText._y, 300, 1, true);
_local2.onMotionFinished = function () {
unloadMovie ("mcContinentText");
mcContinentTextBar.play();
_root.nextQuestionPlz();
_root.questionProgress = true;
};
};
setTimeout(continentTextDissappear, 1500);
Symbol 25 MovieClip [mcCorrectAnswer] Frame 1
randomFrame = random(4);
if (randomFrame == 0) {
gotoAndStop (2);
} else if (randomFrame == 1) {
gotoAndStop (3);
} else if (randomFrame == 2) {
gotoAndStop (4);
} else if (randomFrame == 3) {
gotoAndStop (5);
} else if (randomFrame == 4) {
gotoAndStop (6);
}
Symbol 34 MovieClip Frame 1
stop();
onRollOver = function () {
this.gotoAndStop(2);
};
onRollOut = function () {
this.gotoAndStop(1);
};
Symbol 34 MovieClip Frame 2
_root.buttonRollover.start();
Symbol 45 MovieClip [question5] Frame 1
stop();
dealtWith = false;
capitalCity = "";
Selection.setFocus("capitalCity_txt");
onEnterFrame = function () {
this._x = _root.mcCamera._x;
this._y = _root.mcCamera_.y;
this._xscale = _root.mcCamera._xscale;
this._yscale = _root.mcCamera._yscale;
if (dealtWith == true) {
this.removeMovieClip();
}
};
q1.onRelease = function () {
_root.incorrect();
this._visible = false;
};
q2.onRelease = function () {
_root.incorrect();
this._visible = false;
};
q3.onRelease = function () {
_root.incorrect();
this._visible = false;
};
q4.onRelease = function () {
_root.incorrect();
this._visible = false;
};
q5.onRelease = function () {
_root.incorrect();
this._visible = false;
};
q6.onRelease = function () {
_root.incorrect();
this._visible = false;
};
q7.onRelease = function () {
_root.incorrect();
this._visible = false;
};
q8.onRelease = function () {
_root.incorrect();
this._visible = false;
};
q9.onRelease = function () {
_root.correct();
dealtWith = true;
_root.world();
this._visible = false;
};
q10.onRelease = function () {
_root.incorrect();
this._visible = false;
};
Symbol 50 MovieClip [question4] Frame 1
stop();
capitalCity = "";
Selection.setFocus("capitalCity_txt");
onEnterFrame = function () {
this._x = _root.mcCamera._x;
this._y = _root.mcCamera_.y;
this._xscale = _root.mcCamera._xscale;
this._yscale = _root.mcCamera._yscale;
if (capitalCity == "washington dc") {
_root.correct();
_root.nextQuestionPlz();
this.removeMovieClip();
} else if (capitalCity == "washington d.c.") {
_root.correct();
_root.nextQuestionPlz();
this.removeMovieClip();
}
};
Symbol 54 MovieClip [question3] Frame 1
stop();
capitalCity = "";
Selection.setFocus("capitalCity_txt");
onEnterFrame = function () {
this._x = _root.mcCamera._x;
this._y = _root.mcCamera_.y;
this._xscale = _root.mcCamera._xscale;
this._yscale = _root.mcCamera._yscale;
if (capitalCity == "china") {
_root.correct();
_root.northAmerica();
this.removeMovieClip();
}
};
Symbol 73 MovieClip [question2] Frame 1
stop();
nAmericaHighlight._alpha = 0;
sAmericaHighlight._alpha = 0;
australiaHighlight._alpha = 0;
africaHighlight._alpha = 0;
europeHighlight._alpha = 0;
asiaHighlight._alpha = 0;
_root.timerSpeed = 0.2;
nAmericaHighlight.onRelease = function () {
this._alpha = 100;
_root.correct2();
nextFrame();
};
sAmericaHighlight.onRelease = function () {
_root.incorrect();
};
australiaHighlight.onRelease = function () {
_root.incorrect();
};
asiaHighlight.onRelease = function () {
_root.incorrect();
};
europeHighlight.onRelease = function () {
_root.incorrect();
};
africaHighlight.onRelease = function () {
_root.incorrect();
};
Symbol 73 MovieClip [question2] Frame 2
stop();
nAmericaHighlight.onRelease = function () {
_root.incorrect();
};
sAmericaHighlight.onRelease = function () {
_root.incorrect();
};
australiaHighlight.onRelease = function () {
_root.correct2();
this._alpha = 100;
nextFrame();
};
asiaHighlight.onRelease = function () {
_root.incorrect();
};
europeHighlight.onRelease = function () {
_root.incorrect();
};
africaHighlight.onRelease = function () {
_root.incorrect();
};
Symbol 73 MovieClip [question2] Frame 3
stop();
nAmericaHighlight.onRelease = function () {
_root.incorrect();
};
sAmericaHighlight.onRelease = function () {
_root.incorrect();
};
australiaHighlight.onRelease = function () {
_root.incorrect();
};
asiaHighlight.onRelease = function () {
_root.incorrect();
};
europeHighlight.onRelease = function () {
_root.incorrect();
};
africaHighlight.onRelease = function () {
_root.correct2();
this._alpha = 100;
nextFrame();
};
Symbol 73 MovieClip [question2] Frame 4
stop();
nAmericaHighlight.onRelease = function () {
_root.incorrect();
};
sAmericaHighlight.onRelease = function () {
_root.incorrect();
};
australiaHighlight.onRelease = function () {
_root.incorrect();
};
asiaHighlight.onRelease = function () {
_root.incorrect();
};
europeHighlight.onRelease = function () {
_root.correct2();
this._alpha = 100;
nextFrame();
};
africaHighlight.onRelease = function () {
_root.incorrect();
};
Symbol 73 MovieClip [question2] Frame 5
stop();
nAmericaHighlight.onRelease = function () {
_root.incorrect();
};
sAmericaHighlight.onRelease = function () {
_root.correct2();
this._alpha = 100;
nextFrame();
};
australiaHighlight.onRelease = function () {
_root.incorrect();
};
asiaHighlight.onRelease = function () {
_root.incorrect();
};
europeHighlight.onRelease = function () {
_root.incorrect();
};
africaHighlight.onRelease = function () {
_root.incorrect();
};
Symbol 73 MovieClip [question2] Frame 6
stop();
done = false;
onEnterFrame = function () {
if (done == true) {
_root.asia();
_root.nextQuestionPlz;
_root.timerSpeed = 0.4;
this.removeMovieClip();
}
};
nAmericaHighlight.onRelease = function () {
_root.incorrect();
};
sAmericaHighlight.onRelease = function () {
_root.incorrect();
};
australiaHighlight.onRelease = function () {
_root.incorrect();
};
asiaHighlight.onRelease = function () {
_root.correct();
this._alpha = 100;
done = true;
};
europeHighlight.onRelease = function () {
_root.incorrect();
};
africaHighlight.onRelease = function () {
_root.incorrect();
};
Symbol 76 MovieClip [question9] Frame 1
stop();
Selection.setFocus("capitalCity_txt");
capitalCity = "";
onEnterFrame = function () {
this._x = _root.mcCamera._x;
this._y = _root.mcCamera_.y;
this._xscale = _root.mcCamera._xscale;
this._yscale = _root.mcCamera._yscale;
if (capitalCity == "rome") {
_root.correct();
_root.nextQuestionPlz();
this.removeMovieClip();
}
};
Symbol 84 MovieClip [question10] Frame 1
stop();
picEiffel = function () {
var _local1 = new mx.transitions.Tween(Eiffel, "_xscale", mx.transitions.easing.Bounce.easeOut, 200, 70, 1, true);
var _local2 = new mx.transitions.Tween(Eiffel, "_yscale", mx.transitions.easing.Bounce.easeOut, 200, 70, 1, true);
};
picEiffel();
Selection.setFocus("object_txt");
onEnterFrame = function () {
this._x = _root.mcCamera._x;
this._y = _root.mcCamera_.y;
this._xscale = _root.mcCamera._xscale;
this._yscale = _root.mcCamera._yscale;
if (photo == "eiffel tower") {
_root.correct2();
_root.mcCamera.mcTimer.mcTimerBar._xscale = 100;
nextFrame();
}
};
Symbol 84 MovieClip [question10] Frame 2
Selection.setFocus("object_txt");
picEiffelgoAway = function () {
var _local1 = new mx.transitions.Tween(Eiffel, "_x", mx.transitions.easing.Bounce.easeIn, Eiffel._x, 600, 1, true);
_local1.onMotionFinished = function () {
Eiffel.removeMovieClip();
};
};
picEiffelgoAway();
onEnterFrame = function () {
this._x = _root.mcCamera._x;
this._y = _root.mcCamera_.y;
this._xscale = _root.mcCamera._xscale;
this._yscale = _root.mcCamera._yscale;
if (capitalCity == "france") {
_root.correct();
_root.world();
this.removeMovieClip();
} else if (capitalCity == "paris") {
_root.correct();
_root.world();
this.removeMovieClip();
} else if (capitalCity == "in paris") {
_root.correct();
_root.world();
this.removeMovieClip();
} else if (capitalCity == "in france") {
_root.correct();
_root.world();
this.removeMovieClip();
}
};
Symbol 88 MovieClip [question14] Frame 1
stop();
Selection.setFocus("capitalCity_txt");
onEnterFrame = function () {
if (capitalCity == "canberra") {
_root.correct();
_root.europe();
this.removeMovieClip();
}
};
Symbol 102 MovieClip [question15] Frame 1
stop();
Selection.setFocus("capitalCity_txt");
onEnterFrame = function () {
this._x = _root.mcCamera._x;
this._y = _root.mcCamera_.y;
this._xscale = _root.mcCamera._xscale;
this._yscale = _root.mcCamera._yscale;
if (capitalCity == "pound") {
_root.correct();
nextFrame();
}
};
Symbol 102 MovieClip [question15] Frame 2
stop();
dealtWith = false;
onEnterFrame = function () {
this._x = _root.mcCamera._x;
this._y = _root.mcCamera_.y;
this._xscale = _root.mcCamera._xscale;
this._yscale = _root.mcCamera._yscale;
if (dealtWith == true) {
this.removeMovieClip();
}
};
q1.onRelease = function () {
_root.incorrect();
this._visible = false;
};
q2.onRelease = function () {
_root.incorrect();
this._visible = false;
};
q3.onRelease = function () {
_root.incorrect();
this._visible = false;
};
q4.onRelease = function () {
_root.incorrect();
this._visible = false;
};
q5.onRelease = function () {
_root.incorrect();
this._visible = false;
};
q6.onRelease = function () {
_root.incorrect();
this._visible = false;
};
q7.onRelease = function () {
_root.incorrect();
this._visible = false;
};
q8.onRelease = function () {
_root.correct();
_root.southAmerica();
dealtWith = true;
this._visible = false;
};
q9.onRelease = function () {
_root.incorrect();
this._visible = false;
};
q10.onRelease = function () {
_root.incorrect();
this._visible = false;
};
Symbol 105 MovieClip [question8] Frame 1
stop();
Selection.setFocus("capitalCity_txt");
onEnterFrame = function () {
this._x = _root.mcCamera._x;
this._y = _root.mcCamera_.y;
this._xscale = _root.mcCamera._xscale;
this._yscale = _root.mcCamera._yscale;
if (capitalCity == "italy") {
_root.correct();
_root.nextQuestionPlz();
this.removeMovieClip();
} else if (capitalCity == "in italy") {
_root.correct();
_root.nextQuestionPlz();
this.removeMovieClip();
}
};
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 11
stop();
Symbol 117 MovieClip [question7] Frame 1
stop();
picJackSparrow = function () {
var _local1 = new mx.transitions.Tween(Sparrow, "_xscale", mx.transitions.easing.Bounce.easeOut, 200, 100, 1, true);
var _local2 = new mx.transitions.Tween(Sparrow, "_yscale", mx.transitions.easing.Bounce.easeOut, 200, 100, 1, true);
};
picKovac = function () {
var _local2 = new mx.transitions.Tween(Kovac, "_xscale", mx.transitions.easing.Bounce.easeOut, 200, 100, 1, true);
var _local1 = new mx.transitions.Tween(Kovac, "_yscale", mx.transitions.easing.Bounce.easeOut, 200, 100, 1, true);
};
picKovac2 = function () {
var _local1 = new mx.transitions.Tween(Kovac, "_x", mx.transitions.easing.Bounce.easeIn, Kovac._x, 1000, 1, true);
};
picJackSparrow();
onEnterFrame = function () {
if (dealtWith == true) {
_root.questionNr++;
_root.nextQuestion();
unloadMovie (this);
}
};
btn1.onRelease = function () {
_root.incorrect();
};
btn1.onRollOver = function () {
this.useHandCursor = false;
};
btn2.onRelease = function () {
mcCircle.play();
_root.correct();
nextFrame();
};
btn2.onRollOver = function () {
this.useHandCursor = false;
};
Symbol 117 MovieClip [question7] Frame 2
picKovac();
dealtWith = false;
onEnterFrame = function () {
if (dealtWith == true) {
this.removeMovieClip();
}
};
btn1.onRelease = function () {
_root.incorrect();
};
btn2.onRelease = function () {
picKovac2();
_root.correct();
mcCircle2.play();
play();
};
Symbol 117 MovieClip [question7] Frame 25
dealtWith = true;
_root.europe();
Symbol 122 MovieClip [question13] Frame 1
dealtWith = false;
stop();
picSteveIrwin = function () {
var _local2 = new mx.transitions.Tween(Steve, "_xscale", mx.transitions.easing.Bounce.easeOut, 200, 100, 1, true);
var _local1 = new mx.transitions.Tween(Steve, "_yscale", mx.transitions.easing.Bounce.easeOut, 200, 100, 1, true);
};
picSteveIrwinAway = function () {
var _local1 = new mx.transitions.Tween(Steve, "_x", mx.transitions.easing.Bounce.easeIn, Steve._x, -650, 1, true);
_local1.onMotionFinished = function () {
Steve.removeMovieClip();
};
};
picSteveIrwin();
onEnterFrame = function () {
if (dealtWith == true) {
_root.questionNr++;
_root.nextQuestion();
unloadMovie (this);
}
};
btn1.onRelease = function () {
_root.incorrect();
};
btn1.onRollOver = function () {
this.useHandCursor = false;
};
btn2.onRelease = function () {
picSteveIrwinAway();
mcCircle.play();
_root.correct();
play();
};
btn2.onRollOver = function () {
this.useHandCursor = false;
};
Symbol 122 MovieClip [question13] Frame 26
_root.australia();
this.removeMovieClip();
Symbol 137 MovieClip [question16] Frame 1
stop();
_root.lastQuestion = true;
picMachu = function () {
var _local1 = new mx.transitions.Tween(Machu, "_xscale", mx.transitions.easing.Bounce.easeOut, 200, 100, 1, true);
var _local2 = new mx.transitions.Tween(Machu, "_yscale", mx.transitions.easing.Bounce.easeOut, 200, 100, 1, true);
};
picMachu();
q1.onRelease = function () {
_root.incorrect();
this._visible = false;
};
q2.onRelease = function () {
_root.incorrect();
this._visible = false;
};
q3.onRelease = function () {
_root.incorrect();
this._visible = false;
};
q4.onRelease = function () {
_root.correct2();
_root.mcCamera.mcTimer.mcTimerBar._xscale = 100;
nextFrame();
};
q5.onRelease = function () {
_root.incorrect();
this._visible = false;
};
Symbol 137 MovieClip [question16] Frame 2
stop();
picMachuAway = function () {
var _local1 = new mx.transitions.Tween(Machu, "_x", mx.transitions.easing.Bounce.easeIn, Machu._x, 580, 1, true);
_local1.onMotionFinished = function () {
Machu.removeMovieClip();
};
};
picMachuAway();
q6.onRelease = function () {
_root.incorrect();
this._visible = false;
};
q7.onRelease = function () {
_root.correct();
_root.gameDone = true;
_root.gotoAndStop("gameDone");
_root.music.stop();
this._visible = false;
};
q8.onRelease = function () {
_root.incorrect();
this._visible = false;
};
q9.onRelease = function () {
_root.incorrect();
this._visible = false;
};
Symbol 139 MovieClip [question12] Frame 1
dealtWith = false;
o1._alpha = 0;
o2._alpha = 0;
o3._alpha = 0;
o4._alpha = 0;
o5._alpha = 0;
o6._alpha = 0;
onEnterFrame = function () {
if (dealtWith == true) {
_root.nextQuestionPlz();
this.removeMovieClip();
}
};
o1.onRelease = function () {
_root.correct();
dealtWith = true;
};
o2.onRelease = function () {
_root.correct();
dealtWith = true;
};
o3.onRelease = function () {
_root.incorrect();
this._alpha = true;
};
o4.onRelease = function () {
_root.incorrect();
this._alpha = true;
};
o5.onRelease = function () {
_root.incorrect();
this._alpha = true;
};
o6.onRelease = function () {
_root.incorrect();
this._alpha = true;
};
Symbol 144 MovieClip [question11] Frame 1
dealtWith = false;
onEnterFrame = function () {
if (dealtWith == true) {
_root.nextQuestionPlz();
this.removeMovieClip();
}
};
q1.onRelease = function () {
_root.correct();
dealtWith = true;
this._visible = false;
};
q2.onRelease = function () {
_root.incorrect();
this._visible = false;
};
Symbol 157 MovieClip [question6] Frame 1
dealtWith = false;
onEnterFrame = function () {
if (dealtWith == true) {
_root.nextQuestionPlz();
this.removeMovieClip();
}
};
btn1.onRelease = function () {
_root.incorrect();
};
btn2.onRelease = function () {
dealtWith = true;
_root.correct();
};
btn3.onRelease = function () {
_root.incorrect();
};
btn4.onRelease = function () {
_root.incorrect();
};
btn5.onRelease = function () {
_root.incorrect();
};
btn6.onRelease = function () {
_root.incorrect();
};
btn7.onRelease = function () {
_root.incorrect();
};
btn8.onRelease = function () {
_root.incorrect();
};
btn9.onRelease = function () {
_root.incorrect();
};
btn10.onRelease = function () {
_root.incorrect();
};
btn11.onRelease = function () {
_root.incorrect();
};
Symbol 173 MovieClip [mcCapitalCities] Frame 1
function newCity() {
randomCity = random(30) + 1;
}
function answerFunct() {
newCity();
cityName = "";
_root.correct2();
mcTimer.mcTimerBar._xscale = 100;
capitalCitiesScore++;
tryNum++;
}
stop();
capitalCitiesScore = 0;
tryNum = 0;
Selection.setFocus("cityName_txt");
newCity();
onEnterFrame = function () {
if (randomCity == 1) {
countryName = "France";
} else if (randomCity == 2) {
countryName = "Italy";
} else if (randomCity == 3) {
countryName = "Greece";
} else if (randomCity == 4) {
countryName = "Spain";
} else if (randomCity == 5) {
countryName = "Australia";
} else if (randomCity == 6) {
countryName = "USA";
} else if (randomCity == 7) {
countryName = "Kazakhstan";
} else if (randomCity == 8) {
countryName = "Brazil";
} else if (randomCity == 9) {
countryName = "Mexico";
} else if (randomCity == 10) {
countryName = "Peru";
} else if (randomCity == 11) {
countryName = "Chile";
} else if (randomCity == 12) {
countryName = "Germany";
} else if (randomCity == 13) {
countryName = "Austria";
} else if (randomCity == 14) {
countryName = "Japan";
} else if (randomCity == 15) {
countryName = "China";
} else if (randomCity == 16) {
countryName = "Afghanistan";
} else if (randomCity == 17) {
countryName = "Argentina";
} else if (randomCity == 18) {
countryName = "Belgium";
} else if (randomCity == 19) {
countryName = "Canada";
} else if (randomCity == 20) {
countryName = "Croatia";
} else if (randomCity == 21) {
countryName = "Denmark";
} else if (randomCity == 22) {
countryName = "Egypt";
} else if (randomCity == 23) {
countryName = "Hungary";
} else if (randomCity == 24) {
countryName = "India";
} else if (randomCity == 25) {
countryName = "Iraq";
} else if (randomCity == 26) {
countryName = "Ireland";
} else if (randomCity == 27) {
countryName = "Israel";
} else if (randomCity == 28) {
countryName = "Luxembourg";
} else if (randomCity == 29) {
countryName = "Malaysia";
} else if (randomCity == 30) {
countryName = "New Zealand";
} else if (randomCity == 31) {
countryName = "Russia";
} else if (randomCity == 32) {
countryName = "United Kingdom";
}
if ((randomCity == 1) && (cityName == "paris")) {
answerFunct();
} else if ((randomCity == 2) && (cityName == "rome")) {
answerFunct();
} else if ((randomCity == 3) && (cityName == "athens")) {
answerFunct();
} else if ((randomCity == 4) && (cityName == "madrid")) {
answerFunct();
} else if ((randomCity == 5) && (cityName == "canberra")) {
answerFunct();
} else if ((randomCity == 6) && (cityName == "washington")) {
answerFunct();
} else if ((randomCity == 7) && (cityName == "astana")) {
answerFunct();
} else if ((randomCity == 8) && (cityName == "brasilia")) {
answerFunct();
} else if ((randomCity == 9) && (cityName == "mexico city")) {
answerFunct();
} else if ((randomCity == 10) && (cityName == "lima")) {
answerFunct();
} else if ((randomCity == 11) && (cityName == "santiago")) {
answerFunct();
} else if ((randomCity == 12) && (cityName == "berlin")) {
answerFunct();
} else if ((randomCity == 13) && (cityName == "vienna")) {
answerFunct();
} else if ((randomCity == 14) && (cityName == "tokyo")) {
answerFunct();
} else if ((randomCity == 15) && (cityName == "beijing")) {
answerFunct();
} else if ((randomCity == 16) && (cityName == "kabul")) {
answerFunct();
} else if ((randomCity == 17) && (cityName == "buenos aires")) {
answerFunct();
} else if ((randomCity == 18) && (cityName == "brussels")) {
answerFunct();
} else if ((randomCity == 19) && (cityName == "ottawa")) {
answerFunct();
} else if ((randomCity == 20) && (cityName == "zagreb")) {
answerFunct();
} else if ((randomCity == 21) && (cityName == "copenhagen")) {
answerFunct();
} else if ((randomCity == 22) && (cityName == "cairo")) {
answerFunct();
} else if ((randomCity == 23) && (cityName == "budapest")) {
answerFunct();
} else if ((randomCity == 24) && (cityName == "new delhi")) {
answerFunct();
} else if ((randomCity == 25) && (cityName == "baghdad")) {
answerFunct();
} else if ((randomCity == 26) && (cityName == "dublin")) {
answerFunct();
} else if ((randomCity == 27) && (cityName == "jerusalem")) {
answerFunct();
} else if ((randomCity == 28) && (cityName == "luxembourg")) {
answerFunct();
} else if ((randomCity == 29) && (cityName == "kuala lumpur")) {
answerFunct();
} else if ((randomCity == 30) && (cityName == "wellington")) {
answerFunct();
} else if ((randomCity == 31) && (cityName == "moscow")) {
answerFunct();
} else if ((randomCity == 32) && (cityName == "london")) {
answerFunct();
}
mcTimer.mcTimerBar._xscale = mcTimer.mcTimerBar._xscale - 0.5;
if (mcTimer.mcTimerBar._xscale <= 0) {
gotoAndStop ("gameOver");
}
if (tryNum >= 20) {
gotoAndStop ("done");
}
};
Symbol 173 MovieClip [mcCapitalCities] Frame 2
Selection.setFocus("myName_txt");
mcSubmit.onRelease = function () {
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par3);
par227.c2NvcmUx = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par4 + "j%e%a%n%s");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
trace(par228.msg);
} else {
trace(par228.loaded);
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/", par228, "POST");
}
bXlnYW1lX25hbWVfdmFyaWFibGU = myName;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = capitalCitiesScore;
__rankz_send__("MTk4MmolZSVhJW4lcw==", "eVJ5dGdQcVo=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
_root.gotoAndStop("mainMenu");
};
mcBack.onRelease = function () {
_root.gotoAndStop("mainMenu");
};
Symbol 173 MovieClip [mcCapitalCities] Frame 3
Selection.setFocus("myName_txt");
mcSubmit.onRelease = function () {
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par3);
par227.c2NvcmUx = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par4 + "j%e%a%n%s");
par227.flashkey = par227.flashkey.split("=").join("");
par227.SU0249 = par227.SU0249.split("=").join("");
par228.onLoad = function (success) {
if (success) {
trace(par228.msg);
} else {
trace(par228.loaded);
}
};
par227.sendAndLoad("http://rankz.armorbot.com/submit/", par228, "POST");
}
bXlnYW1lX25hbWVfdmFyaWFibGU = myName;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = capitalCitiesScore;
__rankz_send__("MTk4MmolZSVhJW4lcw==", "eVJ5dGdQcVo=", bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
_root.gotoAndStop("mainMenu");
};
mcBack.onRelease = function () {
_root.gotoAndStop("mainMenu");
};
Symbol 187 MovieClip [question1] Frame 1
correctAnswers = 0;
_root.timerSpeed = 0.2;
onEnterFrame = function () {
if (correctAnswers == 7) {
_root.timerSpeed = 0.5;
_root.correct();
_root.nextQuestionPlz();
this.removeMovieClip();
}
};
q1.onRelease = function () {
_root.incorrect2();
this._visible = false;
};
q2.onRelease = function () {
_root.incorrect2();
this._visible = false;
};
q3.onRelease = function () {
_root.correct2();
this._visible = false;
correctAnswers++;
};
q4.onRelease = function () {
_root.incorrect2();
this._visible = false;
};
q5.onRelease = function () {
_root.correct2();
this._visible = false;
correctAnswers++;
};
q6.onRelease = function () {
_root.correct2();
this._visible = false;
correctAnswers++;
};
q7.onRelease = function () {
_root.correct2();
this._visible = false;
correctAnswers++;
};
q8.onRelease = function () {
_root.correct2();
this._visible = false;
correctAnswers++;
};
q9.onRelease = function () {
_root.incorrect2();
this._visible = false;
};
q10.onRelease = function () {
_root.correct2();
this._visible = false;
correctAnswers++;
};
q11.onRelease = function () {
_root.correct2();
this._visible = false;
correctAnswers++;
};
q12.onRelease = function () {
_root.incorrect2();
this._visible = false;
};
Symbol 190 MovieClip [mcTransition] Frame 8
_root.nextQuestion();
_root.popSound.start();
Symbol 190 MovieClip [mcTransition] Frame 16
removeMovieClip(this);
Symbol 219 MovieClip Frame 126
this.unloadMovie();
Symbol 220 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndPlay ("loaded");
}
Symbol 220 MovieClip Frame 2
gotoAndPlay (1);
Symbol 220 MovieClip Frame 5
syncHold = 0;
onEnterFrame = function () {
i = 0;
do {
if (syncHold <= getTimer()) {
break;
}
i++;
} while (i <= 20000);
syncHold = getTimer() + 33;
};
Instance of Symbol 219 MovieClip in Symbol 220 MovieClip Frame 5
onClipEvent (enterFrame) {
this.onPress = function () {
getURL ("http://www.armorgames.com", "_blank");
};
}
Symbol 220 MovieClip Frame 130
_root.play();
Symbol 283 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 284 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 285 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 286 MovieClip [__Packages.mx.transitions.easing.Strong] Frame 0
class mx.transitions.easing.Strong
{
function Strong () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return((((((c * t) * t) * t) * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = (t / d) - 1;
return((c * (((((t * t) * t) * t) * t) + 1)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return(((((((c / 2) * t) * t) * t) * t) * t) + b);
}
t = t - 2;
return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b);
}
static var version = "1.1.0.52";
}
Symbol 287 MovieClip [__Packages.mx.transitions.easing.Bounce] Frame 0
class mx.transitions.easing.Bounce
{
function Bounce () {
}
static function easeOut(t, b, c, d) {
t = t / d;
if (t < 0.363636363636364) {
return((c * ((7.5625 * t) * t)) + b);
}
if (t < 0.727272727272727) {
t = t - 0.545454545454545;
return((c * (((7.5625 * t) * t) + 0.75)) + b);
}
if (t < 0.909090909090909) {
t = t - 0.818181818181818;
return((c * (((7.5625 * t) * t) + 0.9375)) + b);
}
t = t - 0.954545454545455;
return((c * (((7.5625 * t) * t) + 0.984375)) + b);
}
static function easeIn(t, b, c, d) {
return((c - easeOut(d - t, 0, c, d)) + b);
}
static function easeInOut(t, b, c, d) {
if (t < (d / 2)) {
return((easeIn(t * 2, 0, c, d) * 0.5) + b);
}
return(((easeOut((t * 2) - d, 0, c, d) * 0.5) + (c * 0.5)) + b);
}
static var version = "1.1.0.52";
}
Symbol 288 MovieClip [__Packages.ab3.rankz.Armor_Bot_30_En_AS1] Frame 0
class ab3.rankz.Armor_Bot_30_En_AS1 extends Object
{
static var _CharsReverseLookup;
var _Armor_Bot_30_En_AS1Str, _Armor_Bot_30_En_AS1Count;
function Armor_Bot_30_En_AS1 () {
super();
}
static function Encode(str) {
var _local1 = new ab3.rankz.Armor_Bot_30_En_AS1();
return(_local1.encodeArmor_Bot_30_En_AS1(str));
}
static function Decode(str) {
var _local1 = new ab3.rankz.Armor_Bot_30_En_AS1();
return(_local1.decodeArmor_Bot_30_En_AS1(str));
}
static function StringReplaceAll(source, find, replacement) {
return(source.split(find).join(replacement));
}
static function InitReverseChars() {
_CharsReverseLookup = new Array();
var _local1 = 0;
while (_local1 < _Chars.length) {
_CharsReverseLookup[_Chars[_local1]] = _local1;
_local1++;
}
return(true);
}
static function UrlDecode(str) {
str = StringReplaceAll(str, "\\", " ");
str = unescape(str);
return(str);
}
static function UrlEncode(str) {
str = escape(str);
str = StringReplaceAll(str, "\\", "%2B");
str = StringReplaceAll(str, "%20", "+");
return(str);
}
function setArmor_Bot_30_En_AS1Str(str) {
_Armor_Bot_30_En_AS1Str = str;
_Armor_Bot_30_En_AS1Count = 0;
}
function readArmor_Bot_30_En_AS1() {
if (!_Armor_Bot_30_En_AS1Str) {
return(_EndOfInput);
}
if (_Armor_Bot_30_En_AS1Count >= _Armor_Bot_30_En_AS1Str.length) {
return(_EndOfInput);
}
var _local2 = _Armor_Bot_30_En_AS1Str.charCodeAt(_Armor_Bot_30_En_AS1Count) & 255;
_Armor_Bot_30_En_AS1Count++;
return(_local2);
}
function encodeArmor_Bot_30_En_AS1(str) {
setArmor_Bot_30_En_AS1Str(str);
var _local3 = "";
var _local2 = new Array(3);
var _local5 = 0;
var _local4 = false;
while ((!_local4) && (((_local2[0] = readArmor_Bot_30_En_AS1())) != _EndOfInput)) {
_local2[1] = readArmor_Bot_30_En_AS1();
_local2[2] = readArmor_Bot_30_En_AS1();
_local3 = _local3 + _Chars[_local2[0] >> 2];
if (_local2[1] != _EndOfInput) {
_local3 = _local3 + _Chars[((_local2[0] << 4) & 48) | (_local2[1] >> 4)];
if (_local2[2] != _EndOfInput) {
_local3 = _local3 + _Chars[((_local2[1] << 2) & 60) | (_local2[2] >> 6)];
_local3 = _local3 + _Chars[_local2[2] & 63];
} else {
_local3 = _local3 + _Chars[(_local2[1] << 2) & 60];
_local3 = _local3 + "=";
_local4 = true;
}
} else {
_local3 = _local3 + _Chars[(_local2[0] << 4) & 48];
_local3 = _local3 + "=";
_local3 = _local3 + "=";
_local4 = true;
}
_local5 = _local5 + 4;
if (_local5 >= 76) {
_local3 = _local3 + newline;
_local5 = 0;
}
}
return(_local3);
}
function readReverseArmor_Bot_30_En_AS1() {
if (!_Armor_Bot_30_En_AS1Str) {
return(_EndOfInput);
}
while (true) {
if (_Armor_Bot_30_En_AS1Count >= _Armor_Bot_30_En_AS1Str.length) {
return(_EndOfInput);
}
var _local2 = _Armor_Bot_30_En_AS1Str.charAt(_Armor_Bot_30_En_AS1Count);
_Armor_Bot_30_En_AS1Count++;
if (_CharsReverseLookup[_local2]) {
return(_CharsReverseLookup[_local2]);
}
if (_local2 == "A") {
return(0);
}
}
}
function ntos(n) {
var _local1 = n.toString(16);
if (_local1.length == 1) {
_local1 = "0" + _local1;
}
_local1 = "%" + _local1;
return(unescape(_local1));
}
function decodeArmor_Bot_30_En_AS1(str) {
setArmor_Bot_30_En_AS1Str(str);
var _local3 = "";
var _local2 = new Array(4);
var _local4 = false;
while (((!_local4) && (((_local2[0] = readReverseArmor_Bot_30_En_AS1())) != _EndOfInput)) && (((_local2[1] = readReverseArmor_Bot_30_En_AS1())) != _EndOfInput)) {
_local2[2] = readReverseArmor_Bot_30_En_AS1();
_local2[3] = readReverseArmor_Bot_30_En_AS1();
_local3 = _local3 + ntos(((_local2[0] << 2) & 255) | (_local2[1] >> 4));
if (_local2[2] != _EndOfInput) {
_local3 = _local3 + ntos(((_local2[1] << 4) & 255) | (_local2[2] >> 2));
if (_local2[3] != _EndOfInput) {
_local3 = _local3 + ntos(((_local2[2] << 6) & 255) | _local2[3]);
} else {
_local4 = true;
}
} else {
_local4 = true;
}
}
return(_local3);
}
function toHex(n) {
var _local4 = "";
var _local3 = true;
var _local1 = 32;
while (_local1 > 0) {
_local1 = _local1 - 4;
var _local2 = (n >> _local1) & 15;
if ((!_local3) || (_local2 != 0)) {
_local3 = false;
_local4 = _local4 + _Digits[_local2];
}
}
return(((_local4 == "") ? "0" : (_local4)));
}
function pad(str, len, pad) {
var _local2 = str;
var _local1 = str.length;
while (_local1 < len) {
_local2 = pad + _local2;
_local1++;
}
return(_local2);
}
function encodeHex(str) {
var _local4 = "";
var _local2 = 0;
while (_local2 < str.length) {
_local4 = _local4 + pad(toHex(str.charCodeAt(_local2) & 255), 2, "0");
_local2++;
}
return(_local4);
}
function decodeHex(str) {
var _local5 = "";
var _local3 = "";
var _local2 = 0;
while (_local2 < str.length) {
_local3 = _local3 + str.charAt(_local2);
if (_local3.length == 2) {
_local5 = _local5 + ntos(parseInt("0x" + _local3));
_local3 = "";
}
_local2++;
}
return(_local5);
}
static var _EndOfInput = -1;
static var _Chars = new Array("A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "+", "/");
static var _CharsReverseLookupInited = InitReverseChars();
static var _Digits = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f");
}
Symbol 289 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 290 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 222 MovieClip Frame 1
stop();
Symbol 242 MovieClip Frame 27
stop();
Symbol 243 MovieClip Frame 1
stop();
Symbol 243 MovieClip Frame 4
_root.gameOver();
Symbol 246 MovieClip Frame 1
stop();
Symbol 246 MovieClip Frame 18
gotoAndStop (1);
Symbol 249 MovieClip Frame 1
stop();
Symbol 249 MovieClip Frame 26
gotoAndStop (1);
Symbol 254 MovieClip Frame 1
stop();
Symbol 255 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local5 = sX / this._width;
var _local4 = sY / this._height;
_parent._x = cX - (this._x * _local5);
_parent._y = cY - (this._y * _local4);
_parent._xscale = 100 * _local5;
_parent._yscale = 100 * _local4;
if ((_root.lastQuestion == false) && (mcTimer.mcTimerBar._xscale <= 30)) {
mcPanic._visible = true;
} else {
mcPanic._visible = false;
}
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
mute.onRelease = function () {
if (_root.musicPlaying == true) {
_root.music.setVolume(0);
_root.musicPlaying = false;
mute.mcMuteSign._visible = true;
} else if (_root.musicPlaying == false) {
_root.music.setVolume(100);
_root.musicPlaying = true;
mute.mcMuteSign._visible = false;
}
};
mcPanic.onPress = function () {
this.gotoAndStop(2);
};
mcPanic.onRelease = function () {
mcLives.nextFrame();
if (_root.questionNr == 1) {
_root.nextQuestionPlz();
_root.questionNumber++;
} else if (_root.questionNr == 2) {
_root.question2.removeMovieClip();
_root.questionNumber++;
_root.asia();
} else if (_root.questionNr == 3) {
_root.question3.removeMovieClip();
_root.questionNumber++;
_root.northAmerica();
} else if (_root.questionNr == 4) {
_root.question3.removeMovieClip();
_root.questionNumber++;
_root.nextQuestionPlz();
} else if (_root.questionNr == 5) {
_root.question5.removeMovieClip();
_root.questionNumber++;
_root.world();
} else if (_root.questionNr == 6) {
_root.question6.removeMovieClip();
_root.questionNumber++;
_root.nextQuestionPlz();
} else if (_root.questionNr == 7) {
_root.question7.removeMovieClip();
_root.questionNumber = _root.questionNumber + 2;
_root.europe();
} else if (_root.questionNr == 8) {
_root.question8.removeMovieClip();
_root.questionNumber++;
_root.nextQuestionPlz();
} else if (_root.questionNr == 9) {
_root.question9.removeMovieClip();
_root.questionNumber++;
_root.nextQuestionPlz();
} else if (_root.questionNr == 10) {
_root.questionNumber = _root.questionNumber + 2;
_root.question10.removeMovieClip();
_root.world();
} else if (_root.questionNr == 11) {
_root.question11.removeMovieClip();
_root.questionNumber++;
_root.nextQuestionPlz();
} else if (_root.questionNr == 12) {
_root.question12.removeMovieClip();
_root.questionNumber++;
_root.nextQuestionPlz();
} else if (_root.questionNr == 13) {
_root.question13.removeMovieClip();
_root.questionNumber++;
_root.australia();
} else if (_root.questionNr == 14) {
_root.question14.removeMovieClip();
_root.questionNumber++;
_root.europe();
} else if (_root.questionNr == 15) {
_root.questionNumber = _root.questionNumber + 2;
_root.question15.removeMovieClip();
_root.southAmerica();
} else if (_root.questionNr == 16) {
this._visible = false;
}
this.gotoAndStop(1);
};
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 261 MovieClip Frame 1
stop();
Symbol 270 Button
on (release) {
_root.getURL("http://www.armorgames.com", "_this");
}
Symbol 274 Button
on (release) {
_root.gotoAndStop("game");
}
Symbol 281 Button
on (release) {
_root.gameDone = true;
_root.gotoAndStop("mainMenu");
}