Frame 1
stop();
fscommand ("showmenu", false);
fscommand ("trapallkeys", true);
this.onEnterFrame = function () {
ifFrameLoaded (1) {
delete this.onEnterFrame;
intrologo.gotoAndPlay(2);
}
};
Instance of Symbol 77 MovieClip "sceneLoader" in Frame 2
onClipEvent (enterFrame) {
total = _root.getBytesTotal();
loaded = _root.getBytesLoaded();
if (loaded > 50) {
percent = int((loaded / total) * 100);
level.gotoAndStop(percent);
per.text = int(percent) + "%";
if (percent >= 100) {
_parent.gotoAndStop("start");
}
}
}
Frame 3
function leaderBoard(mclip) {
playerName = new Array();
playerScore = new Array();
playerId = new Array();
dateArray = new Array();
startArray = new Array();
endArray = new Array();
scoresArray = new Array();
userIdArray = new Array();
userNameArray = new Array();
scoreArray = new Array();
i = 1;
j = 1;
k = 1;
leaderBoardXML = new XML();
leaderBoardXML.ignoreWhite = true;
mainElement = leaderBoardXML.createElement("leaderBoard");
Element1 = leaderBoardXML.createElement("gameId");
Element2 = leaderBoardXML.createElement("userid");
mytextnode1 = leaderBoardXML.createTextNode(gameId);
mytextnode2 = leaderBoardXML.createTextNode(userId);
mainElement.appendChild(Element1);
mainElement.appendChild(Element2);
Element1.appendChild(mytextnode1);
Element2.appendChild(mytextnode2);
leaderBoardXML.appendChild(mainElement);
leaderBoardXML.contentType = "text/xml";
leaderBoardReplyXML = new XML();
leaderBoardReplyXML.ignoreWhite = true;
leaderBoardReplyXML.contentType = "text/xml";
leaderBoardXML.sendAndLoad("/html/gamestadium/leaderboard.aspx", leaderBoardReplyXML, "POST");
leaderBoardReplyXML.onLoad = function (success) {
if (success) {
getleaderBoardStatus(this.firstChild);
if (mclip == 1) {
board.textClip.gotoAndStop(2);
} else if (mclip == 2) {
board.allClip.gotoAndStop(2);
} else if (mclip == 3) {
board.userClip.gotoAndStop(2);
} else if (mclip == 4) {
board.textClip.gotoAndStop(2);
}
}
};
}
function getleaderBoardStatus(root) {
if (root.nodeName.toUpperCase() == "LEADERBOARD") {
fc = root.firstChild;
while (fc != null) {
if (fc.nodeName.toUpperCase() == "USER") {
sc = fc.firstChild;
while (sc != null) {
if (sc.nodeName.toUpperCase() == "USERNAME") {
playerName[i] = sc.firstChild.nodeValue;
}
if (sc.nodeName.toUpperCase() == "SCORE") {
playerScore[i] = sc.firstChild.nodeValue;
}
if (sc.nodeName.toUpperCase() == "USERID") {
playerId[i] = sc.firstChild.nodeValue;
}
sc = sc.nextSibling;
}
}
if (fc.nodeName.toUpperCase() == "CURRENTUSER") {
ssc = fc.firstChild;
while (ssc != null) {
if (ssc.nodeName.toUpperCase() == "INFO") {
tc = ssc.firstChild;
while (tc != null) {
if (tc.nodeName.toUpperCase() == "DATE") {
dateArray[j] = tc.firstChild.nodeValue;
}
if (tc.nodeName.toUpperCase() == "STARTTIME") {
startArray[j] = tc.firstChild.nodeValue;
}
if (tc.nodeName.toUpperCase() == "ENDTIME") {
endArray[j] = tc.firstChild.nodeValue;
}
if (tc.nodeName.toUpperCase() == "SCORE") {
scoresArray[j] = tc.firstChild.nodeValue;
}
tc = tc.nextSibling;
}
}
j++;
ssc = ssc.nextSibling;
}
}
if (fc.nodeName.toUpperCase() == "GAMETOPSCORE") {
ssc = fc.firstChild;
while (ssc != null) {
if (ssc.nodeName.toUpperCase() == "USER") {
ttc = ssc.firstChild;
while (ttc != null) {
if (ttc.nodeName.toUpperCase() == "USERID") {
userIdArray[k] = ttc.firstChild.nodeValue;
}
if (ttc.nodeName.toUpperCase() == "USERNAME") {
userNameArray[k] = ttc.firstChild.nodeValue;
}
if (ttc.nodeName.toUpperCase() == "SCORE") {
scoreArray[k] = ttc.firstChild.nodeValue;
}
ttc = ttc.nextSibling;
}
}
k++;
ssc = ssc.nextSibling;
}
}
i++;
fc = fc.nextSibling;
}
}
callTrace();
}
function callTrace() {
traceVar = "tracing" + playerName.length;
}
function updateToZapak(zapakscore) {
commentTxt.text = "HIGHSCORES";
gameId = 907;
xmlString = ((((("<?xml version=\"1.0\"?><zapakscorecaptureAPI version=\"1.0\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"><game evttype=\"end\" \tgameid=\"" + gameId) + "\" gamestarttime=\"") + utcdate) + "\" getscore=\"0\" getboard=\"1\"></game><scoredata><score>") + zapakscore) + "</score></scoredata></zapakscorecaptureAPI>";
outputTxt.text = xmlString;
scoreUrl = "https://www.zapak.com/getxmlscore.z";
returnXML = new XML();
sendXML = new XML(xmlString);
sendXML.parseXML();
sendXML.sendAndLoad(scoreUrl, returnXML);
returnXML.onLoad = function (success) {
arrLen = returnXML.firstChild.childNodes[0].childNodes.length;
var _local1 = 0;
while (_local1 < arrLen) {
if (returnXML.firstChild.childNodes[0].childNodes[_local1].nodeName == "leaderboard") {
arrNum = _local1;
}
_local1++;
}
arrLength = returnXML.firstChild.childNodes[0].childNodes[arrNum].childNodes.length;
_local1 = 0;
while (_local1 < arrLength) {
if (_local1 == 0) {
dayScore = returnXML.firstChild.childNodes[0].childNodes[arrNum].childNodes[_local1].firstChild;
} else if (_local1 == 1) {
topScore = returnXML.firstChild.childNodes[0].childNodes[arrNum].childNodes[_local1];
}
_local1++;
}
if (returnXML.firstChild.childNodes[0].childNodes[arrNum].childNodes[2].attributes.userid != undefined) {
currentUser1 = returnXML.firstChild.childNodes[0].childNodes[arrNum].childNodes[2].attributes.userid;
currentScore1 = returnXML.firstChild.childNodes[0].childNodes[arrNum].childNodes[2].childNodes[1].firstChild;
}
if (returnXML.firstChild.childNodes[0].childNodes[arrNum].childNodes[3].attributes.userid != undefined) {
currentUser2 = returnXML.firstChild.childNodes[0].childNodes[arrNum].childNodes[3].attributes.userid;
currentScore2 = returnXML.firstChild.childNodes[0].childNodes[arrNum].childNodes[3].childNodes[1].firstChild;
}
if (returnXML.firstChild.childNodes[0].childNodes[arrNum].childNodes[4].attributes.userid != undefined) {
currentUser3 = returnXML.firstChild.childNodes[0].childNodes[arrNum].childNodes[4].attributes.userid;
currentScore3 = returnXML.firstChild.childNodes[0].childNodes[arrNum].childNodes[4].childNodes[1].firstChild;
}
if (returnXML.firstChild.childNodes[0].childNodes[arrNum].childNodes[5].attributes.userid != undefined) {
currentUser4 = returnXML.firstChild.childNodes[0].childNodes[arrNum].childNodes[5].attributes.userid;
currentScore4 = returnXML.firstChild.childNodes[0].childNodes[arrNum].childNodes[5].childNodes[1].firstChild;
}
if (returnXML.firstChild.childNodes[0].childNodes[arrNum].childNodes[6].attributes.userid != undefined) {
currentUser5 = returnXML.firstChild.childNodes[0].childNodes[arrNum].childNodes[6].attributes.userid;
currentScore5 = returnXML.firstChild.childNodes[0].childNodes[arrNum].childNodes[6].childNodes[1].firstChild;
}
if (returnXML.firstChild.childNodes[0].childNodes[arrNum].childNodes[7].attributes.userid != undefined) {
currentUser6 = returnXML.firstChild.childNodes[0].childNodes[arrNum].childNodes[7].attributes.userid;
currentScore6 = returnXML.firstChild.childNodes[0].childNodes[arrNum].childNodes[7].childNodes[1].firstChild;
}
if (returnXML.firstChild.childNodes[0].childNodes[arrNum].childNodes[8].attributes.userid != undefined) {
currentUser7 = returnXML.firstChild.childNodes[0].childNodes[arrNum].childNodes[8].attributes.userid;
currentScore7 = returnXML.firstChild.childNodes[0].childNodes[arrNum].childNodes[8].childNodes[1].firstChild;
}
if (returnXML.firstChild.childNodes[0].childNodes[arrNum].childNodes[9].attributes.userid != undefined) {
currentUser8 = returnXML.firstChild.childNodes[0].childNodes[arrNum].childNodes[9].attributes.userid;
currentScore8 = returnXML.firstChild.childNodes[0].childNodes[arrNum].childNodes[9].childNodes[1].firstChild;
}
if (returnXML.firstChild.childNodes[0].childNodes[arrNum].childNodes[10].attributes.userid != undefined) {
currentUser9 = returnXML.firstChild.childNodes[0].childNodes[arrNum].childNodes[10].attributes.userid;
currentScore9 = returnXML.firstChild.childNodes[0].childNodes[arrNum].childNodes[10].childNodes[1].firstChild;
}
if (returnXML.firstChild.childNodes[0].childNodes[arrNum].childNodes[11].attributes.userid != undefined) {
currentUser10 = returnXML.firstChild.childNodes[0].childNodes[arrNum].childNodes[11].attributes.userid;
currentScore10 = returnXML.firstChild.childNodes[0].childNodes[arrNum].childNodes[11].childNodes[1].firstChild;
}
};
}
function startGame() {
getGameTime();
}
function getGameTime() {
d = new Date();
mm = (((d.getUTCMonth() + 1) < 10) ? ("0" + (d.getUTCMonth() + 1)) : (d.getUTCMonth() + 1));
dd = ((d.getUTCDate() < 10) ? ("0" + d.getUTCDate()) : (d.getUTCDate()));
hh = ((d.getUTCHours() < 10) ? ("0" + d.getUTCHours()) : (d.getUTCHours()));
ii = ((d.getUTCMinutes() < 10) ? ("0" + d.getUTCMinutes()) : (d.getUTCMinutes()));
ss = ((d.getUTCSeconds() < 10) ? ("0" + d.getUTCSeconds()) : (d.getUTCSeconds()));
utcdate = ((((((((((d.getUTCFullYear() + "-") + mm) + "-") + dd) + "T") + hh) + ":") + ii) + ":") + ss) + "Z";
}
var utcdate:String = new String();
stop();
textClip.instructions.htmlText = "Collect as many player icons as you can before the end of the game. How high you can jump will decide how many icons you get!<br><br>Time allotted: 1 minutes.<br><br>The clock will also count milliseconds so be really fast, for your score will be a sum of the points and the time taken!<br><br>Points Scale: <br>Dhoni - 2 points <br>Dravid - 5 points <br>Sachin - 10 points <Br><br> Final score will be the difference between the time allotted (TA) and time taken (TT), divided by 10000. (TA\u2013TT)/3000";
textClip.setMask(maskClip);
scrollPressed = false;
scroll_but.onPress = function () {
startDrag (this, true, scroll_but._x, (scrollheight._y - (scrollheight._height / 2)) + scroll_but.error, scroll_but._x, (scrollheight._y + (scrollheight._height / 2)) - scroll_but.error);
scrollPressed = true;
};
scroll_but.onRelease = function () {
stopDrag();
scrollPressed = false;
};
scroll_but.onReleaseOutside = function () {
stopDrag();
scrollPressed = false;
};
scroll_base._visible = false;
scroll_but._visible = false;
topScroll._visible = false;
botScroll._visible = false;
stopAllSounds();
fscommand ("showmenu", false);
fscommand ("trapallkeys", false);
stop();
Instance of Symbol 107 MovieClip "scroll_but" in Frame 3
onClipEvent (load) {
contentY = _parent.textClip._y;
scrollerY = _y;
error = _height / 2;
initialY = this._y;
mc_initial_y = _parent.textClip._y;
dummyHeight = 0;
}
onClipEvent (enterFrame) {
if ((_parent.textClip._height - dummyHeight) > _parent.scrollheight._height) {
if (_parent.scrollPressed == true) {
step = (((_parent.textClip._height - dummyHeight) + ((error * 2.6) * ((_parent.textClip._height - dummyHeight) / _parent.scrollheight._height))) - _parent.familiesHeight._height) / _parent.scrollheight._height;
diff = _y - ((_parent.scrollheight._y - (_parent.scrollheight._height / 2)) + error);
_parent.textClip._y = mc_initial_y - (diff * step);
} else {
step = (((_parent.textClip._height - dummyHeight) + ((error * 2.6) * ((_parent.textClip._height - dummyHeight) / _parent.scrollheight._height))) - _parent.familiesHeight._height) / _parent.scrollheight._height;
diff = _y - ((_parent.scrollheight._y - (_parent.scrollheight._height / 2)) + error);
_parent.textClip._y = mc_initial_y - (diff * step);
}
if (_visible == false) {
_visible = true;
_parent.topScroll._visible = true;
_parent.botScroll._visible = true;
_parent.scrollheight._visible = true;
_parent.scroll_base._visible = true;
}
} else {
_visible = false;
_parent.scroll_base._visible = false;
_parent.topScroll._visible = false;
_parent.botScroll._visible = false;
_parent.scrollheight._visible = false;
_parent.textClip._y = contentY;
_y = scrollerY;
}
if (_parent.topScrlPress == true) {
if (this._y > (initialY + (_parent.textClip._height / this._height))) {
this._y = this._y - (_parent.textClip._height / this._height);
} else if (this._y > (initialY + 1)) {
this._y--;
}
}
if (_parent.botScrlPress == true) {
if (this._y < (((_parent.scrollheight._y + (_parent.scrollheight._height / 2)) - error) - (_parent.textClip._height / this._height))) {
this._y = this._y + (_parent.textClip._height / this._height);
} else if (this._y < (((_parent.scrollheight._y + (_parent.scrollheight._height / 2)) - error) - 1)) {
this._y++;
}
}
}
Frame 5
l1 = new Sound();
l1.attachSound("level1");
l1.start(0, 100);
stop();
_root.data.point = 0;
_root.p1 = 0;
_root.p2 = 0;
_root.p3 = 0;
_root.getdown = "";
loadTime = getTimer();
Instance of Symbol 113 MovieClip "bg_mc" in Frame 5
onClipEvent (enterFrame) {
if (_root.goback1 == 1) {
if (this._y != 100) {
this._y = this._y - 5;
}
if (this._y == 100) {
_root.goback1 = 0;
}
}
if (this._y > 130) {
this._y = 130;
}
if (this._y < 100) {
this._y = 100;
}
}
Instance of Symbol 145 MovieClip "path_mc" in Frame 5
onClipEvent (enterFrame) {
if (_root.goback1 == 1) {
if (this._y != 5) {
this._y = this._y - 5;
}
}
if (this._y > 35) {
this._y = 35;
}
if (this._y < 5) {
this._y = 5;
}
}
Instance of Symbol 211 MovieClip "man" in Frame 5
onClipEvent (load) {
_parent.bgplus = false;
_parent.ptplus = false;
_parent.jump = false;
_parent.game = 0;
_parent.manmove = 2;
_parent.pathmove = 15;
_parent.bgmove = 6;
_parent.life = 4;
_parent.pointsvar = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(39) and (_parent.bg_mc._x > -10000)) {
if (this._x > 125) {
this._x = this._x - _parent.manmove;
}
_parent.path_mc._x = _parent.path_mc._x - _parent.pathmove;
this._xscale = 100;
if (((this.hitTest(_parent.path_mc.con1L) || (this.hitTest(_parent.path_mc.con1Rw))) || (this.hitTest(_parent.path_mc.con2L))) || (this.hitTest(_parent.path_mc.con2R))) {
_parent.bg_mc._x = _parent.bg_mc._x;
_parent.path_mc._x = _parent.path_mc._x;
} else {
_parent.bg_mc._x = _parent.bg_mc._x - _parent.bgmove;
}
_parent.man.jump_mc.obj_mc.gotoAndStop(2);
if (_parent.bg_mc._x <= -9444) {
_parent.bg_mc._x = -9444;
}
if (_parent.path_mc._x <= -9448) {
_parent.path_mc._x = -9448;
}
}
if (Key.isDown(37) and (_parent.bg_mc._x < 0)) {
if (this._x < 515) {
this._x = this._x + _parent.manmove;
}
_parent.path_mc._x = _parent.path_mc._x + _parent.pathmove;
this._xscale = -100;
if (((this.hitTest(_parent.path_mc.con1L) || (this.hitTest(_parent.path_mc.con1Rw))) || (this.hitTest(_parent.path_mc.con2L))) || (this.hitTest(_parent.path_mc.con2R))) {
_parent.bg_mc._x = _parent.bg_mc._x;
_parent.path_mc._x = _parent.path_mc._x;
} else {
_parent.bg_mc._x = _parent.bg_mc._x + _parent.bgmove;
}
_parent.man.jump_mc.obj_mc.gotoAndStop(2);
}
if (Key.isDown(38) and (_parent.jump == false)) {
_parent.jump = true;
jump_mc.gotoAndPlay(2);
}
if ((!Key.isDown(39)) and (!Key.isDown(37))) {
_parent.man.jump_mc.obj_mc.gotoAndStop(1);
}
_parent.data1.point = ((2 * _parent.p1) + (5 * _parent.p2)) + (10 * _parent.p3);
_parent.pointsvar = _parent.data1.point;
if (_parent.pointsvar >= 125) {
_parent.jesus.gotoAndStop("me");
}
if (_parent.life == 0) {
_parent.gotoAndStop(3);
} else if (_parent.life == 1) {
trace("hai");
_parent.score = _parent.data1.point;
_parent.gotoAndStop("gameover");
} else if (_parent.life == 2) {
trace("hai 1");
_parent.data1.l2._alpha = _parent.data1.l2._alpha - 10;
if (_parent.data1.l2._alpha <= 0) {
_parent.data1.l2._alpha = 0;
}
} else if (_parent.life == 3) {
trace("hai 2");
_parent.data1.l3._alpha = _parent.data1.l3._alpha - 10;
if (_parent.data1.l3._alpha <= 0) {
_parent.data1.l3._alpha = 0;
}
}
}
Instance of Symbol 221 MovieClip "data1" in Frame 5
onClipEvent (load) {
this.onEnterFrame = function () {
var _local1 = _parent;
var _local2 = this;
myTime = getTimer() - _local1.loadTime;
mins = Math.floor(myTime / 60000);
secs = Math.floor(myTime / 1000) % 60;
tenthSecs = Math.floor(myTime / 100) % 10;
tenthSecs2 = Math.floor(myTime / 10) % 10;
tenthSecs3 = Math.floor(myTime / 1) % 10;
if (secs.toString().length == 1) {
secs = "0" + secs;
}
if (mins.toString().length == 1) {
mins = "0" + mins;
}
_local2.times = (((((mins + ":") + secs) + ":") + tenthSecs) + tenthSecs2) + tenthSecs3;
if (mins >= 1) {
_local1.score = _local2.point;
tenthSecs = (tenthSecs2 = (tenthSecs3 = 0));
_local2.times = (((((mins + ":") + secs) + ":") + tenthSecs) + tenthSecs2) + tenthSecs3;
_local1.gotoAndStop("gameover");
delete onEnterFrame;
}
};
}
Frame 6
scoreText = "Your score : " + score;
trace(score);
Frame 7
leaderBoard(1);
Frame 8
updateToZapak(score);
Symbol 59 MovieClip Frame 11
stop();
Symbol 63 MovieClip Frame 1
stop();
Symbol 63 MovieClip Frame 100
stop();
_parent.play();
Symbol 75 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 100
stop();
Symbol 91 Button
on (release) {
startGame();
gotoAndPlay ("main");
}
Symbol 94 MovieClip Frame 1
instructions.autoSize = true;
bg._height = instructions._height;
Symbol 99 Button
on (press) {
topScrlPress = true;
pressed = 1;
}
on (release, releaseOutside) {
topScrlPress = false;
pressed = 0;
}
Symbol 101 Button
on (press) {
botScrlPress = true;
pressed = 1;
}
on (release, releaseOutside) {
botScrlPress = false;
pressed = 0;
}
Symbol 123 MovieClip Frame 25
stop();
Symbol 124 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 2
_root.soundclip.gotoAndPlay(2);
stop();
Symbol 135 MovieClip Frame 25
stop();
Symbol 136 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 2
_root.soundclip.gotoAndPlay(2);
stop();
Symbol 143 MovieClip Frame 25
stop();
Symbol 144 MovieClip Frame 1
stop();
Symbol 144 MovieClip Frame 2
_root.soundclip.gotoAndPlay(2);
stop();
Instance of Symbol 124 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
i = 1;
hit = false;
s3 = new Sound();
s3.attachSound("blink");
}
onClipEvent (enterFrame) {
if (_root.man.hitTest(this) and (hit == false)) {
hit = true;
this.enabled = false;
this.play();
_root.p3++;
s3.start(0, 1);
}
if (hit == true) {
this.gotoAndStop(2);
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
}
}
}
Instance of Symbol 124 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
i = 1;
hit = false;
s3 = new Sound();
s3.attachSound("blink");
}
onClipEvent (enterFrame) {
if (_root.man.hitTest(this) and (hit == false)) {
hit = true;
this.enabled = false;
this.play();
_root.p3++;
s3.start(0, 1);
}
if (hit == true) {
this.gotoAndStop(2);
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
}
}
}
Instance of Symbol 124 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
i = 1;
hit = false;
s3 = new Sound();
s3.attachSound("blink");
}
onClipEvent (enterFrame) {
if (_root.man.hitTest(this) and (hit == false)) {
hit = true;
this.enabled = false;
this.play();
_root.p3++;
s3.start(0, 1);
}
if (hit == true) {
this.gotoAndStop(2);
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
}
}
}
Instance of Symbol 126 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_parent._parent.man.jump_mc.obj_mc.hit_mc)) {
if (_parent._parent.pointsvar >= 125) {
_parent._parent.gotoAndStop("gameover");
} else {
_parent._parent.jesus.gotoAndStop("me2");
}
}
}
Instance of Symbol 124 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
i = 1;
hit = false;
s3 = new Sound();
s3.attachSound("blink");
}
onClipEvent (enterFrame) {
if (_root.man.hitTest(this) and (hit == false)) {
hit = true;
this.enabled = false;
this.play();
_root.p3++;
s3.start(0, 1);
}
if (hit == true) {
this.gotoAndStop(2);
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
}
}
}
Instance of Symbol 127 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
localToGlobal(point);
updateAfterEvent();
truex = point.x;
truey = point.y;
if (this.hitTest(_root.man.jump_mc.obj_mc.hit_mc)) {
if (_root.h == true) {
trace(_root.bg_mc._y);
trace(_root.path_mc._y);
_root.man._y = truey;
_root.man.jump_mc.gotoAndStop(1);
_root.h = false;
_root.floor1 = 1;
}
}
}
Instance of Symbol 126 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.man.jump_mc.obj_mc.hit_mc)) {
if (_root.floor1 == 1) {
_root.man._y = 339.7;
_root.goback1 = 1;
_root.floor1 = 0;
}
}
}
Instance of Symbol 126 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.man.jump_mc.obj_mc.hit_mc)) {
if (_root.floor1 == 1) {
_root.man._y = 339.7;
_root.goback1 = 1;
_root.floor1 = 0;
}
}
}
Instance of Symbol 136 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
i = 1;
hit = false;
s1 = new Sound();
s1.attachSound("blink");
}
onClipEvent (enterFrame) {
if (_parent._parent.man.jump_mc.obj_mc.head_mc.hitTest(this) and (hit == false)) {
hit = true;
this.enabled = false;
_parent._parent.p1++;
s1.start(0, 1);
}
if (hit == true) {
this.gotoAndStop(2);
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
}
}
}
Instance of Symbol 136 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
i = 1;
hit = false;
s1 = new Sound();
s1.attachSound("blink");
}
onClipEvent (enterFrame) {
if (_parent._parent.man.jump_mc.obj_mc.head_mc.hitTest(this) and (hit == false)) {
hit = true;
this.enabled = false;
_parent._parent.p1++;
s1.start(0, 1);
}
if (hit == true) {
this.gotoAndStop(2);
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
}
}
}
Instance of Symbol 136 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
i = 1;
hit = false;
s1 = new Sound();
s1.attachSound("blink");
}
onClipEvent (enterFrame) {
if (_parent._parent.man.jump_mc.obj_mc.head_mc.hitTest(this) and (hit == false)) {
hit = true;
this.enabled = false;
_parent._parent.p1++;
s1.start(0, 1);
}
if (hit == true) {
this.gotoAndStop(2);
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
}
}
}
Instance of Symbol 136 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
i = 1;
hit = false;
s1 = new Sound();
s1.attachSound("blink");
}
onClipEvent (enterFrame) {
if (_parent._parent.man.jump_mc.obj_mc.head_mc.hitTest(this) and (hit == false)) {
hit = true;
this.enabled = false;
_parent._parent.p1++;
s1.start(0, 1);
}
if (hit == true) {
this.gotoAndStop(2);
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
}
}
}
Instance of Symbol 136 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
i = 1;
hit = false;
s1 = new Sound();
s1.attachSound("blink");
}
onClipEvent (enterFrame) {
if (_parent._parent.man.jump_mc.obj_mc.head_mc.hitTest(this) and (hit == false)) {
hit = true;
this.enabled = false;
_parent._parent.p1++;
s1.start(0, 1);
}
if (hit == true) {
this.gotoAndStop(2);
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
}
}
}
Instance of Symbol 136 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
i = 1;
hit = false;
s1 = new Sound();
s1.attachSound("blink");
}
onClipEvent (enterFrame) {
if (_parent._parent.man.jump_mc.obj_mc.head_mc.hitTest(this) and (hit == false)) {
hit = true;
this.enabled = false;
_parent._parent.p1++;
s1.start(0, 1);
}
if (hit == true) {
this.gotoAndStop(2);
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
}
}
}
Instance of Symbol 126 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.man.jump_mc.obj_mc.hit_mc)) {
if (_root.h == true) {
_root.man.jump_mc.gotoAndStop(1);
_root.man._y = this._y;
_root.h = false;
}
_root.manmove = 5;
_root.pathmove = 14;
_root.bgmove = 9;
}
}
Instance of Symbol 126 MovieClip "con2L" in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.man.jump_mc.obj_mc.fhit_mc)) {
_root.path_mc._x = _root.path_mc._x + 15;
_root.manmove = 0;
_root.bgmove = 0;
}
if (this.hitTest(_root.man.jump_mc.obj_mc.bhit_mc)) {
_root.path_mc._x = _root.path_mc._x + 10;
}
}
Instance of Symbol 126 MovieClip "con2R" in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.man.jump_mc.obj_mc.fhit_mc)) {
_root.path_mc._x = _root.path_mc._x - 15;
_root.manmove = 0;
_root.bgmove = 0;
}
if (this.hitTest(_root.man.jump_mc.obj_mc.bhit_mc)) {
_root.path_mc._x = _root.path_mc._x - 10;
}
}
Instance of Symbol 126 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.man.jump_mc.obj_mc.hit_mc)) {
_root.man._y = _parent.l1_mc._y;
_root.manmove = 2;
_root.pathmove = 15;
_root.bgmove = 6;
}
}
Instance of Symbol 126 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.man.jump_mc.obj_mc.hit_mc)) {
_root.manmove = 2;
_root.pathmove = 15;
_root.bgmove = 6;
}
}
Instance of Symbol 126 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.man.jump_mc.obj_mc.hit_mc)) {
_root.man._y = _parent.l1_mc._y;
_root.manmove = 2;
_root.pathmove = 15;
_root.bgmove = 6;
}
}
Instance of Symbol 126 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.man.jump_mc.obj_mc.hit_mc)) {
_root.man._y = _parent.l2_mc._y;
}
}
Instance of Symbol 126 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.man.jump_mc.obj_mc.hit_mc)) {
_root.manmove = 2;
_root.pathmove = 15;
_root.bgmove = 6;
}
}
Instance of Symbol 127 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
localToGlobal(point);
updateAfterEvent();
truex = point.x;
truey = point.y;
if (this.hitTest(_root.man.jump_mc.obj_mc.hit_mc)) {
if (_root.h == true) {
trace(_root.bg_mc._y);
trace(_root.path_mc._y);
_root.man._y = truey;
_root.man.jump_mc.gotoAndStop(1);
_root.h = false;
_root.floor1 = 1;
}
}
}
Instance of Symbol 126 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.man.jump_mc.obj_mc.hit_mc)) {
if (_root.floor1 == 1) {
_root.man._y = 339.7;
_root.goback1 = 1;
_root.floor1 = 0;
}
}
}
Instance of Symbol 126 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.man.jump_mc.obj_mc.hit_mc)) {
if (_root.floor1 == 1) {
_root.man._y = 339.7;
_root.goback1 = 1;
_root.floor1 = 0;
}
}
}
Instance of Symbol 127 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
localToGlobal(point);
updateAfterEvent();
truex = point.x;
truey = point.y;
if (this.hitTest(_root.man.jump_mc.obj_mc.hit_mc)) {
if (_root.h == true) {
trace(_root.bg_mc._y);
trace(_root.path_mc._y);
_root.man._y = truey;
_root.man.jump_mc.gotoAndStop(1);
_root.h = false;
_root.floor1 = 1;
}
}
}
Instance of Symbol 126 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.man.jump_mc.obj_mc.hit_mc)) {
if (_root.floor1 == 1) {
_root.man._y = 339.7;
_root.goback1 = 1;
_root.floor1 = 0;
}
}
}
Instance of Symbol 126 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.man.jump_mc.obj_mc.hit_mc)) {
if (_root.floor1 == 1) {
_root.man._y = 339.7;
_root.goback1 = 1;
_root.floor1 = 0;
}
}
}
Instance of Symbol 138 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
side = "";
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_parent.localToGlobal(point);
updateAfterEvent();
assignxR = point.x;
assignyR = point.y;
if (this.hitTest(_parent._parent.man.jump_mc.obj_mc.hit_mc)) {
if (_parent._parent.man._x < point.x) {
side = "left";
} else if (_parent._parent.man._x > point.x) {
side = "right";
}
hit = true;
}
if ((hit == true) and (alp == false)) {
_parent._parent.man._x = point.x;
_parent._parent.man.gotoAndStop(2);
_parent._parent.man.jump_mc._alpha = _parent._parent.man.jump_mc._alpha - 10;
_parent._parent.manmove = 0;
_parent._parent.pathmove = 0;
_parent._parent.bgmove = 0;
if (_parent._parent.man.slip.alpha <= -50) {
alp = true;
_parent._parent.life--;
}
}
if (alp == true) {
_parent._parent.man.gotoAndStop(1);
if (side == "right") {
_parent._parent.man._x = _parent._parent.man._x + 120;
side = "";
} else if (side == "left") {
_parent._parent.man._x = _parent._parent.man._x + 120;
side = "";
}
_parent._parent.man._alpha = _parent._parent.man._alpha + 2;
if (_parent._parent.man._alpha > 10) {
_parent._parent.manmove = 2;
_parent._parent.pathmove = 15;
_parent._parent.bgmove = 8;
hit = false;
}
if (_parent._parent.man._alpha > 100) {
alp = false;
}
}
}
onClipEvent (load) {
hit = false;
alp = false;
life = false;
}
Instance of Symbol 138 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
side = "";
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_parent.localToGlobal(point);
updateAfterEvent();
assignxR = point.x;
assignyR = point.y;
if (this.hitTest(_parent._parent.man.jump_mc.obj_mc.hit_mc)) {
if (_parent._parent.man._x < point.x) {
side = "left";
} else if (_parent._parent.man._x > point.x) {
side = "right";
}
hit = true;
}
if ((hit == true) and (alp == false)) {
_parent._parent.man._x = point.x;
_parent._parent.man.gotoAndStop(2);
_parent._parent.man.jump_mc._alpha = _parent._parent.man.jump_mc._alpha - 10;
_parent._parent.manmove = 0;
_parent._parent.pathmove = 0;
_parent._parent.bgmove = 0;
if (_parent._parent.man.slip.alpha <= -50) {
alp = true;
_parent._parent.life--;
}
}
if (alp == true) {
_parent._parent.man.gotoAndStop(1);
if (side == "right") {
_parent._parent.man._x = _parent._parent.man._x + 120;
side = "";
} else if (side == "left") {
_parent._parent.man._x = _parent._parent.man._x + 120;
side = "";
}
_parent._parent.man._alpha = _parent._parent.man._alpha + 2;
if (_parent._parent.man._alpha > 10) {
_parent._parent.manmove = 2;
_parent._parent.pathmove = 15;
_parent._parent.bgmove = 8;
hit = false;
}
if (_parent._parent.man._alpha > 100) {
alp = false;
}
}
}
onClipEvent (load) {
hit = false;
alp = false;
life = false;
}
Instance of Symbol 138 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
side = "";
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_parent.localToGlobal(point);
updateAfterEvent();
assignxR = point.x;
assignyR = point.y;
if (this.hitTest(_parent._parent.man.jump_mc.obj_mc.hit_mc)) {
if (_parent._parent.man._x < point.x) {
side = "left";
} else if (_parent._parent.man._x > point.x) {
side = "right";
}
hit = true;
}
if ((hit == true) and (alp == false)) {
_parent._parent.man._x = point.x;
_parent._parent.man.gotoAndStop(2);
_parent._parent.man.jump_mc._alpha = _parent._parent.man.jump_mc._alpha - 10;
_parent._parent.manmove = 0;
_parent._parent.pathmove = 0;
_parent._parent.bgmove = 0;
if (_parent._parent.man.slip.alpha <= -50) {
alp = true;
_parent._parent.life--;
}
}
if (alp == true) {
_parent._parent.man.gotoAndStop(1);
if (side == "right") {
_parent._parent.man._x = _parent._parent.man._x + 120;
side = "";
} else if (side == "left") {
_parent._parent.man._x = _parent._parent.man._x + 120;
side = "";
}
_parent._parent.man._alpha = _parent._parent.man._alpha + 2;
if (_parent._parent.man._alpha > 10) {
_parent._parent.manmove = 2;
_parent._parent.pathmove = 15;
_parent._parent.bgmove = 8;
hit = false;
}
if (_parent._parent.man._alpha > 100) {
alp = false;
}
}
}
onClipEvent (load) {
hit = false;
alp = false;
life = false;
}
Instance of Symbol 127 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
localToGlobal(point);
updateAfterEvent();
truex = point.x;
truey = point.y;
if (this.hitTest(_root.man.jump_mc.obj_mc.hit_mc)) {
if (_root.h == true) {
trace(_root.bg_mc._y);
trace(_root.path_mc._y);
_root.man._y = truey;
_root.man.jump_mc.gotoAndStop(1);
_root.h = false;
_root.floor1 = 1;
}
}
}
Instance of Symbol 126 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.man.jump_mc.obj_mc.hit_mc)) {
if (_root.floor1 == 1) {
_root.man._y = 339.7;
_root.goback1 = 1;
_root.floor1 = 0;
}
}
}
Instance of Symbol 126 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.man.jump_mc.obj_mc.hit_mc)) {
if (_root.floor1 == 1) {
_root.man._y = 339.7;
_root.goback1 = 1;
_root.floor1 = 0;
}
}
}
Instance of Symbol 138 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
side = "";
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_parent.localToGlobal(point);
updateAfterEvent();
assignxR = point.x;
assignyR = point.y;
if (this.hitTest(_parent._parent.man.jump_mc.obj_mc.hit_mc)) {
if (_parent._parent.man._x < point.x) {
side = "left";
} else if (_parent._parent.man._x > point.x) {
side = "right";
}
hit = true;
}
if ((hit == true) and (alp == false)) {
_parent._parent.man._x = point.x;
_parent._parent.man.gotoAndStop(2);
_parent._parent.man.jump_mc._alpha = _parent._parent.man.jump_mc._alpha - 10;
_parent._parent.manmove = 0;
_parent._parent.pathmove = 0;
_parent._parent.bgmove = 0;
if (_parent._parent.man.slip.alpha <= -50) {
alp = true;
_parent._parent.life--;
}
}
if (alp == true) {
_parent._parent.man.gotoAndStop(1);
if (side == "right") {
_parent._parent.man._x = _parent._parent.man._x + 120;
side = "";
} else if (side == "left") {
_parent._parent.man._x = _parent._parent.man._x + 120;
side = "";
}
_parent._parent.man._alpha = _parent._parent.man._alpha + 2;
if (_parent._parent.man._alpha > 10) {
_parent._parent.manmove = 2;
_parent._parent.pathmove = 15;
_parent._parent.bgmove = 8;
hit = false;
}
if (_parent._parent.man._alpha > 100) {
alp = false;
}
}
}
onClipEvent (load) {
hit = false;
alp = false;
life = false;
}
Instance of Symbol 138 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
side = "";
}
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
_parent.localToGlobal(point);
updateAfterEvent();
assignxR = point.x;
assignyR = point.y;
if (this.hitTest(_parent._parent.man.jump_mc.obj_mc.hit_mc)) {
if (_parent._parent.man._x < point.x) {
side = "left";
} else if (_parent._parent.man._x > point.x) {
side = "right";
}
hit = true;
}
if ((hit == true) and (alp == false)) {
_parent._parent.man._x = point.x;
_parent._parent.man.gotoAndStop(2);
_parent._parent.man.jump_mc._alpha = _parent._parent.man.jump_mc._alpha - 10;
_parent._parent.manmove = 0;
_parent._parent.pathmove = 0;
_parent._parent.bgmove = 0;
if (_parent._parent.man.slip.alpha <= -50) {
alp = true;
_parent._parent.life--;
}
}
if (alp == true) {
_parent._parent.man.gotoAndStop(1);
if (side == "right") {
_parent._parent.man._x = _parent._parent.man._x + 120;
side = "";
} else if (side == "left") {
_parent._parent.man._x = _parent._parent.man._x + 120;
side = "";
}
_parent._parent.man._alpha = _parent._parent.man._alpha + 2;
if (_parent._parent.man._alpha > 10) {
_parent._parent.manmove = 2;
_parent._parent.pathmove = 15;
_parent._parent.bgmove = 8;
hit = false;
}
if (_parent._parent.man._alpha > 100) {
alp = false;
}
}
}
onClipEvent (load) {
hit = false;
alp = false;
life = false;
}
Instance of Symbol 136 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
i = 1;
hit = false;
s1 = new Sound();
s1.attachSound("blink");
}
onClipEvent (enterFrame) {
if (_parent._parent.man.jump_mc.obj_mc.head_mc.hitTest(this) and (hit == false)) {
hit = true;
this.enabled = false;
_parent._parent.p1++;
s1.start(0, 1);
}
if (hit == true) {
this.gotoAndStop(2);
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
}
}
}
Instance of Symbol 136 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
i = 1;
hit = false;
s1 = new Sound();
s1.attachSound("blink");
}
onClipEvent (enterFrame) {
if (_parent._parent.man.jump_mc.obj_mc.head_mc.hitTest(this) and (hit == false)) {
hit = true;
this.enabled = false;
_parent._parent.p1++;
s1.start(0, 1);
}
if (hit == true) {
this.gotoAndStop(2);
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
}
}
}
Instance of Symbol 136 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
i = 1;
hit = false;
s1 = new Sound();
s1.attachSound("blink");
}
onClipEvent (enterFrame) {
if (_parent._parent.man.jump_mc.obj_mc.head_mc.hitTest(this) and (hit == false)) {
hit = true;
this.enabled = false;
_parent._parent.p1++;
s1.start(0, 1);
}
if (hit == true) {
this.gotoAndStop(2);
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
}
}
}
Instance of Symbol 136 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
i = 1;
hit = false;
s1 = new Sound();
s1.attachSound("blink");
}
onClipEvent (enterFrame) {
if (_parent._parent.man.jump_mc.obj_mc.head_mc.hitTest(this) and (hit == false)) {
hit = true;
this.enabled = false;
_parent._parent.p1++;
s1.start(0, 1);
}
if (hit == true) {
this.gotoAndStop(2);
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
}
}
}
Instance of Symbol 136 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
i = 1;
hit = false;
s1 = new Sound();
s1.attachSound("blink");
}
onClipEvent (enterFrame) {
if (_parent._parent.man.jump_mc.obj_mc.head_mc.hitTest(this) and (hit == false)) {
hit = true;
this.enabled = false;
_parent._parent.p1++;
s1.start(0, 1);
}
if (hit == true) {
this.gotoAndStop(2);
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
}
}
}
Instance of Symbol 136 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
i = 1;
hit = false;
s1 = new Sound();
s1.attachSound("blink");
}
onClipEvent (enterFrame) {
if (_parent._parent.man.jump_mc.obj_mc.head_mc.hitTest(this) and (hit == false)) {
hit = true;
this.enabled = false;
_parent._parent.p1++;
s1.start(0, 1);
}
if (hit == true) {
this.gotoAndStop(2);
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
}
}
}
Instance of Symbol 144 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
i = 1;
hit = false;
s2 = new Sound();
s2.attachSound("blink");
}
onClipEvent (enterFrame) {
if (_root.man.jump_mc.obj_mc.head_mc.hitTest(this) and (hit == false)) {
hit = true;
this.enabled = false;
_root.p2++;
s2.start(0, 1);
}
if (hit == true) {
this.gotoAndStop(2);
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
}
}
}
Instance of Symbol 144 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
i = 1;
hit = false;
s2 = new Sound();
s2.attachSound("blink");
}
onClipEvent (enterFrame) {
if (_root.man.jump_mc.obj_mc.head_mc.hitTest(this) and (hit == false)) {
hit = true;
this.enabled = false;
_root.p2++;
s2.start(0, 1);
}
if (hit == true) {
this.gotoAndStop(2);
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
}
}
}
Instance of Symbol 144 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
i = 1;
hit = false;
s2 = new Sound();
s2.attachSound("blink");
}
onClipEvent (enterFrame) {
if (_root.man.jump_mc.obj_mc.head_mc.hitTest(this) and (hit == false)) {
hit = true;
this.enabled = false;
_root.p2++;
s2.start(0, 1);
}
if (hit == true) {
this.gotoAndStop(2);
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
}
}
}
Instance of Symbol 144 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
i = 1;
hit = false;
s2 = new Sound();
s2.attachSound("blink");
}
onClipEvent (enterFrame) {
if (_root.man.jump_mc.obj_mc.head_mc.hitTest(this) and (hit == false)) {
hit = true;
this.enabled = false;
_root.p2++;
s2.start(0, 1);
}
if (hit == true) {
this.gotoAndStop(2);
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
}
}
}
Instance of Symbol 144 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
i = 1;
hit = false;
s2 = new Sound();
s2.attachSound("blink");
}
onClipEvent (enterFrame) {
if (_root.man.jump_mc.obj_mc.head_mc.hitTest(this) and (hit == false)) {
hit = true;
this.enabled = false;
_root.p2++;
s2.start(0, 1);
}
if (hit == true) {
this.gotoAndStop(2);
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
}
}
}
Instance of Symbol 136 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
i = 1;
hit = false;
s1 = new Sound();
s1.attachSound("blink");
}
onClipEvent (enterFrame) {
if (_parent._parent.man.jump_mc.obj_mc.head_mc.hitTest(this) and (hit == false)) {
hit = true;
this.enabled = false;
_parent._parent.p1++;
s1.start(0, 1);
}
if (hit == true) {
this.gotoAndStop(2);
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
}
}
}
Instance of Symbol 136 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
i = 1;
hit = false;
s1 = new Sound();
s1.attachSound("blink");
}
onClipEvent (enterFrame) {
if (_parent._parent.man.jump_mc.obj_mc.head_mc.hitTest(this) and (hit == false)) {
hit = true;
this.enabled = false;
_parent._parent.p1++;
s1.start(0, 1);
}
if (hit == true) {
this.gotoAndStop(2);
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
}
}
}
Instance of Symbol 136 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
i = 1;
hit = false;
s1 = new Sound();
s1.attachSound("blink");
}
onClipEvent (enterFrame) {
if (_parent._parent.man.jump_mc.obj_mc.head_mc.hitTest(this) and (hit == false)) {
hit = true;
this.enabled = false;
_parent._parent.p1++;
s1.start(0, 1);
}
if (hit == true) {
this.gotoAndStop(2);
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
}
}
}
Instance of Symbol 144 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
i = 1;
hit = false;
s2 = new Sound();
s2.attachSound("blink");
}
onClipEvent (enterFrame) {
if (_root.man.jump_mc.obj_mc.head_mc.hitTest(this) and (hit == false)) {
hit = true;
this.enabled = false;
_root.p2++;
s2.start(0, 1);
}
if (hit == true) {
this.gotoAndStop(2);
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
}
}
}
Instance of Symbol 144 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
i = 1;
hit = false;
s2 = new Sound();
s2.attachSound("blink");
}
onClipEvent (enterFrame) {
if (_root.man.jump_mc.obj_mc.head_mc.hitTest(this) and (hit == false)) {
hit = true;
this.enabled = false;
_root.p2++;
s2.start(0, 1);
}
if (hit == true) {
this.gotoAndStop(2);
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
}
}
}
Instance of Symbol 144 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
i = 1;
hit = false;
s2 = new Sound();
s2.attachSound("blink");
}
onClipEvent (enterFrame) {
if (_root.man.jump_mc.obj_mc.head_mc.hitTest(this) and (hit == false)) {
hit = true;
this.enabled = false;
_root.p2++;
s2.start(0, 1);
}
if (hit == true) {
this.gotoAndStop(2);
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
}
}
}
Instance of Symbol 144 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
i = 1;
hit = false;
s2 = new Sound();
s2.attachSound("blink");
}
onClipEvent (enterFrame) {
if (_root.man.jump_mc.obj_mc.head_mc.hitTest(this) and (hit == false)) {
hit = true;
this.enabled = false;
_root.p2++;
s2.start(0, 1);
}
if (hit == true) {
this.gotoAndStop(2);
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
}
}
}
Instance of Symbol 144 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
i = 1;
hit = false;
s2 = new Sound();
s2.attachSound("blink");
}
onClipEvent (enterFrame) {
if (_root.man.jump_mc.obj_mc.head_mc.hitTest(this) and (hit == false)) {
hit = true;
this.enabled = false;
_root.p2++;
s2.start(0, 1);
}
if (hit == true) {
this.gotoAndStop(2);
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
}
}
}
Instance of Symbol 127 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
point = new Object();
point.x = this._x;
point.y = this._y;
localToGlobal(point);
updateAfterEvent();
truex = point.x;
truey = point.y;
if (this.hitTest(_root.man.jump_mc.obj_mc.hit_mc)) {
if (_root.h == true) {
trace(_root.bg_mc._y);
trace(_root.path_mc._y);
_root.man._y = truey;
_root.man.jump_mc.gotoAndStop(1);
_root.h = false;
_root.floor1 = 1;
}
}
}
Instance of Symbol 126 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.man.jump_mc.obj_mc.hit_mc)) {
if (_root.floor1 == 1) {
_root.man._y = 339.7;
_root.goback1 = 1;
_root.floor1 = 0;
}
}
}
Instance of Symbol 126 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.man.jump_mc.obj_mc.hit_mc)) {
if (_root.floor1 == 1) {
_root.man._y = 339.7;
_root.goback1 = 1;
_root.floor1 = 0;
}
}
}
Instance of Symbol 144 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
i = 1;
hit = false;
s2 = new Sound();
s2.attachSound("blink");
}
onClipEvent (enterFrame) {
if (_root.man.jump_mc.obj_mc.head_mc.hitTest(this) and (hit == false)) {
hit = true;
this.enabled = false;
_root.p2++;
s2.start(0, 1);
}
if (hit == true) {
this.gotoAndStop(2);
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
}
}
}
Instance of Symbol 126 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.man.jump_mc.obj_mc.hit_mc)) {
if (_root.h == true) {
_root.man.jump_mc.gotoAndStop(1);
_root.man._y = this._y;
_root.h = false;
}
_root.manmove = 5;
_root.pathmove = 14;
_root.bgmove = 9;
}
}
Instance of Symbol 126 MovieClip "con1L" in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.man.jump_mc.obj_mc.fhit_mc)) {
_root.path_mc._x = _root.path_mc._x + 15;
_root.manmove = 0;
_root.bgmove = 0;
}
if (this.hitTest(_root.man.jump_mc.obj_mc.bhit_mc)) {
_root.path_mc._x = _root.path_mc._x + 10;
}
}
Instance of Symbol 126 MovieClip "con1Rw" in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.man.jump_mc.obj_mc.fhit_mc)) {
_root.path_mc._x = _root.path_mc._x - 15;
_root.manmove = 0;
_root.bgmove = 0;
}
if (this.hitTest(_root.man.jump_mc.obj_mc.bhit_mc)) {
_root.path_mc._x = _root.path_mc._x - 10;
_root.bg_mc._x = _root.bg_mc._x - 10;
}
}
Instance of Symbol 126 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.man.jump_mc.obj_mc.hit_mc)) {
_root.man._y = _parent.l1_mc._y;
_root.manmove = 2;
_root.pathmove = 15;
_root.bgmove = 6;
}
}
Instance of Symbol 126 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.man.jump_mc.obj_mc.hit_mc)) {
_root.manmove = 2;
_root.pathmove = 15;
_root.bgmove = 6;
}
}
Instance of Symbol 126 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.man.jump_mc.obj_mc.hit_mc)) {
_root.man._y = _parent.l1_mc._y;
_root.manmove = 2;
_root.pathmove = 15;
_root.bgmove = 6;
}
}
Instance of Symbol 126 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.man.jump_mc.obj_mc.hit_mc)) {
_root.man._y = _parent.l2_mc._y;
}
}
Instance of Symbol 126 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.man.jump_mc.obj_mc.hit_mc)) {
_root.manmove = 2;
_root.pathmove = 15;
_root.bgmove = 6;
}
}
Symbol 153 MovieClip Frame 1
pointsText = "Your Points : " + _parent._parent._parent.score;
Symbol 156 MovieClip Frame 37
trace(_parent._parent.gotoAndStop("gameover"));
_parent._parent.gotoAndStop("gameover");
Symbol 156 MovieClip Frame 72
stop();
Symbol 159 MovieClip Frame 83
stop();
Symbol 160 MovieClip Frame 1
stop();
Symbol 160 MovieClip Frame 2
stop();
pointsCollected = 0;
trace("_parent.data1.tenthSecs3 = " + _parent.data1.tenthSecs3);
_parent.score = Math.floor(Number(120000 - _parent.data1.myTime) / 3000) + _parent.data1.tenthSecs3;
_parent.data1.timer._visible = false;
trace("_parent.score = " + _parent.score);
pointsCollected = Number(_parent.data1.point);
trace("pointsCollected = " + pointsCollected);
_parent.score = _parent.score + pointsCollected;
trace("_parent.score = " + _parent.score);
trace("---------------");
Symbol 160 MovieClip Frame 3
stop();
Symbol 174 MovieClip Frame 1
stop();
Symbol 202 MovieClip Frame 1
stop();
_root.jump = false;
_root.h = false;
Symbol 202 MovieClip Frame 3
play();
_root.jump = true;
if ((_root.h == false) && (_root.bgplus == false)) {
_root.bg_mc._y = _root.bg_mc._y + 5;
_root.path_mc._y = _root.path_mc._y + 5;
}
Symbol 202 MovieClip Frame 4
if ((_root.h == false) && (_root.bgplus == false)) {
_root.bg_mc._y = _root.bg_mc._y + 5;
_root.path_mc._y = _root.path_mc._y + 5;
}
Symbol 202 MovieClip Frame 5
if ((_root.h == false) && (_root.bgplus == false)) {
_root.bg_mc._y = _root.bg_mc._y + 5;
_root.path_mc._y = _root.path_mc._y + 5;
trace(_root.bg_mc._y);
trace(_root.path_mc._y);
_root.h = true;
}
Symbol 202 MovieClip Frame 11
_root.h = true;
if ((_root.h == true) && (_root.bgplus == false)) {
_root.bg_mc._y = _root.bg_mc._y - 5;
_root.path_mc._y = _root.path_mc._y - 5;
}
Symbol 202 MovieClip Frame 12
if ((_root.h == true) && (_root.bgplus == false)) {
_root.bg_mc._y = _root.bg_mc._y - 5;
_root.path_mc._y = _root.path_mc._y - 5;
}
Symbol 202 MovieClip Frame 13
if ((_root.h == true) && (_root.bgplus == false)) {
_root.bg_mc._y = _root.bg_mc._y - 5;
_root.path_mc._y = _root.path_mc._y - 5;
}
Symbol 210 MovieClip Frame 19
alpha = -50;
Symbol 210 MovieClip Frame 50
gotoAndStop (1);
Symbol 211 MovieClip Frame 1
stop();
Symbol 211 MovieClip Frame 2
stop();
down = new Sound();
down.attachSound("fall");
down.start(0, 1);
Symbol 229 Button
on (release) {
l1.stop();
startGame();
gotoAndPlay ("main");
}
Symbol 234 Button
on (release) {
gotoAndStop ("GetBestScores");
}
Symbol 248 MovieClip Frame 19
gotoAndPlay (2);
Symbol 249 MovieClip Frame 1
stop();
Symbol 249 MovieClip Frame 2
depth = 100;
yInc = 0;
if (_parent._parent.playerName.length >= 10) {
myvar = 10;
} else {
myvar = _parent._parent.playerName.length - 1;
}
var i = 1;
while (i <= myvar) {
nameClip.duplicateMovieClip("nameClip" + i, depth + i, {_x:0, _y:yInc});
this["nameClip" + i].sno.text = i;
this["nameClip" + i].uname.text = _parent._parent.playerName[i];
this["nameClip" + i].scores.text = _parent._parent.playerScore[i];
yInc = this["nameClip" + i]._y + this["nameClip" + i]._height;
i++;
}
_parent.blockBt._visible = false;
Symbol 251 Button
on (release) {
_parent.leaderBoard(1);
gotoAndStop (1);
blockBt._visible = true;
}
Symbol 252 Button
on (release) {
_parent.leaderBoard(2);
gotoAndStop (2);
blockBt._visible = true;
}
Symbol 253 Button
on (release) {
_parent.leaderBoard(3);
gotoAndStop (3);
blockBt._visible = true;
}
Symbol 254 Button
on (release) {
_parent.leaderBoard(4);
gotoAndStop (4);
blockBt._visible = true;
}
Symbol 264 MovieClip Frame 19
gotoAndPlay (2);
Symbol 267 MovieClip Frame 1
stop();
Symbol 267 MovieClip Frame 2
stop();
depth = 100;
yInc = 0;
userRank = 0;
lastUserPos = 0;
lowerFifty = false;
greaterFifty = false;
var i = 1;
while (i < _parent._parent.playerName.length) {
if (_parent._parent.userId == _parent._parent.playerId[i]) {
userRank = i;
_parent.textVar = userRank;
}
i++;
}
lastUserPos = _parent._parent.playerName.length - 1;
if (userRank > 5) {
var j = (userRank - 4);
while (j <= userRank) {
nameClip.duplicateMovieClip("nameClip" + j, depth + j, {_x:0, _y:yInc});
this["nameClip" + j].sno.text = j;
this["nameClip" + j].uname.text = _parent._parent.playerName[j];
this["nameClip" + j].scores.text = _parent._parent.playerScore[j];
_parent.er = _parent._parent.playerName.length;
yInc = this["nameClip" + j]._y + this["nameClip" + j]._height;
if (j == userRank) {
highLight.swapDepths(100);
highLight._x = this["nameClip" + j]._x;
highLight._y = this["nameClip" + j]._y;
}
j++;
}
_parent.textVar = _parent.textVar + " first";
} else {
var j = 1;
while (j <= userRank) {
nameClip.duplicateMovieClip("nameClip" + j, depth + j, {_x:0, _y:yInc});
this["nameClip" + j].sno.text = j;
this["nameClip" + j].uname.text = _parent._parent.playerName[j];
this["nameClip" + j].scores.text = _parent._parent.playerScore[j];
_parent.er = _parent._parent.playerName.length;
yInc = this["nameClip" + j]._y + this["nameClip" + j]._height;
if (j == userRank) {
highLight.swapDepths(100);
highLight._x = this["nameClip" + j]._x;
highLight._y = this["nameClip" + j]._y;
}
j++;
}
_parent.textVar = (_parent.textVar + " second ") + userRank;
}
if (lastUserPos > (userRank + 5)) {
var j = (userRank + 1);
while (j <= (userRank + 5)) {
nameClip.duplicateMovieClip("nameClip" + j, depth + j, {_x:0, _y:yInc});
this["nameClip" + j].sno.text = j;
this["nameClip" + j].uname.text = _parent._parent.playerName[j];
this["nameClip" + j].scores.text = _parent._parent.playerScore[j];
_parent.er = _parent._parent.playerName.length;
yInc = this["nameClip" + j]._y + this["nameClip" + j]._height;
j++;
}
_parent.textVar = _parent.textVar + " first";
} else {
var j = (userRank + 1);
while (j <= lastUserPos) {
nameClip.duplicateMovieClip("nameClip" + j, depth + j, {_x:0, _y:yInc});
this["nameClip" + j].sno.text = j;
this["nameClip" + j].uname.text = _parent._parent.playerName[j];
this["nameClip" + j].scores.text = _parent._parent.playerScore[j];
_parent.er = _parent._parent.playerName.length;
yInc = this["nameClip" + j]._y + this["nameClip" + j]._height;
j++;
}
}
_parent.blockBt._visible = false;
Symbol 280 MovieClip Frame 1
stop();
Symbol 280 MovieClip Frame 2
stop();
depth = 100;
yInc = 0;
var i = 1;
while (i < _parent._parent.dateArray.length) {
nameClip.duplicateMovieClip("nameClip" + i, depth + i, {_x:0, _y:yInc});
this["nameClip" + i].sno.text = i;
this["nameClip" + i].date.text = _parent._parent.dateArray[i];
this["nameClip" + i].scores.text = _parent._parent.scoresArray[i];
yInc = this["nameClip" + i]._y + this["nameClip" + i]._height;
i++;
}
_parent.blockBt._visible = false;
Symbol 281 Button
on (press) {
topScrlPress = true;
pressed = 1;
}
on (release, releaseOutside) {
topScrlPress = false;
pressed = 0;
}
Symbol 282 Button
on (press) {
botScrlPress = true;
pressed = 1;
}
on (release, releaseOutside) {
botScrlPress = false;
pressed = 0;
}
Symbol 287 MovieClip Frame 1
stop();
Symbol 287 MovieClip Frame 2
depth = 100;
yInc = 0;
if (_parent._parent.userNameArray.length >= 10) {
myvar = 10;
} else {
myvar = _parent._parent.userNameArray.length - 1;
}
var i = 1;
while (i <= myvar) {
nameClip.duplicateMovieClip("nameClip" + i, depth + i, {_x:0, _y:yInc});
this["nameClip" + i].sno.text = i;
this["nameClip" + i].uname.text = _parent._parent.userNameArray[i];
this["nameClip" + i].scores.text = _parent._parent.scoreArray[i];
yInc = this["nameClip" + i]._y + this["nameClip" + i]._height;
i++;
}
_parent.blockBt._visible = false;
Symbol 288 MovieClip Frame 1
stop();
blockBt.useHandCursor = false;
userName.autoSize = true;
userName.text = _parent.userName + ",";
blockBt.useHandCursor = false;
Symbol 288 MovieClip Frame 2
stop();
blockBt.useHandCursor = false;
allClip.setMask(maskClip);
scrollPressed = false;
stop();
scroll_but.onPress = function () {
startDrag (this, true, scroll_but._x, (scrollheight._y - (scrollheight._height / 2)) + scroll_but.error, scroll_but._x, (scrollheight._y + (scrollheight._height / 2)) - scroll_but.error);
scrollPressed = true;
};
scroll_but.onRelease = function () {
stopDrag();
scrollPressed = false;
};
scroll_but.onReleaseOutside = function () {
stopDrag();
scrollPressed = false;
};
scroll_base._visible = false;
scroll_but._visible = false;
topScroll._visible = false;
botScroll._visible = false;
Symbol 288 MovieClip Frame 3
stop();
blockBt.useHandCursor = false;
userClip.setMask(maskClip);
scrollPressed = false;
stop();
scroll_but.onPress = function () {
startDrag (this, true, scroll_but._x, (scrollheight._y - (scrollheight._height / 2)) + scroll_but.error, scroll_but._x, (scrollheight._y + (scrollheight._height / 2)) - scroll_but.error);
scrollPressed = true;
};
scroll_but.onRelease = function () {
stopDrag();
scrollPressed = false;
};
scroll_but.onReleaseOutside = function () {
stopDrag();
scrollPressed = false;
};
scroll_base._visible = false;
scroll_but._visible = false;
topScroll._visible = false;
botScroll._visible = false;
Instance of Symbol 284 MovieClip "scroll_but" in Symbol 288 MovieClip Frame 3
onClipEvent (load) {
contentY = _parent.userClip._y;
scrollerY = _y;
error = _height / 2;
initialY = this._y;
mc_initial_y = _parent.userClip._y;
dummyHeight = 0;
}
onClipEvent (enterFrame) {
if ((_parent.userClip._height - dummyHeight) > _parent.scrollheight._height) {
if (_parent.scrollPressed == true) {
step = (((_parent.userClip._height - dummyHeight) + ((error * 2.6) * ((_parent.userClip._height - dummyHeight) / _parent.scrollheight._height))) - _parent.familiesHeight._height) / _parent.scrollheight._height;
diff = _y - ((_parent.scrollheight._y - (_parent.scrollheight._height / 2)) + error);
_parent.userClip._y = mc_initial_y - (diff * step);
} else {
step = (((_parent.userClip._height - dummyHeight) + ((error * 2.6) * ((_parent.userClip._height - dummyHeight) / _parent.scrollheight._height))) - _parent.familiesHeight._height) / _parent.scrollheight._height;
diff = _y - ((_parent.scrollheight._y - (_parent.scrollheight._height / 2)) + error);
_parent.userClip._y = mc_initial_y - (diff * step);
}
if (_visible == false) {
_visible = true;
_parent.topScroll._visible = true;
_parent.botScroll._visible = true;
_parent.scrollheight._visible = true;
_parent.scroll_base._visible = true;
}
} else {
_visible = false;
_parent.scroll_base._visible = false;
_parent.topScroll._visible = false;
_parent.botScroll._visible = false;
_parent.scrollheight._visible = false;
_parent.userClip._y = contentY;
_y = scrollerY;
}
if (_parent.topScrlPress == true) {
if (this._y > (initialY + (_parent.userClip._height / this._height))) {
this._y = this._y - (_parent.userClip._height / this._height);
} else if (this._y > (initialY + 1)) {
this._y--;
}
}
if (_parent.botScrlPress == true) {
if (this._y < (((_parent.scrollheight._y + (_parent.scrollheight._height / 2)) - error) - (_parent.userClip._height / this._height))) {
this._y = this._y + (_parent.userClip._height / this._height);
} else if (this._y < (((_parent.scrollheight._y + (_parent.scrollheight._height / 2)) - error) - 1)) {
this._y++;
}
}
}
Symbol 288 MovieClip Frame 4
stop();
blockBt.useHandCursor = false;
userName.autoSize = true;
userName.text = _parent.userName + ",";
Symbol 293 Button
on (release) {
l1.stop();
startGame();
gotoAndPlay ("main");
}