Frame 1
loadPercent = "0%";
loadBytes = ("0 of " + Math.round(_root.getBytesTotal() / 1024)) + " Kb";
tellTarget ("/loader") {
gotoAndPlay (2);
};
play();
Frame 2
loadPercent = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) + "%";
loadBytes = ((Math.round(_root.getBytesLoaded() / 1024) + " Kb of ") + Math.round(_root.getBytesTotal() / 1024)) + " Kb total Loaded.";
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
loadPercent = "100%";
loadBytes = ((Math.round(_root.getBytesLoaded() / 1024) + " Kb of ") + Math.round(_root.getBytesTotal() / 1024)) + " Kb total Loaded.";
loadMovieNum ("http://www.flashgameshows.com/gamecounter.php?filename=counters/cc-dream.sco&action=GAMECOUNT&viewtype=FLASH", 1);
loadMovieNum ("http://www.flashgameshows.com/gameImageCount/gameCount-CCD.gif", 2);
gotoAndPlay (4);
}
Frame 3
gotoAndPlay (2);
Frame 5
stop();
Frame 6
if (Number(setup) == 0) {
setup = 1;
count = 0;
}
if (Number(setup) == 1) {
count++;
tellTarget ("/logo") {
gotoAndStop (10);
};
while (count < 17) {
Set("car" add count, "X");
Set("chosen" add count, 0);
count++;
}
count = 1;
while (count < 17) {
placement = int(random(16) + 1);
if (count > 8) {
count = count - 8;
lowered = 1;
}
if ((car1 == "X") and (Number(placement) == 1)) {
car1 = count;
count++;
}
if ((car2 == "X") and (Number(placement) == 2)) {
car2 = count;
count++;
}
if ((car3 == "X") and (Number(placement) == 3)) {
car3 = count;
count++;
}
if ((car4 == "X") and (Number(placement) == 4)) {
car4 = count;
count++;
}
if ((car5 == "X") and (Number(placement) == 5)) {
car5 = count;
count++;
}
if ((car6 == "X") and (Number(placement) == 6)) {
car6 = count;
count++;
}
if ((car7 == "X") and (Number(placement) == 7)) {
car7 = count;
count++;
}
if ((car8 == "X") and (Number(placement) == 8)) {
car8 = count;
count++;
}
if ((car9 == "X") and (Number(placement) == 9)) {
car9 = count;
count++;
}
if ((car10 == "X") and (Number(placement) == 10)) {
car10 = count;
count++;
}
if ((car11 == "X") and (Number(placement) == 11)) {
car11 = count;
count++;
}
if ((car12 == "X") and (Number(placement) == 12)) {
car12 = count;
count++;
}
if ((car13 == "X") and (Number(placement) == 13)) {
car13 = count;
count++;
}
if ((car14 == "X") and (Number(placement) == 14)) {
car14 = count;
count++;
}
if ((car15 == "X") and (Number(placement) == 15)) {
car15 = count;
count++;
}
if ((car16 == "X") and (Number(placement) == 16)) {
car16 = count;
count++;
}
if (Number(lowered) == 1) {
count = Number(count) + 8;
lowered = 0;
}
}
y = 0;
pickcount = 0;
setup = 2;
pickA = "x";
pickB = "x";
matches = 0;
GoTimer = 0;
display = 0;
timer = /:Clock;
}
while (y < 16) {
y++;
carname = "car" add y;
carnumba = eval (carname);
windoh = "/carwindow" add y;
tellTarget (/:windoh) {
gotoAndStop(/:carnumba);
};
}
stop();
Frame 7
testphase = 0;
while (y < 16) {
y++;
carname = "car" add y;
carnumba = eval (carname);
windoh = "/carwindow" add y;
tellTarget (/:windoh) {
gotoAndStop(/:carnumba);
};
}
if (Number(testphase) == 1) {
y = 0;
while (y < 16) {
y++;
testwindow = "/window" add y;
tellTarget (/:testwindow) {
gotoAndPlay (2);
};
}
testphase = 0;
}
Frame 14
if (Number(Clock) > 99) {
Clock = 99;
}
timer = Clock;
ClockB = "timer";
if (Number(GoTimer) == 1) {
if (Number(timer) > Number(-0.33)) {
display = int(getTimer() / 1000) - zeero;
timer = Clock - display;
}
if (Number(timer) <= Number(-0.33)) {
stopAllSounds();
timer = 0;
gotoAndStop ("lose");
}
}
Frame 15
if (Number(pickcount) > 1) {
windowA = "/window" add pickA;
windowB = "/window" add pickB;
buttonA = "button" add pickA;
buttonB = "button" add pickB;
carwindowA = "/carwindow" add pickA;
carwindowB = "/carwindow" add pickB;
carA = "car" add pickA;
carAA = eval (carA);
carB = "car" add pickB;
carBB = eval (carB);
chosenA = "chosen" add pickA;
chosenB = "chosen" add pickB;
if (carAA == carBB) {
Set(chosenA, 1);
Set(chosenB, 1);
matches = Number(matches) + 1;
tellTarget (/:carwindowA) {
gotoAndPlay (9);
};
tellTarget (/:carwindowB) {
gotoAndPlay (9);
};
} else if (carAA != carBB) {
Set(chosenA, 0);
Set(chosenB, 0);
tellTarget (/:windowA) {
gotoAndPlay (7);
};
tellTarget (/:windowB) {
gotoAndPlay (7);
};
}
if (Number(matches) > 6) {
tellTarget ("/logo") {
gotoAndStop(/:carAA);
};
stopAllSounds();
gotoAndStop ("win");
stop();
} else {
pickcount = 0;
pickA = "x";
pickB = "x";
}
}
Frame 26
if (((pickA != "x") and (Number(TimerStart) == 0)) and (Number(GoTimer) == 0)) {
zeero = int(getTimer() / 1000);
GoTimer = 1;
TimerStart = 1;
}
gotoAndPlay ("loopstart");
Frame 27
gotoAndPlay ("loopstart");
Frame 28
if (Number(matches) < 7) {
tellTarget ("/logo") {
gotoAndStop (11);
};
}
stop();
Frame 29
carA = "car" add pickA;
carAA = eval (carA);
tellTarget ("/logo") {
gotoAndStop(/:carAA);
};
Symbol 7 MovieClip Frame 1
loader._xscale = BytesL;
Symbol 7 MovieClip Frame 2
gotoAndPlay (1);
Symbol 10 Button
on (release) {
Clock = Number(Clock) + 5;
if (Number(Clock) > 90) {
Clock = Clock - 5;
}
}
Symbol 11 Button
on (release) {
Clock = Clock - 5;
if (Number(Clock) < 15) {
Clock = Number(Clock) + 5;
}
}
Symbol 15 Button
on (release) {
tellTarget ("/CD") {
gotoAndStop (3);
};
}
Symbol 17 Button
on (release) {
tellTarget ("/CD") {
gotoAndStop (2);
};
}
Symbol 29 Button
on (release) {
setup = 0;
_global.car1 = _root.car1entry;
_global.car2 = _root.car2entry;
_global.car3 = _root.car3entry;
_global.car4 = _root.car4entry;
_global.car5 = _root.car5entry;
_global.car6 = _root.car6entry;
_global.car7 = _root.car7entry;
_global.car8 = _root.car8entry;
stopAllSounds();
gotoAndStop (6);
}
Symbol 41 Button
on (release) {
tellTarget ("/CD") {
gotoAndStop (4);
};
}
Symbol 53 Button
on (release) {
tellTarget ("../CD") {
gotoAndStop (1);
};
}
Symbol 60 MovieClip Frame 1
stop();
Symbol 60 MovieClip Frame 2
stop();
Symbol 60 MovieClip Frame 3
stop();
Symbol 60 MovieClip Frame 4
stop();
Symbol 76 MovieClip Frame 1
stop();
stop();
Symbol 76 MovieClip Frame 2
stop();
Symbol 76 MovieClip Frame 3
stop();
Symbol 76 MovieClip Frame 4
stop();
Symbol 76 MovieClip Frame 5
stop();
Symbol 76 MovieClip Frame 6
stop();
Symbol 76 MovieClip Frame 7
stop();
Symbol 76 MovieClip Frame 8
stop();
Symbol 76 MovieClip Frame 9
stop();
Symbol 76 MovieClip Frame 10
stop();
Symbol 76 MovieClip Frame 11
stop();
Symbol 93 MovieClip Frame 1
stop();
Symbol 93 MovieClip Frame 6
stop();
Symbol 93 MovieClip Frame 15
stop();
Symbol 103 MovieClip Frame 1
stop();
Symbol 103 MovieClip Frame 6
stop();
Symbol 103 MovieClip Frame 15
stop();
Symbol 113 MovieClip Frame 1
stop();
Symbol 113 MovieClip Frame 6
stop();
Symbol 113 MovieClip Frame 15
stop();
Symbol 123 MovieClip Frame 1
stop();
Symbol 123 MovieClip Frame 6
stop();
Symbol 123 MovieClip Frame 15
stop();
Symbol 133 MovieClip Frame 1
stop();
Symbol 133 MovieClip Frame 6
stop();
Symbol 133 MovieClip Frame 15
stop();
Symbol 142 MovieClip Frame 1
stop();
Symbol 142 MovieClip Frame 6
stop();
Symbol 142 MovieClip Frame 15
stop();
Symbol 152 MovieClip Frame 1
stop();
Symbol 152 MovieClip Frame 6
stop();
Symbol 152 MovieClip Frame 15
stop();
Symbol 162 MovieClip Frame 1
stop();
Symbol 162 MovieClip Frame 6
stop();
Symbol 162 MovieClip Frame 15
stop();
Symbol 172 MovieClip Frame 1
stop();
Symbol 172 MovieClip Frame 6
stop();
Symbol 172 MovieClip Frame 15
stop();
Symbol 182 MovieClip Frame 1
stop();
Symbol 182 MovieClip Frame 6
stop();
Symbol 182 MovieClip Frame 15
stop();
Symbol 192 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 6
stop();
Symbol 192 MovieClip Frame 15
stop();
Symbol 202 MovieClip Frame 1
stop();
Symbol 202 MovieClip Frame 6
stop();
Symbol 202 MovieClip Frame 15
stop();
Symbol 212 MovieClip Frame 1
stop();
Symbol 212 MovieClip Frame 6
stop();
Symbol 212 MovieClip Frame 15
stop();
Symbol 222 MovieClip Frame 1
stop();
Symbol 222 MovieClip Frame 6
stop();
Symbol 222 MovieClip Frame 15
stop();
Symbol 232 MovieClip Frame 1
stop();
Symbol 232 MovieClip Frame 6
stop();
Symbol 232 MovieClip Frame 15
stop();
Symbol 234 Button
on (release) {
if (Number(GoTimer) == 0) {
zeero = int(getTimer() / 1000);
GoTimer = 1;
gotoAndPlay ("beep");
}
if (((Number(GoTimer) == 1) and (Number(chosen15) == 0)) and (Number(pickcount) < 2)) {
tellTarget ("/window15") {
gotoAndPlay (2);
};
setProperty("/number15", _alpha , "0");
pickcount = Number(pickcount) + 1;
if ((pickA == "x") and (pickB == "x")) {
pickA = 15;
chosen15 = 1;
} else if ((pickA != "x") and (pickB == "x")) {
pickB = 15;
chosen15 = 1;
}
if (pickA == pickB) {
pickcount = pickcount - 1;
pickB = "x";
}
}
}
Symbol 236 Button
on (release) {
if (Number(GoTimer) == 0) {
zeero = int(getTimer() / 1000);
GoTimer = 1;
gotoAndPlay ("beep");
}
if (((Number(GoTimer) == 1) and (Number(chosen14) == 0)) and (Number(pickcount) < 2)) {
tellTarget ("/window14") {
gotoAndPlay (2);
};
setProperty("/number14", _alpha , "0");
pickcount = Number(pickcount) + 1;
if ((pickA == "x") and (pickB == "x")) {
pickA = 14;
chosen14 = 1;
} else if ((pickA != "x") and (pickB == "x")) {
pickB = 14;
chosen14 = 1;
}
if (pickA == pickB) {
pickcount = pickcount - 1;
pickB = "x";
}
}
}
Symbol 238 Button
on (release) {
if (Number(GoTimer) == 0) {
zeero = int(getTimer() / 1000);
GoTimer = 1;
gotoAndPlay ("beep");
}
if (((Number(GoTimer) == 1) and (Number(chosen13) == 0)) and (Number(pickcount) < 2)) {
tellTarget ("/window13") {
gotoAndPlay (2);
};
setProperty("/number13", _alpha , "0");
pickcount = Number(pickcount) + 1;
if ((pickA == "x") and (pickB == "x")) {
pickA = 13;
chosen13 = 1;
} else if ((pickA != "x") and (pickB == "x")) {
pickB = 13;
chosen13 = 1;
}
if (pickA == pickB) {
pickcount = pickcount - 1;
pickB = "x";
}
}
}
Symbol 240 Button
on (release) {
if (Number(GoTimer) == 0) {
zeero = int(getTimer() / 1000);
GoTimer = 1;
gotoAndPlay ("beep");
}
if (((Number(GoTimer) == 1) and (Number(chosen12) == 0)) and (Number(pickcount) < 2)) {
tellTarget ("/window12") {
gotoAndPlay (2);
};
setProperty("/number12", _alpha , "0");
pickcount = Number(pickcount) + 1;
if ((pickA == "x") and (pickB == "x")) {
pickA = 12;
chosen12 = 1;
} else if ((pickA != "x") and (pickB == "x")) {
pickB = 12;
chosen12 = 1;
}
if (pickA == pickB) {
pickcount = pickcount - 1;
pickB = "x";
}
}
}
Symbol 242 Button
on (release) {
if (Number(GoTimer) == 0) {
zeero = int(getTimer() / 1000);
GoTimer = 1;
gotoAndPlay ("beep");
}
if (((Number(GoTimer) == 1) and (Number(chosen11) == 0)) and (Number(pickcount) < 2)) {
tellTarget ("/window11") {
gotoAndPlay (2);
};
setProperty("/number11", _alpha , "0");
pickcount = Number(pickcount) + 1;
if ((pickA == "x") and (pickB == "x")) {
pickA = 11;
chosen11 = 1;
} else if ((pickA != "x") and (pickB == "x")) {
pickB = 11;
chosen11 = 1;
}
if (pickA == pickB) {
pickcount = pickcount - 1;
pickB = "x";
}
}
}
Symbol 244 Button
on (release) {
if (Number(GoTimer) == 0) {
zeero = int(getTimer() / 1000);
GoTimer = 1;
gotoAndPlay ("beep");
}
if (((Number(GoTimer) == 1) and (Number(chosen10) == 0)) and (Number(pickcount) < 2)) {
tellTarget ("/window10") {
gotoAndPlay (2);
};
setProperty("/number10", _alpha , "0");
pickcount = Number(pickcount) + 1;
if ((pickA == "x") and (pickB == "x")) {
pickA = 10;
chosen10 = 1;
} else if ((pickA != "x") and (pickB == "x")) {
pickB = 10;
chosen10 = 1;
}
if (pickA == pickB) {
pickcount = pickcount - 1;
pickB = "x";
}
}
}
Symbol 246 Button
on (release) {
if (Number(GoTimer) == 0) {
zeero = int(getTimer() / 1000);
GoTimer = 1;
gotoAndPlay ("beep");
}
if (((Number(GoTimer) == 1) and (Number(chosen9) == 0)) and (Number(pickcount) < 2)) {
tellTarget ("/window9") {
gotoAndPlay (2);
};
setProperty("/number9", _alpha , "0");
pickcount = Number(pickcount) + 1;
if ((pickA == "x") and (pickB == "x")) {
pickA = 9;
chosen9 = 1;
} else if ((pickA != "x") and (pickB == "x")) {
pickB = 9;
chosen9 = 1;
}
if (pickA == pickB) {
pickcount = pickcount - 1;
pickB = "x";
}
}
}
Symbol 248 Button
on (release) {
if (Number(GoTimer) == 0) {
zeero = int(getTimer() / 1000);
GoTimer = 1;
gotoAndPlay ("beep");
}
if (((Number(GoTimer) == 1) and (Number(chosen8) == 0)) and (Number(pickcount) < 2)) {
tellTarget ("/window8") {
gotoAndPlay (2);
};
setProperty("/number8", _alpha , "0");
pickcount = Number(pickcount) + 1;
if ((pickA == "x") and (pickB == "x")) {
pickA = 8;
chosen8 = 1;
} else if ((pickA != "x") and (pickB == "x")) {
pickB = 8;
chosen8 = 1;
}
if (pickA == pickB) {
pickcount = pickcount - 1;
pickB = "x";
}
}
}
Symbol 250 Button
on (release) {
if (Number(GoTimer) == 0) {
zeero = int(getTimer() / 1000);
GoTimer = 1;
gotoAndPlay ("beep");
}
if (((Number(GoTimer) == 1) and (Number(chosen7) == 0)) and (Number(pickcount) < 2)) {
tellTarget ("/window7") {
gotoAndPlay (2);
};
setProperty("/number7", _alpha , "0");
pickcount = Number(pickcount) + 1;
if ((pickA == "x") and (pickB == "x")) {
pickA = 7;
chosen7 = 1;
} else if ((pickA != "x") and (pickB == "x")) {
pickB = 7;
chosen7 = 1;
}
if (pickA == pickB) {
pickcount = pickcount - 1;
pickB = "x";
}
}
}
Symbol 252 Button
on (release) {
if (Number(GoTimer) == 0) {
zeero = int(getTimer() / 1000);
GoTimer = 1;
gotoAndPlay ("beep");
}
if (((Number(GoTimer) == 1) and (Number(chosen6) == 0)) and (Number(pickcount) < 2)) {
tellTarget ("/window6") {
gotoAndPlay (2);
};
setProperty("/number6", _alpha , "0");
pickcount = Number(pickcount) + 1;
if ((pickA == "x") and (pickB == "x")) {
pickA = 6;
chosen6 = 1;
} else if ((pickA != "x") and (pickB == "x")) {
pickB = 6;
chosen6 = 1;
}
if (pickA == pickB) {
pickcount = pickcount - 1;
pickB = "x";
}
}
}
Symbol 254 Button
on (release) {
if (Number(GoTimer) == 0) {
zeero = int(getTimer() / 1000);
GoTimer = 1;
gotoAndPlay ("beep");
}
if (((Number(GoTimer) == 1) and (Number(chosen5) == 0)) and (Number(pickcount) < 2)) {
tellTarget ("/window5") {
gotoAndPlay (2);
};
setProperty("/number5", _alpha , "0");
pickcount = Number(pickcount) + 1;
if ((pickA == "x") and (pickB == "x")) {
pickA = 5;
chosen5 = 1;
} else if ((pickA != "x") and (pickB == "x")) {
pickB = 5;
chosen5 = 1;
}
if (pickA == pickB) {
pickcount = pickcount - 1;
pickB = "x";
}
}
}
Symbol 256 Button
on (release) {
if (Number(GoTimer) == 0) {
zeero = int(getTimer() / 1000);
GoTimer = 1;
gotoAndPlay ("beep");
}
if (((Number(GoTimer) == 1) and (Number(chosen4) == 0)) and (Number(pickcount) < 2)) {
tellTarget ("/window4") {
gotoAndPlay (2);
};
setProperty("/number4", _alpha , "0");
pickcount = Number(pickcount) + 1;
if ((pickA == "x") and (pickB == "x")) {
pickA = 4;
chosen4 = 1;
} else if ((pickA != "x") and (pickB == "x")) {
pickB = 4;
chosen4 = 1;
}
if (pickA == pickB) {
pickcount = pickcount - 1;
pickB = "x";
}
}
}
Symbol 258 Button
on (release) {
if (Number(GoTimer) == 0) {
zeero = int(getTimer() / 1000);
GoTimer = 1;
gotoAndPlay ("beep");
}
if (((Number(GoTimer) == 1) and (Number(chosen3) == 0)) and (Number(pickcount) < 2)) {
tellTarget ("/window3") {
gotoAndPlay (2);
};
setProperty("/number3", _alpha , "0");
pickcount = Number(pickcount) + 1;
if ((pickA == "x") and (pickB == "x")) {
pickA = 3;
chosen3 = 1;
} else if ((pickA != "x") and (pickB == "x")) {
pickB = 3;
chosen3 = 1;
}
if (pickA == pickB) {
pickcount = pickcount - 1;
pickB = "x";
}
}
}
Symbol 260 Button
on (release) {
if (Number(GoTimer) == 0) {
zeero = int(getTimer() / 1000);
GoTimer = 1;
gotoAndPlay ("beep");
}
if (((Number(GoTimer) == 1) and (Number(chosen2) == 0)) and (Number(pickcount) < 2)) {
tellTarget ("/window2") {
gotoAndPlay (2);
};
setProperty("/number2", _alpha , "0");
pickcount = Number(pickcount) + 1;
if ((pickA == "x") and (pickB == "x")) {
pickA = 2;
chosen2 = 1;
} else if ((pickA != "x") and (pickB == "x")) {
pickB = 2;
chosen2 = 1;
}
if (pickA == pickB) {
pickcount = pickcount - 1;
pickB = "x";
}
}
}
Symbol 262 Button
on (release) {
if (Number(GoTimer) == 0) {
zeero = int(getTimer() / 1000);
GoTimer = 1;
gotoAndPlay ("beep");
}
if (((Number(GoTimer) == 1) and (Number(chosen1) == 0)) and (Number(pickcount) < 2)) {
tellTarget ("/window1") {
gotoAndPlay (2);
};
setProperty("/number1", _alpha , "0");
pickcount = Number(pickcount) + 1;
if ((pickA == "x") and (pickB == "x")) {
pickA = 1;
chosen1 = 1;
} else if ((pickA != "x") and (pickB == "x")) {
pickB = 1;
chosen1 = 1;
}
if (pickA == pickB) {
pickcount = pickcount - 1;
pickB = "x";
}
}
}
Symbol 266 Button
on (release) {
if (Number(GoTimer) == 0) {
zeero = int(getTimer() / 1000);
GoTimer = 1;
gotoAndPlay ("beep");
}
}
Symbol 270 Button
on (release) {
stopAllSounds();
loadMovieNum ("http://www.flashgameshows.com/gamecounter.php?filename=counters/cc-dream.sco&action=PLAYCOUNT&viewtype=FLASH", 1);
loadMovieNum ("http://www.flashgameshows.com/gameImageCount/playCount-CCD.gif", 2);
gotoAndStop (4);
}
Symbol 278 MovieClip Frame 16
gotoAndPlay (1);
Symbol 279 MovieClip Frame 1
tellTarget ("rainbowcar1") {
gotoAndPlay (1);
};
tellTarget ("rainbowcar2") {
gotoAndPlay (4);
};
tellTarget ("rainbowcar3") {
gotoAndPlay (7);
};
tellTarget ("rainbowcar4") {
gotoAndPlay (10);
};
tellTarget ("rainbowcar5") {
gotoAndPlay (1);
};
tellTarget ("rainbowcar6") {
gotoAndPlay (4);
};
tellTarget ("rainbowcar7") {
gotoAndPlay (7);
};
tellTarget ("rainbowcar8") {
gotoAndPlay (10);
};
tellTarget ("rainbowcar9") {
gotoAndPlay (1);
};
tellTarget ("rainbowcar10") {
gotoAndPlay (4);
};
tellTarget ("rainbowcar11") {
gotoAndPlay (7);
};
tellTarget ("rainbowcar12") {
gotoAndPlay (10);
};
Symbol 280 Button
on (release) {
gamestart = 0;
stopAllSounds();
loadMovieNum ("http://www.flashgameshows.com/gamecounter.php?filename=counters/cc-dream.sco&action=PLAYCOUNT&viewtype=FLASH", 1);
loadMovieNum ("http://www.flashgameshows.com/gameImageCount/playCount-CCD.gif", 2);
gotoAndStop (4);
}