Frame 1
_root.winchamp = 0;
_root.money = 0;
_root.yourname = 0;
_root.gender = 0;
_root.starts = 0;
_root.wins = 0;
_root.seconds = 0;
_root.thirds = 0;
_root.seat3 = 0;
_root.seat2 = 0;
_root.seat = 0;
_root.train1 = 0;
_root.train1 = 0;
_root.train2 = 0;
_root.energy = 0;
_root.yourcolour = 0;
_root.lvl = 0;
_root.yourspeed = 0;
_root.firstplace = 0;
_root.raceextra = 0;
_root.extra = 0;
_root.addup = 0;
stop();
Frame 2
if (_root.playsound != 1) {
stopAllSounds();
my_sound = new Sound();
my_sound.attachSound("mix1");
_root.my_sound.start(0, 1000);
_root.playsound = 1;
}
stop();
_root.seat = 0;
_root.seat2 = 0;
_root.seat3 = 0;
_root.train1 = 1;
_root.train2 = 1;
_root.energy = 20;
_root.yourcolour = 1;
_root.money = 1250;
_root.lvl = "Maiden";
_root.starts = 0;
_root.wins = 0;
_root.seconds = 0;
_root.thirds = 0;
_root.yourspeed = 3;
_root.firstplace = 0;
_root.raceextra = 2;
_root.extra = 2;
_root.betta1 = 0;
_root.choice1 = 0;
_root.betta2 = 0;
_root.choice2 = 0;
_root.addup = 0;
_root.moneybet1 = 0;
_root.moneybet2 = 0;
Instance of Symbol 44 MovieClip "racer" in Frame 2
onClipEvent (enterFrame) {
this._x = this._x + random(0);
}
Frame 3
stop();
_root.gender = "Male";
Instance of Symbol 96 MovieClip "mal" in Frame 3
on (press) {
this.nextFrame();
_root.gender = "Female";
_root.fem.prevFrame();
}
Instance of Symbol 99 MovieClip "fem" in Frame 3
on (press) {
this.nextFrame();
_root.gender = "Male";
_root.mal.prevFrame();
}
Frame 4
stop();
Frame 5
gotoAndStop (20);
Frame 6
gotoAndStop (22);
Frame 7
gotoAndStop (23);
Frame 8
gotoAndStop (24);
Frame 9
gotoAndStop (26);
Frame 10
if (_root.energy <= 0) {
gotoAndPlay (25);
}
if (_root.money <= 0) {
_root.money = 0;
gotoAndPlay (21);
}
_root.racer.gotoAndStop(_root.yourcolour);
if (_root.lvl == "Maiden") {
_root.racelvl = random(3) + random(3);
_root.fee = 50;
}
if (_root.lvl == "Grade 5") {
_root.racelvl = (random(4) + random(2)) + 1;
_root.fee = 75;
}
if (_root.lvl == "Grade 4") {
_root.racelvl = (random(4) + random(3)) + 2;
_root.fee = 100;
}
if (_root.lvl == "Grade 3") {
_root.racelvl = random(6) + 2;
_root.fee = 100;
}
if (_root.lvl == "Grade 2") {
_root.racelvl = random(6) + 3;
_root.fee = 100;
}
if (_root.lvl == "Grade 1") {
_root.racelvl = (random(4) + random(4)) + 3;
_root.fee = 150;
}
if (_root.lvl == "Champion") {
_root.racelvl = (random(4) + random(4)) + 3;
_root.fee = 150;
}
if (_root.newrace != 1) {
_root.newrace = 1;
_root.raceposition = random(8) + 1;
_root.racer.racedog.rug.gotoAndStop(_root.raceposition);
_root.trackchoice = random(16);
if (_root.trackchoice == 0) {
_root.tracks = "Albion Park";
}
if (_root.trackchoice == 1) {
_root.tracks = "Sunshine Track";
}
if (_root.trackchoice == 2) {
_root.tracks = "Ipswich";
}
if (_root.trackchoice == 3) {
_root.tracks = "Gold Coast ";
}
if (_root.trackchoice == 4) {
_root.tracks = "Gosford)";
}
if (_root.trackchoice == 5) {
_root.tracks = "Warragul";
}
if (_root.trackchoice == 6) {
_root.tracks = "Lismore";
}
if (_root.trackchoice == 7) {
_root.tracks = "Horsham";
}
if (_root.trackchoice == 8) {
_root.tracks = "Gawler";
}
if (_root.trackchoice == 9) {
_root.tracks = "Mandurah";
}
if (_root.trackchoice == 10) {
_root.tracks = "Devonport";
}
if (_root.trackchoice == 11) {
_root.tracks = "Angle Park";
}
if (_root.trackchoice == 12) {
_root.tracks = "Sandown";
}
if (_root.trackchoice == 13) {
_root.tracks = "The Meadows";
}
if (_root.trackchoice == 14) {
_root.tracks = "Hobart";
}
if (_root.trackchoice == 15) {
_root.tracks = "Wentworth Park";
}
}
_root.energybar2.gotoAndStop(_root.energy);
_root.racer.racedog.rug.gotoAndStop(_root.raceposition);
stop();
Frame 11
_root.speedbar.gotoAndStop(_root.train1);
_root.staminabar.gotoAndStop(_root.train2);
_root.energybar2.gotoAndStop(_root.energy);
_root.energybar.gotoAndStop(_root.energy);
stop();
Frame 12
if (_root.seat == 1) {
_root.kennel.nextFrame();
}
if (_root.seat2 == 1) {
_root.ball.nextFrame();
}
_root.energybar2.gotoAndStop(_root.energy);
stop();
Instance of Symbol 187 MovieClip in Frame 12
onClipEvent (load) {
this._visible = false;
if (_root.winchamp == 1) {
this._visible = true;
}
}
Frame 13
_root.energybar2.gotoAndStop(_root.energy);
stop();
Frame 14
_root.energybar2.gotoAndStop(_root.energy);
if (_root.newrace2 != 1) {
_root.newrace2 = 1;
_root.pickerer = random(5);
if (_root.pickerer == 0) {
_root.racername1 = "Flat Pancake";
_root.dogodds1 = "4:1";
_root.doggy1 = 4;
_root.raceodds1 = 3 + random(4);
_root.aicolour1 = 1;
_root.racername2 = "Speed Devil";
_root.dogodds2 = "2:1";
_root.doggy2 = 2;
_root.raceodds2 = 3 + random(6);
_root.aicolour2 = 3;
_root.racername3 = "Slow Kid";
_root.dogodds3 = "10:1";
_root.doggy3 = 10;
_root.raceodds3 = 3;
_root.aicolour3 = 2;
_root.racername4 = "Silly Sausage";
_root.dogodds4 = "3:1";
_root.doggy4 = 3;
_root.raceodds4 = 3 + random(5);
_root.aicolour4 = 4;
_root.racername5 = "Apple Eater";
_root.dogodds5 = "5:1";
_root.doggy5 = 5;
_root.raceodds5 = 3 + random(3);
_root.aicolour5 = 1;
_root.racername6 = "Revolted";
_root.dogodds6 = "6:1";
_root.doggy6 = 6;
_root.raceodds6 = 3 + random(2);
_root.aicolour6 = 3;
_root.racername7 = "Lightnerific";
_root.dogodds7 = "2:1";
_root.doggy7 = 2;
_root.raceodds7 = 3 + random(6);
_root.aicolour7 = 4;
_root.racername8 = "Ouch!!";
_root.dogodds8 = "3:1";
_root.doggy8 = 3;
_root.raceodds8 = 3 + random(5);
_root.aicolour8 = 1;
}
if (_root.pickerer == 1) {
_root.racername1 = "Fault Cannon";
_root.dogodds1 = "3:1";
_root.doggy1 = 3;
_root.raceodds1 = 3 + random(5);
_root.aicolour1 = 2;
_root.racername2 = "Axil Grinder";
_root.dogodds2 = "5:1";
_root.doggy2 = 5;
_root.raceodds2 = 3 + random(3);
_root.aicolour2 = 4;
_root.racername3 = "!!Really Awkward!!";
_root.dogodds3 = "20:1";
_root.doggy3 = 20;
_root.raceodds3 = 2;
_root.aicolour3 = 1;
_root.racername4 = "Why Me";
_root.dogodds4 = "3:1";
_root.doggy4 = 3;
_root.raceodds4 = 3 + random(5);
_root.aicolour4 = 2;
_root.racername5 = "Masked Avenger";
_root.dogodds5 = "3:1";
_root.doggy5 = 3;
_root.raceodds5 = 3 + random(5);
_root.aicolour5 = 3;
_root.racername6 = "Revolted make 2";
_root.dogodds6 = "7:1";
_root.doggy6 = 7;
_root.raceodds6 = (3 + random(3)) - 1;
_root.aicolour6 = 1;
_root.racername7 = "Ice T";
_root.dogodds7 = "4:1";
_root.doggy7 = 4;
_root.raceodds7 = 3 + random(4);
_root.aicolour7 = 2;
_root.racername8 = "Triple Plunder";
_root.dogodds8 = "2:1";
_root.doggy8 = 2;
_root.raceodds8 = 3 + random(6);
_root.aicolour8 = 4;
}
if (_root.pickerer == 2) {
_root.racername1 = "Freak Speaker";
_root.dogodds1 = "4:1";
_root.doggy1 = 4;
_root.raceodds1 = 3 + random(4);
_root.aicolour1 = 2;
_root.racername2 = "Uncle Bob";
_root.dogodds2 = "5:1";
_root.doggy2 = 5;
_root.raceodds2 = 3 + random(3);
_root.aicolour2 = 4;
_root.racername3 = "Pain Killer";
_root.dogodds3 = "3:1";
_root.doggy3 = 3;
_root.raceodds3 = 5 + random(2);
_root.aicolour3 = 1;
_root.racername4 = "Escape Artist";
_root.dogodds4 = "2:1";
_root.doggy4 = 2;
_root.raceodds4 = 3 + random(6);
_root.aicolour4 = 2;
_root.racername5 = "Marked Rookie";
_root.dogodds5 = "4:1";
_root.doggy5 = 4;
_root.raceodds5 = (3 + random(5)) - 1;
_root.aicolour5 = 3;
_root.racername6 = "Singer";
_root.dogodds6 = "5:1";
_root.doggy6 = 5;
_root.raceodds6 = 3 + random(3);
_root.aicolour6 = 1;
_root.racername7 = "Necron Lord";
_root.dogodds7 = "4:1";
_root.doggy7 = 4;
_root.raceodds7 = 3 + random(5);
_root.aicolour7 = 2;
_root.racername8 = "Kamakaazee";
_root.dogodds8 = "10:1";
_root.doggy8 = 10;
_root.raceodds8 = random(3) + random(5);
_root.aicolour8 = 4;
}
if (_root.pickerer == 3) {
_root.racername1 = "Blue bell";
_root.dogodds1 = "3:1";
_root.doggy1 = 3;
_root.raceodds1 = 4 + random(4);
_root.aicolour1 = 2;
_root.racername2 = "Angel Dust";
_root.dogodds2 = "4:1";
_root.doggy2 = 4;
_root.raceodds2 = 4 + random(3);
_root.aicolour2 = 4;
_root.racername3 = "Spyda";
_root.dogodds3 = "2:1";
_root.doggy3 = 2;
_root.raceodds3 = 6 + random(3);
_root.aicolour3 = 3;
_root.racername4 = "Big Surprise";
_root.dogodds4 = "10:1";
_root.doggy4 = 10;
_root.raceodds4 = 2 + random(6);
_root.aicolour4 = 1;
_root.racername5 = "Mystic Dream";
_root.dogodds5 = "4:1";
_root.doggy5 = 4;
_root.raceodds5 = (3 + random(5)) - 1;
_root.aicolour5 = 4;
_root.racername6 = "Karma";
_root.dogodds6 = "5:1";
_root.doggy6 = 5;
_root.raceodds6 = 3 + random(3);
_root.aicolour6 = 3;
_root.racername7 = "Jasper";
_root.dogodds7 = "3:1";
_root.doggy7 = 3;
_root.raceodds7 = 4 + random(5);
_root.aicolour7 = 2;
_root.racername8 = "Metal Solo";
_root.dogodds8 = "2:1";
_root.doggy8 = 2;
_root.raceodds8 = 5 + random(4);
_root.aicolour8 = 2;
}
if (_root.pickerer == 4) {
_root.racername1 = "Its a Secret";
_root.dogodds1 = "6:1";
_root.doggy1 = 6;
_root.raceodds1 = 3 + random(3);
_root.aicolour1 = 1;
_root.racername2 = "Firestarter";
_root.dogodds2 = "4:1";
_root.doggy2 = 4;
_root.raceodds2 = 4 + random(3);
_root.aicolour2 = 3;
_root.racername3 = "Dreamer";
_root.dogodds3 = "2:1";
_root.doggy3 = 2;
_root.raceodds3 = 6 + random(3);
_root.aicolour3 = 4;
_root.racername4 = "Calamity Jan";
_root.dogodds4 = "3:1";
_root.doggy4 = 3;
_root.raceodds4 = 3 + random(6);
_root.aicolour4 = 2;
_root.racername5 = "Bingo Ben";
_root.dogodds5 = "3:1";
_root.doggy5 = 3;
_root.raceodds5 = (4 + random(5)) - 1;
_root.aicolour5 = 3;
_root.racername6 = "Messy Mildred";
_root.dogodds6 = "10:1";
_root.doggy6 = 10;
_root.raceodds6 = 3 + random(2);
_root.aicolour6 = 1;
_root.racername7 = "Paddy";
_root.dogodds7 = "4:1";
_root.doggy7 = 4;
_root.raceodds7 = 3 + random(5);
_root.aicolour7 = 3;
_root.racername8 = "Special Pumpkin";
_root.dogodds8 = "20:1";
_root.doggy8 = 20;
_root.raceodds8 = 1 + random(5);
_root.aicolour8 = 4;
}
}
stop();
Frame 16
stop();
_root.racer1.gotoAndStop(random(5));
_root.racer2.gotoAndStop(random(5));
_root.racer3.gotoAndStop(random(5));
_root.racer4.gotoAndStop(random(5));
_root.racer5.gotoAndStop(random(5));
_root.racer6.gotoAndStop(random(5));
_root.racer7.gotoAndStop(random(5));
_root.racer8.gotoAndStop(random(5));
if (_root.raceposition == 1) {
_root.racer1.gotoAndStop(_root.yourcolour);
}
if (_root.raceposition == 2) {
_root.racer2.gotoAndStop(_root.yourcolour);
}
if (_root.raceposition == 3) {
_root.racer3.gotoAndStop(_root.yourcolour);
}
if (_root.raceposition == 4) {
_root.racer4.gotoAndStop(_root.yourcolour);
}
if (_root.raceposition == 5) {
_root.racer5.gotoAndStop(_root.yourcolour);
}
if (_root.raceposition == 6) {
_root.racer6.gotoAndStop(_root.yourcolour);
}
if (_root.raceposition == 7) {
_root.racer7.gotoAndStop(_root.yourcolour);
}
if (_root.raceposition == 8) {
_root.racer8.gotoAndStop(_root.yourcolour);
}
_root.racer1.racedog.rug.gotoAndStop(1);
_root.racer2.racedog.rug.gotoAndStop(2);
_root.racer3.racedog.rug.gotoAndStop(3);
_root.racer4.racedog.rug.gotoAndStop(4);
_root.racer5.racedog.rug.gotoAndStop(5);
_root.racer6.racedog.rug.gotoAndStop(6);
_root.racer7.racedog.rug.gotoAndStop(7);
_root.racer8.racedog.rug.gotoAndStop(8);
_root.num1 = _root.racelvl + random(_root.raceextra);
_root.num2 = _root.racelvl + random(_root.raceextra);
_root.num3 = _root.racelvl + random(_root.raceextra);
_root.num4 = _root.racelvl + random(_root.raceextra);
_root.num5 = _root.racelvl + random(_root.raceextra);
_root.num6 = _root.racelvl + random(_root.raceextra);
_root.num7 = _root.racelvl + random(_root.raceextra);
_root.num8 = _root.racelvl + random(_root.raceextra);
if (_root.raceposition == 1) {
_root.num1 = _root.yourspeed + random(_root.extra);
}
if (_root.raceposition == 2) {
_root.num2 = _root.yourspeed + random(_root.extra);
}
if (_root.raceposition == 3) {
_root.num3 = _root.yourspeed + random(_root.extra);
}
if (_root.raceposition == 4) {
_root.num4 = _root.yourspeed + random(_root.extra);
}
if (_root.raceposition == 5) {
_root.num5 = _root.yourspeed + random(_root.extra);
}
if (_root.raceposition == 6) {
_root.num6 = _root.yourspeed + random(_root.extra);
}
if (_root.raceposition == 7) {
_root.num7 = _root.yourspeed + random(_root.extra);
}
if (_root.raceposition == 8) {
_root.num8 = _root.yourspeed + random(_root.extra);
}
Instance of Symbol 44 MovieClip "racer1" in Frame 16
onClipEvent (enterFrame) {
this._x = this._x + random(_root.num1);
}
onClipEvent (enterFrame) {
if (_root.racer1.impact.hitTest(this._parent.backing.fin.finline)) {
_root.racer1.impact.nextFrame();
if (_root.pos1 == 2) {
_root.thirdplace = 1;
_root.pos1 = 3;
}
if (_root.pos1 == 1) {
_root.secondplace = 1;
_root.pos1 = 2;
}
if (_root.pos1 == 0) {
_root.firstplace = 1;
_root.pos1 = 1;
}
}
}
Instance of Symbol 44 MovieClip "racer2" in Frame 16
onClipEvent (enterFrame) {
this._x = this._x + random(_root.num2);
}
onClipEvent (enterFrame) {
if (_root.racer2.impact.hitTest(this._parent.backing.fin.finline)) {
_root.racer2.impact.nextFrame();
if (_root.pos1 == 2) {
_root.thirdplace = 2;
_root.pos1 = 3;
}
if (_root.pos1 == 1) {
_root.secondplace = 2;
_root.pos1 = 2;
}
if (_root.pos1 == 0) {
_root.firstplace = 2;
_root.pos1 = 1;
}
}
}
Instance of Symbol 44 MovieClip "racer3" in Frame 16
onClipEvent (enterFrame) {
this._x = this._x + random(_root.num3);
}
onClipEvent (enterFrame) {
if (_root.racer3.impact.hitTest(this._parent.backing.fin.finline)) {
_root.racer3.impact.nextFrame();
if (_root.pos1 == 2) {
_root.thirdplace = 3;
_root.pos1 = 3;
}
if (_root.pos1 == 1) {
_root.secondplace = 3;
_root.pos1 = 2;
}
if (_root.pos1 == 0) {
_root.firstplace = 3;
_root.pos1 = 1;
}
}
}
Instance of Symbol 44 MovieClip "racer4" in Frame 16
onClipEvent (enterFrame) {
this._x = this._x + random(_root.num4);
}
onClipEvent (enterFrame) {
if (_root.racer4.impact.hitTest(this._parent.backing.fin.finline)) {
_root.racer4.impact.nextFrame();
if (_root.pos1 == 2) {
_root.thirdplace = 4;
_root.pos1 = 3;
}
if (_root.pos1 == 1) {
_root.secondplace = 4;
_root.pos1 = 2;
}
if (_root.pos1 == 0) {
_root.firstplace = 4;
_root.pos1 = 1;
}
}
}
Instance of Symbol 44 MovieClip "racer5" in Frame 16
onClipEvent (enterFrame) {
this._x = this._x + random(_root.num5);
}
onClipEvent (enterFrame) {
if (_root.racer5.impact.hitTest(this._parent.backing.fin.finline)) {
_root.racer5.impact.nextFrame();
if (_root.pos1 == 2) {
_root.thirdplace = 5;
_root.pos1 = 3;
}
if (_root.pos1 == 1) {
_root.secondplace = 5;
_root.pos1 = 2;
}
if (_root.pos1 == 0) {
_root.firstplace = 5;
_root.pos1 = 1;
}
}
}
Instance of Symbol 44 MovieClip "racer6" in Frame 16
onClipEvent (enterFrame) {
this._x = this._x + random(_root.num6);
}
onClipEvent (enterFrame) {
if (_root.racer6.impact.hitTest(this._parent.backing.fin.finline)) {
_root.racer6.impact.nextFrame();
if (_root.pos1 == 2) {
_root.thirdplace = 6;
_root.pos1 = 3;
}
if (_root.pos1 == 1) {
_root.secondplace = 6;
_root.pos1 = 2;
}
if (_root.pos1 == 0) {
_root.firstplace = 6;
_root.pos1 = 1;
}
}
}
Instance of Symbol 44 MovieClip "racer7" in Frame 16
onClipEvent (enterFrame) {
this._x = this._x + random(_root.num7);
}
onClipEvent (enterFrame) {
if (_root.racer7.impact.hitTest(this._parent.backing.fin.finline)) {
_root.racer7.impact.nextFrame();
if (_root.pos1 == 2) {
_root.thirdplace = 7;
_root.pos1 = 3;
}
if (_root.pos1 == 1) {
_root.secondplace = 7;
_root.pos1 = 2;
}
if (_root.pos1 == 0) {
_root.firstplace = 7;
_root.pos1 = 1;
}
}
}
Instance of Symbol 44 MovieClip "racer8" in Frame 16
onClipEvent (enterFrame) {
this._x = this._x + random(_root.num8);
}
onClipEvent (enterFrame) {
if (_root.racer8.impact.hitTest(this._parent.backing.fin.finline)) {
_root.racer8.impact.nextFrame();
if (_root.pos1 == 2) {
_root.thirdplace = 8;
_root.pos1 = 3;
}
if (_root.pos1 == 1) {
_root.secondplace = 8;
_root.pos1 = 2;
}
if (_root.pos1 == 0) {
_root.firstplace = 8;
_root.pos1 = 1;
}
}
}
Frame 17
stop();
_root.racer1.gotoAndStop(_root.yourcolour);
_root.timing = 90;
if (_root.train1 > 10) {
_root.timing = 60;
}
if (_root.train1 > 15) {
_root.timing = 40;
}
if (_root.traintype == 1) {
_root.inputer1.gotoAndStop(2);
_root.note3 = "Press space when the slider is on the red";
_root.timing = 35;
}
if (_root.traintype == 0) {
_root.inputer1.gotoAndStop(1);
_root.note3 = "Press the appropriate button when displayed";
}
Instance of Symbol 264 MovieClip "post" in Frame 17
onClipEvent (enterFrame) {
if (_root.racer1.impact.hitTest(this._parent.post)) {
_root.gotoAndStop(6);
}
}
Frame 18
stop();
_root.racer1.gotoAndStop(_root.yourcolour);
_root.timing = 25;
Instance of Symbol 288 MovieClip "slider" in Frame 18
on (keyPress "<Space>") {
_root.slider.slider2.play();
if (_root.completed != 1) {
if (_root.attack == 1) {
_root.slider.slider2.gotoAndPlay(11);
_root.trainbar.nextFrame();
_root.completed = 1;
}
}
}
Frame 19
stop();
_root.racer1.gotoAndStop(_root.aicolour1);
_root.racer2.gotoAndStop(_root.aicolour2);
_root.racer3.gotoAndStop(_root.aicolour3);
_root.racer4.gotoAndStop(_root.aicolour4);
_root.racer5.gotoAndStop(_root.aicolour5);
_root.racer6.gotoAndStop(_root.aicolour6);
_root.racer7.gotoAndStop(_root.aicolour7);
_root.racer8.gotoAndStop(_root.aicolour8);
_root.racer1.racedog.rug.gotoAndStop(1);
_root.racer2.racedog.rug.gotoAndStop(2);
_root.racer3.racedog.rug.gotoAndStop(3);
_root.racer4.racedog.rug.gotoAndStop(4);
_root.racer5.racedog.rug.gotoAndStop(5);
_root.racer6.racedog.rug.gotoAndStop(6);
_root.racer7.racedog.rug.gotoAndStop(7);
_root.racer8.racedog.rug.gotoAndStop(8);
_root.num1 = _root.raceodds1;
_root.num2 = _root.raceodds2;
_root.num3 = _root.raceodds3;
_root.num4 = _root.raceodds4;
_root.num5 = _root.raceodds5;
_root.num6 = _root.raceodds6;
_root.num7 = _root.raceodds7;
_root.num8 = _root.raceodds8;
Instance of Symbol 44 MovieClip "racer1" in Frame 19
onClipEvent (enterFrame) {
this._x = this._x + random(_root.num1);
}
onClipEvent (enterFrame) {
if (_root.racer1.impact.hitTest(this._parent.backing.fin.finline)) {
_root.racer1.impact.nextFrame();
if (_root.pos1 == 2) {
_root.thirdplace = 1;
_root.pos1 = 3;
}
if (_root.pos1 == 1) {
_root.secondplace = 1;
_root.pos1 = 2;
}
if (_root.pos1 == 0) {
_root.firstplace = 1;
_root.pos1 = 1;
}
}
}
Instance of Symbol 44 MovieClip "racer2" in Frame 19
onClipEvent (enterFrame) {
this._x = this._x + random(_root.num2);
}
onClipEvent (enterFrame) {
if (_root.racer2.impact.hitTest(this._parent.backing.fin.finline)) {
_root.racer2.impact.nextFrame();
if (_root.pos1 == 2) {
_root.thirdplace = 2;
_root.pos1 = 3;
}
if (_root.pos1 == 1) {
_root.secondplace = 2;
_root.pos1 = 2;
}
if (_root.pos1 == 0) {
_root.firstplace = 2;
_root.pos1 = 1;
}
}
}
Instance of Symbol 44 MovieClip "racer3" in Frame 19
onClipEvent (enterFrame) {
this._x = this._x + random(_root.num3);
}
onClipEvent (enterFrame) {
if (_root.racer3.impact.hitTest(this._parent.backing.fin.finline)) {
_root.racer3.impact.nextFrame();
if (_root.pos1 == 2) {
_root.thirdplace = 3;
_root.pos1 = 3;
}
if (_root.pos1 == 1) {
_root.secondplace = 3;
_root.pos1 = 2;
}
if (_root.pos1 == 0) {
_root.firstplace = 3;
_root.pos1 = 1;
}
}
}
Instance of Symbol 44 MovieClip "racer4" in Frame 19
onClipEvent (enterFrame) {
this._x = this._x + random(_root.num4);
}
onClipEvent (enterFrame) {
if (_root.racer4.impact.hitTest(this._parent.backing.fin.finline)) {
_root.racer4.impact.nextFrame();
if (_root.pos1 == 2) {
_root.thirdplace = 4;
_root.pos1 = 3;
}
if (_root.pos1 == 1) {
_root.secondplace = 4;
_root.pos1 = 2;
}
if (_root.pos1 == 0) {
_root.firstplace = 4;
_root.pos1 = 1;
}
}
}
Instance of Symbol 44 MovieClip "racer5" in Frame 19
onClipEvent (enterFrame) {
this._x = this._x + random(_root.num5);
}
onClipEvent (enterFrame) {
if (_root.racer5.impact.hitTest(this._parent.backing.fin.finline)) {
_root.racer5.impact.nextFrame();
if (_root.pos1 == 2) {
_root.thirdplace = 5;
_root.pos1 = 3;
}
if (_root.pos1 == 1) {
_root.secondplace = 5;
_root.pos1 = 2;
}
if (_root.pos1 == 0) {
_root.firstplace = 5;
_root.pos1 = 1;
}
}
}
Instance of Symbol 44 MovieClip "racer6" in Frame 19
onClipEvent (enterFrame) {
this._x = this._x + random(_root.num6);
}
onClipEvent (enterFrame) {
if (_root.racer6.impact.hitTest(this._parent.backing.fin.finline)) {
_root.racer6.impact.nextFrame();
if (_root.pos1 == 2) {
_root.thirdplace = 6;
_root.pos1 = 3;
}
if (_root.pos1 == 1) {
_root.secondplace = 6;
_root.pos1 = 2;
}
if (_root.pos1 == 0) {
_root.firstplace = 6;
_root.pos1 = 1;
}
}
}
Instance of Symbol 44 MovieClip "racer7" in Frame 19
onClipEvent (enterFrame) {
this._x = this._x + random(_root.num7);
}
onClipEvent (enterFrame) {
if (_root.racer7.impact.hitTest(this._parent.backing.fin.finline)) {
_root.racer7.impact.nextFrame();
if (_root.pos1 == 2) {
_root.thirdplace = 7;
_root.pos1 = 3;
}
if (_root.pos1 == 1) {
_root.secondplace = 7;
_root.pos1 = 2;
}
if (_root.pos1 == 0) {
_root.firstplace = 7;
_root.pos1 = 1;
}
}
}
Instance of Symbol 44 MovieClip "racer8" in Frame 19
onClipEvent (enterFrame) {
this._x = this._x + random(_root.num8);
}
onClipEvent (enterFrame) {
if (_root.racer8.impact.hitTest(this._parent.backing.fin.finline)) {
_root.racer8.impact.nextFrame();
if (_root.pos1 == 2) {
_root.thirdplace = 8;
_root.pos1 = 3;
}
if (_root.pos1 == 1) {
_root.secondplace = 8;
_root.pos1 = 2;
}
if (_root.pos1 == 0) {
_root.firstplace = 8;
_root.pos1 = 1;
}
}
}
Frame 20
stop();
_root.newrace = 0;
if (_root.raceposition == _root.firstplace) {
_root.note = ("Well done, your dog " + _root.yourname) + " came first in the race";
if (_root.lvl == "Maiden") {
_root.money = _root.money + 200;
_root.winnings = 200;
_root.wins = _root.wins + 1;
}
if (_root.lvl == "Grade 5") {
_root.money = _root.money + 300;
_root.winnings = 300;
_root.wins = _root.wins + 1;
}
if (_root.lvl == "Grade 4") {
_root.money = _root.money + 400;
_root.winnings = 400;
_root.wins = _root.wins + 1;
}
if (_root.lvl == "Grade 3") {
_root.money = _root.money + 500;
_root.winnings = 500;
_root.wins = _root.wins + 1;
}
if (_root.lvl == "Grade 2") {
_root.money = _root.money + 600;
_root.winnings = 600;
_root.wins = _root.wins + 1;
}
if (_root.lvl == "Grade 1") {
_root.money = _root.money + 700;
_root.winnings = 700;
_root.wins = _root.wins + 1;
}
}
if (_root.wins == 50) {
gotoAndStop (30);
_root.wins = 51;
}
if (_root.raceposition == _root.secondplace) {
_root.note = ("Well done, your dog " + _root.yourname) + " came second in the race";
if (_root.lvl == "Maiden") {
_root.money = _root.money + 100;
_root.winnings = 100;
_root.seconds = _root.seconds + 1;
}
if (_root.lvl == "Grade 5") {
_root.money = _root.money + 150;
_root.winnings = 150;
_root.seconds = _root.seconds + 1;
}
if (_root.lvl == "Grade 4") {
_root.money = _root.money + 200;
_root.winnings = 200;
_root.wins = _root.wins + 1;
}
if (_root.lvl == "Grade 3") {
_root.money = _root.money + 250;
_root.winnings = 250;
_root.wins = _root.wins + 1;
}
if (_root.lvl == "Grade 2") {
_root.money = _root.money + 300;
_root.winnings = 300;
_root.wins = _root.wins + 1;
}
if (_root.lvl == "Grade 1") {
_root.money = _root.money + 350;
_root.winnings = 350;
_root.wins = _root.wins + 1;
}
}
if (_root.raceposition == _root.thirdplace) {
_root.note = ("Well done, your dog " + _root.yourname) + " came third in the race";
if (_root.lvl == "Maiden") {
_root.money = _root.money + 50;
_root.winnings = 50;
_root.thirds = _root.thirds + 1;
}
if (_root.lvl == "Grade 5") {
_root.money = _root.money + 75;
_root.winnings = 75;
_root.thirds = _root.thirds + 1;
}
if (_root.lvl == "Grade 4") {
_root.money = _root.money + 100;
_root.winnings = 100;
_root.wins = _root.wins + 1;
}
if (_root.lvl == "Grade 3") {
_root.money = _root.money + 125;
_root.winnings = 125;
_root.wins = _root.wins + 1;
}
if (_root.lvl == "Grade 2") {
_root.money = _root.money + 150;
_root.winnings = 150;
_root.wins = _root.wins + 1;
}
if (_root.lvl == "Grade 1") {
_root.money = _root.money + 175;
_root.winnings = 175;
_root.wins = _root.wins + 1;
}
}
if (_root.raceposition != _root.secondplace) {
if (_root.raceposition != _root.thirdplace) {
if (_root.raceposition != _root.firstplace) {
_root.note = ("Your dog " + _root.yourname) + " did not make a place";
_root.money = _root.money + 0;
_root.winnings = 0;
}
}
}
if (_root.wins >= 1) {
_root.lvl = "Grade 5";
}
if (_root.wins >= 10) {
_root.lvl = "Grade 4";
}
if (_root.wins >= 20) {
_root.lvl = "Grade 3";
}
if (_root.wins >= 30) {
_root.lvl = "Grade 2";
}
if (_root.wins >= 40) {
_root.lvl = "Grade 1";
}
if (_root.wins >= 50) {
_root.lvl = "Champion";
}
user_so = SharedObject.getLocal("user");
user_so.data.ymoney = _root.money;
user_so.data.yname = _root.yourname;
user_so.data.ygender = _root.gender;
user_so.data.ystarts = _root.starts;
user_so.data.ywins = _root.wins;
user_so.data.yseconds = _root.seconds;
user_so.data.ythirds = _root.thirds;
user_so.data.yseat3 = _root.seat3;
user_so.data.yseat2 = _root.seat2;
user_so.data.yseat = _root.seat;
user_so.data.ytrain1 = _root.train1;
user_so.data.ytrain2 = _root.train2;
user_so.data.yenergy = _root.energy;
user_so.data.ycolour = _root.yourcolour;
user_so.data.ylvl = _root.lvl;
user_so.data.yspeed = _root.yourspeed;
user_so.data.yfirstp = _root.firstplace;
user_so.data.yrextra = _root.raceextra;
user_so.data.yextra = _root.extra;
user_so.data.yaddup = _root.addup;
user_so.data.yaddup = _root.winchamp;
user_so.flush();
Frame 21
stop();
Frame 22
stop();
_root.yourspeed = _root.yourspeed + 0.4;
if (_root.yourspeed >= 8) {
_root.yourspeed = 8;
}
_root.train1 = _root.train1 + 1;
if (_root.train1 >= 20) {
_root.train1 = 20;
}
Frame 23
stop();
Frame 24
stop();
_root.extra = _root.extra + 0.5;
if (_root.extra >= 4) {
_root.extra = 4;
}
_root.train2 = _root.train2 + 5;
if (_root.train2 >= 20) {
_root.train2 = 20;
}
Frame 25
stop();
Frame 26
stop();
_root.newrace2 = 0;
_root.wincash = 0;
_root.wincash2 = 0;
_root.winnings = 0;
if (_root.firstplace == 1) {
_root.winner1 = _root.racername1;
_root.oddogs = _root.doggy1;
}
if (_root.firstplace == 2) {
_root.winner1 = _root.racername2;
_root.oddogs = _root.doggy2;
}
if (_root.firstplace == 3) {
_root.winner1 = _root.racername3;
_root.oddogs = _root.doggy3;
}
if (_root.firstplace == 4) {
_root.winner1 = _root.racername4;
_root.oddogs = _root.doggy4;
}
if (_root.firstplace == 5) {
_root.winner1 = _root.racername5;
_root.oddogs = _root.doggy5;
}
if (_root.firstplace == 6) {
_root.winner1 = _root.racername6;
_root.oddogs = _root.doggy6;
}
if (_root.firstplace == 7) {
_root.winner1 = _root.racername7;
_root.oddogs = _root.doggy7;
}
if (_root.firstplace == 8) {
_root.winner1 = _root.racername8;
_root.oddogs = _root.doggy8;
}
if (_root.secondplace == 1) {
_root.winner2 = _root.racername1;
_root.oddogs2 = _root.doggy1;
}
if (_root.secondplace == 2) {
_root.winner2 = _root.racername2;
_root.oddogs2 = _root.doggy2;
}
if (_root.secondplace == 3) {
_root.winner2 = _root.racername3;
_root.oddogs2 = _root.doggy3;
}
if (_root.secondplace == 4) {
_root.winner2 = _root.racername4;
_root.oddogs2 = _root.doggy4;
}
if (_root.secondplace == 5) {
_root.winner2 = _root.racername5;
_root.oddogs2 = _root.doggy5;
}
if (_root.secondplace == 6) {
_root.winner2 = _root.racername6;
_root.oddogs2 = _root.doggy6;
}
if (_root.secondplace == 7) {
_root.winner2 = _root.racername7;
_root.oddogs2 = _root.doggy7;
}
if (_root.secondplace == 8) {
_root.winner2 = _root.racername8;
_root.oddogs2 = _root.doggy8;
}
if (_root.thirdplace == 1) {
_root.winner3 = _root.racername1;
_root.oddogs2 = _root.doggy1;
}
if (_root.thirdplace == 2) {
_root.winner3 = _root.racername2;
_root.oddogs2 = _root.doggy2;
}
if (_root.thirdplace == 3) {
_root.winner3 = _root.racername3;
_root.oddogs2 = _root.doggy3;
}
if (_root.thirdplace == 4) {
_root.winner3 = _root.racername4;
_root.oddogs2 = _root.doggy4;
}
if (_root.thirdplace == 5) {
_root.winner3 = _root.racername5;
_root.oddogs2 = _root.doggy5;
}
if (_root.thirdplace == 6) {
_root.winner3 = _root.racername6;
_root.oddogs2 = _root.doggy6;
}
if (_root.thirdplace == 7) {
_root.winner3 = _root.racername7;
_root.oddogs2 = _root.doggy7;
}
if (_root.thirdplace == 8) {
_root.winner3 = _root.racername8;
_root.oddogs2 = _root.doggy8;
}
if (_root.firstplace == _root.winbet) {
_root.wincash = int(_root.moneybet1) * int(_root.oddogs);
_root.winnings = int(_root.wincash);
_root.money = _root.money + int(_root.wincash);
}
if (_root.firstplace == _root.placebet) {
_root.wincash2 = ((int(_root.moneybet2) * int(_root.oddogs)) * 0.25) + int(_root.moneybet2);
_root.winnings = int(_root.wincash2 + _root.wincash);
_root.money = _root.money + int(_root.wincash2);
}
if (_root.secondplace == _root.placebet) {
_root.wincash2 = ((int(_root.moneybet2) * int(_root.oddogs)) * 0.25) + int(_root.moneybet2);
_root.winnings = int(_root.wincash2 + _root.wincash);
_root.money = _root.money + int(_root.wincash2);
}
if (_root.thirdplace == _root.placebet) {
_root.wincash2 = ((int(_root.moneybet2) * int(_root.oddogs)) * 0.25) + int(_root.moneybet2);
_root.winnings = int(_root.wincash2 + _root.wincash);
_root.money = _root.money + int(_root.wincash2);
}
Frame 27
stop();
Frame 28
stop();
Frame 29
stop();
Frame 30
stop();
_root.winchamp = 1;
Symbol 14 MovieClip Frame 1
stop();
Symbol 14 MovieClip Frame 2
stop();
Symbol 14 MovieClip Frame 3
stop();
Symbol 14 MovieClip Frame 4
stop();
Symbol 14 MovieClip Frame 5
stop();
Symbol 14 MovieClip Frame 6
stop();
Symbol 14 MovieClip Frame 7
stop();
Symbol 14 MovieClip Frame 8
stop();
Symbol 22 MovieClip Frame 1
stop();
Symbol 22 MovieClip Frame 2
stop();
Symbol 44 MovieClip Frame 1
stop();
Symbol 44 MovieClip Frame 2
stop();
Symbol 44 MovieClip Frame 3
stop();
Symbol 44 MovieClip Frame 4
stop();
Symbol 52 Button
on (release) {
_root.play();
}
Symbol 53 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 53 MovieClip Frame 2
gotoAndPlay (1);
Symbol 58 MovieClip Frame 34
stop();
Symbol 58 MovieClip Frame 38
stop();
Symbol 63 Button
on (release) {
play();
}
Symbol 73 Button
on (press) {
_root.racer.gotoAndStop(3);
_root.yourcolour = 3;
}
Symbol 75 Button
on (press) {
_root.racer.gotoAndStop(1);
_root.yourcolour = 1;
}
Symbol 77 Button
on (press) {
_root.racer.gotoAndStop(2);
_root.yourcolour = 2;
}
Symbol 79 Button
on (press) {
_root.racer.gotoAndStop(4);
_root.yourcolour = 4;
}
Symbol 82 MovieClip Frame 6
stop();
Symbol 83 Button
on (release) {
gotoAndPlay (28);
}
Symbol 85 Button
on (release) {
play();
_root.yourname = _root.namer;
}
Symbol 96 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 2
stop();
Symbol 99 MovieClip Frame 1
stop();
Symbol 99 MovieClip Frame 2
stop();
Symbol 100 Button
on (release) {
prevFrame();
}
Symbol 102 Button
on (release) {
gotoAndPlay (10);
}
Symbol 119 MovieClip Frame 1
stop();
Symbol 121 Button
on (release) {
gotoAndPlay (27);
}
Symbol 124 Button
on (press) {
stopAllSounds();
_root.playsound = 0;
}
Symbol 126 Button
on (press) {
if (_root.playsound != 1) {
stopAllSounds();
my_sound = new Sound();
my_sound.attachSound("mix1");
_root.my_sound.start(0, 1000);
_root.playsound = 1;
}
}
Symbol 127 Button
on (release) {
gotoAndPlay (29);
}
Symbol 143 Button
on (release) {
_root.energy = _root.energy - 4;
_root.starts = _root.starts + 1;
_root.pos1 = 0;
_root.money = _root.money - _root.fee;
gotoAndPlay (16);
if (_root.money <= 0) {
_root.money = 0;
}
}
Symbol 154 Button
on (press) {
gotoAndStop (11);
}
Symbol 155 Button
on (press) {
gotoAndStop (12);
}
Symbol 156 Button
on (press) {
gotoAndStop (13);
}
Symbol 157 Button
on (press) {
gotoAndStop (14);
}
Symbol 160 Button
on (press) {
gotoAndStop (10);
}
Symbol 163 Button
on (release) {
if (_root.train1 != 20) {
if (_root.money > 250) {
_root.money = _root.money - 250;
_root.energy = _root.energy - 5;
gotoAndStop (17);
_root.traintype = random(2);
}
}
}
Symbol 167 Button
on (release) {
if (_root.train2 != 20) {
if (_root.seat3 == 1) {
_root.energy = _root.energy - 5;
gotoAndStop (18);
}
}
}
Symbol 175 Button
on (release) {
if (_root.money > 100) {
_root.money = _root.money - 100;
gotoAndStop (15);
if (_root.seat != 1) {
_root.energy = _root.energy + 10;
}
if (_root.seat == 1) {
_root.energy = 20;
}
if (_root.energy > 20) {
_root.energy = 20;
}
}
}
Symbol 180 MovieClip Frame 1
stop();
Symbol 180 MovieClip Frame 2
stop();
Symbol 183 MovieClip Frame 1
stop();
Symbol 183 MovieClip Frame 2
stop();
Symbol 190 Button
on (release) {
if (_root.seat != 1) {
if (_root.money > 250) {
_root.money = _root.money - 250;
_root.seat = 1;
_root.buy1 = "Sold Out";
}
}
}
Symbol 192 Button
on (release) {
if (_root.seat2 != 1) {
if (_root.money > 20) {
_root.money = _root.money - 20;
_root.seat2 = 1;
_root.buy2 = "Sold Out";
_root.yourspeed = _root.yourspeed + 0.4;
}
}
}
Symbol 194 Button
on (release) {
if (_root.seat3 != 1) {
if (_root.money > 1000) {
_root.money = _root.money - 1000;
_root.seat3 = 1;
_root.buy3 = "Sold Out";
}
}
}
Symbol 202 Button
on (release) {
_root.winbet = int(_root.choice1);
_root.placebet = int(_root.choice2);
_root.moneybet1 = int(_root.betta1);
_root.moneybet2 = int(_root.betta2);
_root.addup = int(_root.betta1) + int(_root.betta2);
if (_root.addup < 0) {
_root.addup = 0;
}
if (_root.money > _root.addup) {
_root.pos1 = 0;
_root.money = _root.money - _root.addup;
gotoAndPlay (19);
}
}
Symbol 244 MovieClip Frame 100
stop();
Symbol 245 Button
on (press) {
gotoAndStop (10);
}
Symbol 258 MovieClip Frame 1
stop();
Symbol 261 MovieClip Frame 83
_root.comeup = random(8);
if (_root.comeup == 0) {
_root.num1 = _root.num1 + 2;
}
if (_root.comeup == 1) {
_root.num2 = _root.num2 + 2;
}
if (_root.comeup == 2) {
_root.num3 = _root.num3 + 2;
}
if (_root.comeup == 3) {
_root.num4 = _root.num4 + 2;
}
if (_root.comeup == 4) {
_root.num5 = _root.num5 + 2;
}
if (_root.comeup == 5) {
_root.num6 = _root.num6 + 2;
}
if (_root.comeup == 6) {
_root.num7 = _root.num7 + 2;
}
if (_root.comeup == 7) {
_root.num8 = _root.num8 + 2;
}
Symbol 261 MovieClip Frame 113
_root.backing.bunny.play();
_root.backing.fin.play();
Symbol 261 MovieClip Frame 140
stop();
_root.gotoAndStop(5);
Symbol 278 MovieClip Frame 1
stop();
Instance of Symbol 280 MovieClip in Symbol 281 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.unto != 1) {
if (Key.isDown(87)) {
_root.unto = 1;
_root.inputer1.inputer2.inputer3.play();
_root.racer1._x = _root.racer1._x + 8;
}
}
}
Symbol 281 MovieClip Frame 15
_root.unto = 0;
Instance of Symbol 280 MovieClip in Symbol 281 MovieClip Frame 18
onClipEvent (enterFrame) {
if (_root.unto != 1) {
if (Key.isDown(69)) {
_root.unto = 1;
_root.inputer1.inputer2.inputer3.play();
_root.racer1._x = _root.racer1._x + 8;
}
}
}
Symbol 281 MovieClip Frame 25
_root.unto = 0;
Instance of Symbol 280 MovieClip in Symbol 281 MovieClip Frame 28
onClipEvent (enterFrame) {
if (_root.unto != 1) {
if (Key.isDown(83)) {
_root.unto = 1;
_root.inputer1.inputer2.inputer3.play();
_root.racer1._x = _root.racer1._x + 8;
}
}
}
Symbol 281 MovieClip Frame 33
_root.unto = 0;
Instance of Symbol 280 MovieClip in Symbol 281 MovieClip Frame 37
onClipEvent (enterFrame) {
if (_root.unto != 1) {
if (Key.isDown(65)) {
_root.unto = 1;
_root.inputer1.inputer2.inputer3.play();
_root.racer1._x = _root.racer1._x + 8;
}
}
}
Symbol 281 MovieClip Frame 43
_root.unto = 0;
Instance of Symbol 280 MovieClip in Symbol 281 MovieClip Frame 46
onClipEvent (enterFrame) {
if (_root.unto != 1) {
if (Key.isDown(81)) {
_root.unto = 1;
_root.inputer1.inputer2.inputer3.play();
_root.racer1._x = _root.racer1._x + 8;
}
}
}
Symbol 281 MovieClip Frame 50
_root.unto = 0;
Instance of Symbol 280 MovieClip in Symbol 281 MovieClip Frame 55
onClipEvent (enterFrame) {
if (_root.unto != 1) {
if (Key.isDown(69)) {
_root.unto = 1;
_root.inputer1.inputer2.inputer3.play();
_root.racer1._x = _root.racer1._x + 8;
}
}
}
Symbol 281 MovieClip Frame 60
_root.unto = 0;
Instance of Symbol 280 MovieClip in Symbol 281 MovieClip Frame 62
onClipEvent (enterFrame) {
if (_root.unto != 1) {
if (Key.isDown(83)) {
_root.unto = 1;
_root.inputer1.inputer2.inputer3.play();
_root.racer1._x = _root.racer1._x + 8;
}
}
}
Symbol 281 MovieClip Frame 67
_root.unto = 0;
Instance of Symbol 280 MovieClip in Symbol 281 MovieClip Frame 72
onClipEvent (enterFrame) {
if (_root.unto != 1) {
if (Key.isDown(68)) {
_root.unto = 1;
_root.inputer1.inputer2.inputer3.play();
_root.racer1._x = _root.racer1._x + 8;
}
}
}
Symbol 281 MovieClip Frame 77
_root.unto = 0;
Symbol 287 MovieClip Frame 1
_root.attack = 0;
_root.completed = 0;
Instance of Symbol 285 MovieClip in Symbol 287 MovieClip Frame 1
on (keyPress "<Space>") {
_root.play();
}
Symbol 287 MovieClip Frame 2
_root.attack = 2;
Symbol 287 MovieClip Frame 4
_root.attack = 1;
Symbol 287 MovieClip Frame 6
_root.attack = 2;
Symbol 287 MovieClip Frame 9
_root.attack = 0;
Symbol 287 MovieClip Frame 10
gotoAndPlay (1);
Symbol 287 MovieClip Frame 14
if (_root.att == 1) {
gotoAndPlay (26);
}
if (_root.att == 2) {
gotoAndPlay (41);
}
if (_root.att == 3) {
_root.play();
_root.attack = 0;
_root.You.main.play();
}
Symbol 287 MovieClip Frame 15
_root.completed = 0;
_root.attack = 2;
Instance of Symbol 285 MovieClip in Symbol 287 MovieClip Frame 15
on (keyPress "<Space>") {
_root.play();
}
Symbol 289 MovieClip Frame 1
stop();
Symbol 289 MovieClip Frame 2
stop();
Instance of Symbol 288 MovieClip "slider" in Symbol 289 MovieClip Frame 2
on (keyPress "<Space>") {
_root.inputer1.slider.slider2.play();
if (_root.completed != 1) {
if (_root.attack == 1) {
_root.inputer1.slider.slider2.gotoAndPlay(11);
_root.racer1._x = _root.racer1._x + 20;
_root.completed = 1;
}
}
}
Symbol 291 MovieClip Frame 12
_root.timing = _root.timing - 1;
if (_root.timing <= 0) {
_root.gotoAndStop(7);
}
Symbol 300 MovieClip Frame 1
stop();
Symbol 300 MovieClip Frame 20
_root.gotoAndStop(8);
Symbol 301 MovieClip Frame 75
_root.comeup = random(8);
if (_root.comeup == 0) {
_root.num1 = _root.num1 + 5;
}
if (_root.comeup == 1) {
_root.num2 = _root.num2 + 5;
}
if (_root.comeup == 2) {
_root.num3 = _root.num3 + 5;
}
if (_root.comeup == 3) {
_root.num4 = _root.num4 + 5;
}
if (_root.comeup == 4) {
_root.num5 = _root.num5 + 5;
}
if (_root.comeup == 5) {
_root.num6 = _root.num6 + 5;
}
if (_root.comeup == 6) {
_root.num7 = _root.num7 + 5;
}
if (_root.comeup == 7) {
_root.num8 = _root.num8 + 5;
}
Symbol 301 MovieClip Frame 113
_root.backing.bunny.play();
_root.backing.fin.play();
Symbol 301 MovieClip Frame 140
stop();
_root.gotoAndStop(9);
Symbol 311 Button
on (release) {
gotoAndPlay (10);
}
Symbol 314 Button
on (release) {
gotoAndPlay (1);
}
Symbol 329 Button
on (release) {
user_so = SharedObject.getLocal("user");
user_so.data.ymoney = _root.money;
user_so.data.yname = _root.yourname;
user_so.data.ygender = _root.gender;
user_so.data.ystarts = _root.starts;
user_so.data.ywins = _root.wins;
user_so.data.yseconds = _root.seconds;
user_so.data.ythirds = _root.thirds;
user_so.data.yseat3 = _root.seat3;
user_so.data.yseat2 = _root.seat2;
user_so.data.yseat = _root.seat;
user_so.data.ytrain1 = _root.train1;
user_so.data.ytrain2 = _root.train2;
user_so.data.yenergy = _root.energy;
user_so.data.ycolour = _root.yourcolour;
user_so.data.ylvl = _root.lvl;
user_so.data.yspeed = _root.yourspeed;
user_so.data.yfirstp = _root.firstplace;
user_so.data.yrextra = _root.raceextra;
user_so.data.yextra = _root.extra;
user_so.data.yaddup = _root.addup;
user_so.data.yaddup = _root.winchamp;
user_so.flush();
}
Symbol 341 Button
on (release) {
user_so = SharedObject.getLocal("user");
_root.money = user_so.data.ymoney;
_root.yourname = user_so.data.yname;
_root.gender = user_so.data.ygender;
_root.starts = user_so.data.ystarts;
_root.wins = user_so.data.ywins;
_root.seconds = user_so.data.yseconds;
_root.thirds = user_so.data.ythirds;
_root.seat3 = user_so.data.yseat3;
_root.seat2 = user_so.data.yseat2;
_root.seat = user_so.data.yseat;
_root.train1 = user_so.data.yseat;
_root.train1 = user_so.data.ytrain1;
_root.train2 = user_so.data.ytrain2;
_root.energy = user_so.data.yenergy;
_root.yourcolour = user_so.data.ycolour;
_root.lvl = user_so.data.ylvl;
_root.yourspeed = user_so.data.yspeed;
_root.firstplace = user_so.data.yfirstp;
_root.raceextra = user_so.data.yrextra;
_root.extra = user_so.data.yextra;
_root.addup = user_so.data.yaddup;
_root.winchamp = user_so.data.yaddup;
if (_root.energy <= 0) {
_root.energy = 1;
}
}
Symbol 349 Button
on (release) {
gotoAndPlay (2);
}