STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
229595
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2595 · P5190

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/76810645?noj=FRM76810645-22DC" width="1" height="1"></div>

Logrunner.swf

This is the info page for
Flash #25973

(Click the ID number above for more basic data on this flash file.)


Text
10

Loading movie...

10 Seconds Remaining

Start

Frames/sec:

v. 4

0

Score:

1

Level:

Continue

Submit
Score

Game Over

Play
Again

ActionScript [AS1/AS2]

Frame 1
function startGame() { gLevel = 1; gLives = 3; score = 0; scorecheck = "0"; _root.score_display = scorecheck; gIntroSound.stop(); gActionSound.attachSound("chop_sound"); gActionSound.start(); _root.gotoAndStop("play"); } function playAgain() { gActionSound.attachSound("chop_sound"); gActionSound.start(); _root.score_display = "0"; _root.level_display = "1"; gotoAndStop (3); } function init() { gMaxLives = 3; gCenterX = 240; gRowHeight = 33; gHorizUnit = 15; gPlayer = _root.player; gLeftEdge = 20; gRightEdge = 500; gStageWidth = gRightEdge - gLeftEdge; gRecenterSpeed = 50; gInitialPrizeY = 2; gFallsStartX = -500; gFallsEndX = 120; cOPEN = 1; cMIDDLE = 2; cLEFT = 3; cRIGHT = 4; cCLOSED = 5; cNORMAL = 10; cDIE = 11; cPAUSE = 12; gRowData = new Array(); gRowData[0] = [[3, 10], [3, 60], [2, 35], [2, 80, 20]]; gRowData[1] = [[2, 40], [3, 75], [2, 80], [3, 30, 40]]; gRowData[2] = [[3, 10], [3, 70], [2, 30], [3, 80, 25]]; gRowData[3] = [[2, 50], [3, 45], [2, 35], [3, 80, 0]]; gRowData[4] = [[2, 15], [3, 80], [3, 75], [2, 40, 20]]; gRowData[5] = [[2, 50], [3, 30], [3, 40], [3, 30, 30]]; gRowData[6] = [[3, 20], [2, 70], [3, 30], [2, 50, 25]]; gNumRows = gRowData.length; gRowSpeed = [10, 35, 50, 57, 52, 37, 12]; gLogLength = [0, 40, 72, 128]; gDieSound = new Sound(); gActionSound = new Sound(); gBearSound = new Sound(); gFallsSound = new Sound(_root.falls_sound_MC); gFallsSound.attachSound("falls_sound"); gLogrollSound = new Sound(_root.logroll_sound_MC); gLogrollSound.attachSound("logroll_sound"); gIntroSound = new Sound(_root.intro_sound_MC); gIntroSound.attachSound("intro_sound"); gBackgroundSound = new Sound(_root.bg_sound_MC); gBackgroundSound.attachSound("bg_sound"); gPrizeSpacingMin = 220; gPrizeSpacingMax = 260; gNumPrizes = 20; gNumPrizeTypes = 4; gNumBears = 2; gBearInterval = 500; gBearKnowsCurrent = false; gBearThinkDepth = 3; gDir = [[-1, 0], [0, 1], [1, 0], [0, -1]]; gFallsDelay = 45000; } function setUp() { _root.level_display = gLevel; updateLives(); setLevelDifficulty(); gPlayerX = gCenterX; gPlayerLog = 0; gPlayer.animation.legs.gotoAndStop(1); gPlayer.animation.upper_body.gotoAndStop("normal"); gPlayer.pRunning = false; gLogrollSound.stop(); _root.hands._x = -100; gRowTimer = -1; gMode = cNORMAL; gRowMC = new Array(); gRowLevel = 1; gRowLength = new Array(); var i = 0; while (i < gNumRows) { _root.row_MCA.attachMovie("blank", "row" + gRowLevel, gRowLevel); var lRowMC = _root.row_MCA["row" + gRowLevel]; lRowMC._x = 0; lRowMC._y = gRowHeight * i; var lLogLevel = 1; lRowMC.pLog = new Array(); var lPos = 0; var j = 0; while (j < gRowData[i].length) { var lType = gRowData[i][j][0]; lPos = lPos + gRowData[i][j][1]; lRowMC.attachMovie("log", "log" + j, lLogLevel); var lLogMC = lRowMC["log" + j]; lLogMC.id = lLogLevel; lLogMC.pX = lPos; lLogMC._x = lLogMC.pX; lLogMC._y = 0; lLogMC.gotoAndStop(lType); lRowMC.pLog.push(lLogMC); lPos = lPos + gLogLength[lType]; if (gRowData[i][j].length == 3) { lPos = lPos + gRowData[i][j][2]; } lLogLevel++; j++; } gRowLength[i] = lPos; gRowMC.push(lRowMC); gRowLevel++; i++; } gPlayer.pRow = gNumRows; gPlayerSpeed = 0; placePlayer(); removeCarryPrize(); setUpPrizes(); setUpBears(); setUpWaterfall(); gLevelTimer = getTimer(); } function setLevelDifficulty() { if (1 >= gLevel) { gNumBears = 0; } else if (6 >= gLevel) { gNumBears = 1; } else { gNumBears = 2; } gBearInterval = Math.max(150, 500 - ((gLevel - 1) * 20)); if (2 >= gLevel) { gNumPrizeTypes = 2; } else if (4 >= gLevel) { gNumPrizeTypes = 3; } else if (6 >= gLevel) { gNumPrizeTypes = 4; } else { gNumPrizeTypes = 5; } } function startIntroSound() { gIntroSound.start(0, 30000); gBackgroundSound.start(0, 30000); gFallsSound.start(0, 30000); gFallsSound.setVolume(0); } function levelOver() { gMode = cPAUSE; gotoAndStop (8); } function nextLevel() { gActionSound.attachSound("chop_sound"); gActionSound.start(); gFallsSound.setVolume(0); gLevel++; _root.gotoAndStop("play"); } function submitScore() { gActionSound.attachSound("chop_sound"); gActionSound.start(); extra = extra + ("Level " + gLevel); stats = stats + ""; loadMovie ((((((((((((("game.swf?score=" + score) + "&scorecheck=") + scorecheck) + "&extra=") + extra) + "&stats=") + stats) + "&scoremode=") + scoremode) + "&gamename=") + gamename) + "&textname=") + textname, _root); } function updateLives() { var i = 0; while (i < gMaxLives) { var lLife = _root["life_" + i]; if (i < gLives) { lLife._x = 522; } else { lLife._x = -100; } i++; } } function frameLoop() { if (gMode == cNORMAL) { updateScenery(); checkBears(); } } function checkBears() { if (gBearWaiting.length >= 1) { var r = getEntryLog(); if (r != -1) { bearEnters(r); } } var lTime = getTimer(); var i = 0; while (i < gBear.length) { if (getOne(gBearWaiting, gBear[i]) != -1) { } else if ((gBear[i].pTimer + gBearInterval) < lTime) { walkBear(gBear[i]); gBear[i].pTimer = lTime; } i++; } } function getEntryLog() { var lRowSource = new Array(); var i = 0; while (i < gNumRows) { lRowSource.push(i); i++; } var i = 0; while (i < gBear.length) { var lIndex = getOne(gBearWaiting, gBear[i]); if (lIndex != -1) { } else { var r = gBear[i].pRow; var lIndex = getOne(lRowSource, r); if (lIndex != -1) { lRowSource.splice(lIndex, 1); } } i++; } while (0 < lRowSource.length) { var lIndex = Math.floor(Math.random() * lRowSource.length); var lRow = lRowSource[lIndex]; var lSpeed = screenSpeed(lRow); if (2 >= Math.abs(lRow - gPlayer.pRow)) { lRowSource.splice(lIndex, 1); } else { if ((0 < lSpeed) && (logAt(lRow, gStageWidth))) { return(lRow); } if ((lSpeed < 0) && (logAt(lRow, 0))) { return(lRow); } lRowSource.splice(lIndex, 1); } } return(-1); } function screenSpeed(r) { if ((r < 0) || ((gNumRows - 1) < r)) { var lAbsSpeed = 0; } else { var lAbsSpeed = gRowSpeed[r]; } var lRelSpeed = (lAbsSpeed - gPlayerSpeed); return(lRelSpeed); } function setUpWaterfall() { _root.waterfall._x = gFallsStartX; gFallsStarted = false; } function removeBears() { gBearWaiting = new Array(); var i = 0; while (i < gBear.length) { gBear[i].graphic._x = -1000; gBearWaiting.push(gBear[i]); i++; } } function setUpBears() { gBearLevel = 1; gBearOver = new Array(); gBearUnder = new Array(); gBear = new Array(); gBearWaiting = new Array(); var i = 0; while (i < gNumBears) { _root.bear_over_MCA.attachMovie("bear", "bear" + i, gBearLevel); _root.bear_under_MCA.attachMovie("bear", "bear" + i, gBearLevel); var lBear = _root.bear_over_MCA["bear" + i]; gBearOver.push(lBear); lBear._x = -1000; var lBear = _root.bear_under_MCA["bear" + i]; gBearUnder.push(lBear); lBear._x = -1000; var lBear = {graphic:gBearUnder[i], id:i, pTimer:0, pRow:0}; gBear.push(lBear); gBearWaiting.push(lBear); gBearLevel++; i++; } } function bearEnters(r) { var b = gBearWaiting.shift(); b.pRow = r; var lRelSpeed = screenSpeed(r); if (0 < lRelSpeed) { b.graphic._xscale = 100; b.graphic._x = gStageWidth; } else if (lRelSpeed < 0) { b.graphic._xscale = -100; b.graphic._x = 0; } b.pTimer = getTimer(); placeBear(b); } function walkBear(vBear) { gChecked = new Array(); var r = 0; while (r < gBearThinkDepth) { gChecked[r] = new Array(); r++; } gCurrentBear = vBear; var lBestIndex = -1; var lClosestDist = 1000; var lShallowest = 10; var i = 0; while (i < 4) { var r = (vBear.pRow + gDir[i][0]); var x = (vBear.graphic._x + (gDir[i][1] * gHorizUnit)); var lMove = [1000, 10, r, x, gBearThinkDepth]; lMove = thinkBear(lMove); if (!lMove) { } else if (lMove[0] < lClosestDist) { lBestIndex = i; lClosestDist = lMove[0]; lShallowest = lMove[1]; } else if ((lMove[0] == lClosestDist) && (lMove[1] < lShallowest)) { lBestIndex = i; lShallowest = lMove[1]; } i++; } if (lBestIndex != -1) { vBear.pRow = vBear.pRow + gDir[lBestIndex][0]; var x = vBear.graphic._x; updateBearStacking(vBear); vBear.graphic._x = x + (gDir[lBestIndex][1] * gHorizUnit); if (0 < gDir[lBestIndex][1]) { vBear.graphic._xscale = -100; } else if (gDir[lBestIndex][1] < 0) { vBear.graphic._xscale = 100; } placeBear(vBear); checkBearKill(vBear); } } function updateBearStacking(vBear) { if (gPlayer.pRow >= vBear.pRow) { vBear.graphic = gBearUnder[vBear.id]; gBearOver[vBear.id]._x = -1000; } else { vBear.graphic = gBearOver[vBear.id]; gBearUnder[vBear.id]._x = -1000; } } function thinkBear(vMove) { if (0 >= vMove[4]) { return(false); } var r0 = vMove[2]; var x0 = vMove[3]; var c0 = ((x0 - gCurrentBear.graphic._x) / gHorizUnit); var lValue = gChecked[r0][c0]; if (lValue == -1) { return(false); } if ((lValue != undefined) && (lValue >= vMove[4])) { return(false); } if (!logAt(r0, x0)) { gChecked[r0][c0] = -1; return(false); } var lHasBear = false; var i = 0; while (i < gBear.length) { if (((gBear[i] != gCurrentBear) && (gBear[i].pRow == r0)) && (gHorizUnit >= Math.abs(gBear[i].graphic._x - x0))) { lHasBear = true; } i++; } if (lHasBear) { gChecked[r0][c0] = -1; return(false); } gChecked[r0][c0] = vMove[4]; vMove[0] = Math.abs(gPlayerX - x0) + (gHorizUnit * Math.abs(gPlayer.pRow - r0)); var i = 0; while (i < 4) { var r = (r0 + gDir[i][0]); var x = (x0 + (gDir[i][1] * gHorizUnit)); var lNextMove = [vMove[0], r, x, vMove[4] - 1]; lNextMove = thinkBear(lNextMove); if (lNextMove) { if (lNextMove[0] < vMove[0]) { vMove[0] = lNextMove[0]; vMove[1] = vMove[4] - 1; } else if ((lNextMove[0] == vMove[0]) && ((vMove[4] - 1) < vMove[1])) { vMove[1] = vMove[4] - 1; } } i++; } return(vMove); } function checkBearKill(vBear) { if (gMode == cDIE) { return(undefined); } if (vBear == undefined) { var lBearArray = gBear; } else { var lBearArray = [vBear]; } var i = 0; while (i < lBearArray.length) { if ((lBearArray[i].pRow == gPlayer.pRow) && (Math.abs(lBearArray[i].graphic._x - gPlayerX) < 25)) { trace("hugging shall occur!"); lBearArray[i].graphic.gotoAndPlay("hug"); gBearSound.attachSound("hug_sound"); gBearSound.start(); gPlayer._x = -100; var lCurrentLog = logAt(gPlayer.pRow, gPlayerX); if (lCurrentLog) { lCurrentLog.log.gotoAndStop("nospin"); } startDying(); return(undefined); } i++; } } function doneHugging() { } function moveBear(vBear, dx) { vBear.graphic._x = vBear.graphic._x - dx; if ((((gRightEdge + 30) < vBear.graphic._x) && (dx < 0)) || ((vBear.graphic._x < (gLeftEdge - 30)) && (0 < dx))) { prepareBear(vBear); } } function prepareBear(vBear) { if (getOne(gBearWaiting, vBear) == -1) { gBearWaiting.push(vBear); } } function placeBear(vBear) { var y = (gRowHeight * vBear.pRow); if (vBear.pRow == -1) { y = y + 20; } vBear.graphic._y = y; } function setUpPrizes() { for (var obj in /prize_MCA) { _root.prize_MCA[obj].removeMovieClip(); } gPrizeSpacing = gPrizeSpacingMin + (Math.random() * (gPrizeSpacingMax - gPrizeSpacingMin)); gPrizeLevel = 1; gPrize = new Array(); gFarPrize = new Array(); gCarryPrize = 0; gNearPrize = new Array(); var x = (gStageWidth - gPrizeSpacing); do { startNewPrize(x); gPrizeSpacing = gPrizeSpacingMin + (Math.random() * (gPrizeSpacingMax - gPrizeSpacingMin)); x = x - gPrizeSpacing; } while (x >= -50); } function placePlayer() { var x = gPlayerX; var y = (gRowHeight * gPlayer.pRow); if (gPlayer.pRow == -1) { y = y + 11; } gPlayer._x = x + _root.row_MCA._x; gPlayer._y = y + _root.row_MCA._y; } function prizeAnimationDone() { _root.prize_animation._x = -100; _root.prize_animation.gotoAndStop(1); } function placeCarryPrize() { if (!gCarryPrize) { return(undefined); } gCarryPrize._x = gPlayer._x; _root.hands._x = gPlayer._x; _root.hands._y = gPlayer._y; if (gPlayer.pRow == -1) { gCarryPrize._y = gPlayer._y + gInitialPrizeY; } else { gCarryPrize._y = gPlayer._y; } } function startNewPrize(x) { _root.prize_MCA.attachMovie("prize", "prize" + gPrizeLevel, gPrizeLevel); var lPrize = _root.prize_MCA["prize" + gPrizeLevel]; lPrize.id = gPrizeLevel; var lType = Math.ceil(Math.random() * gNumPrizeTypes); lPrize.gotoAndStop(lType); lPrize.value.gotoAndStop(lType); lPrize._x = x; lPrize._y = gInitialPrizeY; gPrize.push(lPrize); gLastPrizeX = x; gPrizeLevel++; } function adjustScenery(dx) { var i = 0; while (i < gNumRows) { moveRow(i, dx); i++; } moveShores(-dx); var i = 0; while (i < gBear.length) { moveBear(gBear[i], dx); i++; } } function updateScenery() { if (gRowTimer == -1) { gRowTimer = getTimer(); return(undefined); } var lTime = getTimer(); var lDuration = (lTime - gRowTimer); var lRecenterDist = 0; var lToCenter = (gCenterX - gPlayerX); if (((-1 < gPlayer.pRow) && (gPlayer.pRow < gNumRows)) && (lToCenter != 0)) { if (0 < lToCenter) { lSign = 1; } else { lSign = -1; } lRecenterDist = ((lSign * gRecenterSpeed) * lDuration) / 600; var lToCenterAfter = (gCenterX - (gPlayerX + lRecenterDist)); if ((lToCenter * lToCenterAfter) < 0) { lRecenterDist = lToCenter; } gPlayerX = gPlayerX + lRecenterDist; gPlayer._x = gPlayerX + _root.row_MCA._x; placeCarryPrize(); } var i = 0; while (i < gRowMC.length) { var lAbsSpeed = gRowSpeed[i]; var lRelSpeed = (lAbsSpeed - gPlayerSpeed); var dx = (((lRelSpeed * lDuration) / 600) - lRecenterDist); moveRow(i, dx); i++; } var i = 0; while (i < gBear.length) { var lAbsSpeed = gRowSpeed[gBear[i].pRow]; var lRelSpeed = (lAbsSpeed - gPlayerSpeed); var dx = (((lRelSpeed * lDuration) / 600) - lRecenterDist); moveBear(gBear[i], dx); i++; } var dx = (((gPlayerSpeed * lDuration) / 600) + lRecenterDist); moveShores(dx); if (!gFallsStarted) { if ((gLevelTimer + gFallsDelay) < lTime) { gFallsStarted = true; } } if (gFallsStarted) { var dx = (((gPlayerSpeed * lDuration) / 600) + lRecenterDist); _root.waterfall._x = _root.waterfall._x + dx; var lVol = Math.floor(((100 * (_root.waterfall._x - gFallsStartX)) / (gFallsEndX - gFallsStartX)) + 0.5); trace("volume should be " + lVol); gFallsSound.setVolume(lVol); if (_root.waterfall._x >= gFallsEndX) { levelOver(); } } gRowTimer = lTime; } function moveShores(dx) { var x = (_root.near_shore._x + dx); var w = _root.near_shore._width; if ((x + (w / 2)) < gRightEdge) { x = x + (w / 2); } else if (gLeftEdge < (x - (w / 2))) { x = x - (w / 2); } _root.near_shore._x = x; var x = (_root.far_shore._x + dx); var w = _root.far_shore._width; if ((x + (w / 2)) < gRightEdge) { x = x + (w / 2); } else if (gLeftEdge < (x - (w / 2))) { x = x - (w / 2); } _root.far_shore._x = x; gLastPrizeX = gLastPrizeX + dx; var i = 0; while (i < gPrize.length) { gPrize[i]._x = gPrize[i]._x + dx; i++; } if (gLastPrizeX >= gPrizeSpacing) { startNewPrize(gLastPrizeX - gPrizeSpacing); gPrizeSpacing = gPrizeSpacingMin + (Math.random() * (gPrizeSpacingMax - gPrizeSpacingMin)); } var lFirstX = gPrize[0]._x; if (gStageWidth < lFirstX) { var lFirstMC = gPrize.shift(); lFirstMC.removeMovieClip(); } } function moveRow(r, dx) { var j = 0; while (j < gRowMC[r].pLog.length) { var x = (gRowMC[r].pLog[j].pX - dx); var y = (gRowHeight * r); if ((0 < dx) && (0 >= (x + gLogLength[gRowMC[r].pLog[j]._currentFrame]))) { x = x + gRowLength[r]; } else if ((dx < 0) && (x >= gStageWidth)) { x = x - gRowLength[r]; } gRowMC[r].pLog[j].pX = x; gRowMC[r].pLog[j]._x = x; j++; } } function pressedKey() { var lPressed = Key.getCode(); if (lPressed == 37) { movePlayer(0, -1); } else if (lPressed == 39) { movePlayer(0, 1); } else if (lPressed == 38) { movePlayer(-1, 0); } else if (lPressed == 40) { movePlayer(1, 0); } } function movePlayer(dr, dc) { if (gMode != cNORMAL) { return(undefined); } var rOld = gPlayer.pRow; var cOld = gPlayer.pCol; var r = (gPlayer.pRow + dr); var c = (gPlayer.pCol + dc); if ((r < -1) || (gNumRows < r)) { return(undefined); } gPlayer.pRow = r; gPlayerSpeed = gRowSpeed[gPlayer.pRow]; updateLocationEffects(); placePlayer(); if (dr != 0) { gActionSound.attachSound("jump_sound"); gActionSound.start(); } if (dc != 0) { var lHorizMove = (gHorizUnit * dc); if ((gPlayer.pRow == -1) || (gPlayer.pRow == gNumRows)) { gPlayerX = gPlayerX + lHorizMove; if ((gStageWidth - 20) < gPlayerX) { gPlayerX = gStageWidth - 20; } else if (gPlayerX < 20) { gPlayerX = 20; } placePlayer(); } else { adjustScenery(lHorizMove); } } var lCurrentLog = logAt(r, gPlayerX); if (!lCurrentLog) { if (gPlayerLog) { gPlayerLog.log.gotoAndStop("nospin"); gPlayerLog = 0; } startDrowning(); } else if (lCurrentLog != gPlayerLog) { gPlayerLog.log.gotoAndStop("nospin"); gPlayerLog = lCurrentLog; gPlayerLog.log.gotoAndPlay("spin"); } placeCarryPrize(); if ((gPlayer.pRow == -1) && (!gCarryPrize)) { var i = gPrize.length; while (i >= 0) { if (Math.abs(gPrize[i]._x - gPlayerX) < 20) { gActionSound.attachSound("pick_up_sound"); gActionSound.start(); gCarryPrize = _root.carry_prize; gCarryPrize.gotoAndStop(gPrize[i]._currentFrame); gCarryPrize.value.gotoAndStop("hide"); gPrize[i].removeMovieClip(); gPrize.splice(i, 1); placeCarryPrize(); gPlayer.animation.upper_body.gotoAndStop("holding"); _root.hands._x = gPlayer._x; _root.hands._y = gPlayer._y; } i--; } } else if (gPlayer.pRow == gNumRows) { if (gCarryPrize) { var lValue = (100 * gCarryPrize._currentFrame); updateScore(lValue); gActionSound.attachSound("put_down_sound"); gActionSound.start(); _root.prize_animation._x = gPlayer._x; _root.prize_animation._y = gPlayer._y; _root.prize_animation.value.gotoAndStop(gCarryPrize._currentFrame); _root.prize_animation.gotoAndPlay(1); gCarryPrize._x = -100; gCarryPrize = 0; gPlayer.animation.upper_body.gotoAndStop("normal"); _root.hands._x = -100; } } checkBearKill(); } function startDying() { gMode = cDIE; removeCarryPrize(); gLogrollSound.stop(); } function removeCarryPrize() { if (gCarryPrize) { gCarryPrize._x = -100; gCarryPrize = 0; _root.hands._x = -100; } } function startDrowning() { gDieSound.attachSound("drown_sound"); gDieSound.start(); gPlayer.gotoAndPlay("drown"); startDying(); } function doneDying(vBear) { vBear.gotoAndStop("normal"); trace((("bear graphic " + vBear._name) + " is now at frame ") + vBear._currentFrame); gLives--; if (gLives >= 0) { gMode = cNORMAL; gPlayer.gotoAndStop("normal"); gPlayer.animation.upper_body.gotoAndStop("normal"); gPlayer.pRow = gNumRows; gPlayerSpeed = 0; gPlayerX = gCenterX; updateLocationEffects(); placePlayer(); removeBears(); updateLives(); } else { gFallsSound.setVolume(0); gBackgroundSound.stop(); gotoAndStop (11); } } function logAt(r, x) { if ((r == -1) || (r == gNumRows)) { return(true); } var lRowMC = gRowMC[r]; var i = 0; while (i < gRowMC[r].pLog.length) { var lLog = gRowMC[r].pLog[i]; var lLeftEdge = (lLog._x + 5); var lRightEdge = ((lLog._x + gLogLength[lLog._currentFrame]) - 5); if ((lLeftEdge < x) && (x < lRightEdge)) { return(lLog); } i++; } return(false); } function updateLocationEffects() { if ((gPlayer.pRow < 0) || ((gNumRows - 1) < gPlayer.pRow)) { if (gPlayer.pRunning) { gPlayer.pRunning = false; gPlayer.animation.legs.gotoAndStop(1); gLogrollSound.stop(); } if (gPlayer.pBalancing) { gPlayer.pBalancing = false; gPlayer.animation.upper_body.gotoAndStop(1); } } else { if (!gPlayer.pRunning) { gPlayer.pRunning = true; gPlayer.animation.legs.play(); gLogrollSound.start(0, 30000); } if ((!gPlayer.pBalancing) && (!gCarryPrize)) { gPlayer.pBalancing = true; trace("starting upper body animation"); gPlayer.animation.upper_body.play(); } } } function offBoard() { if ((vRow < -1) || (gNumRows < vRow)) { return(true); } if ((vCol < 0) || ((gNumCols - 1) < vCol)) { return(true); } return(false); } function updateScore(vChange) { score = score + vChange; scorecheck = String(Number(scorecheck) + vChange); if (score < 0) { score = 0; scorecheck = "0"; } _root.score_display = scorecheck; } function getOne(array, x) { var i = 0; while (i < array.length) { if (x == array[i]) { return(i); } i++; } return(-1); } init(); stop();
Instance of Symbol 87 MovieClip in Frame 1
onClipEvent (load) { totalFileSize = _root.getBytesTotal(); startTime = getTimer(); startBytes = _root.getBytesLoaded(); this._xscale = 0; } onClipEvent (enterFrame) { bytesLoaded = _root.getBytesLoaded(); amountLoaded = bytesLoaded / totalFileSize; percentLoaded = int(100 * amountLoaded); this._xscale = percentLoaded; timeSoFar = getTimer() - startTime; speed = bytesLoaded / timeSoFar; bytesLeft = totalFileSize - bytesLoaded; timeLeft = (bytesLeft / 1000) * (speed / 1000); speed = int(10 * speed) / 10; _root.timeMessage = int(timeLeft) + " seconds remaining"; if (amountLoaded >= 1) { _root.gotoAndStop("startgame"); } }
Frame 3
startIntroSound();
Frame 5
setUp();
Instance of Symbol 79 MovieClip [blank] "controller" in Frame 5
onClipEvent (keyDown) { _root.pressedKey(); updateAfterEvent(); } onClipEvent (enterFrame) { _root.frameLoop(); }
Symbol 22 MovieClip Frame 1
stop();
Symbol 22 MovieClip Frame 12
gotoAndPlay (3);
Symbol 34 MovieClip Frame 1
stop();
Symbol 34 MovieClip Frame 12
gotoAndPlay (3);
Symbol 47 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 12
gotoAndPlay (3);
Symbol 49 MovieClip [log] Frame 1
stop();
Symbol 65 MovieClip [prize] Frame 1
stop();
Symbol 78 MovieClip [bear] Frame 1
stop();
Symbol 78 MovieClip [bear] Frame 49
trace("Hey, I'm at frame " + this._currentFrame); _root.doneDying(this);
Symbol 80 MovieClip [prize] Frame 1
stop();
Symbol 103 MovieClip Frame 12
gotoAndPlay (1);
Symbol 114 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 32
_root.doneDying(); stop();
Symbol 121 Button
on (release) { _root.startGame(); }
Symbol 125 MovieClip Frame 1
pTimer = getTimer();
Symbol 125 MovieClip Frame 2
pTimer = getTimer() - pTimer; var lRate = Math.floor((1000 / pTimer) + 0.5); display = lRate;
Symbol 136 MovieClip Frame 10
_root.prizeAnimationDone();
Symbol 145 MovieClip Frame 15
gotoAndPlay (1);
Symbol 152 Button
on (release) { _root.nextLevel(); }
Symbol 157 Button
on (release) { _root.submitScore(); }
Symbol 160 Button
on (release) { _root.playAgain(); }

Library Items

Symbol 1 Sound [bg_sound]
Symbol 2 Sound [put_down_sound]
Symbol 3 Sound [pick_up_sound]
Symbol 4 Sound [intro_sound]
Symbol 5 Sound [logroll_sound]
Symbol 6 Sound [jump_sound]
Symbol 7 Sound [falls_sound]
Symbol 8 Sound [drown_sound]
Symbol 9 Sound [hug_sound]
Symbol 10 Sound [chop_sound]
Symbol 11 MovieClip [blank]
Symbol 12 GraphicUsed by:22
Symbol 13 GraphicUsed by:22
Symbol 14 GraphicUsed by:22
Symbol 15 GraphicUsed by:22
Symbol 16 GraphicUsed by:22
Symbol 17 GraphicUsed by:22
Symbol 18 GraphicUsed by:22
Symbol 19 GraphicUsed by:22
Symbol 20 GraphicUsed by:22
Symbol 21 GraphicUsed by:22
Symbol 22 MovieClipUses:12 13 14 15 16 17 18 19 20 21Used by:49 145
Symbol 23 GraphicUsed by:49
Symbol 24 GraphicUsed by:34
Symbol 25 GraphicUsed by:34
Symbol 26 GraphicUsed by:34
Symbol 27 GraphicUsed by:34
Symbol 28 GraphicUsed by:34
Symbol 29 GraphicUsed by:34
Symbol 30 GraphicUsed by:34
Symbol 31 GraphicUsed by:34
Symbol 32 GraphicUsed by:34
Symbol 33 GraphicUsed by:34
Symbol 34 MovieClipUses:24 25 26 27 28 29 30 31 32 33Used by:49 145
Symbol 35 GraphicUsed by:49
Symbol 36 GraphicUsed by:47
Symbol 37 GraphicUsed by:47
Symbol 38 GraphicUsed by:47
Symbol 39 GraphicUsed by:47
Symbol 40 GraphicUsed by:47
Symbol 41 GraphicUsed by:47
Symbol 42 GraphicUsed by:47
Symbol 43 GraphicUsed by:47
Symbol 44 GraphicUsed by:47
Symbol 45 GraphicUsed by:47
Symbol 46 GraphicUsed by:47
Symbol 47 MovieClipUses:36 37 38 39 40 41 42 43 44 45 46Used by:49 145
Symbol 48 GraphicUsed by:49
Symbol 49 MovieClip [log]Uses:22 23 34 35 47 48
Symbol 50 GraphicUsed by:55
Symbol 51 GraphicUsed by:55
Symbol 52 GraphicUsed by:55
Symbol 53 GraphicUsed by:55
Symbol 54 GraphicUsed by:55
Symbol 55 MovieClipUses:50 51 52 53 54Used by:65 80 136
Symbol 56 GraphicUsed by:65 80
Symbol 57 GraphicUsed by:65 80
Symbol 58 GraphicUsed by:65 80
Symbol 59 GraphicUsed by:60
Symbol 60 MovieClipUses:59Used by:65 80
Symbol 61 GraphicUsed by:65 80
Symbol 62 FontUsed by:63
Symbol 63 EditableTextUses:62Used by:65 80
Symbol 64 GraphicUsed by:65 80
Symbol 65 MovieClip [prize]Uses:55 56 57 58 60 61 63 64
Symbol 66 GraphicUsed by:78
Symbol 67 GraphicUsed by:78
Symbol 68 GraphicUsed by:78
Symbol 69 GraphicUsed by:78 104
Symbol 70 GraphicUsed by:78 103
Symbol 71 GraphicUsed by:78
Symbol 72 GraphicUsed by:78 103
Symbol 73 GraphicUsed by:78
Symbol 74 GraphicUsed by:78
Symbol 75 GraphicUsed by:78 104
Symbol 76 GraphicUsed by:78 104
Symbol 77 GraphicUsed by:78 104
Symbol 78 MovieClip [bear]Uses:66 67 68 69 70 71 72 73 74 75 76 77
Symbol 79 MovieClip [blank]Used by:Timeline
Symbol 80 MovieClip [prize]Uses:55 56 57 58 60 61 63 64Used by:Timeline
Symbol 81 MovieClip [blank]Used by:Timeline
Symbol 82 FontUsed by:83 84 118 151 155 158 159
Symbol 83 EditableTextUses:82Used by:Timeline
Symbol 84 EditableTextUses:82Used by:Timeline
Symbol 85 GraphicUsed by:Timeline
Symbol 86 GraphicUsed by:87
Symbol 87 MovieClipUses:86Used by:Timeline
Symbol 88 GraphicUsed by:Timeline
Symbol 89 GraphicUsed by:Timeline
Symbol 90 GraphicUsed by:Timeline
Symbol 91 GraphicUsed by:Timeline
Symbol 92 GraphicUsed by:Timeline
Symbol 93 GraphicUsed by:94
Symbol 94 MovieClipUses:93Used by:Timeline
Symbol 95 GraphicUsed by:150  Timeline
Symbol 96 GraphicUsed by:150  Timeline
Symbol 97 GraphicUsed by:Timeline
Symbol 98 GraphicUsed by:99
Symbol 99 MovieClipUses:98Used by:Timeline
Symbol 100 GraphicUsed by:103
Symbol 101 GraphicUsed by:103
Symbol 102 GraphicUsed by:103
Symbol 103 MovieClipUses:70 100 72 101 102Used by:105
Symbol 104 MovieClipUses:69 75 76 77Used by:105
Symbol 105 MovieClipUses:103 104Used by:114
Symbol 106 GraphicUsed by:114
Symbol 107 GraphicUsed by:114
Symbol 108 GraphicUsed by:114
Symbol 109 GraphicUsed by:114
Symbol 110 GraphicUsed by:114
Symbol 111 GraphicUsed by:114
Symbol 112 GraphicUsed by:114
Symbol 113 GraphicUsed by:114
Symbol 114 MovieClipUses:105 106 107 108 109 110 111 112 113Used by:Timeline
Symbol 115 GraphicUsed by:Timeline
Symbol 116 GraphicUsed by:121 152
Symbol 117 GraphicUsed by:121 152
Symbol 118 EditableTextUses:82Used by:121
Symbol 119 GraphicUsed by:121 152
Symbol 120 GraphicUsed by:121 152 157 160
Symbol 121 ButtonUses:116 117 118 119 120Used by:Timeline
Symbol 122 FontUsed by:123 124
Symbol 123 EditableTextUses:122Used by:125
Symbol 124 TextUses:122Used by:125
Symbol 125 MovieClipUses:123 124Used by:Timeline
Symbol 126 FontUsed by:127
Symbol 127 TextUses:126Used by:Timeline
Symbol 128 GraphicUsed by:129
Symbol 129 MovieClipUses:128Used by:Timeline
Symbol 130 FontUsed by:131 132 133 134
Symbol 131 EditableTextUses:130Used by:Timeline
Symbol 132 EditableTextUses:130Used by:Timeline
Symbol 133 EditableTextUses:130Used by:Timeline
Symbol 134 EditableTextUses:130Used by:Timeline
Symbol 135 GraphicUsed by:Timeline
Symbol 136 MovieClipUses:55Used by:Timeline
Symbol 137 GraphicUsed by:145
Symbol 138 GraphicUsed by:145
Symbol 139 GraphicUsed by:145
Symbol 140 GraphicUsed by:145
Symbol 141 GraphicUsed by:145
Symbol 142 GraphicUsed by:145
Symbol 143 GraphicUsed by:145
Symbol 144 GraphicUsed by:145
Symbol 145 MovieClipUses:137 138 139 22 47 34 140 141 142 143 144Used by:Timeline
Symbol 146 GraphicUsed by:147
Symbol 147 MovieClipUses:146Used by:Timeline
Symbol 148 MovieClipUsed by:Timeline
Symbol 149 GraphicUsed by:150
Symbol 150 MovieClipUses:95 96 149Used by:Timeline
Symbol 151 EditableTextUses:82Used by:152
Symbol 152 ButtonUses:116 117 151 119 120Used by:Timeline
Symbol 153 GraphicUsed by:157 160
Symbol 154 GraphicUsed by:157 160
Symbol 155 EditableTextUses:82Used by:157
Symbol 156 GraphicUsed by:157 160
Symbol 157 ButtonUses:153 154 155 156 120Used by:Timeline
Symbol 158 EditableTextUses:82Used by:Timeline
Symbol 159 EditableTextUses:82Used by:160
Symbol 160 ButtonUses:153 154 159 156 120Used by:Timeline
Symbol 161 GraphicUsed by:Timeline

Instance Names

"hands"Frame 1Symbol 99 MovieClip
"carry_prize"Frame 1Symbol 80 MovieClip [prize]
"player"Frame 1Symbol 114 MovieClip
"intro_sound_MC"Frame 1Symbol 81 MovieClip [blank]
"falls_sound_MC"Frame 1Symbol 81 MovieClip [blank]
"logroll_sound_MC"Frame 1Symbol 81 MovieClip [blank]
"bg_sound_MC"Frame 1Symbol 81 MovieClip [blank]
"controller"Frame 5Symbol 79 MovieClip [blank]
"life_2"Frame 5Symbol 129 MovieClip
"life_1"Frame 5Symbol 129 MovieClip
"life_0"Frame 5Symbol 129 MovieClip
"prize_animation"Frame 5Symbol 136 MovieClip
"waterfall"Frame 5Symbol 145 MovieClip
"bear_over_MCA"Frame 5Symbol 81 MovieClip [blank]
"bear_under_MCA"Frame 5Symbol 81 MovieClip [blank]
"near_shore"Frame 5Symbol 147 MovieClip
"row_MCA"Frame 5Symbol 148 MovieClip
"prize_MCA"Frame 5Symbol 81 MovieClip [blank]
"far_shore"Frame 5Symbol 150 MovieClip
"log"Symbol 49 MovieClip [log] Frame 1Symbol 22 MovieClip
"log"Symbol 49 MovieClip [log] Frame 2Symbol 34 MovieClip
"log"Symbol 49 MovieClip [log] Frame 3Symbol 47 MovieClip
"value"Symbol 65 MovieClip [prize] Frame 1Symbol 55 MovieClip
"value"Symbol 80 MovieClip [prize] Frame 1Symbol 55 MovieClip
"upper_body"Symbol 105 MovieClip Frame 1Symbol 103 MovieClip
"legs"Symbol 105 MovieClip Frame 1Symbol 104 MovieClip
"animation"Symbol 114 MovieClip Frame 1Symbol 105 MovieClip
"value"Symbol 136 MovieClip Frame 1Symbol 55 MovieClip

Special Tags

Protect (24)Timeline Frame 10 bytes ""
ExportAssets (56)Timeline Frame 1Symbol 1 as "bg_sound"
ExportAssets (56)Timeline Frame 1Symbol 2 as "put_down_sound"
ExportAssets (56)Timeline Frame 1Symbol 3 as "pick_up_sound"
ExportAssets (56)Timeline Frame 1Symbol 4 as "intro_sound"
ExportAssets (56)Timeline Frame 1Symbol 5 as "logroll_sound"
ExportAssets (56)Timeline Frame 1Symbol 6 as "jump_sound"
ExportAssets (56)Timeline Frame 1Symbol 7 as "falls_sound"
ExportAssets (56)Timeline Frame 1Symbol 8 as "drown_sound"
ExportAssets (56)Timeline Frame 1Symbol 9 as "hug_sound"
ExportAssets (56)Timeline Frame 1Symbol 10 as "chop_sound"
ExportAssets (56)Timeline Frame 1Symbol 11 as "blank"
ExportAssets (56)Timeline Frame 1Symbol 49 as "log"
ExportAssets (56)Timeline Frame 1Symbol 65 as "prize"
ExportAssets (56)Timeline Frame 1Symbol 78 as "bear"
ExportAssets (56)Timeline Frame 1Symbol 79 as "blank"
ExportAssets (56)Timeline Frame 1Symbol 80 as "prize"
ExportAssets (56)Timeline Frame 1Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 1Symbol 80 as "prize"
ExportAssets (56)Timeline Frame 1Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 1Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 1Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 1Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 2Symbol 80 as "prize"
ExportAssets (56)Timeline Frame 2Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 2Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 2Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 2Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 3Symbol 80 as "prize"
ExportAssets (56)Timeline Frame 3Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 3Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 3Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 3Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 4Symbol 80 as "prize"
ExportAssets (56)Timeline Frame 4Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 4Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 4Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 4Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 5Symbol 79 as "blank"
ExportAssets (56)Timeline Frame 5Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 5Symbol 80 as "prize"
ExportAssets (56)Timeline Frame 5Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 5Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 5Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 5Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 5Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 5Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 6Symbol 79 as "blank"
ExportAssets (56)Timeline Frame 6Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 6Symbol 80 as "prize"
ExportAssets (56)Timeline Frame 6Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 6Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 6Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 6Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 6Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 6Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 7Symbol 79 as "blank"
ExportAssets (56)Timeline Frame 7Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 7Symbol 80 as "prize"
ExportAssets (56)Timeline Frame 7Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 7Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 7Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 7Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 7Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 7Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 8Symbol 79 as "blank"
ExportAssets (56)Timeline Frame 8Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 8Symbol 80 as "prize"
ExportAssets (56)Timeline Frame 8Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 8Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 8Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 8Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 8Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 8Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 9Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 9Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 9Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 9Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 10Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 10Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 10Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 10Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 11Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 11Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 11Symbol 81 as "blank"
ExportAssets (56)Timeline Frame 11Symbol 81 as "blank"

Labels

"loader"Frame 1
"startgame"Frame 3
"play"Frame 5
"levelover"Frame 8
"gameover"Frame 11
"nospin"Symbol 22 MovieClip Frame 1
"spin"Symbol 22 MovieClip Frame 3
"nospin"Symbol 34 MovieClip Frame 1
"spin"Symbol 34 MovieClip Frame 3
"nospin"Symbol 47 MovieClip Frame 1
"spin"Symbol 47 MovieClip Frame 3
"hide"Symbol 55 MovieClip Frame 6
"normal"Symbol 78 MovieClip [bear] Frame 1
"hug"Symbol 78 MovieClip [bear] Frame 5
"normal"Symbol 103 MovieClip Frame 1
"holding"Symbol 103 MovieClip Frame 14
"normal"Symbol 114 MovieClip Frame 1
"drown"Symbol 114 MovieClip Frame 3

Dynamic Text Variables

idSymbol 63 EditableText"10"
TextField22Symbol 83 EditableText"Loading movie..."
timeMessageSymbol 84 EditableText"10 Seconds Remaining"
TextField6Symbol 118 EditableText"Start"
displaySymbol 123 EditableText""
score_displaySymbol 131 EditableText"0"
level_displaySymbol 133 EditableText"1"
TextField9Symbol 134 EditableText"Level:"
TextField19Symbol 155 EditableText"Submit Score"
TextField14Symbol 158 EditableText"Game Over"
TextField13Symbol 159 EditableText"Play Again"




http://swfchan.com/6/25973/info.shtml
Created: 23/5 -2019 05:33:39 Last modified: 23/5 -2019 05:33:39 Server time: 22/12 -2024 12:57:54