Instance of Symbol 6 MovieClip [Loader] in Frame 1
//component parameters
onClipEvent (initialize) {
SlideWidth = 100;
SlideHeight = 10;
scolor = 6710886 /* 0x666666 */;
bcolor = 3355443 /* 0x333333 */;
fname = "Arial";
fsize = 9;
}
Frame 2
stop();
fscommand ("allowscale", "false");
stop();
Frame 3
loadMovieNum ("frame_jag.swf", 8);
setProperty("sweet", _visible , 0);
setProperty("flake", _visible , 0);
setProperty("flakeShot", _visible , 0);
setProperty("shoot", _visible , 0);
_root.hold = true;
_level0.loaded5 = "false";
_root.score = 0;
_root.level = 2;
_root.speed = 10;
_root.gspeed = 10;
_root.stage1 = 1;
_root.lives = 3;
_root.perfects.gotoAndStop(1);
_root.mistakes.gotoAndStop(1);
_root.cone.gotoAndStop(_root.stage1 + 1);
_root.head.gotoAndStop(1);
Instance of Symbol 254 MovieClip "player" in Frame 3
onClipEvent (enterFrame) {
if (!_root.hold) {
if (Key.isDown(37) && (this._x > 200)) {
this._x = this._x - ((_root.speed * 2) - 5);
this.gotoAndStop("left");
} else if (Key.isDown(39) && (this._x < 600)) {
this._x = this._x + ((_root.speed * 2) - 5);
this.gotoAndStop("right");
} else {
this.gotoAndStop("still");
}
}
}
Frame 12
_root.icecounter._alpha = 0;
i = i + 1;
_root.hold = false;
if (i < _root.level) {
shoot.duplicateMovieClip("shoot" + i, i);
setProperty("shoot" + i, _y , 185);
if (i < 6) {
setProperty("shoot" + i, _x , 550 - (i * 50));
_root.machine[i + "s"].gotoAndPlay(2);
} else if (i < 11) {
setProperty("shoot" + i, _x , 550 - ((i - 5) * 50));
_root.machine[(i - 5) + "s"].gotoAndPlay(2);
} else {
setProperty("shoot" + i, _x , 550 - ((i - 10) * 50));
_root.machine[(i - 10) + "s"].gotoAndPlay(2);
}
} else {
duplicateMovieClip ("flakeShot", "flakey", i);
setProperty("flakey", _y , 168);
setProperty("flakey", _x , 236);
_root.machine["6s"].gotoAndPlay(2);
i = 0;
gotoAndPlay ("setup");
_root.icecounter._alpha = 100;
}
Instance of Symbol 262 MovieClip "flakeShot" in Frame 12
onClipEvent (enterFrame) {
if (this._y > -16) {
this._y = this._y - 50;
} else {
removeMovieClip(this);
}
}
Instance of Symbol 268 MovieClip "shoot" in Frame 12
onClipEvent (enterFrame) {
if (this._y > -16) {
this._y = this._y - 50;
} else {
removeMovieClip(this);
}
}
Frame 18
gotoAndPlay ("blast");
Frame 19
play();
Frame 26
play = true;
_root.hold = false;
i = i + 1;
if (i < _root.level) {
sweet.duplicateMovieClip("sweet" + i, i);
setProperty("sweet" + i, _y , random(75) - 100);
setProperty("sweet" + i, _x , random(325) + 225);
} else {
duplicateMovieClip ("flake", "flakeCopy", i);
setProperty("flakeCopy", _y , random(75) - 100);
setProperty("flakeCopy", _x , random(325) + 225);
gotoAndPlay ("done");
}
Instance of Symbol 282 MovieClip "sweet" in Frame 26
onClipEvent (enterFrame) {
if (this._y <= 425) {
if (_root.stage1 == 1) {
this._y = this._y + _root.speed;
} else if (_root.stage1 == 2) {
this._y = this._y + (_root.speed * 1.5);
} else if (_root.stage1 == 3) {
this._y = this._y + (_root.speed * 2);
} else if (_root.stage1 == 4) {
this._y = this._y + (_root.speed * 4);
}
} else {
this.splat.nextFrame();
}
}
Instance of Symbol 283 MovieClip "flake" in Frame 26
onClipEvent (enterFrame) {
if (this._y < 420) {
if (_root.stage1 == 1) {
this._y = this._y + _root.speed;
} else if (_root.stage1 == 2) {
this._y = this._y + (_root.speed * 1.5);
} else if (_root.stage1 == 3) {
this._y = this._y + (_root.speed * 2);
} else if (_root.stage1 == 4) {
this._y = this._y + (_root.speed * 4);
}
} else {
this.nextFrame();
}
}
Frame 35
if (_root.speed > 29) {
gotoAndPlay ("round");
}
Frame 39
if (_root.speed > 24) {
gotoAndPlay ("round");
}
Frame 43
if (_root.speed > 19) {
gotoAndPlay ("round");
}
Frame 47
if (_root.speed > 14) {
gotoAndPlay ("round");
}
Frame 51
gotoAndPlay ("round");
Frame 80
if (_root.player._x > 600) {
nextFrame();
} else {
gotoAndPlay ("boy");
}
Frame 81
_root.player.gotoAndPlay("give");
play();
Frame 114
i = 0;
if (_root.level < 15) {
_root.level++;
}
if (((_root.score >= 800) and (_root.score <= 2000)) and (_root.stage1 == 1)) {
stop();
_root.speed;
trace(_root.speed);
_root.stage1++;
trace(_root.stage1);
_root.cone.gotoAndStop(_root.stage1 + 1);
_root.level = 2;
} else if ((_root.stage1 == 2) and (_root.score > 2000)) {
_root.speed++;
stop();
trace(_root.speed);
_root.stage1++;
trace(_root.stage1);
_root.cone.gotoAndStop(_root.stage1 + 1);
_root.level = 2;
} else {
gotoAndPlay ("machine");
}
Frame 115
Frame 119
inv.useHandCursor = false;
_root.hold = true;
i = 0;
while (i <= 15) {
removeMovieClip("sweet" + i);
removeMovieClip("flakeCopy");
i++;
}
if (_root.score < 1500) {
message1.text = "Hey, not bad for a beginner....but I betcha could do better...";
} else if ((_root.score >= 1500) and (_root.score <= 2500)) {
message1.text = "That's pretty good - you're a natural! Try to scoop even more points next time";
} else if (_root.score > 2500) {
message1.text = "That's almost a top score sweetie, don't stop now!";
}
stop();
Frame 128
inv.useHandCursor = false;
scoreMesg.text = ("Your Hi-score is " + _root.score) + ", send this to friend and ask him to beat your score!";
stop();
Frame 138
inv.useHandCursor = false;
scoreMesg.text = ("Your Hi-score is " + _root.score) + ", send this to friend and ask him to beat your score!";
stop();
Frame 150
inv.useHandCursor = false;
stop();
Frame 160
inv.useHandCursor = false;
Frame 170
inv.useHandCursor = false;
function checkParamsLoaded1() {
var _local1 = _global;
if (_level0.loaded5 == "false") {
trace("not yet.");
} else {
trace("DONE.");
if (peoplelist != "") {
_local1.people_array = peoplelist.split(",");
var _local2 = 0;
while (_local2 < _local1.people_array.length) {
trace(_local1.people_array[_local2]);
_local2++;
}
}
if (highscores != "") {
_local1.highscore_array = highscores.split(",");
var _local2 = 0;
while (_local2 < _local1.highscore_array.length) {
trace(_local1.highscore_array[_local2]);
_local2++;
}
}
if (agelist != "") {
_local1.age_array = agelist.split(",");
var _local2 = 0;
while (_local2 < _local1.age_array.length) {
trace(_local1.age_array[_local2]);
_local2++;
}
}
if (countrylist != "") {
_local1.country_array = countrylist.split(",");
var _local2 = 0;
while (_local2 < _local1.country_array.length) {
trace(_local1.country_array[_local2]);
_local2++;
}
}
gotoAndStop ("hdone");
clearInterval(param_interval);
}
}
_level0.loaded5 = "false";
loadVariablesNum ("loadhighscore.php", 0);
var param_interval = setInterval(checkParamsLoaded1, 100);
stop();
Frame 180
inv.useHandCursor = false;
i = 0;
while (i <= 10) {
_root["name_" + i].text = _global.people_array[i];
if (_global.gameuser == _global.people_array[i]) {
_root.bar._alpha = 100;
_root.bar._y = _root["name_" + i]._y;
}
_root["highscore_" + i].text = _global.highscore_array[i];
_root["country_" + i].text = _global.country_array[i];
_root["age_" + i].text = _global.age_array[i];
i++;
}
_level0.loaded5 = "false";
stop();
Frame 192
loadMovieNum ("frame_jag.swf", 8);
stop();
Frame 193
stop();
Frame 194
stop();
Frame 195
stop();
Symbol 6 MovieClip [Loader] Frame 1
#initclip 1
function LoaderClass() {
var _local1 = this;
_local1.slideColor = new Color(_local1.slide);
_local1.bordColor = new Color(_local1.bord);
_local1.update();
}
LoaderClass.prototype = new MovieClip();
LoaderClass.prototype.update = function () {
var _local1 = this;
_local1.slideColor.setRGB(_local1.scolor);
_local1.bordColor.setRGB(_local1.bcolor);
_local1.bord._width = _local1.SlideWidth + 4;
_local1.slide._width = _local1.SlideWidth;
_local1.bord._height = _local1.SlideHeight + 4;
_local1.slide._height = _local1.SlideHeight;
_local1.createTextField("mytext", 1, _local1.bord._x, _local1.bord._y, 300, 40);
delete _local1.mtextFormat;
_local1.mtextFormat = new TextFormat(_local1);
_local1.mTextFormat.font = _local1.fname;
_local1.mTextFormat.color = pink;
_local1.mTextFormat.size = _local1.fsize;
_local1.mytext.text = "";
_local1.mytext.setTextFormat(_local1.mtextFormat);
};
LoaderClass.prototype.setSlideWidth = function (b) {
this.SlideWidth = b;
this.update();
};
LoaderClass.prototype.getSlideWidth = function () {
return(this.SlideWidth);
};
LoaderClass.prototype.setSlideHeight = function (h) {
this.SlideHeight = h;
this.update();
};
LoaderClass.prototype.getSlideHeight = function () {
return(this.SlideHeight);
};
LoaderClass.prototype.setTintColor = function (c) {
this.tcolor = c;
this.update();
};
LoaderClass.prototype.turnOnTint = function () {
this.applyTint = true;
this.update();
};
Object.registerClass("Loader", LoaderClass);
#endinitclip
Instance of Symbol 3 MovieClip "slide" in Symbol 6 MovieClip [Loader] Frame 1
onClipEvent (load) {
_root.stop();
this.topScale = this._width;
this._xscale = 0;
ft = int(_root.getBytesTotal() / 1024);
}
onClipEvent (enterFrame) {
fl = int(_root.getBytesLoaded() / 1024);
this._xscale = (fl / ft) * this.topScale;
_parent.mytext.text = ((("LOADING " + fl) + " KB OF ") + ft) + " KB";
_parent.mytext.setTextFormat(_parent.mtextFormat);
if (fl == ft) {
_root.gotoAndPlay(_currentframe + 1);
play();
}
}
Symbol 117 MovieClip Frame 40
_root.gotoAndPlay("machine");
stop();
Symbol 122 MovieClip Frame 40
_root.gotoAndPlay("machine");
stop();
Symbol 123 MovieClip Frame 1
stop();
Symbol 123 MovieClip Frame 2
stop();
Symbol 123 MovieClip Frame 3
stop();
Symbol 123 MovieClip Frame 4
stop();
Symbol 138 Button
on (release) {
gotoAndPlay (192);
}
Symbol 144 Button
on (release) {
gotoAndPlay (3);
}
Symbol 156 MovieClip Frame 1
stop();
Symbol 156 MovieClip Frame 2
play();
Symbol 156 MovieClip Frame 7
gotoAndStop (1);
Symbol 162 MovieClip Frame 1
stop();
Symbol 162 MovieClip Frame 2
play();
Symbol 162 MovieClip Frame 7
gotoAndStop (1);
Symbol 168 MovieClip Frame 1
stop();
Symbol 168 MovieClip Frame 2
play();
Symbol 168 MovieClip Frame 7
gotoAndStop (1);
Symbol 174 MovieClip Frame 1
stop();
Symbol 174 MovieClip Frame 2
play();
Symbol 174 MovieClip Frame 7
gotoAndStop (1);
Symbol 180 MovieClip Frame 1
stop();
Symbol 180 MovieClip Frame 2
play();
Symbol 180 MovieClip Frame 7
gotoAndStop (1);
Symbol 186 MovieClip Frame 1
stop();
Symbol 186 MovieClip Frame 2
play();
Symbol 186 MovieClip Frame 7
gotoAndStop (1);
Symbol 203 MovieClip Frame 1
stop();
Symbol 203 MovieClip Frame 16
_root.head.gotoAndStop(_root.head._currentframe + 1);
_root.lives--;
if (_root.lives < 0) {
_root.gotoAndStop("sacked");
} else {
trace(_root.lives);
gotoAndStop (1);
}
Symbol 206 MovieClip Frame 1
stop();
Symbol 206 MovieClip Frame 2
play();
Symbol 206 MovieClip Frame 28
stop();
Symbol 207 MovieClip Frame 1
head1.gotoAndStop(1);
head2.gotoAndStop(1);
head3.gotoAndStop(1);
stop();
Symbol 207 MovieClip Frame 2
head1.gotoAndPlay(2);
stop();
Symbol 207 MovieClip Frame 3
head2.gotoAndPlay(2);
stop();
Symbol 207 MovieClip Frame 4
head3.gotoAndPlay(2);
stop();
Symbol 213 MovieClip Frame 1
stop();
Symbol 213 MovieClip Frame 16
if (_root.head._currentframe != 1) {
_root.head.gotoAndStop(_root.head._currentframe - 1);
_root.lives++;
}
gotoAndStop (1);
Symbol 228 MovieClip Frame 8
if (random(10) > 4) {
gotoAndPlay (1);
} else {
nextFrame();
}
Symbol 228 MovieClip Frame 9
play();
Symbol 229 MovieClip Frame 2
if (_root.play) {
nextFrame();
} else {
gotoAndPlay (1);
}
Symbol 229 MovieClip Frame 3
play();
Symbol 229 MovieClip Frame 15
if (_root.play) {
gotoAndPlay (5);
} else {
nextFrame();
}
Symbol 229 MovieClip Frame 16
play();
Symbol 229 MovieClip Frame 18
gotoAndPlay (1);
Symbol 240 MovieClip Frame 10
stop();
Symbol 249 MovieClip Frame 1
stop();
Symbol 249 MovieClip Frame 2
play();
Symbol 250 MovieClip Frame 1
s = "+" + Number(_parent.n + 10);
stop();
Symbol 251 MovieClip Frame 1
stop();
Symbol 252 MovieClip Frame 9
gotoAndPlay (1);
Symbol 254 MovieClip Frame 1
stop();
Instance of Symbol 251 MovieClip "cone" in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
n = 0;
}
onClipEvent (enterFrame) {
if (_root.player.cone["splodge" + n].hitTest(_root.sweet1)) {
this.nextFrame();
n++;
_root.score = _root.score + 10;
with (_root.player.cone["splodge" + n]) {
}
removeMovieClip(_root.sweet1);
}
}
onClipEvent (enterFrame) {
if (_root.player.cone["splodge" + n].hitTest(_root.sweet2)) {
this.nextFrame();
n++;
_root.score = _root.score + 10;
with (_root.player.cone["splodge" + n]) {
gotoAndStop(2);
}
removeMovieClip(_root.sweet2);
}
}
onClipEvent (enterFrame) {
if (_root.player.cone["splodge" + n].hitTest(_root.sweet3)) {
this.nextFrame();
n++;
_root.score = _root.score + 10;
with (_root.player.cone["splodge" + n]) {
gotoAndStop(3);
}
removeMovieClip(_root.sweet3);
}
}
onClipEvent (enterFrame) {
if (_root.player.cone["splodge" + n].hitTest(_root.sweet4)) {
this.nextFrame();
n++;
_root.score = _root.score + 10;
with (_root.player.cone["splodge" + n]) {
gotoAndStop(4);
}
removeMovieClip(_root.sweet4);
}
}
onClipEvent (enterFrame) {
if (_root.player.cone["splodge" + n].hitTest(_root.sweet5)) {
this.nextFrame();
n++;
_root.score = _root.score + 10;
with (_root.player.cone["splodge" + n]) {
gotoAndStop(5);
}
removeMovieClip(_root.sweet5);
}
}
onClipEvent (enterFrame) {
if (_root.player.cone["splodge" + n].hitTest(_root.sweet6)) {
this.nextFrame();
n++;
_root.score = _root.score + 10;
with (_root.player.cone["splodge" + n]) {
gotoAndStop(1);
}
removeMovieClip(_root.sweet6);
}
}
onClipEvent (enterFrame) {
if (_root.player.cone["splodge" + n].hitTest(_root.sweet7)) {
this.nextFrame();
n++;
_root.score = _root.score + 10;
with (_root.player.cone["splodge" + n]) {
gotoAndStop(2);
}
removeMovieClip(_root.sweet7);
}
}
onClipEvent (enterFrame) {
if (_root.player.cone["splodge" + n].hitTest(_root.sweet8)) {
this.nextFrame();
n++;
_root.score = _root.score + 10;
with (_root.player.cone["splodge" + n]) {
gotoAndStop(3);
}
removeMovieClip(_root.sweet8);
}
}
onClipEvent (enterFrame) {
if (_root.player.cone["splodge" + n].hitTest(_root.sweet9)) {
this.nextFrame();
n++;
_root.score = _root.score + 10;
with (_root.player.cone["splodge" + n]) {
gotoAndStop(4);
}
removeMovieClip(_root.sweet9);
}
}
onClipEvent (enterFrame) {
if (_root.player.cone["splodge" + n].hitTest(_root.sweet10)) {
this.nextFrame();
n++;
_root.score = _root.score + 10;
with (_root.player.cone["splodge" + n]) {
gotoAndStop(5);
}
removeMovieClip(_root.sweet10);
}
}
onClipEvent (enterFrame) {
if (_root.player.cone["splodge" + n].hitTest(_root.sweet11)) {
this.nextFrame();
n++;
_root.score = _root.score + 10;
with (_root.player.cone["splodge" + n]) {
gotoAndStop(1);
}
removeMovieClip(_root.sweet11);
}
}
onClipEvent (enterFrame) {
if (_root.player.cone["splodge" + n].hitTest(_root.sweet12)) {
this.nextFrame();
n++;
_root.score = _root.score + 10;
with (_root.player.cone["splodge" + n]) {
gotoAndStop(2);
}
removeMovieClip(_root.sweet12);
}
}
onClipEvent (enterFrame) {
if (_root.player.cone["splodge" + n].hitTest(_root.sweet13)) {
this.nextFrame();
n++;
_root.score = _root.score + 10;
with (_root.player.cone["splodge" + n]) {
gotoAndStop(3);
}
removeMovieClip(_root.sweet13);
}
}
onClipEvent (enterFrame) {
if (_root.player.cone["splodge" + n].hitTest(_root.sweet14)) {
this.nextFrame();
n++;
_root.score = _root.score + 10;
with (_root.player.cone["splodge" + n]) {
gotoAndStop(4);
}
removeMovieClip(_root.sweet14);
}
}
onClipEvent (enterFrame) {
if (_root.player.cone["splodge" + n].hitTest(_root.sweet15)) {
this.nextFrame();
n++;
_root.score = _root.score + 10;
with (_root.player.cone["splodge" + n]) {
gotoAndStop(5);
}
removeMovieClip(_root.sweet15);
}
}
onClipEvent (enterFrame) {
if (_root.player.cone["splodge" + n].hitTest(_root.flakeCopy)) {
this.nextFrame();
n++;
_root.score = _root.score + 10;
with (_root.player.cone["splodge" + n]) {
gotoAndStop("flake");
}
removeMovieClip(_root.flakeCopy);
if (_root.i == n) {
_root.score = _root.score + 50;
_root.perfects.nextFrame();
_root.player.cone["splodge" + n].bonus.gotoAndPlay(2);
}
_root.play = false;
}
}
Symbol 254 MovieClip Frame 4
_root.hold = true;
setProperty("_root.player.cone.wafer", _xscale , -100);
setProperty("cone", _x , (_root.arm._x - _root.player._x) + 15);
Symbol 254 MovieClip Frame 6
_root.player.cone._x = _root.player.cone._x + 10;
Symbol 254 MovieClip Frame 7
if (_root.player.cone._x > 200) {
nextFrame();
} else {
gotoAndPlay ("take");
}
Symbol 254 MovieClip Frame 8
play();
Instance of Symbol 251 MovieClip "cone" in Symbol 254 MovieClip Frame 13
onClipEvent (load) {
n = 0;
}
onClipEvent (enterFrame) {
if (_root.player.cone["splodge" + n].hitTest(_root.sweet1)) {
this.nextFrame();
n++;
if (_root.score == 0) {
_root.score = 2;
} else {
_root.score = _root.score * 2;
}
with (_root.player.cone["splodge" + n]) {
_x = ((_root.sweet1._x - _root.player._x) - _root.player.cone._x) + 10;
}
removeMovieClip(_root.sweet1);
}
}
onClipEvent (enterFrame) {
if (_root.player.cone["splodge" + n].hitTest(_root.sweet2)) {
this.nextFrame();
n++;
if (_root.score == 0) {
_root.score = 2;
} else {
_root.score = _root.score * 2;
}
with (_root.player.cone["splodge" + n]) {
gotoAndStop(2);
_x = ((_root.sweet2._x - _root.player._x) - _root.player.cone._x) + 10;
}
removeMovieClip(_root.sweet2);
}
}
onClipEvent (enterFrame) {
if (_root.player.cone["splodge" + n].hitTest(_root.sweet3)) {
this.nextFrame();
n++;
if (_root.score == 0) {
_root.score = 2;
} else {
_root.score = _root.score * 2;
}
with (_root.player.cone["splodge" + n]) {
gotoAndStop(3);
_x = ((_root.sweet3._x - _root.player._x) - _root.player.cone._x) + 10;
}
removeMovieClip(_root.sweet3);
}
}
onClipEvent (enterFrame) {
if (_root.player.cone["splodge" + n].hitTest(_root.sweet4)) {
this.nextFrame();
n++;
if (_root.score == 0) {
_root.score = 2;
} else {
_root.score = _root.score * 2;
}
with (_root.player.cone["splodge" + n]) {
gotoAndStop(4);
_x = ((_root.sweet4._x - _root.player._x) - _root.player.cone._x) + 10;
}
removeMovieClip(_root.sweet4);
}
}
onClipEvent (enterFrame) {
if (_root.player.cone["splodge" + n].hitTest(_root.sweet5)) {
this.nextFrame();
n++;
if (_root.score == 0) {
_root.score = 2;
} else {
_root.score = _root.score * 2;
}
with (_root.player.cone["splodge" + n]) {
gotoAndStop(5);
_x = ((_root.sweet5._x - _root.player._x) - _root.player.cone._x) + 10;
}
removeMovieClip(_root.sweet5);
}
}
onClipEvent (enterFrame) {
if (_root.player.cone["splodge" + n].hitTest(_root.sweet6)) {
this.nextFrame();
n++;
if (_root.score == 0) {
_root.score = 2;
} else {
_root.score = _root.score * 2;
}
with (_root.player.cone["splodge" + n]) {
gotoAndStop(1);
_x = ((_root.sweet6._x - _root.player._x) - _root.player.cone._x) + 10;
}
removeMovieClip(_root.sweet6);
}
}
onClipEvent (enterFrame) {
if (_root.player.cone["splodge" + n].hitTest(_root.sweet7)) {
this.nextFrame();
n++;
if (_root.score == 0) {
_root.score = 2;
} else {
_root.score = _root.score * 2;
}
with (_root.player.cone["splodge" + n]) {
gotoAndStop(2);
_x = ((_root.sweet7._x - _root.player._x) - _root.player.cone._x) + 10;
}
removeMovieClip(_root.sweet7);
}
}
onClipEvent (enterFrame) {
if (_root.player.cone["splodge" + n].hitTest(_root.sweet8)) {
this.nextFrame();
n++;
if (_root.score == 0) {
_root.score = 2;
} else {
_root.score = _root.score * 2;
}
with (_root.player.cone["splodge" + n]) {
gotoAndStop(3);
_x = ((_root.sweet8._x - _root.player._x) - _root.player.cone._x) + 10;
}
removeMovieClip(_root.sweet8);
}
}
onClipEvent (enterFrame) {
if (_root.player.cone["splodge" + n].hitTest(_root.sweet9)) {
this.nextFrame();
n++;
if (_root.score == 0) {
_root.score = 2;
} else {
_root.score = _root.score * 2;
}
with (_root.player.cone["splodge" + n]) {
gotoAndStop(4);
_x = ((_root.sweet9._x - _root.player._x) - _root.player.cone._x) + 10;
}
removeMovieClip(_root.sweet9);
}
}
onClipEvent (enterFrame) {
if (_root.player.cone["splodge" + n].hitTest(_root.sweet10)) {
this.nextFrame();
n++;
if (_root.score == 0) {
_root.score = 2;
} else {
_root.score = _root.score * 2;
}
with (_root.player.cone["splodge" + n]) {
gotoAndStop(5);
_x = ((_root.sweet10._x - _root.player._x) - _root.player.cone._x) + 10;
}
removeMovieClip(_root.sweet10);
}
}
onClipEvent (enterFrame) {
if (_root.player.cone["splodge" + n].hitTest(_root.sweet11)) {
this.nextFrame();
n++;
if (_root.score == 0) {
_root.score = 2;
} else {
_root.score = _root.score * 2;
}
with (_root.player.cone["splodge" + n]) {
gotoAndStop(1);
_x = ((_root.sweet11._x - _root.player._x) - _root.player.cone._x) + 10;
}
removeMovieClip(_root.sweet11);
}
}
onClipEvent (enterFrame) {
if (_root.player.cone["splodge" + n].hitTest(_root.sweet12)) {
this.nextFrame();
n++;
if (_root.score == 0) {
_root.score = 2;
} else {
_root.score = _root.score * 2;
}
with (_root.player.cone["splodge" + n]) {
gotoAndStop(2);
_x = ((_root.sweet12._x - _root.player._x) - _root.player.cone._x) + 10;
}
removeMovieClip(_root.sweet12);
}
}
onClipEvent (enterFrame) {
if (_root.player.cone["splodge" + n].hitTest(_root.sweet13)) {
this.nextFrame();
n++;
if (_root.score == 0) {
_root.score = 2;
} else {
_root.score = _root.score * 2;
}
with (_root.player.cone["splodge" + n]) {
gotoAndStop(3);
_x = ((_root.sweet13._x - _root.player._x) - _root.player.cone._x) + 10;
}
removeMovieClip(_root.sweet13);
}
}
onClipEvent (enterFrame) {
if (_root.player.cone["splodge" + n].hitTest(_root.sweet14)) {
this.nextFrame();
n++;
if (_root.score == 0) {
_root.score = 2;
} else {
_root.score = _root.score * 2;
}
with (_root.player.cone["splodge" + n]) {
gotoAndStop(4);
_x = ((_root.sweet14._x - _root.player._x) - _root.player.cone._x) + 10;
}
removeMovieClip(_root.sweet14);
}
}
onClipEvent (enterFrame) {
if (_root.player.cone["splodge" + n].hitTest(_root.sweet15)) {
this.nextFrame();
n++;
if (_root.score == 0) {
_root.score = 2;
} else {
_root.score = _root.score * 2;
}
with (_root.player.cone["splodge" + n]) {
gotoAndStop(5);
_x = ((_root.sweet15._x - _root.player._x) - _root.player.cone._x) + 10;
}
removeMovieClip(_root.sweet15);
}
}
onClipEvent (enterFrame) {
if (_root.player.cone["splodge" + n].hitTest(_root.flakeCopy)) {
this.nextFrame();
n++;
if (_root.score == 0) {
_root.score = 2;
} else {
_root.score = _root.score * 2;
}
with (_root.player.cone["splodge" + n]) {
gotoAndStop("flake");
_x = _root.player.cone["splodge" + (n - 1)]._x;
}
removeMovieClip(_root.flakeCopy);
_root.play = false;
}
}
Symbol 254 MovieClip Frame 17
gotoAndStop ("still");
Symbol 259 Button
on (release) {
getURL ("http://www.santorographics.com/tutticuti/cinema.php");
}
Symbol 262 MovieClip Frame 8
gotoAndPlay (1);
Symbol 268 MovieClip Frame 1
if (_root.i < 6) {
gotoAndStop(_root.i);
} else if (_root.i < 11) {
gotoAndStop(_root.i - 5);
} else {
gotoAndStop(_root.i - 10);
}
Symbol 273 MovieClip Frame 1
stop();
Symbol 273 MovieClip Frame 2
play();
Symbol 273 MovieClip Frame 11
if (_parent._name != "sweet") {
_root.score = _root.score - 10;
_root.mistakes.gotoAndStop(_root.mistakes._currentframe + 1);
}
stop();
Symbol 275 MovieClip Frame 1
stop();
Symbol 275 MovieClip Frame 2
play();
Symbol 275 MovieClip Frame 11
_root.score = _root.score - 10;
_root.mistakes.gotoAndStop(_root.mistakes._currentframe + 1);
stop();
Symbol 277 MovieClip Frame 1
stop();
Symbol 277 MovieClip Frame 2
play();
Symbol 277 MovieClip Frame 11
_root.score = _root.score - 10;
_root.mistakes.gotoAndStop(_root.mistakes._currentframe + 1);
stop();
Symbol 279 MovieClip Frame 1
stop();
Symbol 279 MovieClip Frame 2
play();
Symbol 279 MovieClip Frame 11
_root.score = _root.score - 10;
_root.mistakes.gotoAndStop(_root.mistakes._currentframe + 1);
stop();
Symbol 281 MovieClip Frame 1
stop();
Symbol 281 MovieClip Frame 2
play();
Symbol 281 MovieClip Frame 11
_root.score = _root.score - 10;
_root.mistakes.gotoAndStop(_root.mistakes._currentframe + 1);
stop();
Symbol 282 MovieClip Frame 1
if (_root.i < 6) {
gotoAndStop(_root.i);
} else if (_root.i < 11) {
gotoAndStop(_root.i - 5);
} else {
gotoAndStop(_root.i - 10);
}
Symbol 283 MovieClip Frame 1
stop();
Symbol 283 MovieClip Frame 2
play();
Symbol 283 MovieClip Frame 10
_root.play = false;
Symbol 283 MovieClip Frame 11
if (_name != "flake") {
_root.score = _root.score - 10;
_root.mistakes.gotoAndStop(_root.mistakes._currentframe + 1);
}
stop();
Symbol 306 Button
on (release) {
gotoAndPlay (3);
}
Symbol 311 Button
on (release) {
gotoAndStop ("submitScore");
}
Symbol 316 Button
on (release) {
gotoAndStop ("hiscore");
}
Symbol 321 Button
on (release) {
gotoAndStop ("emailfriend");
}
Symbol 337 Button
on (release) {
err.text = "";
str1 = txtEmail.indexOf("@");
str2 = txtEmail.indexOf("@") + 1;
str3 = txtEmail.charAt(str1 + 1);
str4 = txtEmail.lastIndexOf(".");
str5 = txtEmail.charAt(str4 + 1);
len = length(txtEmail);
counter = 1;
flag = 0;
while (Number(counter) <= Number(len)) {
Char = substring(txtEmail, counter, 1);
if (Char ne "@") {
flag = Number(flag) + 1;
}
counter = Number(counter) + 1;
}
if (txtName.text == "") {
condition1 = "";
err.text = "Please fill in your name.";
} else {
condition1 = "ok";
}
if ((txtEmail != "") and (txtName.text != "")) {
if ((((str4 <= str2) || (str3 == ".")) || (str5 == "")) || (Number(flag) != Number(len - 1))) {
condition2 = "";
err.text = "Invalid Email ID.";
} else {
condition2 = "ok";
}
} else if ((txtEmail == "") and (txtName.text != "")) {
err.text = "Please fill in your email.";
}
if (((yourFName_txt.text == "") && (condition1 == "ok")) && (condition2 == "ok")) {
condition3 = "";
err.text = "Please fill in your friends name.";
} else {
condition3 = "ok";
}
str1 = friendsEmail.indexOf("@");
str2 = friendsEmail.indexOf("@") + 1;
str3 = friendsEmail.charAt(str1 + 1);
str4 = friendsEmail.lastIndexOf(".");
str5 = friendsEmail.charAt(str4 + 1);
len = length(friendsEmail);
counter = 1;
flag = 0;
while (Number(counter) <= Number(len)) {
Char = substring(friendsEmail, counter, 1);
if (Char ne "@") {
flag = Number(flag) + 1;
}
counter = Number(counter) + 1;
}
if ((((friendsEmail != "") && (condition1 == "ok")) && (condition2 == "ok")) && (condition3 == "ok")) {
if ((((str4 <= str2) || (str3 == ".")) || (str5 == "")) || (Number(flag) != Number(len - 1))) {
condition4 = "";
err.text = "Invalid friends Email ID.";
} else {
condition4 = "ok";
}
} else if ((((friendsEmail == "") && (condition1 == "ok")) && (condition2 == "ok")) && (condition3 == "ok")) {
err.text = "Please fill in your email.";
}
if ((((condition1 == "ok") && (condition2 == "ok")) && (condition3 == "ok")) && (condition4 == "ok")) {
trace("Name::" + txtName.text);
trace("Email::" + txtEmail);
trace("yourFName_txt::" + yourFName_txt.text);
trace("friendsEmail::" + friendsEmail);
trace("Score::" + score);
var result_lv = new LoadVars();
var my_lv = new LoadVars();
my_lv.yourName = txtName.text;
my_lv.yourEmail = txtEmail;
my_lv.yourFName = yourFName_txt.text;
my_lv.friendsEmail = friendsEmail;
my_lv.yourMessage = yourMessage_txt.text;
my_lv.yourScore = score;
result_lv.onLoad = function (success:Boolean) {
if (success) {
}
};
my_lv.sendAndLoad("sendEmail.php", result_lv, "POST");
gotoAndStop ("thankyou");
}
}
Symbol 340 Button
on (release) {
gotoAndStop ("sacked");
}
Symbol 351 Button
on (release) {
if (txtName1.text == "") {
condition1 = "";
err.text = "Please fill in your name.";
} else {
condition1 = "ok";
}
if ((txtCountry.text == "") and (condition1 == "ok")) {
condition2 = "";
err.text = "Please fill in your country name.";
} else {
condition2 = "ok";
}
if (((yourAge.text == "") and (condition1 == "ok")) and (condition2 == "ok")) {
condition3 = "";
err.text = "Please fill in your age.";
} else {
condition3 = "ok";
}
if (((condition1 == "ok") && (condition2 == "ok")) && (condition3 == "ok")) {
trace("Name::" + txtName1.text);
trace("Score::" + score);
var result_lv1 = new LoadVars();
var my_lv1 = new LoadVars();
my_lv1.yourName1 = txtName1.text;
my_lv1.country = txtCountry.text;
my_lv1.age = yourAge.text;
my_lv1.yourScore = score;
result_lv1.onLoad = function (success:Boolean) {
if (success) {
}
};
my_lv1.sendAndLoad("sendScore.php", result_lv1, "POST");
gotoAndStop ("thankyou1");
}
}
Symbol 423 Button
on (release) {
nextFrame();
}
Symbol 434 Button
on (release) {
prevFrame();
}