Frame 1
function makenum(max, min) {
num1 = Math.round(Math.random() * (max - min)) + min;
num2 = Math.round(Math.random() * (max - min)) + min;
if (operator == "Addition") {
solution = num1 + num2;
problem = ((num1 + " + ") + num2) + " = ";
}
if (operator == "Substraction") {
solution = num1 - num2;
problem = ((num1 + " - ") + num2) + " = ";
}
if (operator == "Multiplication") {
solution = num1 * num2;
problem = ((num1 + " x ") + num2) + " = ";
}
if (operator == "Division") {
solution = Math.floor((num1 / num2) * 1000) / 1000;
problem = ((num1 + "/") + num2) + " = ";
}
}
function makeblackness() {
var _local2 = this.createEmptyMovieClip("blackness", this.getNextHighestDepth());
_local2.beginFill(16764057, 100);
_local2.lineStyle(0, 16764057, 100);
_local2.moveTo(0, 0);
_local2.lineTo(1000, 0);
_local2.lineTo(1000, 1000);
_local2.lineTo(0, 1000);
_local2.lineTo(0, 0);
_local2.endFill();
}
function restart() {
removeMovieClip(blackness);
removeMovieClip(intro1);
problems1.text = problems2.text;
totalquestions = problems2.text;
problems = problems2.text;
var _local2 = new TextFormat();
_local2.color = 0;
_local2.size = 40;
_local2.bold = true;
problems1.setTextFormat(_local2);
answer.text = "";
stats = "";
invert = "";
methread = 0;
problems = totalquestions;
totaltime = 0;
totalmissed = 0;
totalcorrect = 0;
meter._width = 2;
score = 0;
best = "";
this[varname1 + "best"].sortOn("time", Array.ASCENDING | Array.NUMERIC);
i = 0;
while (i < this[varname1 + "best"].length) {
best = best + (((this[varname1 + "best"][i].avgtime + " | ") + this[varname1 + "best"][i].time) + newline);
i++;
}
ack = 0;
startgame = 1;
averagetime = 0;
readtime = 0;
record = new Array();
Selection.setFocus(answer);
}
function game(thetitle, varname, times, min1, max1) {
thetimes = times;
startgame = 1;
thetitle1 = thetitle;
problems = questions;
varname1 = varname;
blah = this[varname + "points"];
timelimit = thetimes[blah] * 1000;
readgoal = thetimes[blah] + " S";
min = min1;
max = max1;
totalquestions = problems;
restart();
}
var solution;
var problems;
var starreset = 0;
var problem;
var questions = 10;
var games = 0;
var cumul = 0;
var quests = 0;
var skilltitle = "Welcome.";
var alevel1points = 0;
var alevel2points = 0;
var alevel3points = 0;
var alevel4points = 0;
var mlevel1points = 0;
var mlevel2points = 0;
var mlevel3points = 0;
var mlevel4points = 0;
var pracpoints = 0;
var alevel1best = new Array();
var alevel2best = new Array();
var alevel3best = new Array();
var alevel4best = new Array();
var mlevel1best = new Array();
var mlevel2best = new Array();
var mlevel3best = new Array();
var mlevel4best = new Array();
var tick = 0;
var startgame = 0;
var ack = 0;
var thetimes = new Array();
var totaltime = 0;
var totalquestions = 0;
var totalmissed = 0;
var totalcorrect = 0;
var score = 0;
var averagetime = 0;
var readtime = 0;
var readgoal;
var automiss = 0;
var record = new Array();
var stats;
var invert;
window.gotoAndStop(1);
makeblackness();
blackness._x = 161;
blackness._y = 0;
this.attachMovie("intro", "intro1", this.getNextHighestDepth());
intro1._x = 200;
intro1._y = 20;
onEnterFrame = function () {
function nextquestion() {
totaltime = totaltime + meth;
quests++;
readtime = totaltime / 1000;
score = Math.round(100 * (totalcorrect / (totalcorrect + totalmissed)));
recore = Math.round(meth / 100);
recore = recore / 10;
prob = (totalquestions - problems) + 1;
record.push({num:prob, time:recore, problem:problem + solution});
stats1.text = "";
invert = "";
averagetime = Math.round((totaltime / totalquestions) / 10);
averagetime = averagetime / 100;
record.sortOn("time", Array.ASCENDING | Array.NUMERIC);
i = 0;
while (i < record.length) {
stats1.text = stats1.text + (((((("#" + record[i].num) + ". ") + record[i].time) + " Seconds\n(") + record[i].problem) + ")\n");
i++;
}
record.reverse();
i = 0;
while (i < record.length) {
invert = invert + (((((("#" + record[i].num) + ". ") + record[i].time) + " Seconds\n(") + record[i].problem) + ")\n");
i++;
}
answer.text = "";
problems--;
makenum(min, max);
problems1.text = problems;
var _local1 = new TextFormat();
_local1.color = 0;
_local1.size = 40;
_local1.bold = true;
problems1.setTextFormat(_local1);
}
if (tick == 1) {
mySound = new Sound();
mySound.attachSound("tick");
mySound.start(0, 1);
tick = 0;
}
if (answer.text == "e") {
restart();
startgame = 1;
ack = 1;
answer.text = "";
makenum(min, max);
startTime = getTimer();
}
if ((startgame == 1) && (ack == 0)) {
problem = "Type 1 to Start";
if (int(answer.text) == 1) {
ack = 1;
makenum(min, max);
startTime = getTimer();
answer.text = "";
}
}
if ((startgame == 1) && (ack == 1)) {
meth = getTimer() - startTime;
methread = Math.round(meth / 100);
methread = methread / 10;
if (methread < 0.25) {
answer.text = "";
}
meter._width = 131 * (meth / timelimit);
if (meter._width > 129) {
meter._width = 130;
}
if (answer.text == solution) {
totalcorrect++;
nextquestion();
startTime = getTimer();
tick = 1;
}
if ((automiss == 1) && (meter._width == 130)) {
totalmissed++;
nextquestion();
startTime = getTimer();
tick = 1;
}
if ((startgame == 1) && (problems == 0)) {
games++;
problem = "End";
startgame = 0;
totaltime = totaltime / 1000;
best = "";
if (totalmissed == 0) {
averagetime1 = averagetime;
this[varname1 + "best"].push({time:totaltime, avgtime:averagetime});
this[varname1 + "best"].sortOn("time", Array.ASCENDING | Array.NUMERIC);
i = 0;
while (i < this[varname1 + "best"].length) {
best = best + (((this[varname1 + "best"][i].avgtime + " Avg ") + this[varname1 + "best"][i].time) + " T\n");
if (starreset == 0) {
if (i == 0) {
if (this[varname1 + "best"][i].avgtime < averagetime) {
averagetime1 = this[varname1 + "best"][i].avgtime;
}
}
}
i++;
}
if (averagetime1 < thetimes[0]) {
this[varname1 + "points"] = 1;
}
if (averagetime1 < thetimes[1]) {
this[varname1 + "points"] = 2;
}
if (averagetime1 < thetimes[2]) {
this[varname1 + "points"] = 3;
}
if (averagetime1 < thetimes[3]) {
this[varname1 + "points"] = 4;
}
if (averagetime1 < thetimes[4]) {
this[varname1 + "points"] = 5;
}
if (averagetime < thetimes[5]) {
this[varname1 + "points"] = 6;
}
if (averagetime1 < thetimes[6]) {
this[varname1 + "points"] = 7;
}
if (averagetime1 < thetimes[7]) {
this[varname1 + "points"] = 8;
}
if (averagetime1 < thetimes[8]) {
this[varname1 + "points"] = 9;
}
if (averagetime1 < thetimes[9]) {
this[varname1 + "points"] = 10;
}
shape.gotoAndStop(3);
shape.gotoAndStop(1);
cumul = ((((((alevel1points + alevel2points) + alevel3points) + alevel4points) + mlevel1points) + mlevel2points) + mlevel3points) + mlevel4points;
if (cumul < 7) {
skilltitle = "Average. 1/1 People";
}
if ((cumul >= 7) && (cumul < 20)) {
skilltitle = "Motivated. 1/50 People";
}
if ((cumul >= 20) && (cumul < 30)) {
skilltitle = "Metally Disciplined. 1/1,000 People";
}
if ((cumul >= 30) && (cumul < 45)) {
skilltitle = "Genius. 1/10,000 People";
}
if ((cumul >= 45) && (cumul < 60)) {
skilltitle = "Awesome Genius 1/100,000 People";
}
if ((cumul >= 60) && (cumul <= 80)) {
skilltitle = "Uber. 1/10,000,000 People";
}
}
}
}
};
Instance of Symbol 103 MovieClip in Frame 1
on (release) {
_root.tick = 1;
Selection.setFocus(_root.answer);
if (this.miss.text == "AutoMiss Off") {
_root.automiss = 1;
this.miss.text = "AutoMiss On";
} else {
this.miss.text = "AutoMiss Off";
_root.automiss = 0;
}
var my_fmt = new TextFormat();
my_fmt.bold = true;
this.miss.setTextFormat(my_fmt);
}
Instance of Symbol 105 MovieClip in Frame 1
on (release) {
_root.tick = 1;
_root.restart();
}
Instance of Symbol 107 MovieClip in Frame 1
on (release) {
_root.tick = 1;
_root.invert1.scroll = _root.invert1.scroll + 4;
_root.stats1.scroll = _root.stats1.scroll + 4;
_root.best1.scroll = _root.best1.scroll + 4;
}
Instance of Symbol 107 MovieClip in Frame 1
on (release) {
_root.tick = 1;
_root.invert1.scroll = _root.invert1.scroll - 4;
_root.stats1.scroll = _root.stats1.scroll - 4;
_root.best1.scroll = _root.best1.scroll - 4;
}
Instance of Symbol 111 MovieClip in Frame 1
on (release) {
_root.tick = 1;
_root.invert = "";
_root.record.sortOn("num", num.ASCENDING | Array.NUMERIC);
i = 0;
while (i < _root.record.length) {
_root.invert = _root.invert + (((((("#" + _root.record[i].num) + ". ") + _root.record[i].time) + " Seconds\n (") + _root.record[i].problem) + ")\n");
i++;
}
}
Instance of Symbol 117 MovieClip in Frame 1
on (release) {
_root.tick = 1;
Selection.setFocus(_root.answer);
if (this.hidet.text == "Hide Time") {
this.hidet.text = "Show Time";
_root.methr._visible = 0;
} else {
this.hidet.text = "Hide Time";
_root.methr._visible = 1;
}
var my_fmt = new TextFormat();
my_fmt.bold = true;
this.hidet.setTextFormat(my_fmt);
}
Instance of Symbol 119 MovieClip in Frame 1
on (release) {
_root.tick = 1;
Selection.setFocus(_root.answer);
if (this.hidem.text == "Hide Meter") {
this.hidem.text = "Show Meter";
_root.meter._visible = 0;
} else {
this.hidem.text = "Hide Meter";
_root.meter._visible = 100;
}
var my_fmt = new TextFormat();
my_fmt.bold = true;
this.hidem.setTextFormat(my_fmt);
}
Instance of Symbol 121 MovieClip "starresets" in Frame 1
on (release) {
_root.tick = 1;
Selection.setFocus(_root.answer);
if (this.staro.text == "Keypad On") {
_root.window.gotoAndStop(2);
this.staro.text = "Keypad Off";
} else {
_root.window.gotoAndStop(1);
this.staro.text = "Keypad On";
if (_root.window._y < 0) {
_root.window._y = 50;
}
if (_root.window._x < 0) {
_root.window._x = 30;
}
if (_root.window._y > 400) {
_root.window._y = 300;
}
if (_root.window._x > 550) {
_root.window._x = 450;
}
}
var my_fmt = new TextFormat();
my_fmt.bold = true;
this.staro.setTextFormat(my_fmt);
}
Instance of Symbol 20 MovieClip in Symbol 24 MovieClip [intro] Frame 1
on (release) {
getURL ("http://www.jimmyr.com/blog/Speed_Math_Trainer_Program_126_2006.php", "_blank");
}
Instance of Symbol 22 MovieClip in Symbol 24 MovieClip [intro] Frame 1
on (release) {
getURL ("http://video.google.com/videoplay?docid=5417104278160413093", "_blank");
}
Instance of Symbol 30 MovieClip in Symbol 39 MovieClip Frame 1
on (release) {
_root.tick = 1;
Selection.setFocus(_root.answer);
_root.shape.gotoAndStop(3);
_root.shape.killstars();
}
Instance of Symbol 32 MovieClip in Symbol 39 MovieClip Frame 1
on (release) {
_root.tick = 1;
Selection.setFocus(_root.answer);
_root.shape.gotoAndStop(2);
_root.shape.killstars();
}
Instance of Symbol 34 MovieClip in Symbol 39 MovieClip Frame 1
on (release) {
_root.tick = 1;
Selection.setFocus(_root.answer);
_root.shape.gotoAndStop(4);
_root.shape.killstars();
}
Instance of Symbol 36 MovieClip in Symbol 39 MovieClip Frame 1
on (release) {
_root.tick = 1;
Selection.setFocus(_root.answer);
_root.shape.gotoAndStop(1);
}
Symbol 48 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 1
stop();
Symbol 52 MovieClip Frame 1
stop();
Symbol 53 MovieClip Frame 1
stop();
Symbol 82 MovieClip Frame 1
function killstars() {
removestars("alevel1");
removestars("alevel2");
removestars("alevel3");
removestars("alevel4");
removestars("mlevel1");
removestars("mlevel2");
removestars("mlevel3");
removestars("mlevel4");
removestars("prac");
}
function removestars(level) {
i = 1;
while (i < 11) {
this.removeMovieClip(this[level + "_title"].removeMovieClip());
this.removeMovieClip(this[level + "_ball"].removeMovieClip());
this.removeMovieClip(this[(level + "_star") + i].removeMovieClip());
i++;
}
}
function buildstars(level, why, tit) {
i = 1;
while (i < 11) {
if (i == 1) {
this[level + "_title"] = this.createEmptyMovieClip(level + "_title", this.getNextHighestDepth());
this[level + "_label"] = this[level + "_title"].createTextField("label", this.getNextHighestDepth(), 20, why - 20, 150, 28);
var _local4 = new TextFormat();
_local4.color = 3355443 /* 0x333333 */;
_local4.size = 16;
_local4.bold = true;
this[level + "_label"].text = tit;
this[level + "_label"].setTextFormat(_local4);
if (_root[level + "points"] >= 8) {
this.attachMovie("ball2", level + "_ball", this.getNextHighestDepth());
}
if ((_root[level + "points"] >= 4) && (_root[level + "points"] <= 7)) {
this.attachMovie("ball1", level + "_ball", this.getNextHighestDepth());
}
if (_root[level + "points"] < 4) {
this.attachMovie("ball", level + "_ball", this.getNextHighestDepth());
}
this[level + "_ball"]._x = 6;
this[level + "_ball"]._y = why - 13;
}
if (_root[level + "points"] >= i) {
this.attachMovie("coloredstar", (level + "_star") + i, this.getNextHighestDepth());
} else {
this.attachMovie("star", (level + "_star") + i, this.getNextHighestDepth());
}
this[(level + "_star") + i]._x = 13 + (i * 11);
this[(level + "_star") + i]._y = why + 2;
i++;
}
}
function builds() {
offset = 50;
interval = 35 + offset;
buildstars("alevel1", interval, "Addition: Basics");
interval = interval + 35;
buildstars("alevel2", interval, "Addition: Medium");
interval = interval + 35;
buildstars("alevel3", interval, "Addition: Hard");
interval = interval + 35;
buildstars("alevel4", interval, "Addition: Mastery");
interval = interval + 45;
buildstars("mlevel1", interval, "Multiply: Basics");
interval = interval + 35;
buildstars("mlevel2", interval, "Multiply: Medium");
interval = interval + 35;
buildstars("mlevel3", interval, "Multiply: Hard");
interval = interval + 35;
buildstars("mlevel4", interval, "Multiply: Mastery");
interval = interval + 35;
buildstars("prac", interval, "Practice");
}
stop();
killstars();
builds();
this.alevel1_title.onRelease = function () {
var _local2 = new Array(15, 10, 4, 3, 2, 1.5, 1.2, 1.1, 1, 0.95, 0.9);
min = 3;
max = 9;
_root.tick = 1;
_root.operator = "Addition";
_root.game("Addition: Basics", "alevel1", _local2, min, max);
};
this.alevel2_title.onRelease = function () {
var _local2 = new Array(30, 15, 10, 7, 5, 4, 3, 2.6, 2.4, 2.1, 1.4);
min = 11;
max = 99;
_root.tick = 1;
_root.operator = "Addition";
_root.game("Addition: Medium", "alevel2", _local2, min, max);
};
this.alevel2_ball.onRelease = function () {
getURL ("http://video.google.com/videoplay?docid=9086188158658946929", _blank);
};
this.alevel3_ball.onRelease = function () {
getURL ("http://video.google.com/videoplay?docid=9086188158658946929", _blank);
};
this.alevel4_ball.onRelease = function () {
getURL ("http://video.google.com/videoplay?docid=9086188158658946929", _blank);
};
this.mlevel2_ball.onRelease = function () {
getURL ("http://video.google.com/videoplay?docid=-7336990286865908964", _blank);
};
this.alevel3_title.onRelease = function () {
var _local2 = new Array(60, 30, 20, 15, 10, 8, 7, 6, 5, 4.5, 4);
min = 111;
max = 999;
_root.tick = 1;
_root.operator = "Addition";
_root.game("Addition: Hard", "alevel3", _local2, min, max);
};
this.alevel4_title.onRelease = function () {
var _local2 = new Array(60, 50, 40, 30, 20, 15, 10, 7, 6, 5, 4.5);
min = 1111;
max = 9999;
_root.tick = 1;
_root.operator = "Addition";
_root.game("Addition: Mastery", "alevel4", _local2, min, max);
};
this.mlevel1_title.onRelease = function () {
var _local2 = new Array(15, 10, 4, 3, 2, 1.7, 1.6, 1.5, 1.4, 1.3, 1.2);
min = 3;
max = 12;
_root.tick = 1;
_root.operator = "Multiplication";
_root.game("Multiply: Basics", "mlevel1", _local2, min, max);
};
this.mlevel2_title.onRelease = function () {
var _local2 = new Array(60, 50, 40, 30, 20, 15, 13, 12, 10, 8, 7);
min = 11;
max = 99;
_root.tick = 1;
_root.operator = "Multiplication";
_root.game("Multiply: Medium", "mlevel2", _local2, min, max);
};
this.mlevel3_title.onRelease = function () {
var _local2 = new Array(150, 80, 60, 45, 33, 26, 20, 16, 12, 8, 7);
min = 111;
max = 999;
_root.tick = 1;
_root.operator = "Multiplication";
_root.game("Multiply: Hard", "mlevel3", _local2, min, max);
};
this.mlevel4_title.onRelease = function () {
var _local2 = new Array(360, 100, 80, 60, 40, 35, 25, 20, 15, 12, 10);
min = 1111;
max = 9999;
_root.tick = 1;
_root.operator = "Multiplication";
_root.game("Multiply: Mastery", "mlevel4", _local2, min, max);
};
this.prac_title.onRelease = function () {
_root.tick = 1;
Selection.setFocus(_root.answer);
_root.shape.gotoAndStop(3);
_root.shape.killstars();
};
Symbol 82 MovieClip Frame 3
checkadd.gotoAndStop(2);
Instance of Symbol 48 MovieClip "checkmult" in Symbol 82 MovieClip Frame 3
on (release) {
_root.tick = 1;
if (this._currentframe == 1) {
this.gotoAndStop(2);
this._parent.checkadd.gotoAndStop(1);
this._parent.checksub.gotoAndStop(1);
this._parent.checkdiv.gotoAndStop(1);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 50 MovieClip in Symbol 82 MovieClip Frame 3
on (release) {
_root.tick = 1;
var limit = int(this._parent.timmer.text);
var min = int(this._parent.tehmin.text);
var max = int(this._parent.tehmax.text);
if (this._parent.checkadd._currentframe == 2) {
_root.operator = "Addition";
}
if (this._parent.checkmult._currentframe == 2) {
_root.operator = "Multiplication";
}
if (this._parent.checksub._currentframe == 2) {
_root.operator = "Substraction";
}
if (this._parent.checkdiv._currentframe == 2) {
_root.operator = "Division";
}
var times = new Array();
solid = 1;
deprec = 0.05;
foo = limit;
i = 0;
while (i < 11) {
times.push(foo);
solid = solid - deprec;
foo = limit * solid;
i++;
}
_root.game("Practice", "prac", times, min, max);
_root.pracers = 1;
}
Instance of Symbol 51 MovieClip "checkdiv" in Symbol 82 MovieClip Frame 3
on (release) {
_root.tick = 1;
if (this._currentframe == 1) {
this.gotoAndStop(2);
this._parent.checkadd.gotoAndStop(1);
this._parent.checkmult.gotoAndStop(1);
this._parent.checksub.gotoAndStop(1);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 52 MovieClip "checkadd" in Symbol 82 MovieClip Frame 3
on (release) {
_root.tick = 1;
if (this._currentframe == 1) {
this.gotoAndStop(2);
this._parent.checksub.gotoAndStop(1);
this._parent.checkmult.gotoAndStop(1);
this._parent.checkdiv.gotoAndStop(1);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 53 MovieClip "checksub" in Symbol 82 MovieClip Frame 3
on (release) {
_root.tick = 1;
if (this._currentframe == 1) {
this.gotoAndStop(2);
this._parent.checkadd.gotoAndStop(1);
this._parent.checkmult.gotoAndStop(1);
this._parent.checkdiv.gotoAndStop(1);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 67 MovieClip in Symbol 82 MovieClip Frame 4
on (release) {
getURL ("http://www.jimmyr.com/blog/Speed_Math_Trainer_Program_126_2006.php", "_blank");
}
Instance of Symbol 69 MovieClip in Symbol 82 MovieClip Frame 4
on (release) {
getURL ("http://www.jimmyr.com/blog/Speed_Math_Trainer_Program_126_2006.php", "_blank");
}
Instance of Symbol 71 MovieClip in Symbol 82 MovieClip Frame 4
on (release) {
getURL ("http://www.cut-the-knot.org/arithmetic/rapid/rapid.shtml", "_blank");
}
Instance of Symbol 73 MovieClip in Symbol 82 MovieClip Frame 4
on (release) {
getURL ("http://mathforum.org/t2t/faq/faq.tricks.html", "_blank");
}
Instance of Symbol 75 MovieClip in Symbol 82 MovieClip Frame 4
on (release) {
getURL ("http://www.jimmyr.com/blog/Speed_Math_Trainer_Program_126_2006.php", "_blank");
}
Instance of Symbol 77 MovieClip in Symbol 82 MovieClip Frame 4
on (release) {
getURL ("http://www.jimmyr.com/help_us.php", "_blank");
}
Instance of Symbol 79 MovieClip in Symbol 82 MovieClip Frame 4
on (release) {
getURL ("http://www.jimmyr.com/blog/Speed_Math_Trainer_Program_126_2006.php", "_blank");
}
Instance of Symbol 81 MovieClip in Symbol 82 MovieClip Frame 4
on (release) {
getURL ("http://en.wikipedia.org/wiki/Mental_calculation", "_blank");
}
Symbol 167 MovieClip Frame 1
this.draggable.onPress = function () {
_root.window.startDrag(false);
};
this.draggable.onRelease = function () {
_root.window.stopDrag();
Selection.setFocus(_root.answer);
Selection.setSelection(9, 9);
};
this.draggable.onReleaseOutside = function () {
_root.window.stopDrag();
Selection.setFocus(_root.answer);
Selection.setSelection(9, 9);
};
Instance of Symbol 135 MovieClip in Symbol 167 MovieClip Frame 1
on (release) {
_root.answer.text = _root.answer.text + "1";
_root.tick = 1;
Selection.setFocus(_root.answer);
Selection.setSelection(9, 9);
}
Instance of Symbol 137 MovieClip in Symbol 167 MovieClip Frame 1
on (release) {
_root.answer.text = _root.answer.text + "2";
_root.tick = 1;
Selection.setFocus(_root.answer);
Selection.setSelection(9, 9);
}
Instance of Symbol 139 MovieClip in Symbol 167 MovieClip Frame 1
on (release) {
_root.answer.text = _root.answer.text + "3";
_root.tick = 1;
Selection.setFocus(_root.answer);
Selection.setSelection(9, 9);
}
Instance of Symbol 141 MovieClip in Symbol 167 MovieClip Frame 1
on (release) {
_root.answer.text = _root.answer.text + "6";
_root.tick = 1;
Selection.setFocus(_root.answer);
Selection.setSelection(9, 9);
}
Instance of Symbol 143 MovieClip in Symbol 167 MovieClip Frame 1
on (release) {
_root.answer.text = _root.answer.text + "5";
_root.tick = 1;
Selection.setFocus(_root.answer);
Selection.setSelection(9, 9);
}
Instance of Symbol 145 MovieClip in Symbol 167 MovieClip Frame 1
on (release) {
_root.answer.text = _root.answer.text + "4";
_root.tick = 1;
Selection.setFocus(_root.answer);
Selection.setSelection(9, 9);
}
Instance of Symbol 147 MovieClip in Symbol 167 MovieClip Frame 1
on (release) {
_root.answer.text = _root.answer.text + "7";
_root.tick = 1;
Selection.setFocus(_root.answer);
Selection.setSelection(9, 9);
}
Instance of Symbol 149 MovieClip in Symbol 167 MovieClip Frame 1
on (release) {
_root.answer.text = _root.answer.text + "8";
_root.tick = 1;
Selection.setFocus(_root.answer);
Selection.setSelection(9, 9);
}
Instance of Symbol 151 MovieClip in Symbol 167 MovieClip Frame 1
on (release) {
_root.answer.text = _root.answer.text + "9";
_root.tick = 1;
Selection.setFocus(_root.answer);
Selection.setSelection(9, 9);
}
Instance of Symbol 153 MovieClip in Symbol 167 MovieClip Frame 1
on (release) {
_root.answer.text = _root.answer.text + "0";
_root.tick = 1;
Selection.setFocus(_root.answer);
Selection.setSelection(9, 9);
}
Instance of Symbol 155 MovieClip in Symbol 167 MovieClip Frame 1
on (release) {
_root.answer.text = "";
_root.tick = 1;
Selection.setFocus(_root.answer);
Selection.setSelection(9, 9);
}
Instance of Symbol 157 MovieClip in Symbol 167 MovieClip Frame 1
on (release) {
_root.answer.text = _root.answer.text.substr(0, _root.answer.text.length - 1);
_root.tick = 1;
Selection.setFocus(_root.answer);
Selection.setSelection(9, 9);
}
Instance of Symbol 162 MovieClip in Symbol 167 MovieClip Frame 1
on (press) {
_root.starresets.staro.text = "Keypad Off";
var my_fmt = new TextFormat();
my_fmt.bold = true;
_root.starresets.staro.setTextFormat(my_fmt);
_root.tick = 1;
_parent.gotoAndStop(2);
}
Instance of Symbol 164 MovieClip in Symbol 167 MovieClip Frame 1
on (press) {
_root.answer.text = "e";
_root.tick = 1;
}
Instance of Symbol 166 MovieClip in Symbol 167 MovieClip Frame 1
on (press) {
_root.answer.text = "= " + _root.solution;
_root.tick = 1;
}