Frame 1
cacheKill = new Date().getTime();
trace(cacheKill);
myLoadVars_lv = new LoadVars();
myLoadVars_lv.onLoad = function (success) {
if (success) {
_root.highscore = myLoadVars_lv.score;
_root.winnarname = myLoadVars_lv.name;
}
};
myLoadVars_lv.load("http://www.uglypersonsface.com/xmas/openread.php?" + cacheKill);
stop();
Instance of Symbol 2 MovieClip in Frame 1
on (press) {
_root.play();
}
Instance of Symbol 13 MovieClip "binyah" in Frame 1
onClipEvent (load) {
_root.flycount = 0;
_root.out = 0;
_root.count = -1;
_root.clock = 0;
_root.simeon1 = 0;
}
onClipEvent (enterFrame) {
_root.clock++;
if (_root.clock > 500) {
_root.clock = 0;
_root.count++;
if ((_root.count % 2) == 0) {
if (!_root.simeon1) {
_root.simeon.play();
}
_root.mrron.play();
}
}
if (Math.random() < 0.07) {
duplicateMovieClip (_root.flying, "flying" + _root.flycount, _root.flycount);
_root.flycount++;
}
if (Math.random() < 0.07) {
duplicateMovieClip (_root.flyingdown, "flying" + _root.flycount, _root.flycount);
_root.flycount++;
}
if (Math.random() < (0.01 * _root.count)) {
duplicateMovieClip (_root.bomb, "flying" + _root.flycount, _root.flycount);
_root.flycount++;
}
}
Frame 2
stop();
Instance of Symbol 13 MovieClip "binyah" in Frame 2
onClipEvent (load) {
_root.flycount = 0;
_root.out = 0;
_root.count = -1;
_root.clock = 0;
_root.simeon1 = 0;
}
onClipEvent (enterFrame) {
_root.clock++;
if (_root.clock > 500) {
_root.clock = 0;
_root.count++;
if ((_root.count % 2) == 0) {
if (!_root.simeon1) {
_root.simeon.play();
}
_root.mrron.play();
}
}
if (Math.random() < 0.07) {
duplicateMovieClip (_root.flying, "flying" + _root.flycount, _root.flycount);
_root.flycount++;
}
if (Math.random() < 0.07) {
duplicateMovieClip (_root.flyingdown, "flying" + _root.flycount, _root.flycount);
_root.flycount++;
}
if (Math.random() < (0.01 * _root.count)) {
duplicateMovieClip (_root.bomb, "flying" + _root.flycount, _root.flycount);
_root.flycount++;
}
}
Instance of Symbol 26 MovieClip "flying" in Frame 2
onClipEvent (load) {
}
Instance of Symbol 34 MovieClip "tongue" in Frame 2
onClipEvent (enterFrame) {
this._width = _root._xmouse - 148;
_root.x = _root._xmouse - 148;
_root.y = 166 - _root._ymouse;
angle = Math.atan(_root.y / _root.x) / 0.01745277;
if (((((_root._xmouse < 192) || (_root._ymouse < 0)) || (_root._ymouse > 400)) || (angle > 55)) || (angle < -55)) {
this._width = 25;
angle = -10;
}
this._rotation = -angle;
}
Instance of Symbol 45 MovieClip "stucksimeon" in Frame 2
onClipEvent (enterFrame) {
if (_root.stuck) {
angle = Math.atan(_root.y / _root.x) / 0.01745277;
this._x = _root._xmouse - 20;
this._y = _root._ymouse;
this._rotation = -angle;
if (((((_root._xmouse < 192) || (_root._ymouse < 0)) || (_root._ymouse > 400)) || (angle > 55)) || (angle < -55)) {
this._x = 162;
this._y = 171;
angle = -10;
}
this._rotation = -angle;
}
}
Instance of Symbol 54 MovieClip "mrron" in Frame 2
onClipEvent (load) {
function shoot() {
play();
}
}
Frame 3
cacheKill = new Date().getTime();
trace(cacheKill);
myLoadVars_lv = new LoadVars();
myLoadVars_lv.onLoad = function (success) {
if (success) {
_root.highscore = myLoadVars_lv.score;
_root.winnarname = myLoadVars_lv.name;
}
};
myLoadVars_lv.load("http://www.uglypersonsface.com/xmas/openread.php?" + cacheKill);
if (_root.highscore < _root.out) {
_root.inputprompt.gotoAndStop(2);
} else {
_root.inputprompt.gotoAndStop(1);
}
stop();
Instance of Symbol 67 MovieClip "inputprompt" in Frame 3
onClipEvent (enterFrame) {
}
Symbol 13 MovieClip Frame 1
stop();
Symbol 13 MovieClip Frame 2
stop();
Symbol 16 MovieClip Frame 1
stop();
Symbol 16 MovieClip Frame 2
stop();
Symbol 16 MovieClip Frame 3
stop();
Symbol 16 MovieClip Frame 4
stop();
Symbol 16 MovieClip Frame 5
_root.play();
Instance of Symbol 19 MovieClip in Symbol 20 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((((((((((((((((((((((((((((((((((((((this.hitTest(_root.tongue.ph1) || (this.hitTest(_root.tongue.ph2))) || (this.hitTest(_root.tongue.ph3))) || (this.hitTest(_root.tongue.ph4))) || (this.hitTest(_root.tongue.ph5))) || (this.hitTest(_root.tongue.ph6))) || (this.hitTest(_root.tongue.ph7))) || (this.hitTest(_root.tongue.ph8))) || (this.hitTest(_root.tongue.ph9))) || (this.hitTest(_root.tongue.ph10))) || (this.hitTest(_root.tongue.ph11))) || (this.hitTest(_root.tongue.ph12))) || (this.hitTest(_root.tongue.ph13))) || (this.hitTest(_root.tongue.ph14))) || (this.hitTest(_root.tongue.ph15))) || (this.hitTest(_root.tongue.ph16))) || (this.hitTest(_root.tongue.ph17))) || (this.hitTest(_root.tongue.ph18))) || (this.hitTest(_root.tongue.ph19))) || (this.hitTest(_root.tongue.ph20))) || (this.hitTest(_root.tongue.ph21))) || (this.hitTest(_root.tongue.ph22))) || (this.hitTest(_root.tongue.ph23))) || (this.hitTest(_root.tongue.ph24))) || (this.hitTest(_root.tongue.ph25))) || (this.hitTest(_root.tongue.ph26))) || (this.hitTest(_root.tongue.ph27))) || (this.hitTest(_root.tongue.ph28))) || (this.hitTest(_root.tongue.ph29))) || (this.hitTest(_root.tongue.ph30))) || (this.hitTest(_root.tongue.ph31))) || (this.hitTest(_root.tongue.ph32))) || (this.hitTest(_root.tongue.ph33))) || (this.hitTest(_root.tongue.ph34))) || (this.hitTest(_root.tongue.ph35))) || (this.hitTest(_root.tongue.ph36))) || (this.hitTest(_root.tongue.ph37))) || (this.hitTest(_root.tongue.ph38))) || (this.hitTest(_root.tongue.ph39))) || (this.hitTest(_root.tongue.ph40))) {
removeMovieClip(this._parent._parent._parent);
_root.out++;
}
}
Symbol 21 MovieClip Frame 90
removeMovieClip(this._parent);
Symbol 22 MovieClip Frame 90
removeMovieClip(this._parent);
Symbol 24 MovieClip Frame 90
removeMovieClip(this._parent);
Symbol 25 MovieClip Frame 90
removeMovieClip(this._parent);
Symbol 26 MovieClip Frame 1
if ((String(_name) != "flying") && (String(_name) != "flyingdown")) {
framechoose = (Math.random() * 4) + 1;
framechoose = Math.ceil(framechoose);
gotoAndStop (5);
_x = (_x + (Math.random() * 150));
} else {
gotoAndStop (1);
}
Symbol 30 MovieClip Frame 1
stop();
Symbol 30 MovieClip Frame 20
removeMovieClip(_parent);
Symbol 31 MovieClip Frame 1
if (String(_name) == "bomb") {
gotoAndStop (1);
} else {
_x = (_x + (Math.random() * 160));
}
Instance of Symbol 30 MovieClip in Symbol 31 MovieClip Frame 2
onClipEvent (enterFrame) {
if (String(_name) != "bomb") {
if (((((((((((((((((((((((((((((((((((((((this.hitTest(_root.tongue.ph1) || (this.hitTest(_root.tongue.ph2))) || (this.hitTest(_root.tongue.ph3))) || (this.hitTest(_root.tongue.ph4))) || (this.hitTest(_root.tongue.ph5))) || (this.hitTest(_root.tongue.ph6))) || (this.hitTest(_root.tongue.ph7))) || (this.hitTest(_root.tongue.ph8))) || (this.hitTest(_root.tongue.ph9))) || (this.hitTest(_root.tongue.ph10))) || (this.hitTest(_root.tongue.ph11))) || (this.hitTest(_root.tongue.ph12))) || (this.hitTest(_root.tongue.ph13))) || (this.hitTest(_root.tongue.ph14))) || (this.hitTest(_root.tongue.ph15))) || (this.hitTest(_root.tongue.ph16))) || (this.hitTest(_root.tongue.ph17))) || (this.hitTest(_root.tongue.ph18))) || (this.hitTest(_root.tongue.ph19))) || (this.hitTest(_root.tongue.ph20))) || (this.hitTest(_root.tongue.ph21))) || (this.hitTest(_root.tongue.ph22))) || (this.hitTest(_root.tongue.ph23))) || (this.hitTest(_root.tongue.ph24))) || (this.hitTest(_root.tongue.ph25))) || (this.hitTest(_root.tongue.ph26))) || (this.hitTest(_root.tongue.ph27))) || (this.hitTest(_root.tongue.ph28))) || (this.hitTest(_root.tongue.ph29))) || (this.hitTest(_root.tongue.ph30))) || (this.hitTest(_root.tongue.ph31))) || (this.hitTest(_root.tongue.ph32))) || (this.hitTest(_root.tongue.ph33))) || (this.hitTest(_root.tongue.ph34))) || (this.hitTest(_root.tongue.ph35))) || (this.hitTest(_root.tongue.ph36))) || (this.hitTest(_root.tongue.ph37))) || (this.hitTest(_root.tongue.ph38))) || (this.hitTest(_root.tongue.ph39))) || (this.hitTest(_root.tongue.ph40))) {
this.play();
this._parent.stop();
if (!cannonHit) {
_root.life.play();
cannonHit = 1;
}
}
}
}
Symbol 31 MovieClip Frame 51
removeMovieClip(this);
Symbol 41 MovieClip Frame 1
stop();
Instance of Symbol 38 MovieClip in Symbol 41 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.binyah.simeonhit)) {
this._parent.gotoAndStop(1);
_root.binyah.play();
_root.simeon1 = 1;
}
if (((((((((((((((((((((((((((((((((((((((this.hitTest(_root.tongue.ph1) || (this.hitTest(_root.tongue.ph2))) || (this.hitTest(_root.tongue.ph3))) || (this.hitTest(_root.tongue.ph4))) || (this.hitTest(_root.tongue.ph5))) || (this.hitTest(_root.tongue.ph6))) || (this.hitTest(_root.tongue.ph7))) || (this.hitTest(_root.tongue.ph8))) || (this.hitTest(_root.tongue.ph9))) || (this.hitTest(_root.tongue.ph10))) || (this.hitTest(_root.tongue.ph11))) || (this.hitTest(_root.tongue.ph12))) || (this.hitTest(_root.tongue.ph13))) || (this.hitTest(_root.tongue.ph14))) || (this.hitTest(_root.tongue.ph15))) || (this.hitTest(_root.tongue.ph16))) || (this.hitTest(_root.tongue.ph17))) || (this.hitTest(_root.tongue.ph18))) || (this.hitTest(_root.tongue.ph19))) || (this.hitTest(_root.tongue.ph20))) || (this.hitTest(_root.tongue.ph21))) || (this.hitTest(_root.tongue.ph22))) || (this.hitTest(_root.tongue.ph23))) || (this.hitTest(_root.tongue.ph24))) || (this.hitTest(_root.tongue.ph25))) || (this.hitTest(_root.tongue.ph26))) || (this.hitTest(_root.tongue.ph27))) || (this.hitTest(_root.tongue.ph28))) || (this.hitTest(_root.tongue.ph29))) || (this.hitTest(_root.tongue.ph30))) || (this.hitTest(_root.tongue.ph31))) || (this.hitTest(_root.tongue.ph32))) || (this.hitTest(_root.tongue.ph33))) || (this.hitTest(_root.tongue.ph34))) || (this.hitTest(_root.tongue.ph35))) || (this.hitTest(_root.tongue.ph36))) || (this.hitTest(_root.tongue.ph37))) || (this.hitTest(_root.tongue.ph38))) || (this.hitTest(_root.tongue.ph39))) || (this.hitTest(_root.tongue.ph40))) {
this._parent.gotoAndStop(1);
_root.stuck = 1;
}
}
Symbol 45 MovieClip Frame 1
stop();
Symbol 45 MovieClip Frame 75
_x = -50;
_y = -50;
Symbol 50 MovieClip Frame 1
stop();
Symbol 50 MovieClip Frame 15
this._parent.gotoAndStop(1);
Symbol 51 MovieClip Frame 1
stop();
Instance of Symbol 50 MovieClip in Symbol 51 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.binyah.binyahhit)) {
this._parent.stop();
this.play();
if (!cannonHit) {
_root.life.play();
cannonHit = 1;
}
}
if (this.hitTest(_root.stucksimeon)) {
this._parent.stop();
this.play();
}
}
Symbol 54 MovieClip Frame 1
stop();
Symbol 54 MovieClip Frame 121
_root.cannon1.play();
Symbol 54 MovieClip Frame 165
_root.cannon2.play();
Symbol 54 MovieClip Frame 204
_root.cannon3.play();
Symbol 54 MovieClip Frame 397
if (!_root.simeon1) {
_root.stuck = 0;
_root.stucksimeon.play();
}
Symbol 67 MovieClip Frame 1
stop();
this.currentscore = _root.out;
this.winnarscore = _root.highscore;
this.winnarname = _root.winnarname;
Instance of Symbol 11 MovieClip in Symbol 67 MovieClip Frame 1
on (press) {
_root.play();
}
Symbol 67 MovieClip Frame 2
stop();
Instance of Symbol 66 MovieClip "submit" in Symbol 67 MovieClip Frame 2
onClipEvent (load) {
function submitDataToTextfile() {
submittedData = new LoadVars();
submittedData.inputData = fullstring;
response1 = new LoadVars();
submittedData.sendAndLoad("careTaker.php", response1, "post");
}
function doThisOnResponse(result) {
if (result) {
} else {
trace("everything went wrong...aaghhh..damn this");
}
}
}
on (press) {
fullstring = ((("score=" + _root.out) + "&name=") + this._parent.inputData) + " ";
submitDataToTextfile();
_root.play();
}
on (release) {
_root.play();
}