Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
mochi.as2.MochiAd.showPreGameAd({id:"4b813ab504b21058", res:"600x600"});
__com_mochibot__("3ea74b94", this, 10301, true);
_root.lavr = 13;
_root.gore = 1;
function menuChoiceOne() {
getURL ("http://www.pyrozen.com");
}
stop();
_root.user = SharedObject.getLocal("user_killh1n1");
onEnterFrame = function () {
urlStart = _url.indexOf("://") + 3;
urlEnd = _url.indexOf("/", urlStart);
domain = _url.substring(urlStart, urlEnd);
LastDot = domain.lastIndexOf(".") - 1;
domEnd = domain.lastIndexOf(".", LastDot) + 1;
domain = domain.substring(domEnd, domain.length);
if ((domain != "gamesfree.ca") && (_root.gore == 2)) {
_root.gofuckyourself = 2;
}
};
NewMenu = new ContextMenu();
NewMenu.hideBuiltInItems();
NewMenu.customItems.push(new ContextMenuItem("Pyrozen", menuChoiceOne));
this.menu = NewMenu;
Frame 2
if (_root.gofuckyourself == 2) {
stop();
}
Frame 3
stop();
if (_root.gofuckyourself == 2) {
gotoAndStop (2);
}
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (4);
}
};
Frame 19
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndStop (20);
}
};
Frame 20
stop();
_root.lvl = 1;
_root.lives = 3;
_root.vid = 1001;
Instance of Symbol 85 MovieClip in Frame 20
onClipEvent (load) {
boxx.txx = "READ ABOUT";
boxx1.txx = boxx.txx;
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
boxx4.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.killh1n1.com", _blank);
}
}
Instance of Symbol 85 MovieClip in Frame 20
onClipEvent (load) {
boxx.txx = "START GAME";
boxx1.txx = boxx.txx;
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
boxx4.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_parent.gotoAndStop(21);
}
}
Instance of Symbol 95 MovieClip in Frame 20
onClipEvent (load) {
boxx.txx = "PYROZEN";
boxx1.txx = boxx.txx;
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
boxx4.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.pyrozen.com", _blank);
}
}
Instance of Symbol 95 MovieClip in Frame 20
onClipEvent (load) {
boxx.txx = "MORE GAMES";
boxx1.txx = boxx.txx;
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
boxx4.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/", _blank);
}
}
Instance of Symbol 95 MovieClip in Frame 20
onClipEvent (load) {
boxx.txx = "HIGH SCORES";
boxx1.txx = boxx.txx;
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
boxx4.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/hs/killh1n1hs.php", _blank);
}
}
Instance of Symbol 95 MovieClip in Frame 20
onClipEvent (load) {
boxx.txx = "STORE";
boxx1.txx = boxx.txx;
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
boxx4.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("https://www.killh1n1.com", _blank);
}
}
Instance of Symbol 99 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (_root.gameovertrack == 2) {
_root.gameovertrack = 1;
gotoAndPlay (465);
}
}
Frame 21
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
_root.vid = 1001;
gotoAndPlay (42);
}
};
Frame 37
_root.gameovertrack = 2;
stop();
Frame 38
stop();
_root.panelhs = 1;
_root.yourname = "ENTER YOUR NAME";
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
if (_root.lvl == 5) {
gotoAndStop (19);
} else if (_root.lvl == 3) {
_root.vid = 1004;
gotoAndPlay (42);
} else {
gotoAndStop (2561);
}
}
};
Frame 39
_root.temps2 = Math.round(_root.timeleftc / 4) + " Seconds";
if (_root.lvl == 1) {
_root.aa_max = 975;
_root.aa_add = 195;
}
if (_root.lvl == 2) {
_root.aa_max = 2160;
_root.aa_add = 288;
}
if (_root.lvl == 3) {
_root.aa_max = 3570;
_root.aa_add = 306;
}
if (_root.lvl == 4) {
_root.aa_max = 5400;
_root.aa_add = 270;
}
if (_root.pts >= (_root.aa_max + (_root.aa_add * 4))) {
_root.rating = 1;
}
if ((_root.pts >= (_root.aa_max + (_root.aa_add * 3))) && (_root.pts < (_root.aa_max + (_root.aa_add * 4)))) {
_root.rating = 2;
}
if ((_root.pts >= (_root.aa_max + (_root.aa_add * 2))) && (_root.pts < (_root.aa_max + (_root.aa_add * 3)))) {
_root.rating = 3;
}
if ((_root.pts >= (_root.aa_max + (_root.aa_add * 1))) && (_root.pts < (_root.aa_max + (_root.aa_add * 2)))) {
_root.rating = 4;
}
if ((_root.pts >= _root.aa_max) && (_root.pts < (_root.aa_max + (_root.aa_add * 1)))) {
_root.rating = 5;
}
_root.lvl = _root.lvl + 1;
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
if (((_root.rating == 1) || (_root.rating == 2)) || (_root.rating == 3)) {
gotoAndStop (38);
} else if (_root.lvl == 5) {
gotoAndStop (19);
} else if (_root.lvl == 3) {
_root.vid = 1004;
gotoAndPlay (42);
} else {
gotoAndStop (2561);
}
}
};
Instance of Symbol 95 MovieClip in Frame 39
onClipEvent (load) {
boxx.txx = "CONTINUE";
boxx1.txx = boxx.txx;
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
boxx4.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.got2go = 2;
}
}
Instance of Symbol 95 MovieClip in Frame 39
onClipEvent (load) {
boxx.txx = "READ ABOUT";
boxx1.txx = boxx.txx;
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
boxx4.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.killh1n1.com/ib-drops/i-b-drops.html", _blank);
}
}
Instance of Symbol 95 MovieClip in Frame 39
onClipEvent (load) {
boxx.txx = "STORE";
boxx1.txx = boxx.txx;
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
boxx4.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("https://www.killh1n1.com", _blank);
}
}
Instance of Symbol 95 MovieClip in Frame 39
onClipEvent (load) {
boxx.txx = "MAIN MENU";
boxx1.txx = boxx.txx;
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
boxx4.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.fondugo = 2;
}
}
Frame 40
_root.lives = _root.lives - 1;
_root.lives2 = "LIVES LEFT : " + _root.lives;
if (_root.lives == 0) {
gotoAndStop (37);
}
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndStop (41);
}
};
Instance of Symbol 95 MovieClip in Frame 40
onClipEvent (load) {
boxx.txx = "RETRY";
boxx1.txx = boxx.txx;
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
boxx4.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.got2go = 2;
}
}
Frame 41
function loadLevel() {
_root.persocured = 0;
_root.globulecured = 0;
_root.globulelost = 0;
fade._alpha = 100;
fade.onEnterFrame = function () {
if (this._alpha > 0) {
this._alpha = this._alpha - 2;
} else {
delete this.onEnterFrame;
}
};
_root.lvl = currentLevel;
music.gotoAndStop(currentLevel);
levelContainer.gotoAndStop("Level" + currentLevel);
bg._x = (bg._width - Stage.width) * (levelContainer._x / (levelContainer._width - Stage.width));
bg.gotoAndStop("Level" + currentLevel);
overCharacter.gotoAndStop("Level" + currentLevel);
_root.pts = 0;
var _local3 = 1;
while (_local3 <= _root["npcInLvl" + currentLevel]) {
if (currentLevel == 1) {
levelContainer["npc" + _local3].gotoAndStop(_local3 + 1);
} else if (currentLevel == 2) {
levelContainer["npc" + _local3].gotoAndStop(_local3 + 7);
} else if (currentLevel == 3) {
levelContainer["npc" + _local3].gotoAndStop(_local3 + 14);
} else {
levelContainer["npc" + _local3].gotoAndStop(_local3 + 22);
}
_local3++;
}
}
function checkKeys() {
if (recovering == false) {
if (Key.isDown(38)) {
upKey = true;
} else {
upKey = false;
}
if (Key.isDown(40)) {
downKey = true;
} else {
downKey = false;
}
if (Key.isDown(37)) {
leftKey = true;
} else {
leftKey = false;
}
if (Key.isDown(39)) {
rightKey = true;
} else {
rightKey = false;
}
if ((leftKey == true) && (rightKey == true)) {
leftKey = false;
rightKey = false;
}
if (Key.isDown(32)) {
if (spaceKey == false) {
spaceKeyDown = true;
}
spaceKey = true;
} else {
spaceKey = false;
}
}
}
function checkHits() {
if (canMove == true) {
var _local1 = 0;
while (_local1 < characterHitPoints.length) {
if (_local1 == 0) {
if (levelContainer.hit.hitTest(characterHitPoints[_local1].x, characterHitPoints[_local1].y, true)) {
if (!levelContainer.hit.hitTest(characterHitPoints[6].x, characterHitPoints[6].y, true)) {
var _local3 = 0;
while (_local3 < 100) {
if ((!levelContainer.hit.hitTest(characterHitPoints[_local1].x, characterHitPoints[_local1].y - _local3, true)) && (horizontalAccelRatio != 0)) {
moveY = moveY - _local3;
break;
}
_local3++;
}
}
}
}
if (_local1 == 1) {
if (levelContainer.hit.hitTest(characterHitPoints[_local1].x, characterHitPoints[_local1].y, true)) {
if (!levelContainer.hit.hitTest(characterHitPoints[7].x, characterHitPoints[7].y, true)) {
var _local2 = 0;
while (_local2 < 100) {
if ((!levelContainer.hit.hitTest(characterHitPoints[_local1].x, characterHitPoints[_local1].y - _local2, true)) && (horizontalAccelRatio != 0)) {
moveY = moveY - _local2;
break;
}
_local2++;
}
}
}
} else if ((_local1 == 2) || ((_local1 == 3) && (downHit == true))) {
if (levelContainer.hit.hitTest(characterHitPoints[_local1].x, characterHitPoints[_local1].y, true)) {
downHit = true;
} else {
downHit = false;
}
} else if ((_local1 == 4) || (_local1 == 8)) {
if (levelContainer.hit.hitTest(characterHitPoints[_local1].x + (movementSpeed * horizontalAccelRatio), characterHitPoints[_local1].y, true)) {
leftHit = true;
} else {
leftHit = false;
}
} else if ((_local1 == 5) || (_local1 == 9)) {
if (levelContainer.hit.hitTest(characterHitPoints[_local1].x + (movementSpeed * horizontalAccelRatio), characterHitPoints[_local1].y, true)) {
rightHit = true;
} else {
rightHit = false;
}
} else if ((_local1 == 10) || ((_local1 == 11) && (upHit == false))) {
if (levelContainer.hit.hitTest(characterHitPoints[_local1].x, characterHitPoints[_local1].y, true)) {
upHit = true;
} else {
upHit = false;
}
}
_local1++;
}
}
}
function calculateMovement() {
if (spaceKey == true) {
if (spaceKeyDown == true) {
if (canMove == true) {
var _local3 = 1;
while (_local3 <= _root.numberOfObjects) {
if (levelContainer["object" + _local3] != undefined) {
objTest2.x = levelContainer["object" + _local3]._x;
objTest2.y = levelContainer["object" + _local3]._y;
levelContainer.localToGlobal(objTest2);
if ((((character._x > (objTest2.x - 50)) && (character._x < (objTest2.x + 50))) && (character._y > (objTest2.y - 50))) && (character._y < (objTest2.y + 50))) {
canMove = false;
verticalAccelRatio = 0;
horizontalAccelRatio = 0;
characterState = "standing";
character.characterIn.gotoAndStop("standing");
infoOpened = true;
infos.gotoAndStop(_local3 + 1);
_root.seeSpace.gotoAndStop(1);
_root.tempsStop = 2;
break;
}
}
_local3++;
}
var _local2 = 1;
while (_local2 <= _root["npcInLvl" + currentLevel]) {
objTest.x = levelContainer["npc" + _local2]._x;
objTest.y = levelContainer["npc" + _local2]._y;
levelContainer.localToGlobal(objTest);
if (currentLevel == 1) {
if (((((character._x > (objTest.x - 50)) && (character._x < (objTest.x + 50))) && (character._y > (objTest.y - 50))) && (character._y < (objTest.y + 50))) && (_root["miniGameCompleted" + _local2] == false)) {
if (needTuto == true) {
_root.tutogo = 2;
_root.tutost = 4;
needTuto = false;
}
startMiniGame(_local2);
break;
}
} else if (currentLevel == 2) {
if (((((character._x > (objTest.x - 50)) && (character._x < (objTest.x + 50))) && (character._y > (objTest.y - 50))) && (character._y < (objTest.y + 50))) && (_root["miniGameCompleted" + [_local2 + 6]] == false)) {
if (needTuto == true) {
_root.tutogo = 2;
_root.tutost = 4;
needTuto = false;
}
startMiniGame(_local2);
break;
}
} else if (currentLevel == 3) {
if (((((character._x > (objTest.x - 50)) && (character._x < (objTest.x + 50))) && (character._y > (objTest.y - 50))) && (character._y < (objTest.y + 50))) && (_root["miniGameCompleted" + [_local2 + 13]] == false)) {
if (needTuto == true) {
_root.tutogo = 2;
_root.tutost = 4;
needTuto = false;
}
startMiniGame(_local2);
break;
}
} else if (((((character._x > (objTest.x - 50)) && (character._x < (objTest.x + 50))) && (character._y > (objTest.y - 50))) && (character._y < (objTest.y + 50))) && (_root["miniGameCompleted" + [_local2 + 21]] == false)) {
if (needTuto == true) {
_root.tutogo = 2;
_root.tutost = 4;
needTuto = false;
}
startMiniGame(_local2);
break;
}
_local2++;
}
} else if (infoOpened == true) {
infos.gotoAndStop(1);
_root.tempsStop = 1;
infoOpened = false;
canMove = true;
}
spaceKeyDown = false;
}
}
if (canMove == true) {
if (recovering == true) {
if (downHit == true) {
verticalAccelRatio = 0;
} else if (verticalAccelRatio < 2) {
verticalAccelRatio = verticalAccelRatio + (verticalAccelRatioIncrement * 2);
}
if (horizontalAccelRatio < -0.1) {
horizontalAccelRatio = horizontalAccelRatio + horizontalAccelRatioIncrement;
} else if (horizontalAccelRatio > 0.1) {
horizontalAccelRatio = horizontalAccelRatio - horizontalAccelRatioIncrement;
} else {
horizontalAccelRatio = 0;
}
} else {
if (leftKey == true) {
if (characterSide != "left") {
character.characterIn._xscale = character.characterIn._xscale * -1;
characterSide = "left";
}
if (leftHit == false) {
if (horizontalAccelRatio > 0) {
horizontalAccelRatio = horizontalAccelRatio - (horizontalAccelRatioIncrement * 3);
}
if (horizontalAccelRatio > (-maxHorizontalAccelRatio)) {
horizontalAccelRatio = horizontalAccelRatio - horizontalAccelRatioIncrement;
}
}
}
if (rightKey == true) {
if (characterSide != "right") {
character.characterIn._xscale = character.characterIn._xscale * -1;
characterSide = "right";
}
if (rightHit == false) {
if (horizontalAccelRatio < 0) {
horizontalAccelRatio = horizontalAccelRatio + (horizontalAccelRatioIncrement * 3);
}
if (horizontalAccelRatio < maxHorizontalAccelRatio) {
horizontalAccelRatio = horizontalAccelRatio + horizontalAccelRatioIncrement;
}
}
}
if (gotHit == true) {
character.characterIn.gotoAndStop("hit");
characterState = "hit";
verticalAccelRatio = -0.5;
if (downHit == false) {
if (characterSide == "left") {
horizontalAccelRatio = 1;
} else if (characterSide == "right") {
horizontalAccelRatio = -1;
}
gotHit = false;
recovering = true;
}
}
if ((upKey == true) && (jump == false)) {
jumping = true;
verticalAccelRatio = jumpSpeed;
}
if (((jumping == true) && (downHit == false)) && (recovering == false)) {
jumping = false;
jump = true;
}
if (((downHit == true) && (jumping == false)) && (gotHit == false)) {
jump = false;
verticalAccelRatio = 0;
}
if ((upHit == true) && (verticalAccelRatio < 0)) {
moveY = moveY + (1 + (movementSpeed * verticalAccelRatio));
verticalAccelRatio = 0;
}
if ((verticalAccelRatio < 3) && (downHit == false)) {
verticalAccelRatio = verticalAccelRatio + (verticalAccelRatioIncrement * 4);
}
}
}
}
function moveIt() {
if (canMove == true) {
if ((recovering == false) && (gotHit == false)) {
if (((leftKey == false) && (rightKey == false)) || ((leftKey == true) && (rightKey == true))) {
if ((horizontalAccelRatio > ((-horizontalAccelRatioIncrement) * 2)) && (horizontalAccelRatio < (horizontalAccelRatioIncrement * 2))) {
horizontalAccelRatio = 0;
} else if (horizontalAccelRatio < 0) {
horizontalAccelRatio = horizontalAccelRatio + horizontalAccelRatioIncrement;
} else if (horizontalAccelRatio > 0) {
horizontalAccelRatio = horizontalAccelRatio - horizontalAccelRatioIncrement;
}
}
if (horizontalAccelRatio > maxHorizontalAccelRatio) {
horizontalAccelRatio = 1;
} else if (horizontalAccelRatio < (-maxHorizontalAccelRatio)) {
horizontalAccelRatio = -1;
}
if (verticalAccelRatio < jumpSpeed) {
verticalAccelRatio = jumpSpeed;
} else if (verticalAccelRatio > 3) {
verticalAccelRatio = 3;
}
if (((leftHit == true) && (horizontalAccelRatio < 0)) || ((rightHit == true) && (horizontalAccelRatio > 0))) {
moveX = moveX + Math.round(movementSpeed * horizontalAccelRatio);
horizontalAccelRatio = 0;
}
if ((horizontalAccelRatio != 0) && (jump == false)) {
if (characterState != "walking") {
character.characterIn.gotoAndStop("walking");
}
characterState = "walking";
} else if ((jump == true) && (jumping == false)) {
if (characterState != "jumping") {
character.characterIn.gotoAndStop("jumping");
}
characterState = "jumping";
} else if ((horizontalAccelRatio == 0) && (downHit == true)) {
if (characterState != "standing") {
character.characterIn.gotoAndStop("standing");
}
characterState = "standing";
}
}
moveX = moveX + Math.round(movementSpeed * horizontalAccelRatio);
moveY = moveY + Math.round(movementSpeed * verticalAccelRatio);
if ((((levelContainer._x > -10) && ((character._x + moveX) < character._x)) || (character._x < ((Stage.width / 2) - 20))) || (((levelContainer._x < (((-levelContainer._width) + Stage.width) + 10)) && ((character._x + moveX) > character._x)) || (character._x > ((Stage.width / 2) + 20)))) {
character._x = character._x + moveX;
} else {
bg._x = (bg._width - Stage.width) * (levelContainer._x / (levelContainer._width - Stage.width));
levelContainer._x = levelContainer._x - moveX;
overCharacter._x = overCharacter._x - moveX;
}
overCharacter._y = overCharacter._y - moveY;
levelContainer._y = levelContainer._y - moveY;
}
}
function kill() {
if ((character._y - character._height) < Stage.height) {
verticalAccelRatio = verticalAccelRatio + (verticalAccelRatioIncrement * 4);
character._y = character._y + (movementSpeed * verticalAccelRatio);
} else {
fadeIt();
}
}
function fadeIt() {
characterState = "standing";
fade.onEnterFrame = function () {
if (this._alpha < 100) {
this._alpha = this._alpha + 2;
} else {
delete this.onEnterFrame;
reset();
}
};
}
function moveInElevator(way, from, to) {
characterState = "standing";
character.characterIn.gotoAndStop("standing");
verticalAccelRatio = 0;
horizontalAccelRatio = 0;
canMove = false;
inElevator = to;
elevator1Point = {x:_root.levelContainer[from]._x, y:_root.levelContainer[from]._y};
elevator2Point = {x:_root.levelContainer[to]._x, y:_root.levelContainer[to]._y};
_root.levelContainer.localToGlobal(elevator1Point);
_root.levelContainer.localToGlobal(elevator2Point);
elevatorDistance = elevator1Point.y - elevator2Point.y;
elevatorObj.onEnterFrame = function () {
elevator1Point = {x:_root.levelContainer[from]._x, y:_root.levelContainer[from]._y};
elevator2Point = {x:_root.levelContainer[to]._x, y:_root.levelContainer[to]._y};
_root.levelContainer.localToGlobal(elevator1Point);
_root.levelContainer.localToGlobal(elevator2Point);
_root.levelContainer._y = _root.levelContainer._y + ((elevatorDistance / 40) * verticalAccelRatio);
_root.overCharacter._y = _root.overCharacter._y + ((elevatorDistance / 40) * verticalAccelRatio);
if (way == "up") {
if ((character._y > (elevator2Point.y + (elevatorDistance / 2))) && (verticalAccelRatio < 1)) {
verticalAccelRatio = verticalAccelRatio + (verticalAccelRatioIncrement / 2);
} else if (verticalAccelRatio > 0.2) {
verticalAccelRatio = verticalAccelRatio - (verticalAccelRatioIncrement / 2);
}
if (character._y <= elevator2Point.y) {
verticalAccelRatio = 0;
canMove = true;
delete this.onEnterFrame;
}
} else if (way == "down") {
if ((character._y < (elevator2Point.y + (elevatorDistance / 2))) && (verticalAccelRatio < 1)) {
verticalAccelRatio = verticalAccelRatio + (verticalAccelRatioIncrement / 2);
} else if (verticalAccelRatio > 0.2) {
verticalAccelRatio = verticalAccelRatio - (verticalAccelRatioIncrement / 2);
}
if (character._y >= (elevator2Point.y - 30)) {
verticalAccelRatio = 0;
canMove = true;
delete this.onEnterFrame;
}
}
};
}
function checkForProximityWithObjects() {
var _local2 = 1;
while (_local2 <= (_root.numberOfObjects + 1)) {
if ((_local2 == (_root.numberOfObjects + 1)) && (shouldCloseSeeSpace == true)) {
_root.seeSpace.gotoAndStop(1);
} else if (levelContainer["object" + _local2] != undefined) {
objTest2.x = levelContainer["object" + _local2]._x;
objTest2.y = levelContainer["object" + _local2]._y;
levelContainer.localToGlobal(objTest2);
if ((((character._x > (objTest2.x - 50)) && (character._x < (objTest2.x + 50))) && (character._y > (objTest2.y - 50))) && (character._y < (objTest2.y + 50))) {
if (_root.seeSpace._currentframe != 2) {
_root.seeSpace.gotoAndStop(2);
}
break;
}
}
_local2++;
}
}
function checkForProximityWithNpc() {
shouldCloseSeeSpace = false;
var _local2 = 1;
while (_local2 <= (_root["npcInLvl" + currentLevel] + 1)) {
objTest.x = levelContainer["npc" + _local2]._x;
objTest.y = levelContainer["npc" + _local2]._y;
levelContainer.localToGlobal(objTest);
if (currentLevel == 1) {
if (_local2 == (_root["npcInLvl" + currentLevel] + 1)) {
shouldCloseSeeSpace = true;
} else if (((((character._x > (objTest.x - 50)) && (character._x < (objTest.x + 50))) && (character._y > (objTest.y - 50))) && (character._y < (objTest.y + 50))) && (_root["miniGameCompleted" + _local2] == false)) {
if (_root.seeSpace._currentframe != 2) {
_root.seeSpace.gotoAndStop(2);
}
break;
}
} else if (currentLevel == 2) {
if (_local2 == (_root["npcInLvl" + currentLevel] + 1)) {
shouldCloseSeeSpace = true;
} else if (((((character._x > (objTest.x - 50)) && (character._x < (objTest.x + 50))) && (character._y > (objTest.y - 50))) && (character._y < (objTest.y + 50))) && (_root["miniGameCompleted" + [_local2 + 6]] == false)) {
_root.seeSpace.gotoAndStop(2);
break;
}
} else if (currentLevel == 3) {
if (_local2 == (_root["npcInLvl" + currentLevel] + 1)) {
shouldCloseSeeSpace = true;
} else if (((((character._x > (objTest.x - 50)) && (character._x < (objTest.x + 50))) && (character._y > (objTest.y - 50))) && (character._y < (objTest.y + 50))) && (_root["miniGameCompleted" + [_local2 + 13]] == false)) {
_root.seeSpace.gotoAndStop(2);
break;
}
} else if (_local2 == (_root["npcInLvl" + currentLevel] + 1)) {
shouldCloseSeeSpace = true;
} else if (((((character._x > (objTest.x - 50)) && (character._x < (objTest.x + 50))) && (character._y > (objTest.y - 50))) && (character._y < (objTest.y + 50))) && (_root["miniGameCompleted" + [_local2 + 21]] == false)) {
_root.seeSpace.gotoAndStop(2);
break;
}
_local2++;
}
}
function startMiniGame(npc) {
_root.seeSpace.gotoAndStop(1);
horizontalAccelRatio = 0;
verticalAccelRatio = 0;
characterState = "standing";
character.characterIn.gotoAndStop("standing");
canMove = false;
over.gotoAndStop(2);
if (currentLevel == 1) {
over.miniGame.gotoAndStop(npc);
vid = npc;
} else if (currentLevel == 2) {
over.miniGame.gotoAndStop(npc + 6);
vid = npc + 6;
} else if (currentLevel == 3) {
over.miniGame.gotoAndStop(npc + 13);
vid = npc + 13;
} else {
over.miniGame.gotoAndStop(npc + 21);
vid = npc + 21;
}
miniGameState = 1;
var _local6 = 1;
while (_local6 <= _root["IBDropsInGame" + over.miniGame._currentframe].length) {
over.miniGame["gb" + _local6].gotoAndPlay(random(200) + 1);
over.miniGame["gb" + _local6].boxx.gotoAndPlay(random(200) + 1);
over.miniGame["gb" + _local6].boxx.boxx.boxx._rotation = random(360);
over.miniGame["gb" + _local6].boxx.boxx.boxx.boxx.gotoAndStop(random(7) + 2);
_local6++;
}
var _local7 = 1;
while (_local7 <= _root.alreadyGoodInGames) {
over.miniGame["alreadyGood" + _local7].gotoAndPlay(random(200) + 1);
over.miniGame["alreadyGood" + _local7].boxx.gotoAndPlay(random(200) + 1);
over.miniGame["alreadyGood" + _local7].boxx.boxx.boxx._rotation = random(360);
_local7++;
}
over.miniGame.onEnterFrame = function () {
if ((miniGameState > _root["IBDropsInGame" + over.miniGame._currentframe].length) && (canMoveDrops == true)) {
dropsCleaned = 0;
var _local6 = 0;
while (_local6 < _root["IBDropsInGame" + over.miniGame._currentframe].length) {
if (_root["IBDropsInGame" + over.miniGame._currentframe][_local6].cleaned == true) {
dropsCleaned++;
}
_local6++;
}
if (dropsCleaned >= (_root["IBDropsInGame" + over.miniGame._currentframe].length * 0.6)) {
levelContainer["npc" + npc].boxx.gotoAndStop(2);
levelContainer["npc" + npc].boxx2.gotoAndStop(2);
levelContainer["npc" + npc].boxx.boxx.gotoAndPlay(2);
_root.persocured++;
}
canMove = true;
anims.gotoAndStop(2);
_root["miniGameCompleted" + over.miniGame._currentframe] = true;
over.gotoAndStop(1);
delete this.onEnterFrame;
}
if (_root.canMoveDrops == true) {
over.miniGame["IBDrop" + miniGameState].halo._alpha = 30;
IBDropPoints[0] = {x:0, y:over.miniGame["IBDrop" + miniGameState]._height / 2};
IBDropPoints[1] = {x:0, y:-(over.miniGame["IBDrop" + miniGameState]._height / 2)};
IBDropPoints[2] = {x:-(over.miniGame["IBDrop" + miniGameState]._width / 2), y:0};
IBDropPoints[3] = {x:over.miniGame["IBDrop" + miniGameState]._width / 2, y:0};
var _local3 = 0;
while (_local3 < IBDropPoints.length) {
over.miniGame["IBDrop" + miniGameState].localToGlobal(IBDropPoints[_local3]);
if (over.miniGame.hit.hitTest(IBDropPoints[_local3].x, IBDropPoints[_local3].y, true)) {
_root.dropsGotHit = 2;
_root.typeoftouch = 2;
_root.globulelost++;
over.miniGame["IBDrop" + miniGameState].gotoAndPlay("bad_hit");
horizontalAccelRatio = 0;
verticalAccelRatio = 0;
miniGameState++;
}
if (over.miniGame.hit2.hitTest(IBDropPoints[_local3].x, IBDropPoints[_local3].y, true)) {
_root.dropsGotHit = 2;
_root.typeoftouch = 2;
_root.globulelost++;
over.miniGame["IBDrop" + miniGameState].gotoAndPlay("bad_hit");
horizontalAccelRatio = 0;
verticalAccelRatio = 0;
miniGameState++;
}
if (_root["IBDropsInGame" + over.miniGame._currentframe] != undefined) {
var _local4 = 1;
while (_local4 <= _root["IBDropsInGame" + over.miniGame._currentframe].length) {
if (over.miniGame["gb" + _local4].hitTest(IBDropPoints[_local3].x, IBDropPoints[_local3].y, true)) {
if (_root["IBDropsInGame" + over.miniGame._currentframe][_local4 - 1].cleaned == false) {
_root.dropsGotHit = 2;
_root.typeoftouch = 1;
_root.globulecured++;
_root["IBDropsInGame" + over.miniGame._currentframe][_local4 - 1].cleaned = true;
over.miniGame["IBDrop" + miniGameState].gotoAndPlay("good_hit");
over.miniGame["gb" + _local4].boxx.boxx.boxx.gotoAndStop(2);
miniGameState++;
} else {
_root.dropsGotHit = 2;
_root.typeoftouch = 2;
_root.globulelost++;
over.miniGame["IBDrop" + miniGameState].gotoAndPlay("good_hit");
miniGameState++;
}
horizontalAccelRatio = 0;
verticalAccelRatio = 0;
}
_local4++;
}
}
var _local5 = 1;
while (_local5 <= _root.alreadyGoodInGames) {
if (over.miniGame["alreadyGood" + _local5].hitTest(IBDropPoints[_local3].x, IBDropPoints[_local3].y, true)) {
_root.dropsGotHit = 2;
_root.typeoftouch = 2;
_root.globulelost++;
over.miniGame["IBDrop" + miniGameState].gotoAndPlay("good_hit");
miniGameState++;
horizontalAccelRatio = 0;
verticalAccelRatio = 0;
}
_local5++;
}
_local3++;
}
moveX = 0;
moveY = 0;
moveX = movementSpeed * 1.5;
moveY = movementSpeed * 1.5;
if (upKey == true) {
if (verticalAccelRatio > -1) {
verticalAccelRatio = verticalAccelRatio - (verticalAccelRatioIncrement / 2);
}
}
if (downKey == true) {
if (verticalAccelRatio < 1) {
verticalAccelRatio = verticalAccelRatio + (verticalAccelRatioIncrement / 2);
}
}
if (leftKey == true) {
if (horizontalAccelRatio > -1) {
horizontalAccelRatio = horizontalAccelRatio - (horizontalAccelRatioIncrement / 2);
}
}
if (rightKey == true) {
if (horizontalAccelRatio < 1) {
horizontalAccelRatio = horizontalAccelRatio + (horizontalAccelRatioIncrement / 2);
}
}
over.miniGame["IBDrop" + miniGameState]._x = over.miniGame["IBDrop" + miniGameState]._x + (moveX * horizontalAccelRatio);
over.miniGame["IBDrop" + miniGameState]._y = over.miniGame["IBDrop" + miniGameState]._y + (moveY * verticalAccelRatio);
}
};
}
function reset() {
jump = false;
jumping = false;
horizontalAccelRatio = 0;
verticalAccelRatio = 0;
character._x = startingCharX;
character._y = startingCharY;
levelContainer._x = startingLvlX;
levelContainer._y = startingLvlY;
overCharacter._x = startingLvlX;
overCharacter._y = startingLvlY;
over.gotoAndStop(1);
bg._x = (bg._width - Stage.width) * (levelContainer._x / (levelContainer._width - Stage.width));
bg.gotoAndStop("Level" + currentLevel);
levelContainer.gotoAndStop("Level" + currentLevel);
overCharacter.gotoAndStop("Level" + currentLevel);
fade.onEnterFrame = function () {
if (this._alpha > 0) {
this._alpha = this._alpha - 2;
} else {
canMove = true;
delete this.onEnterFrame;
}
};
}
function reactivate() {
anims.gotoAndStop(1);
canMove = true;
}
_root.energy = 6;
_root.timeleft = 200;
_root.timeleftc = _root.timeleft * 4;
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndStop (39);
}
if (_root.got2go == 3) {
_root.got2go = 1;
gotoAndStop (40);
}
};
stop();
var currentLevel = _root.lvl;
var startingLvlX = levelContainer._x;
var startingLvlY = levelContainer._y;
var level1WinScore = 975;
var level2WinScore = 2160;
var level3WinScore = 3570;
var level4WinScore = 5400;
var vid;
var characterHitPoints = new Array();
var characterSide = "right";
var moveX = 0;
var moveY = 0;
var horizontalAccelRatio = 0;
var maxHorizontalAccelRatio = 1.5;
var verticalAccelRatio = 0;
var characterState;
var leftHit = false;
var rightHit = false;
var downHit = false;
var gotHit = false;
var recovering = false;
var jump = false;
var jumping = false;
var canMove = true;
var inElevator = "";
var movementSpeed = 7;
var jumpSpeed = -3.5;
var horizontalAccelRatioIncrement = 0.03;
var verticalAccelRatioIncrement = 0.04;
var IBDropPoints = new Array();
var miniGameState = 1;
var canMoveDrops = true;
var IBDropsInGame1;
var IBDropsInGame2;
var IBDropsInGame3;
var IBDropsInGame4;
var IBDropsInGame5;
var IBDropsInGame6;
var IBDropsInGame7;
var IBDropsInGame8;
var IBDropsInGame9;
var IBDropsInGame10;
var IBDropsInGame11;
var IBDropsInGame12;
var IBDropsInGame13;
var IBDropsInGame14;
var IBDropsInGame15;
var IBDropsInGame16;
var IBDropsInGame17;
var IBDropsInGame18;
var IBDropsInGame19;
var IBDropsInGame20;
var IBDropsInGame21;
var IBDropsInGame22;
var IBDropsInGame23;
var IBDropsInGame24;
var IBDropsInGame25;
var IBDropsInGame26;
var IBDropsInGame27;
var IBDropsInGame28;
var IBDropsInGame29;
var IBDropsInGame30;
var alreadyGoodInGames = 3;
var miniGameCompleted1;
var miniGameCompleted2;
var miniGameCompleted3;
var miniGameCompleted4;
var miniGameCompleted5;
var miniGameCompleted6;
var miniGameCompleted7;
var miniGameCompleted8;
var miniGameCompleted9;
var miniGameCompleted10;
var miniGameCompleted11;
var miniGameCompleted12;
var miniGameCompleted13;
var miniGameCompleted14;
var miniGameCompleted15;
var miniGameCompleted16;
var miniGameCompleted17;
var miniGameCompleted18;
var miniGameCompleted19;
var miniGameCompleted20;
var miniGameCompleted21;
var miniGameCompleted22;
var miniGameCompleted23;
var miniGameCompleted24;
var miniGameCompleted25;
var miniGameCompleted26;
var miniGameCompleted27;
var miniGameCompleted28;
var miniGameCompleted29;
var miniGameCompleted30;
IBDropsInGame1 = new Array();
IBDropsInGame1[0] = {cleaned:false};
IBDropsInGame1[1] = {cleaned:false};
IBDropsInGame2 = new Array();
IBDropsInGame2[0] = {cleaned:false};
IBDropsInGame2[1] = {cleaned:false};
IBDropsInGame3 = new Array();
IBDropsInGame3[0] = {cleaned:false};
IBDropsInGame3[1] = {cleaned:false};
IBDropsInGame4 = new Array();
IBDropsInGame4[0] = {cleaned:false};
IBDropsInGame4[1] = {cleaned:false};
IBDropsInGame5 = new Array();
IBDropsInGame5[0] = {cleaned:false};
IBDropsInGame5[1] = {cleaned:false};
IBDropsInGame6 = new Array();
IBDropsInGame6[0] = {cleaned:false};
IBDropsInGame6[1] = {cleaned:false};
IBDropsInGame6[2] = {cleaned:false};
IBDropsInGame7 = new Array();
IBDropsInGame7[0] = {cleaned:false};
IBDropsInGame7[1] = {cleaned:false};
IBDropsInGame7[2] = {cleaned:false};
IBDropsInGame8 = new Array();
IBDropsInGame8[0] = {cleaned:false};
IBDropsInGame8[1] = {cleaned:false};
IBDropsInGame8[2] = {cleaned:false};
IBDropsInGame9 = new Array();
IBDropsInGame9[0] = {cleaned:false};
IBDropsInGame9[1] = {cleaned:false};
IBDropsInGame9[2] = {cleaned:false};
IBDropsInGame10 = new Array();
IBDropsInGame10[0] = {cleaned:false};
IBDropsInGame10[1] = {cleaned:false};
IBDropsInGame10[2] = {cleaned:false};
IBDropsInGame11 = new Array();
IBDropsInGame11[0] = {cleaned:false};
IBDropsInGame11[1] = {cleaned:false};
IBDropsInGame11[2] = {cleaned:false};
IBDropsInGame11[3] = {cleaned:false};
IBDropsInGame12 = new Array();
IBDropsInGame12[0] = {cleaned:false};
IBDropsInGame12[1] = {cleaned:false};
IBDropsInGame12[2] = {cleaned:false};
IBDropsInGame12[3] = {cleaned:false};
IBDropsInGame13 = new Array();
IBDropsInGame13[0] = {cleaned:false};
IBDropsInGame13[1] = {cleaned:false};
IBDropsInGame13[2] = {cleaned:false};
IBDropsInGame13[3] = {cleaned:false};
IBDropsInGame14 = new Array();
IBDropsInGame14[0] = {cleaned:false};
IBDropsInGame14[1] = {cleaned:false};
IBDropsInGame14[2] = {cleaned:false};
IBDropsInGame14[3] = {cleaned:false};
IBDropsInGame15 = new Array();
IBDropsInGame15[0] = {cleaned:false};
IBDropsInGame15[1] = {cleaned:false};
IBDropsInGame15[2] = {cleaned:false};
IBDropsInGame15[3] = {cleaned:false};
IBDropsInGame16 = new Array();
IBDropsInGame16[0] = {cleaned:false};
IBDropsInGame16[1] = {cleaned:false};
IBDropsInGame16[2] = {cleaned:false};
IBDropsInGame16[3] = {cleaned:false};
IBDropsInGame16[4] = {cleaned:false};
IBDropsInGame17 = new Array();
IBDropsInGame17[0] = {cleaned:false};
IBDropsInGame17[1] = {cleaned:false};
IBDropsInGame17[2] = {cleaned:false};
IBDropsInGame17[3] = {cleaned:false};
IBDropsInGame17[4] = {cleaned:false};
IBDropsInGame18 = new Array();
IBDropsInGame18[0] = {cleaned:false};
IBDropsInGame18[1] = {cleaned:false};
IBDropsInGame18[2] = {cleaned:false};
IBDropsInGame18[3] = {cleaned:false};
IBDropsInGame18[4] = {cleaned:false};
IBDropsInGame19 = new Array();
IBDropsInGame19[0] = {cleaned:false};
IBDropsInGame19[1] = {cleaned:false};
IBDropsInGame19[2] = {cleaned:false};
IBDropsInGame20 = new Array();
IBDropsInGame20[0] = {cleaned:false};
IBDropsInGame20[1] = {cleaned:false};
IBDropsInGame20[2] = {cleaned:false};
IBDropsInGame21 = new Array();
IBDropsInGame21[0] = {cleaned:false};
IBDropsInGame21[1] = {cleaned:false};
IBDropsInGame21[2] = {cleaned:false};
IBDropsInGame21[3] = {cleaned:false};
IBDropsInGame21[4] = {cleaned:false};
IBDropsInGame22 = new Array();
IBDropsInGame22[0] = {cleaned:false};
IBDropsInGame22[1] = {cleaned:false};
IBDropsInGame22[2] = {cleaned:false};
IBDropsInGame22[3] = {cleaned:false};
IBDropsInGame22[4] = {cleaned:false};
IBDropsInGame23 = new Array();
IBDropsInGame23[0] = {cleaned:false};
IBDropsInGame23[1] = {cleaned:false};
IBDropsInGame23[2] = {cleaned:false};
IBDropsInGame23[3] = {cleaned:false};
IBDropsInGame23[4] = {cleaned:false};
IBDropsInGame24 = new Array();
IBDropsInGame24[0] = {cleaned:false};
IBDropsInGame24[1] = {cleaned:false};
IBDropsInGame24[2] = {cleaned:false};
IBDropsInGame24[3] = {cleaned:false};
IBDropsInGame24[4] = {cleaned:false};
IBDropsInGame25 = new Array();
IBDropsInGame25[0] = {cleaned:false};
IBDropsInGame25[1] = {cleaned:false};
IBDropsInGame25[2] = {cleaned:false};
IBDropsInGame25[3] = {cleaned:false};
IBDropsInGame25[4] = {cleaned:false};
IBDropsInGame26 = new Array();
IBDropsInGame26[0] = {cleaned:false};
IBDropsInGame26[1] = {cleaned:false};
IBDropsInGame26[2] = {cleaned:false};
IBDropsInGame26[3] = {cleaned:false};
IBDropsInGame26[4] = {cleaned:false};
IBDropsInGame27 = new Array();
IBDropsInGame27[0] = {cleaned:false};
IBDropsInGame27[1] = {cleaned:false};
IBDropsInGame27[2] = {cleaned:false};
IBDropsInGame27[3] = {cleaned:false};
IBDropsInGame27[4] = {cleaned:false};
IBDropsInGame28 = new Array();
IBDropsInGame28[0] = {cleaned:false};
IBDropsInGame28[1] = {cleaned:false};
IBDropsInGame28[2] = {cleaned:false};
IBDropsInGame28[3] = {cleaned:false};
IBDropsInGame28[4] = {cleaned:false};
IBDropsInGame29 = new Array();
IBDropsInGame29[0] = {cleaned:false};
IBDropsInGame29[1] = {cleaned:false};
IBDropsInGame29[2] = {cleaned:false};
IBDropsInGame29[3] = {cleaned:false};
IBDropsInGame29[4] = {cleaned:false};
IBDropsInGame30 = new Array();
IBDropsInGame30[0] = {cleaned:false};
IBDropsInGame30[1] = {cleaned:false};
IBDropsInGame30[2] = {cleaned:false};
IBDropsInGame30[3] = {cleaned:false};
IBDropsInGame30[4] = {cleaned:false};
miniGameCompleted1 = false;
miniGameCompleted2 = false;
miniGameCompleted3 = false;
miniGameCompleted4 = false;
miniGameCompleted5 = false;
miniGameCompleted6 = false;
miniGameCompleted7 = false;
miniGameCompleted8 = false;
miniGameCompleted9 = false;
miniGameCompleted10 = false;
miniGameCompleted11 = false;
miniGameCompleted12 = false;
miniGameCompleted13 = false;
miniGameCompleted14 = false;
miniGameCompleted15 = false;
miniGameCompleted16 = false;
miniGameCompleted17 = false;
miniGameCompleted18 = false;
miniGameCompleted19 = false;
miniGameCompleted20 = false;
miniGameCompleted21 = false;
miniGameCompleted22 = false;
miniGameCompleted23 = false;
miniGameCompleted24 = false;
miniGameCompleted25 = false;
miniGameCompleted26 = false;
miniGameCompleted27 = false;
miniGameCompleted28 = false;
miniGameCompleted29 = false;
miniGameCompleted30 = false;
if (currentLevel == 1) {
_root.timeleft = 180;
_root.tutogo = 2;
_root.tutost = 1;
needTuto = true;
} else if (currentLevel == 2) {
_root.timeleft = 160;
} else if (currentLevel == 3) {
_root.timeleft = 180;
} else {
_root.timeleft = 200;
}
_root.timeleftc = _root.timeleft * 4;
_root.infos.gotoAndStop(1);
_root.over.gotoAndStop(1);
var startingCharX = character._x;
var startingCharY = character._y;
var numberOfObjects = 4;
var npcInLvl1 = 6;
var killZoneInLvl1 = 1;
var elevatorInLvl1 = 0;
var itemsInLvl1 = new Array();
var npcInLvl2 = 7;
var killZoneInLvl2 = 2;
var elevatorInLvl2 = 0;
var itemsInLvl2 = new Array();
var npcInLvl3 = 8;
var killZoneInLvl3 = 3;
var elevatorInLvl3 = 0;
var itemsInLvl3 = new Array();
var npcInLvl4 = 9;
var killZoneInLvl4 = 0;
var elevatorInLvl4 = 3;
var itemsInLvl4 = new Array();
var elevator1Point;
var elevator2Point;
var elevatorDistance;
var objTest = new Object();
var objTest2 = new Object();
var leftKey = false;
var rightKey = false;
var upKey = false;
var downKey = false;
var spaceKey = false;
var spaceKeyDown = false;
var frameRate = 48;
var randNum;
var infoOpened = false;
var dropsCleaned = 0;
var finishedLevelCounter = 0;
var needTuto;
var shouldCloseSeeSpace = false;
character.characterIn.gotoAndStop("standing");
characterState = "standing";
character.onEnterFrame = function () {
doneLevelCounter = 0;
var _local4 = 0;
while (_local4 <= _root["npcInLvl" + currentLevel]) {
if (_local4 == _root["npcInLvl" + currentLevel]) {
if (_root.pts >= _root[("level" + currentLevel) + "WinScore"]) {
if (currentLevel == 1) {
stopAllSounds();
gotoAndPlay (1687);
} else if (currentLevel == 2) {
stopAllSounds();
gotoAndPlay (1863);
} else if (currentLevel == 3) {
stopAllSounds();
gotoAndPlay (2444);
} else {
stopAllSounds();
gotoAndPlay (2559);
}
} else {
gotoAndStop (40);
}
delete this.onEnterFrame;
} else if (currentLevel == 1) {
if (_root["miniGameCompleted" + [_local4 + 1]] == false) {
break;
}
} else if (currentLevel == 2) {
if (_root["miniGameCompleted" + [_local4 + 7]] == false) {
break;
}
} else if (currentLevel == 3) {
if (_root["miniGameCompleted" + [_local4 + 14]] == false) {
break;
}
} else if (_root["miniGameCompleted" + [_local4 + 22]] == false) {
break;
}
_local4++;
}
if (_root.timeleftc <= 0) {
if (_root.pts >= _root[("level" + currentLevel) + "WinScore"]) {
if (currentLevel == 1) {
stopAllSounds();
gotoAndPlay (1687);
} else if (currentLevel == 2) {
stopAllSounds();
gotoAndPlay (1863);
} else if (currentLevel == 3) {
stopAllSounds();
gotoAndPlay (2444);
} else {
stopAllSounds();
gotoAndPlay (2559);
}
} else {
gotoAndStop (40);
}
delete this.onEnterFrame;
}
characterHitPoints[0] = {x:-(character.hit._width / 2), y:-2};
characterHitPoints[1] = {x:character.hit._width / 2, y:-2};
characterHitPoints[2] = {x:(-character.hit._width) / 6, y:0};
characterHitPoints[3] = {x:character.hit._width / 6, y:0};
characterHitPoints[4] = {x:-(character.hit._width / 2), y:-character.hit._height};
characterHitPoints[5] = {x:character.hit._width / 2, y:-character.hit._height};
characterHitPoints[6] = {x:-(character.hit._width / 2), y:-character.hit._height};
characterHitPoints[7] = {x:character.hit._width / 2, y:-character.hit._height};
characterHitPoints[8] = {x:-(character.hit._width / 2), y:(-character.hit._height) / 2};
characterHitPoints[9] = {x:character.hit._width / 2, y:(-character.hit._height) / 2};
characterHitPoints[10] = {x:-(character.hit._width / 4), y:-character.hit._height};
characterHitPoints[11] = {x:character.hit._width / 4, y:-character.hit._height};
var _local6 = 0;
while (_local6 < characterHitPoints.length) {
character.localToGlobal(characterHitPoints[_local6]);
_local6++;
}
if (characterState != "dead") {
var _local5 = 1;
while (_local5 <= _root["killZoneInLvl" + currentLevel]) {
if (_root.levelContainer["killZone" + _local5].hitTest(character)) {
verticalAccelRatio = -3;
canMove = false;
character.characterIn.gotoAndStop("death");
characterState = "dead";
killHim = true;
}
_local5++;
}
if (((canMove == true) && (inElevator == "")) && (characterState == "standing")) {
var _local3 = 1;
while (_local3 <= _root["elevatorInLvl" + currentLevel]) {
if (_root.levelContainer[("elevator" + _local3) + "_1"].hitTest(character)) {
moveInElevator("up", ("elevator" + _local3) + "_1", ("elevator" + _local3) + "_2");
} else if (_root.levelContainer[("elevator" + _local3) + "_2"].hitTest(character)) {
moveInElevator("down", ("elevator" + _local3) + "_2", ("elevator" + _local3) + "_1");
}
_local3++;
}
} else if (canMove == true) {
if (!_root.levelContainer[inElevator].hitTest(character)) {
inElevator = "";
}
}
}
if (characterState == "dead") {
kill();
}
moveX = 0;
moveY = 0;
checkKeys();
checkHits();
if (canMove == true) {
checkForProximityWithNpc();
checkForProximityWithObjects();
}
calculateMovement();
moveIt();
};
loadLevel();
Instance of Symbol 968 MovieClip in Frame 41
onClipEvent (load) {
_root.ptsb = _root.pts;
}
Frame 42
if (_root.vid == 1001) {
gotoAndPlay (43);
}
if (_root.vid == 1002) {
gotoAndPlay (1687);
}
if (_root.vid == 1003) {
gotoAndPlay (1863);
}
if (_root.vid == 1004) {
gotoAndPlay (2261);
}
if (_root.vid == 1005) {
gotoAndPlay (2444);
}
if (_root.vid == 1006) {
gotoAndPlay (2559);
}
Frame 43
onEnterFrame = function () {
if ((_currentframe >= 2) && (_currentframe <= 102)) {
mySound = new Sound();
mySound.setVolume(_currentframe - 2);
mySound.start(0, 1000);
}
};
Frame 144
mySound = new Sound();
mySound.setVolume(100);
mySound.start(0, 1000);
onEnterFrame = function () {
a = 1;
};
Frame 215
_root.smilestatusintro = 1;
Frame 280
_root.withbecintro = 2;
Frame 391
_root.gojoueintro = 2;
Instance of Symbol 1232 MovieClip in Frame 442
onClipEvent (load) {
_root.stop();
txx.txx1 = "Marianne : ";
txx.txx2 = "I love you Michael ... Call me tonight if you like !";
_root.persotalk = 1;
}
Frame 491
stop();
Instance of Symbol 1232 MovieClip in Frame 491
onClipEvent (load) {
_root.stop();
txx.txx1 = "Michael : ";
txx.txx2 = "For sure Marianne ! I will call you ! ... and I love you too !";
_root.persotalk = 2;
}
Frame 492
_root.envoiemainintro = 2;
Frame 761
stop();
_root.withbecintro = 1;
stop();
onEnterFrame = function () {
if (_root.gointropart2 == 2) {
_root.gointropart2 = 1;
gotoAndPlay (762);
}
};
Frame 810
stop();
onEnterFrame = function () {
if (_root.gointropart2 == 4) {
_root.gointropart2 = 1;
gotoAndPlay (811);
}
};
Frame 845
stop();
onEnterFrame = function () {
if (_root.gointropart2 == 5) {
_root.gointropart2 = 1;
gotoAndStop (846);
}
};
Frame 846
stop();
Instance of Symbol 1232 MovieClip in Frame 846
onClipEvent (load) {
_root.stop();
txx.txx1 = "Marianne's Dad : ";
txx.txx2 = "Hum Hello ? ...";
_root.persotalk = 4;
}
Frame 847
stop();
Instance of Symbol 1232 MovieClip in Frame 847
onClipEvent (load) {
_root.stop();
txx.txx1 = "Michael : ";
txx.txx2 = "Hi this is Michael ! Is Marianne home ?";
_root.persotalk = 8;
}
Frame 848
stop();
Instance of Symbol 1232 MovieClip in Frame 848
onClipEvent (load) {
_root.stop();
txx.txx1 = "Marianne's Dad : ";
txx.txx2 = "No, she is really sick ... she can't talk right now.";
_root.persotalk = 5;
}
Frame 849
stop();
Instance of Symbol 1232 MovieClip in Frame 849
onClipEvent (load) {
_root.stop();
txx.txx1 = "Michael : ";
txx.txx2 = "What does she have ... is she ok ?";
_root.persotalk = 9;
}
Frame 850
stop();
Instance of Symbol 1232 MovieClip in Frame 850
onClipEvent (load) {
_root.stop();
txx.txx1 = "Marianne's Dad : ";
txx.txx2 = "No she has the H1N1 ... a serious flu ! She will need good care or else she might die";
_root.persotalk = 6;
}
Frame 851
_root.smilestatusintro = 2;
stop();
Instance of Symbol 1232 MovieClip in Frame 851
onClipEvent (load) {
_root.stop();
txx.txx1 = "Michael : ";
txx.txx2 = "What !?";
_root.persotalk = 10;
}
Frame 852
stop();
Instance of Symbol 1232 MovieClip in Frame 852
onClipEvent (load) {
_root.stop();
txx.txx1 = "Marianne's Dad : ";
txx.txx2 = "Listen Michael ! I can't talk to you right now ... ";
_root.persotalk = 7;
}
Frame 853
stop();
_root.goarmintro = 2;
Instance of Symbol 1232 MovieClip in Frame 853
onClipEvent (load) {
_root.stop();
txx.txx1 = "Michael : ";
txx.txx2 = "I must find a remedy for Marianne!!";
_root.persotalk = 11;
}
Frame 854
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (855);
}
};
Frame 929
_root.nodyourheadintro = 2;
Frame 951
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (952);
}
};
Frame 952
aa = 80;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Frame 979
_root.nodyourheadintro = 3;
Frame 1086
stop();
onEnterFrame = function () {
if (_root.got2go == 3) {
_root.got2go = 1;
gotoAndPlay (1087);
}
};
Frame 1355
aa = 80;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
gotoAndPlay (1357);
}
if (aa != 0) {
aa = aa - 1;
}
};
Frame 1656
stop();
_root.gojoueintro = 36;
Instance of Symbol 1232 MovieClip in Frame 1656
onClipEvent (load) {
_root.stop();
txx.txx1 = "Michael : ";
txx.txx2 = "Yeah I got it ...";
_root.persotalk = 11;
}
Frame 1685
stop();
Instance of Symbol 1232 MovieClip in Frame 1685
onClipEvent (load) {
_root.stop();
txx.txx1 = "Michael : ";
txx.txx2 = "MY REMEDY TO SAVE MARIANNE !!";
_root.persotalk = 12;
}
Frame 1686
gotoAndStop (2561);
Instance of Symbol 1389 MovieClip in Frame 1687
onClipEvent (enterFrame) {
if (Key.isDown(65)) {
_x = (_x + 40);
}
if (Key.isDown(87)) {
_y = (_y + 40);
}
if (Key.isDown(83)) {
_y = (_y - 40);
}
if (Key.isDown(68)) {
_x = (_x - 40);
}
}
Frame 1750
_root.mickanimfinlevel1 = 2;
Frame 1782
stop();
Instance of Symbol 1232 MovieClip in Frame 1782
onClipEvent (load) {
_root.stop();
txx.txx1 = "Josh :";
txx.txx2 = "Hey Michael ... What's up !?";
_root.persotalk = 13;
}
Frame 1783
stop();
Instance of Symbol 1232 MovieClip in Frame 1783
onClipEvent (load) {
_root.stop();
txx.txx1 = "Michael : ";
txx.txx2 = "Hey Josh ! Nothing, I'm searching my girlfriend. Did you see her ?";
_root.persotalk = 14;
}
Frame 1784
stop();
Instance of Symbol 1232 MovieClip in Frame 1784
onClipEvent (load) {
_root.stop();
txx.txx1 = "Josh :";
txx.txx2 = "Marianne ? Yes yes ! She was looking sick. She was going to her daddy's job I think ...";
_root.persotalk = 15;
}
Frame 1785
stop();
Instance of Symbol 1232 MovieClip in Frame 1785
onClipEvent (load) {
_root.stop();
txx.txx1 = "Michael : ";
txx.txx2 = "Her daddy ? Hmm... he didn't tell me that. All this is too weird. Do you know where he works ?";
_root.persotalk = 16;
}
Frame 1786
stop();
Instance of Symbol 1232 MovieClip in Frame 1786
onClipEvent (load) {
_root.stop();
txx.txx1 = "Josh :";
txx.txx2 = "At the University. But they left last night. I saw them when I was playing basketball with Carlito.";
_root.persotalk = 17;
}
Frame 1787
stop();
Instance of Symbol 1232 MovieClip in Frame 1787
onClipEvent (load) {
_root.stop();
txx.txx1 = "Michael : ";
txx.txx2 = "Ok thanks Josh ! I owe you one !";
_root.persotalk = 18;
}
Frame 1788
stop();
Instance of Symbol 1232 MovieClip in Frame 1788
onClipEvent (load) {
_root.stop();
txx.txx1 = "Josh :";
txx.txx2 = "No problem Mick ! Good luck !";
_root.persotalk = 19;
}
Frame 1789
gotoAndPlay (1790);
_root.mickanimfinlevel1 = 3;
Frame 1861
stop();
Instance of Symbol 1232 MovieClip in Frame 1861
onClipEvent (load) {
_root.stop();
txx.txx1 = "Michael : ";
txx.txx2 = "I need to take the bus downtown to go to the University. I'm coming Marianne !";
_root.persotalk = 20;
}
Frame 1862
gotoAndStop (39);
Frame 2202
_root.scient = 2;
Frame 2221
stop();
onEnterFrame = function () {
if (_root.scient == 5) {
_root.scient = 1;
gotoAndPlay (2222);
}
};
Frame 2222
gotoAndPlay (2223);
Instance of Symbol 1232 MovieClip in Frame 2223
onClipEvent (load) {
txx.txx1 = "Scientist : ";
txx.txx2 = "Where do you think you're going little man ?";
_root.persotalk = 30;
}
Frame 2251
stop();
Frame 2252
_root.scient = 6;
stop();
Instance of Symbol 1232 MovieClip in Frame 2252
onClipEvent (load) {
_root.stop();
txx.txx1 = "Michael : ";
txx.txx2 = "To the University ... Why do you ask ?";
_root.persotalk = 21;
}
Frame 2253
stop();
Instance of Symbol 1232 MovieClip in Frame 2253
onClipEvent (load) {
_root.stop();
txx.txx1 = "Scientist : ";
txx.txx2 = "I saw you helping people over here... and ... and... the University is not a secure place for you.";
_root.persotalk = 31;
}
Frame 2254
stop();
Instance of Symbol 1232 MovieClip in Frame 2254
onClipEvent (load) {
_root.stop();
txx.txx1 = "Michael : ";
txx.txx2 = "How can helping people be bad ? And what's the problem with the University ?";
_root.persotalk = 22;
}
Frame 2255
stop();
Instance of Symbol 1232 MovieClip in Frame 2255
onClipEvent (load) {
_root.stop();
txx.txx1 = "Scientist : ";
txx.txx2 = "...hum... Dah.. I hate kids ! They are always asking tons of questions ...";
_root.persotalk = 32;
}
Frame 2256
gotoAndStop (2257);
Frame 2257
stop();
_root.scient = 11;
Instance of Symbol 1232 MovieClip in Frame 2257
onClipEvent (load) {
_root.stop();
txx.txx1 = "Scientist : ";
txx.txx2 = "but look ... There's some people who want the population to be sick. I just want to warn you little man !";
_root.persotalk = 33;
}
Frame 2258
stop();
_root.scient = 12;
Instance of Symbol 1232 MovieClip in Frame 2258
onClipEvent (load) {
_root.stop();
txx.txx1 = "Michael : ";
txx.txx2 = "I don't understand everything you're saying but ... thanks ! I'm searching for my girlfriend and she's probably there.";
_root.persotalk = 23;
}
Frame 2259
stop();
Instance of Symbol 1232 MovieClip in Frame 2259
onClipEvent (load) {
_root.stop();
txx.txx1 = "Scientist : ";
txx.txx2 = ".. Hum I think nobody can stop love ! But be careful ... it's not realy safe these days.";
_root.persotalk = 34;
}
Frame 2260
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndStop (39);
}
};
Frame 2261
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (2262);
}
};
Frame 2336
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (2337);
}
};
Frame 2391
_root.gojoueintro = 42;
stop();
Instance of Symbol 1232 MovieClip in Frame 2391
onClipEvent (load) {
_root.stop();
txx.txx1 = "Michael : ";
txx.txx2 = ".. I'm hearing dark voices... I think it's Marianne's Dad...";
_root.persotalk = 10;
}
Frame 2392
gotoAndPlay (2393);
Frame 2400
_root.mickusineanim = 2;
Frame 2441
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndStop (2442);
}
};
Frame 2442
stop();
Instance of Symbol 1232 MovieClip in Frame 2442
onClipEvent (load) {
_root.stop();
txx.txx1 = "Michael : ";
txx.txx2 = "Someone got shot ?!";
_root.persotalk = 11;
}
Frame 2443
gotoAndStop (2561);
stop();
Instance of Symbol 1389 MovieClip in Frame 2444
onClipEvent (enterFrame) {
if (Key.isDown(65)) {
_x = (_x + 40);
}
if (Key.isDown(87)) {
_y = (_y + 40);
}
if (Key.isDown(83)) {
_y = (_y - 40);
}
if (Key.isDown(68)) {
_x = (_x - 40);
}
}
Frame 2464
_root.avoyemickesti = 2;
Frame 2506
aa = 80;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Frame 2507
stop();
Instance of Symbol 1232 MovieClip in Frame 2507
onClipEvent (load) {
_root.stop();
txx.txx1 = "Marianne's Dad : ";
txx.txx2 = "...M... Mi... Michael ...!?";
_root.persotalk = 36;
}
Frame 2508
stop();
Instance of Symbol 1232 MovieClip in Frame 2508
onClipEvent (load) {
_root.stop();
txx.txx1 = "Michael : ";
txx.txx2 = "Yes it's me ... Are you gonna be alright ?";
_root.persotalk = 24;
}
Frame 2509
stop();
Instance of Symbol 1232 MovieClip in Frame 2509
onClipEvent (load) {
_root.stop();
txx.txx1 = "Marianne's Dad : ";
txx.txx2 = "Argg.. that hurt... Listen to me Michael ! The truth is... ";
_root.persotalk = 37;
}
Frame 2510
stop();
Instance of Symbol 1232 MovieClip in Frame 2510
onClipEvent (load) {
_root.stop();
txx.txx1 = "Michael : ";
txx.txx2 = "What truth ... ? You need to go to the hospital now...";
_root.persotalk = 14;
}
Frame 2511
stop();
Instance of Symbol 1232 MovieClip in Frame 2511
onClipEvent (load) {
_root.stop();
txx.txx1 = "Marianne's Dad : ";
txx.txx2 = "No I'm not gonna make it... Marianne is there. She needs your help !!";
_root.persotalk = 38;
}
Frame 2512
stop();
Instance of Symbol 1232 MovieClip in Frame 2512
onClipEvent (load) {
_root.stop();
txx.txx1 = "Michael : ";
txx.txx2 = "...";
_root.persotalk = 25;
}
Frame 2513
gotoAndPlay (2514);
Frame 2546
_root.wbappear = 2;
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndPlay (2547);
}
};
Frame 2547
stop();
Instance of Symbol 1232 MovieClip in Frame 2547
onClipEvent (load) {
_root.stop();
txx.txx1 = "Whistle Blower : ";
txx.txx2 = "Listen to me carefully Michael ...";
_root.persotalk = 41;
}
Frame 2548
stop();
Instance of Symbol 1232 MovieClip in Frame 2548
onClipEvent (load) {
_root.stop();
txx.txx1 = "Michael : ";
txx.txx2 = "Who are you ?";
_root.persotalk = 15;
}
Frame 2549
stop();
Instance of Symbol 1232 MovieClip in Frame 2549
onClipEvent (load) {
_root.stop();
txx.txx1 = "Whistle Blower : ";
txx.txx2 = "I'm the one who will tell you the TRUTH !";
_root.persotalk = 42;
}
Frame 2550
stop();
Instance of Symbol 1232 MovieClip in Frame 2550
onClipEvent (load) {
_root.stop();
txx.txx1 = "Michael : ";
txx.txx2 = "...";
_root.persotalk = 25;
}
Frame 2551
stop();
Instance of Symbol 1232 MovieClip in Frame 2551
onClipEvent (load) {
_root.stop();
txx.txx1 = "Whistle Blower : ";
txx.txx2 = "People have created this Virus. H1N1 is a plague generated by big pharmaceutical companies. Not natural at all!";
_root.persotalk = 43;
}
Frame 2552
stop();
Instance of Symbol 1232 MovieClip in Frame 2552
onClipEvent (load) {
_root.stop();
txx.txx1 = "Michael : ";
txx.txx2 = "Why is that ?!";
_root.persotalk = 11;
}
Frame 2553
stop();
Instance of Symbol 1232 MovieClip in Frame 2553
onClipEvent (load) {
_root.stop();
txx.txx1 = "Whistle Blower : ";
txx.txx2 = "Because this Virus brings fear in all civilians... to ensure they will buy pharmaceutical products or vaccines, but this is worse for us";
_root.persotalk = 44;
}
Frame 2554
stop();
Instance of Symbol 1232 MovieClip in Frame 2554
onClipEvent (load) {
_root.stop();
txx.txx1 = "Michael : ";
txx.txx2 = "Is my product helping ?";
_root.persotalk = 12;
}
Frame 2555
stop();
Instance of Symbol 1232 MovieClip in Frame 2555
onClipEvent (load) {
_root.stop();
txx.txx1 = "Whistle Blower : ";
txx.txx2 = "Yes ... it's natural and helps your natural immune system.";
_root.persotalk = 45;
}
Frame 2556
stop();
Instance of Symbol 1232 MovieClip in Frame 2556
onClipEvent (load) {
_root.stop();
txx.txx1 = "Marianne's Dad : ";
txx.txx2 = "... go help Marianne Michael. They won't let us in. But maybe you can save her!";
_root.persotalk = 36;
}
Frame 2557
stop();
Instance of Symbol 1232 MovieClip in Frame 2557
onClipEvent (load) {
_root.stop();
txx.txx1 = "Michael : ";
txx.txx2 = "I will do my best !";
_root.persotalk = 24;
}
Frame 2558
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndStop (39);
}
};
Frame 2559
stop();
Instance of Symbol 1232 MovieClip in Frame 2559
onClipEvent (load) {
_root.stop();
txx.txx1 = "Michael : ";
txx.txx2 = "I finally found you Marianne ! I will take good care of you my love !";
_root.persotalk = 12;
}
Frame 2560
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndStop (39);
}
};
Frame 2561
stopAllSounds();
stop();
onEnterFrame = function () {
if (_root.got2go == 2) {
_root.got2go = 1;
gotoAndStop (41);
}
};
Symbol 7 MovieClip Frame 1
_root.stop();
_root.PercentLoaded = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (_root.PercentLoaded != 100) {
setProperty(bar, _xscale , _root.PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 7 MovieClip Frame 2
gotoAndPlay (1);
Symbol 7 MovieClip Frame 3
_root.play();
Symbol 1474 MovieClip [__Packages.mochi.as2.MochiAd] Frame 0
class mochi.as2.MochiAd
{
function MochiAd () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showPreGameAd(options) {
var _local26 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}, ad_progress:function (percent) {
}};
options = _parseOptions(options, _local26);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local22 = 11000;
var _local25 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local6 = chk.createEmptyMovieClip("_mochiad_bar", 4);
if (options.no_progress_bar) {
_local6._visible = false;
delete options.no_progress_bar;
} else {
_local6._x = 10;
_local6._y = _local13 - 20;
}
var _local21 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local23 = options.outline;
delete options.outline;
var _local5 = _local6.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local6.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local21);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local7 = _local6.createEmptyMovieClip("_outline", 3);
_local7.lineStyle(0, _local23, 100);
_local7.moveTo(0, 0);
_local7.lineTo(_local4 - 20, 0);
_local7.lineTo(_local4 - 20, 10);
_local7.lineTo(0, 10);
_local7.lineTo(0, 0);
chk.ad_msec = _local22;
chk.ad_timeout = _local25;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local11 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local2 = (100 * _local8) / _local4;
var _local10 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local13 = Math.min(100, Math.min(_local2 || 0, _local10));
_local13 = Math.max(this.last_pcnt, _local13);
this.last_pcnt = _local13;
_local9._xscale = _local13;
options.ad_progress(_local13);
if (sendHostProgress && (_local2 == 100)) {
mochi.as2.MochiAd.containerNotify(clip, {id:"hostLoadPcnt", pcnt:_local2}, clip._mochiad._containerLCName);
sendHostProgress = false;
}
if (!chk.showing) {
var _local7 = _local11.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if ((_local5 > chk.ad_timeout) && (_local2 == 100)) {
options.ad_failed();
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showClickAwayAd(options) {
var _local9 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () {
}, ad_finished:function () {
}, ad_loaded:function (width, height) {
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local9);
var clip = options.clip;
var _local8 = options.ad_timeout;
delete options.ad_timeout;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local4 = _getRes(options);
var _local10 = _local4[0];
var _local7 = _local4[1];
mc._x = _local10 * 0.5;
mc._y = _local7 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = _local8;
chk.started = getTimer();
chk.showing = false;
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
var _local20 = false;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
_local2 = true;
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local2) {
delete this.onEnterFrame;
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local7 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local7._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local7.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local7._mochiad_loaded = true;
if (_local7._url.indexOf("http") != 0) {
trace("[MochiAd] NOTE: Security Sandbox Violation errors below are normal");
}
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
mochi.as2.MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new Object();
var _local9 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local9;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local9);
_local6.lc = _local5;
_local4.lc = _local9;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
containerNotify(clip, {id:"unload"}, clip._mochiad._containerLCName);
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
static function rpc(clip, callbackID, arg) {
switch (arg.id) {
case "setValue" :
setValue(clip, arg.objectName, arg.value);
break;
case "getValue" :
var _local4 = getValue(clip, arg.objectName);
containerRpcResult(clip, callbackID, _local4, clip._mochiad._containerLCName);
break;
case "runMethod" :
var _local3 = runMethod(clip, arg.method, arg.args);
containerRpcResult(clip, callbackID, _local3, clip._mochiad._containerLCName);
break;
default :
trace("[mochiads rpc] unknown rpc id: " + arg.id);
}
}
static function setValue(base, objectName, value) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
base[_local2[_local1]] = value;
}
static function getValue(base, objectName) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
return(base[_local2[_local1]]);
}
static function runMethod(base, methodName, argsArray) {
var _local2 = methodName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
if (typeof(base[_local2[_local1]]) == "function") {
return(base[_local2[_local1]].apply(base, argsArray));
}
return(undefined);
}
static function containerNotify(clip, args, lcName) {
var _local1 = clip._mochiad._mochiad_ctr.ad.app;
if (_local1.notify) {
_local1.notify(args);
} else {
new LocalConnection().send(lcName, "notify", args);
}
}
static function containerRpcResult(clip, callbackID, val, lcName) {
var _local1 = clip._mochiad._mochiad_ctr.ad.app;
if (_local1.rpcResult) {
_local1.rpcResult(callbackID, val);
} else {
new LocalConnection().send(lcName, "rpcResult", callbackID, val);
}
}
}
Symbol 1475 MovieClip [__Packages.mochi.as2.MochiSync] Frame 0
class mochi.as2.MochiSync
{
var _syncContainer;
function MochiSync () {
_syncContainer = {};
}
function getProp(name) {
return(_syncContainer[name]);
}
function setProp(name, value) {
if (_syncContainer[name] == value) {
return(undefined);
}
_syncContainer[name] = value;
mochi.as2.MochiServices.send("sync_propUpdate", {name:name, value:value});
}
function triggerEvent(eventType, args) {
switch (eventType) {
case SYNC_REQUEST :
mochi.as2.MochiServices.send("sync_syncronize", _syncContainer);
break;
case SYNC_PROPERTY :
_syncContainer[args.name] = args.value;
}
}
static var SYNC_REQUEST = "SyncRequest";
static var SYNC_PROPERTY = "UpdateProperty";
}
Symbol 1476 MovieClip [__Packages.mochi.as2.MochiServices] Frame 0
class mochi.as2.MochiServices
{
static var _id, _container, _clip, _sendChannelName, __get__comChannelName, onError, _listenChannel, _sendChannel;
function MochiServices () {
}
static function get id() {
return(_id);
}
static function get clip() {
return(_container);
}
static function get childClip() {
return(_clip);
}
static function getVersion() {
return("3.1 as2");
}
static function allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function get isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function set comChannelName(val) {
if (val != undefined) {
if (val.length > 3) {
_sendChannelName = val + "_fromgame";
initComChannels();
}
}
//return(__get__comChannelName());
}
static function get connected() {
return(_connected);
}
static function connect(id, clip, onError) {
warnID(id, false);
if ((!_connected) && (_clip == undefined)) {
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
}
if (onError != undefined) {
mochi.as2.MochiServices.onError = onError;
} else if (mochi.as2.MochiServices.onError == undefined) {
mochi.as2.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
}
static function disconnect() {
if (_connected || (_connecting)) {
_connecting = (_connected = false);
flush(true);
if (_clip != undefined) {
_clip.removeMovieClip();
delete _clip;
}
_listenChannel.close();
}
}
static function init(id, clip) {
_id = id;
if (clip != undefined) {
_container = clip;
} else {
_container = _root;
}
loadCommunicator(id, _container);
}
static function loadCommunicator(id, clip) {
var _local5 = "_mochiservices_com_" + id;
var _local4 = new MovieClipLoader();
var _local3 = {};
if (_clip != null) {
return(_clip);
}
if (!isNetworkAvailable) {
return(null);
}
if (urlOptions().servicesURL != undefined) {
_servicesURL = urlOptions().servicesURL;
}
allowDomains(_servicesURL);
_clip = clip.createEmptyMovieClip(_local5, 10336, false);
_listenChannelName = _listenChannelName + ((Math.floor(new Date().getTime()) + "_") + Math.floor(Math.random() * 99999));
listen();
if (_local3.waitInterval != null) {
clearInterval(_local3.waitInterval);
}
_local3.onLoadError = function (target_mc, errorCode, httpStatus) {
trace("MochiServices could not load.");
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, [errorCode]);
};
_local3.onLoadStart = function (target_mc) {
this.isLoading = true;
};
_local3.startTime = getTimer();
_local3.wait = function () {
if ((getTimer() - this.startTime) > 10000) {
if (!this.isLoading) {
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
}
clearInterval(this.waitInterval);
}
};
_local3.waitInterval = setInterval(_local3, "wait", 1000);
_local4.addListener(_local3);
_local4.loadClip((((_servicesURL + "?listenLC=") + _listenChannelName) + "&mochiad_options=") + escape(_root.mochiad_options), _clip);
_sendChannel = new LocalConnection();
_sendChannel._queue = [];
return(_clip);
}
static function onStatus(infoObject) {
if (!(infoObject.level === "error")) {
} else {
_connected = false;
_listenChannel.connect(_listenChannelName);
}
}
static function listen() {
_listenChannel = new LocalConnection();
_listenChannel.handshake = function (args) {
mochi.as2.MochiServices.__set__comChannelName(args.newChannel);
};
_listenChannel.allowDomain = function (d) {
return(true);
};
_listenChannel.allowInsecureDomain = _listenChannel.allowDomain;
_listenChannel._nextcallbackID = 0;
_listenChannel._callbacks = {};
_listenChannel.connect(_listenChannelName);
trace("Waiting for MochiAds services to connect...");
}
static function initComChannels() {
if (!_connected) {
_sendChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, clip:_clip, version:getVersion()});
_listenChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_listenChannel.onReceive = function (pkg) {
var _local5 = pkg.callbackID;
var _local4 = this._callbacks[_local5];
if (!_local4) {
return(undefined);
}
var _local2 = _local4.callbackMethod;
var _local3 = _local4.callbackObject;
if (_local3 && (typeof(_local2) == "string")) {
_local2 = _local3[_local2];
}
if (_local2 != undefined) {
_local2.apply(_local3, pkg.args);
}
delete this._callbacks[_local5];
};
_listenChannel.onEvent = function (pkg) {
switch (pkg.target) {
case "events" :
mochi.as2.MochiEvents.triggerEvent(pkg.event, pkg.args);
break;
case "coins" :
mochi.as2.MochiCoins.triggerEvent(pkg.event, pkg.args);
break;
case "sync" :
mochi.as2.MochiServices.servicesSync.triggerEvent(pkg.event, pkg.args);
}
};
_listenChannel.onError = function () {
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
};
trace("[SERVICES_API] connected!");
_connecting = false;
_connected = true;
while (_sendChannel._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift());
}
}
}
static function flush(error) {
var _local1;
var _local2;
while (_sendChannel._queue.length > 0) {
_local1 = _sendChannel._queue.shift();
if (_local1.callbackID != null) {
_local2 = _listenChannel._callbacks[_local1.callbackID];
}
delete _listenChannel._callbacks[_local1.callbackID];
if (error) {
handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod);
}
}
}
static function handleError(args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError.apply(null, ["NotConnected"]);
}
if ((args.options != null) && (args.options.onError != null)) {
args.options.onError.apply(null, ["NotConnected"]);
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = "NotConnected";
if ((callbackObject != null) && (typeof(callbackMethod) == "string")) {
callbackObject[callbackMethod](args);
} else if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
static function send(methodName, args, callbackObject, callbackMethod) {
if (_connected) {
_sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
} else {
if ((_clip == undefined) || (!_connecting)) {
trace("Error: MochiServices not connected. Please call MochiServices.connect(). Function: " + methodName);
handleError(args, callbackObject, callbackMethod);
flush(true);
return(undefined);
}
_sendChannel._queue.push({methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
}
_listenChannel._callbacks[_listenChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_listenChannel._nextcallbackID++;
}
static function urlOptions() {
var _local5 = {};
if (_root.mochiad_options) {
var _local4 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2].split("=");
_local5[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local5);
}
static function warnID(bid, leaderboard) {
bid = bid.toLowerCase();
if (bid.length != 16) {
trace(("WARNING: " + (leaderboard ? "board" : "game")) + " ID is not the appropriate length");
return(undefined);
}
if (bid == "1e113c7239048b3f") {
if (leaderboard) {
trace("WARNING: Using testing board ID");
} else {
trace("WARNING: Using testing board ID as game ID");
}
return(undefined);
}
if (bid == "84993a1de4031cd8") {
if (leaderboard) {
trace("WARNING: Using testing game ID as board ID");
} else {
trace("WARNING: Using testing game ID");
}
return(undefined);
}
var _local1 = 0;
while (_local1 < bid.length) {
switch (bid.charAt(_local1)) {
case "0" :
case "1" :
case "2" :
case "3" :
case "4" :
case "5" :
case "6" :
case "7" :
case "8" :
case "9" :
case "a" :
case "b" :
case "c" :
case "d" :
case "e" :
case "f" :
break;
default :
trace("WARNING: Board ID contains illegal characters: " + bid);
return(undefined);
}
_local1++;
}
}
static function addLinkEvent(url, burl, btn, onClick) {
var timeout = 1500;
var t0 = getTimer();
var _local2 = new Object();
_local2.mav = getVersion();
_local2.swfv = btn.getSWFVersion() || 6;
_local2.swfurl = btn._url;
_local2.fv = System.capabilities.version;
_local2.os = System.capabilities.os;
_local2.lang = System.capabilities.language;
_local2.scres = (System.capabilities.screenResolutionX + "x") + System.capabilities.screenResolutionY;
var s = "?";
var _local3 = 0;
for (var _local6 in _local2) {
if (_local3 != 0) {
s = s + "&";
}
_local3++;
s = ((s + _local6) + "=") + escape(_local2[_local6]);
}
if (!(netupAttempted || (_connected))) {
var ping = btn.createEmptyMovieClip("ping", 777);
var _local7 = btn.createEmptyMovieClip("nettest", 778);
netupAttempted = true;
ping.loadMovie("http://x.mochiads.com/linkping.swf?t=" + getTimer());
_local7.onEnterFrame = function () {
if ((ping._totalframes > 0) && (ping._totalframes == ping._framesloaded)) {
delete this.onEnterFrame;
} else if ((getTimer() - t0) > timeout) {
delete this.onEnterFrame;
mochi.as2.MochiServices.netup = false;
}
};
}
var _local4 = btn.createEmptyMovieClip("clk", 1001);
_local4._alpha = 0;
_local4.beginFill(1044735);
_local4.moveTo(0, 0);
_local4.lineTo(0, btn._height);
_local4.lineTo(btn._width, btn._height);
_local4.lineTo(btn._width, 0);
_local4.lineTo(0, 0);
_local4.endFill();
_local4.onRelease = function () {
if (mochi.as2.MochiServices.netup) {
getURL (url + s, "_blank");
} else {
getURL (burl, "_blank");
}
if (onClick != undefined) {
onClick();
}
};
}
static function setContainer(clip) {
}
static function stayOnTop(clip) {
}
static var _servicesURL = "http://www.mochiads.com/static/lib/services/services.swf";
static var _listenChannelName = "__ms_";
static var _connecting = false;
static var _connected = false;
static var netup = true;
static var netupAttempted = false;
static var servicesSync = new mochi.as2.MochiSync();
}
Symbol 1477 MovieClip [__Packages.mochi.as2.MochiEventDispatcher] Frame 0
class mochi.as2.MochiEventDispatcher
{
var eventTable;
function MochiEventDispatcher () {
eventTable = {};
}
function buildDelegate(thisObject, thatObject) {
var _local2 = {thisObject:thisObject, thatObject:thatObject};
if (thatObject != undefined) {
var funct = ((typeof(thatObject) == "string") ? (thisObject[thatObject]) : (thatObject));
_local2.delegate = function (args) {
funct.call(thisObject, args);
};
} else {
_local2.delegate = thisObject;
}
return(_local2);
}
function compareDelegate(d_A, d_B) {
if ((d_A.thisObject != d_B.thisObject) || (d_A.thatObject != d_B.thatObject)) {
return(false);
}
return(true);
}
function addEventListener(event, thisObject, thatObject) {
removeEventListener(event, thisObject, thatObject);
eventTable[event].push(buildDelegate(thisObject, thatObject));
}
function removeEventListener(event, thisObject, thatObject) {
var _local3 = buildDelegate(thisObject, thatObject);
if (eventTable[event] == undefined) {
eventTable[event] = [];
return(undefined);
}
for (var _local4 in eventTable[event]) {
if (!compareDelegate(eventTable[event][_local4], _local3)) {
continue;
}
eventTable[event].splice(Number(_local4), 1);
}
}
function triggerEvent(event, args) {
if (eventTable[event] == undefined) {
return(undefined);
}
for (var _local4 in eventTable[event]) {
eventTable[event][_local4].delegate(args);
}
}
}
Symbol 1478 MovieClip [__Packages.mochi.as2.MochiEvents] Frame 0
class mochi.as2.MochiEvents
{
static var gameStart, levelStart;
function MochiEvents () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function startSession(achievementID) {
mochi.as2.MochiServices.send("events_beginSession", {achievementID:achievementID}, null, null);
}
static function trigger(kind, obj) {
if (obj == undefined) {
obj = {};
} else if (obj.kind != undefined) {
trace("WARNING: optional arguements package contains key 'id', it will be overwritten");
obj.kind = kind;
}
mochi.as2.MochiServices.send("events_triggerEvent", {eventObject:obj}, null, null);
}
static function setNotifications(clip, style) {
var _local2 = {};
for (var _local3 in style) {
_local2[_local3] = style[_local3];
}
_local2.clip = clip;
mochi.as2.MochiServices.send("events_setNotifications", _local2, null, null);
}
static function addEventListener(eventType, thisObject, thatObject) {
_dispatcher.addEventListener(eventType, thisObject, thatObject);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, thisObject, thatObject) {
_dispatcher.removeEventListener(eventType, thisObject, thatObject);
}
static function startGame() {
gameStart = new Date().getTime();
trigger("start_game");
}
static function endGame() {
var _local1 = new Date().getTime() - gameStart;
trigger("end_game", {time:_local1});
}
static function startLevel() {
levelStart = new Date().getTime();
trigger("start_level");
}
static function endLevel() {
var _local1 = new Date().getTime() - levelStart;
trigger("end_level", {time:_local1});
}
static var ACHIEVEMENT_RECEIVED = "AchievementReceived";
static var ALIGN_TOP_LEFT = "ALIGN_TL";
static var ALIGN_TOP = "ALIGN_T";
static var ALIGN_TOP_RIGHT = "ALIGN_TR";
static var ALIGN_LEFT = "ALIGN_L";
static var ALIGN_CENTER = "ALIGN_C";
static var ALIGN_RIGHT = "ALIGN_R";
static var ALIGN_BOTTOM_LEFT = "ALIGN_BL";
static var ALIGN_BOTTOM = "ALIGN_B";
static var ALIGN_BOTTOM_RIGHT = "ALIGN_BR";
static var FORMAT_SHORT = "ShortForm";
static var FORMAT_LONG = "LongForm";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 1479 MovieClip [__Packages.mochi.as2.MochiCoins] Frame 0
class mochi.as2.MochiCoins
{
function MochiCoins () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showStore(options) {
mochi.as2.MochiServices.send("coins_showStore", {options:options}, null, null);
}
static function showItem(options) {
if ((options == undefined) || (typeof(options.item) != "string")) {
trace("ERROR: showItem call must pass an Object with an item key");
return(undefined);
}
mochi.as2.MochiServices.send("coins_showItem", {options:options}, null, null);
}
static function showLoginWidget(options) {
mochi.as2.MochiServices.setContainer();
mochi.as2.MochiServices.stayOnTop();
mochi.as2.MochiServices.send("coins_showLoginWidget", {options:options});
}
static function hideLoginWidget() {
mochi.as2.MochiServices.send("coins_hideLoginWidget");
}
static function getStoreItems() {
mochi.as2.MochiServices.send("coins_getStoreItems");
}
static function getUserInfo() {
mochi.as2.MochiServices.send("coins_getUserInfo");
}
static function saveUserProperties(properties) {
mochi.as2.MochiServices.send("coins_saveUserProperties", properties);
}
static function addEventListener(eventType, delegate) {
_dispatcher.addEventListener(eventType, delegate);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, delegate) {
_dispatcher.removeEventListener(eventType, delegate);
}
static var WIDGET_LOADED = "WidgetLoaded";
static var LOGGED_IN = "LoggedIn";
static var LOGGED_OUT = "LoggedOut";
static var LOGIN_SHOW = "LoginShow";
static var LOGIN_HIDE = "LoginHide";
static var STORE_SHOW = "StoreShow";
static var STORE_HIDE = "StoreHide";
static var PROFILE_SHOW = "ProfileShow";
static var PROFILE_HIDE = "ProfileHide";
static var PROPERTIES_SAVED = "PropertySaved";
static var ITEM_OWNED = "ItemOwned";
static var ITEM_NEW = "ItemNew";
static var STORE_ITEMS = "StoreItems";
static var USER_INFO = "UserInfo";
static var ERROR = "Error";
static var IO_ERROR = "IOError";
static var NO_USER = "NoUser";
static var PROPERTIES_SIZE = "PropertiesSize";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 12 Button
on (keyPress "<Space>") {
_root.got2go = 2;
}
Symbol 20 MovieClip Frame 60
gotoAndPlay (20);
Symbol 22 Button
on (release) {
_root.got2go = 2;
}
on (keyPress "<Space>") {
_root.got2go = 2;
}
Symbol 23 MovieClip Frame 150
stop();
Symbol 28 MovieClip Frame 67
stop();
Symbol 44 MovieClip Frame 12
stop();
Symbol 45 MovieClip Frame 7
stopAllSounds();
Symbol 45 MovieClip Frame 285
_root.got2go = 2;
stop();
Symbol 47 Button
on (release) {
getURL ("http://www.pyrozen.com/", "_blank");
}
on (keyPress "<Space>") {
_root.got2go = 2;
}
Symbol 52 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.shakemenuintro == 2) {
_root.shakemenuintro = 1;
gotoAndPlay (2);
}
};
Symbol 59 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.golumiereintromenu == 2) {
_root.golumiereintromenu = 1;
gotoAndPlay (2);
}
};
Symbol 60 MovieClip Frame 22
stop();
Symbol 64 MovieClip Frame 1
gotoAndPlay(random(13) + 2);
Symbol 64 MovieClip Frame 15
gotoAndPlay (2);
Symbol 67 MovieClip Frame 110
gotoAndPlay (50);
Symbol 70 MovieClip Frame 1
stop();
Symbol 79 Button
on (release) {
act = 2;
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (16);
}
Symbol 85 MovieClip Frame 1
stop();
Symbol 85 MovieClip Frame 2
_root.shakemenuintro = 2;
Symbol 85 MovieClip Frame 15
stop();
Symbol 91 Button
on (release) {
getURL ("http://twitter.com/Gamesfree_ca", "_blank");
}
on (rollOver) {
gotoAndPlay (51);
}
on (rollOut) {
gotoAndPlay (66);
}
Symbol 93 MovieClip Frame 50
stop();
Symbol 93 MovieClip Frame 65
stop();
Symbol 93 MovieClip Frame 80
gotoAndStop (50);
Symbol 94 Button
on (release) {
act = 2;
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (16);
}
Symbol 95 MovieClip Frame 1
stop();
Symbol 95 MovieClip Frame 2
_root.shakemenuintro = 2;
Symbol 95 MovieClip Frame 15
stop();
Symbol 99 MovieClip Frame 1
stopAllSounds();
Symbol 99 MovieClip Frame 79
_root.golumiereintromenu = 2;
Symbol 99 MovieClip Frame 464
stop();
Symbol 99 MovieClip Frame 465
stopAllSounds();
Symbol 99 MovieClip Frame 467
stop();
Symbol 108 Button
on (release) {
getURL (_root.moregameslink, "_blank");
}
Symbol 122 MovieClip Frame 1
stop();
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.onReleaseOutside = function () {
this.gotoAndStop(1);
};
this.onRelease = function () {
getURL ("http://www.bubblebox.com/", "_blank");
};
Symbol 129 MovieClip Frame 27
stop();
Symbol 133 MovieClip Frame 1
stop();
Symbol 382 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.lavr + 1);
};
Symbol 382 MovieClip Frame 2
_root.moregameslink = "http://www.neodelight.com";
Symbol 382 MovieClip Frame 3
_root.moregameslink = "http://www.andkon.com";
Symbol 382 MovieClip Frame 4
_root.moregameslink = "http://www.anyad.rulez.org";
Symbol 382 MovieClip Frame 5
_root.moregameslink = "http://www.girldressupgames.biz";
Symbol 382 MovieClip Frame 6
_root.moregameslink = "http://www.bringler.com";
Symbol 382 MovieClip Frame 7
_root.moregameslink = "http://www.bubblebox.com";
Symbol 382 MovieClip Frame 8
_root.moregameslink = "http://www.bunnygames.com";
Symbol 382 MovieClip Frame 9
_root.moregameslink = "http://www.dailyfreegames.com";
Symbol 382 MovieClip Frame 10
_root.moregameslink = "http://www.directgamez.com";
Symbol 382 MovieClip Frame 11
_root.moregameslink = "http://www.2flashgames.com";
Symbol 382 MovieClip Frame 12
_root.moregameslink = "http://www.flashninjaclan.com";
Symbol 382 MovieClip Frame 13
_root.moregameslink = "http://www.dailyaddictinggames.com/";
Symbol 382 MovieClip Frame 14
_root.moregameslink = "http://www.funny-games.biz";
Symbol 382 MovieClip Frame 15
_root.moregameslink = "http://www.gameitnow.com";
Symbol 382 MovieClip Frame 16
_root.moregameslink = "http://www.gamesplz.com";
Symbol 382 MovieClip Frame 17
_root.moregameslink = "http://www.onjogos.com.br";
Symbol 382 MovieClip Frame 18
_root.moregameslink = "http://www.gamesfreak.net";
Symbol 382 MovieClip Frame 19
_root.moregameslink = "http://www.stoneagegames.com";
Symbol 382 MovieClip Frame 20
_root.moregameslink = "http://www.jarkey.net";
Symbol 382 MovieClip Frame 21
_root.moregameslink = "http://www.play4all.net/";
Symbol 382 MovieClip Frame 22
_root.moregameslink = "http://www.keepbusy.net";
Symbol 382 MovieClip Frame 23
_root.moregameslink = "http://www.microjogos.com";
Symbol 382 MovieClip Frame 24
_root.moregameslink = "http://www.minijuegos.com";
Symbol 382 MovieClip Frame 25
_root.moregameslink = "http://www.oyunskor.com/";
Symbol 382 MovieClip Frame 26
_root.moregameslink = "http://www.mostfungames.com";
Symbol 382 MovieClip Frame 27
_root.moregameslink = "http://www.gameshot.org";
Symbol 382 MovieClip Frame 28
_root.moregameslink = "http://www.online-games-zone.com/";
Symbol 382 MovieClip Frame 29
_root.moregameslink = "http://www.puffgames.com";
Symbol 382 MovieClip Frame 30
_root.moregameslink = "http://www.spele.nl";
Symbol 382 MovieClip Frame 31
_root.moregameslink = "http://www.t45ol.com";
Symbol 382 MovieClip Frame 32
_root.moregameslink = "http://www.thegamesonline.com/";
Symbol 382 MovieClip Frame 33
_root.moregameslink = "http://www.ultimatearcade.com";
Symbol 382 MovieClip Frame 34
_root.moregameslink = "http://www.girlgames4u.com/";
Symbol 382 MovieClip Frame 35
_root.moregameslink = "http://www.gamesfree.ca/";
Symbol 382 MovieClip Frame 36
_root.moregameslink = "http://www.stickpage.com/";
Symbol 382 MovieClip Frame 37
_root.moregameslink = "http://www.gamespond.net/";
Symbol 382 MovieClip Frame 38
_root.moregameslink = "http://www.flashgames.it/";
Symbol 382 MovieClip Frame 39
_root.moregameslink = "http://www.gamesgirl.ca/";
Symbol 382 MovieClip Frame 40
_root.moregameslink = "http://www.hallpass.com/";
Symbol 382 MovieClip Frame 41
_root.moregameslink = "http://www.addictinggames.com/";
Symbol 382 MovieClip Frame 42
_root.moregameslink = "http://www.benz.be";
Symbol 382 MovieClip Frame 43
_root.moregameslink = "http://www.net-games.co.il/";
Symbol 382 MovieClip Frame 44
_root.moregameslink = "http://www.net-games.biz/";
Symbol 382 MovieClip Frame 45
_root.moregameslink = "http://www.pinkyarcade.com/";
Symbol 382 MovieClip Frame 46
_root.moregameslink = "http://www.komikler.com/index.php";
Symbol 382 MovieClip Frame 47
_root.moregameslink = "http://www.twizl.com/";
Symbol 382 MovieClip Frame 48
_root.moregameslink = "http://www.a10.com/";
Symbol 382 MovieClip Frame 49
_root.moregameslink = "http://www.bonniegames.com/";
Symbol 382 MovieClip Frame 50
_root.moregameslink = "http://www.ug2.com/";
Symbol 382 MovieClip Frame 51
_root.moregameslink = "http://www.gamedesire.com/";
Symbol 382 MovieClip Frame 52
_root.moregameslink = "http://www.gamesclub.com/";
Symbol 382 MovieClip Frame 53
_root.moregameslink = "http://www.killhours.com/";
Symbol 382 MovieClip Frame 54
_root.moregameslink = "http://www.flasharcadegamessite.com/";
Symbol 382 MovieClip Frame 55
_root.moregameslink = "http://www.roundgames.com/";
Symbol 382 MovieClip Frame 56
_root.moregameslink = "http://www.arcadegangsta.com/";
Symbol 382 MovieClip Frame 57
_root.moregameslink = "http://www.gamebusted.com/";
Symbol 382 MovieClip Frame 58
_root.moregameslink = "http://www.flash-games.net/";
Symbol 382 MovieClip Frame 59
_root.moregameslink = "http://www.flash-game.net/";
Symbol 382 MovieClip Frame 60
_root.moregameslink = "http://www.kingofgames.net";
Symbol 382 MovieClip Frame 61
_root.moregameslink = "http://www.stungames.com/";
Symbol 382 MovieClip Frame 62
_root.moregameslink = "http://www.123spill.no/";
Symbol 382 MovieClip Frame 63
_root.moregameslink = "http://www.tomsgames.com/";
Symbol 382 MovieClip Frame 64
_root.moregameslink = "http://www.octogames.com/";
Symbol 382 MovieClip Frame 65
_root.moregameslink = "http://www.branchez-vous.com/";
Symbol 382 MovieClip Frame 66
_root.moregameslink = "http://www.fupa.com/";
Symbol 382 MovieClip Frame 67
_root.moregameslink = "http://www.kibagames.com/";
Symbol 382 MovieClip Frame 68
_root.moregameslink = "http://www.kraloyun.com/";
Symbol 382 MovieClip Frame 69
_root.moregameslink = "http://www.spieleaffe.de/";
Symbol 384 MovieClip Frame 1
onEnterFrame = function () {
if (_currentframe <= 200) {
mySound = new Sound();
mySound.setVolume((200 - _currentframe) / 2);
mySound.start(0, 1000);
}
};
Symbol 384 MovieClip Frame 201
stopAllSounds();
onEnterFrame = function () {
aa = 1;
};
Symbol 384 MovieClip Frame 203
mySound = new Sound();
mySound.setVolume(100);
mySound.start(0, 1000);
Symbol 384 MovieClip Frame 251
_root.got2go = 2;
stop();
Symbol 396 MovieClip Frame 5
if (_root.user.data.lvl == undefined) {
_root.loadsucces = 1;
} else {
_root.lvl = _root.user.data.lvl;
_root.pts = _root.user.data.pts;
_root.loadsucces = 2;
}
Symbol 396 MovieClip Frame 74
if (_root.loadsucces != 2) {
gotoAndPlay (96);
}
Symbol 396 MovieClip Frame 95
_parent.gotoAndStop(21);
stop();
Symbol 396 MovieClip Frame 164
_parent.gotoAndStop(20);
stop();
Symbol 400 MovieClip Frame 60
aa = 150;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Symbol 400 MovieClip Frame 120
stop();
_root.got2go = 2;
Symbol 411 MovieClip Frame 2
namee = _root.yourname;
scoree = _root.pts;
_root.namee = _root.yourname;
_root.scoree = _root.pts;
if (_root.yourname == "ENTER YOUR NAME") {
_root.got2go = 2;
}
Symbol 411 MovieClip Frame 4
loadVariablesNum ("http://www.gamesfree.ca/hs/killh1n1.php?submit=1", 0, "POST");
Symbol 411 MovieClip Frame 60
stop();
Instance of Symbol 95 MovieClip in Symbol 411 MovieClip Frame 60
onClipEvent (load) {
boxx.txx = "SEE HIGH SCORES";
boxx1.txx = boxx.txx;
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
boxx4.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.gamesfree.ca/hs/killh1n1hs.php", _blank);
}
}
Instance of Symbol 95 MovieClip in Symbol 411 MovieClip Frame 60
onClipEvent (load) {
boxx.txx = "CONTINUE";
boxx1.txx = boxx.txx;
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
boxx4.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.got2go = 2;
}
}
Symbol 412 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.panelhs);
};
Instance of Symbol 95 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) {
boxx.txx = "SUBMIT";
boxx1.txx = boxx.txx;
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
boxx4.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.panelhs = 2;
}
}
Instance of Symbol 95 MovieClip in Symbol 412 MovieClip Frame 1
onClipEvent (load) {
boxx.txx = "SKIP";
boxx1.txx = boxx.txx;
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
boxx4.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.got2go = 2;
}
}
Symbol 421 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.rating);
};
Symbol 434 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.fondugo);
};
Instance of Symbol 95 MovieClip in Symbol 434 MovieClip Frame 2
onClipEvent (load) {
boxx.txx = "YES";
boxx1.txx = boxx.txx;
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
boxx4.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.got2go = 2;
_root.fondugo = 1;
}
}
Instance of Symbol 95 MovieClip in Symbol 434 MovieClip Frame 2
onClipEvent (load) {
boxx.txx = "NO";
boxx1.txx = boxx.txx;
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
boxx4.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.fondugo = 1;
}
}
Symbol 453 MovieClip Frame 1
stop();
Symbol 468 MovieClip Frame 60
stop();
Symbol 469 MovieClip Frame 15
stop();
Symbol 473 MovieClip Frame 1
aa = random(3) + 1;
gotoAndPlay(aa * 2);
Symbol 473 MovieClip Frame 3
stop();
Symbol 473 MovieClip Frame 5
stop();
Symbol 473 MovieClip Frame 7
stop();
Symbol 474 MovieClip Frame 1
stop();
Symbol 474 MovieClip Frame 10
_parent.boxx.gotoAndStop(2);
Symbol 474 MovieClip Frame 90
stop();
Symbol 506 MovieClip Frame 1
stop();
Instance of Symbol 506 MovieClip in Symbol 507 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_parent._parent.st);
}
Symbol 512 MovieClip Frame 1
aa = random(3) + 1;
if (_parent.genrre == 1) {
gotoAndPlay(aa * 2);
}
if (_parent.genrre == 2) {
gotoAndPlay((aa * 2) + 6);
}
Symbol 512 MovieClip Frame 3
stop();
Symbol 512 MovieClip Frame 5
stop();
Symbol 512 MovieClip Frame 7
stop();
Symbol 512 MovieClip Frame 9
stop();
Symbol 512 MovieClip Frame 11
stop();
Symbol 512 MovieClip Frame 13
stop();
Symbol 513 MovieClip Frame 1
stop();
Symbol 516 MovieClip Frame 1
stop();
Instance of Symbol 513 MovieClip "boxx" in Symbol 516 MovieClip Frame 1
onClipEvent (load) {
st = _parent._parent._currentframe - 1;
genrre = 1;
}
Symbol 520 MovieClip Frame 1
stop();
Instance of Symbol 513 MovieClip "boxx" in Symbol 520 MovieClip Frame 1
onClipEvent (load) {
st = _parent._parent._currentframe - 1;
genrre = 2;
}
Symbol 524 MovieClip Frame 1
stop();
Instance of Symbol 513 MovieClip "boxx" in Symbol 524 MovieClip Frame 1
onClipEvent (load) {
st = _parent._parent._currentframe - 1;
genrre = 1;
}
Symbol 527 MovieClip Frame 1
stop();
Instance of Symbol 513 MovieClip "boxx" in Symbol 527 MovieClip Frame 1
onClipEvent (load) {
st = _parent._parent._currentframe - 1;
genrre = 2;
}
Symbol 531 MovieClip Frame 1
stop();
Instance of Symbol 513 MovieClip "boxx" in Symbol 531 MovieClip Frame 1
onClipEvent (load) {
st = _parent._parent._currentframe - 1;
genrre = 1;
}
Symbol 535 MovieClip Frame 1
stop();
Instance of Symbol 513 MovieClip "boxx" in Symbol 535 MovieClip Frame 1
onClipEvent (load) {
st = _parent._parent._currentframe - 1;
genrre = 2;
}
Symbol 539 MovieClip Frame 1
stop();
Instance of Symbol 513 MovieClip "boxx" in Symbol 539 MovieClip Frame 1
onClipEvent (load) {
st = _parent._parent._currentframe - 1;
genrre = 1;
}
Symbol 543 MovieClip Frame 1
stop();
Instance of Symbol 513 MovieClip "boxx" in Symbol 543 MovieClip Frame 1
onClipEvent (load) {
st = _parent._parent._currentframe - 1;
genrre = 2;
}
Symbol 547 MovieClip Frame 1
stop();
Instance of Symbol 513 MovieClip "boxx" in Symbol 547 MovieClip Frame 1
onClipEvent (load) {
st = _parent._parent._currentframe - 1;
genrre = 1;
}
Symbol 551 MovieClip Frame 1
stop();
Instance of Symbol 513 MovieClip "boxx" in Symbol 551 MovieClip Frame 1
onClipEvent (load) {
st = _parent._parent._currentframe - 1;
genrre = 1;
}
Symbol 555 MovieClip Frame 1
stop();
Instance of Symbol 513 MovieClip "boxx" in Symbol 555 MovieClip Frame 1
onClipEvent (load) {
st = _parent._parent._currentframe - 1;
genrre = 2;
}
Symbol 559 MovieClip Frame 1
stop();
Instance of Symbol 513 MovieClip "boxx" in Symbol 559 MovieClip Frame 1
onClipEvent (load) {
st = _parent._parent._currentframe - 1;
genrre = 2;
}
Symbol 563 MovieClip Frame 1
stop();
Instance of Symbol 513 MovieClip "boxx" in Symbol 563 MovieClip Frame 1
onClipEvent (load) {
st = _parent._parent._currentframe - 1;
genrre = 1;
}
Symbol 567 MovieClip Frame 1
stop();
Instance of Symbol 513 MovieClip "boxx" in Symbol 567 MovieClip Frame 1
onClipEvent (load) {
st = _parent._parent._currentframe - 1;
genrre = 1;
}
Symbol 571 MovieClip Frame 1
stop();
Instance of Symbol 513 MovieClip "boxx" in Symbol 571 MovieClip Frame 1
onClipEvent (load) {
st = _parent._parent._currentframe - 1;
genrre = 1;
}
Symbol 575 MovieClip Frame 1
stop();
Instance of Symbol 513 MovieClip "boxx" in Symbol 575 MovieClip Frame 1
onClipEvent (load) {
st = _parent._parent._currentframe - 1;
genrre = 1;
}
Symbol 578 MovieClip Frame 1
stop();
Instance of Symbol 513 MovieClip "boxx" in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
st = _parent._parent._currentframe - 1;
genrre = 1;
}
Symbol 582 MovieClip Frame 1
stop();
Instance of Symbol 513 MovieClip "boxx" in Symbol 582 MovieClip Frame 1
onClipEvent (load) {
st = _parent._parent._currentframe - 1;
genrre = 2;
}
Symbol 586 MovieClip Frame 1
stop();
Instance of Symbol 513 MovieClip "boxx" in Symbol 586 MovieClip Frame 1
onClipEvent (load) {
st = _parent._parent._currentframe - 1;
genrre = 2;
}
Symbol 590 MovieClip Frame 1
stop();
Instance of Symbol 513 MovieClip "boxx" in Symbol 590 MovieClip Frame 1
onClipEvent (load) {
st = _parent._parent._currentframe - 1;
genrre = 2;
}
Symbol 594 MovieClip Frame 1
stop();
Instance of Symbol 513 MovieClip "boxx" in Symbol 594 MovieClip Frame 1
onClipEvent (load) {
st = _parent._parent._currentframe - 1;
genrre = 1;
}
Symbol 598 MovieClip Frame 1
stop();
Instance of Symbol 513 MovieClip "boxx" in Symbol 598 MovieClip Frame 1
onClipEvent (load) {
st = _parent._parent._currentframe - 1;
genrre = 1;
}
Symbol 602 MovieClip Frame 1
stop();
Instance of Symbol 513 MovieClip "boxx" in Symbol 602 MovieClip Frame 1
onClipEvent (load) {
st = _parent._parent._currentframe - 1;
genrre = 1;
}
Symbol 605 MovieClip Frame 1
stop();
Instance of Symbol 513 MovieClip "boxx" in Symbol 605 MovieClip Frame 1
onClipEvent (load) {
st = _parent._parent._currentframe - 1;
genrre = 1;
}
Symbol 608 MovieClip Frame 1
stop();
Instance of Symbol 513 MovieClip "boxx" in Symbol 608 MovieClip Frame 1
onClipEvent (load) {
st = _parent._parent._currentframe - 1;
genrre = 1;
}
Symbol 612 MovieClip Frame 1
stop();
Instance of Symbol 513 MovieClip "boxx" in Symbol 612 MovieClip Frame 1
onClipEvent (load) {
st = _parent._parent._currentframe - 1;
genrre = 1;
}
Symbol 616 MovieClip Frame 1
stop();
Instance of Symbol 513 MovieClip "boxx" in Symbol 616 MovieClip Frame 1
onClipEvent (load) {
st = _parent._parent._currentframe - 1;
genrre = 2;
}
Symbol 619 MovieClip Frame 1
stop();
Instance of Symbol 513 MovieClip "boxx" in Symbol 619 MovieClip Frame 1
onClipEvent (load) {
st = _parent._parent._currentframe - 1;
genrre = 2;
}
Symbol 623 MovieClip Frame 1
stop();
Instance of Symbol 513 MovieClip "boxx" in Symbol 623 MovieClip Frame 1
onClipEvent (load) {
st = _parent._parent._currentframe - 1;
genrre = 1;
}
Symbol 626 MovieClip Frame 1
stop();
Instance of Symbol 513 MovieClip "boxx" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
st = _parent._parent._currentframe - 1;
genrre = 2;
}
Symbol 627 MovieClip Frame 1
stop();
Symbol 705 MovieClip Frame 1
stop();
Symbol 711 MovieClip Frame 30
stop();
Symbol 712 MovieClip Frame 1
stop();
Symbol 733 MovieClip Frame 15
stop();
Symbol 735 MovieClip Frame 15
stop();
Symbol 739 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_parent.st);
};
Symbol 740 MovieClip Frame 1
st = 1;
Symbol 740 MovieClip Frame 14
st = 2;
Symbol 740 MovieClip Frame 17
st = 3;
Symbol 740 MovieClip Frame 31
st = 4;
Symbol 741 MovieClip Frame 40
stop();
Instance of Symbol 740 MovieClip in Symbol 742 MovieClip Frame 10
/* no clip actions */
Symbol 744 MovieClip Frame 1
stop();
Symbol 750 MovieClip Frame 200
aa = random(80) + 1;
ab = _currentframe;
stop();
onEnterFrame = function () {
if ((aa == 0) && (_currentframe == ab)) {
play();
}
if (aa != 0) {
aa = aa - 1;
}
};
Instance of Symbol 750 MovieClip in Symbol 751 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay(random(199) + 1);
}
Symbol 782 MovieClip Frame 1
stop();
Symbol 792 MovieClip Frame 1
stop();
Symbol 801 MovieClip Frame 3
_root.pts = _root.pts + 50;
Symbol 801 MovieClip Frame 20
stop();
Symbol 802 MovieClip Frame 1
stop();
Symbol 815 MovieClip Frame 41
stop();
Symbol 828 MovieClip Frame 24
stop();
Symbol 831 MovieClip Frame 1
stop();
Symbol 831 MovieClip Frame 35
stop();
Symbol 831 MovieClip Frame 70
stop();
Instance of Symbol 841 MovieClip "en_1" in Symbol 851 MovieClip Frame 2
onClipEvent (load) {
gotoAndPlay(random(400) + 1);
}
Instance of Symbol 850 MovieClip "en_2" in Symbol 851 MovieClip Frame 5
onClipEvent (load) {
gotoAndPlay(random(400) + 1);
}
Instance of Symbol 841 MovieClip "en_1" in Symbol 851 MovieClip Frame 6
onClipEvent (load) {
gotoAndPlay(random(400) + 1);
}
Instance of Symbol 850 MovieClip "en_2" in Symbol 851 MovieClip Frame 7
onClipEvent (load) {
gotoAndPlay(random(360) + 1);
}
Instance of Symbol 841 MovieClip "en_1" in Symbol 851 MovieClip Frame 8
onClipEvent (load) {
gotoAndPlay(random(400) + 1);
}
Instance of Symbol 841 MovieClip "en_1" in Symbol 851 MovieClip Frame 8
onClipEvent (load) {
gotoAndPlay(random(400) + 1);
}
Instance of Symbol 850 MovieClip "en_2" in Symbol 851 MovieClip Frame 9
onClipEvent (load) {
gotoAndPlay(random(360) + 1);
}
Instance of Symbol 841 MovieClip "en_1" in Symbol 851 MovieClip Frame 9
onClipEvent (load) {
gotoAndPlay(random(400) + 1);
}
Instance of Symbol 841 MovieClip "en_1" in Symbol 851 MovieClip Frame 12
onClipEvent (load) {
gotoAndPlay(random(400) + 1);
}
Instance of Symbol 841 MovieClip "en_1" in Symbol 851 MovieClip Frame 12
onClipEvent (load) {
gotoAndPlay(random(400) + 1);
}
Instance of Symbol 850 MovieClip "en_2" in Symbol 851 MovieClip Frame 13
onClipEvent (load) {
gotoAndPlay(random(360) + 1);
}
Instance of Symbol 850 MovieClip "en_2" in Symbol 851 MovieClip Frame 13
onClipEvent (load) {
gotoAndPlay(random(360) + 1);
}
Instance of Symbol 850 MovieClip "en_2" in Symbol 851 MovieClip Frame 13
onClipEvent (load) {
gotoAndPlay(random(360) + 1);
}
Instance of Symbol 841 MovieClip "en_1" in Symbol 851 MovieClip Frame 15
onClipEvent (load) {
gotoAndPlay(random(400) + 1);
}
Instance of Symbol 841 MovieClip "en_1" in Symbol 851 MovieClip Frame 15
onClipEvent (load) {
gotoAndPlay(random(400) + 1);
}
Instance of Symbol 841 MovieClip "en_1" in Symbol 851 MovieClip Frame 15
onClipEvent (load) {
gotoAndPlay(random(400) + 1);
}
Instance of Symbol 850 MovieClip "en_2" in Symbol 851 MovieClip Frame 15
onClipEvent (load) {
gotoAndPlay(random(360) + 1);
}
Instance of Symbol 850 MovieClip "en_2" in Symbol 851 MovieClip Frame 16
onClipEvent (load) {
gotoAndPlay(random(360) + 1);
}
Instance of Symbol 841 MovieClip "en_1" in Symbol 851 MovieClip Frame 17
onClipEvent (load) {
gotoAndPlay(random(400) + 1);
}
Instance of Symbol 841 MovieClip "en_1" in Symbol 851 MovieClip Frame 17
onClipEvent (load) {
gotoAndPlay(random(400) + 1);
}
Instance of Symbol 850 MovieClip "en_2" in Symbol 851 MovieClip Frame 19
onClipEvent (load) {
gotoAndPlay(random(360) + 1);
}
Instance of Symbol 841 MovieClip "en_1" in Symbol 851 MovieClip Frame 20
onClipEvent (load) {
gotoAndPlay(random(400) + 1);
}
Instance of Symbol 850 MovieClip "en_2" in Symbol 851 MovieClip Frame 22
onClipEvent (load) {
gotoAndPlay(random(400) + 1);
}
Instance of Symbol 841 MovieClip "en_1" in Symbol 851 MovieClip Frame 22
onClipEvent (load) {
gotoAndPlay(random(400) + 1);
}
Instance of Symbol 841 MovieClip "en_1" in Symbol 851 MovieClip Frame 22
onClipEvent (load) {
gotoAndPlay(random(400) + 1);
}
Instance of Symbol 841 MovieClip "en_1" in Symbol 851 MovieClip Frame 22
onClipEvent (load) {
gotoAndPlay(random(400) + 1);
}
Instance of Symbol 841 MovieClip "en_1" in Symbol 851 MovieClip Frame 23
onClipEvent (load) {
gotoAndPlay(random(400) + 1);
}
Instance of Symbol 850 MovieClip "en_2" in Symbol 851 MovieClip Frame 23
onClipEvent (load) {
gotoAndPlay(random(400) + 1);
}
Instance of Symbol 850 MovieClip "en_2" in Symbol 851 MovieClip Frame 23
onClipEvent (load) {
gotoAndPlay(random(400) + 1);
}
Instance of Symbol 841 MovieClip "en_1" in Symbol 851 MovieClip Frame 26
onClipEvent (load) {
gotoAndPlay(random(400) + 1);
}
Instance of Symbol 850 MovieClip "en_2" in Symbol 851 MovieClip Frame 27
onClipEvent (load) {
gotoAndPlay(random(360) + 1);
}
Instance of Symbol 850 MovieClip "en_2" in Symbol 851 MovieClip Frame 27
onClipEvent (load) {
gotoAndPlay(random(360) + 1);
}
Instance of Symbol 841 MovieClip "en_1" in Symbol 851 MovieClip Frame 28
onClipEvent (load) {
gotoAndPlay(random(400) + 1);
}
Instance of Symbol 841 MovieClip "en_1" in Symbol 851 MovieClip Frame 28
onClipEvent (load) {
gotoAndPlay(random(400) + 1);
}
Instance of Symbol 841 MovieClip "en_1" in Symbol 851 MovieClip Frame 28
onClipEvent (load) {
gotoAndPlay(random(400) + 1);
}
Instance of Symbol 841 MovieClip "en_1" in Symbol 851 MovieClip Frame 28
onClipEvent (load) {
gotoAndPlay(random(400) + 1);
}
Instance of Symbol 841 MovieClip "en_1" in Symbol 851 MovieClip Frame 28
onClipEvent (load) {
gotoAndPlay(random(400) + 1);
}
Symbol 857 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.typeoftouch);
};
Symbol 861 MovieClip Frame 1
gotoAndPlay(_root.typeoftouch * 2);
Symbol 861 MovieClip Frame 3
stop();
Symbol 861 MovieClip Frame 5
stop();
Symbol 862 MovieClip Frame 1
_root.canMoveDrops = true;
stop();
onEnterFrame = function () {
if (_root.dropsGotHit == 2) {
_root.dropsGotHit = 1;
_root.canMoveDrops = false;
gotoAndPlay (2);
}
};
Symbol 862 MovieClip Frame 3
if (_root.typeoftouch == 1) {
_root.pts = _root.pts + 100;
}
Symbol 862 MovieClip Frame 47
gotoAndStop (1);
Symbol 950 MovieClip Frame 1
stop();
Instance of Symbol 782 MovieClip in Symbol 950 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_parent._currentframe);
}
Instance of Symbol 851 MovieClip "hit2" in Symbol 950 MovieClip Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_parent._currentframe);
}
Symbol 951 MovieClip Frame 1
stop();
Symbol 953 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.shakemenuintro == 2) {
_root.shakemenuintro = 1;
gotoAndPlay (2);
}
};
Symbol 961 MovieClip Frame 1
stop();
_root.timeleftb = _root.timeleftc;
aa = 12;
onEnterFrame = function () {
gotoAndStop(Math.round((400 * _root.timeleftc) / _root.timeleftb) + 1);
if (aa != 0) {
aa = aa - 1;
} else {
if (_root.tempsStop != 2) {
_root.timeleftc = _root.timeleftc - 1;
}
aa = 12;
}
};
Symbol 968 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.ptsb != root.pts) {
root.ptsb = root.pts;
gotoAndPlay (2);
}
};
Symbol 990 Button
on (release) {
act = 2;
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (16);
}
Symbol 991 MovieClip Frame 1
stop();
Symbol 991 MovieClip Frame 2
_root.shakemenuintro = 2;
Symbol 991 MovieClip Frame 15
stop();
Symbol 1015 MovieClip Frame 445
stop();
Symbol 1019 MovieClip Frame 2
stop();
Symbol 1020 MovieClip Frame 1
stop();
Instance of Symbol 991 MovieClip in Symbol 1020 MovieClip Frame 2
onClipEvent (load) {
boxx.txx = "READ ABOUT";
boxx1.txx = boxx.txx;
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
boxx4.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
getURL ("http://www.killh1n1.com/ib-drops/i-b-drops.html", _blank);
}
}
Symbol 1021 MovieClip Frame 1
stop();
Symbol 1034 Button
on (release) {
act = 2;
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (16);
}
Symbol 1035 MovieClip Frame 1
stop();
Symbol 1035 MovieClip Frame 2
_root.shakemenuintro = 2;
Symbol 1035 MovieClip Frame 15
stop();
Symbol 1057 MovieClip Frame 1
stop();
Symbol 1067 MovieClip Frame 1
stop();
Symbol 1084 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.tutost);
};
Instance of Symbol 1035 MovieClip in Symbol 1084 MovieClip Frame 1
onClipEvent (load) {
boxx.txx = "NEXT";
boxx1.txx = boxx.txx;
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
boxx4.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.tutost = 2;
}
}
Instance of Symbol 1035 MovieClip in Symbol 1084 MovieClip Frame 2
onClipEvent (load) {
boxx.txx = "NEXT";
boxx1.txx = boxx.txx;
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
boxx4.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.tutost = 3;
}
}
Instance of Symbol 1035 MovieClip in Symbol 1084 MovieClip Frame 3
onClipEvent (load) {
boxx.txx = "OK";
boxx1.txx = boxx.txx;
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
boxx4.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.tutogo = 3;
}
}
Instance of Symbol 1035 MovieClip in Symbol 1084 MovieClip Frame 4
onClipEvent (load) {
boxx.txx = "NEXT";
boxx1.txx = boxx.txx;
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
boxx4.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.tutost = 5;
}
}
Instance of Symbol 1035 MovieClip in Symbol 1084 MovieClip Frame 5
onClipEvent (load) {
boxx.txx = "NEXT";
boxx1.txx = boxx.txx;
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
boxx4.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.tutost = 6;
}
}
Instance of Symbol 1035 MovieClip in Symbol 1084 MovieClip Frame 6
onClipEvent (load) {
boxx.txx = "NEXT";
boxx1.txx = boxx.txx;
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
boxx4.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.tutost = 7;
}
}
Instance of Symbol 1035 MovieClip in Symbol 1084 MovieClip Frame 7
onClipEvent (load) {
boxx.txx = "OK";
boxx1.txx = boxx.txx;
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
boxx4.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.tutogo = 3;
}
}
Symbol 1087 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.tutogo == 2) {
_root.tutogo = 1;
gotoAndPlay (2);
}
if (_root.tutogo == 3) {
_root.tutogo = 1;
gotoAndPlay (31);
}
};
Symbol 1087 MovieClip Frame 2
_root.canMoveDrops = false;
_root.canMove = false;
_root.characterState = "standing";
_root.character.characterIn.gotoAndStop("standing");
_root.tempsStop = 2;
Symbol 1087 MovieClip Frame 30
stop();
Symbol 1087 MovieClip Frame 40
_root.canMoveDrops = true;
if (_root.over._currentframe == 1) {
_root.canMove = true;
}
_root.tempsStop = 3;
Symbol 1089 MovieClip Frame 1
stopAllSounds();
Symbol 1089 MovieClip Frame 3
stop();
Symbol 1092 MovieClip Frame 1
stopAllSounds();
Symbol 1092 MovieClip Frame 3
stop();
Symbol 1094 MovieClip Frame 1
stopAllSounds();
Symbol 1094 MovieClip Frame 3
stop();
Symbol 1096 MovieClip Frame 1
stopAllSounds();
Symbol 1096 MovieClip Frame 3
stop();
Symbol 1097 MovieClip Frame 1
stop();
Symbol 1107 Button
on (release) {
gotoAndPlay (1686);
}
Symbol 1123 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.envoiemainintro == 2) {
_root.envoiemainintro = 3;
gotoAndPlay (2);
}
};
stop();
Symbol 1123 MovieClip Frame 34
gotoAndPlay (4);
Symbol 1132 MovieClip Frame 80
gotoAndPlay(random(70) + 1);
Symbol 1135 MovieClip Frame 1
stop();
Symbol 1147 MovieClip Frame 80
gotoAndPlay(random(70) + 1);
Symbol 1151 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.gojoueintro == 2) {
_root.gojoueintro = 1;
gotoAndPlay (2);
}
if (_root.gojoueintro == 36) {
_root.gojoueintro = 1;
gotoAndStop (41);
}
if (_root.gojoueintro == 42) {
_root.gojoueintro = 1;
gotoAndStop (42);
}
};
Instance of Symbol 1135 MovieClip in Symbol 1151 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_root.withbecintro);
}
Symbol 1151 MovieClip Frame 40
stop();
Symbol 1151 MovieClip Frame 41
stop();
Symbol 1151 MovieClip Frame 42
stop();
Symbol 1156 MovieClip Frame 1
stop();
Symbol 1170 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.persotalk2 == 2) {
_root.persotalk2 = 3;
gotoAndPlay (2);
}
};
Symbol 1182 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.envoiemainintro == 3) {
_root.envoiemainintro = 1;
gotoAndPlay (2);
}
};
Symbol 1182 MovieClip Frame 5
stop();
Symbol 1228 MovieClip Frame 1
gotoAndPlay(_root.persotalk * 2);
Symbol 1228 MovieClip Frame 3
stop();
Symbol 1228 MovieClip Frame 5
stop();
Symbol 1228 MovieClip Frame 7
stop();
Symbol 1228 MovieClip Frame 9
stop();
Symbol 1228 MovieClip Frame 11
stop();
Symbol 1228 MovieClip Frame 13
stop();
Symbol 1228 MovieClip Frame 15
stop();
Symbol 1228 MovieClip Frame 17
stop();
Symbol 1228 MovieClip Frame 19
stop();
Symbol 1228 MovieClip Frame 21
stop();
Symbol 1228 MovieClip Frame 23
stop();
Symbol 1228 MovieClip Frame 25
stop();
Symbol 1228 MovieClip Frame 27
stop();
Symbol 1228 MovieClip Frame 29
stop();
Symbol 1228 MovieClip Frame 31
stop();
Symbol 1228 MovieClip Frame 33
stop();
Symbol 1228 MovieClip Frame 35
stop();
Symbol 1228 MovieClip Frame 37
stop();
Symbol 1228 MovieClip Frame 39
stop();
Symbol 1228 MovieClip Frame 41
stop();
Symbol 1228 MovieClip Frame 43
stop();
Symbol 1228 MovieClip Frame 45
stop();
Symbol 1228 MovieClip Frame 47
stop();
Symbol 1228 MovieClip Frame 49
stop();
Symbol 1228 MovieClip Frame 51
stop();
Symbol 1228 MovieClip Frame 61
stop();
Symbol 1228 MovieClip Frame 63
stop();
Symbol 1228 MovieClip Frame 65
stop();
Symbol 1228 MovieClip Frame 67
stop();
Symbol 1228 MovieClip Frame 69
stop();
Symbol 1228 MovieClip Frame 73
stop();
Symbol 1228 MovieClip Frame 75
stop();
Symbol 1228 MovieClip Frame 77
stop();
Symbol 1228 MovieClip Frame 79
stop();
Symbol 1228 MovieClip Frame 83
stop();
Symbol 1228 MovieClip Frame 85
stop();
Symbol 1228 MovieClip Frame 87
stop();
Symbol 1228 MovieClip Frame 89
stop();
Symbol 1228 MovieClip Frame 91
stop();
Symbol 1231 Button
on (release) {
_parent.play();
}
Symbol 1232 MovieClip Frame 55
stop();
Symbol 1239 MovieClip Frame 18
_root.gointropart2 = 2;
Symbol 1239 MovieClip Frame 55
_root.gointropart2 = 3;
Symbol 1239 MovieClip Frame 74
_root.gointropart2 = 3;
Symbol 1239 MovieClip Frame 92
_root.gointropart2 = 3;
Symbol 1239 MovieClip Frame 110
_root.gointropart2 = 3;
Symbol 1239 MovieClip Frame 127
_root.gointropart2 = 3;
Symbol 1239 MovieClip Frame 144
_root.gointropart2 = 3;
Symbol 1239 MovieClip Frame 157
_root.gointropart2 = 3;
Symbol 1239 MovieClip Frame 253
_root.gointropart2 = 4;
Symbol 1239 MovieClip Frame 413
_root.gointropart2 = 5;
Symbol 1239 MovieClip Frame 437
stop();
Symbol 1256 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.gointropart2 == 3) {
_root.gointropart2 = 1;
gotoAndStop(_currentframe + 1);
}
};
Symbol 1268 MovieClip Frame 1
stop();
Symbol 1271 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.smilestatusintro);
};
Symbol 1272 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.goarmintro == 2) {
_root.goarmintro = 1;
gotoAndPlay (2);
}
};
Symbol 1272 MovieClip Frame 30
stop();
Symbol 1275 MovieClip Frame 5
stop();
Symbol 1279 MovieClip Frame 175
stop();
_root.got2go = 2;
Symbol 1286 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.gojoueintro == 2) {
_root.gojoueintro = 1;
gotoAndPlay (2);
}
};
Symbol 1300 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.nodyourheadintro == 2) {
_root.nodyourheadintro = 1;
gotoAndPlay (2);
}
if (_root.nodyourheadintro == 3) {
_root.nodyourheadintro = 1;
gotoAndPlay (95);
}
};
Symbol 1300 MovieClip Frame 94
_root.got2go = 2;
stop();
Symbol 1300 MovieClip Frame 165
gotoAndPlay (123);
Symbol 1307 MovieClip Frame 191
stop();
_root.got2go = 3;
Symbol 1322 MovieClip Frame 270
stop();
Symbol 1337 MovieClip Frame 50
_root.booksintro = _root.booksintro + 1;
Symbol 1337 MovieClip Frame 51
if (_root.booksintro == 6) {
stop();
} else {
gotoAndPlay (2);
}
Symbol 1343 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.booksintro);
};
Instance of Symbol 1343 MovieClip in Symbol 1344 MovieClip Frame 1
onClipEvent (load) {
_root.booksintro = 1;
}
Symbol 1354 MovieClip Frame 1
stopAllSounds();
Symbol 1354 MovieClip Frame 3
stop();
Symbol 1358 MovieClip Frame 250
gotoAndPlay (51);
Symbol 1361 MovieClip Frame 1
stop();
Symbol 1368 MovieClip Frame 1
stopAllSounds();
Symbol 1368 MovieClip Frame 3
stop();
Symbol 1374 MovieClip Frame 1
stop();
Symbol 1381 MovieClip Frame 15
stop();
Symbol 1383 MovieClip Frame 15
stop();
Symbol 1387 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_parent.st);
};
Symbol 1389 MovieClip Frame 1
st = 1;
onEnterFrame = function () {
if (_root.mickanimfinlevel1 == 2) {
_root.mickanimfinlevel1 = 1;
gotoAndPlay (35);
}
if (_root.mickanimfinlevel1 == 3) {
_root.mickanimfinlevel1 = 1;
gotoAndPlay (2);
}
if (_root.avoyemickesti == 2) {
_root.gojoueintro = 42;
_root.avoyemickesti = 1;
gotoAndPlay (35);
}
};
Symbol 1389 MovieClip Frame 14
st = 2;
Symbol 1389 MovieClip Frame 17
st = 3;
Symbol 1389 MovieClip Frame 31
st = 4;
Symbol 1389 MovieClip Frame 34
gotoAndPlay (1);
Symbol 1389 MovieClip Frame 60
stop();
Symbol 1398 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.scient == 2) {
_root.scient = 1;
gotoAndPlay (2);
}
};
Symbol 1398 MovieClip Frame 114
_root.scient = -2;
stop();
Symbol 1400 MovieClip Frame 1
stop();
Symbol 1401 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.scient == -2) {
_root.scient = 1;
gotoAndPlay (2);
}
if (_root.scient == 6) {
_root.scient = 1;
gotoAndPlay (56);
}
if (_root.scient == 11) {
_root.scient = 1;
boxx.gotoAndStop(2);
}
if (_root.scient == 12) {
_root.scient = 1;
boxx.gotoAndStop(1);
}
};
Symbol 1401 MovieClip Frame 55
boxx.gotoAndStop(2);
_parent.play();
stop();
Symbol 1401 MovieClip Frame 56
boxx.gotoAndStop(1);
Symbol 1401 MovieClip Frame 79
stop();
Symbol 1403 MovieClip Frame 50
stop();
_root.got2go = 2;
Symbol 1414 MovieClip Frame 2
stopAllSounds();
Symbol 1414 MovieClip Frame 421
_root.got2go = 2;
Symbol 1414 MovieClip Frame 694
stop();
Symbol 1416 MovieClip Frame 70
stop();
Symbol 1417 MovieClip Frame 70
stop();
_root.got2go = 2;
Symbol 1419 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.mickusineanim == 2) {
_root.mickusineanim = 1;
gotoAndPlay (2);
}
};
Symbol 1419 MovieClip Frame 30
stop();
Symbol 1421 MovieClip Frame 3
stop();
Symbol 1423 MovieClip Frame 2
onEnterFrame = function () {
mySound = new Sound();
mySound.setVolume((50 - _currentframe) / 2);
mySound.start(0, 1000);
};
Symbol 1423 MovieClip Frame 50
stopAllSounds();
onEnterFrame = function () {
aa = 1;
};
Symbol 1423 MovieClip Frame 52
mySound = new Sound();
mySound.setVolume(100);
mySound.start(0, 1000);
Symbol 1423 MovieClip Frame 53
stop();
Symbol 1426 MovieClip Frame 545
_root.got2go = 2;
stop();
Symbol 1441 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_root.wbappear == 2) {
_root.wbappear = 1;
gotoAndPlay (2);
}
};
Symbol 1441 MovieClip Frame 80
_root.got2go = 2;
stop();
Symbol 1443 MovieClip Frame 1
stopAllSounds();
Symbol 1443 MovieClip Frame 3
stop();
Symbol 1464 MovieClip Frame 1
stop();
onEnterFrame = function () {
gotoAndStop(_root.lvl);
};
Symbol 1471 Button
on (release) {
act = 2;
}
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut) {
gotoAndPlay (16);
}
Symbol 1472 MovieClip Frame 1
stop();
Symbol 1472 MovieClip Frame 2
_root.shakemenuintro = 2;
Symbol 1472 MovieClip Frame 15
stop();
Symbol 1473 MovieClip Frame 60
stop();
Instance of Symbol 1472 MovieClip in Symbol 1473 MovieClip Frame 60
onClipEvent (load) {
boxx.txx = "OK";
boxx1.txx = boxx.txx;
boxx2.txx = boxx.txx;
boxx3.txx = boxx.txx;
boxx4.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (act == 2) {
act = 1;
_root.got2go = 2;
}
}