Frame 2
stop();
horseLength = new Array();
firstName = new Array();
lastName = new Array();
disableHorses = 0;
fixHorses = 0;
firstName = ["Princess", "Shirly", "PimPim", "Magic", "Mystic", "Peedy", "Speedy", "Lord", "Baron", "Mister", "Emeror", "Captain", "Sir", "Miss", "Lady", "Old", "Master", "Heroic", "Overlord", "Warlord", "King", "Prince", "Mr.", "Mrs", "Little", "Big", "Gandalf", "Fast", "SureToWin", "Regent", "lieutenant", "Colonel", "sergeant", "Chief", "Holy", "Blackbeard", "David", "Ronald", "Mango", "Frisco", "Inspector", "Banana", "Cherry", "BlueBerry", "Jackson", "Diablo", "Minion", "Angel", "President", "Regent", "Ducal knight", "Royal knight", "Vinsor knight", "Cheriff", "Holy monk"];
lastName = ["CameAlot", "Bottlenose", "Fishbreath", "SockyBottom", "Piggy", "InTheLead", "RaceFlipper", "Flip-Flop", "PickPocket", "Achmet Al Kusach", "Swede", "StreetBum", "Jim", "Crusty", "Thor", "Jason", "Rusty", "oldtimer", "halfdead", "crosseye", "Yellow", "awesome", "speedy", "catchup", "silver", "goldy", "blacky", "runner", "hunter", "sertain", "Neverlast", "hunchback", "Snail", "Slug", "Slayer", "Spider", "Phantom", "Nightcrawler", "AlwaysLast", "Bluefish", "Jay-Jay", "StoneSlinger", "Armageddon", "Italy", "Mawrick", "Gunslinger", "Bonebreaker", "Jawcrusher", "BeastSlayer", "Ghosthunter", "Turtlerider", "Amazon", "Swampthing", "Steelbender", " XII", "Michael J", "Fairytail", "Valiant", "Richard III", "Penny Lane", "Dogma", "Rosenzweig", "Clinton", "G. Bush", "Lincon", "Schwarzenegger"];
bet = 0;
raceNumber = 1;
_root.placeMoney = 0;
_root.theCash = 1000;
_root.headCapital.yourCapital = _root.theCash;
_root.horseSpeed1 = 10;
_root.horseSpeed2 = 10;
_root.horseSpeed3 = 10;
_root.horseSpeed4 = 10;
_root.horseSpeed5 = 10;
_root.horseSpeed6 = 10;
_root.horseSpeed7 = 10;
_root.horseSpeed8 = 10;
i = 1;
while (i < 9) {
randFirstName = math.floor(math.random() * _root.firstName.length);
randLastName = math.floor(math.random() * _root.LastName.length);
_root.race["nameOfHorse" + i] = (_root.firstName[randFirstName] + " ") + _root.lastName[randLastName];
_root.firstName.splice(randFirstName, 1);
_root.lastName.splice(randLastName, 1);
moneyBackRandomizer = math.floor((math.random() * 30) + 2);
_root.race["moneyBack" + i] = moneyBackRandomizer;
i++;
}
Instance of Symbol 54 MovieClip "raceControl" in Frame 2
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 123 MovieClip "places" in Frame 2
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 167 MovieClip "office" in Frame 2
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 192 MovieClip "secondHorse" in Frame 2
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 192 MovieClip "thirdHorse" in Frame 2
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 192 MovieClip "winnerHorse" in Frame 2
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 209 MovieClip "capitalControl" in Frame 2
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 229 MovieClip "sabotage" in Frame 2
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 257 MovieClip "kill" in Frame 2
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 277 MovieClip "payback" in Frame 2
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 290 MovieClip "readyToRace" in Frame 2
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 299 MovieClip "error" in Frame 2
onClipEvent (load) {
this._visible = 0;
}
Frame 3
finalScore = "Your score: " + _root.theCash;
stop();
finalScore = "Game over! You manage to get: $" + _root.score;
Instance of Symbol 5 MovieClip "bar" in Symbol 12 MovieClip Frame 1
onClipEvent (load) {
_root.Preloader.movieTitle = "Loading: " + _url.substring(_url.lastIndexOf("/") + 1, _url.length - 4);
_root.totalFileSize = _root.getBytesTotal();
_root.Preloader.bar._xscale = 0;
}
onClipEvent (enterFrame) {
_root.bytesLoaded = _root.getBytesLoaded();
_root.amountLoaded = _root.bytesLoaded / _root.totalFileSize;
_root.percentLoaded = int(100 * _root.amountLoaded);
this._xscale = _root.percentLoaded;
_root.Preloader.loadingMessage = (_root.percentLoaded + "%") + " Loaded";
_root.Preloader.loadingMessage2 = ((int(_root.bytesLoaded / 1000) + "kb/") + int(_root.totalFileSize / 1000)) + "kb";
if (_root.amountLoaded >= 1) {
_root.gotoAndStop("finish");
}
}
Symbol 44 MovieClip Frame 1
stop();
Instance of Symbol 30 MovieClip "horseRide" in Symbol 44 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Instance of Symbol 42 MovieClip "sadle" in Symbol 44 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Symbol 49 Button
on (release) {
getURL ("http://www.mindgem.nu", "_blank");
}
Symbol 54 MovieClip Frame 1
stop();
Symbol 54 MovieClip Frame 5
i = 1;
while (i < 9) {
_root["randSpeed" + i] = math.floor((math.random() * _root["horseSpeed" + i]) + 1);
_root.track["horse" + i]._x = _root.track["horse" + i]._x + _root["randSpeed" + i];
if (_root.track.finishLine._x < _root.track["horse" + i]._x) {
gotoAndStop (1);
i = 1;
while (i < 9) {
_root.track["horse" + i]._x = _root.track["horse" + i]._x;
_root.track["horse" + i].horseRide.stop();
_root.track["horse" + i].sadle.stop();
i++;
}
_root.places.play();
_root.winnerText = "The winner is " + _root.track["horse" + i];
_root.payback._visible = 100;
_root.payback.raceNumberText = "Result for race " + _root.raceNumber;
_root.payback.paybackControl.play();
} else {
gotoAndPlay (2);
}
i++;
}
Symbol 58 Button
on (release) {
_root.ThisHorse = 1;
_root.race.selectedHorseToRace.gotoAndStop(_root.thisHorse + 1);
if (_root.headCapital.yourCapital < _root.theCash) {
_root.error.errorTitle = "Moneyflow";
_root.error._visible = 100;
_root.error.errorText = "<B>Hang on!</B> Dont you want your money first ?";
} else {
_level10.soundeffects.gotoAndPlay("clicks");
stopAllSounds();
_level10.soundeffects.gotoAndPlay("officesound");
_root.office._visible = 100;
if (20000 < _root.theCash) {
_root.office.placeMoneyText = 9999;
} else {
_root.office.placeMoneyText = int(_root.theCash / 2);
}
_root.timesTheMoney1 = Math.floor(_root.race["moneyBack" + _root.thisHorse]);
_root.timesTheMoney2 = Math.floor(_root.race["moneyBack" + _root.thisHorse] / 2);
_root.timesTheMoney3 = Math.floor(_root.timesTheMoney2 / 2);
_root.office.officeText = ((((((((("Placing a <B>$" + _root.placeMoney) + "</B> bet on <B>") + _root.race["nameOfHorse" + _root.thisHorse]) + "</B>. Winner pays <B>") + _root.timesTheMoney1) + "</B> ttm, Place pays <B>") + _root.timesTheMoney2) + "</B> ttm and Show pays <B>") + _root.timesTheMoney3) + "</B> times the money.";
}
}
Symbol 59 Button
on (release) {
_level10.soundeffects.gotoAndPlay("clicks");
_root.ThisHorse = 2;
_root.race.selectedHorseToRace.gotoAndStop(_root.thisHorse + 1);
if (_root.headCapital.yourCapital < _root.theCash) {
_root.error.errorTitle = "Moneyflow";
_root.error._visible = 100;
_root.error.errorText = "<B>Hang on!</B> Dont you want your money first ?";
} else {
stopAllSounds();
_level10.soundeffects.gotoAndPlay("officesound");
_root.office._visible = 100;
if (20000 < _root.theCash) {
_root.office.placeMoneyText = 9999;
} else {
_root.office.placeMoneyText = int(_root.theCash / 2);
}
_root.timesTheMoney1 = Math.floor(_root.race["moneyBack" + _root.thisHorse]);
_root.timesTheMoney2 = Math.floor(_root.race["moneyBack" + _root.thisHorse] / 2);
_root.timesTheMoney3 = Math.floor(_root.timesTheMoney2 / 2);
_root.office.officeText = ((((((((("Placing <B>$" + _root.placeMoney) + "</B> on <B>") + _root.race["nameOfHorse" + _root.thisHorse]) + "</B>. Winner pays <B>") + _root.timesTheMoney1) + "</B> ttm, Second place pays <B>") + _root.timesTheMoney2) + "</B> ttm and Third place pays <B>") + _root.timesTheMoney3) + "</B> times the money.";
}
}
Symbol 60 Button
on (release) {
_level10.soundeffects.gotoAndPlay("clicks");
_root.ThisHorse = 3;
_root.race.selectedHorseToRace.gotoAndStop(_root.thisHorse + 1);
if (_root.headCapital.yourCapital < _root.theCash) {
_root.error.errorTitle = "Moneyflow";
_root.error._visible = 100;
_root.error.errorText = "<B>Hang on!</B> Dont you want your money first ?";
} else {
stopAllSounds();
_level10.soundeffects.gotoAndPlay("officesound");
_root.office._visible = 100;
if (20000 < _root.theCash) {
_root.office.placeMoneyText = 9999;
} else {
_root.office.placeMoneyText = int(_root.theCash / 2);
}
_root.timesTheMoney1 = Math.floor(_root.race["moneyBack" + _root.thisHorse]);
_root.timesTheMoney2 = Math.floor(_root.race["moneyBack" + _root.thisHorse] / 2);
_root.timesTheMoney3 = Math.floor(_root.timesTheMoney2 / 2);
_root.office.officeText = ((((((((("Placing <B>$" + _root.placeMoney) + "</B> on <B>") + _root.race["nameOfHorse" + _root.thisHorse]) + "</B>. Winner pays <B>") + _root.timesTheMoney1) + "</B> ttm, Second place pays <B>") + _root.timesTheMoney2) + "</B> ttm and Third place pays <B>") + _root.timesTheMoney3) + "</B> times the money.";
}
}
Symbol 61 Button
on (release) {
_level10.soundeffects.gotoAndPlay("clicks");
_root.ThisHorse = 4;
_root.race.selectedHorseToRace.gotoAndStop(_root.thisHorse + 1);
if (_root.headCapital.yourCapital < _root.theCash) {
_root.error.errorTitle = "Moneyflow";
_root.error._visible = 100;
_root.error.errorText = "<B>Hang on!</B> Dont you want your money first ?";
} else {
stopAllSounds();
_level10.soundeffects.gotoAndPlay("officesound");
_root.office._visible = 100;
if (20000 < _root.theCash) {
_root.office.placeMoneyText = 9999;
} else {
_root.office.placeMoneyText = int(_root.theCash / 2);
}
_root.timesTheMoney1 = Math.floor(_root.race["moneyBack" + _root.thisHorse]);
_root.timesTheMoney2 = Math.floor(_root.race["moneyBack" + _root.thisHorse] / 2);
_root.timesTheMoney3 = Math.floor(_root.timesTheMoney2 / 2);
_root.office.officeText = ((((((((("Placing <B>$" + _root.placeMoney) + "</B> on <B>") + _root.race["nameOfHorse" + _root.thisHorse]) + "</B>. Winner pays <B>") + _root.timesTheMoney1) + "</B> ttm, Second place pays <B>") + _root.timesTheMoney2) + "</B> ttm and Third place pays <B>") + _root.timesTheMoney3) + "</B> times the money.";
}
}
Symbol 62 Button
on (release) {
_level10.soundeffects.gotoAndPlay("clicks");
_root.ThisHorse = 5;
_root.race.selectedHorseToRace.gotoAndStop(_root.thisHorse + 1);
if (_root.headCapital.yourCapital < _root.theCash) {
_root.error.errorTitle = "Moneyflow";
_root.error._visible = 100;
_root.error.errorText = "<B>Hang on!</B> Dont you want your money first ?";
} else {
stopAllSounds();
_level10.soundeffects.gotoAndPlay("officesound");
_root.office._visible = 100;
if (20000 < _root.theCash) {
_root.office.placeMoneyText = 9999;
} else {
_root.office.placeMoneyText = int(_root.theCash / 2);
}
_root.timesTheMoney1 = Math.floor(_root.race["moneyBack" + _root.thisHorse]);
_root.timesTheMoney2 = Math.floor(_root.race["moneyBack" + _root.thisHorse] / 2);
_root.timesTheMoney3 = Math.floor(_root.timesTheMoney2 / 2);
_root.office.officeText = ((((((((("Placing <B>$" + _root.placeMoney) + "</B> on <B>") + _root.race["nameOfHorse" + _root.thisHorse]) + "</B>. Winner pays <B>") + _root.timesTheMoney1) + "</B> ttm, Second place pays <B>") + _root.timesTheMoney2) + "</B> ttm and Third place pays <B>") + _root.timesTheMoney3) + "</B> times the money.";
}
}
Symbol 63 Button
on (release) {
_level10.soundeffects.gotoAndPlay("clicks");
_root.ThisHorse = 6;
_root.race.selectedHorseToRace.gotoAndStop(_root.thisHorse + 1);
if (_root.headCapital.yourCapital < _root.theCash) {
_root.error.errorTitle = "Moneyflow";
_root.error._visible = 100;
_root.error.errorText = "<B>Hang on!</B> Dont you want your money first ?";
} else {
stopAllSounds();
_level10.soundeffects.gotoAndPlay("officesound");
_root.office._visible = 100;
if (20000 < _root.theCash) {
_root.office.placeMoneyText = 9999;
} else {
_root.office.placeMoneyText = int(_root.theCash / 2);
}
_root.timesTheMoney1 = Math.floor(_root.race["moneyBack" + _root.thisHorse]);
_root.timesTheMoney2 = Math.floor(_root.race["moneyBack" + _root.thisHorse] / 2);
_root.timesTheMoney3 = Math.floor(_root.timesTheMoney2 / 2);
_root.office.officeText = ((((((((("Placing <B>$" + _root.placeMoney) + "</B> on <B>") + _root.race["nameOfHorse" + _root.thisHorse]) + "</B>. Winner pays <B>") + _root.timesTheMoney1) + "</B> ttm, Second place pays <B>") + _root.timesTheMoney2) + "</B> ttm and Third place pays <B>") + _root.timesTheMoney3) + "</B> times the money.";
}
}
Symbol 64 Button
on (release) {
_level10.soundeffects.gotoAndPlay("clicks");
_root.ThisHorse = 7;
_root.race.selectedHorseToRace.gotoAndStop(_root.thisHorse + 1);
if (_root.headCapital.yourCapital < _root.theCash) {
_root.error.errorTitle = "Moneyflow";
_root.error._visible = 100;
_root.error.errorText = "<B>Hang on!</B> Dont you want your money first ?";
} else {
stopAllSounds();
_level10.soundeffects.gotoAndPlay("officesound");
_root.office._visible = 100;
if (20000 < _root.theCash) {
_root.office.placeMoneyText = 9999;
} else {
_root.office.placeMoneyText = int(_root.theCash / 2);
}
_root.timesTheMoney1 = Math.floor(_root.race["moneyBack" + _root.thisHorse]);
_root.timesTheMoney2 = Math.floor(_root.race["moneyBack" + _root.thisHorse] / 2);
_root.timesTheMoney3 = Math.floor(_root.timesTheMoney2 / 2);
_root.office.officeText = ((((((((("Placing <B>$" + _root.placeMoney) + "</B> on <B>") + _root.race["nameOfHorse" + _root.thisHorse]) + "</B>. Winner pays <B>") + _root.timesTheMoney1) + "</B> ttm, Second place pays <B>") + _root.timesTheMoney2) + "</B> ttm and Third place pays <B>") + _root.timesTheMoney3) + "</B> times the money.";
}
}
Symbol 65 Button
on (release) {
_level10.soundeffects.gotoAndPlay("clicks");
_root.ThisHorse = 8;
_root.race.selectedHorseToRace.gotoAndStop(_root.thisHorse + 1);
if (_root.headCapital.yourCapital < _root.theCash) {
_root.error.errorTitle = "Moneyflow";
_root.error._visible = 100;
_root.error.errorText = "<B>Hang on!</B> Dont you want your money first ?";
} else {
stopAllSounds();
_level10.soundeffects.gotoAndPlay("officesound");
_root.office._visible = 100;
if (20000 < _root.theCash) {
_root.office.placeMoneyText = 9999;
} else {
_root.office.placeMoneyText = int(_root.theCash / 2);
}
_root.timesTheMoney1 = Math.floor(_root.race["moneyBack" + _root.thisHorse]);
_root.timesTheMoney2 = Math.floor(_root.race["moneyBack" + _root.thisHorse] / 2);
_root.timesTheMoney3 = Math.floor(_root.timesTheMoney2 / 2);
_root.office.officeText = ((((((((("Placing <B>$" + _root.placeMoney) + "</B> on <B>") + _root.race["nameOfHorse" + _root.thisHorse]) + "</B>. Winner pays <B>") + _root.timesTheMoney1) + "</B> ttm, Second place pays <B>") + _root.timesTheMoney2) + "</B> ttm and Third place pays <B>") + _root.timesTheMoney3) + "</B> times the money.";
}
}
Symbol 69 MovieClip Frame 1
stop();
Symbol 89 MovieClip Frame 1
stop();
Symbol 118 MovieClip Frame 1
stop();
Symbol 118 MovieClip Frame 3
firstName = new Array();
lastName = new Array();
firstName = ["Princess", "Shirly", "PimPim", "Magic", "Mystic", "Peedy", "Speedy", "Lord", "Baron", "Mister", "Emeror", "Captain", "Sir", "Miss", "Lady", "Old", "Master", "Heroic", "Overlord", "Warlord", "King", "Prince", "Mr.", "Mrs", "Little", "Big", "Gandalf", "Fast", "SureToWin", "Regent", "lieutenant", "Colonel", "sergeant", "Chief", "Holy", "Blackbeard", "David", "Ronald", "Mango", "Frisco", "Inspector", "Banana", "Cherry", "BlueBerry", "Jackson", "Diablo", "Minion", "Angel"];
lastName = ["CameAlot", "Bottlenose", "Fishbreath", "SockyBottom", "Piggy", "InTheLead", "RaceFlipper", "Flip-Flop", "PickPocket", "Achmet Al Kusach", "Swede", "StreetBum", "Jim", "Crusty", "Thor", "Jason", "Rusty", "oldtimer", "halfdead", "crosseye", "Yellow", "awesome", "speedy", "catchup", "silver", "goldy", "blacky", "runner", "hunter", "sertain", "Neverlast", "hunchback", "Snail", "Slug", "Slayer", "Spider", "Phantom", "Nightcrawler", "AlwaysLast", "Bluefish", "Jay-Jay", "StoneSlinger", "Armageddon", "Italy", "Mawrick", "Gunslinger", "Bonebreaker", "Jawcrusher", "BeastSlayer", "Ghosthunter", "Turtlerider", "Amazon", "Swampthing", "Steelbender"];
_root.race.selectedHorseToRace.gotoAndStop(1);
i = 1;
while (i < 9) {
randFirstName = math.floor(math.random() * firstName.length);
randLastName = math.floor(math.random() * LastName.length);
_root.race["nameOfHorse" + i] = (firstName[randFirstName] + " ") + lastName[randLastName];
firstName.splice(randFirstName, 1);
lastName.splice(randLastName, 1);
moneyBackRandomizer = math.floor((math.random() * 30) + 2);
_root.race["moneyBack" + i] = moneyBackRandomizer;
i++;
}
Symbol 118 MovieClip Frame 49
stop();
_root.race.raceIsOn._visible = 0;
_root.winnerHorse._visible = 0;
_root.secondHorse._visible = 0;
_root.thirdHorse._visible = 0;
_root.error._visible = 0;
Instance of Symbol 111 MovieClip "raceIsOn" in Symbol 119 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 118 MovieClip "newRace" in Symbol 119 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
Symbol 123 MovieClip Frame 1
stop();
Symbol 123 MovieClip Frame 2
_root.firstPlace = 0;
_root.secondPlace = 0;
_root.thirdPlace = 0;
_root.firstMark = 0;
_root.secondMark = 0;
_root.thirdMark = 0;
_root.winnerHorse._visible = 100;
_root.secondHorse._visible = 100;
_root.thirdHorse._visible = 100;
_root.paypack._visible = 100;
a = 1;
while (a < 9) {
_root.horseLength.push(_root.track["horse" + a]._x);
if (_root.firstMark < _root.track["horse" + a]._x) {
_root.firstMark = math.floor(_root.track["horse" + a]._x);
_root.firstPlace = _root.race["nameOfHorse" + a];
_root.winnerHorse.gotoAndStop(["horse" + a]);
_root.winnerHorse.winnerName = _root.race["nameOfHorse" + a];
}
i = 1;
while (i < 9) {
if ((_root.track["horse" + i]._x < _root.firstMark) && (_root.secondMark < _root.track["horse" + i]._x)) {
_root.secondMark = math.floor(_root.track["horse" + i]._x);
_root.secondPlace = _root.race["nameOfHorse" + i];
_root.secondHorse.gotoAndStop(["horse" + i]);
_root.secondHorse.winnerName = _root.race["nameOfHorse" + i];
}
o = 1;
while (o < 9) {
if (((_root.track["horse" + o]._x < _root.firstMark) && (_root.track["horse" + o]._x < _root.secondMark)) && (_root.thirdMark < _root.track["horse" + o]._x)) {
_root.thirdMark = math.floor(_root.track["horse" + o]._x);
_root.thirdPlace = _root.race["nameOfHorse" + o];
_root.thirdHorse.gotoAndStop(["horse" + o]);
_root.thirdHorse.winnerName = _root.race["nameOfHorse" + o];
}
o++;
}
i++;
}
_root.winnerHorse.pris.gotoAndStop("first");
_root.secondHorse.pris.gotoAndStop("second");
_root.thirdHorse.pris.gotoAndStop("third");
a++;
}
Symbol 131 Button
on (release, keyPress "<Enter>") {
_level10.soundeffects.gotoAndPlay("clicks");
if ((0 < Math.floor(_root.office.placeMoneyText)) && (_root.theCash >= _root.bet)) {
_level10.soundeffects.gotoAndPlay("startRace");
_root.readyToRace._visible = 100;
_root.readyToRace.readyToRaceText = (((((((((("<B>D</B>o you want to place <B>$" + _root.bet) + "</B> on <B>") + _root.race["nameOfHorse" + _root.thisHorse]) + "</B>. Winner pays <B>") + _root.timesTheMoney1) + "</B> ttm, Second place pays <B>") + _root.timesTheMoney2) + "</B> ttm and Third place pays <B>") + _root.timesTheMoney3) + "</B> times the money.") + "<BR><B> Do</B> you want to go watch the race ?";
_root.error._visible = 0;
_root.office._visible = 0;
_root.bet = Math.floor(_root.office.placeMoneyText);
} else {
_root.error._visible = 100;
_root.error.errorText = "<B>1.</B> You can only place a bet that is equal or less than your capital, the bet can also be max <B>$9999</B>. <B><BR> 2.</B> Make sure there is no spaces or letters in the bet input. ";
}
}
Instance of Symbol 134 MovieClip in Symbol 167 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
_root.office.whatRace.gotoAndStop(_root.raceNumber);
_root.bet = Math.floor(_root.office.placeMoneyText);
_root.office.officeText = ((((((((("Placing a <B>$" + _root.bet) + "</B> bet on <B>") + _root.race["nameOfHorse" + _root.thisHorse]) + "</B>. Winner pays <B>") + _root.timesTheMoney1) + "</B> ttm, Place pays <B>") + _root.timesTheMoney2) + "</B> ttm and Show pays <B>") + _root.timesTheMoney3) + "</B> times the money.";
if (_root.theCash < _root.office.PlaceMoneyText) {
_root.office.PlaceMoneyText = _root.theCash;
_root.bet = Math.floor(_root.office.placeMoneyText);
}
}
Instance of Symbol 166 MovieClip "whatRace" in Symbol 167 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Symbol 172 Button
on (release) {
getURL ("http://tracker.tradedoubler.com/click?p=17201&a=938640&g=99893", "_blank");
}
Symbol 173 Button
on (release) {
getURL ("http://tracker.tradedoubler.com/click?p=175&a=938640&g=85515", "_blank");
}
Symbol 192 MovieClip Frame 1
stop();
Instance of Symbol 183 MovieClip "pris" in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Symbol 209 MovieClip Frame 1
stop();
Symbol 209 MovieClip Frame 5
if ((_root.headCapital.yourCapital + 10000) < _root.theCash) {
_root.headCapital.yourCapital = _root.headCapital.yourCapital + 2000;
gotoAndPlay (4);
} else if ((_root.headCapital.yourCapital + 1000) < _root.theCash) {
_root.headCapital.yourCapital = _root.headCapital.yourCapital + 200;
gotoAndPlay (4);
} else if ((_root.headCapital.yourCapital + 100) < _root.theCash) {
_root.headCapital.yourCapital = _root.headCapital.yourCapital + 30;
gotoAndPlay (4);
} else if (_root.headCapital.yourCapital < _root.theCash) {
_root.headCapital.yourCapital++;
gotoAndPlay (4);
} else {
gotoAndStop (1);
}
Symbol 211 Button
on (release) {
_level10.soundeffects.gotoAndPlay("clicks");
if (_root.theCash >= _root.sabotage.sabotagePrice1) {
this._visible = 0;
_root.kill._visible = 100;
_root.sabotageHorses = 1;
_root.disableHorses = 0;
_root.theCash = _root.theCash - _root.sabotage.sabotagePrice1;
_root.headCapital.yourCapital = _root.theCash;
i = 1;
while (i < 9) {
_root.kill["killThisHorse" + i].gotoAndStop(1);
i++;
}
} else {
_root.error._visible = 100;
_root.error.errorTitle = "Financial problems";
_root.error.errorText = "You have insufficient funds for this option.";
}
}
Symbol 212 Button
on (release) {
_level10.soundeffects.gotoAndPlay("clicks");
if (_root.theCash >= _root.sabotage.sabotagePrice2) {
this._visible = 0;
_root.kill._visible = 100;
_root.sabotageHorses = 2;
_root.fixHorses = 0;
_root.theCash = _root.theCash - _root.sabotage.sabotagePrice2;
_root.headCapital.yourCapital = _root.theCash;
i = 1;
while (i < 9) {
_root.kill["killThisHorse" + i].gotoAndStop(1);
i++;
}
} else {
_root.error._visible = 100;
_root.error.errorTitle = "Financial problems";
_root.error.errorText = "You have insufficient funds for this option.";
}
}
Symbol 214 Button
on (release) {
_level10.soundeffects.gotoAndPlay("clicks");
this._visible = 0;
_root.kill._visible = 0;
_root.race.newRace._visible = 100;
_root.race.newRace.gotoAndPlay(2);
i = 0;
while (i < 9) {
_root.track["horse" + i]._x = -217.65;
i++;
}
}
Symbol 241 Button
on (release) {
_level10.soundeffects.gotoAndPlay("clicks");
H = 1;
if (((_root.disableHorses < 3) && (_root.sabotageHorses == 1)) && (this["killThisHorse" + H]._currentFrame == 1)) {
this["killThisHorse" + H].gotoAndStop(2);
_root.disableHorses++;
_root["horseSpeed" + H] = _root["horseSpeed" + H] - 2;
_root.race["sabo" + H].gotoAndStop("gun");
} else if ((this["killThisHorse" + H]._currentFrame == 2) && (_root.sabotageHorses == 1)) {
_root.disableHorses--;
this["killThisHorse" + H].gotoAndStop(1);
_root["horseSpeed" + H] = 10;
_root.race["sabo" + H].gotoAndStop(1);
}
if (((_root.sabotageHorses == 2) && (this["killThisHorse" + H]._currentFrame == 1)) && (_root.fixHorses < 1)) {
_root.fixHorses = 1;
this["killThisHorse" + H].gotoAndStop(2);
_root["horseSpeed" + H]++;
_root.race["sabo" + H].gotoAndStop("bottle");
} else if ((_root.sabotageHorses == 2) && (this["killThisHorse" + H]._currentFrame == 2)) {
_root.fixHorses = 0;
this["killThisHorse" + H].gotoAndStop(1);
_root["horseSpeed" + H] = 10;
_root.race["sabo" + H].gotoAndStop(1);
}
}
Symbol 242 Button
on (release) {
_level10.soundeffects.gotoAndPlay("clicks");
H = 2;
if (((_root.disableHorses < 3) && (_root.sabotageHorses == 1)) && (this["killThisHorse" + H]._currentFrame == 1)) {
this["killThisHorse" + H].gotoAndStop(2);
_root.disableHorses++;
_root["horseSpeed" + H] = _root["horseSpeed" + H] - 2;
_root.race["sabo" + H].gotoAndStop("gun");
} else if ((this["killThisHorse" + H]._currentFrame == 2) && (_root.sabotageHorses == 1)) {
_root.disableHorses--;
this["killThisHorse" + H].gotoAndStop(1);
_root["horseSpeed" + H] = 10;
_root.race["sabo" + H].gotoAndStop(1);
}
if (((_root.sabotageHorses == 2) && (this["killThisHorse" + H]._currentFrame == 1)) && (_root.fixHorses < 1)) {
_root.fixHorses = 1;
this["killThisHorse" + H].gotoAndStop(2);
_root["horseSpeed" + H]++;
_root.race["sabo" + H].gotoAndStop("bottle");
} else if ((_root.sabotageHorses == 2) && (this["killThisHorse" + H]._currentFrame == 2)) {
_root.fixHorses = 0;
this["killThisHorse" + H].gotoAndStop(1);
_root["horseSpeed" + H] = 10;
_root.race["sabo" + H].gotoAndStop(1);
}
}
Symbol 243 Button
on (release) {
_level10.soundeffects.gotoAndPlay("clicks");
H = 3;
if (((_root.disableHorses < 3) && (_root.sabotageHorses == 1)) && (this["killThisHorse" + H]._currentFrame == 1)) {
this["killThisHorse" + H].gotoAndStop(2);
_root.disableHorses++;
_root["horseSpeed" + H] = _root["horseSpeed" + H] - 2;
_root.race["sabo" + H].gotoAndStop("gun");
} else if ((this["killThisHorse" + H]._currentFrame == 2) && (_root.sabotageHorses == 1)) {
_root.disableHorses--;
this["killThisHorse" + H].gotoAndStop(1);
_root["horseSpeed" + H] = 10;
_root.race["sabo" + H].gotoAndStop(1);
}
if (((_root.sabotageHorses == 2) && (this["killThisHorse" + H]._currentFrame == 1)) && (_root.fixHorses < 1)) {
_root.fixHorses = 1;
this["killThisHorse" + H].gotoAndStop(2);
_root["horseSpeed" + H]++;
_root.race["sabo" + H].gotoAndStop("bottle");
} else if ((_root.sabotageHorses == 2) && (this["killThisHorse" + H]._currentFrame == 2)) {
_root.fixHorses = 0;
this["killThisHorse" + H].gotoAndStop(1);
_root["horseSpeed" + H] = 10;
_root.race["sabo" + H].gotoAndStop(1);
}
}
Symbol 244 Button
on (release) {
_level10.soundeffects.gotoAndPlay("clicks");
H = 4;
if (((_root.disableHorses < 3) && (_root.sabotageHorses == 1)) && (this["killThisHorse" + H]._currentFrame == 1)) {
this["killThisHorse" + H].gotoAndStop(2);
_root.disableHorses++;
_root["horseSpeed" + H]--;
_root.race["sabo" + H].gotoAndStop("gun");
} else if ((this["killThisHorse" + H]._currentFrame == 2) && (_root.sabotageHorses == 1)) {
_root.disableHorses--;
this["killThisHorse" + H].gotoAndStop(1);
_root["horseSpeed" + H] = 10;
_root.race["sabo" + H].gotoAndStop(1);
}
if (((_root.sabotageHorses == 2) && (this["killThisHorse" + H]._currentFrame == 1)) && (_root.fixHorses < 1)) {
_root.fixHorses = 1;
this["killThisHorse" + H].gotoAndStop(2);
_root["horseSpeed" + H]++;
_root.race["sabo" + H].gotoAndStop("bottle");
} else if ((_root.sabotageHorses == 2) && (this["killThisHorse" + H]._currentFrame == 2)) {
_root.fixHorses = 0;
this["killThisHorse" + H].gotoAndStop(1);
_root["horseSpeed" + H] = 10;
_root.race["sabo" + H].gotoAndStop(1);
}
}
Symbol 245 Button
on (release) {
_level10.soundeffects.gotoAndPlay("clicks");
H = 5;
if (((_root.disableHorses < 3) && (_root.sabotageHorses == 1)) && (this["killThisHorse" + H]._currentFrame == 1)) {
this["killThisHorse" + H].gotoAndStop(2);
_root.disableHorses++;
_root["horseSpeed" + H] = _root["horseSpeed" + H] - 2;
_root.race["sabo" + H].gotoAndStop("gun");
} else if ((this["killThisHorse" + H]._currentFrame == 2) && (_root.sabotageHorses == 1)) {
_root.disableHorses--;
this["killThisHorse" + H].gotoAndStop(1);
_root["horseSpeed" + H] = 10;
_root.race["sabo" + H].gotoAndStop(1);
}
if (((_root.sabotageHorses == 2) && (this["killThisHorse" + H]._currentFrame == 1)) && (_root.fixHorses < 1)) {
_root.fixHorses = 1;
this["killThisHorse" + H].gotoAndStop(2);
_root["horseSpeed" + H]++;
_root.race["sabo" + H].gotoAndStop("bottle");
} else if ((_root.sabotageHorses == 2) && (this["killThisHorse" + H]._currentFrame == 2)) {
_root.fixHorses = 0;
this["killThisHorse" + H].gotoAndStop(1);
_root["horseSpeed" + H] = 10;
_root.race["sabo" + H].gotoAndStop(1);
}
}
Symbol 246 Button
on (release) {
_level10.soundeffects.gotoAndPlay("clicks");
H = 6;
if (((_root.disableHorses < 3) && (_root.sabotageHorses == 1)) && (this["killThisHorse" + H]._currentFrame == 1)) {
this["killThisHorse" + H].gotoAndStop(2);
_root.disableHorses++;
_root["horseSpeed" + H] = _root["horseSpeed" + H] - 2;
_root.race["sabo" + H].gotoAndStop("gun");
} else if ((this["killThisHorse" + H]._currentFrame == 2) && (_root.sabotageHorses == 1)) {
_root.disableHorses--;
this["killThisHorse" + H].gotoAndStop(1);
_root["horseSpeed" + H] = 10;
_root.race["sabo" + H].gotoAndStop(1);
}
if (((_root.sabotageHorses == 2) && (this["killThisHorse" + H]._currentFrame == 1)) && (_root.fixHorses < 1)) {
_root.fixHorses = 1;
this["killThisHorse" + H].gotoAndStop(2);
_root["horseSpeed" + H]++;
_root.race["sabo" + H].gotoAndStop("bottle");
} else if ((_root.sabotageHorses == 2) && (this["killThisHorse" + H]._currentFrame == 2)) {
_root.fixHorses = 0;
this["killThisHorse" + H].gotoAndStop(1);
_root["horseSpeed" + H] = 10;
_root.race["sabo" + H].gotoAndStop(1);
}
}
Symbol 247 Button
on (release) {
_level10.soundeffects.gotoAndPlay("clicks");
H = 7;
if (((_root.disableHorses < 3) && (_root.sabotageHorses == 1)) && (this["killThisHorse" + H]._currentFrame == 1)) {
this["killThisHorse" + H].gotoAndStop(2);
_root.disableHorses++;
_root["horseSpeed" + H] = _root["horseSpeed" + H] - 2;
_root.race["sabo" + H].gotoAndStop("gun");
} else if ((this["killThisHorse" + H]._currentFrame == 2) && (_root.sabotageHorses == 1)) {
_root.disableHorses--;
this["killThisHorse" + H].gotoAndStop(1);
_root["horseSpeed" + H] = 10;
_root.race["sabo" + H].gotoAndStop(1);
}
if (((_root.sabotageHorses == 2) && (this["killThisHorse" + H]._currentFrame == 1)) && (_root.fixHorses < 1)) {
_root.fixHorses = 1;
this["killThisHorse" + H].gotoAndStop(2);
_root["horseSpeed" + H]++;
_root.race["sabo" + H].gotoAndStop("bottle");
} else if ((_root.sabotageHorses == 2) && (this["killThisHorse" + H]._currentFrame == 2)) {
_root.fixHorses = 0;
this["killThisHorse" + H].gotoAndStop(1);
_root["horseSpeed" + H] = 10;
_root.race["sabo" + H].gotoAndStop(1);
}
}
Symbol 248 Button
on (release) {
_level10.soundeffects.gotoAndPlay("clicks");
H = 8;
if (((_root.disableHorses < 3) && (_root.sabotageHorses == 1)) && (this["killThisHorse" + H]._currentFrame == 1)) {
this["killThisHorse" + H].gotoAndStop(2);
_root.disableHorses++;
_root["horseSpeed" + H] = _root["horseSpeed" + H] - 2;
_root.race["sabo" + H].gotoAndStop("gun");
} else if ((this["killThisHorse" + H]._currentFrame == 2) && (_root.sabotageHorses == 1)) {
_root.disableHorses--;
this["killThisHorse" + H].gotoAndStop(1);
_root["horseSpeed" + H] = 10;
_root.race["sabo" + H].gotoAndStop(1);
}
if (((_root.sabotageHorses == 2) && (this["killThisHorse" + H]._currentFrame == 1)) && (_root.fixHorses < 1)) {
_root.fixHorses = 1;
this["killThisHorse" + H].gotoAndStop(2);
_root["horseSpeed" + H]++;
_root.race["sabo" + H].gotoAndStop("bottle");
} else if ((_root.sabotageHorses == 2) && (this["killThisHorse" + H]._currentFrame == 2)) {
_root.fixHorses = 0;
this["killThisHorse" + H].gotoAndStop(1);
_root["horseSpeed" + H] = 10;
_root.race["sabo" + H].gotoAndStop(1);
}
}
Symbol 253 Button
on (release) {
_level10.soundeffects.gotoAndPlay("clicks");
this._visible = 0;
_root.sabotage._visible = 100;
if (_root.sabotageHorses == 1) {
_root.theCash = _root.theCash + _root.sabotage.sabotagePrice1;
_root.headCapital.yourCapital = _root.theCash;
} else if (_root.sabotageHorses == 2) {
_root.theCash = _root.theCash + _root.sabotage.sabotagePrice2;
_root.headCapital.yourCapital = _root.theCash;
}
i = 1;
while (i < 9) {
_root.race["sabo" + i].gotoAndStop(1);
_root.kill["killThisHorse" + i].gotoAndStop(1);
_root["horseSpeed" + i] = 10;
_root.sabotageHorses = 0;
_root.disableHorses = 0;
_root.fixHorses = 0;
i++;
}
}
Symbol 254 Button
on (release, keyPress "<Enter>") {
_level10.soundeffects.gotoAndPlay("clicks");
this._visible = 0;
_root.race.newRace._visible = 100;
i = 0;
while (i < 9) {
_root.track["horse" + i]._x = -217.65;
i++;
}
_root.race.newRace.gotoAndPlay(2);
}
Symbol 256 MovieClip Frame 1
stop();
Symbol 260 Button
on (release, keyPress "<Enter>") {
_level10.soundeffects.gotoAndPlay("clicks");
this._visible = 0;
i = 2;
while (i < 9) {
duplicateMovieClip (_root.track.horse1, "horse" + i, i);
_root.track["horse" + i]._y = _root.track["horse" + int(i - 1)]._y + 27.8;
_root.track["horse" + i].gotoAndStop(i);
_root.track["horse" + i].horseRide.stop();
_root.track["horse" + i].sadle.stop();
i++;
}
}
Symbol 261 Button
on (release, keyPress "<Enter>") {
loadMovieNum ("tracksound.swf", 10);
this._visible = 0;
i = 2;
while (i < 9) {
duplicateMovieClip (_root.track.horse1, "horse" + i, i);
_root.track["horse" + i]._y = _root.track["horse" + int(i - 1)]._y + 27.8;
_root.track["horse" + i].gotoAndStop(i);
_root.track["horse" + i].horseRide.stop();
_root.track["horse" + i].sadle.stop();
i++;
}
}
Symbol 268 Button
on (release, keyPress "<Enter>") {
_level10.soundeffects.gotoAndPlay("clicks");
if (4 < _root.raceNumber) {
_root.score = _root.theCash;
_root.gotoAndStop("gameover");
}
_root.raceNumber++;
i = 0;
while (i < 9) {
_root.race["sabo" + i].gotoAndStop(1);
_root["horseSpeed" + i] = 10;
i++;
}
_root.capitalControl.gotoAndPlay(3);
maybeSabotage = Math.floor((Math.random() * 6) + 1);
if (_root.theCash < 1) {
_root.error._visible = 100;
_root.error.errorTitle = "Game over";
_root.error.errorText = "<B>To bad!</B> You are broke, thats it fella.. Please leave the <B>TrotterTrack</B> premises immediately.";
this._visible = 0;
} else if (maybeSabotage == 2) {
_level10.soundeffects.gotoAndPlay("horseSound");
_root.sabotage._visible = 100;
this._visible = 0;
randomSabotagePrice1 = Math.floor((math.random() * _root.theCash) + (_root.theCash / 4));
_root.sabotage.sabotagePrice1 = randomSabotagePrice1;
randomSabotagePrice2 = Math.floor((math.random() * _root.theCash) + (_root.theCash / 2));
_root.sabotage.sabotagePrice2 = randomSabotagePrice2;
} else if (maybeSabotage == 1) {
this._visible = 0;
_root.error._visible = 100;
whoSaid = new Array();
whoSaid = ["former stableowner 'Bill Dogmeat' says,", "Local drunk tell police,", "Retired Jockey spill the beans,", "fortune-teller speaks out,", "Scientist come with new facts,"];
whoSaidWhat = Math.floor(math.random() * whoSaid.length);
whosHorse = Math.floor((Math.random() * 8) + 1);
_root.error.errorTitle = "HorseFace NEWSPAPER";
_root.error.errorText = ((("<B>Horseface NEWS!</B> <BR> " + whoSaid[whoSaidWhat]) + "<BR> -<B>Sabotage!</B> Stable nr ") + whosHorse) + " will be sabotage in the next race- ";
_root["horseSpeed" + whosHorse] = _root["horseSpeed" + whosHorse] - 3;
} else if (2 < maybeSabotage) {
this._visible = 0;
_root.race.newRace._visible = 100;
_root.race.newRace.gotoAndPlay(2);
i = 0;
while (i < 9) {
_root.track["horse" + i]._x = -217.65;
i++;
}
}
}
Symbol 276 MovieClip Frame 1
stop();
Symbol 276 MovieClip Frame 6
_root.bet = _root.trying;
if (_root.firstPlace == _root.race["nameOfHorse" + _root.thisHorse]) {
_root.theCash = _root.theCash + Math.floor(_root.timesTheMoney1 * _root.trying);
_root.payback.paybackText = ((((("<B>Congratulations!!</B> " + _root.race["nameOfHorse" + _root.thisHorse]) + " came in <B>FIRST</B> place, and it pays <B>") + _root.timesTheMoney1) + "</B> times the money, that comes to <B>$") + Math.floor(_root.timesTheMoney1 * _root.trying)) + "</B> that will be added to your account.";
_root.payback.pris2._visible = 100;
_root.payback.pris2.gotoAndStop("first");
} else if (_root.secondPlace == _root.race["nameOfHorse" + _root.thisHorse]) {
_root.theCash = _root.theCash + Math.floor(_root.timesTheMoney2 * _root.trying);
_root.payback.paybackText = ((((("<B>Good!</B> " + _root.race["nameOfHorse" + _root.thisHorse]) + " came in <B>SECOND</B> place, and it pays <B>") + _root.timesTheMoney2) + "</B> times the money, that comes to <B>$") + Math.floor(_root.timesTheMoney2 * _root.trying)) + "</B>.";
_root.payback.pris2._visible = 100;
_root.payback.pris2.gotoAndStop("second");
} else if (_root.thirdPlace == _root.race["nameOfHorse" + _root.thisHorse]) {
_root.theCash = _root.theCash + Math.floor(_root.timesTheMoney3 * _root.trying);
_root.payback.paybackText = ((((("<B>Fine...</B> " + _root.race["nameOfHorse" + _root.thisHorse]) + " came in <B>THIRD</B> place, and it pays <B>") + _root.timesTheMoney3) + "</B> times the money, that <B>$") + Math.floor(_root.timesTheMoney3 * _root.trying)) + "</B>.straight down your pocket.";
_root.payback.pris2._visible = 100;
_root.payback.pris2.gotoAndStop("third");
} else {
_root.payback.paybackText = ("<B>" + _root.race["nameOfHorse" + _root.thisHorse]) + "</B> did not qualify for a price position, better luck next time.";
_root.payback.pris2._visible = 0;
_root.payback.pris2.gotoAndStop("zip");
}
Instance of Symbol 272 MovieClip "pris2" in Symbol 277 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
this.stop();
}
Instance of Symbol 276 MovieClip "paybackControl" in Symbol 277 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
Symbol 279 Button
on (release) {
_level10.soundeffects.gotoAndPlay("clicks");
_root.office._visible = 100;
this._visible = 0;
}
Symbol 286 Button
on (release, keyPress "<Enter>") {
_level10.soundeffects.gotoAndPlay("clicks");
if (0 < _root.bet) {
_root.trying = _root.bet;
_root.theCash = _root.theCash - _root.bet;
_root.headCapital.yourCapital = _root.theCash;
_root.raceControl.gotoAndPlay("race");
stopAllSounds();
_level10.soundeffects.gotoAndPlay("horseRunning");
i = 0;
while (i < 9) {
_root.track["horse" + i]._x = -217.65;
_root.track["horse" + i].horseRide.play();
_root.track["horse" + i].sadle.play();
i++;
}
_root.error._visible = 0;
_root.payback._visible = 0;
_root.office._visible = 0;
_root.readyToRace._visible = 0;
_root.race.raceIsOn._visible = 100;
} else {
_root.error.errorText = "You have not placed any <B>bets</B> yet.";
}
}
Symbol 294 Button
on (release) {
getURL ("http://tracker.tradedoubler.com/click?p=17201&a=938640", "_blank");
}
Symbol 298 Button
on (release, keyPress "<Enter>") {
_level10.soundeffects.gotoAndPlay("clicks");
this._visible = 0;
if (_root.theCash < 1) {
_root.gotoAndstop("gameover");
_root.score = _root.theCash;
}
if (_root.payback.maybeSabotage == 1) {
_root.race.newRace._visible = 100;
_root.race.newRace.gotoAndPlay(2);
i = 0;
while (i < 9) {
_root.track["horse" + i]._x = -217.65;
i++;
}
}
}
Symbol 303 Button
on (release) {
gotoAndStop (2);
}
Symbol 306 Button
on (release) {
getURL ("http://www.mindgem.nu", "_blank");
}
Symbol 421 Button
on (release, keyPress "<Enter>") {
if (HinderSubmission == "False") {
_root.hiscoreTable.paper.filename = "mindgem/track.sco";
_root.hiscoreTable.paper.scoresize = 100;
_root.hiscoreTable.paper.action = "INSERT";
_root.hiscoreTable.paper.viewtype = "FLASH";
_root.hiscoreTable.paper.winname = _root.hiscoreTable.name;
_root.hiscoreTable.paper.winscore = _root.theCash;
_root.hiscoreTable.paper.loadVariables("http://www.mindgem.nu/cgi-bin/track.php", "GET");
HinderSubmission = "True";
}
}
Symbol 424 Button
on (release) {
HinderSubmission = "False";
_root.gotoAndStop("finish");
}
Symbol 427 Button
on (press) {
startDrag (this, false, 108, -140.6, 108, 139.9);
_root.hiscoreTable.scrollActive = "True";
}
on (release) {
stopDrag();
_root.hiscoreTable.scrollActive = "False";
}
Symbol 432 MovieClip Frame 9
s = 0;
while (s < 50) {
if (999999999 < _root.hiscoreTable.paper["SCORE" + s]) {
_root.hiscoreTable.paper["SCORE" + s] = "Billionaire";
}
if ((_root.hiscoreTable.paper["SCORE" + s] < 1) || (_root.hiscoreTable.paper["NAME" + s] == "")) {
_root.hiscoreTable.paper["SCORE" + s] = "";
_root.hiscoreTable.paper["NAME" + s] = "";
}
s++;
}
Symbol 438 MovieClip Frame 1
y = 0;
while (y < 100) {
_root.hiscoretable.paper["NAME" + y] = "";
_root.hiscoretable.paper["SCORE" + y] = "";
y++;
}
_root.hiscoreTable.finalScore = "Your score: " + _root.theCash;
HinderSubmission = "False";
Instance of Symbol 430 MovieClip in Symbol 438 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.scrollActive == "True") {
_parent.paper._y = -_parent.scroll._y;
}
}
onClipEvent (load) {
this._visible = 0;
_parent.paper._y = -_parent.scroll._y;
}
Instance of Symbol 432 MovieClip in Symbol 438 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
Symbol 448 Button
on (release) {
getURL ("http://www.mindgem.nu", "_blank");
}
Symbol 449 Button
on (release) {
getURL ("mailto:info@mindgem.nu", "_self");
}