Frame 1 (1.72 KiB) ●
globalVolume = new Sound();
_global.app = this;
app.soundVol = 100;
loaded = Math.round(_root.getBytesLoaded());
total = Math.round(_root.getBytesTotal());
percent = (loaded / total) * 100;
trace(percent + " cur percent loaded");
if ((percent >= 10) && (percent < 20)) {
loadMC.gotoAndStop(2);
}
if ((percent >= 20) && (percent < 30)) {
loadMC.gotoAndStop(3);
}
if ((percent >= 30) && (percent < 40)) {
loadMC.gotoAndStop(4);
}
if ((percent >= 40) && (percent < 50)) {
loadMC.gotoAndStop(5);
}
if ((percent >= 50) && (percent < 60)) {
loadMC.gotoAndStop(6);
}
if ((percent >= 60) && (percent < 70)) {
loadMC.gotoAndStop(7);
}
if ((percent >= 70) && (percent < 80)) {
loadMC.gotoAndStop(8);
}
if ((percent >= 80) && (percent < 90)) {
loadMC.gotoAndStop(9);
}
if ((percent >= 90) && (percent < 100)) {
loadMC.gotoAndStop(10);
}
if (percent == 100) {
loadMC.gotoAndStop(11);
}
_global.ipb_get_gname = function () {
var _loc4 = _root._url;
var _loc5 = "";
var _loc2 = "";
var _loc6 = (_loc4.lastIndexOf("\\") + 1);
if ((_loc6 == -1) || (_loc6 == 0)) {
_loc6 = _loc4.lastIndexOf("/") + 1;
}
var _loc3 = _loc6;
var _loc7 = String(_loc4).length;
while (_loc3 < String(_loc4).length) {
_loc2 = _loc4.charAt(_loc3);
if (_loc2 == ".") {
break;
}
_loc5 = _loc5 + _loc2;
_loc3++;
}
return(_loc5);
};
ipb_gname = _global.ipb_get_gname();
xx = new LoadVars();
xx.onLoad = function (success) {
if (success) {
_global.ipb_scoreVar = this.scoreVar;
}
};
fname = ((("arcade/gamedata/" + ipb_gname) + "/") + ipb_gname) + ".txt";
xx.load(fname);
Instance of Symbol 15 MovieClip "versionMC" in Frame 1 (76 B)
onClipEvent (load) {
this._visible = false;
scripts.showVersion = false;
}
Frame 2 (208 B)
loaded = Math.round(_root.getBytesLoaded());
total = Math.round(_root.getBytesTotal());
percent = (loaded / total) * 100;
if (loaded == total) {
gotoAndPlay ("loadDone");
} else {
gotoAndPlay (1);
}
Frame 17 (803 B)
loadUser = new LoadVars();
app.basePath + app.userPath;
loadUser.onLoad = function () {
returnLog = loadUser.toString();
app.rawName = this.screenName;
index = app.rawName.indexOf(newline);
trace("index " + index);
if (index > -1) {
trace("stripping return");
app.myscreenName = app.rawName.substr(0, index);
} else {
trace("no return to strip....");
app.myscreenName = app.rawName;
}
if (app.myscreenName == "null") {
trace("null returned");
} else if (app.myscreenName == "undefined") {
trace("undefined returned");
app.myscreenName = "null";
} else if (app.myscreenName == "") {
trace("blank val returned");
app.myscreenName = "null";
} else if (app.myscreenName == null) {
trace("actual null returned");
app.myscreenName = "null";
}
};
Frame 18 (95 B)
menuloopSound = new Sound();
menuloopSound.attachSound("menuloop");
menuLoopPlaying = false;
Frame 22 (92 B)
if (menuLoopPlaying == false) {
menuloopSound.start(0, 400);
menuLoopPlaying = true;
}
Frame 25 (8 B)
stop();
Frame 26 (8 B)
stop();
Instance of Symbol 79 MovieClip "messagingMC" in Frame 26 (21 B)
/* no clip actions */
Frame 39 (8 B)
stop();
Frame 50 (8 B)
stop();
Frame 51 (199 B)
menuloopSound.stop();
menuLoopPlaying = false;
stopAllSounds();
levelMusicOn = false;
if (app.soundVol == 100) {
soundMC.gotoAndStop("soundON");
} else {
soundMC.gotoAndStop("soundOFF");
}
Instance of Symbol 610 MovieClip "scriptsMC" in Frame 52 (28.07 KiB) ● ● ●
onClipEvent (load) {
function toggleVolume() {
trace("toggelVol called");
if (app.soundVol == 100) {
app.soundVol = 0;
_parent.globalVolume.setVolume(0);
app.helpMC.soundMC.gotoAndStop("soundOFF");
} else {
app.soundVol = 100;
_parent.globalVolume.setVolume(100);
app.helpMC.soundMC.gotoAndStop("soundON");
}
}
function randomIn(lowerbound, upperbound) {
return(Math.round(((upperbound - lowerbound) * Math.random()) + lowerbound));
}
function radToDegrees(radsIn) {
degrees = (radsIn * 180) / Math.PI;
return(degrees);
}
function degreesToRads(degreesIn) {
radians = (degreesIn * Math.PI) / 180;
return(radians);
}
function getUserName() {
screenName = null;
loadUser = new LoadVars();
basePath + userPath;
loadUser.onLoad = function () {
sName = this.screenName;
index = sName.indexOf(newline);
trace("return index:" + index);
if (index > -1) {
sName = my_str.sName(0, index);
}
if (sName != "null") {
scripts.screenName = sName;
} else {
trace("null screenName found");
}
};
}
function initGame() {
_global.HUD = _parent.hudMC;
_global.scene = _parent.levelMC;
scene.startX = scene._x;
levelHolder = _parent.levelMC;
_global.tileW = 36;
_global.tileH = 36;
newBak = 1;
scene.pyramidMC.gotoAndStop(newBak);
_parent.bakMC.gotoAndStop(newBak);
HUD.changeTo.gotoAndStop(newBak);
activeTile.x = 0;
activeTile.y = 0;
lives = 3;
targetScore = 25;
intermediateScore = 15;
levelBonusIncrement = 250;
levelBonus = 1000 - levelBonusIncrement;
baddyLogicDelay = 1500;
baddyLogicDelay2 = 1200;
baddySpawnDelay = 5000;
followTime = 4000;
baddyLevel = 1000;
baddyCount = 0;
baddyIncrement = 0;
charDepth = 900;
gameOn = false;
charFrozen = true;
gameFrozen = true;
totalScore = 0;
levelScore = 0;
levelNum = 0;
roundNum = 0;
showHelpFlag = true;
helpOn = false;
quitOn = false;
updateHUD();
}
function toggleQuit() {
if (quitOn) {
quitOn = false;
if (char.dirHilite._x == -1000) {
char.dirHilite._x = char.dirHilite.curX;
}
_parent.helpMC.quitMC.gotoAndPlay("hide");
_parent.helpMC.gotoAndPlay("hide");
gamePaused = false;
if (_parent.messagingMC.moving) {
_parent.messagingMC;
} else {
levelMusic.stop();
levelMusic.start(0, 200);
levelMusicOn = true;
}
} else {
quitOn = true;
gamePaused = true;
levelMusic.stop();
levelMusicOn = false;
_parent.messagingMC.stop();
_parent.helpMC.quitMC.gotoAndPlay("show");
_parent.helpMC.gotoAndPlay("showQuit");
char.dirHilite.curX = char.dirHilite._x;
char.dirHilite._x = -1000;
}
}
function doQuit() {
trace("quit button action here");
_parent.gotoAndPlay("gameOver");
}
function toggleHelp() {
if (helpOn) {
helpOn = false;
if (char._x == -1000) {
char._x = char.curX;
}
_parent.helpMC.gotoAndPlay("hide");
if (quitOn == false) {
gamePaused = false;
if (_parent.messagingMC.moving) {
_parent.messagingMC;
} else if (levelMusicOn == false) {
levelMusic.start(0, 200);
levelMusicOn = true;
}
}
} else {
helpOn = true;
gamePaused = true;
levelMusic.stop();
levelMusicOn = false;
_parent.messagingMC.stop();
_parent.helpMC.gotoAndPlay("show");
char.curX = char._x;
char._x = -1000;
}
}
function addScore(scoreVal) {
oldScore = totalScore;
totalScore = totalScore + scoreVal;
if ((oldScore < 10000) && (totalScore >= 10000)) {
trace("newLife awarded");
extraLifeSound.start(0, 1);
lives++;
updateHUD();
}
if (Math.floor(totalScore / 20000) > Math.floor(oldScore / 20000)) {
trace("newLife awarded");
extraLifeSound.start(0, 1);
lives++;
updateHUD();
}
updateHUD();
}
function updateHUD() {
HUD.scoreDisplay = totalScore;
HUD.scoreMC.updateScore(totalScore);
newlevelDisp = (4 * (levelNum - 1)) + roundNum;
HUD.levelDisplay = levelNum;
HUD.levelMC.updateScore(newlevelDisp);
HUD.levelTag.updateTag(newlevelDisp);
HUD.roundDisplay = roundNum;
HUD.livesDisplay = lives;
HUD.livesTag.updateTag(lives);
HUD.livesMC.updateScore(lives);
}
function initLevel() {
scripts.levelMusicOn = false;
baddyCount = 0;
firstBaddyFlag = true;
baddyLevel = 1000;
dropFollow = false;
if (levelNum == 0) {
levelNum = 1;
}
roundNum = roundNum + 1;
if (roundNum == 5) {
levelNum = levelNum + 1;
roundNum = 1;
curBak = scene.pyramidMC._currentframe;
newBak = curBak + 1;
if (newBak > 3) {
newBak = 1;
}
}
scene.pyramidMC.gotoAndStop(newBak);
_parent.bakMC.gotoAndStop(newBak);
HUD.changeTo.gotoAndStop(newBak);
levelBonus = levelBonus + levelBonusIncrement;
seahorseFlag = false;
garyFlag = false;
if (levelNum == 1) {
flipStyle = 1;
targetColor = 2;
baddyLimit = 4;
baddyLimit = 3;
}
if (levelNum == 2) {
flipStyle = 2;
targetColor = 3;
baddyLimit = 4;
}
if (levelNum == 3) {
flipStyle = 3;
targetColor = 2;
baddyLimit = 5;
}
if (levelNum == 4) {
flipStyle = 4;
targetColor = 3;
baddyLimit = 5;
}
if (levelNum >= 5) {
flipStyle = 5;
targetColor = 3;
baddyLimit = 6;
}
if (newBak == 1) {
tileBaseColor = 1;
}
if (newBak == 2) {
tileBaseColor = 4;
targetColor = targetColor + 3;
}
if (newBak == 3) {
tileBaseColor = 7;
targetColor = targetColor + 6;
}
trace("levelNum:" + levelNum);
trace("flipStyle:" + flipStyle);
trace("targetColor:" + targetColor);
trace("baddyLimit:" + baddyLimit);
HUD.sampleTile.art.gotoAndStop(targetColor);
totalColorTiles = 21;
tilezStart = 100;
i = 0;
while (i < 8) {
tilezStart++;
j = 0;
while (j <= 8) {
tile = scene[(("t_" + i) + "_") + j];
tilezStart++;
scene.pyramidMC.swapDepths(98);
tile.swapDepths(tilezStart);
if (((((i == 0) || (j == 0)) || (i > 7)) || (j > 7)) || ((i + j) > 7)) {
tile.gotoAndStop("blank");
} else {
tile.tcolor = tileBaseColor;
tile.gotoAndStop(tileBaseColor);
}
j++;
}
i++;
}
if (levelNum == 1) {
if (roundNum == 1) {
scene.t_5_0.gotoAndStop("disc");
scene.t_0_5.gotoAndStop("disc");
discNum = 2;
}
if (roundNum == 2) {
scene.t_6_0.gotoAndStop("disc");
scene.t_0_6.gotoAndStop("disc");
discNum = 2;
}
if (roundNum == 3) {
scene.t_6_0.gotoAndStop("disc");
scene.t_0_4.gotoAndStop("disc");
discNum = 2;
}
if (roundNum == 4) {
scene.t_6_0.gotoAndStop("disc");
scene.t_0_4.gotoAndStop("disc");
discNum = 2;
}
}
if (levelNum == 2) {
if (roundNum == 1) {
scene.t_2_0.gotoAndStop("disc");
scene.t_5_0.gotoAndStop("disc");
scene.t_0_4.gotoAndStop("disc");
discNum = 3;
}
if (roundNum == 2) {
scene.t_2_0.gotoAndStop("disc");
scene.t_6_0.gotoAndStop("disc");
scene.t_0_3.gotoAndStop("disc");
discNum = 3;
}
if (roundNum == 3) {
scene.t_2_0.gotoAndStop("disc");
scene.t_6_0.gotoAndStop("disc");
scene.t_0_4.gotoAndStop("disc");
discNum = 3;
}
if (roundNum == 4) {
scene.t_2_0.gotoAndStop("disc");
scene.t_6_0.gotoAndStop("disc");
scene.t_0_4.gotoAndStop("disc");
discNum = 3;
}
}
if (levelNum > 2) {
scene.t_2_0.gotoAndStop("disc");
scene.t_0_2.gotoAndStop("disc");
scene.t_6_0.gotoAndStop("disc");
scene.t_0_4.gotoAndStop("disc");
discNum = 4;
}
updateHUD();
startPos = [1, 1];
char = scene.attachMovie("char", "char", charDepth);
_global.char = char;
char.myZ = charDepth;
char.moveable = true;
char.discMove = false;
char.fallMove = false;
char.jumping = false;
char.art.gotoAndStop("down");
placeChar(1, 1);
charFrozen = false;
charJumping = false;
gameFrozen = false;
_parent.messagingMC.gotoAndPlay("ready_go");
}
function newChar(x, y) {
if (lives > 0) {
dropFollow = false;
char.moveable = true;
char.discMove = false;
char.fallMove = false;
placeChar(x, y);
char.art.gotoAndStop("down");
gameFrozen = false;
charFrozen = false;
charJumping = false;
char.jumping = false;
updateHUD();
} else {
endGame();
}
}
function charDie(dieType) {
if ((gameFrozen == false) && (charFrozen == false)) {
gameFrozen = true;
charFrozen = true;
lives = lives - 1;
updateHUD();
if (lives > 0) {
_parent.messagingMC.gotoAndPlay("try_again");
} else {
_parent.messagingMC.gotoAndPlay("barnacles");
}
if (dieType == "fall") {
char.x = 1;
char.y = 1;
} else {
char.art.gotoAndStop("die_left");
}
}
}
function endGame() {
gameOn = false;
_parent.gotoAndPlay("gameOver");
}
function placeChar(x, y) {
char.dirHilite.gotoAndStop("blank");
targetTile = (("scene.t_" + x) + "_") + y;
char._x = eval (targetTile)._x;
char._y = eval (targetTile)._y;
char.x = x;
char.y = y;
zsum = (x + y) * 10;
myZ = char.myZ;
newZ = myZ + zSum;
bMC.swapDepths(newZ);
activeTile.x = x;
activeTile.y = y;
}
function moveChar(x, y) {
char.dirHilite.gotoAndStop("blank");
char.jumping = false;
charJumping = false;
targetTile = (("scene.t_" + x) + "_") + y;
char._x = eval (targetTile)._x;
char._y = eval (targetTile)._y;
char.x = x;
char.y = y;
restDir = char.jumpDir;
char.art.gotoAndStop(restDir);
activeTile.x = x;
activeTile.y = y;
zsum = (x + y) * 10;
myZ = char.myZ;
newZ = myZ + zSum;
bMC.swapDepths(newZ);
if (charFrozen == false) {
doTileAction(x, y);
}
}
function doTileAction(x, y) {
if ((x == 0) && (x == 0)) {
}
mTile = eval ((("scene.t_" + x) + "_") + y);
if (mTile.style == "color") {
flipTile(mTile);
}
if (mTile.style == "blank") {
trace("blank tile, falling........");
xDif = 0;
yDif = -500;
char.moveable = false;
char.xInc = xDif / 30;
char.yInc = yDif / 30;
char.fallMove = true;
charFalling = true;
char.swapDepths(scene.fallProxy);
fallSound.start(0, 1);
}
if (mTile.style == "disc") {
mTile.gotoAndStop("blank");
if (x == 0) {
char.art.gotoAndStop("whirlPool_left");
} else {
char.art.gotoAndStop("whirlPool_right");
}
xDif = mTile._x - scene.t_0_0._x;
yDif = mTile._y - scene.t_0_0._y;
char.moveable = false;
char.discMove = true;
char.xInc = xDif / 30;
char.yInc = yDif / 30;
dropX = activeTile.x;
dropY = activeTile.y;
dropFollow = true;
dropFollowTime = getTimer() + followTime;
}
}
function flipTile(mTile) {
tColor = mTile.tcolor;
newColor = tColor;
if (flipStyle == 1) {
if (tColor == tileBaseColor) {
newColor = tileBaseColor + 1;
addScore(targetScore);
}
}
if (flipStyle == 2) {
if (tColor == tileBaseColor) {
newColor = tileBaseColor + 1;
addScore(intermediateScore);
}
if (tColor == (tileBaseColor + 1)) {
newColor = tileBaseColor + 2;
addScore(targetScore);
}
}
if (flipStyle == 3) {
if (tColor == tileBaseColor) {
newColor = tileBaseColor + 1;
addScore(targetScore);
}
if (tColor == (tileBaseColor + 1)) {
newColor = tileBaseColor;
}
}
if (flipStyle == 4) {
if (tColor == tileBaseColor) {
newColor = tileBaseColor + 1;
addScore(intermediateScore);
}
if (tColor == (tileBaseColor + 1)) {
newColor = tileBaseColor + 2;
addScore(targetScore);
}
if (tColor == (tileBaseColor + 2)) {
newColor = tileBaseColor + 1;
}
}
if (flipStyle == 5) {
if (tColor == tileBaseColor) {
newColor = tileBaseColor + 1;
addScore(intermediateScore);
}
if (tColor == (tileBaseColor + 1)) {
newColor = tileBaseColor + 2;
addScore(targetScore);
}
if (tColor == (tileBaseColor + 2)) {
newColor = tileBaseColor;
}
}
mTile.tcolor = newColor;
mTile.gotoAndStop(newColor);
checkTiles();
}
function checkTiles() {
targetCount = 0;
i = 1;
while (i < 8) {
j = 1;
while (j < 8) {
tile = scene[(("t_" + i) + "_") + j];
if ((tile.style == "color") && (tile.tcolor == targetColor)) {
targetCount++;
}
j++;
}
i++;
}
totalTarget = targetCount;
if (targetCount == totalColorTiles) {
levelDone();
}
}
function levelDone() {
gameFrozen = true;
char.moveable = false;
charFrozen = true;
iterativeLevel = roundNum + ((levelNum - 1) * 4);
levelBonus = 1000 + ((iterativeLevel - 1) * 500);
if (levelBonus > 4500) {
levelBonus = 4500;
}
addScore(levelBonus);
suicideJump = false;
e = 0;
while (e <= baddyIncrement) {
badMC = eval ("scene.bad_" + baddyIncrement);
if ((badMC.jumping == false) && (badMC.active)) {
if ((badMC.x == char.x) && (badMC.y == char.y)) {
badType = badMC.myType;
if (badType == 2) {
badMC.active = false;
baddyCount--;
badMC.removeMovieClip();
suicideJump = true;
}
if (badType == 3) {
badMC.active = false;
baddyCount--;
badMC.removeMovieClip();
scripts.seahorseFlag = false;
suicideJump = true;
}
if (badType == 6) {
badMC.active = false;
baddyCount--;
badMC.removeMovieClip();
scripts.seahorseFlag = false;
suicideJump = true;
}
if (badType == 4) {
badMC.active = false;
addScore(300);
baddyCount--;
badMC.swapDepths(charDepth + 5);
badMC.art.gotoAndPlay("die");
suicideJump = false;
}
if (badType == 5) {
badMC.active = false;
baddyCount--;
addScore(100);
faceDir = badMC.faceDir;
dieFrame = "die" + faceDir;
badMC.swapDepths(charDepth + 5);
badMC.art.gotoAndPlay(dieFrame);
suicideJump = false;
scripts.garyFlag = false;
}
}
}
e++;
}
if (suicideJump == true) {
lives = lives - 1;
updateHUD();
char.art.gotoAndStop("die_left");
_parent.messagingMC.gotoAndPlay("level_done");
} else {
gameOn = false;
_parent.messagingMC.gotoAndPlay("level_done");
}
}
function buildMap() {
i = 0;
while (i < map[0].length) {
j = 0;
while (j < map.length) {
tile = scene.attachMovie("tile", (("t_" + i) + "_") + j, ++d);
tile._x = i * tileW;
tile._y = j * tileH;
tile.gotoAndStop(map[j][i] + 1);
j++;
}
i++;
}
}
function doRollOver(hDir) {
if ((gameOn && (charFrozen == false)) && (char.discMove == false)) {
char.rollDirection = hDir;
char.dirHilite.gotoAndStop(hDir);
}
}
function doTileClick(hDir) {
if ((((((gameOn && (charFrozen == false)) && (char.discMove == false)) && (char.fallMove == false)) && (char.jumping == false)) && (charJumping == false)) && (helpOn == false)) {
char.art.gotoAndStop(hDir);
newX = activeTile.x;
newY = activeTile.y;
switch (hDir) {
case "up" :
newDir = "jumpUp";
newY = activeTile.y - 1;
break;
case "down" :
newDir = "jumpDown";
newY = activeTile.y + 1;
break;
case "left" :
newDir = "jumpLeft";
newX = activeTile.x - 1;
break;
case "right" :
newDir = "jumpRight";
newX = activeTile.x + 1;
}
char.jumpDir = hDir;
char.jumpX = newX;
char.jumpY = newY;
charJumping = true;
char.jumping = true;
char.art.gotoAndPlay(newDir);
}
}
function navClick(mydir) {
if (gameOn && (charFrozen == false)) {
char.art.gotoAndStop(mydir);
newX = activeTile.x;
newY = activeTile.y;
switch (mydir) {
case "up" :
newY = activeTile.y - 1;
break;
case "down" :
newY = activeTile.y + 1;
break;
case "left" :
newX = activeTile.x - 1;
break;
case "right" :
newX = activeTile.x + 1;
}
moveChar(newX, newY);
}
}
function finishJump() {
newX = char.jumpX;
newY = char.jumpY;
restDir = char.jumDir;
moveChar(newX, newY);
charJumping = false;
char.jumping = false;
if (gameOn && (suicideJump == false)) {
char.art.gotoAndStop(restDir);
}
}
function newBaddy() {
if (baddyCount < baddyLimit) {
if (firstBaddyFlag) {
badPicker = 2;
firstBaddyFlag = false;
} else {
badPicker = randomIn(1, 10);
}
if (badPicker <= 4) {
badType = 2;
}
if ((badPicker == 5) || (badPicker == 6)) {
badType = 3;
}
if ((badPicker == 9) || (badPicker == 10)) {
badType = 4;
}
if ((badPicker == 7) || (badPicker == 8)) {
badType = 5;
}
if (seahorseFlag && (badType == 3)) {
badType = 2;
}
if (garyFlag && (badType == 5)) {
badType = 2;
}
if (newlevelDisp == 1) {
badType = 2;
}
if (newlevelDisp == 2) {
if (badType == 3) {
badType = 2;
}
if (badType == 5) {
badType = 2;
}
}
if (newlevelDisp == 3) {
if (badType == 3) {
badType = 2;
}
}
startSide = "";
startX = randomIn(1, 2);
if (startX == 1) {
startY = 2;
startSide = "left";
} else {
startY = 1;
startSide = "right";
}
if (badType == 5) {
garyFlag = true;
}
if (badType == 3) {
seahorseFlag = true;
}
badClip = "baddy" + badType;
baddyCount++;
baddyIncrement++;
baddy = scene.attachMovie(badClip, "bad_" + baddyIncrement, baddyLevel + baddyIncrement);
baddy.myType = badType;
baddy.myZ = baddyLevel + baddyIncrement;
baddy.falling = false;
baddy.startSide = startSide;
dropBaddy(baddy, startX, startY);
baddy.onEnterFrame = function () {
if (gameOn == false) {
baddyCount--;
this.removeMovieClip();
}
if (gamePaused == false) {
if ((this.activeX == null) || (this.activeY == null)) {
trace("invalid placement, kill myself!");
baddyCount--;
this.removeMovieClip();
}
if (this.falling) {
scripts.baddyFall(this);
} else if (this.dropping) {
scripts.baddyDrop(this);
} else if (this.active) {
if (this.myType == 3) {
if (getTimer() > (this.timeStart + scripts.baddyLogicDelay2)) {
scripts.baddyLogic(this);
this.timeStart = getTimer();
}
} else if (getTimer() > (this.timeStart + scripts.baddyLogicDelay)) {
scripts.baddyLogic(this);
this.timeStart = getTimer();
}
if (((this.x == char.x) && (this.y == char.y)) && (char.jumping == false)) {
if (this.active) {
if (this.jumping == false) {
scripts.baddyCollide(this);
this.timeStart = getTimer();
}
}
}
} else if (getTimer() > (this.timeStart + scripts.baddyLogicDelay)) {
this.removeMovieClip();
}
}
};
}
baddy.active = true;
baddy.timeStart = getTimer();
}
function baddyCollide(badMC) {
if ((badMC.jumping == false) && (char.jumping == false)) {
badType = badMC.myType;
switch (badType) {
case 2 :
if (gameFrozen == false) {
badMC.active = false;
baddyCount--;
badMC.removeMovieClip();
}
if ((charFrozen == false) && (gameFrozen == false)) {
charDie("hit");
}
break;
case 3 :
if (gameFrozen == false) {
badMC.active = false;
baddyCount--;
badMC.removeMovieClip();
scripts.seahorseFlag = false;
}
if ((charFrozen == false) && (gameFrozen == false)) {
charDie("hit");
}
break;
case 6 :
if (gameFrozen == false) {
badMC.active = false;
baddyCount--;
badMC.removeMovieClip();
scripts.seahorseFlag = false;
}
if ((charFrozen == false) && (gameFrozen == false)) {
charDie("hit");
}
break;
case 4 :
badMC.active = false;
addScore(300);
baddyCount--;
badMC.swapDepths(charDepth + 5);
badMC.art.gotoAndPlay("die");
break;
case 5 :
badMC.active = false;
baddyCount--;
addScore(100);
faceDir = badMC.faceDir;
dieFrame = "die" + faceDir;
badMC.swapDepths(charDepth + 5);
badMC.art.gotoAndPlay(dieFrame);
}
}
}
function baddyFall(badMC) {
badMC.active = false;
badMC._y = badMC._y + 15;
baddyType = badMC.myType;
if (badMC._y > 450) {
baddyCount--;
badMC.removeMovieClip();
if (baddyType == 5) {
scripts.garyFlag = false;
}
if ((baddyType == 3) || (baddyType == 6)) {
scripts.seahorseFlag = false;
}
}
}
function baddyTileAction(badMC, x, y) {
if (badMC.myType == 4) {
if ((x + y) < 8) {
mTile = eval ((("scene.t_" + x) + "_") + y);
if (mTile.tcolor == (tileBaseColor + 2)) {
mTile.tcolor = tileBaseColor + 1;
} else if (mTile.tcolor == (tileBaseColor + 1)) {
mTile.tcolor = tileBaseColor;
}
mTile.gotoAndStop(mTile.tcolor);
}
}
}
function baddyDrop(badMC) {
newY = badMC._y + 8;
if (newY >= badMC.dropY) {
newY = badMC.dropY;
badMC.dropping = false;
badMC.jumping = false;
badMC.activeY = badMC.dropTileY;
badMC.y = badMC.dropTileY;
baddyTileAction(badMC, badMC.x, badMC.y);
}
badMC._y = newY;
}
function baddyLogic(badMC) {
if ((gameOn && (gameFrozen == false)) && (gamePaused == false)) {
myType = badMC.myType;
myX = badMC.activeX;
myY = badMC.activeY;
targetX = myX;
targetY = myY;
if ((myType == 4) || (myType == 5)) {
if ((myX + myY) == 7) {
if (randomIn(0, 1)) {
jumpDir = "jumpRight";
targetX = myX + 1;
targetY = myY;
} else {
jumpDir = "jumpDown";
targetX = myX;
targetY = myY + 1;
}
} else {
charX = activeTile.x;
charY = activeTile.y;
downX = myX;
downY = myY + 1;
rightX = myX + 1;
rightY = myY;
if ((charX == downX) && (charY == downY)) {
jumpDir = "jumpRight";
targetX = myX + 1;
targetY = myY;
} else if ((charX == rightX) && (charY == rightY)) {
jumpDir = "jumpDown";
targetX = myX;
targetY = myY + 1;
} else if (randomIn(0, 1)) {
jumpDir = "jumpDown";
targetX = myX;
targetY = myY + 1;
} else {
jumpDir = "jumpRight";
targetX = myX + 1;
targetY = myY;
}
}
}
if (myType == 2) {
if ((myX + myY) == 7) {
if (randomIn(0, 1)) {
jumpDir = "jumpRight";
targetX = myX + 1;
targetY = myY;
} else {
jumpDir = "jumpDown";
targetX = myX;
targetY = myY + 1;
}
} else if (randomIn(0, 1)) {
jumpDir = "jumpDown";
targetX = myX;
targetY = myY + 1;
} else {
jumpDir = "jumpRight";
targetX = myX + 1;
targetY = myY;
}
}
if (myType == 3) {
jumpDown = randomIn(0, 1);
if ((myX + myY) == 6) {
trace("pop bubble routine");
if (jumpDown) {
jumpDir = "popDown";
targetX = myX;
targetY = myY + 1;
} else {
jumpDir = "popRight";
targetX = myX + 1;
targetY = myY;
}
} else if (jumpDown) {
jumpDir = "jumpDown";
targetX = myX;
targetY = myY + 1;
} else {
jumpDir = "jumpRight";
targetX = myX + 1;
targetY = myY;
}
}
if (myType == 6) {
if (dropFollow && (getTimer() > dropFollowTime)) {
dropFollow = false;
}
if (dropFollow) {
followX = dropX;
followY = dropY;
} else {
followX = activeTile.x;
followY = activeTile.y;
}
dX = Math.abs(Number(followX) - Number(myX));
dY = Math.abs(Number(followY) - Number(myY));
trace(((dX + ":") + dY) + " = distances");
right = true;
down = true;
if ((myX + myY) == 7) {
down = false;
right = false;
}
if (dY > dX) {
if ((followY < myY) || (down == false)) {
jumpDir = "jumpUp";
targetX = myX;
targetY = myY - 1;
} else {
jumpDir = "jumpDown";
targetX = myX;
targetY = myY + 1;
}
}
if (dY < dX) {
if ((followX < myX) || (right == false)) {
jumpDir = "jumpLeft";
targetX = myX - 1;
targetY = myY;
} else {
jumpDir = "jumpRight";
targetX = myX + 1;
targetY = myY;
}
}
if (dY == dX) {
if (right == false) {
if (followX < myX) {
jumpDir = "jumpLeft";
targetX = myX - 1;
targetY = myY;
} else {
jumpDir = "jumpUp";
targetX = myX;
targetY = myY - 1;
}
} else {
jChoice = randomIn(0, 1);
if (jChoice) {
if ((followY < myY) || (down == false)) {
jumpDir = "jumpUp";
targetX = myX;
targetY = myY - 1;
} else {
jumpDir = "jumpDown";
targetX = myX;
targetY = myY + 1;
}
} else if ((followX < myX) || (right == false)) {
jumpDir = "jumpLeft";
targetX = myX - 1;
targetY = myY;
} else {
jumpDir = "jumpRight";
targetX = myX + 1;
targetY = myY;
}
}
}
}
badMC.jumpX = targetX;
badMC.jumpY = targetY;
badMC.art.gotoAndPlay(jumpDir);
}
}
function placeBaddy(bMC, x, y) {
btargetTile = (("scene.t_" + x) + "_") + y;
bMC._x = eval (btargetTile)._x;
bMC._y = eval (btargetTile)._y;
bMC.x = x;
bMC.y = y;
bMC.activeX = x;
bMC.activeY = y;
zsum = (x + y) * 10;
myZ = bMC.myZ;
newZ = myZ + zSum;
bMC.swapDepths(newZ);
}
function dropBaddy(badMC, x, y) {
btargetTile = (("scene.t_" + x) + "_") + y;
badMC.dropY = eval (btargetTile)._y;
badMC.dropTileY = y;
badMC._x = eval (btargetTile)._x;
badMC._y = eval (btargetTile)._y - 160;
badMC.x = x;
badMC.y = 0;
badMC.activeX = x;
badMC.activeY = 0;
badMC.dropping = true;
zsum = (x + y) * 10;
myZ = bMC.myZ;
newZ = myZ + zSum;
bMC.swapDepths(newZ);
}
function moveBaddy(badMC, x, y) {
btargetTile = (("scene.t_" + x) + "_") + y;
badMC._x = eval (btargetTile)._x;
badMC._y = eval (btargetTile)._y;
badMC.x = x;
badMC.y = y;
badMC.activeX = x;
badMC.activeY = y;
myType = badMC.myType;
zsum = (x + y) * 10;
myZ = bMC.myZ;
newZ = myZ + zSum;
bMC.swapDepths(newZ);
if ((badMC.myType == 3) && ((x + y) == 7)) {
trace("changing badTypes to 6");
badMC.myType = 6;
badMC.gotoAndStop("noBubble");
}
faceDir = badMC.faceDir;
badMC.jumping = false;
badMC.art.gotoAndStop(faceDir);
baddyTileAction(badMC, badMC.x, badMC.y);
if (((x == 0) || (y == 0)) || ((x + y) > 7)) {
badMC.falling = true;
if (badMC.myType == 6) {
badMC.swapDepths(95);
}
}
}
function showHelp() {
helpOpen = true;
_parent.helpMC.gotoAndPlay("open");
}
function closeHelp() {
helpOpen = false;
_parent.helpMC.gotoAndPlay("close");
}
_global.scripts = this;
_global.gameRoot = _parent;
_global.map = [];
activeTile = new Object();
levelMusic = new Sound();
levelMusic.attachSound("levelMusic");
gameOverMusic = new Sound();
gameOverMusic.attachSound("gameOverMusic");
eBounceSound = new Sound();
eBounceSound.attachSound("eBounceSound");
fallSound = new Sound();
fallSound.attachSound("fallSound");
extraLifeSound = new Sound();
extraLifeSound.attachSound("extraLife");
screenName = _parent.screenName;
helpOn = false;
quitOn = false;
}
onClipEvent (enterFrame) {
if (char.discMove && (gamePaused == false)) {
char.moveable = false;
char.discMove = true;
newX = char._x - char.xInc;
newY = char._y - char.yInc;
char._x = newX;
char._y = newY;
if (char.x == 0) {
char.art.gotoAndStop("whirlPool_left");
} else {
char.art.gotoAndStop("whirlPool_right");
}
if (Math.abs(char._y - scene.t_0_1._y) < 5) {
char.moveable = true;
char.discMove = false;
discNum = discNum - 1;
moveChar(1, 1);
char.art.gotoAndStop("down");
}
}
if (char.fallMove && (gamePaused == false)) {
newX = char._x - char.xInc;
newY = char._y - char.yInc;
char._x = newX;
char._y = newY;
if (char._y > 520) {
char.moveable = true;
char.fallMove = false;
charFalling = false;
char.swapDepths(scene.fallProxy);
charDie("fall");
}
}
if (gameOn && (gamePaused == false)) {
if ((freezeStart > 0) && (gameFrozen)) {
if (getTimer() > freezeStop) {
freezeStart = 0;
gameFrozen = false;
}
}
}
if ((gameOn && (gameFrozen == false)) && (gamePaused == false)) {
if (getTimer() > (baddySpawnTimer + baddySpawnDelay)) {
baddySpawnTimer = getTimer();
newBaddy();
}
}
}
onClipEvent (keyDown) {
theKey = String.fromCharCode(Key.getAscii());
if (Key.isDown(16)) {
if (theKey == "&") {
scripts.lives++;
scripts.updateHUD();
}
if (theKey == "*") {
if (scripts.gameOn) {
scripts.levelDone();
}
}
}
}
Frame 58 (40 B)
stopAllSounds();
levelMusicOn = false;
Frame 61 (42 B)
scripts.initGame();
scripts.initLevel();
Frame 67 (13 B)
this.stop();
Frame 68 (400 B)
menuloopSound.stop();
menuLoopPlaying = false;
scripts.levelMusic.stop();
levelMusicOn = false;
app.gameScore = scripts.totalScore;
scripts.levelMusicFile.stop();
trace("app.myscreenName=" + app.myscreenName);
if (app.myscreenName == "null") {
trace("disabling sub button");
submitMC.gotoAndStop("disabled");
} else {
trace("enabling sub button");
submitMC.gotoAndStop("enabled");
}
Instance of Symbol 637 MovieClip "gscoreMC" in Frame 68 (2.19 KiB) ●
onClipEvent (load) {
function updateScore(inScore) {
if (inScore >= 10000000) {
this._x = 415;
}
if (inScore < 10000000) {
this._x = 415;
}
if (inScore < 1000000) {
this._x = 395;
}
if (inScore < 100000) {
this._x = 375;
}
if (inScore < 10000) {
this._x = 355;
}
if (inScore < 1000) {
this._x = 320;
}
if (inScore < 100) {
this._x = 300;
}
if (inScore < 10) {
this._x = 280;
}
premainder = 0;
if (inScore >= 10000000) {
myDigit = Math.floor(inScore / 10000000);
this.tenmillions.gotoAndStop(myDigit + 2);
premainder = myDigit * 10000000;
} else {
this.tenmillions.gotoAndStop(1);
}
if (inScore >= 1000000) {
myDigit = Math.floor((inScore - premainder) / 1000000);
this.millions.gotoAndStop(myDigit + 2);
premainder = premainder + (myDigit * 1000000);
} else {
this.millions.gotoAndStop(1);
}
if (inScore >= 100000) {
myDigit = Math.floor((inScore - premainder) / 100000);
this.hundredthousands.gotoAndStop(myDigit + 2);
premainder = premainder + (myDigit * 100000);
} else {
this.hundredthousands.gotoAndStop(1);
}
if (inScore >= 10000) {
myDigit = Math.floor((inScore - premainder) / 10000);
this.tenthousands.gotoAndStop(myDigit + 2);
premainder = premainder + (myDigit * 10000);
} else {
this.tenthousands.gotoAndStop(1);
}
if (inScore >= 1000) {
myDigit = Math.floor((inScore - premainder) / 1000);
this.thousands.gotoAndStop(myDigit + 2);
premainder = premainder + (myDigit * 1000);
} else {
this.thousands.gotoAndStop(1);
}
if (inScore >= 100) {
myDigit = Math.floor((inScore - premainder) / 100);
this.hundreds.gotoAndStop(myDigit + 2);
premainder = premainder + (myDigit * 100);
} else {
this.hundreds.gotoAndStop(1);
}
if (inScore >= 10) {
myDigit = Math.floor((inScore - premainder) / 10);
this.tens.gotoAndStop(myDigit + 2);
premainder = premainder + (myDigit * 10);
} else {
this.tens.gotoAndStop(1);
}
if (inScore >= 0) {
myDigit = Math.floor(inScore - premainder);
this.ones.gotoAndStop(Number(myDigit + 2));
} else {
this.ones.gotoAndStop(2);
}
}
updateScore(scripts.totalScore);
}
Frame 76 (8 B)
stop();
Frame 77 (1.21 KiB) ●
menuloopSound.stop();
menuLoopPlaying = false;
stopAllSounds();
scroller._y = 700;
(("/common/score/Scoreboard.jhtml?msg=S&limitEntries=true&game=sb_peril&name=" + app.myscreenName) + "&score=") + String(app.gameScore);
loadScores = new LoadVars();
app.basePath + app.submitPath;
loadScores.onLoad = function () {
trace("load complete");
if (this.msg == "EE") {
if (this.text == "no scores available for that game (sb_peril)") {
MSGtext = "Sorry, the high-score list is empty!";
} else {
MSGtext = "Oops, the high-score list isn\u2019t available right now!";
}
gotoAndStop ("displayError");
} else {
myScoreFlag = true;
z = 0;
while (z < 100) {
nVar = eval ("this.pn" + z);
sVar = eval ("this.ps" + z);
scrollVar = eval ("scroller.contentMain.score" + (z + 1));
scrollVar.gotoAndStop(1);
if (myScoreFlag) {
if ((app.gameScore == sVar) && (app.myscreenName == nVar)) {
trace("found my sub score at:" + z);
myScoreFlag = false;
scrollVar.gotoAndStop("hi");
}
}
scrollVar.placeval = z + 1;
scrollVar.nameval = nVar;
scrollVar.scoreval = sVar;
z++;
}
gotoAndPlay ("displayScores");
}
};
stop();
Frame 82 (815 B)
menuloopSound.stop();
menuLoopPlaying = false;
stopAllSounds();
loadScores = null;
loadScores = new LoadVars();
app.basePath + app.scorePath;
loadScores.onLoad = function () {
trace("load complete");
if (this.msg == "EE") {
if (this.text == "no scores available for that game (sb_peril)") {
MSGtext = "Sorry, the high-score list is empty!";
} else {
MSGtext = "Oops, the high-score list isn\u2019t available right now!";
}
gotoAndStop ("displayError");
} else {
z = 0;
while (z < 100) {
nVar = eval ("this.pn" + z);
sVar = eval ("this.ps" + z);
scrollVar = eval ("scroller.contentMain.score" + (z + 1));
scrollVar.placeval = z + 1;
scrollVar.nameval = nVar;
scrollVar.scoreval = sVar;
z++;
}
gotoAndPlay ("displayScores");
}
};
stop();
Frame 94 (28 B)
scroller._y = 4.8;
stop();
Frame 99 (8 B)
stop();
Symbol 11 MovieClip Frame 1 (13 B)
this.stop();
Symbol 11 MovieClip Frame 3 (13 B)
this.stop();
Symbol 11 MovieClip Frame 4 (13 B)
this.stop();
Symbol 11 MovieClip Frame 5 (13 B)
this.stop();
Symbol 11 MovieClip Frame 6 (13 B)
this.stop();
Symbol 11 MovieClip Frame 7 (13 B)
this.stop();
Symbol 11 MovieClip Frame 8 (13 B)
this.stop();
Symbol 11 MovieClip Frame 9 (13 B)
this.stop();
Symbol 11 MovieClip Frame 10 (13 B)
this.stop();
Symbol 11 MovieClip Frame 11 (13 B)
this.stop();
Symbol 11 MovieClip Frame 12 (13 B)
this.stop();
Symbol 18 Button (210 B)
on (keyPress "<Left>") {
return(undefined);
}
on (keyPress "<Right>") {
return(undefined);
}
on (keyPress "<Up>") {
return(undefined);
}
on (keyPress "<Down>") {
return(undefined);
}
Symbol 39 MovieClip Frame 1 (591 B)
if (yy.savescore == 1) {
if (ipb_score == undefined) {
ipb_score = eval (_global.ipb_scoreVar);
}
xx = new LoadVars();
xx.arcadegid = _root.ibpro_gameid;
xx.gscore = ipb_score;
xx.gname = _global.ipb_get_gname();
xx.enscore = (ipb_score * yy.randchar) ^ yy.randchar2;
xx.send("index.php?autocom=arcade&do=savescore", "_self", "POST");
stop();
}
_global.ipbSend = function (ipb_score) {
_root._visible = false;
_root.enabled = false;
xx = new LoadVars();
yy = new LoadVars();
xx.sendAndLoad("index.php?autocom=arcade&do=verifyscore", yy, "POST");
};
Symbol 28 MovieClip Frame 1 (138 B)
versionString = String(getVersion());
theVersion = substring(versionString, 5, 1);
if (theVersion >= 7) {
gotoAndPlay ("load");
}
Symbol 28 MovieClip Frame 2 (13 B)
this.stop();
Symbol 28 MovieClip Frame 3 (1.12 KiB) ●
loadBarLength = 84;
loaded = Math.round(_root.getBytesLoaded());
total = Math.round(_root.getBytesTotal());
percent = (loaded / total) * 100;
this.loadBar._width = percent * loadBarLength;
if (total < 1) {
TEXT = 0;
} else {
TEXT = Math.round(percent);
}
this.loadPercent = TEXT;
trace(percent + " cur percent loaded");
if ((percent >= 10) && (percent < 20)) {
loadMC.gotoAndStop(2);
}
if ((percent >= 20) && (percent < 30)) {
loadMC.gotoAndStop(3);
}
if ((percent >= 30) && (percent < 40)) {
loadMC.gotoAndStop(4);
}
if ((percent >= 40) && (percent < 50)) {
loadMC.gotoAndStop(5);
}
if ((percent >= 50) && (percent < 60)) {
loadMC.gotoAndStop(6);
}
if ((percent >= 60) && (percent < 70)) {
loadMC.gotoAndStop(7);
}
if ((percent >= 70) && (percent < 80)) {
loadMC.gotoAndStop(8);
}
if ((percent >= 80) && (percent < 90)) {
loadMC.gotoAndStop(9);
}
if ((percent >= 90) && (percent < 100)) {
loadMC.gotoAndStop(10);
}
if (percent == 100) {
loadMC.gotoAndStop(11);
}
Symbol 28 MovieClip Frame 7 (64 B)
if (loaded == total) {
} else {
this.gotoAndPlay("load");
}
Symbol 36 MovieClip Frame 1 (8 B)
stop();
Symbol 46 Button (40 B)
on (release) {
gotoAndPlay ("intro");
}
Symbol 47 Button (39 B)
on (release) {
gotoAndPlay ("play");
}
Symbol 56 Button (47 B)
on (release) {
gotoAndPlay ("instructions");
}
Symbol 78 MovieClip Frame 1 (8 B)
stop();
Symbol 79 MovieClip Frame 1 (30 B)
this.moving = false;
stop();
Symbol 79 MovieClip Frame 19 (20 B)
this.moving = true;
Symbol 79 MovieClip Frame 117 (270 B)
this.moving = false;
stop();
if (scripts.helpOn == false) {
if (scripts.levelMusicOn == false) {
scripts.levelMusicOn = true;
scripts.levelMusic.start(0, 200);
}
scripts.gamePaused = false;
}
scripts.gameOn = true;
scripts.baddySpawnTimer = getTimer();
Symbol 79 MovieClip Frame 123 (20 B)
this.moving = true;
Symbol 79 MovieClip Frame 161 (64 B)
this.moving = false;
stop();
scripts.newChar(char.x, char.y);
Symbol 79 MovieClip Frame 162 (60 B)
this.moving = true;
_parent.helpMC.gotoAndStop("lockOut");
Symbol 79 MovieClip Frame 198 (50 B)
this.moving = false;
stop();
scripts.endGame();
Symbol 79 MovieClip Frame 204 (135 B)
this.moving = true;
scripts.levelMusic.stop();
roundBonusDisplay = scripts.levelBonus;
discBonusDisplay = scripts.discBonusDisplay;
Symbol 79 MovieClip Frame 217 (506 B)
if (roundBonusDisplay == 1000) {
bonusMC.gotoAndStop(1);
}
if (roundBonusDisplay == 1500) {
bonusMC.gotoAndStop(2);
}
if (roundBonusDisplay == 2000) {
bonusMC.gotoAndStop(3);
}
if (roundBonusDisplay == 2500) {
bonusMC.gotoAndStop(4);
}
if (roundBonusDisplay == 3000) {
bonusMC.gotoAndStop(5);
}
if (roundBonusDisplay == 3500) {
bonusMC.gotoAndStop(6);
}
if (roundBonusDisplay == 4000) {
bonusMC.gotoAndStop(7);
}
if (roundBonusDisplay >= 4500) {
bonusMC.gotoAndStop(8);
}
Symbol 79 MovieClip Frame 245 (58 B)
scripts.gameOn = false;
char.art.gotoAndPlay("victory");
Symbol 79 MovieClip Frame 359 (52 B)
this.moving = false;
stop();
scripts.initLevel();
Symbol 82 MovieClip Frame 7 (13 B)
this.stop();
Symbol 122 MovieClip Frame 1 (21 B)
this.jumping = true;
Symbol 122 MovieClip Frame 10 (54 B)
this.jumping = false;
scripts.finishJump();
stop();
Symbol 140 MovieClip Frame 1 (21 B)
this.jumping = true;
Symbol 140 MovieClip Frame 10 (54 B)
this.jumping = false;
scripts.finishJump();
stop();
Symbol 178 MovieClip Frame 8 (8 B)
stop();
Symbol 194 MovieClip Frame 15 (8 B)
stop();
Symbol 200 MovieClip Frame 7 (8 B)
stop();
Symbol 201 MovieClip Frame 1 (8 B)
stop();
Symbol 201 MovieClip Frame 2 (8 B)
stop();
Symbol 201 MovieClip Frame 3 (8 B)
stop();
Symbol 201 MovieClip Frame 4 (8 B)
stop();
Symbol 201 MovieClip Frame 20 (37 B)
scripts.finishJump("left");
stop();
Symbol 201 MovieClip Frame 35 (26 B)
scripts.finishJump("up");
Symbol 201 MovieClip Frame 50 (29 B)
scripts.finishJump("right");
Symbol 201 MovieClip Frame 66 (28 B)
scripts.finishJump("down");
Symbol 201 MovieClip Frame 80 (8 B)
stop();
Symbol 201 MovieClip Frame 95 (8 B)
stop();
Symbol 201 MovieClip Frame 109 (8 B)
stop();
Symbol 201 MovieClip Frame 125 (8 B)
stop();
Symbol 201 MovieClip Frame 140 (8 B)
stop();
Symbol 201 MovieClip Frame 155 (8 B)
stop();
Symbol 201 MovieClip Frame 170 (8 B)
stop();
Symbol 205 MovieClip Frame 1 (8 B)
stop();
Symbol 205 MovieClip Frame 70 (39 B)
scripts.newChar(_parent.x, _parent.y);
Symbol 207 Button (44 B)
on (release) {
scripts.doTileClick("up");
}
Symbol 209 Button (47 B)
on (release) {
scripts.doTileClick("right");
}
Symbol 210 Button (46 B)
on (release) {
scripts.doTileClick("left");
}
Symbol 211 Button (46 B)
on (release) {
scripts.doTileClick("down");
}
Symbol 220 MovieClip Frame 1 (8 B)
stop();
Symbol 220 MovieClip Frame 2 (8 B)
stop();
Symbol 220 MovieClip Frame 3 (8 B)
stop();
Symbol 220 MovieClip Frame 4 (8 B)
stop();
Symbol 220 MovieClip Frame 5 (8 B)
stop();
Symbol 222 MovieClip Frame 1 (8 B)
stop();
Symbol 222 MovieClip Frame 2 (8 B)
stop();
Symbol 224 Button (127 B)
on (rollOver, dragOver) {
this.dirHilite.mouseActive = false;
}
on (rollOut, dragOut) {
this.dirHilite.mouseActive = false;
}
Symbol 225 MovieClip [char] Frame 1 (8 B)
stop();
Instance of Symbol 220 MovieClip "dirHilite" in Symbol 225 MovieClip [char] Frame 1 (633 B)
onClipEvent (enterFrame) {
yOffset = 23;
this.startX = this._x;
xm = _xmouse;
ym = _ymouse - yOffset;
var mdir = "blank";
if ((Math.abs(this._xmouse) < 150) && (Math.abs(this._ymouse) < 150)) {
if (xm > 0) {
if (ym < 0) {
mdir = "up";
} else {
mdir = "right";
}
} else if (ym < 0) {
mdir = "left";
} else {
mdir = "down";
}
}
if (((((((scripts.gameOn == false) || (scripts.charFrozen == true)) || (char.discMove == true)) || (scripts.charFalling)) || (char.jumping)) || (scripts.charJumping)) || (char.moveable == false)) {
mdir = "blank";
}
this.gotoAndStop(mdir);
}
Symbol 234 MovieClip Frame 3 (120 B)
_parent._parent.jumping = true;
_parent._parent.x = _parent._parent.jumpX;
_parent._parent.y = _parent._parent.jumpY;
Symbol 234 MovieClip Frame 14 (33 B)
_parent._parent.jumping = false;
Symbol 234 MovieClip Frame 19 (8 B)
stop();
Symbol 236 MovieClip Frame 3 (120 B)
_parent._parent.jumping = true;
_parent._parent.x = _parent._parent.jumpX;
_parent._parent.y = _parent._parent.jumpY;
Symbol 236 MovieClip Frame 15 (33 B)
_parent._parent.jumping = false;
Symbol 236 MovieClip Frame 20 (8 B)
stop();
Symbol 239 MovieClip Frame 3 (120 B)
_parent._parent.jumping = true;
_parent._parent.x = _parent._parent.jumpX;
_parent._parent.y = _parent._parent.jumpY;
Symbol 239 MovieClip Frame 15 (33 B)
_parent._parent.jumping = false;
Symbol 239 MovieClip Frame 19 (8 B)
stop();
Symbol 240 MovieClip Frame 3 (120 B)
_parent._parent.jumping = true;
_parent._parent.x = _parent._parent.jumpX;
_parent._parent.y = _parent._parent.jumpY;
Symbol 240 MovieClip Frame 14 (33 B)
_parent._parent.jumping = false;
Symbol 240 MovieClip Frame 19 (8 B)
stop();
Symbol 241 MovieClip Frame 1 (27 B)
_parent.faceDir = "ready";
Symbol 241 MovieClip Frame 18 (8 B)
stop();
Symbol 241 MovieClip Frame 37 (95 B)
stop();
_parent.faceDir = "ready";
scripts.moveBaddy(_parent, _parent.jumpX, _parent.jumpY);
Symbol 241 MovieClip Frame 56 (95 B)
stop();
_parent.faceDir = "ready";
scripts.moveBaddy(_parent, _parent.jumpX, _parent.jumpY);
Symbol 241 MovieClip Frame 75 (95 B)
stop();
_parent.faceDir = "ready";
scripts.moveBaddy(_parent, _parent.jumpX, _parent.jumpY);
Symbol 241 MovieClip Frame 94 (95 B)
stop();
_parent.faceDir = "ready";
scripts.moveBaddy(_parent, _parent.jumpX, _parent.jumpY);
Symbol 242 MovieClip [baddy1] Frame 1 (8 B)
stop();
Symbol 243 MovieClip [baddy2] Frame 1 (8 B)
stop();
Symbol 258 MovieClip Frame 3 (120 B)
_parent._parent.jumping = true;
_parent._parent.x = _parent._parent.jumpX;
_parent._parent.y = _parent._parent.jumpY;
Symbol 258 MovieClip Frame 11 (33 B)
_parent._parent.jumping = false;
Symbol 258 MovieClip Frame 12 (8 B)
stop();
Symbol 263 MovieClip Frame 3 (120 B)
_parent._parent.jumping = true;
_parent._parent.x = _parent._parent.jumpX;
_parent._parent.y = _parent._parent.jumpY;
Symbol 263 MovieClip Frame 11 (33 B)
_parent._parent.jumping = false;
Symbol 263 MovieClip Frame 12 (8 B)
stop();
Symbol 268 MovieClip Frame 4 (8 B)
stop();
Symbol 274 MovieClip Frame 4 (8 B)
stop();
Symbol 279 MovieClip Frame 4 (8 B)
stop();
Symbol 292 MovieClip Frame 6 (8 B)
stop();
Symbol 294 MovieClip Frame 11 (8 B)
stop();
Symbol 295 MovieClip Frame 15 (8 B)
stop();
Symbol 296 MovieClip Frame 8 (8 B)
stop();
Symbol 298 MovieClip Frame 1 (35 B)
_parent.faceDir = "down";
stop();
Symbol 298 MovieClip Frame 2 (33 B)
_parent.faceDir = "up";
stop();
Symbol 298 MovieClip Frame 3 (36 B)
_parent.faceDir = "right";
stop();
Symbol 298 MovieClip Frame 4 (35 B)
_parent.faceDir = "left";
stop();
Symbol 298 MovieClip Frame 16 (94 B)
_parent.faceDir = "down";
scripts.moveBaddy(_parent, _parent.jumpX, _parent.jumpY);
stop();
Symbol 298 MovieClip Frame 28 (95 B)
_parent.faceDir = "right";
scripts.moveBaddy(_parent, _parent.jumpX, _parent.jumpY);
stop();
Symbol 298 MovieClip Frame 40 (92 B)
_parent.faceDir = "up";
scripts.moveBaddy(_parent, _parent.jumpX, _parent.jumpY);
stop();
Symbol 298 MovieClip Frame 52 (94 B)
_parent.faceDir = "left";
scripts.moveBaddy(_parent, _parent.jumpX, _parent.jumpY);
stop();
Symbol 298 MovieClip Frame 61 (27 B)
_parent.removeMovieClip();
Symbol 299 MovieClip [baddy4] Frame 1 (8 B)
stop();
Symbol 327 MovieClip Frame 3 (120 B)
_parent._parent.jumping = true;
_parent._parent.x = _parent._parent.jumpX;
_parent._parent.y = _parent._parent.jumpY;
Symbol 327 MovieClip Frame 13 (33 B)
_parent._parent.jumping = false;
Symbol 327 MovieClip Frame 14 (8 B)
stop();
Symbol 331 MovieClip Frame 6 (8 B)
stop();
Symbol 332 MovieClip Frame 11 (8 B)
stop();
Symbol 337 MovieClip Frame 3 (32 B)
_parent._parent.jumping = true;
Symbol 337 MovieClip Frame 14 (33 B)
_parent._parent.jumping = false;
Symbol 337 MovieClip Frame 16 (8 B)
stop();
Symbol 338 MovieClip Frame 1 (35 B)
_parent.faceDir = "down";
stop();
Symbol 338 MovieClip Frame 2 (33 B)
_parent.faceDir = "up";
stop();
Symbol 338 MovieClip Frame 3 (36 B)
_parent.faceDir = "right";
stop();
Symbol 338 MovieClip Frame 4 (35 B)
_parent.faceDir = "left";
stop();
Symbol 338 MovieClip Frame 17 (94 B)
stop();
_parent.faceDir = "down";
scripts.moveBaddy(_parent, _parent.jumpX, _parent.jumpY);
Symbol 338 MovieClip Frame 30 (95 B)
stop();
_parent.faceDir = "right";
scripts.moveBaddy(_parent, _parent.jumpX, _parent.jumpY);
Symbol 338 MovieClip Frame 43 (92 B)
stop();
_parent.faceDir = "up";
scripts.moveBaddy(_parent, _parent.jumpX, _parent.jumpY);
Symbol 338 MovieClip Frame 56 (94 B)
stop();
_parent.faceDir = "left";
scripts.moveBaddy(_parent, _parent.jumpX, _parent.jumpY);
Symbol 338 MovieClip Frame 74 (103 B)
stop();
_parent.faceDir = "down";
scripts.moveBaddy(_parent, _parent.jumpX, _parent.jumpY);
stop();
Symbol 338 MovieClip Frame 92 (95 B)
stop();
_parent.faceDir = "right";
scripts.moveBaddy(_parent, _parent.jumpX, _parent.jumpY);
Symbol 348 MovieClip Frame 3 (120 B)
_parent._parent.jumping = true;
_parent._parent.x = _parent._parent.jumpX;
_parent._parent.y = _parent._parent.jumpY;
Symbol 348 MovieClip Frame 13 (33 B)
_parent._parent.jumping = false;
Symbol 351 MovieClip Frame 3 (120 B)
_parent._parent.jumping = true;
_parent._parent.x = _parent._parent.jumpX;
_parent._parent.y = _parent._parent.jumpY;
Symbol 351 MovieClip Frame 13 (33 B)
_parent._parent.jumping = false;
Symbol 356 MovieClip Frame 1 (35 B)
stop();
_parent.faceDir = "down";
Symbol 356 MovieClip Frame 2 (33 B)
stop();
_parent.faceDir = "up";
Symbol 356 MovieClip Frame 3 (36 B)
stop();
_parent.faceDir = "right";
Symbol 356 MovieClip Frame 4 (35 B)
stop();
_parent.faceDir = "left";
Symbol 356 MovieClip Frame 17 (94 B)
stop();
_parent.faceDir = "down";
scripts.moveBaddy(_parent, _parent.jumpX, _parent.jumpY);
Symbol 356 MovieClip Frame 30 (95 B)
stop();
_parent.faceDir = "right";
scripts.moveBaddy(_parent, _parent.jumpX, _parent.jumpY);
Symbol 356 MovieClip Frame 43 (92 B)
stop();
_parent.faceDir = "up";
scripts.moveBaddy(_parent, _parent.jumpX, _parent.jumpY);
Symbol 356 MovieClip Frame 56 (94 B)
stop();
_parent.faceDir = "left";
scripts.moveBaddy(_parent, _parent.jumpX, _parent.jumpY);
Symbol 356 MovieClip Frame 71 (36 B)
stop();
_parent.removeMovieClip();
Symbol 357 MovieClip [baddy3] Frame 1 (8 B)
stop();
Symbol 357 MovieClip [baddy3] Frame 2 (62 B)
stop();
myDir = _parent.myDir;
this.art.gotoAndStop(myDir);
Symbol 379 MovieClip Frame 3 (120 B)
_parent._parent.jumping = true;
_parent._parent.x = _parent._parent.jumpX;
_parent._parent.y = _parent._parent.jumpY;
Symbol 379 MovieClip Frame 13 (42 B)
stop();
_parent._parent.jumping = false;
Symbol 384 MovieClip Frame 3 (120 B)
_parent._parent.jumping = true;
_parent._parent.x = _parent._parent.jumpX;
_parent._parent.y = _parent._parent.jumpY;
Symbol 384 MovieClip Frame 14 (42 B)
stop();
_parent._parent.jumping = false;
Symbol 404 MovieClip Frame 3 (43 B)
_parent.gotoAndPlay("disappear");
stop();
Symbol 413 MovieClip Frame 11 (8 B)
stop();
Symbol 414 MovieClip Frame 18 (8 B)
stop();
Symbol 415 MovieClip Frame 1 (35 B)
_parent.faceDir = "down";
stop();
Symbol 415 MovieClip Frame 2 (33 B)
_parent.faceDir = "up";
stop();
Symbol 415 MovieClip Frame 3 (36 B)
_parent.faceDir = "right";
stop();
Symbol 415 MovieClip Frame 4 (35 B)
_parent.faceDir = "left";
stop();
Symbol 415 MovieClip Frame 20 (94 B)
stop();
_parent.faceDir = "down";
scripts.moveBaddy(_parent, _parent.jumpX, _parent.jumpY);
Symbol 415 MovieClip Frame 36 (95 B)
stop();
_parent.faceDir = "right";
scripts.moveBaddy(_parent, _parent.jumpX, _parent.jumpY);
Symbol 415 MovieClip Frame 52 (92 B)
stop();
_parent.faceDir = "up";
scripts.moveBaddy(_parent, _parent.jumpX, _parent.jumpY);
Symbol 415 MovieClip Frame 68 (94 B)
stop();
_parent.faceDir = "left";
scripts.moveBaddy(_parent, _parent.jumpX, _parent.jumpY);
Symbol 415 MovieClip Frame 71 (112 B)
scripts.freezeStart = getTimer();
scripts.gameFrozen = true;
scripts.freezeStop = scripts.freezeStart + 5000;
Symbol 415 MovieClip Frame 99 (63 B)
stop();
scripts.garyFlag = false;
_parent.removeMovieClip();
Symbol 415 MovieClip Frame 103 (112 B)
scripts.freezeStart = getTimer();
scripts.gameFrozen = true;
scripts.freezeStop = scripts.freezeStart + 5000;
Symbol 415 MovieClip Frame 130 (63 B)
stop();
scripts.garyFlag = false;
_parent.removeMovieClip();
Symbol 415 MovieClip Frame 134 (112 B)
scripts.freezeStart = getTimer();
scripts.gameFrozen = true;
scripts.freezeStop = scripts.freezeStart + 5000;
Symbol 415 MovieClip Frame 162 (63 B)
stop();
scripts.garyFlag = false;
_parent.removeMovieClip();
Symbol 415 MovieClip Frame 166 (112 B)
scripts.freezeStart = getTimer();
scripts.gameFrozen = true;
scripts.freezeStop = scripts.freezeStart + 5000;
Symbol 415 MovieClip Frame 194 (63 B)
stop();
scripts.garyFlag = false;
_parent.removeMovieClip();
Symbol 415 MovieClip Frame 198 (26 B)
scripts.garyFlag = false;
Symbol 415 MovieClip Frame 215 (27 B)
_parent.removeMovieClip();
Symbol 416 MovieClip [baddy5] Frame 1 (8 B)
stop();
Symbol 421 Button (42 B)
on (release) {
gotoAndPlay ("enemies");
}
Symbol 424 Button (39 B)
on (release) {
gotoAndPlay ("play");
}
Symbol 434 MovieClip Frame 1 (8 B)
stop();
Symbol 445 MovieClip Frame 1 (8 B)
stop();
Symbol 459 MovieClip Frame 1 (49 B)
this.style = "color";
this.tcolor = 1;
stop();
Symbol 459 MovieClip Frame 2 (49 B)
this.style = "color";
this.tcolor = 2;
stop();
Symbol 459 MovieClip Frame 3 (49 B)
this.style = "color";
this.tcolor = 3;
stop();
Symbol 459 MovieClip Frame 10 (48 B)
this.style = "disc";
this.tcolor = 0;
stop();
Symbol 459 MovieClip Frame 11 (49 B)
this.style = "blank";
this.tcolor = 0;
stop();
Symbol 462 MovieClip Frame 1 (49 B)
this.style = "color";
this.tcolor = 1;
stop();
Symbol 462 MovieClip Frame 2 (49 B)
this.style = "color";
this.tcolor = 2;
stop();
Symbol 462 MovieClip Frame 3 (49 B)
this.style = "color";
this.tcolor = 3;
stop();
Symbol 462 MovieClip Frame 4 (48 B)
this.style = "disc";
this.tcolor = 0;
stop();
Symbol 462 MovieClip Frame 5 (49 B)
this.style = "blank";
this.tcolor = 0;
stop();
Symbol 466 MovieClip Frame 1 (49 B)
this.style = "color";
this.tcolor = 1;
stop();
Symbol 466 MovieClip Frame 2 (49 B)
this.style = "color";
this.tcolor = 2;
stop();
Symbol 466 MovieClip Frame 3 (49 B)
this.style = "color";
this.tcolor = 3;
stop();
Symbol 466 MovieClip Frame 4 (48 B)
this.style = "disc";
this.tcolor = 0;
stop();
Symbol 466 MovieClip Frame 5 (49 B)
this.style = "blank";
this.tcolor = 0;
stop();
Symbol 467 MovieClip Frame 1 (8 B)
stop();
Instance of Symbol 436 MovieClip "fallProxy2" in Symbol 467 MovieClip Frame 1 (77 B)
onClipEvent (load) {
trace("fallProxie2 art zDepth = " + this.getDepth());
}
Instance of Symbol 445 MovieClip "pyramidMC" in Symbol 467 MovieClip Frame 1 (73 B)
onClipEvent (load) {
trace("Pyramid art zDepth = " + this.getDepth());
}
Instance of Symbol 459 MovieClip "t_0_1" in Symbol 467 MovieClip Frame 1 (76 B)
onClipEvent (load) {
this.x = 0;
this.y = 1;
this.gotoAndStop("blank");
}
Instance of Symbol 459 MovieClip "t_1_0" in Symbol 467 MovieClip Frame 1 (76 B)
onClipEvent (load) {
this.x = 1;
this.y = 0;
this.gotoAndStop("blank");
}
Instance of Symbol 459 MovieClip "t_1_1" in Symbol 467 MovieClip Frame 1 (48 B)
onClipEvent (load) {
this.x = 1;
this.y = 1;
}
Instance of Symbol 459 MovieClip "t_0_2" in Symbol 467 MovieClip Frame 1 (76 B)
onClipEvent (load) {
this.x = 0;
this.y = 2;
this.gotoAndStop("blank");
}
Instance of Symbol 459 MovieClip "t_2_0" in Symbol 467 MovieClip Frame 1 (76 B)
onClipEvent (load) {
this.x = 2;
this.y = 0;
this.gotoAndStop("blank");
}
Instance of Symbol 459 MovieClip "t_1_2" in Symbol 467 MovieClip Frame 1 (48 B)
onClipEvent (load) {
this.x = 1;
this.y = 2;
}
Instance of Symbol 459 MovieClip "t_2_1" in Symbol 467 MovieClip Frame 1 (48 B)
onClipEvent (load) {
this.x = 2;
this.y = 1;
}
Instance of Symbol 459 MovieClip "t_0_3" in Symbol 467 MovieClip Frame 1 (76 B)
onClipEvent (load) {
this.x = 0;
this.y = 3;
this.gotoAndStop("blank");
}
Instance of Symbol 459 MovieClip "t_3_0" in Symbol 467 MovieClip Frame 1 (76 B)
onClipEvent (load) {
this.x = 3;
this.y = 0;
this.gotoAndStop("blank");
}
Instance of Symbol 459 MovieClip "t_1_3" in Symbol 467 MovieClip Frame 1 (48 B)
onClipEvent (load) {
this.x = 1;
this.y = 3;
}
Instance of Symbol 459 MovieClip "t_2_2" in Symbol 467 MovieClip Frame 1 (48 B)
onClipEvent (load) {
this.x = 2;
this.y = 2;
}
Instance of Symbol 459 MovieClip "t_3_1" in Symbol 467 MovieClip Frame 1 (48 B)
onClipEvent (load) {
this.x = 3;
this.y = 1;
}
Instance of Symbol 459 MovieClip "t_0_4" in Symbol 467 MovieClip Frame 1 (76 B)
onClipEvent (load) {
this.x = 0;
this.y = 4;
this.gotoAndStop("blank");
}
Instance of Symbol 459 MovieClip "t_4_0" in Symbol 467 MovieClip Frame 1 (76 B)
onClipEvent (load) {
this.x = 4;
this.y = 0;
this.gotoAndStop("blank");
}
Instance of Symbol 459 MovieClip "t_1_4" in Symbol 467 MovieClip Frame 1 (48 B)
onClipEvent (load) {
this.x = 1;
this.y = 4;
}
Instance of Symbol 459 MovieClip "t_2_3" in Symbol 467 MovieClip Frame 1 (48 B)
onClipEvent (load) {
this.x = 2;
this.y = 3;
}
Instance of Symbol 459 MovieClip "t_3_2" in Symbol 467 MovieClip Frame 1 (48 B)
onClipEvent (load) {
this.x = 3;
this.y = 2;
}
Instance of Symbol 459 MovieClip "t_4_1" in Symbol 467 MovieClip Frame 1 (48 B)
onClipEvent (load) {
this.x = 4;
this.y = 1;
}
Instance of Symbol 459 MovieClip "t_0_5" in Symbol 467 MovieClip Frame 1 (76 B)
onClipEvent (load) {
this.x = 0;
this.y = 5;
this.gotoAndStop("blank");
}
Instance of Symbol 459 MovieClip "t_5_0" in Symbol 467 MovieClip Frame 1 (76 B)
onClipEvent (load) {
this.x = 5;
this.y = 0;
this.gotoAndStop("blank");
}
Instance of Symbol 459 MovieClip "t_1_5" in Symbol 467 MovieClip Frame 1 (48 B)
onClipEvent (load) {
this.x = 1;
this.y = 5;
}
Instance of Symbol 459 MovieClip "t_2_4" in Symbol 467 MovieClip Frame 1 (48 B)
onClipEvent (load) {
this.x = 2;
this.y = 4;
}
Instance of Symbol 459 MovieClip "t_3_3" in Symbol 467 MovieClip Frame 1 (48 B)
onClipEvent (load) {
this.x = 3;
this.y = 3;
}
Instance of Symbol 459 MovieClip "t_4_2" in Symbol 467 MovieClip Frame 1 (48 B)
onClipEvent (load) {
this.x = 4;
this.y = 2;
}
Instance of Symbol 459 MovieClip "t_5_1" in Symbol 467 MovieClip Frame 1 (48 B)
onClipEvent (load) {
this.x = 5;
this.y = 1;
}
Instance of Symbol 459 MovieClip "t_0_6" in Symbol 467 MovieClip Frame 1 (76 B)
onClipEvent (load) {
this.x = 0;
this.y = 6;
this.gotoAndStop("blank");
}
Instance of Symbol 459 MovieClip "t_6_0" in Symbol 467 MovieClip Frame 1 (76 B)
onClipEvent (load) {
this.x = 6;
this.y = 0;
this.gotoAndStop("blank");
}
Instance of Symbol 459 MovieClip "t_6_1" in Symbol 467 MovieClip Frame 1 (48 B)
onClipEvent (load) {
this.x = 6;
this.y = 1;
}
Instance of Symbol 459 MovieClip "t_5_2" in Symbol 467 MovieClip Frame 1 (48 B)
onClipEvent (load) {
this.x = 5;
this.y = 2;
}
Instance of Symbol 459 MovieClip "t_4_3" in Symbol 467 MovieClip Frame 1 (48 B)
onClipEvent (load) {
this.x = 4;
this.y = 3;
}
Instance of Symbol 459 MovieClip "t_3_4" in Symbol 467 MovieClip Frame 1 (48 B)
onClipEvent (load) {
this.x = 3;
this.y = 4;
}
Instance of Symbol 459 MovieClip "t_2_5" in Symbol 467 MovieClip Frame 1 (48 B)
onClipEvent (load) {
this.x = 2;
this.y = 5;
}
Instance of Symbol 459 MovieClip "t_1_6" in Symbol 467 MovieClip Frame 1 (48 B)
onClipEvent (load) {
this.x = 1;
this.y = 6;
}
Instance of Symbol 459 MovieClip "t_1_7" in Symbol 467 MovieClip Frame 1 (76 B)
onClipEvent (load) {
this.x = 1;
this.y = 7;
this.gotoAndStop("blank");
}
Instance of Symbol 459 MovieClip "t_7_1" in Symbol 467 MovieClip Frame 1 (76 B)
onClipEvent (load) {
this.x = 7;
this.y = 1;
this.gotoAndStop("blank");
}
Instance of Symbol 459 MovieClip "t_6_2" in Symbol 467 MovieClip Frame 1 (76 B)
onClipEvent (load) {
this.x = 6;
this.y = 2;
this.gotoAndStop("blank");
}
Instance of Symbol 459 MovieClip "t_5_3" in Symbol 467 MovieClip Frame 1 (76 B)
onClipEvent (load) {
this.x = 5;
this.y = 3;
this.gotoAndStop("blank");
}
Instance of Symbol 459 MovieClip "t_2_6" in Symbol 467 MovieClip Frame 1 (76 B)
onClipEvent (load) {
this.x = 2;
this.y = 6;
this.gotoAndStop("blank");
}
Instance of Symbol 459 MovieClip "t_3_5" in Symbol 467 MovieClip Frame 1 (76 B)
onClipEvent (load) {
this.x = 3;
this.y = 5;
this.gotoAndStop("blank");
}
Instance of Symbol 459 MovieClip "t_4_4" in Symbol 467 MovieClip Frame 1 (76 B)
onClipEvent (load) {
this.x = 4;
this.y = 4;
this.gotoAndStop("blank");
}
Instance of Symbol 459 MovieClip "t_0_0" in Symbol 467 MovieClip Frame 1 (76 B)
onClipEvent (load) {
this.x = 0;
this.y = 0;
this.gotoAndStop("blank");
}
Symbol 467 MovieClip Frame 2 (8 B)
stop();
Instance of Symbol 462 MovieClip "t_1_1" in Symbol 467 MovieClip Frame 2 (48 B)
onClipEvent (load) {
this.x = 1;
this.y = 1;
}
Instance of Symbol 462 MovieClip "t_1_2" in Symbol 467 MovieClip Frame 2 (48 B)
onClipEvent (load) {
this.x = 1;
this.y = 2;
}
Instance of Symbol 462 MovieClip "t_2_1" in Symbol 467 MovieClip Frame 2 (48 B)
onClipEvent (load) {
this.x = 2;
this.y = 1;
}
Instance of Symbol 462 MovieClip "t_1_3" in Symbol 467 MovieClip Frame 2 (48 B)
onClipEvent (load) {
this.x = 1;
this.y = 3;
}
Instance of Symbol 462 MovieClip "t_2_2" in Symbol 467 MovieClip Frame 2 (48 B)
onClipEvent (load) {
this.x = 2;
this.y = 2;
}
Instance of Symbol 462 MovieClip "t_3_1" in Symbol 467 MovieClip Frame 2 (48 B)
onClipEvent (load) {
this.x = 3;
this.y = 1;
}
Instance of Symbol 462 MovieClip "t_1_4" in Symbol 467 MovieClip Frame 2 (48 B)
onClipEvent (load) {
this.x = 1;
this.y = 4;
}
Instance of Symbol 462 MovieClip "t_2_3" in Symbol 467 MovieClip Frame 2 (48 B)
onClipEvent (load) {
this.x = 2;
this.y = 3;
}
Instance of Symbol 462 MovieClip "t_3_2" in Symbol 467 MovieClip Frame 2 (48 B)
onClipEvent (load) {
this.x = 3;
this.y = 2;
}
Instance of Symbol 462 MovieClip "t_4_1" in Symbol 467 MovieClip Frame 2 (48 B)
onClipEvent (load) {
this.x = 4;
this.y = 1;
}
Instance of Symbol 462 MovieClip "t_1_5" in Symbol 467 MovieClip Frame 2 (48 B)
onClipEvent (load) {
this.x = 1;
this.y = 5;
}
Instance of Symbol 462 MovieClip "t_2_4" in Symbol 467 MovieClip Frame 2 (48 B)
onClipEvent (load) {
this.x = 2;
this.y = 4;
}
Instance of Symbol 462 MovieClip "t_3_3" in Symbol 467 MovieClip Frame 2 (48 B)
onClipEvent (load) {
this.x = 3;
this.y = 3;
}
Instance of Symbol 462 MovieClip "t_4_2" in Symbol 467 MovieClip Frame 2 (48 B)
onClipEvent (load) {
this.x = 4;
this.y = 2;
}
Instance of Symbol 462 MovieClip "t_5_1" in Symbol 467 MovieClip Frame 2 (48 B)
onClipEvent (load) {
this.x = 5;
this.y = 1;
}
Instance of Symbol 462 MovieClip "t_6_1" in Symbol 467 MovieClip Frame 2 (48 B)
onClipEvent (load) {
this.x = 6;
this.y = 1;
}
Instance of Symbol 462 MovieClip "t_5_2" in Symbol 467 MovieClip Frame 2 (48 B)
onClipEvent (load) {
this.x = 5;
this.y = 2;
}
Instance of Symbol 462 MovieClip "t_4_3" in Symbol 467 MovieClip Frame 2 (48 B)
onClipEvent (load) {
this.x = 4;
this.y = 3;
}
Instance of Symbol 462 MovieClip "t_3_4" in Symbol 467 MovieClip Frame 2 (48 B)
onClipEvent (load) {
this.x = 3;
this.y = 4;
}
Instance of Symbol 462 MovieClip "t_2_5" in Symbol 467 MovieClip Frame 2 (48 B)
onClipEvent (load) {
this.x = 2;
this.y = 5;
}
Instance of Symbol 462 MovieClip "t_1_6" in Symbol 467 MovieClip Frame 2 (48 B)
onClipEvent (load) {
this.x = 1;
this.y = 6;
}
Symbol 467 MovieClip Frame 3 (8 B)
stop();
Instance of Symbol 466 MovieClip "t_1_1" in Symbol 467 MovieClip Frame 3 (48 B)
onClipEvent (load) {
this.x = 1;
this.y = 1;
}
Instance of Symbol 466 MovieClip "t_1_2" in Symbol 467 MovieClip Frame 3 (48 B)
onClipEvent (load) {
this.x = 1;
this.y = 2;
}
Instance of Symbol 466 MovieClip "t_2_1" in Symbol 467 MovieClip Frame 3 (48 B)
onClipEvent (load) {
this.x = 2;
this.y = 1;
}
Instance of Symbol 466 MovieClip "t_1_3" in Symbol 467 MovieClip Frame 3 (48 B)
onClipEvent (load) {
this.x = 1;
this.y = 3;
}
Instance of Symbol 466 MovieClip "t_2_2" in Symbol 467 MovieClip Frame 3 (48 B)
onClipEvent (load) {
this.x = 2;
this.y = 2;
}
Instance of Symbol 466 MovieClip "t_3_1" in Symbol 467 MovieClip Frame 3 (48 B)
onClipEvent (load) {
this.x = 3;
this.y = 1;
}
Instance of Symbol 466 MovieClip "t_1_4" in Symbol 467 MovieClip Frame 3 (48 B)
onClipEvent (load) {
this.x = 1;
this.y = 4;
}
Instance of Symbol 466 MovieClip "t_2_3" in Symbol 467 MovieClip Frame 3 (48 B)
onClipEvent (load) {
this.x = 2;
this.y = 3;
}
Instance of Symbol 466 MovieClip "t_3_2" in Symbol 467 MovieClip Frame 3 (48 B)
onClipEvent (load) {
this.x = 3;
this.y = 2;
}
Instance of Symbol 466 MovieClip "t_4_1" in Symbol 467 MovieClip Frame 3 (48 B)
onClipEvent (load) {
this.x = 4;
this.y = 1;
}
Instance of Symbol 466 MovieClip "t_1_5" in Symbol 467 MovieClip Frame 3 (48 B)
onClipEvent (load) {
this.x = 1;
this.y = 5;
}
Instance of Symbol 466 MovieClip "t_2_4" in Symbol 467 MovieClip Frame 3 (48 B)
onClipEvent (load) {
this.x = 2;
this.y = 4;
}
Instance of Symbol 466 MovieClip "t_3_3" in Symbol 467 MovieClip Frame 3 (48 B)
onClipEvent (load) {
this.x = 3;
this.y = 3;
}
Instance of Symbol 466 MovieClip "t_4_2" in Symbol 467 MovieClip Frame 3 (48 B)
onClipEvent (load) {
this.x = 4;
this.y = 2;
}
Instance of Symbol 466 MovieClip "t_5_1" in Symbol 467 MovieClip Frame 3 (48 B)
onClipEvent (load) {
this.x = 5;
this.y = 1;
}
Instance of Symbol 466 MovieClip "t_6_1" in Symbol 467 MovieClip Frame 3 (48 B)
onClipEvent (load) {
this.x = 6;
this.y = 1;
}
Instance of Symbol 466 MovieClip "t_5_2" in Symbol 467 MovieClip Frame 3 (48 B)
onClipEvent (load) {
this.x = 5;
this.y = 2;
}
Instance of Symbol 466 MovieClip "t_4_3" in Symbol 467 MovieClip Frame 3 (48 B)
onClipEvent (load) {
this.x = 4;
this.y = 3;
}
Instance of Symbol 466 MovieClip "t_3_4" in Symbol 467 MovieClip Frame 3 (48 B)
onClipEvent (load) {
this.x = 3;
this.y = 4;
}
Instance of Symbol 466 MovieClip "t_2_5" in Symbol 467 MovieClip Frame 3 (48 B)
onClipEvent (load) {
this.x = 2;
this.y = 5;
}
Instance of Symbol 466 MovieClip "t_1_6" in Symbol 467 MovieClip Frame 3 (48 B)
onClipEvent (load) {
this.x = 1;
this.y = 6;
}
Instance of Symbol 459 MovieClip "t_1_1" in Symbol 467 MovieClip Frame 4 (48 B)
onClipEvent (load) {
this.x = 1;
this.y = 1;
}
Instance of Symbol 459 MovieClip "t_1_2" in Symbol 467 MovieClip Frame 4 (48 B)
onClipEvent (load) {
this.x = 1;
this.y = 2;
}
Instance of Symbol 459 MovieClip "t_2_1" in Symbol 467 MovieClip Frame 4 (48 B)
onClipEvent (load) {
this.x = 2;
this.y = 1;
}
Instance of Symbol 459 MovieClip "t_1_3" in Symbol 467 MovieClip Frame 4 (48 B)
onClipEvent (load) {
this.x = 1;
this.y = 3;
}
Instance of Symbol 459 MovieClip "t_2_2" in Symbol 467 MovieClip Frame 4 (48 B)
onClipEvent (load) {
this.x = 2;
this.y = 2;
}
Instance of Symbol 459 MovieClip "t_3_1" in Symbol 467 MovieClip Frame 4 (48 B)
onClipEvent (load) {
this.x = 3;
this.y = 1;
}
Instance of Symbol 459 MovieClip "t_1_4" in Symbol 467 MovieClip Frame 4 (48 B)
onClipEvent (load) {
this.x = 1;
this.y = 4;
}
Instance of Symbol 459 MovieClip "t_2_3" in Symbol 467 MovieClip Frame 4 (48 B)
onClipEvent (load) {
this.x = 2;
this.y = 3;
}
Instance of Symbol 459 MovieClip "t_3_2" in Symbol 467 MovieClip Frame 4 (48 B)
onClipEvent (load) {
this.x = 3;
this.y = 2;
}
Instance of Symbol 459 MovieClip "t_4_1" in Symbol 467 MovieClip Frame 4 (48 B)
onClipEvent (load) {
this.x = 4;
this.y = 1;
}
Instance of Symbol 459 MovieClip "t_1_5" in Symbol 467 MovieClip Frame 4 (48 B)
onClipEvent (load) {
this.x = 1;
this.y = 5;
}
Instance of Symbol 459 MovieClip "t_2_4" in Symbol 467 MovieClip Frame 4 (48 B)
onClipEvent (load) {
this.x = 2;
this.y = 4;
}
Instance of Symbol 459 MovieClip "t_3_3" in Symbol 467 MovieClip Frame 4 (48 B)
onClipEvent (load) {
this.x = 3;
this.y = 3;
}
Instance of Symbol 459 MovieClip "t_4_2" in Symbol 467 MovieClip Frame 4 (48 B)
onClipEvent (load) {
this.x = 4;
this.y = 2;
}
Instance of Symbol 459 MovieClip "t_5_1" in Symbol 467 MovieClip Frame 4 (48 B)
onClipEvent (load) {
this.x = 5;
this.y = 1;
}
Instance of Symbol 459 MovieClip "t_6_1" in Symbol 467 MovieClip Frame 4 (48 B)
onClipEvent (load) {
this.x = 6;
this.y = 1;
}
Instance of Symbol 459 MovieClip "t_5_2" in Symbol 467 MovieClip Frame 4 (48 B)
onClipEvent (load) {
this.x = 5;
this.y = 2;
}
Instance of Symbol 459 MovieClip "t_4_3" in Symbol 467 MovieClip Frame 4 (48 B)
onClipEvent (load) {
this.x = 4;
this.y = 3;
}
Instance of Symbol 459 MovieClip "t_3_4" in Symbol 467 MovieClip Frame 4 (48 B)
onClipEvent (load) {
this.x = 3;
this.y = 4;
}
Instance of Symbol 459 MovieClip "t_2_5" in Symbol 467 MovieClip Frame 4 (48 B)
onClipEvent (load) {
this.x = 2;
this.y = 5;
}
Instance of Symbol 459 MovieClip "t_1_6" in Symbol 467 MovieClip Frame 4 (48 B)
onClipEvent (load) {
this.x = 1;
this.y = 6;
}
Symbol 479 MovieClip Frame 1 (8 B)
stop();
Symbol 487 MovieClip Frame 1 (8 B)
stop();
Instance of Symbol 459 MovieClip "art" in Symbol 487 MovieClip Frame 1 (48 B)
onClipEvent (load) {
this.x = 1;
this.y = 1;
}
Instance of Symbol 462 MovieClip "art" in Symbol 487 MovieClip Frame 2 (48 B)
onClipEvent (load) {
this.x = 1;
this.y = 1;
}
Instance of Symbol 466 MovieClip "art" in Symbol 487 MovieClip Frame 3 (48 B)
onClipEvent (load) {
this.x = 1;
this.y = 1;
}
Symbol 529 MovieClip Frame 1 (13 B)
this.stop();
Symbol 542 MovieClip Frame 1 (13 B)
this.stop();
Symbol 554 MovieClip Frame 1 (13 B)
this.stop();
Symbol 566 MovieClip Frame 1 (13 B)
this.stop();
Symbol 572 MovieClip Frame 1 (8 B)
stop();
Instance of Symbol 482 MovieClip "levelTag" in Symbol 572 MovieClip Frame 1 (236 B)
onClipEvent (load) {
function updateTag(levNum) {
if (levNum >= 100) {
newX = 469;
}
if ((levNum < 100) && (levNum >= 10)) {
newX = 489;
}
if (levNum < 10) {
newX = 509;
}
this._x = newX;
}
}
Instance of Symbol 486 MovieClip "livesTag" in Symbol 572 MovieClip Frame 1 (241 B)
onClipEvent (load) {
function updateTag(lifeNum) {
if (lifeNum >= 100) {
newX = 467;
}
if ((lifeNum < 100) && (lifeNum >= 10)) {
newX = 487;
}
if (lifeNum < 10) {
newX = 507;
}
this._x = newX;
}
}
Instance of Symbol 543 MovieClip "scoreMC" in Symbol 572 MovieClip Frame 1 (2.19 KiB) ●
onClipEvent (load) {
function updateScore(inScore) {
if (inScore >= 10000000) {
this._x = 280;
}
if (inScore < 10000000) {
this._x = 260;
}
if (inScore < 1000000) {
this._x = 236;
}
if (inScore < 100000) {
this._x = 215;
}
if (inScore < 10000) {
this._x = 196;
}
if (inScore < 1000) {
this._x = 172;
}
if (inScore < 100) {
this._x = 152;
}
if (inScore < 10) {
this._x = 133;
}
premainder = 0;
if (inScore >= 10000000) {
myDigit = Math.floor(inScore / 10000000);
this.tenmillions.gotoAndStop(myDigit + 2);
premainder = myDigit * 10000000;
} else {
this.tenmillions.gotoAndStop(1);
}
if (inScore >= 1000000) {
myDigit = Math.floor((inScore - premainder) / 1000000);
this.millions.gotoAndStop(myDigit + 2);
premainder = premainder + (myDigit * 1000000);
} else {
this.millions.gotoAndStop(1);
}
if (inScore >= 100000) {
myDigit = Math.floor((inScore - premainder) / 100000);
this.hundredthousands.gotoAndStop(myDigit + 2);
premainder = premainder + (myDigit * 100000);
} else {
this.hundredthousands.gotoAndStop(1);
}
if (inScore >= 10000) {
myDigit = Math.floor((inScore - premainder) / 10000);
this.tenthousands.gotoAndStop(myDigit + 2);
premainder = premainder + (myDigit * 10000);
} else {
this.tenthousands.gotoAndStop(1);
}
if (inScore >= 1000) {
myDigit = Math.floor((inScore - premainder) / 1000);
this.thousands.gotoAndStop(myDigit + 2);
premainder = premainder + (myDigit * 1000);
} else {
this.thousands.gotoAndStop(1);
}
if (inScore >= 100) {
myDigit = Math.floor((inScore - premainder) / 100);
this.hundreds.gotoAndStop(myDigit + 2);
premainder = premainder + (myDigit * 100);
} else {
this.hundreds.gotoAndStop(1);
}
if (inScore >= 10) {
myDigit = Math.floor((inScore - premainder) / 10);
this.tens.gotoAndStop(myDigit + 2);
premainder = premainder + (myDigit * 10);
} else {
this.tens.gotoAndStop(1);
}
if (inScore >= 0) {
myDigit = Math.floor(inScore - premainder);
this.ones.gotoAndStop(Number(myDigit + 2));
} else {
this.ones.gotoAndStop(2);
}
}
updateScore(scripts.totalScore);
}
Instance of Symbol 555 MovieClip "livesMC" in Symbol 572 MovieClip Frame 1 (1.88 KiB) ●
onClipEvent (load) {
function updateScore(inScore) {
if (inScore < 100) {
this._x = 575;
}
if (inScore < 10) {
this._x = 575;
}
premainder = 0;
if (inScore >= 10000000) {
myDigit = Math.floor(inScore / 10000000);
this.tenmillions.gotoAndStop(myDigit + 2);
premainder = myDigit * 10000000;
} else {
this.tenmillions.gotoAndStop(1);
}
if (inScore >= 1000000) {
myDigit = Math.floor((inScore - premainder) / 1000000);
this.millions.gotoAndStop(myDigit + 2);
premainder = premainder + (myDigit * 1000000);
} else {
this.millions.gotoAndStop(1);
}
if (inScore >= 100000) {
myDigit = Math.floor((inScore - premainder) / 100000);
this.hundredthousands.gotoAndStop(myDigit + 2);
premainder = premainder + (myDigit * 100000);
} else {
this.hundredthousands.gotoAndStop(1);
}
if (inScore >= 10000) {
myDigit = Math.floor((inScore - premainder) / 10000);
this.tenthousands.gotoAndStop(myDigit + 2);
premainder = premainder + (myDigit * 10000);
} else {
this.tenthousands.gotoAndStop(1);
}
if (inScore >= 1000) {
myDigit = Math.floor((inScore - premainder) / 1000);
this.thousands.gotoAndStop(myDigit + 2);
premainder = premainder + (myDigit * 1000);
} else {
this.thousands.gotoAndStop(1);
}
if (inScore >= 100) {
myDigit = Math.floor((inScore - premainder) / 100);
this.hundreds.gotoAndStop(myDigit + 2);
premainder = premainder + (myDigit * 100);
} else {
this.hundreds.gotoAndStop(1);
}
if (inScore >= 10) {
myDigit = Math.floor((inScore - premainder) / 10);
this.tens.gotoAndStop(myDigit + 2);
premainder = premainder + (myDigit * 10);
} else {
this.tens.gotoAndStop(1);
}
if (inScore >= 0) {
myDigit = Math.floor(inScore - premainder);
this.ones.gotoAndStop(Number(myDigit + 2));
} else {
this.ones.gotoAndStop(2);
}
}
updateScore(3);
}
Instance of Symbol 567 MovieClip "levelMC" in Symbol 572 MovieClip Frame 1 (1.87 KiB) ●
onClipEvent (load) {
function updateScore(inScore) {
if (inScore < 1000) {
}
if (inScore < 100) {
}
if (inScore < 10) {
}
premainder = 0;
if (inScore >= 10000000) {
myDigit = Math.floor(inScore / 10000000);
this.tenmillions.gotoAndStop(myDigit + 2);
premainder = myDigit * 10000000;
} else {
this.tenmillions.gotoAndStop(1);
}
if (inScore >= 1000000) {
myDigit = Math.floor((inScore - premainder) / 1000000);
this.millions.gotoAndStop(myDigit + 2);
premainder = premainder + (myDigit * 1000000);
} else {
this.millions.gotoAndStop(1);
}
if (inScore >= 100000) {
myDigit = Math.floor((inScore - premainder) / 100000);
this.hundredthousands.gotoAndStop(myDigit + 2);
premainder = premainder + (myDigit * 100000);
} else {
this.hundredthousands.gotoAndStop(1);
}
if (inScore >= 10000) {
myDigit = Math.floor((inScore - premainder) / 10000);
this.tenthousands.gotoAndStop(myDigit + 2);
premainder = premainder + (myDigit * 10000);
} else {
this.tenthousands.gotoAndStop(1);
}
if (inScore >= 1000) {
myDigit = Math.floor((inScore - premainder) / 1000);
this.thousands.gotoAndStop(myDigit + 2);
premainder = premainder + (myDigit * 1000);
} else {
this.thousands.gotoAndStop(1);
}
if (inScore >= 100) {
myDigit = Math.floor((inScore - premainder) / 100);
this.hundreds.gotoAndStop(myDigit + 2);
premainder = premainder + (myDigit * 100);
} else {
this.hundreds.gotoAndStop(1);
}
if (inScore >= 10) {
myDigit = Math.floor((inScore - premainder) / 10);
this.tens.gotoAndStop(myDigit + 2);
premainder = premainder + (myDigit * 10);
} else {
this.tens.gotoAndStop(1);
}
if (inScore >= 0) {
myDigit = Math.floor(inScore - premainder);
this.ones.gotoAndStop(Number(myDigit + 2));
} else {
this.ones.gotoAndStop(2);
}
}
updateScore(1);
}
Symbol 577 Button (41 B)
on (release) {
scripts.toggleVolume();
}
Symbol 580 Button (41 B)
on (release) {
scripts.toggleVolume();
}
Symbol 581 MovieClip Frame 1 (8 B)
stop();
Symbol 581 MovieClip Frame 2 (39 B)
trace("sound ON frame");
this.stop();
Symbol 581 MovieClip Frame 9 (13 B)
this.stop();
Symbol 581 MovieClip Frame 10 (40 B)
trace("sound OFF frame");
this.stop();
Symbol 581 MovieClip Frame 18 (13 B)
this.stop();
Symbol 633 MovieClip Frame 1 (13 B)
this.stop();
Symbol 636 MovieClip Frame 1 (13 B)
this.stop();
Symbol 644 Button (41 B)
on (release) {
gotoAndPlay ("replay");
}
Symbol 647 Button (130 B)
on (release) {
_root.fx("mouse_down", 0, 100, 0);
_global.ipbSend();
}
on (rollOver) {
howard_root.fx("rollover", 0, 100, 0);
}
Symbol 655 Button (39 B)
on (release) {
gotoAndPlay ("menu");
}
Symbol 663 MovieClip Frame 1 (8 B)
stop();
Symbol 663 MovieClip Frame 2 (8 B)
stop();
Symbol 679 MovieClip Frame 1 (33 B)
contentMain.setMask(maskedView);
Instance of Symbol 664 MovieClip "contentMain" in Symbol 679 MovieClip Frame 1 (21 B)
/* no clip actions */
Symbol 679 MovieClip Frame 5 (2.44 KiB) ●
scrolling = function () {
var _local5 = scrollTrack._height;
var _local2 = contentMain._height + 20;
var _local4 = scrollFace._height;
var _local3 = maskedView._height;
var initPosition = ((scrollFace._y = scrollTrack._y));
var initContentPos = (contentMain._y + 5);
var finalContentPos = ((_local3 - _local2) + initContentPos);
var left = scrollTrack._x;
var top = scrollTrack._y;
var right = scrollTrack._x;
var bottom = ((scrollTrack._height - _local4) + scrollTrack._y);
var dy = 0;
var speed = 10;
var moveVal = ((_local2 - _local3) / (_local5 - _local4));
scrollFace.onPress = function () {
var _local2 = this._y;
startDrag (this, false, left, top, right, bottom);
this.onMouseMove = function () {
dy = Math.abs(initPosition - this._y);
contentMain._y = Math.round(((dy * -1) * moveVal) + initContentPos);
};
};
scrollFace.onMouseUp = function () {
stopDrag();
delete this.onMouseMove;
};
btnUp.onPress = function () {
this.onEnterFrame = function () {
if ((contentMain._y + speed) < maskedView._y) {
if (scrollFace._y <= top) {
scrollFace._y = top;
} else {
scrollFace._y = scrollFace._y - (speed / moveVal);
}
contentMain._y = contentMain._y + speed;
} else {
scrollFace._y = top;
contentMain._y = maskedView._y;
delete this.onEnterFrame;
}
};
};
btnUp.onDragOut = function () {
delete this.onEnterFrame;
};
btnUp.onRollOut = function () {
delete this.onEnterFrame;
};
btnUp.onRelease = function () {
delete this.onEnterFrame;
};
btnDown.onPress = function () {
this.onEnterFrame = function () {
if ((contentMain._y - speed) > finalContentPos) {
if (scrollFace._y >= bottom) {
scrollFace._y = bottom;
} else {
scrollFace._y = scrollFace._y + (speed / moveVal);
}
contentMain._y = contentMain._y - speed;
} else {
scrollFace._y = bottom;
contentMain._y = finalContentPos;
delete this.onEnterFrame;
}
};
};
btnDown.onRelease = function () {
delete this.onEnterFrame;
};
btnDown.onDragOut = function () {
delete this.onEnterFrame;
};
btnDown.onRollOut = function () {
delete this.onEnterFrame;
};
if (_local2 < _local3) {
scrollFace._visible = false;
btnUp.enabled = false;
btnDown.enabled = false;
} else {
scrollFace._visible = true;
btnUp.enabled = true;
btnDown.enabled = true;
}
};
scrolling();
stop();