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

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

game_16_25.swf

This is the info page for
Flash #19041

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


Text
To play the telescope game you
need to upgrade your flash plugin
to 6 or above.
Click here to download the latest
flash plugin from macromedia

Upgrade flash plugin

To play the telescope game you
need to upgrade your flash plugin
to 6 or above.
Click here to download the latest
flash plugin from macromedia

Upgrade flash plugin

telescope game

l

0

0

0

loading

best

worst

par

level

RETURN TO GAME

RETURN TO GAME

Congratulations!
You have completed the 16-25 levels.

For more levels:

click here

click here

RESTART LEVEL

RESTART LEVEL

SCORECARD

SCORECARD

16 - 25

play

play

play

ActionScript [AS1/AS2]

Frame 1
Stage.scaleMode = "noScale"; Stage.showMenu = false; Stage.align = "";
Frame 2
this.stop(); var checkFlash5 = true; if (_root.checkFlash5) { if (this._framesloaded >= 7) { this.gotoAndStop(4); } else { gotoAndPlay (1); } } else { play(); }
Frame 3
stop();
Frame 4
Object.version = getVersion().split(","); Object.majorVersion = int(substring(Object.version[0], Object.version[0].length, 1)); Object.minorVersion = int(Object.version[2]); if (Object.majorversion < 6) { this.gotoAndStop(5); } else { this.gotoAndPlay(6); }
Frame 5
this.stop();
Frame 10
this.stop();
Frame 17
createlevel = new Array(); var num_levels; createlevel[1] = function () { placeHole(6, 4); buildpusher(1, 2, 1, 3); buildpusher(0, 1, 7, 2); buildpusher(3, 2, 8, 3); buildpusher(3, 6, 8, 3); buildpusher(3, 5, 8, 3); buildpusher(0, 3, 6, 3); buildpusher(1, 4, 5, 2); buildpusher(2, 8, 7, 2); placeBall(2, 2); mc_root.par = 18; }; createlevel[2] = function () { placeHole(2, 2); buildPusher(1, 7, 1, 2); buildPusher(2, 8, 4, 4); buildPusher(2, 8, 5, 5); buildPusher(3, 3, 7, 4); buildPusher(3, 4, 7, 4); buildPusher(1, 4, 2, 3); buildPusher(3, 2, 7, 4); buildPusher(1, 3, 2, 3); placeBall(7, 2); mc_root.par = 8; }; createlevel[3] = function () { placeHole(4, 2); buildPusher(3, 8, 8, 3); buildPusher(1, 8, 3, 3); buildPusher(0, 5, 7, 2); buildPusher(0, 3, 5, 4); buildPusher(3, 4, 8, 5); placeBall(6, 7); mc_root.par = 8; }; createlevel[4] = function () { placeHole(7, 1); buildpusher(0, 1, 1, 5); buildpusher(3, 5, 3, 2); buildpusher(3, 4, 5, 3); buildpusher(3, 3, 5, 2); buildpusher(2, 8, 4, 5); buildpusher(2, 8, 3, 2); buildpusher(1, 2, 3, 5); buildpusher(2, 7, 9, 5); buildpusher(1, 6, 5, 3); buildpusher(3, 7, 7, 3); buildpusher(2, 8, 6, 2); placeBall(2, 7); mc_root.par = 11; }; createlevel[5] = function () { placeHole(1, 2); buildPusher(2, 8, 2, 2); buildPusher(2, 8, 3, 2); buildPusher(2, 6, 2, 3); buildPusher(1, 1, 1, 2); buildPusher(1, 2, 1, 5); buildPusher(3, 1, 8, 5); buildPusher(3, 2, 8, 3); buildPusher(2, 8, 7, 4); buildPusher(3, 7, 6, 3); buildPusher(2, 8, 8, 2); buildPusher(1, 6, 4, 5); buildPusher(1, 5, 4, 4); buildPusher(0, 3, 6, 4); buildPusher(2, 8, 9, 2); buildPusher(2, 8, 5, 2); placeBall(3, 7); mc_root.par = 20; }; createlevel[6] = function () { placeHole(3, 6); buildPusher(2, 7, 0, 3); buildPusher(2, 5, 2, 3); buildPusher(2, 5, 1, 3); buildPusher(0, 1, 2, 2); buildPusher(3, 3, 7, 4); buildPusher(3, 4, 5, 3); buildPusher(3, 5, 6, 2); buildPusher(3, 6, 5, 2); buildPusher(3, 7, 5, 3); buildPusher(2, 8, 4, 2); buildPusher(2, 8, 3, 3); placeBall(7, 1); mc_root.par = 14; }; createlevel[7] = function () { placeHole(3, 4); buildPusher(1, 2, 1, 3); buildPusher(3, 2, 6, 3); buildPusher(3, 1, 6, 3); buildPusher(1, 1, 1, 3); buildPusher(2, 4, 2, 2); buildPusher(1, 6, 2, 3); buildPusher(2, 7, 3, 4); buildPusher(2, 8, 4, 4); buildPusher(3, 6, 7, 3); placeBall(3, 2); mc_root.par = 14; }; createlevel[8] = function () { placeHole(3, 5); buildpusher(1, 2, 1, 2); buildpusher(1, 4, 1, 4); buildpusher(1, 5, 1, 4); buildpusher(1, 9, 2, 4); buildpusher(0, 1, 2, 2); buildpusher(0, 3, 3, 5); buildpusher(0, 1, 5, 2); buildpusher(0, 1, 6, 3); buildpusher(0, 2, 7, 2); buildpusher(0, 5, 7, 3); buildpusher(3, 3, 8, 3); buildpusher(3, 7, 8, 2); buildpusher(2, 8, 4, 2); buildpusher(2, 7, 1, 2); buildpusher(2, 8, 6, 2); placeBall(6, 4); mc_root.par = 17; }; createlevel[9] = function () { placeHole(6, 4); buildpusher(0, 3, 1, 2); buildpusher(0, 2, 2, 2); buildpusher(0, 1, 3, 2); buildpusher(0, 2, 5, 4); buildpusher(2, 7, 1, 2); buildpusher(2, 6, 2, 2); buildpusher(3, 5, 4, 3); buildpusher(3, 4, 6, 3); buildpusher(3, 3, 8, 4); buildpusher(3, 6, 8, 3); buildpusher(3, 7, 8, 5); buildpusher(3, 8, 8, 2); buildpusher(2, 8, 3, 2); buildpusher(0, 1, 7, 4); placeBall(4, 1); mc_root.par = 19; }; createlevel[10] = function () { placeHole(7, 7); buildPusher(1, 2, 1, 4); buildPusher(1, 5, 1, 4); buildPusher(1, 4, 1, 5); buildPusher(0, 1, 5, 2); buildPusher(3, 2, 7, 2); buildPusher(3, 4, 6, 3); buildPusher(3, 5, 7, 4); buildPusher(1, 7, 4, 2); buildPusher(2, 8, 3, 3); buildPusher(2, 8, 5, 2); placeBall(2, 2); mc_root.par = 23; }; num_levels = createlevel.length - 1; mc_root.uniqueID = "levels05"; _global.mc_root = this; _global.game_mc; var stageWidth = Stage.width; var stageHeight = Stage.height; this.grid_array = new Array(); var setLength = 10; var setWidth = 10; var active = false; fSetActive = function (value) { mc_root.active = value; }; this.rotationProp_array = new Array(); this.rotationProp_array[0] = ["x", 1]; this.rotationProp_array[1] = ["y", 1]; this.rotationProp_array[2] = ["x", -1]; this.rotationProp_array[3] = ["y", -1]; var progress_num = 1; var moveCounter = 0; var totalPar_num = 0; var completedLevels = 0; startLevel = function () { if (mc_root.progress_num <= mc_root.num_levels) { mc_root.resetGrid(); var temp_mc = mc_root.attachMovie("levelPage_mc", "levelPage_mc", 11); temp_mc.levelBox_mc.dyn_txt.text = "level " + mc_root.progress_num; } else { mc_root.startCutScene(); } }; startCutScene = function () { mc_root.removeAllElements(); var temp_mc; if (mc_root.progress_num > mc_root.num_levels) { temp_mc = mc_root.attachMovie("cutScene_last", "cutPage_mc", 11); } else { var temp_ref = mc_root["animation" + mc_root.progress_num]; if (temp_ref != undefined) { temp_mc = mc_root.attachMovie(temp_ref, "cutPage_mc", 11); } else { temp_mc = mc_root.attachMovie("cutScene_mid", "cutPage_mc", 11); } } temp_mc.levelBox_mc.dyn_txt.text = "level " + mc_root.progress_num; }; callNextLevel = function () { mc_root.progress_num++; mc_root.saveDataToLocal(); mc_root.startCutScene(); }; loadCurrentLevel = function () { temp_func = mc_root.createLevel[mc_root.progress_num]; temp_func(); mc_root.gotoAndStop("levelbegin"); }; callPrevLevel = function () { mc_root.progress_num = this.num_txt.text; mc_root.startCutScene(); }; removeAllElements = function () { mc_root.grid_array.length = 0; mc_root.game_holder.removeMovieclip(); }; fSetGridSquare = function (pos_obj, num) { mc_root.grid_array[pos_obj.temp_x][pos_obj.temp_y] = num; }; resetGrid = function () { removeAllElements(); game_mc = mc_root.attachMovie("grid_mc", "game_holder", 10); mc_root.fSetActive(false); game_mc._y = (game_mc._x = 50); var i = setLength; while (i--) { mc_root.grid_array[i] = new Array(); var j = mc_root.setWidth; while (j--) { mc_root.grid_array[i][j] = 1; } } mc_root.buildLevelNumbers(); }; buildLevelNumbers = function () { var temp_mc = mc_root.createEmptyMovieClip("level_num_holder", 99); var temp2_mc; var temp_num; if (mc_root.completedLevels > mc_root.num_levels) { temp_num = mc_root.num_levels; } else { temp_num = mc_root.completedLevels; } var i = 1; while (i <= temp_num) { temp2_mc = temp_mc.attachMovie("levelButton", "levelButton" + i, i); temp2_mc._x = 20; temp2_mc._y = 45 + (i * 10); temp2_mc.num_txt.text = i; temp2_mc.onRelease = callPrevLevel; i++; } }; fStopPushers = function () { for (var prop in game_mc) { temp_mc = game_mc[prop]; temp_mc.killMe(); } return(undefined); }; this.onclick = new Array(); this.onClick[2] = "fExtend"; this.onClick[1] = "fRetract"; buildPusher = function (arg1, arg2, arg3, arg4) { var temp_mc = game_mc.attachMovie("pusher_MC", "pusher_MC" + mc_root.pusher_counter, mc_root.pusher_counter++, {rotation:arg1, gridx:arg2, gridy:arg3, initSize:arg4}); }; cPusher = function () { mc_root.grid_array[this.gridx][this.gridy] = 0; var temp_box; var temp_num; this.move_count = (this.moveSection = 0); this.box_array = new Array(); this.state = 1; temp_box = this.attachMovie("box_mc", "tail_mc", 2); temp_box._height = 12; temp_box.gotoAndStop(this.initSize - 1); this.box_array.push(temp_box); temp_box.pos_obj = this._gridPos(-1); var i = 0; while (i <= this.initSize) { temp_num = 10 - i; temp_box = this.attachMovie("box_mc", "box_mc" + temp_num, temp_num); temp_box.gotoAndStop(this.initSize - 1); temp_box._x = i * 20; temp_box._height = 20 - (2 * i); if (i) { this.box_array.push(temp_box); } temp_box.pos_obj = this._gridPos(i); i++; } this.box_length = this.box_array.length; this.onRelease = function () { if (!mc_root.active) { mc_root.fSetActive(true); this.fClicked(); } }; var temp_mc; var i = this.box_array.length; while (i--) { temp_mc = this.box_array[i]; temp_mc._x = temp_mc._x - 20; if (i) { temp_mc._visible = false; temp_mc.extended = false; } else { temp_mc.extended = true; mc_root.fSetGridSquare(temp_mc.pos_obj, 0); } } this._x = (this.gridx * 20) + 10; this._y = (this.gridy * 20) + 10; this._rotation = 90 * this.rotation; }; Object.registerClass("pusher_MC", cPusher); cPusher.prototype = new MovieClip(); cPusher.prototype.fClicked = function () { if (this.state > 1) { this.state = 1; } else { this.state++; } var temp = mc_root.onClick[this.state]; mc_root.incrementMoveCounter(); this[temp](); }; cPusher.prototype.fExtend = function () { clearInterval(this.intervalID); if (this.moveSection < this.box_length) { var temp_num2; if (this.moveSection) { temp_num2 = this.moveSection; } else { temp_num2 = -1; } var nextPos = this._gridPos(temp_num2); var nextValue = this.fCheckForObjects(nextPos.temp_x, nextPos.temp_y); var section_mc = this.box_array[this.moveSection]; this.moveTheBall = false; if (this.moveSection) { if (nextValue == 1) { this.fStartMove(section_mc, 5, true, nextPos, 0); } else if (nextValue == 2) { var nextPos2 = this._gridPos(temp_num2 + 1); var nextValue2 = this.fCheckForObjects(nextPos2.temp_x, nextPos2.temp_y); if (nextValue2) { this.moveTheBall = true; this.fStartMove(section_mc, 5, true, nextPos, 0); } else { this.fStopMove(); } } else { this.fStopMove(); } } else { var nextPos2 = this._gridPos(temp_num2 - 1); var nextValue2 = this.fCheckForObjects(nextPos2.temp_x, nextPos2.temp_y); if (nextValue2 == 2) { this.moveTheBall = true; } this.fStartMove(section_mc, 5, false, nextPos, 1); } } else { this.fStopMove(); } }; cPusher.prototype.fRetract = function () { var box_vis; var temp_num; clearInterval(this.intervalID); this.moveTheBall = false; if (this.moveSection < this.box_length) { temp_num = (this.box_length - this.moveSection) - 1; var temp_num2; if (temp_num) { temp_num2 = temp_num; } else { temp_num2 = -1; } var nextPos = this._gridPos(temp_num2); var nextValue = this.fCheckForObjects(nextPos.temp_x, nextPos.temp_y); var section_mc = this.box_array[temp_num]; if (temp_num) { var nextPos2 = this._gridPos(temp_num2 + 1); var nextValue2 = this.fCheckForObjects(nextPos2.temp_x, nextPos2.temp_y); if (nextValue2 == 2) { this.moveTheBall = true; } this.fStartMove(section_mc, -5, false, nextPos, 1); } else if (nextValue == 1) { this.fStartMove(section_mc, -5, true, nextPos, 0); } else if (nextValue == 2) { var nextPos2 = this._gridPos(temp_num2 - 1); var nextValue2 = this.fCheckForObjects(nextPos2.temp_x, nextPos2.temp_y); if (nextValue2) { this.moveTheBall = true; this.fStartMove(section_mc, -5, true, nextPos, 0); } else { this.fStopMove(); } } else { this.fStopMove(); } } else { this.fStopMove(); } }; cPusher.prototype.fStopMove = function () { this.moveSection = 0; mc_root.fSetActive(false); }; cPusher.prototype.fStartMove = function (mc, value, vis, nextPos, setNum) { this.moveSection++; if (mc.extended != vis) { this.intervalID = setInterval(this, "fMoveSection", 25, mc, value, vis); mc.extended = vis; mc_root.fSetGridSquare(nextPos, setNum); } else { clearInterval(this.intervalID); var temp = mc_root.onClick[this.state]; this[temp](); } }; cPusher.prototype.fMoveSection = function (mc, value, box_vis) { if (box_vis) { mc._visible = true; } this.move_count++; mc._x = mc._x + value; if (this.moveTheBall) { mc_root.stepBall(value, this.rotation, box_vis); } if (this.move_count > 3) { this.move_count = 0; if (!box_vis) { mc._visible = false; } clearInterval(this.intervalID); var temp = mc_root.onClick[this.state]; this[temp](); } }; cPusher.prototype.fCheckForObjects = function (xx, yy) { return(mc_root.grid_array[xx][yy]); }; cPusher.prototype._gridPos = function (distance) { var temp_x = this.gridx; var temp_y = this.gridy; var temp_array = mc_root.rotationProp_array[this.rotation]; if (temp_array[0] == "x") { temp_x = temp_x + (distance * temp_array[1]); } else { temp_y = temp_y + (distance * temp_array[1]); } return({temp_x:temp_x, temp_y:temp_y}); }; cPusher.prototype.killMe = function () { clearInterval(this.intervalID); delete this.onRelease; delete this.fMoveSection; if (this.state == 2) { this.moveSection = 0; } else { this.moveSection = 10; } }; placeHole = function (numx, numy) { mc_root.grid_array[numx][numy] = 1; var temp_mc = game_mc.attachmovie("hole_mc", "hole_mc", mc_root.pusher_counter++, {_x:numx * 20, _y:numy * 20}); temp_mc.pos_obj = {temp_x:numx, temp_y:numy}; }; placeBall = function (numx, numy) { mc_root.grid_array[numx][numy] = 2; var temp_mc = game_mc.attachmovie("ball_mc", "ball_mc", mc_root.pusher_counter++, {_x:numx * 20, _y:numy * 20}); temp_mc.pos_obj = {temp_x:numx, temp_y:numy}; }; stepBall = function (amount, rotation, box_vis) { var my_mc = game_mc.ball_mc; var rot_obj = mc_root.rotationProp_array[rotation]; var direction = (amount * rot_obj[1]); if (rot_obj[0] == "x") { game_mc.ball_mc._x = game_mc.ball_mc._x + direction; } else { game_mc.ball_mc._y = game_mc.ball_mc._y + direction; } game_mc.ball_mc.move_count++; if (my_mc.move_count > 3) { var toAdd; var setGridTo; if (box_vis) { setGridTo = 0; } else { setGridTo = 1; } if (amount > 0) { toAdd = rot_obj[1]; } else { toAdd = -rot_obj[1]; } mc_root.fSetGridSquare(my_mc.pos_obj, setGridTo); if (rot_obj[0] == "x") { my_mc.pos_obj.temp_x = my_mc.pos_obj.temp_x + toAdd; } else { my_mc.pos_obj.temp_y = my_mc.pos_obj.temp_y + toAdd; } mc_root.fSetGridSquare(my_mc.pos_obj, 2); clearInterval(my_mc.intervalID); my_mc.move_count = 0; mc_root.checkEndGame(); } }; animateBallFall = function () { mc_root.intervalShrink = setInterval(mc_root, "fShrinkBall", 40); }; fShrinkBall = function () { var tempBall_mc = game_mc.ball_mc; var ballScale = tempBall_mc._xscale; ballScale = ballScale - (((100 - ballScale) / 10) + 3); tempBall_mc._xscale = (tempBall_mc._yscale = ballScale - 5); if (!tempBall_mc.origx) { tempBall_mc.origx = tempBall_mc._x; tempBall_mc.origy = tempBall_mc._y; } tempBall_mc._x = tempBall_mc.origx + ((100 - ballScale) / 10); tempBall_mc._y = tempBall_mc.origy + ((100 - ballScale) / 10); if (ballScale <= 0) { clearInterval(mc_root.intervalShrink); mc_root.callNextLevel(); } }; checkEndGame = function () { if (game_mc.ball_mc.hitTest(game_mc.hole_mc)) { mc_root.fStopPushers(); mc_root.animateBallFall(); } }; createCounters = function () { var temp_mc = mc_root.attachMovie("counter_mc", "counter_mc", 15); mc_root.updateCounters(); }; updateCounters = function () { mc_root.totalPar_num = mc_root.totalPar_num + mc_root.moveCounter; mc_root.moveCounter = 0; temp_mc = mc_root.counter_mc; temp_mc.move_count.dyn_txt.text = "MOVES : " + mc_root.moveCounter; temp_mc.level_count.dyn_txt.text = "LEVEL : " + mc_root.progress_num; temp_mc.par_count.dyn_txt.text = "PAR : " + mc_root.par; }; incrementMoveCounter = function () { mc_root.moveCounter++; mc_root.counter_mc.move_count.dyn_txt.text = "MOVES : " + mc_root.moveCounter; }; var createdId = ("userPrefs" + mc_root.uniqueID); var userProfile_so = SharedObject.getLocal(createdId); if (mc_root.userProfile_so.data.completedLevels_num) { mc_root.progress_num = (mc_root.completedLevels = mc_root.userProfile_so.data.completedLevels_num); } else { var bestScore = new Array(); var worstScore = new Array(); var parScore = new Array(); mc_root.userProfile_so.data.best = bestScore; mc_root.userProfile_so.data.worst = worstScore; mc_root.userProfile_so.data.par = parScore; } mc_root.userProfile_so.onStatus = function (infoObject) { if (infoObject.code == "SharedObject.Flush.Success") { } else if (infoObject.code == "SharedObject.Flush.Failed") { } }; saveDataToLocal = function () { var _so_Data = mc_root.userProfile_so.data; if (mc_root.progress_num > mc_root.completedLevels) { if (mc_root.progress_num > mc_root.num_levels) { _so_Data.completedLevels_num = (mc_root.completedLevels = mc_root.num_levels); } else { _so_Data.completedLevels_num = (mc_root.completedLevels = mc_root.progress_num); } } if ((_so_Data.worst[mc_root.progress_num - 1] < mc_root.moveCounter) || (!_so_Data.worst[mc_root.progress_num - 1])) { _so_Data.worst[mc_root.progress_num - 1] = mc_root.moveCounter; } if (((_so_Data.best[mc_root.progress_num - 1] > mc_root.moveCounter) && (mc_root.moveCounter > 0)) || (!_so_Data.best[mc_root.progress_num - 1])) { _so_Data.best[mc_root.progress_num - 1] = mc_root.moveCounter; } if (mc_root.par > 0) { _so_Data.par[mc_root.progress_num - 1] = mc_root.par; } var requiredSpace = (mc_root.userProfile_so.getSize() + 10240); var saveAttempt = mc_root.userProfile_so.flush(requiredSpace); if (saveAttempt == false) { System.showSettings(1); } else if (saveAttempt == true) { } else if (saveAttempt == "pending") { } }; fRemoveAllSharedData = function () { var _so_Data = mc_root.userProfile_so.data; _so_Data.worst = []; _so_Data.best = []; _so_Data.par = []; _so_Data.completedLevels_num = (mc_root.completedLevels = (mc_root.progress_num = 1)); var requiredSpace = mc_root.userProfile_so.getSize(); var saveAttempt = mc_root.userProfile_so.flush(requiredSpace); if (saveAttempt == false) { } else if (saveAttempt == true) { } else if (saveAttempt == "pending") { } mc_root.game_holder.removeMovieclip(); mc_root.counter_mc.removeMovieclip(); mc_root.level_num_holder.removeMovieclip(); mc_root.cutPage_mc.removeMovieClip(); mc_root.scoreCard_mc.removeMovieclip(); mc_root.gotoAndPlay(1); }; keyListener = new Object(); keyListener.onKeyUp = function () { var pressed = Key.getCode(); if (pressed == 82) { mc_root.fRemoveAllSharedData(); } }; Key.addListener(keyListener);
Frame 18
setLength = 10; setWidth = 10; stageWidth = 300; stageHeight = 300; startLevel = function () { if (mc_root.progress_num <= mc_root.num_levels) { mc_root.resetGrid(); var temp_mc = mc_root.attachMovie("levelPage_mc", "levelPage_mc", 11); temp_mc.levelBox_mc.dyn_txt.text = "level " + (mc_root.progress_num + 15); } else { mc_root.startCutScene(); } }; startCutScene = function () { mc_root.removeAllElements(); var temp_mc; if (mc_root.progress_num > mc_root.num_levels) { temp_mc = mc_root.attachMovie("cutScene_last", "cutPage_mc", 11); } else { var temp_ref = mc_root["animation" + mc_root.progress_num]; if (temp_ref != undefined) { temp_mc = mc_root.attachMovie(temp_ref, "cutPage_mc", 11); } else { temp_mc = mc_root.attachMovie("cutScene_mid", "cutPage_mc", 11); } } temp_mc.levelBox_mc.dyn_txt.text = "level " + (mc_root.progress_num + 15); }; buildLevelNumbers = function () { var temp_mc = mc_root.createEmptyMovieClip("level_num_holder", 99); var temp2_mc; var temp_num; if (mc_root.completedLevels > mc_root.num_levels) { temp_num = mc_root.num_levels; } else { temp_num = mc_root.completedLevels; } var i = 1; while (i <= temp_num) { temp2_mc = temp_mc.attachMovie("levelButton", "levelButton" + i, i); temp2_mc._x = 20; temp2_mc._y = 45 + (i * 10); temp2_mc.num_txt.text = i + 15; temp2_mc.onRelease = callPrevLevel; i++; } }; updateCounters = function () { mc_root.totalPar_num = mc_root.totalPar_num + mc_root.moveCounter; mc_root.moveCounter = 0; temp_mc = mc_root.counter_mc; temp_mc.move_count.dyn_txt.text = "MOVES : " + mc_root.moveCounter; temp_mc.level_count.dyn_txt.text = "LEVEL : " + (mc_root.progress_num + 15); temp_mc.par_count.dyn_txt.text = "PAR : " + mc_root.par; }; fCreateScoreCard = function () { var _so_Data = mc_root.userProfile_so.data; var temp_width = mc_root.stageWidth; var temp_height = mc_root.stageHeight; var startWidth = ((temp_width - 230) / 2); var startHeight = (10 + ((temp_height - (mc_root.num_levels * 13)) / 2)); var temp_mc = mc_root.createEmptyMovieClip("cover_mc", 500); temp_mc.beginFill(16777215); temp_mc.moveTo(0, 0); temp_mc.lineTo(temp_width, 0); temp_mc.lineTo(temp_width, temp_height); temp_mc.lineTo(0, temp_height); temp_mc.lineTo(0, 0); temp_mc.endFill(); game_mc._visible = false; mc_root.counter_mc._visible = false; mc_root.level_num_holder._visible = false; temp_mc = mc_root.createEmptyMovieClip("scoreCard_mc", 501); var temp_num = 0; temp_mc.attachMovie("firstCardLine_mc", "firstCardLine_mc" + temp_num, temp_num, {_x:startWidth, _y:startHeight - 13}); var i = 0; while (i < mc_root.num_levels) { temp_num = i + 1; var temp2_mc = temp_mc.attachMovie("scoreCardLine_mc", "scoreCardLine_mc" + temp_num, temp_num); temp2_mc._x = startWidth; temp2_mc._y = startHeight + (i * 13); temp2_mc.level_txt.Text = temp_num + 15; temp2_mc.best_txt.Text = _so_Data.best[temp_num]; temp2_mc.worst_txt.Text = _so_Data.worst[temp_num]; temp2_mc.par_txt.Text = _so_Data.par[temp_num]; i++; } var temp3_mc = temp_mc.attachMovie("closeBtn_mc", "closeBtn_mc", temp_num + 1, {_x:startWidth + 196, _y:startHeight - 27}); temp3_mc.onRollover = function () { this.gotoAndStop(2); }; temp3_mc.onRollOut = (temp3_mc.onDragOut = (temp3_mc.onReleaseOutside = function () { this.gotoAndStop(1); })); temp3_mc.onRelease = function () { game_mc._visible = true; mc_root.counter_mc._visible = true; mc_root.level_num_holder._visible = true; mc_root.cover_mc.removeMovieClip(); mc_root.scoreCard_mc.removeMovieClip(); }; }; mc_root.buildLevelNumbers(); mc_root.levelBox_mc.dyn_txt.text = "level " + (mc_root.progress_num + 15); mc_root.createCounters(); this.stop();
Frame 20
this.stop();
Frame 21
this.gotoAndStop("levelbegin");
Symbol 10 Button
on (release) { getURL ("http://www.macromedia.com/go/getflashplayer", "_blank"); }
Symbol 32 MovieClip [closeBtn_mc] Frame 1
this.stop();
Symbol 34 MovieClip [levelPage_mc] Frame 5
mc_root.loadCurrentLevel();
Symbol 34 MovieClip [levelPage_mc] Frame 7
mc_root.updateCounters();
Symbol 34 MovieClip [levelPage_mc] Frame 12
this.removeMovieClip();
Symbol 42 MovieClip [cutScene_mid] Frame 1
mc_root.play(); this.dyn_txt_mc.dyn_txt.text = "level " + (mc_root.progress_num + 15);
Symbol 42 MovieClip [cutScene_mid] Frame 29
mc_root.startLevel(); this.removeMovieClip();
Symbol 50 Button
on (release) { getURL ("http://www.dyson.co.uk/game/", "_blank"); }
Symbol 51 Button
on (release) { getURL ("http://www.dyson.co.uk/game/", "_top"); }
Symbol 52 MovieClip [cutScene_last] Frame 9
Symbol 52 MovieClip [cutScene_last] Frame 96
this.stop();
Symbol 58 Button
on (release) { mc_root.startLevel(); }
Symbol 62 Button
on (release) { mc_root.fCreateScoreCard(); }
Symbol 68 MovieClip [box_mc] Frame 1
this.stop();
Symbol 68 MovieClip [box_mc] Frame 2
this.stop();
Symbol 68 MovieClip [box_mc] Frame 3
this.stop();
Symbol 68 MovieClip [box_mc] Frame 4
this.stop();
Symbol 71 MovieClip Frame 1
this.play();
Symbol 71 MovieClip Frame 14
this.stop(); _parent.play();
Symbol 78 Button
on (release) { mc_root.startCutScene(); this.play(); }

Library Items

Symbol 1 FontUsed by:2 5 6 8 15 16 17 18 22 25 26 27 28 30 31 35 40 43 45 47 48 53 55 56 59 60 63 73 75 77
Symbol 2 TextUses:1Used by:10
Symbol 3 GraphicUsed by:10 34
Symbol 4 GraphicUsed by:10
Symbol 5 TextUses:1Used by:10
Symbol 6 TextUses:1Used by:10
Symbol 7 GraphicUsed by:10
Symbol 8 TextUses:1Used by:10
Symbol 9 GraphicUsed by:10
Symbol 10 ButtonUses:2 3 4 5 6 7 8 9Used by:Timeline
Symbol 11 FontUsed by:12
Symbol 12 TextUses:11Used by:13
Symbol 13 MovieClipUses:12Used by:Timeline
Symbol 14 GraphicUsed by:19
Symbol 15 EditableTextUses:1Used by:19
Symbol 16 EditableTextUses:1Used by:19
Symbol 17 EditableTextUses:1Used by:19
Symbol 18 EditableTextUses:1Used by:19
Symbol 19 MovieClip [scoreCardLine_mc]Uses:14 15 16 17 18Used by:71
Symbol 20 GraphicUsed by:21 32
Symbol 21 MovieClipUses:20Used by:71
Symbol 22 TextUses:1Used by:71
Symbol 23 GraphicUsed by:34 39 71
Symbol 24 GraphicUsed by:29
Symbol 25 TextUses:1Used by:29
Symbol 26 TextUses:1Used by:29
Symbol 27 TextUses:1Used by:29
Symbol 28 TextUses:1Used by:29
Symbol 29 MovieClip [firstCardLine_mc]Uses:24 25 26 27 28Used by:71
Symbol 30 TextUses:1Used by:32
Symbol 31 TextUses:1Used by:32
Symbol 32 MovieClip [closeBtn_mc]Uses:20 30 31Used by:71
Symbol 33 MovieClip [pusher_MC]Used by:71
Symbol 34 MovieClip [levelPage_mc]Uses:3 23Used by:71
Symbol 35 EditableTextUses:1Used by:36
Symbol 36 MovieClip [levelButton]Uses:35Used by:71
Symbol 37 GraphicUsed by:38
Symbol 38 MovieClip [hole_mc]Uses:37Used by:71
Symbol 39 MovieClip [grid_mc]Uses:23Used by:71
Symbol 40 EditableTextUses:1Used by:41
Symbol 41 MovieClipUses:40Used by:42  Timeline
Symbol 42 MovieClip [cutScene_mid]Uses:41Used by:71
Symbol 43 TextUses:1Used by:44
Symbol 44 MovieClipUses:43Used by:52
Symbol 45 TextUses:1Used by:46
Symbol 46 MovieClipUses:45Used by:52
Symbol 47 TextUses:1Used by:50 51
Symbol 48 TextUses:1Used by:50 51
Symbol 49 GraphicUsed by:50 51
Symbol 50 ButtonUses:47 48 49Used by:52
Symbol 51 ButtonUses:47 48 49Used by:52
Symbol 52 MovieClip [cutScene_last]Uses:44 46 50 51Used by:71
Symbol 53 EditableTextUses:1Used by:54
Symbol 54 MovieClipUses:53Used by:64
Symbol 55 TextUses:1Used by:58
Symbol 56 TextUses:1Used by:58
Symbol 57 GraphicUsed by:58
Symbol 58 ButtonUses:55 56 57Used by:64
Symbol 59 TextUses:1Used by:62
Symbol 60 TextUses:1Used by:62
Symbol 61 GraphicUsed by:62
Symbol 62 ButtonUses:59 60 61Used by:64
Symbol 63 TextUses:1Used by:64
Symbol 64 MovieClip [counter_mc]Uses:54 58 62 63Used by:71
Symbol 65 GraphicUsed by:68
Symbol 66 GraphicUsed by:68
Symbol 67 GraphicUsed by:68
Symbol 68 MovieClip [box_mc]Uses:65 66 67Used by:71
Symbol 69 GraphicUsed by:70
Symbol 70 MovieClip [ball_mc]Uses:69Used by:71
Symbol 71 MovieClipUses:19 21 22 23 29 32 33 34 36 38 39 42 52 64 68 70Used by:Timeline
Symbol 72 GraphicUsed by:78
Symbol 73 TextUses:1Used by:78
Symbol 74 GraphicUsed by:78
Symbol 75 TextUses:1Used by:78
Symbol 76 GraphicUsed by:78
Symbol 77 TextUses:1Used by:78
Symbol 78 ButtonUses:72 73 74 75 76 77Used by:Timeline

Instance Names

"levelBox_mc"Frame 17Symbol 41 MovieClip
"level_txt"Symbol 19 MovieClip [scoreCardLine_mc] Frame 1Symbol 15 EditableText
"best_txt"Symbol 19 MovieClip [scoreCardLine_mc] Frame 1Symbol 16 EditableText
"worst_txt"Symbol 19 MovieClip [scoreCardLine_mc] Frame 1Symbol 17 EditableText
"par_txt"Symbol 19 MovieClip [scoreCardLine_mc] Frame 1Symbol 18 EditableText
"num_txt"Symbol 36 MovieClip [levelButton] Frame 1Symbol 35 EditableText
"dyn_Txt"Symbol 41 MovieClip Frame 1Symbol 40 EditableText
"dyn_txt_mc"Symbol 42 MovieClip [cutScene_mid] Frame 1Symbol 41 MovieClip
"dyn_Txt"Symbol 54 MovieClip Frame 1Symbol 53 EditableText
"level_count"Symbol 64 MovieClip [counter_mc] Frame 1Symbol 54 MovieClip
"par_count"Symbol 64 MovieClip [counter_mc] Frame 1Symbol 54 MovieClip
"move_count"Symbol 64 MovieClip [counter_mc] Frame 1Symbol 54 MovieClip

Special Tags

Protect (24)Timeline Frame 131 bytes "..$1$Q3$Mf6Ik8Rpg9je1GcuHgw5A1."
ExportAssets (56)Timeline Frame 10Symbol 19 as "scoreCardLine_mc"
ExportAssets (56)Timeline Frame 10Symbol 29 as "firstCardLine_mc"
ExportAssets (56)Timeline Frame 10Symbol 32 as "closeBtn_mc"
ExportAssets (56)Timeline Frame 10Symbol 33 as "pusher_MC"
ExportAssets (56)Timeline Frame 10Symbol 34 as "levelPage_mc"
ExportAssets (56)Timeline Frame 10Symbol 36 as "levelButton"
ExportAssets (56)Timeline Frame 10Symbol 38 as "hole_mc"
ExportAssets (56)Timeline Frame 10Symbol 39 as "grid_mc"
ExportAssets (56)Timeline Frame 10Symbol 42 as "cutScene_mid"
ExportAssets (56)Timeline Frame 10Symbol 52 as "cutScene_last"
ExportAssets (56)Timeline Frame 10Symbol 64 as "counter_mc"
ExportAssets (56)Timeline Frame 10Symbol 68 as "box_mc"
ExportAssets (56)Timeline Frame 10Symbol 70 as "ball_mc"

Labels

"gotIt"Frame 4
"levelBegin"Frame 20




http://swfchan.com/4/19041/info.shtml
Created: 30/5 -2019 09:06:23 Last modified: 30/5 -2019 09:06:23 Server time: 02/05 -2024 02:42:03