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

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

Ring Mania.swf

This is the info page for
Flash #47594

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


Text
v1.3

play Ringmania 2

or type level code

g

r

o

.

e

p

P

0

spacebar

0

wait...

left and right arrows
+
Spacebar to speed up

Loading...

ActionScript [AS1/AS2]

Frame 1
function __com_mochibot__(swfid, mc, lv) { var x; var g; var s; var fv; var sb; var u; var res; var mb; var mbc; mb = "__mochibot__"; mbc = "mochibot.com"; g = (_global ? (_global) : (_level0._root)); if (g[mb + swfid]) { return(g[mb + swfid]); } s = System.security; x = mc._root.getSWFVersion; fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5))); if (!s) { s = {}; } sb = s.sandboxType; if (sb == "localWithFile") { return(null); } x = s.allowDomain; if (x) { s.allowDomain(mbc); } x = s.allowInsecureDomain; if (x) { s.allowInsecureDomain(mbc); } u = ((((((((((("http://" + mbc) + "/my/core.swf?mv=5&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : ""); lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv)))); g[mb + "level"] = lv; if (fv == 5) { res = "_level" + lv; if (!eval (res)) { loadMovieNum (u, lv); } } else { res = mc.createEmptyMovieClip(mb + swfid, lv); res.loadMovie(u); } return(res); } __com_mochibot__("1816e2c6", this, 10301); var PEPERE = (_url.indexOf("pepere.org") != -1); var PORTALVERSION = true; var _mochiads_game_id = "495ed7fad09dc451";
Frame 2
function getNewCoord(v, va, vb) { return({a:((v.y * vb.x) - (v.x * vb.y)) / ((va.y * vb.x) - (va.x * vb.y)), b:((v.y * va.x) - (v.x * va.y)) / ((vb.y * va.x) - (vb.x * va.y))}); } function getProjection(v, va) { return(((v.y * va.y) + (v.x * va.x)) / ((va.y * va.y) + (va.x * va.x))); } function getNormedProjection(v, va) { return((v.y * va.y) + (v.x * va.x)); } function getPolaire(v) { dx = v.x; dy = v.y; d = Math.sqrt((dx * dx) + (dy * dy)); if (d == 0) { a = 0; } else { a = Math.acos(dx / d); if (dy < 0) { a = -a; } } return({a:a, d:d}); } function getAlphaNum(number) { if (number < 0) { signe = "-"; number = -number; } else { signe = ""; } toReturn = ""; if (number == 0) { toReturn = "0"; } else { while (number > 0) { lunite = number % baseAlphaNum; if (lunite < 10) { toReturn = String.fromCharCode(lunite + 48) + toReturn; } else { toReturn = String.fromCharCode(lunite + 55) + toReturn; } number = (number - lunite) / baseAlphaNum; } } return((signe + "") + toReturn); } function getNumber(alphanum) { if (alphanum.substring(0, 1) == "-") { nsigne = -1; } else { nsigne = 1; } toReturn = 0; l = alphanum.length; var _local1 = 0; _local1 = 0; while (_local1 < l) { lunite = alphanum.charCodeAt(_local1); if ((lunite >= 48) && (lunite < 58)) { toReturn = ((toReturn * baseAlphaNum) + lunite) - 48; } else if ((lunite >= 65) && (lunite < 183)) { toReturn = ((toReturn * baseAlphaNum) + lunite) - 55; } _local1++; } return(nsigne * toReturn); } function loadDataAndPlay(therecordid) { demandeParcours = new LoadVars(); demandeParcours.params = game_id; demandeParcours.recordid = therecordid + ""; demandeParcours.sendAndLoad("get_data.php", demandeParcours, "POST"); demandeParcours.onLoad = function () { var _local10 = this.data; var _local3 = _local10.indexOf("_", 0); var _local17 = _local10.substring(0, _local3); _root.record = new Array(); if ((_local17 == "1.00") && (_local3 != -1)) { _local3 = _local3 + 1; var _local13 = 0; var _local12 = 0; while (_local3 < _local10.length) { var _local7 = getNumber(_local10.substring(_local3, _local3 + 1)); var _local4 = -1; var _local6 = 0; if (_local7 < 64) { _local4 = _local7 % 8; _local6 = (_local7 - _local4) / 8; } else { _local6 = _local7 % 8; var _local8 = ((_local7 - 64) - _local6) / 8; _local6 = _local6 * (Math.pow(128, _local8 - 1) * 16); var _local5 = 0; while (_local5 < (_local8 - 1)) { _local3++; var _local9 = getNumber(_local10.substring(_local3, _local3 + 1)); _local6 = _local6 + ((_local9 * Math.pow(128, (_local8 - 2) - _local5)) * 16); _local5++; } _local3++; var _local11 = getNumber(_local10.substring(_local3, _local3 + 1)); _local4 = _local11 % 8; _local6 = _local6 + ((_local11 - _local4) / 8); } var _local14 = -1; var _local16 = -1; if (_local4 == 0) { _local14 = 32; _local16 = true; } else if (_local4 == 1) { _local14 = 32; _local16 = false; } else if (_local4 == 2) { _local14 = 37; _local16 = true; } else if (_local4 == 3) { _local14 = 37; _local16 = false; } else if (_local4 == 4) { _local14 = 39; _local16 = true; } else if (_local4 == 5) { _local14 = 39; _local16 = false; } _local3++; _local12 = _local12 + _local6; _root.record[_local13] = {frame:_local12, code:_local14, down:_local16}; _local13++; } replay = true; swapframe = true; } else { replay = false; backscorelist = true; } }; } if (PEPERE || (PORTALVERSION)) { demob._visible = PEPERE; highb._visible = !PEPERE; } else { _root._visible = false; } var screen = {w:650, h:650}; var levelManager = new Level(); var game_id = "3_1114871132"; var replay = false; var record = new Array(); bg1._visible = true; bg2._visible = true; if (alreadyload != true) { _root.muteallsounds = 0; var levelSound = new Sound(this); levelSound.attachSound("LevelSound"); alreadyload = true; levelSound.start(); var exploSound = new Sound(this); exploSound.attachSound("ExploSound"); var prelockSound = new Sound(this); prelockSound.attachSound("PrelockSound"); var lockSound = new Sound(this); lockSound.attachSound("LockSound"); var memoMouseX = _xmouse; var memoMouseY = _ymouse; var addrot = 0; var oldDiffX = 0; var oldDiffY = 0; var sign = 1; var pepereRot = 0; } muter.gotoAndStop(_root.muteallsounds + 1); welc.roue._rotation = pepereRot; stop(); var baseAlphaNum = 128; var swapframe = false; var backscorelist = false; onEnterFrame = function () { if (bg1._alpha < 100) { bg1._alpha = bg1._alpha + 2; } if (bg2._alpha < 100) { bg2._alpha = bg2._alpha + 2; } var _local2 = _xmouse - memoMouseX; var _local1 = _ymouse - memoMouseY; var _local4 = Math.sqrt((_local2 * _local2) + (_local1 * _local1)); var _local3 = (_local2 * oldDiffX) + (_local1 * oldDiffY); if (_local3 <= 0) { sign = -sign; } addrot = addrot + ((sign * _local4) / 20); addrot = addrot * 0.9; if (addrot > 10) { addrot = 10; } if (addrot < -10) { addrot = -10; } pepereRot = pepereRot + addrot; welc.roue._rotation = pepereRot; memoMouseX = _xmouse; memoMouseY = _ymouse; oldDiffX = _local2; oldDiffY = _local1; };
Instance of Symbol 13 MovieClip "welc" in Frame 2
onClipEvent (load) { var nbenterkeys = 0; var secretcode = ""; } onClipEvent (keyDown) { if (!_root.replay) { t = Key.getCode(); if ((t >= 97) && (t < 107)) { t = t - 48; } secretcode = secretcode + String.fromCharCode(t); if (nbenterkeys == 8) { var i = 0; while (i < _root.levelManager._levels.length) { if (_root.levelManager._levels[i][0] == secretcode.toLowerCase()) { _root.levelSound.stop(); _root.levelstart = i; _root.gotoAndStop(2); break; } i++; } secretcode = secretcode.substring(1); } else { nbenterkeys++; } } }
Instance of Symbol 15 MovieClip in Frame 2
on (press) { _root.levelSound.stop(); _root.levelstart = 0; _root.gotoAndStop("play"); }
Instance of Symbol 17 MovieClip in Frame 2
on (press) { getURL ("http://www.pepere.org/flash-games_1/", "_blank"); }
Instance of Symbol 19 MovieClip "highb" in Frame 2
on (press) { getURL ("http://www.pepere.org/flash-development_1_3x/flash-game-ringmania_u_25.html", "_blank"); }
Instance of Symbol 21 MovieClip "demob" in Frame 2
on (press) { _root.gotoAndStop("demo"); }
Instance of Symbol 25 MovieClip "ringb" in Frame 2
on (press) { getURL ("http://www.pepere.org/flash-development_1_3x/flash-game-ringmania_u_42.html", "_blank"); }
Instance of Symbol 31 MovieClip "muter" in Frame 2
on (press) { _root.muteallsounds++; if (_root.muteallsounds >= 2) { _root.muteallsounds = 0; } this.gotoAndStop(_root.muteallsounds + 1); }
Instance of Symbol 47 MovieClip in Frame 2
on (press) { getURL ("http://www.pepere.org/flash-games_1/", "_blank"); }
Frame 3
function setColorSet() { colorset = new Array(); var _local8 = 1; while (_local8 < groundBalls.length) { var _local2 = groundBalls[_local8]._color; if (_local2 > -1) { var _local5 = false; var _local1 = 0; while (_local1 < colorset.length) { if (_local2 == colorset[_local1]) { _local5 = true; break; } _local1++; } if (!_local5) { colorset[colorset.length] = _local2; } } _local8++; } var _local7 = 0; while (_local7 < stickGroups.length) { var _local4 = stickGroups[_local7].g; var _local9 = _local4._nodeList.length; var _local3 = 0; while (_local3 < _local9) { var _local6 = _local4._nodeList[_local3]; var _local2 = _local6._color; if (_local2 > -1) { var _local5 = false; var _local1 = 0; while (_local1 < colorset.length) { if (_local2 == colorset[_local1]) { _local5 = true; break; } _local1++; } if (!_local5) { colorset[colorset.length] = _local2; break; } } _local3++; } _local7++; } _local8 = 0; while (_local8 < skyGroups.length) { var _local4 = skyGroups[_local8]; var _local9 = _local4._nodeList.length; var _local3 = 0; while (_local3 < _local9) { var _local6 = _local4._nodeList[_local3]; var _local2 = _local6._color; if (_local2 > -1) { var _local5 = false; var _local1 = 0; while (_local1 < colorset.length) { if (_local2 == colorset[_local1]) { _local5 = true; break; } _local1++; } if (!_local5) { colorset[colorset.length] = _local2; break; } } _local3++; } _local8++; } } function getCClipArray(nb) { var _local3 = new Array(); var _local5 = nb; var _local2 = 1; while ((_local5 > 0) || (_local2 == 1)) { var _local4 = _local5 % 10; _root["c" + _local4].duplicateMovieClip("sc" + (_local2 - 1), layerLevels[_local2 - 1]); _local3[_local2 - 1] = _root["sc" + (_local2 - 1)]; _root["sc" + (_local2 - 1)].filters = _root["c" + _local4].filters; _local5 = (_local5 - _local4) / 10; _local2++; } _local3[_local2 - 1] = -1; _local2++; _local3[_local2 - 1] = _root.l2; _local2++; _local3[_local2 - 1] = _root.e2; _local2++; _local3[_local2 - 1] = _root.v; _local2++; _local3[_local2 - 1] = _root.e1; _local2++; _local3[_local2 - 1] = _root.l1; _local2++; _local2 = 0; while (_local2 < _local3.length) { if (_local3[_local2] != -1) { _local3[_local2]._y = 60; _local3[_local2]._x = (screen.w + 400) + ((_local3.length - _local2) * levelTextSpaceW); } _local2++; } return(_local3); } function getSClipArray(nb) { var _local3 = new Array(); var _local4 = nb; _local3[0] = _root.b3; _local3[1] = _root.b2; _local3[2] = -1; var _local2 = 4; while ((_local4 > 0) || (_local2 == 4)) { var _local5 = _local4 % 10; _root["c" + _local5].duplicateMovieClip("sc" + (_local2 - 4), layerLevels[_local2 - 4]); _local3[_local2 - 1] = _root["sc" + (_local2 - 4)]; _local4 = (_local4 - _local5) / 10; _local2++; } _local3[_local2 - 1] = -1; _local2++; _local3[_local2 - 1] = _root.b1; _local2++; _local3[_local2 - 1] = _root.b0; _local2++; _local2 = 0; while (_local2 < _local3.length) { if (_local3[_local2] != -1) { _local3[_local2]._y = 200; _local3[_local2]._x = (screen.w + 400) + ((_local3.length - _local2) * levelTextSpaceW); } _local2++; } return(_local3); } function clearAnimLevel() { _root.l2._y = (_root.e2._y = (_root.v._y = (_root.e1._y = (_root.l1._y = -50)))); var _local2 = 0; while (_local2 < 10) { _root["sc" + _local2].removeMovieClip(); _local2++; } } function dispLevel(animFrame, clips) { var _local4 = Math.cos(animFrame * 0.9) * 17; var _local5 = (screen.w / 2) + ((clips.length * levelTextSpaceW) / 2); var _local1 = 0; while (_local1 < clips.length) { if ((clips[_local1] != -1) && (animFrame >= ((clips.length - _local1) * 5))) { var _local3 = _local5 - (_local1 * levelTextSpaceW); if (clips[_local1]._x < (_local3 + 1E-8)) { clips[_local1]._x = clips[_local1]._x - (((_local3 + 1E-8) - clips[_local1]._x) * 0.2); } else { clips[_local1]._x = clips[_local1]._x + ((_local3 - clips[_local1]._x) * 0.09); } clips[_local1]._rotation = _local4; } _local1++; } } function userDead() { _userdead = true; } function gameover() { _root.gameoverbool = true; if (replay) { acci = acceleration + 1; acceleration = 1; } if ((!replay) && (levelstart == 0)) { if (PEPERE) { saving = true; save(); } } displayScore(); } function displayScore() { levelSound.stop(); clearAnimLevel(); levelSound.start(); theClips = getSClipArray(_score); scoreframe = 0; } function newSkyGroup(n, s) { n._groupid = skyGroups.length; nodegroup = new NodeGroup(n, skyGroups.length); nodegroup._speed = s; skyGroups.push(nodegroup); } function joinSkyGroup(g, gd) { g.addGroup(gd); delSkyGroup(gd); } function delSkyGroup(g) { skyGroups.splice(g._groupid, 1); var _local1 = g._groupid; while (_local1 < skyGroups.length) { skyGroups[_local1].setGroupId(_local1); _local1++; } } function delStickGroup(g) { stickGroups.splice(g._groupid, 1); var _local1 = g._groupid; while (_local1 < stickGroups.length) { stickGroups[_local1].g.setGroupId(_local1); _local1++; } } function delGroundNode(n) { var _local4 = false; var _local3 = 0; while (_local3 < groundBalls.length) { if (n._id == groundBalls[_local3]._id) { groundBalls.splice(_local3, 1); _local4 = true; break; } _local3++; } if (!_local4) { j = 0; while (j < stickGroups.length) { var _local5 = stickGroups[j].g; j++; } j = 0; while (j < stickGroups.length) { var _local5 = stickGroups[j].g; var _local2 = _local5._nodeList; var _local1 = 0; while (_local1 < _local2.length) { if (_local2[_local1]._id == n._id) { _local2.splice(_local1, 1); _local4 = true; break; } _local1++; } if (_local2.length <= 0) { delStickGroup(_local5); } if (_local4) { break; } j++; } } } function delJoins(nid) { var _local1 = joins.length - 1; while (_local1 >= 0) { if ((nid == joins[_local1]._n1._id) || (nid == joins[_local1]._n2._id)) { joins[_local1].die(); joins.splice(_local1, 1); } _local1--; } } function newGroupOnGround(g) { var _local1 = 0; while (_local1 < g._nodeList.length) { g._nodeList[_local1].attachWheel(); groundBalls.push(g._nodeList[_local1]); _local1++; } delSkyGroup(g); } function newGroupOnGround3(g) { var _local1 = 0; while (_local1 < g._nodeList.length) { var _local2 = g._nodeList[_local1]; groundBalls.push(_local2); _local1++; } delStickGroup(g); } function newGroupOnGround2(g, n) { stickGroups.push({g:g, n:n}); delSkyGroup(g); g.setGroupId(stickGroups.length - 1); } function setDistGameOver(f) { if (f > maxframe) { f = maxframe; } if (f < 1) { f = 1; } distgameover = 313 - ((116 * (f - 1)) / 10); _root.diaph.gotoAndStop(f); var _local3 = 0; while (_local3 < skyGroups.length) { var _local4 = skyGroups[_local3]; j = 0; while (j < _local4._nodeList.length) { _local4._nodeList[j].posTriangle(distgameover); j++; } _local3++; } if (!gameoverbool) { var _local5 = new Array(); var _local6 = 0; while (_local6 < groundBalls.length) { var _local2 = groundBalls[_local6]; var _local8 = {x:_local2._x - _root.scrollpanel.roue._x, y:_local2._y - _root.scrollpanel.roue._y}; var _local9 = Math.pow(_local8.x, 2) + Math.pow(_local8.y, 2); if (_local9 > Math.pow(distgameover - 15, 2)) { if (_local2._color != -1) { _root.gameover(); break; } var _local7 = false; _local3 = 0; while (_local3 < _local2._contactNodes.length) { if (_local2._contactNodes[_local3]._color > -1) { _local7 = true; break; } _local3++; } if (!_local7) { _local5.push(_local2); } else { _root.gameover(); break; } } _local6++; } if (!gameoverbool) { if (_local5.length > 0) { exploSound.start(); nbWall = nbWall - _local5.length; } _local3 = 0; while (_local3 < _local5.length) { _root._levelscore = _root._levelscore - 100; _local5[_local3].die(); _root.delJoins(_local5[_local3]._id); _root.delGroundNode(_local5[_local3]); _local3++; } } } } function nextLevel() { var _local4 = 0; while (_local4 < skyGroups.length) { var _local3 = skyGroups[_local4]; var _local2 = 0; while (_local2 < _local3._nodeList.length) { _local3._nodeList[_local2].die(); _local2++; } _local4++; } skyGroups = new Array(); stickGroups = new Array(); _levelscore = _levelscore + (500 + Math.ceil(1000000 / (levelframe + 1000))); if (_root._levelscore < 0) { _root._levelscore = 0; } _score = _score + _levelscore; if (level < (levelManager._levels.length - 1)) { level++; levelframe = 0; levelManager.loadLevel(level); waitgo = true; waitgoframe = 0; } else { gameover(); } if (!replay) { levelSound.start(); } shakeframe = -1; setDistGameOver(1); _root.diaph._x = diaphinit.x; _root.diaph._y = diaphinit.y; } function newFall() { var _local1 = (60 / (level + 1)) + (frame % 11); if ((frame >= (lastfallframe + _local1)) && (skyGroups.length == 0)) { if (level >= levelfigures.length) { levelfigure = frame % levelfigures.length; } else { levelfigure = level; } figure = levelfigures[levelfigure][frame % levelfigures[levelfigure].length]; figures[figure].startFigure(frame); lastfallframe = frame; } if (!figures[figure].isOver()) { figures[figure].step(frame, level); } } function getFreeLayerMin(ml) { found = false; var _local1 = ml; while (_local1 < layers.length) { if (layers[_local1].free == true) { found = _local1; break; } _local1++; } if (found == false) { found = layers.length; layers.push({clip:-1, free:true}); } return(found); } function getFreeLayer() { return(getFreeLayerMin(0)); } function save() { _root.message._visible = true; _root.message.messagerouge.text = "saving..."; srecord = new LoadVars(); srecord.params = _root.game_id; srecord.score = _root._score; srecord.sendAndLoad("record.php", srecord, "POST"); srecord.onLoad = function () { if (((this.result + "") != "undefined") && (this.result > 0)) { _root.message.messagerouge.text = (this.result + " / ") + this.total; } if ((((this.recordid + "") != "undefined") && (this.recordid >= 0)) && (this.result < 15)) { sonparcours = "1.00_"; var _local8 = 0; var _local3 = 0; while (_local3 < _root.record.length) { var _local5 = _root.record[_local3].frame - _local8; var _local4 = -1; if (_root.record[_local3].code == 32) { if (_root.record[_local3].down == true) { _local4 = 0; } else { _local4 = 1; } } else if (_root.record[_local3].code == 37) { if (_root.record[_local3].down == true) { _local4 = 2; } else { _local4 = 3; } } else if (_root.record[_local3].code == 39) { if (_root.record[_local3].down == true) { _local4 = 4; } else { _local4 = 5; } } if (_local5 < 8) { var _local7 = (_local5 * 8) + _local4; } else { var _local6 = Math.ceil((_local5 + 1) / 128); var _local7 = (((64 + (_local6 * 8)) * Math.pow(128, _local6)) + (_local5 * 8)) + _local4; } sonparcours = sonparcours + _root.getAlphaNum(_local7); _local8 = _root.record[_local3].frame; _local3++; } myParcours = new LoadVars(); myParcours.data = sonparcours; myParcours.recordid = this.recordid; myParcours.params = _root.game_id; myParcours.sendAndLoad("set_data.php", myParcours, "POST"); myParcours.onLoad = function () { _root.saving = false; }; } else { _root.message.messagerouge.text = ""; _root.saving = false; } }; } stop(); bg1._alpha = 0; bg2._alpha = 0; bg1._visible = false; bg2._visible = false; _root.message._visible = false; var saving = false; var levelManager = new Level(); var _ms = 1; var replayid = 0; _root.rightDown = false; _root.leftDown = false; _root.spaceDown = false; if ((diaphinit + "") == "undefined") { var diaphinit = {x:_root.diaph._x, y:_root.diaph._y}; } else { _root.diaph._x = diaphinit.x; _root.diaph._y = diaphinit.y; } var i = 0; while (i < 8) { _root.scrollpanel["nextcolor" + i]._alpha = 0; _root.scrollpanel["nnextcolor" + i]._alpha = 0; i++; } var nextcolor = 0; var oldnextcolor = 0; var nnextcolor = 1; var oldnnextcolor = 1; var colorset = new Array(); var nbWall = 0; if (replay) { demoblink._visible = (avrap._visible = (avnor._visible = true)); } else { demoblink._visible = (avrap._visible = (avnor._visible = false)); } var layers = new Array(); layers[0] = {clip:-1, free:false}; layers[1] = {clip:-1, free:false}; var frame = 0; var scrollVector = {x:0, y:0}; var gameoverbool = false; var _score = 0; var _levelscore = 0; var _scoredisp = 0; backb._alpha = 0; backb._visible = false; var _memoMouseX = _xmouse; var _memoMouseY = _ymouse; var backincrease = false; var backdecrease = false; var wheelRotSpeed = 0; var wheelRotMaxSpeed = 6; var wheelRotMinSpeed = (-wheelRotMaxSpeed); var wheelRot = 0; var memoWheelRot = 0; var level = 0; if ((levelstart + "") != "undefined") { level = levelstart; } else { levelstart = 0; } var levelframe = 0; var levelmaxframe = 1000; if (!replay) { record = new Array(); } var theClips; var levelTextSpaceW = 25; var layerLevels = new Array(); var i = 0; while (i < 10) { layerLevels[i] = getFreeLayer(); layers[layerLevels[i]].free = false; layer++; i++; } _userdead = false; var scoreframe = -1; var groundBalls = new Array(); var joins = new Array(); var skyGroups = new Array(); var stickGroups = new Array(); if ((nodeWheel + "") == "undefined") { nodeWheel = new Node(-1, _root.scrollpanel.roue._x, _root.scrollpanel.roue._y, 0, 0, -1); nodeWheel._R = _root.scrollpanel.roue._width / 2; nodeWheel._RQ = Math.pow(nodeWheel._R + 14, 2); } groundBalls.push(nodeWheel); var shakeframe = -1; var shakeframemax1 = 100; var shakeframemax2 = 150; var distgameover; var maxframe = 11; var downframegap = 1500; setDistGameOver(1); var lastfallframe = -1000; var figure = 0; var figures = new Array(); figures[0] = new FOne(1, 1.25, 1); figures[1] = new FOne(1, 0.5, 1); figures[2] = new FOne(1, -1, 2); figures[3] = new FOne(2, -1, 1); figures[4] = new FOne(2, -1, 1); figures[5] = new FOne(2, -1, 2); figures[6] = new FOne(3, -1, 1); figures[7] = new FOne(3, -1, 1); figures[8] = new FOne(3, -1, 2); figures[figure].startFigure(frame); var levelfigure = 0; var levelfigures = new Array(); levelfigures[0] = [0]; levelfigures[1] = [1]; levelfigures[2] = [0, 3]; levelfigures[3] = [4]; levelfigures[4] = [0, 4]; levelfigures[5] = [0, 6]; levelfigures[6] = [0, 6]; levelfigures[7] = [0, 0, 7]; levelfigures[8] = [0, 2]; levelfigures[9] = [0, 2]; levelfigures[10] = [0, 2, 6]; levelfigures[11] = [0, 2, 3]; levelfigures[12] = [0, 2, 1]; levelfigures[13] = [0, 1, 8]; levelfigures[14] = [0, 4, 8]; levelfigures[15] = [0, 8]; levelfigures[16] = [0, 8]; levelManager.loadLevel(level); var waitgoframe = 0; var waitgo = true; gogo._visible = false; var plantage = false; var starttime = getTimer(); var acceleration = 1; levelSound.start(); onEnterFrame = function () { if (!waitgo) { var _local73 = 0; while (_local73 < acceleration) { if (replay) { while (record[replayid].frame == frame) { if (record[replayid].down) { scrollpanel.keyDownAction(record[replayid].code); } else { scrollpanel.keyUpAction(record[replayid].code); } replayid++; } } if (_root.rightDown) { wheelRotSpeed = wheelRotSpeed + 0.8; if (wheelRotSpeed > wheelRotMaxSpeed) { wheelRotSpeed = wheelRotMaxSpeed; } } else if (_root.leftDown) { wheelRotSpeed = wheelRotSpeed - 0.8; if (wheelRotSpeed < wheelRotMinSpeed) { wheelRotSpeed = wheelRotMinSpeed; } } else { wheelRotSpeed = wheelRotSpeed * 0.7; } memoWheelRot = wheelRot; wheelRot = wheelRot + wheelRotSpeed; var _local72 = 0; while (_local72 < groundBalls.length) { groundBalls[_local72].memo(); groundBalls[_local72].wheelMove(wheelRot); _local72++; } _local72 = 0; while (_local72 < joins.length) { joins[_local72].wheelMove(wheelRot); _local72++; } _local72 = 0; while (_local72 < skyGroups.length) { nodegroup = skyGroups[_local72]; nodegroup.memo(); nodegroup.move(); _local72++; } _local72 = 0; while (_local72 < stickGroups.length) { nodegroup = stickGroups[_local72].g; nodegroup.memo(); nodegroup.move(); nodegroup.constraint(stickGroups[_local72].n); _local72++; } var _local29 = wheelRotSpeed; var _local45 = -1; var _local66 = 0; while ((_local45 != 0) && (_local66 < 5)) { var _local5 = new Array(); _local72 = 0; while (_local72 < skyGroups.length) { var nodegroup = skyGroups[_local72]; var _local59 = nodegroup._nodeList.length; var _local27 = 0; while (_local27 < _local59) { var _local6 = nodegroup._nodeList[_local27]; var _local15 = 0; while (_local15 < groundBalls.length) { var _local23 = groundBalls[_local15]; var _local47 = {x:_local6._x - _local23._x, y:_local6._y - _local23._y}; var _local62 = Math.pow(_local47.x, 2) + Math.pow(_local47.y, 2); if (_local62 < _local23._RQ) { _local5.push({ground:_local23, fly:_local6, stick:-1}); } _local15++; } _local15 = 0; while (_local15 < stickGroups.length) { var _local22 = stickGroups[_local15].g; var _local36 = _local22._nodeList.length; var _local11 = 0; while (_local11 < _local36) { var _local23 = _local22._nodeList[_local11]; var _local47 = {x:_local6._x - _local23._x, y:_local6._y - _local23._y}; var _local62 = Math.pow(_local47.x, 2) + Math.pow(_local47.y, 2); if (_local62 < _local23._RQ) { _local5.push({ground:_local23, fly:_local6, stick:-1}); } _local11++; } _local15++; } _local27++; } _local72++; } _local72 = 0; while (_local72 < stickGroups.length) { var nodegroup = stickGroups[_local72].g; var _local9 = stickGroups[_local72].n; var _local41 = _local9._join._n1; if (_local41._id == _local9._id) { stickgroundnodesticknode._join._n2; } var _local59 = nodegroup._nodeList.length; var _local27 = 0; while (_local27 < _local59) { var _local6 = nodegroup._nodeList[_local27]; var _local15 = 0; while (_local15 < groundBalls.length) { var _local23 = groundBalls[_local15]; if (!((_local41._id == _local23._id) && (_local9._id == _local6._id))) { var _local47 = {x:_local6._x - _local23._x, y:_local6._y - _local23._y}; var _local62 = Math.pow(_local47.x, 2) + Math.pow(_local47.y, 2); if (_local62 < _local23._RQ) { _local5.push({ground:_local23, fly:_local6, stick:stickGroups[_local72]}); } } _local15++; } _local15 = _local72 + 1; while (_local15 < stickGroups.length) { var _local24 = stickGroups[_local15].g; var _local56 = stickGroups[_local15].n; var _local35 = _local24._nodeList.length; var _local11 = 0; while (_local11 < _local35) { var _local7 = _local24._nodeList[_local11]; var _local47 = {x:_local7._x - _local6._x, y:_local7._y - _local6._y}; var _local62 = Math.pow(_local47.x, 2) + Math.pow(_local47.y, 2); if (_local62 < _local7._RQ) { _local5.push({ground:_local7, fly:_local6, stick:stickGroups[_local72]}); } _local11++; } _local15++; } _local27++; } _local72++; } _local45 = _local5.length; if (_local45 >= 1) { if (_local45 > 1) { } var _local57 = 1; var _local55 = 0; var _local2; var _local20 = _local45; var _local58 = 0; var _local3 = -1; var _local4 = -1; var _local12 = -1; var _local60 = 1000000 /* 0x0F4240 */; var _local61 = 1000000 /* 0x0F4240 */; while (((_local20 != 1) || (_local60 > 0.5)) && (_local58 < 20)) { _local2 = (_local57 + _local55) / 2; _local20 = 0; var _local27 = 0; while (_local27 < _local5.length) { var _local23 = _local5[_local27].ground; var _local31 = {x:_local23._xM + ((_local23._x - _local23._xM) * _local2), y:_local23._yM + ((_local23._y - _local23._yM) * _local2)}; var _local6 = _local5[_local27].fly; var _local17 = {x:_local6._xM + ((_local6._x - _local6._xM) * _local2), y:_local6._yM + ((_local6._y - _local6._yM) * _local2)}; if (_local6._stickfly != -1) { var _local54 = _local6._stickground; var _local32 = _local6._stickfly; var _local18 = {x:_local32._x - _local54._x, y:_local32._y - _local54._y}; var _local33 = Math.sqrt(Math.pow(_local18.x, 2) + Math.pow(_local18.y, 2)); var _local44 = 2 * _local54._R; var _local34 = (_local44 - _local33) / _local33; var _local37 = {x:_local18.x * _local34, y:_local18.y * _local34}; _local17.x = _local17.x + _local37.x; _local17.y = _local17.y + _local37.y; } var _local47 = {x:_local17.x - _local31.x, y:_local17.y - _local31.y}; var _local62 = Math.pow(_local47.x, 2) + Math.pow(_local47.y, 2); if (_local62 < _local23._RQ) { _local3 = _local6; _local4 = _local23; _local12 = _local5[_local27].stick; _local20++; } _local27++; } if (_local20 >= 1) { _local57 = _local2; } else if (_local20 < 1) { _local55 = _local2; } if (_local20 <= 1) { _local60 = Math.abs(_local62 - _local61); _local61 = _local62; } _local58++; } _local29 = (1 - _local2) * _local29; _local3.delTriangle(); if (_local12 == -1) { var _local21 = skyGroups[_local3._groupid]; _local72 = 0; while (_local72 < groundBalls.length) { groundBalls[_local72]._xM = groundBalls[_local72]._xM + ((groundBalls[_local72]._x - groundBalls[_local72]._xM) * _local2); groundBalls[_local72]._yM = groundBalls[_local72]._yM + ((groundBalls[_local72]._y - groundBalls[_local72]._yM) * _local2); _local72++; } _local72 = 0; while (_local72 < skyGroups.length) { var nodegroup = skyGroups[_local72]; var _local59 = nodegroup._nodeList.length; var _local27 = 0; while (_local27 < _local59) { var _local6 = nodegroup._nodeList[_local27]; _local6._xM = _local6._xM + ((_local6._x - _local6._xM) * _local2); _local6._yM = _local6._yM + ((_local6._y - _local6._yM) * _local2); _local27++; } _local72++; } _local72 = 0; while (_local72 < stickGroups.length) { var nodegroup = stickGroups[_local72].g; var _local59 = nodegroup._nodeList.length; var _local27 = 0; while (_local27 < _local59) { var _local6 = nodegroup._nodeList[_local27]; _local6._xM = _local6._xM + ((_local6._x - _local6._xM) * _local2); _local6._yM = _local6._yM + ((_local6._y - _local6._yM) * _local2); _local27++; } nodegroup.mconstraint(stickGroups[_local72].n); _local72++; } if (_local4._join != -1) { var _local53 = stickGroups[_local4._groupid].g; _local72 = 0; while (_local72 < _local53._nodeList.length) { var _local9 = _local53._nodeList[_local72]; _local9._x = _local9._xM; _local9._y = _local9._yM; var _local49 = {x:_local9._x - _root.scrollpanel.roue._x, y:_local9._y - _root.scrollpanel.roue._y}; var _local51 = getPolaire(_local49); _local9._rWheel = _local51.d; _local9._rotWheel = _local51.a - (((wheelRot - _local29) * Math.PI) / 180); _local9.wheelMove(wheelRot); _local72++; } _local4.updateJoinPos(); var _local71 = {x:_local4._join._x - _root.scrollpanel.roue._x, y:_local4._join._y - _root.scrollpanel.roue._y}; var _local65 = getPolaire(_local71); _local4._join._rWheel = _local65.d; _local4._join._rotWheel = _local65.a - ((wheelRot * Math.PI) / 180); newGroupOnGround3(_local53); _local4._join = -1; } if (_local4._color == -1) { _local72 = 0; while (_local72 < _local21._nodeList.length) { var _local8 = _local21._nodeList[_local72]; _local8._x = _local8._xM; _local8._y = _local8._yM; var _local49 = {x:_local8._x - _root.scrollpanel.roue._x, y:_local8._y - _root.scrollpanel.roue._y}; var _local51 = getPolaire(_local49); _local8._rWheel = _local51.d; _local8._rotWheel = _local51.a - (((wheelRot - _local29) * Math.PI) / 180); _local8.wheelMove(wheelRot); _local72++; } var _local38 = 0; while (_local38 < _local21._nodeList.length) { var _local50 = _local21._nodeList[_local38]; var _local49 = {x:_local50._x - _root.scrollpanel.roue._x, y:_local50._y - _root.scrollpanel.roue._y}; var _local62 = Math.pow(_local49.x, 2) + Math.pow(_local49.y, 2); if (_local62 > Math.pow(distgameover - 15, 2)) { _root.gameover(); } _local38++; } lockSound.start(); } if (_local4._color != -1) { prelockSound.start(); var _local28 = {_x:(_local3._x + _local4._x) / 2, _y:(_local3._y + _local4._y) / 2}; var _local13 = _root.getFreeLayerMin(500); _root.scrollpanel.joint.duplicateMovieClip("joint_" + _local13, _local13); _root.layers[_local13].clip = _root.scrollpanel["joint_" + _local13]; _root.layers[_local13].free = false; var _local40 = new Join(_root.scrollpanel["joint_" + _local13], _local28._x, _local28._y, 0, _local13, _local4, _local3); joins.push(_local40); _local3._join = _local40; _local72 = 0; while (_local72 < _local21._nodeList.length) { var _local8 = _local21._nodeList[_local72]; _local8._stickground = _local4; _local8._stickfly = _local3; _local72++; } _local21.constraint(_local3); if (_local3._color == _local4._color) { flyColorNodes = _local3.getAllColorNodesExcept([_local3], _local3._color); groundColorNodes = _local4.getAllColorNodesExcept([_local4], _local4._color); if ((flyColorNodes.length + groundColorNodes.length) >= 3) { exploSound.start(); var _local19 = new Array(); var _local25 = new Array(); var _local15 = 0; while (_local15 < groundColorNodes.length) { _local25.push(groundColorNodes[_local15]); _local15++; } _local72 = 0; while (_local72 < groundColorNodes.length) { var _local48 = groundColorNodes[_local72]; _local19.push(_local48); var _local27 = 0; while (_local27 < _local48._contactNodes.length) { var _local16 = _local48._contactNodes[_local27]; var _local30 = false; _local15 = 0; while (_local15 < _local25.length) { var _local39 = _local25[_local15]; if (_local39._id == _local16._id) { _local30 = true; break; } _local15++; } if (!_local30) { var _local26 = false; if (_local16._color != -1) { var _local10 = _local16.getAllNodesExcept(_local25, ""); _local15 = _local10.length - 1; while (_local15 >= 0) { if (_local10[_local15]._color == -1) { _local26 = true; break; } _local15--; } } else { _local26 = true; } _local10.push(_local16); if (!_local26) { _local15 = _local10.length - 1; while (_local15 >= 0) { _local19.push(_local10[_local15]); _local15--; } } } _local27++; } _local72++; } delSkyGroup(_local21); _local72 = 0; while (_local72 < _local19.length) { delGroundNode(_local19[_local72]); _local72++; } _local72 = 0; while (_local72 < _local21._nodeList.length) { var _local48 = _local21._nodeList[_local72]; _local19.push(_local48); _local72++; } _local72 = 0; while (_local72 < _local19.length) { var _local48 = _local19[_local72]; _local48.die(); delJoins(_local48._id); _local72++; } if (groundBalls.length == (1 + nbWall)) { nextLevel(); } else { setColorSet(); } } else { newGroupOnGround2(_local21, _local3); } } else { newGroupOnGround2(_local21, _local3); } } else { newGroupOnGround(_local21); } _local3.newContactNode(_local4); _local4.newContactNode(_local3); } else { var _local21 = _local12.g; var _local54 = _local12.n._join._n1; if (_local54._id == _local12.n._id) { _local54 = _local12.n._join._n2; } _local72 = 0; while (_local72 < groundBalls.length) { groundBalls[_local72]._xM = groundBalls[_local72]._xM + ((groundBalls[_local72]._x - groundBalls[_local72]._xM) * _local2); groundBalls[_local72]._yM = groundBalls[_local72]._yM + ((groundBalls[_local72]._y - groundBalls[_local72]._yM) * _local2); _local72++; } _local72 = 0; while (_local72 < skyGroups.length) { var nodegroup = skyGroups[_local72]; var _local59 = nodegroup._nodeList.length; var _local27 = 0; while (_local27 < _local59) { var _local6 = nodegroup._nodeList[_local27]; _local6._xM = _local6._xM + ((_local6._x - _local6._xM) * _local2); _local6._yM = _local6._yM + ((_local6._y - _local6._yM) * _local2); _local27++; } _local72++; } _local72 = 0; while (_local72 < stickGroups.length) { var nodegroup = stickGroups[_local72].g; var _local59 = nodegroup._nodeList.length; var _local27 = 0; while (_local27 < _local59) { var _local6 = nodegroup._nodeList[_local27]; _local6._xM = _local6._xM + ((_local6._x - _local6._xM) * _local2); _local6._yM = _local6._yM + ((_local6._y - _local6._yM) * _local2); _local27++; } nodegroup.mconstraint(stickGroups[_local72].n); _local72++; } if (_local4._join != -1) { var _local53 = stickGroups[_local4._groupid].g; _local72 = 0; while (_local72 < _local53._nodeList.length) { var _local9 = _local53._nodeList[_local72]; _local9._x = _local9._xM; _local9._y = _local9._yM; var _local49 = {x:_local9._x - _root.scrollpanel.roue._x, y:_local9._y - _root.scrollpanel.roue._y}; var _local51 = getPolaire(_local49); _local9._rWheel = _local51.d; _local9._rotWheel = _local51.a - (((wheelRot - _local29) * Math.PI) / 180); _local9.wheelMove(wheelRot); _local72++; } _local4.updateJoinPos(); var _local71 = {x:_local4._join._x - _root.scrollpanel.roue._x, y:_local4._join._y - _root.scrollpanel.roue._y}; var _local65 = getPolaire(_local71); _local4._join._rWheel = _local65.d; _local4._join._rotWheel = _local65.a - ((wheelRot * Math.PI) / 180); newGroupOnGround3(_local53); _local4._join = -1; } _local72 = 0; while (_local72 < _local21._nodeList.length) { var _local8 = _local21._nodeList[_local72]; _local8._x = _local8._xM; _local8._y = _local8._yM; var _local49 = {x:_local8._x - _root.scrollpanel.roue._x, y:_local8._y - _root.scrollpanel.roue._y}; var _local51 = getPolaire(_local49); _local8._rWheel = _local51.d; _local8._rotWheel = _local51.a - (((wheelRot - _local29) * Math.PI) / 180); _local8.wheelMove(wheelRot); _local72++; } _local12.n.updateJoinPos(); var _local71 = {x:_local12.n._join._x - _root.scrollpanel.roue._x, y:_local12.n._join._y - _root.scrollpanel.roue._y}; var _local65 = getPolaire(_local71); _local12.n._join._rWheel = _local65.d; _local12.n._join._rotWheel = _local65.a - ((wheelRot * Math.PI) / 180); var _local42 = Array(); var _local15 = 0; while (_local15 < groundBalls.length) { var _local23 = groundBalls[_local15]; if (_local23._id != _local54._id) { var _local47 = {x:_local3._xM - _local23._xM, y:_local3._yM - _local23._yM}; var _local62 = Math.pow(_local47.x, 2) + Math.pow(_local47.y, 2); if (_local62 < (_local23._RQ + 150)) { _local42.push(_local23); } } _local15++; } var _local63 = false; _local15 = 0; while (_local15 < _local42.length) { var _local14 = _local42[_local15]; _local3.newContactNode(_local14); _local14.newContactNode(_local3); if (_local14._color != -1) { var _local28 = {_x:(_local3._x + _local14._x) / 2, _y:(_local3._y + _local14._y) / 2}; var _local49 = {x:_local28._x - _root.scrollpanel.roue._x, y:_local28._y - _root.scrollpanel.roue._y}; var _local43 = getPolaire(_local49); var _local13 = _root.getFreeLayerMin(500); _root.scrollpanel.joint.duplicateMovieClip("joint_" + _local13, _local13); _root.layers[_local13].clip = _root.scrollpanel["joint_" + _local13]; _root.layers[_local13].free = false; var _local40 = new Join(_root.scrollpanel["joint_" + _local13], _local28._x, _local28._y, 0, _local13, _local14, _local3); joins.push(_local40); _local40._rWheel = _local43.d; _local40._rotWheel = _local43.a - ((wheelRot * Math.PI) / 180); if (_local14._color == _local3._color) { _local63 = true; } } _local15++; } var _local64 = false; if (_local63) { groundColorNodes = _local3.getAllColorNodesExcept([_local3], _local3._color); if (groundColorNodes.length >= 3) { _local64 = true; newGroupOnGround3(_local21); var _local19 = new Array(); var _local25 = new Array(); _local15 = 0; while (_local15 < groundColorNodes.length) { _local25.push(groundColorNodes[_local15]); _local15++; } _local72 = 0; while (_local72 < groundColorNodes.length) { var _local48 = groundColorNodes[_local72]; _local19.push(_local48); var _local27 = 0; while (_local27 < _local48._contactNodes.length) { var _local16 = _local48._contactNodes[_local27]; var _local30 = false; _local15 = 0; while (_local15 < _local25.length) { var _local39 = _local25[_local15]; if (_local39._id == _local16._id) { _local30 = true; break; } _local15++; } if (!_local30) { var _local26 = false; if (_local16._color != -1) { var _local10 = _local16.getAllNodesExcept(_local25, ""); _local15 = _local10.length - 1; while (_local15 >= 0) { if (_local10[_local15]._color == -1) { _local26 = true; break; } _local15--; } } else { _local26 = true; } _local10.push(_local16); if (!_local26) { _local15 = _local10.length - 1; while (_local15 >= 0) { _local19.push(_local10[_local15]); _local15--; } } } _local27++; } _local72++; } _local72 = 0; while (_local72 < _local19.length) { delGroundNode(_local19[_local72]); _local72++; } _local72 = 0; while (_local72 < _local19.length) { var _local48 = _local19[_local72]; _local48.die(); delJoins(_local48._id); _local72++; } if (groundBalls.length == (1 + nbWall)) { nextLevel(); } else { setColorSet(); } } else { newGroupOnGround3(_local21); } } else { newGroupOnGround3(_local21); } if (!_local64) { lockSound.start(); var _local38 = 0; while (_local38 < _local21._nodeList.length) { var _local50 = _local21._nodeList[_local38]; var _local49 = {x:_local50._x - _root.scrollpanel.roue._x, y:_local50._y - _root.scrollpanel.roue._y}; var _local62 = Math.pow(_local49.x, 2) + Math.pow(_local49.y, 2); if (_local62 > Math.pow(distgameover - 15, 2)) { _root.gameover(); } _local38++; } } else { exploSound.start(); } _local3._join = -1; } } _local66++; } if (!gameoverbool) { newFall(); if (levelframe <= 175) { if (levelframe == 1) { theClips = getCClipArray(level + 1); } else if (levelframe > 1) { if (levelframe == 175) { clearAnimLevel(); } else { dispLevel(levelframe, theClips); } } } } else if (scoreframe >= 0) { if (scoreframe == 250) { if (!saving) { clearAnimLevel(); _root.message._visible = false; scoreframe = -1; _root.gotoAndStop("intro"); } } else { dispLevel(scoreframe, theClips); scoreframe++; } } if (backincrease) { if (!_root.gameoverbool) { backb._alpha = backb._alpha + 5; } if (backb._alpha > 100) { backincrease = false; } } else { if (backdecrease) { backb._alpha = backb._alpha - 5; if (backb._alpha <= 0) { backb._visible = false; backdecrease = false; } } if ((_xmouse != _memoMouseX) || (_ymouse != _memoMouseY)) { if (backb._alpha < 100) { backincrease = true; } if (backb._alpha <= 0) { backb._visible = true; } } else if (backb._alpha > 0) { backdecrease = true; } } _memoMouseX = _xmouse; _memoMouseY = _ymouse; scrollpanel.roue._rotation = wheelRot; _local72 = 0; while (_local72 < stickGroups.length) { nodegroup = stickGroups[_local72].g; stickGroups[_local72].n.updateJoinPos(); nodegroup.show(); _local72++; } if (!waitgo) { _local72 = 0; while (_local72 < groundBalls.length) { groundBalls[_local72].show(); _local72++; } _local72 = 0; while (_local72 < joins.length) { joins[_local72].show(); _local72++; } } _local72 = 0; while (_local72 < skyGroups.length) { nodegroup = skyGroups[_local72]; nodegroup.show(); _local72++; } if ((oldnextcolor != nextcolor) && (_root.scrollpanel["nextcolor" + oldnextcolor]._alpha > 0)) { _root.scrollpanel["nextcolor" + oldnextcolor]._alpha = _root.scrollpanel["nextcolor" + oldnextcolor]._alpha - 5; } if (_root.scrollpanel["nextcolor" + nextcolor]._alpha < 100) { _root.scrollpanel["nextcolor" + nextcolor]._alpha = _root.scrollpanel["nextcolor" + nextcolor]._alpha + 5; } if ((oldnnextcolor != nnextcolor) && (_root.scrollpanel["nnextcolor" + oldnnextcolor]._alpha > 0)) { _root.scrollpanel["nnextcolor" + oldnnextcolor]._alpha = _root.scrollpanel["nnextcolor" + oldnnextcolor]._alpha - 5; } if (_root.scrollpanel["nnextcolor" + nnextcolor]._alpha < 100) { _root.scrollpanel["nnextcolor" + nnextcolor]._alpha = _root.scrollpanel["nnextcolor" + nnextcolor]._alpha + 5; } if (((levelframe + 1) % downframegap) == 0) { var _local74 = 1 + (Math.floor((levelframe + 150) / downframegap) * 2); if (_local74 <= maxframe) { shakeframe = 0; } } if (shakeframe > -1) { shakeframe++; if (shakeframe < shakeframemax1) { _root.diaph._x = diaphinit.x + (((Math.random() - 0.5) * shakeframe) / 4); } else if (shakeframe == shakeframemax1) { setDistGameOver(1 + (Math.floor((levelframe + 1) / downframegap) * 2)); } else if (shakeframe < shakeframemax2) { _root.diaph._x = diaphinit.x + (((Math.random() - 0.5) * (shakeframemax2 - shakeframe)) / 4); } else if (shakeframe >= shakeframemax2) { shakeframe = -1; _root.diaph._x = diaphinit.x; _root.diaph._y = diaphinit.y; } } frame++; levelframe++; _local73++; } } else { waitgoframe++; var _local75 = Math.floor(waitgoframe / 3); var _local72 = 0; while (_local72 < _local75) { groundBalls[_local72].show(); _local72++; } if (_local75 == groundBalls.length) { if (replay) { waitgo = false; _levelscore = 0; } else { gogo._visible = true; gogo.gotoAndPlay(1); _local72 = 0; while (_local72 < joins.length) { joins[_local72].show(); _local72++; } } } else if ((_local75 % 3) == 0) { } } };
Instance of Symbol 79 MovieClip "scrollpanel" in Frame 3
onClipEvent (keyUp) { t = Key.getCode(); a = Key.getAscii(); if (a == 115) { } else if (!_root.replay) { if (keyUpAction(t)) { _root.record.push({frame:_root.frame, down:false, code:t}); } } } onClipEvent (keyDown) { if (!_root.replay) { t = Key.getCode(); if (keyDownAction(t)) { _root.record.push({frame:_root.frame, down:true, code:t}); } } if (_root.waitgo) { if (t == 32) { _root.waitgo = false; _root.gogo.gotoAndPlay(11); _root._levelscore = 0; if (_root.level == 0) { _root.help.gotoAndPlay(1); } } } } onClipEvent (load) { function keyDownAction(t) { toreturn = false; if (!_root._userdead) { if (t == 39) { if (!_root.rightDown) { _root.rightDown = true; _root._rs = 1; toreturn = true; } } else if (t == 37) { if (!_root.leftDown) { _root.leftDown = true; _root._rs = -1; toreturn = true; } } else if (t == 32) { if (!_root.spaceDown) { _root.spaceDown = true; _root._ms = 2; toreturn = true; } } } return(toreturn); } function keyUpAction(t) { toreturn = false; if (!_root._userdead) { if (t == 39) { toreturn = true; _root.rightDown = false; if (_root.leftDown) { _root._rs = -1; } else { _root._rs = 0; } } else if (t == 37) { toreturn = true; _root.leftDown = false; if (_root.rightDown) { _root._rs = 1; } else { _root._rs = 0; } } else if (t == 32) { toreturn = true; _root.spaceDown = false; _root._ms = 1; } } return(toreturn); } _root._rs = 0; _root.rightDown = false; _root.leftDown = false; }
Instance of Symbol 117 MovieClip "backb" in Frame 3
on (press) { if (!_root.gameoverbool) { _root.clearAnimLevel(); _root.gotoAndStop("intro"); } }
Instance of Symbol 119 MovieClip "avrap" in Frame 3
on (press) { if (!_root.gameoverbool) { _root.acceleration = _root.acceleration + 2; } }
Instance of Symbol 121 MovieClip "avnor" in Frame 3
on (press) { _root.acceleration = 1; }
Instance of Symbol 131 MovieClip "gogo" in Frame 3
on (press) { _root.waitgo = false; _root.gogo.gotoAndPlay(11); _root._levelscore = 0; if (_root.level == 0) { _root.help.gotoAndPlay(1); } }
Instance of Symbol 21 MovieClip "demoblink" in Frame 3
on (press) { _root.gotoAndStop("demo"); }
Frame 4
function clickOn(recordid) { endframe = 0; enterframe = 101; replay = false; if (recordid > 0) { loadDataAndPlay(recordid); } else { backscorelist = true; } } stop(); swapframe = false; backscorelist = false; welc.roue._rotation = pepereRot; var total = 10; var rayonx = 240; var rayony = 240; var centered = new Array(); var randed = new Array(); var enterframe = 0; var endframe = -1; tile0._visible = true; var i = 0; while (i < total) { centered[i] = {x:((screen.w / 2) + 5) + (rayonx * Math.sin((((i * 6) / (4 * total)) + 0.25) * Math.PI)), y:((screen.h / 2) - 40) - (rayony * Math.cos((((i * 6) / (4 * total)) + 0.25) * Math.PI))}; randed[i] = {x:(screen.w / 2) + (((rayonx + 1000) + (2000 * i)) * Math.sin(((i * 1.5) * Math.PI) / total)), y:(screen.h / 2) - (((rayony + 1000) + (2000 * i)) * Math.cos(((i * 1.5) * Math.PI) / total))}; i++; } var i = 1; while (i < total) { tile0.duplicateMovieClip("tile" + i, i); i++; } var i = 0; while (i < total) { var ran = random(total); this["tile" + i]._x = randed[i].x; this["tile" + i]._y = randed[i].y; _root["tile" + i].id = -1; _root["tile" + i].scoretext.text = "Loading..."; _root["tile" + i]._visible = true; i++; } var loading = true; var liste = new LoadVars(); liste.params = game_id; liste.start = "0"; liste.count = total + ""; liste.sendAndLoad("get_score_list.php", liste, "POST"); liste.onLoad = function () { var _local3 = 0; while (_local3 < total) { if ((Number(this["recordid_" + _local3]) + "") != "NaN") { _root["tile" + _local3].id = this["recordid_" + _local3]; if (_root["tile" + _local3].datalength == 0) { _root["tile" + _local3].id = -1; } _root["tile" + _local3].scoretext.text = (this["name_" + _local3].substr(0, 10) + newline) + this["score_" + _local3]; } else { _root["tile" + _local3].id = -1; _root["tile" + _local3].scoretext.text = "-"; } _local3++; } loading = false; }; _root.onEnterFrame = function () { if (enterframe < 100) { var _local3 = 0; while (_local3 < total) { this["tile" + _local3]._x = this["tile" + _local3]._x + ((centered[_local3].x - this["tile" + _local3]._x) * 0.2); this["tile" + _local3]._y = this["tile" + _local3]._y + ((centered[_local3].y - this["tile" + _local3]._y) * 0.2); _local3++; } enterframe++; } if (endframe >= 0) { if (endframe < 30) { var _local3 = 0; while (_local3 < total) { this["tile" + _local3]._x = this["tile" + _local3]._x + ((randed[_local3].x - this["tile" + _local3]._x) * 0.03); this["tile" + _local3]._y = this["tile" + _local3]._y + ((randed[_local3].y - this["tile" + _local3]._y) * 0.03); _local3++; } } else if (swapframe) { var _local3 = 1; while (_local3 < total) { this["tile" + _local3].removeMovieClip(); _local3++; } tile0._visible = false; stopAllSounds(); _root.levelstart = 0; _root.gotoAndStop("play"); } else if (backscorelist) { backscorelist = false; endframe = -2; enterframe = 0; } endframe++; } if (bg1._alpha > 0) { bg1._alpha = bg1._alpha - 5; } if (bg2._alpha > 0) { bg2._alpha = bg2._alpha - 5; } var _local5 = _xmouse - memoMouseX; var _local4 = _ymouse - memoMouseY; var _local7 = Math.sqrt((_local5 * _local5) + (_local4 * _local4)); var _local6 = (_local5 * oldDiffX) + (_local4 * oldDiffY); if (_local6 <= 0) { sign = -sign; } addrot = addrot + ((sign * _local7) / 20); addrot = addrot * 0.9; if (addrot > 10) { addrot = 10; } if (addrot < -10) { addrot = -10; } pepereRot = pepereRot + addrot; welc.roue._rotation = pepereRot; memoMouseX = _xmouse; memoMouseY = _ymouse; oldDiffX = _local5; oldDiffY = _local4; };
Instance of Symbol 117 MovieClip "backb" in Frame 4
on (press) { var i = 1; while (i < _root.total) { _root["tile" + i].removeMovieClip(); i++; } _root.tile0._visible = false; _root.gotoAndStop("intro"); }
Instance of Symbol 141 MovieClip "tile0" in Frame 4
on (press) { if (_root.endframe == -1) { _root.clickOn(id); } }
Symbol 142 MovieClip [__Packages.Level] Frame 0
class Level { var _levels; function Level () { _levels = Array(); _levels = [["learning1", {p:{x:312.07, y:233.66, c:1}, c:[0, 2, 3]}, {p:{x:341.57, y:234.25, c:2}, c:[0, 3, 4]}, {p:{x:327.33, y:208.41, c:2}, c:[4, 5]}, {p:{x:356.82, y:209, c:1}, c:[5, 6]}, {p:{x:342.59, y:183.16, c:1}, c:[6, 7]}, {p:{x:372.08, y:183.75, c:2}, c:[7, 8]}, {p:{x:357.84, y:157.92, c:2}, c:[8]}, {p:{x:387.34, y:158.5, c:6}, c:[]}], ["learning2", {p:{x:238.75, y:357.74, c:7}, c:[0, 6, 7]}, {p:{x:236.33, y:299.55, c:0}, c:[0, 7, 8]}, {p:{x:269.25, y:251.5, c:3}, c:[0, 8, 4]}, {p:{x:295.3, y:237.66, c:5}, c:[0, 5]}, {p:{x:324.39, y:232.75, c:4}, c:[0]}, {p:{x:253.5, y:383.29, c:6}, c:[0]}, {p:{x:232.83, y:328.84, c:1}, c:[0]}, {p:{x:248.9, y:272.86, c:2}, c:[0]}], ["newwalls1", {p:{x:191.19, y:173.72, c:-1}, c:[11]}, {p:{x:468.43, y:171.67, c:-1}, c:[7]}, {p:{x:329.25, y:217.15, c:2}, c:[4, 8]}, {p:{x:360.21, y:215.15, c:1}, c:[5]}, {p:{x:389.12, y:209.25, c:6}, c:[6]}, {p:{x:417.36, y:200.73, c:4}, c:[7]}, {p:{x:444.2, y:188.49, c:2}, c:[]}, {p:{x:299.78, y:215.91, c:1}, c:[9]}, {p:{x:270.88, y:209.99, c:6}, c:[10]}, {p:{x:242.34, y:202.14, c:4}, c:[11]}, {p:{x:215.05, y:191.06, c:2}, c:[]}], ["joerabbit", {p:{x:325, y:144.28, c:-1}, c:[2, 9, 10]}, {p:{x:324.95, y:173.78, c:2}, c:[6]}, {p:{x:325, y:232.75, c:1}, c:[0, 4, 0, 4, 5, 6]}, {p:{x:350.62, y:218.13, c:6}, c:[6, 7]}, {p:{x:299.51, y:217.9, c:4}, c:[6, 8]}, {p:{x:325.13, y:203.28, c:1}, c:[]}, {p:{x:380.12, y:218.59, c:6}, c:[]}, {p:{x:270.02, y:218.61, c:4}, c:[]}, {p:{x:347.04, y:124.67, c:2}, c:[]}, {p:{x:303.11, y:124.5, c:2}, c:[]}], ["mountains", {p:{x:326.54, y:232.76, c:7}, c:[0, 19, 2, 10, 4]}, {p:{x:355.58, y:237.96, c:0}, c:[0, 5, 10, 12]}, {p:{x:238.65, y:292.55, c:3}, c:[0, 11]}, {p:{x:308.28, y:209.59, c:5}, c:[9, 13, 19, 6]}, {p:{x:374.6, y:215.42, c:7}, c:[12, 10, 8]}, {p:{x:289.81, y:186.59, c:0}, c:[9, 18]}, {p:{x:399.03, y:269.96, c:3}, c:[0, 15, 12]}, {p:{x:364.59, y:187.67, c:5}, c:[10, 16]}, {p:{x:279.12, y:214.08, c:7}, c:[19, 14]}, {p:{x:345.56, y:210.21, c:0}, c:[13]}, {p:{x:253.3, y:266.95, c:3}, c:[14, 0, 14]}, {p:{x:384.38, y:244.36, c:5}, c:[]}, {p:{x:327.3, y:187.04, c:7}, c:[16, 18]}, {p:{x:268.19, y:241.48, c:0}, c:[19]}, {p:{x:412.62, y:296.14, c:3}, c:[0]}, {p:{x:346.33, y:164.5, c:5}, c:[17]}, {p:{x:327.87, y:141.49, c:7}, c:[18]}, {p:{x:308.85, y:164.04, c:0}, c:[]}, {p:{x:297.35, y:236.99, c:5}, c:[0]}, {p:{x:309.62, y:415.96, c:1}, c:[0, 21]}, {p:{x:339.12, y:416.16, c:1}, c:[0]}], ["the4walls", {p:{x:324.95, y:159, c:-1}, c:[]}, {p:{x:322.95, y:489.95, c:-1}, c:[]}, {p:{x:489.95, y:324, c:-1}, c:[]}, {p:{x:160, y:324, c:-1}, c:[]}, {p:{x:232.76, y:326.06, c:2}, c:[0, 6, 7]}, {p:{x:237.14, y:296.88, c:1}, c:[0]}, {p:{x:237.81, y:355.12, c:6}, c:[0]}], ["crabclaws", {p:{x:360.19, y:239.73, c:2}, c:[0, 2, 3]}, {p:{x:372.86, y:213.09, c:1}, c:[3, 4, 5]}, {p:{x:389.6, y:237.38, c:6}, c:[4]}, {p:{x:402.27, y:210.74, c:4}, c:[5, 6]}, {p:{x:385.53, y:186.45, c:5}, c:[6, 7]}, {p:{x:414.94, y:184.1, c:3}, c:[7, 8]}, {p:{x:398.2, y:159.8, c:0}, c:[8, 17, 18]}, {p:{x:427.61, y:157.46, c:7}, c:[17]}, {p:{x:261.66, y:237.44, c:0}, c:[10, 12, 11]}, {p:{x:277.91, y:212.82, c:7}, c:[11, 12, 13]}, {p:{x:291.04, y:240.09, c:2}, c:[0]}, {p:{x:248.46, y:211.09, c:1}, c:[13, 14]}, {p:{x:264.69, y:186.45, c:6}, c:[14, 15]}, {p:{x:235.24, y:184.71, c:4}, c:[15, 16]}, {p:{x:251.47, y:160.08, c:5}, c:[16, 23, 24]}, {p:{x:222.02, y:158.34, c:3}, c:[23]}, {p:{x:410.87, y:133.16, c:2}, c:[19, 18]}, {p:{x:381.46, y:135.51, c:1}, c:[20, 19, 20]}, {p:{x:394.14, y:108.87, c:6}, c:[20]}, {p:{x:364.73, y:111.22, c:4}, c:[]}, {p:{x:254.47, y:109.07, c:5}, c:[22, 23, 24]}, {p:{x:283.92, y:110.81, c:3}, c:[24]}, {p:{x:238.25, y:133.71, c:0}, c:[24]}, {p:{x:267.69, y:135.44, c:7}, c:[]}], ["easythree", {p:{x:388.3, y:164.1, c:-1}, c:[12]}, {p:{x:155.34, y:303.08, c:-1}, c:[8]}, {p:{x:422.53, y:468.92, c:-1}, c:[4]}, {p:{x:393.04, y:469.44, c:1}, c:[5]}, {p:{x:364.31, y:462.71, c:7}, c:[6]}, {p:{x:340.64, y:445.11, c:3}, c:[7]}, {p:{x:331.65, y:417.01, c:6}, c:[0]}, {p:{x:174.42, y:280.58, c:1}, c:[9]}, {p:{x:199.55, y:265.13, c:7}, c:[10]}, {p:{x:228.94, y:262.58, c:3}, c:[11]}, {p:{x:257.85, y:268.45, c:6}, c:[0]}, {p:{x:404.45, y:189.24, c:1}, c:[13]}, {p:{x:412.5, y:217.62, c:7}, c:[14]}, {p:{x:409.16, y:246.6, c:3}, c:[15]}, {p:{x:395.58, y:272.79, c:6}, c:[0]}], ["hiddenone", {p:{x:228.53, y:191.28, c:-1}, c:[2]}, {p:{x:253.99, y:176.38, c:-1}, c:[3]}, {p:{x:281.63, y:166.08, c:-1}, c:[4]}, {p:{x:310.5, y:160, c:-1}, c:[5]}, {p:{x:340, y:160, c:-1}, c:[6]}, {p:{x:369.04, y:165.19, c:-1}, c:[7]}, {p:{x:396.33, y:176.39, c:-1}, c:[8]}, {p:{x:421.42, y:191.91, c:-1}, c:[]}, {p:{x:340.01, y:233.98, c:0}, c:[0, 10]}, {p:{x:310.51, y:233.9, c:2}, c:[0]}], ["octogonal", {p:{x:218, y:217, c:-1}, c:[]}, {p:{x:430.95, y:217, c:-1}, c:[]}, {p:{x:323.95, y:175, c:-1}, c:[]}, {p:{x:474.95, y:323, c:-1}, c:[]}, {p:{x:430.95, y:429.95, c:-1}, c:[]}, {p:{x:321.95, y:473.95, c:-1}, c:[]}, {p:{x:217, y:428.95, c:-1}, c:[]}, {p:{x:174, y:323, c:-1}, c:[]}, {p:{x:359.4, y:239.41, c:2}, c:[0]}, {p:{x:239.42, y:290.57, c:1}, c:[0]}, {p:{x:289.31, y:410.07, c:6}, c:[0]}, {p:{x:410.39, y:359.9, c:4}, c:[0]}, {p:{x:360.69, y:410.07, c:5}, c:[0]}, {p:{x:410.48, y:290.32, c:3}, c:[0]}, {p:{x:290.48, y:239.45, c:0}, c:[0]}, {p:{x:238.53, y:357.13, c:7}, c:[0]}], ["aeroplane", {p:{x:417.24, y:323.79, c:4}, c:[0, 2, 3]}, {p:{x:412.14, y:294.74, c:6}, c:[0, 4]}, {p:{x:412.91, y:352.97, c:1}, c:[0, 5]}, {p:{x:398.14, y:268.78, c:2}, c:[0, 6, 7]}, {p:{x:399.58, y:379.29, c:7}, c:[0, 8, 9]}, {p:{x:376.65, y:248.56, c:0}, c:[0, 7, 21]}, {p:{x:404.9, y:240.06, c:3}, c:[13]}, {p:{x:378.63, y:400.06, c:5}, c:[0, 9, 20]}, {p:{x:407.09, y:407.82, c:2}, c:[10]}, {p:{x:406.86, y:437.32, c:1}, c:[11]}, {p:{x:406.91, y:466.82, c:6}, c:[12]}, {p:{x:406.9, y:496.32, c:4}, c:[17, 19]}, {p:{x:405.91, y:210.58, c:5}, c:[14]}, {p:{x:405.62, y:181.08, c:3}, c:[15]}, {p:{x:405.72, y:151.58, c:0}, c:[16, 18]}, {p:{x:405.7, y:122.08, c:7}, c:[18]}, {p:{x:406.9, y:525.82, c:1}, c:[19]}, {p:{x:431.26, y:136.81, c:-1}, c:[]}, {p:{x:432.45, y:511.07, c:-1}, c:[]}, {p:{x:352.19, y:413.15, c:4}, c:[0]}, {p:{x:349.88, y:236.17, c:5}, c:[0]}], ["spirality", {p:{x:259.46, y:234.4, c:2}, c:[3, 4]}, {p:{x:239.91, y:289.36, c:1}, c:[0, 3]}, {p:{x:248.3, y:261.71, c:6}, c:[]}, {p:{x:280.89, y:214.13, c:4}, c:[5]}, {p:{x:306.92, y:199.89, c:5}, c:[6]}, {p:{x:335.69, y:193.38, c:3}, c:[7]}, {p:{x:365.58, y:195.9, c:0}, c:[31]}, {p:{x:440.97, y:241.74, c:7}, c:[9, 12]}, {p:{x:421.25, y:219.34, c:2}, c:[31]}, {p:{x:476.64, y:321.1, c:1}, c:[13, 37]}, {p:{x:429.52, y:454.67, c:6}, c:[30, 33]}, {p:{x:459.13, y:264.99, c:1}, c:[13]}, {p:{x:470.34, y:292.28, c:-1}, c:[]}, {p:{x:380.44, y:487.78, c:-1}, c:[15, 30]}, {p:{x:352.56, y:497.43, c:2}, c:[16]}, {p:{x:323.36, y:501.98, c:1}, c:[17]}, {p:{x:294.04, y:498.74, c:6}, c:[18]}, {p:{x:264.91, y:494.57, c:4}, c:[19]}, {p:{x:237.78, y:483, c:5}, c:[34]}, {p:{x:149.26, y:407.53, c:-1}, c:[21, 35]}, {p:{x:135.39, y:381.07, c:2}, c:[28]}, {p:{x:116.6, y:325.35, c:6}, c:[23, 28]}, {p:{x:113.91, y:295.97, c:4}, c:[24]}, {p:{x:114.02, y:266.47, c:5}, c:[25]}, {p:{x:119.68, y:237.52, c:3}, c:[26]}, {p:{x:129.8, y:209.81, c:0}, c:[27]}, {p:{x:143.3, y:183.58, c:-1}, c:[]}, {p:{x:122.85, y:354.37, c:1}, c:[]}, {p:{x:187.37, y:452.31, c:0}, c:[34, 35]}, {p:{x:406.6, y:473.24, c:5}, c:[]}, {p:{x:394.42, y:202.1, c:3}, c:[]}, {p:{x:462.47, y:407.34, c:0}, c:[33, 36]}, {p:{x:447.53, y:431.62, c:4}, c:[]}, {p:{x:212.14, y:468.33, c:3}, c:[]}, {p:{x:166.73, y:431.3, c:7}, c:[]}, {p:{x:472.03, y:379.43, c:7}, c:[37]}, {p:{x:475.52, y:350.14, c:2}, c:[]}], ["circality", {p:{x:217.48, y:217.16, c:2}, c:[2, 32]}, {p:{x:240.93, y:199.27, c:-1}, c:[3]}, {p:{x:267.43, y:186.3, c:1}, c:[4]}, {p:{x:296.03, y:177.3, c:-1}, c:[5]}, {p:{x:325.33, y:173.84, c:6}, c:[6]}, {p:{x:355.03, y:177.09, c:-1}, c:[7]}, {p:{x:383.41, y:185.13, c:4}, c:[8]}, {p:{x:409.63, y:199.26, c:-1}, c:[9]}, {p:{x:433.23, y:216.96, c:5}, c:[10]}, {p:{x:452.13, y:240.26, c:-1}, c:[11]}, {p:{x:467.45, y:265.47, c:3}, c:[12]}, {p:{x:474.62, y:295.02, c:-1}, c:[13]}, {p:{x:477.37, y:324.39, c:0}, c:[14]}, {p:{x:473.76, y:354.19, c:-1}, c:[15]}, {p:{x:465.2, y:382.42, c:7}, c:[16]}, {p:{x:450.6, y:408.62, c:-1}, c:[17]}, {p:{x:430.61, y:430.32, c:2}, c:[18]}, {p:{x:407.17, y:448.29, c:-1}, c:[19]}, {p:{x:381.39, y:462.8, c:1}, c:[20]}, {p:{x:353.41, y:472.14, c:-1}, c:[21]}, {p:{x:324.19, y:476.19, c:6}, c:[22]}, {p:{x:294.58, y:473.86, c:-1}, c:[23]}, {p:{x:266.22, y:465.73, c:4}, c:[24]}, {p:{x:239.01, y:450.94, c:-1}, c:[25]}, {p:{x:216.43, y:431.95, c:5}, c:[26]}, {p:{x:199.64, y:407.04, c:-1}, c:[27]}, {p:{x:183.62, y:382.27, c:3}, c:[28]}, {p:{x:175.06, y:353.05, c:-1}, c:[29]}, {p:{x:172.82, y:323.63, c:0}, c:[30]}, {p:{x:177.28, y:294.22, c:-1}, c:[31]}, {p:{x:183.57, y:265.4, c:7}, c:[32]}, {p:{x:200.09, y:239.94, c:-1}, c:[]}], ["redforces", {p:{x:324.53, y:232.13, c:7}, c:[2, 3, 4, 5]}, {p:{x:353.69, y:237.32, c:0}, c:[0, 4]}, {p:{x:295.79, y:238.76, c:3}, c:[0, 5]}, {p:{x:343.65, y:209.89, c:5}, c:[6, 9]}, {p:{x:305.06, y:210.34, c:4}, c:[6, 10]}, {p:{x:325, y:187.03, c:6}, c:[10, 9, 8]}, {p:{x:324.95, y:128.03, c:1}, c:[8, 11]}, {p:{x:324.95, y:157.53, c:2}, c:[]}, {p:{x:354.12, y:182.31, c:-1}, c:[]}, {p:{x:295.88, y:182.31, c:-1}, c:[]}, {p:{x:324.95, y:98.53, c:-1}, c:[]}, {p:{x:399.54, y:270.65, c:-1}, c:[0]}, {p:{x:248.92, y:272.83, c:-1}, c:[0]}], ["squares44", {p:{x:169, y:323.95, c:2}, c:[7, 2]}, {p:{x:169, y:294.45, c:1}, c:[3]}, {p:{x:169, y:264.95, c:6}, c:[4]}, {p:{x:169, y:235.45, c:4}, c:[5]}, {p:{x:169, y:205.95, c:5}, c:[9]}, {p:{x:169, y:412.45, c:3}, c:[10, 8]}, {p:{x:167.95, y:353.43, c:0}, c:[8]}, {p:{x:169, y:382.95, c:7}, c:[]}, {p:{x:169, y:176.45, c:-1}, c:[11]}, {p:{x:169, y:441.92, c:2}, c:[12]}, {p:{x:198.46, y:174.92, c:1}, c:[15]}, {p:{x:169, y:471.42, c:-1}, c:[13]}, {p:{x:198.49, y:471.98, c:6}, c:[14]}, {p:{x:228, y:470.95, c:4}, c:[19]}, {p:{x:227.96, y:175, c:5}, c:[16]}, {p:{x:257.44, y:173.82, c:3}, c:[17]}, {p:{x:286.94, y:174.07, c:0}, c:[18]}, {p:{x:316.44, y:173.99, c:7}, c:[36]}, {p:{x:257.47, y:472.04, c:2}, c:[20]}, {p:{x:286.97, y:471.98, c:1}, c:[21]}, {p:{x:316.47, y:472.04, c:6}, c:[22]}, {p:{x:345.97, y:471.94, c:4}, c:[23]}, {p:{x:375.47, y:471.95, c:5}, c:[24]}, {p:{x:404.95, y:470.91, c:3}, c:[25]}, {p:{x:434.45, y:470.9, c:0}, c:[27]}, {p:{x:464.95, y:440.33, c:7}, c:[28, 27]}, {p:{x:463.93, y:469.81, c:-1}, c:[]}, {p:{x:464.95, y:410.83, c:2}, c:[29]}, {p:{x:465.95, y:381.76, c:1}, c:[30]}, {p:{x:465.96, y:352.26, c:6}, c:[31]}, {p:{x:465.84, y:322.76, c:4}, c:[32]}, {p:{x:467, y:293.29, c:5}, c:[33]}, {p:{x:465.95, y:263.81, c:3}, c:[34]}, {p:{x:465.99, y:234.31, c:0}, c:[35]}, {p:{x:465.11, y:204.82, c:7}, c:[40]}, {p:{x:345.94, y:174, c:2}, c:[37]}, {p:{x:375.44, y:174, c:1}, c:[38]}, {p:{x:404.92, y:172.97, c:6}, c:[39]}, {p:{x:434.4, y:173.87, c:5}, c:[40]}, {p:{x:463.86, y:175.35, c:-1}, c:[]}, {p:{x:234.06, y:340.47, c:6}, c:[0, 42, 44]}, {p:{x:233.82, y:310.97, c:4}, c:[0, 43]}, {p:{x:234.05, y:281.47, c:5}, c:[]}, {p:{x:234, y:369.97, c:3}, c:[]}, {p:{x:417.25, y:324.95, c:1}, c:[0]}], ["separated", {p:{x:350.5, y:218, c:2}, c:[3, 9, 10]}, {p:{x:299.4, y:218, c:1}, c:[4, 9, 10]}, {p:{x:350.5, y:188.5, c:7}, c:[5, 10, 11]}, {p:{x:299.4, y:188.5, c:0}, c:[6, 10, 11]}, {p:{x:350.5, y:159, c:3}, c:[7, 11, 12]}, {p:{x:299.4, y:159, c:5}, c:[8, 11, 12]}, {p:{x:350.5, y:129.5, c:4}, c:[12, 13]}, {p:{x:299.4, y:129.5, c:6}, c:[12, 13]}, {p:{x:324.95, y:232.75, c:-1}, c:[0, 10]}, {p:{x:324.95, y:203.25, c:-1}, c:[11]}, {p:{x:324.95, y:173.75, c:-1}, c:[12]}, {p:{x:324.95, y:144.25, c:-1}, c:[13]}, {p:{x:324.95, y:114.75, c:-1}, c:[]}, {p:{x:324.95, y:417.25, c:-1}, c:[0, 15]}, {p:{x:324.95, y:446.75, c:-1}, c:[16]}, {p:{x:324.95, y:476.25, c:-1}, c:[17]}, {p:{x:324.95, y:505.75, c:-1}, c:[18]}, {p:{x:324.95, y:535.25, c:-1}, c:[]}], ["finalones", {p:{x:324.95, y:232.75, c:2}, c:[0, 2]}, {p:{x:324.95, y:203.25, c:1}, c:[3]}, {p:{x:324.95, y:173.75, c:6}, c:[4]}, {p:{x:324.95, y:144.25, c:4}, c:[9]}, {p:{x:324.95, y:417.25, c:5}, c:[0, 6]}, {p:{x:324.95, y:446.75, c:3}, c:[7]}, {p:{x:324.95, y:476.25, c:0}, c:[8]}, {p:{x:324.95, y:505.75, c:7}, c:[10]}, {p:{x:324.95, y:114.75, c:-1}, c:[]}, {p:{x:324.95, y:535.25, c:-1}, c:[]}, {p:{x:244, y:183, c:-1}, c:[]}, {p:{x:404.95, y:183, c:-1}, c:[]}, {p:{x:244, y:464.95, c:-1}, c:[]}, {p:{x:404.95, y:465.95, c:-1}, c:[]}, {p:{x:88, y:324.95, c:-1}, c:[]}, {p:{x:562.95, y:324.95, c:-1}, c:[]}]]; } function loadLevel(l) { var _local12 = _root.groundBalls.length - 1; while (_local12 > 0) { _root.groundBalls[1].die(); _root.delJoins(_root.groundBalls[1]._id); _root.delGroundNode(_root.groundBalls[1]); _local12--; } Node.gid = 1; var _local13 = _levels[l]; _root.levelnametxt = _local13[0]; _root.nbWall = 0; _local12 = 1; while (_local12 < _local13.length) { var _local20 = _local13[_local12]; if (_local20.p.c == -1) { _root.nbWall++; } var _local15 = _root.scrollpanel["color" + _local20.p.c]; var _local3 = _root.getFreeLayer(); _local15.duplicateMovieClip("ball_" + _local3, _local3); _local15.cacheAsBitmap = true; _root.layers[_local3].clip = _root.scrollpanel["ball_" + _local3]; _root.layers[_local3].free = false; var _local5 = new Node(_root.scrollpanel["ball_" + _local3], _local20.p.x, _local20.p.y, 0, _local3, _local20.p.c); var _local10 = {x:_local5._x - _root.scrollpanel.roue._x, y:_local5._y - _root.scrollpanel.roue._y}; var _local17 = _root.getPolaire(_local10); _local5._rWheel = _local17.d; _local5._rotWheel = _local17.a - ((_root.wheelRot * Math.PI) / 180); _root.groundBalls.push(_local5); _local12++; } _local12 = 1; while (_local12 < _local13.length) { var _local20 = _local13[_local12]; var _local5 = _root.groundBalls[_local12]; var _local11 = _local20.c; var _local7 = 0; while (_local7 < _local11.length) { var _local4 = _root.groundBalls[_local11[_local7]]; if ((_local4._color != -1) && (_local5._color != -1)) { var _local6 = {_x:(_local5._x + _local4._x) / 2, _y:(_local5._y + _local4._y) / 2}; var _local10 = {x:_local6._x - _root.scrollpanel.roue._x, y:_local6._y - _root.scrollpanel.roue._y}; var _local9 = _root.getPolaire(_local10); var _local3 = _root.getFreeLayerMin(500); _root.scrollpanel.joint.duplicateMovieClip("joint_" + _local3, _local3); _root.layers[_local3].clip = _root.scrollpanel["joint_" + _local3]; _root.layers[_local3].free = false; var _local8 = new Join(_root.scrollpanel["joint_" + _local3], _local6._x, _local6._y, 0, _local3, _local5, _local4); _root.joins.push(_local8); _local8._rWheel = _local9.d; _local8._rotWheel = _local9.a - ((_root.wheelRot * Math.PI) / 180); } _local5.newContactNode(_local4); _local4.newContactNode(_local5); _local7++; } _local12++; } _root.setColorSet(); } function levelString() { var _local5 = ("[\"" + _root.levelname.text) + "\","; var _local6 = 1; while (_local6 < _root.groundBalls.length) { var _local2 = _root.groundBalls[_local6]; if (_local6 > 1) { _local5 = _local5 + ","; } _local5 = _local5 + (((((("{p:{x:" + (Math.round(_local2._x * 100) / 100)) + ",y:") + (Math.round(_local2._y * 100) / 100)) + ",c:") + _local2._color) + "},c:["); var _local7 = true; var _local3 = 0; while (_local3 < _local2._contactNodes.length) { var _local4 = _local2._contactNodes[_local3]; if ((_local4._id == 0) || (_local4._id > _local2._id)) { if (!_local7) { _local5 = _local5 + ","; } else { _local7 = false; } _local5 = _local5 + ("" + _local4._id); } _local3++; } _local5 = _local5 + "]}"; _local6++; } _local5 = _local5 + "]"; return(_local5); } }
Symbol 143 MovieClip [__Packages.Node] Frame 0
class Node { static var gid; var _layer, _clip, _x, _y, _rot, _xM, _yM, _rotM, _contactNodes; function Node (clip, x, y, rotation, l, c) { _layer = l; _color = c; _clip = clip; _x = x; _y = y; _rot = rotation; _xM = _x; _yM = _y; _rotM = _rot; _contactNodes = new Array(); if ((gid + "") == "undefined") { gid = 0; } _id = gid++; } function show() { _clip._x = _x; _clip._y = _y; _clip._visible = true; } function hide() { _clip._visible = false; } function wheelMove(newRot) { var _local3 = (newRot * Math.PI) / 180; if (_color == -1) { _rot = newRot; } _x = _root.scrollpanel.roue._x + (_rWheel * Math.cos(_rotWheel + _local3)); _y = _root.scrollpanel.roue._y + (_rWheel * Math.sin(_rotWheel + _local3)); } function back() { _x = _xM; _y = _yM; _rot = _rotM; } function memo() { _xM = _x; _yM = _y; _rotM = _rot; } function inContactWheel() { return(_contactWheel); } function attachWheel() { if (!inContactWheel()) { _contactWheel = true; var _local2 = 0; while (_local2 < _contactNodes.length) { _contactNodes[_local2].attachWheel(); _local2++; } } } function newContactNode(n) { _contactNodes.push(n); if (n.inContactWheel()) { attachWheel(); } } function deleteNode(n) { var _local2 = 0; while (_local2 < _contactNodes.length) { if (n._id == _contactNodes[_local2]._id) { _contactNodes.splice(_local2, 1); break; } _local2++; } } function getAllNodesExcept(n, traces) { var _local7 = new Array(); _local7.push(this); var _local2 = 0; while (_local2 < n.length) { _local2++; } n.push(this); var _local3 = 0; while (_local3 < _contactNodes.length) { var _local6 = false; _local2 = 0; while (_local2 < n.length) { if (n[_local2]._id == _contactNodes[_local3]._id) { _local6 = true; break; } _local2++; } if (!_local6) { if (_contactNodes[_local3]._color != -1) { var _local5 = _contactNodes[_local3].getAllNodesExcept(n, traces + " "); _local2 = 0; while (_local2 < _local5.length) { _local7.push(_local5[_local2]); _local2++; } } else { _local7.push(_contactNodes[_local3]); } } _local3++; } return(_local7); } function getAllColorNodesExcept(n, c) { var _local7 = new Array(); if (_color == c) { _local7.push(this); } var _local3 = 0; while (_local3 < _contactNodes.length) { var _local6 = false; var _local2 = 0; while (_local2 < n.length) { if (n[_local2]._id == _contactNodes[_local3]._id) { _local6 = true; break; } _local2++; } if ((!_local6) && (_contactNodes[_local3]._color == c)) { n.push(_contactNodes[_local3]); var _local5 = _contactNodes[_local3].getAllColorNodesExcept(n, c); _local2 = 0; while (_local2 < _local5.length) { _local7.push(_local5[_local2]); _local2++; } } _local3++; } return(_local7); } function delTriangle() { if (_triangle != -1) { _triangle.gotoAndPlay(6); _triangle = -1; } } function maybeDelTriangle() { if (_triangle != -1) { var _local3 = {x:_x - _root.scrollpanel.roue._x, y:_y - _root.scrollpanel.roue._y}; var _local4 = Math.pow(_local3.x, 2) + Math.pow(_local3.y, 2); if (_local4 < Math.pow(_root.distgameover, 2)) { delTriangle(); } } } function posTriangle(r) { _triangle._x = _root.scrollpanel.roue._x + (r * Math.cos(_rotWheel)); _triangle._y = _root.scrollpanel.roue._y + (r * Math.sin(_rotWheel)); _triangle._rotation = (_rotWheel * 180) / Math.PI; } function die() { _clip.removeMovieClip(); var _local3 = 0; while (_local3 < _contactNodes.length) { _contactNodes[_local3].deleteNode(this); _local3++; } _root.scrollpanel.explo.duplicateMovieClip("explo_" + _layer, _layer); _root.layers[_layer].clip = _root.scrollpanel["explo_" + _layer]; _root.layers[_layer].clip._layer = _layer; _root.layers[_layer].clip._x = _x; _root.layers[_layer].clip._y = _y; if (_triangle != -1) { delTriangle(); } } function updateJoinPos() { _join.updatePos(); } var _contactWheel = false; var _rotWheel = 0; var _rWheel = 0; var _R = 14.75; var _RQ = 870; var _color = -1; var _join = -1; var _triangle = -1; var _stickfly = -1; var _stickground = -1; var _id = 0; var _groupid = -1; }
Symbol 144 MovieClip [__Packages.Join] Frame 0
class Join { var _layer, _n1, _n2, _clip, _x, _y, _rot, _xM, _yM, _rotM; function Join (clip, x, y, rotation, l, n1, n2) { _layer = l; _n1 = n1; _n2 = n2; _clip = clip; _x = x; _y = y; _rot = rotation; _xM = _x; _yM = _y; _rotM = _rot; } function show() { _clip._x = _x; _clip._y = _y; _clip._rotation = _rot; _clip._visible = true; } function hide() { _clip._visible = false; } function wheelMove(newRot) { if (_rWheel != false) { var _local3 = (newRot * Math.PI) / 180; _x = _root.scrollpanel.roue._x + (_rWheel * Math.cos(_rotWheel + _local3)); _y = _root.scrollpanel.roue._y + (_rWheel * Math.sin(_rotWheel + _local3)); } } function back() { _x = _xM; _y = _yM; _rot = _rotM; } function memo() { _xM = _x; _yM = _y; _rotM = _rot; } function die() { _clip.removeMovieClip(); _root.layers[_layer].free = true; } function updatePos() { _x = (_n1._x + _n2._x) / 2; _y = (_n1._y + _n2._y) / 2; } var _index = -1; var _rotWheel = 0; var _rWheel = false; }
Symbol 145 MovieClip [__Packages.NodeGroup] Frame 0
class NodeGroup { var _speed, _nodeList, _x, _y, _speedS; function NodeGroup (n, gid) { _speed = {x:0, y:0}; _nodeList = new Array(); _nodeList.push(n); _x = n._x; _y = n._y; _groupid = gid; } function setGroupId(gid) { _groupid = gid; var _local2 = 0; while (_local2 < _nodeList.length) { _nodeList[_local2]._groupid = gid; _local2++; } } function memo() { var _local2 = 0; while (_local2 < _nodeList.length) { _nodeList[_local2].memo(); _local2++; } } function move() { var _local3 = 0; while (_local3 < _nodeList.length) { _nodeList[_local3]._x = _nodeList[_local3]._x + (_speed.x * _root._ms); _nodeList[_local3]._y = _nodeList[_local3]._y + (_speed.y * _root._ms); _nodeList[_local3].maybeDelTriangle(); _local3++; } } function show() { var _local2 = 0; while (_local2 < _nodeList.length) { _nodeList[_local2].show(); _local2++; } } function addGroup(g) { var _local4 = _nodeList.length + g._nodeList.length; _x = ((_nodeList.length * _x) + (g._nodeList.length * g._x)) / _local4; _y = ((_nodeList.length * _y) + (g._nodeList.length * g._y)) / _local4; _speed.x = ((_nodeList.length * _speed.x) + (g._nodeList.length * g._speed.x)) / _local4; _speed.y = ((_nodeList.length * _speed.y) + (g._nodeList.length * g._speed.y)) / _local4; var _local2 = 0; while (_local2 < g._nodeList.length) { _nodeList.push(g._nodeList[_local2]); _local2++; } } function addNode(n) { _nodeList.push(n); _x = (((_nodeList.length - 1) * _x) + n._x) / _nodeList.length; _y = (((_nodeList.length - 1) * _y) + n._y) / _nodeList.length; } function computeNewSpeed() { computeSpeed(_speedS); } function computeSpeed(s) { _speedS = s; var _local3 = {x:_root.scrollpanel.roue._x - _x, y:_root.scrollpanel.roue._y - _y}; var _local4 = s / Math.sqrt(Math.pow(_local3.x, 2) + Math.pow(_local3.y, 2)); _speed = {x:_local3.x * _local4, y:_local3.y * _local4}; } function mconstraint(n) { var _local9 = n._join; var _local4 = _local9._n1; if (_local4._id == n._id) { _local4 = _local9._n2; } var _local5 = {x:n._xM - _local4._xM, y:n._yM - _local4._yM}; var _local7 = Math.sqrt(Math.pow(_local5.x, 2) + Math.pow(_local5.y, 2)); var _local10 = n._R + _local4._R; var _local8 = (_local10 - _local7) / _local7; var _local3 = {x:_local5.x * _local8, y:_local5.y * _local8}; var _local2 = 0; while (_local2 < _nodeList.length) { _nodeList[_local2]._xM = _nodeList[_local2]._xM + _local3.x; _nodeList[_local2]._yM = _nodeList[_local2]._yM + _local3.y; _local2++; } } function constraint(n) { var _local9 = n._join; var _local4 = _local9._n1; if (_local4._id == n._id) { _local4 = _local9._n2; } var _local5 = {x:n._x - _local4._x, y:n._y - _local4._y}; var _local7 = Math.sqrt(Math.pow(_local5.x, 2) + Math.pow(_local5.y, 2)); var _local10 = n._R + _local4._R; var _local8 = (_local10 - _local7) / _local7; var _local3 = {x:_local5.x * _local8, y:_local5.y * _local8}; var _local2 = 0; while (_local2 < _nodeList.length) { _nodeList[_local2]._x = _nodeList[_local2]._x + _local3.x; _nodeList[_local2]._y = _nodeList[_local2]._y + _local3.y; _local2++; } } var _groupid = -1; var _R = 0; var _RQ = 0; }
Symbol 146 MovieClip [__Packages.Figure] Frame 0
class Figure { var _startframe; function Figure () { _startframe = -1; } function startFigure(f) { _startframe = f; } function step(f, l) { newBall({x:_root.scrollpanel.roue._x, y:0}, {x:0, y:1}, (f + l) % 8); stopFigure(); } function newBall(p, s, c) { var _local12 = _root.getFreeLayer(); _root.scrollpanel["color" + c].duplicateMovieClip("ball_" + _local12, _local12); _root.scrollpanel["ball_" + _local12].cacheAsBitmap = true; _root.layers[_local12].clip = _root.scrollpanel["ball_" + _local12]; _root.layers[_local12].free = false; var _local5 = new Node(_root.scrollpanel["ball_" + _local12], p.x, p.y, 0, _local12, c); var _local15 = {x:_local5._x - _root.scrollpanel.roue._x, y:_local5._y - _root.scrollpanel.roue._y}; var _local16 = _root.getPolaire(_local15); _local5._rotWheel = _local16.a; var _local13 = _root.getFreeLayerMin(500); _root.scrollpanel["arrow" + c].duplicateMovieClip("arrow_" + _local13, _local13); _root.layers[_local13].clip = _root.scrollpanel["arrow_" + _local13]; _root.layers[_local13].clip._layer = _local13; _root.layers[_local13].free = false; _local5._triangle = _root.layers[_local13].clip; _local5.posTriangle(_root.distgameover); _root.newSkyGroup(_local5, s); _root.scrollpanel["nextcolor" + _root.oldnextcolor]._alpha = 0; _root.scrollpanel["nnextcolor" + _root.oldnnextcolor]._alpha = 0; _root.oldnextcolor = _root.nextcolor; _root.oldnnextcolor = _root.nnextcolor; _root.nextcolor = _root.nnextcolor; if (_root.colorset.length > 0) { _root.nnextcolor = _root.colorset[(_root.frame * 15485863) % _root.colorset.length]; } else { _root.nnextcolor = (_root.frame % 23) % 8; } var _local7 = 0; while (_local7 < _root.stickGroups.length) { var _local8 = _root.stickGroups[_local7].g; var _local9 = _local8._nodeList.length; var _local2 = 0; while (_local2 < _local9) { var _local4 = _local8._nodeList[_local2]; var _local3 = {x:_local4._x - _local5._x, y:_local4._y - _local5._y}; var _local6 = Math.pow(_local3.x, 2) + Math.pow(_local3.y, 2); if (_local6 < _local5._RQ) { _root.gameover(); } _local2++; } _local7++; } } function stopFigure() { _startframe = -1; } function isOver() { if (_startframe == -1) { return(true); } return(false); } }
Symbol 147 MovieClip [__Packages.FOne] Frame 0
class FOne extends Figure { var _startframe, _nbBallSentMax, _angle, _nbBall, newBall, stopFigure; function FOne (bsm, as, nb) { super(); _startframe = -1; _nbBallSentMax = bsm; _angle = as; _nbBall = nb; } function step(f, l) { if (((f - _startframe) % _period) == 0) { var _local9; if (_angle == -1) { _local9 = (_startframe % _nbBallSentMax) + _nbBallSent; } else { _local9 = _angle + _nbBallSent; } var _local10 = 1 + (2 / (1 + _root.skyGroups.length)); var _local4 = {x:Math.cos(((_local9 * 2) * Math.PI) / _nbBallSentMax), y:Math.sin(((_local9 * 2) * Math.PI) / _nbBallSentMax)}; var _local8 = {x:_local4.x * _local10, y:_local4.y * _local10}; var _local3 = 0; while (_local3 < _nbBall) { var _local5 = {x:((((-_local4.y) * 40) * _local3) + _root.scrollpanel.roue._x) - (_local4.x * (_root.scrollpanel.roue._x + 150)), y:(((_local4.x * 40) * _local3) + _root.scrollpanel.roue._y) - (_local4.y * (_root.scrollpanel.roue._y + 150))}; newBall(_local5, _local8, _root.nextcolor); _local3++; } _nbBallSent++; if (_nbBallSent >= _nbBallSentMax) { _nbBallSent = 0; stopFigure(); } } } var _period = 30; var _nbBallSent = 0; }
Symbol 10 MovieClip Frame 1
stop(); var mouseover = false; var scale = 0; onRollOut = function () { mouseover = false; }; onRollOver = function () { mouseover = true; }; onEnterFrame = function () { if (mouseover) { scale = scale + ((20 - scale) * 0.2); _xscale = (100 + scale); _yscale = (100 + scale); } else { scale = scale + ((-scale) * 0.2); _xscale = (100 + scale); _yscale = (100 + scale); } };
Instance of Symbol 10 MovieClip in Symbol 13 MovieClip Frame 1
on (press) { _root.levelSound.stop(); _root.levelstart = 0; _root.gotoAndStop("play"); }
Symbol 15 MovieClip Frame 1
stop(); var mouseover = false; var scale = 0; onRollOut = function () { mouseover = false; }; onRollOver = function () { mouseover = true; }; onEnterFrame = function () { if (mouseover) { scale = scale + ((20 - scale) * 0.2); _xscale = (100 + scale); _yscale = (100 + scale); } else { scale = scale + ((-scale) * 0.2); _xscale = (100 + scale); _yscale = (100 + scale); } };
Symbol 17 MovieClip Frame 1
stop(); var mouseover = false; var scale = 0; onRollOut = function () { mouseover = false; }; onRollOver = function () { mouseover = true; }; onEnterFrame = function () { if (mouseover) { scale = scale + ((20 - scale) * 0.2); _xscale = (100 + scale); _yscale = (100 + scale); } else { scale = scale + ((-scale) * 0.2); _xscale = (100 + scale); _yscale = (100 + scale); } };
Symbol 19 MovieClip Frame 1
stop(); var mouseover = false; var scale = 0; onRollOut = function () { mouseover = false; }; onRollOver = function () { mouseover = true; }; onEnterFrame = function () { if (mouseover) { scale = scale + ((20 - scale) * 0.2); _xscale = (100 + scale); _yscale = (100 + scale); } else { scale = scale + ((-scale) * 0.2); _xscale = (100 + scale); _yscale = (100 + scale); } };
Symbol 21 MovieClip Frame 1
stop(); var mouseover = false; var scale = 0; onRollOut = function () { mouseover = false; }; onRollOver = function () { mouseover = true; }; onEnterFrame = function () { if (mouseover) { scale = scale + ((20 - scale) * 0.2); _xscale = (100 + scale); _yscale = (100 + scale); } else { scale = scale + ((-scale) * 0.2); _xscale = (100 + scale); _yscale = (100 + scale); } };
Symbol 25 MovieClip Frame 1
stop(); var mouseover = false; var scale = 0; onRollOut = function () { mouseover = false; }; onRollOver = function () { mouseover = true; }; onEnterFrame = function () { if (mouseover) { scale = scale + ((20 - scale) * 0.2); _xscale = (100 + scale); _yscale = (100 + scale); } else { scale = scale + ((-scale) * 0.2); _xscale = (100 + scale); _yscale = (100 + scale); } };
Symbol 31 MovieClip Frame 1
stop(); _root.levelSound.setVolume(100); _root.exploSound.setVolume(100); _root.prelockSound.setVolume(100); _root.lockSound.setVolume(100);
Symbol 31 MovieClip Frame 2
stop(); _root.levelSound.setVolume(0); _root.exploSound.setVolume(0); _root.prelockSound.setVolume(0); _root.lockSound.setVolume(0);
Symbol 70 MovieClip Frame 17
_root.layers[_layer].free = true; stop();
Symbol 76 MovieClip Frame 5
stop();
Symbol 76 MovieClip Frame 13
_visible = false; _root.layers[_layer].free = true; stop();
Symbol 84 MovieClip Frame 1
stop();
Symbol 117 MovieClip Frame 1
stop(); var mouseover = false; var scale = 0; onRollOut = function () { mouseover = false; }; onRollOver = function () { mouseover = true; }; onEnterFrame = function () { if (mouseover) { scale = scale + ((20 - scale) * 0.2); _xscale = (100 + scale); _yscale = (100 + scale); } else { scale = scale + ((-scale) * 0.2); _xscale = (100 + scale); _yscale = (100 + scale); } };
Symbol 131 MovieClip Frame 1
var mouseover = false; var scale = 0; onRollOut = function () { mouseover = false; }; onRollOver = function () { mouseover = true; }; if (hitTest(_root._xmouse, _root._ymouse, true)) { mouseover = true; } else { mouseover = false; } onEnterFrame = function () { if (mouseover) { scale = scale + ((20 - scale) * 0.2); _xscale = (100 + scale); _yscale = (100 + scale); } else { scale = scale + ((-scale) * 0.2); _xscale = (100 + scale); _yscale = (100 + scale); } };
Symbol 131 MovieClip Frame 10
stop(); if (_root._levelscore > 0) { scoretext.text = (("level " + _root._levelscore) + "\ntotal ") + _root._score; } else { scoretext.text = ""; } leveltext.text = _root.levelnametxt;
Symbol 131 MovieClip Frame 15
_visible = false; stop();
Symbol 136 MovieClip Frame 1
stop();
Symbol 141 MovieClip Frame 1
stop(); var id = -1; var mouseover = false; var scale = 0; onRollOut = function () { mouseover = false; }; onRollOver = function () { mouseover = true; }; onEnterFrame = function () { if (mouseover) { scale = scale + ((80 - scale) * 0.2); rond._xscale = 100 + scale; rond._yscale = 100 + scale; } else { scale = scale + ((-scale) * 0.2); rond._xscale = 100 + scale; rond._yscale = 100 + scale; } };

Library Items

Symbol 1 Sound [ExploSound]
Symbol 2 Sound [PrelockSound]
Symbol 3 Sound [LockSound]
Symbol 4 Sound [LevelSound]
Symbol 142 MovieClip [__Packages.Level]
Symbol 143 MovieClip [__Packages.Node]
Symbol 144 MovieClip [__Packages.Join]
Symbol 145 MovieClip [__Packages.NodeGroup]
Symbol 146 MovieClip [__Packages.Figure]
Symbol 147 MovieClip [__Packages.FOne]
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClipUses:5Used by:Timeline
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClipUses:7Used by:13 79
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClipUses:9Used by:13
Symbol 11 FontUsed by:12 27
Symbol 12 TextUses:11Used by:13
Symbol 13 MovieClipUses:8 10 12Used by:Timeline
Symbol 14 GraphicUsed by:15
Symbol 15 MovieClipUses:14Used by:Timeline
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClipUses:16Used by:Timeline
Symbol 18 GraphicUsed by:19
Symbol 19 MovieClipUses:18Used by:Timeline
Symbol 20 GraphicUsed by:21
Symbol 21 MovieClipUses:20Used by:Timeline
Symbol 22 GraphicUsed by:25
Symbol 23 FontUsed by:24
Symbol 24 TextUses:23Used by:25
Symbol 25 MovieClipUses:22 24Used by:Timeline
Symbol 26 GraphicUsed by:Timeline
Symbol 27 TextUses:11Used by:Timeline
Symbol 28 GraphicUsed by:31
Symbol 29 GraphicUsed by:31
Symbol 30 GraphicUsed by:31
Symbol 31 MovieClipUses:28 29 30Used by:Timeline
Symbol 32 GraphicUsed by:47
Symbol 33 GraphicUsed by:34
Symbol 34 MovieClipUses:33Used by:37
Symbol 35 GraphicUsed by:36
Symbol 36 MovieClipUses:35Used by:37
Symbol 37 MovieClipUses:34 36Used by:47
Symbol 38 FontUsed by:39 40 41 42 43 44 45 126 127 128 130 132 134
Symbol 39 TextUses:38Used by:46
Symbol 40 TextUses:38Used by:46
Symbol 41 TextUses:38Used by:46
Symbol 42 TextUses:38Used by:46
Symbol 43 TextUses:38Used by:46
Symbol 44 TextUses:38Used by:46
Symbol 45 TextUses:38Used by:46
Symbol 46 MovieClipUses:39 40 41 42 43 44 45Used by:47
Symbol 47 MovieClipUses:32 37 46Used by:Timeline
Symbol 48 GraphicUsed by:49
Symbol 49 MovieClipUses:48Used by:79
Symbol 50 GraphicUsed by:51
Symbol 51 MovieClipUses:50Used by:79
Symbol 52 GraphicUsed by:53
Symbol 53 MovieClipUses:52Used by:79
Symbol 54 GraphicUsed by:55
Symbol 55 MovieClipUses:54Used by:79
Symbol 56 GraphicUsed by:57
Symbol 57 MovieClipUses:56Used by:79
Symbol 58 GraphicUsed by:59
Symbol 59 MovieClipUses:58Used by:79
Symbol 60 GraphicUsed by:61
Symbol 61 MovieClipUses:60Used by:79
Symbol 62 GraphicUsed by:63
Symbol 63 MovieClipUses:62Used by:79
Symbol 64 GraphicUsed by:65
Symbol 65 MovieClipUses:64Used by:79
Symbol 66 GraphicUsed by:67
Symbol 67 MovieClipUses:66Used by:70
Symbol 68 GraphicUsed by:69
Symbol 69 MovieClipUses:68Used by:70 79
Symbol 70 MovieClipUses:67 69Used by:79
Symbol 71 GraphicUsed by:72
Symbol 72 MovieClipUses:71Used by:79
Symbol 73 ShapeTweeningUsed by:76
Symbol 74 ShapeTweeningUsed by:76
Symbol 75 GraphicUsed by:76
Symbol 76 MovieClipUses:73 74 75Used by:79
Symbol 77 GraphicUsed by:78
Symbol 78 MovieClipUses:77Used by:79
Symbol 79 MovieClipUses:49 51 53 55 57 59 61 63 8 65 70 69 72 76 78Used by:Timeline
Symbol 80 ShapeTweeningUsed by:84
Symbol 81 ShapeTweeningUsed by:84
Symbol 82 ShapeTweeningUsed by:84
Symbol 83 GraphicUsed by:84
Symbol 84 MovieClipUses:80 81 82 83Used by:Timeline
Symbol 85 GraphicUsed by:Timeline
Symbol 86 GraphicUsed by:87
Symbol 87 MovieClipUses:86Used by:Timeline
Symbol 88 GraphicUsed by:89
Symbol 89 MovieClipUses:88Used by:Timeline
Symbol 90 GraphicUsed by:91
Symbol 91 MovieClipUses:90Used by:Timeline
Symbol 92 GraphicUsed by:93
Symbol 93 MovieClipUses:92Used by:Timeline
Symbol 94 GraphicUsed by:95
Symbol 95 MovieClipUses:94Used by:Timeline
Symbol 96 GraphicUsed by:97
Symbol 97 MovieClipUses:96Used by:Timeline
Symbol 98 GraphicUsed by:99
Symbol 99 MovieClipUses:98Used by:Timeline
Symbol 100 GraphicUsed by:101
Symbol 101 MovieClipUses:100Used by:Timeline
Symbol 102 GraphicUsed by:103
Symbol 103 MovieClipUses:102Used by:Timeline
Symbol 104 GraphicUsed by:105
Symbol 105 MovieClipUses:104Used by:Timeline
Symbol 106 GraphicUsed by:107
Symbol 107 MovieClipUses:106Used by:Timeline
Symbol 108 GraphicUsed by:109
Symbol 109 MovieClipUses:108Used by:Timeline
Symbol 110 GraphicUsed by:111
Symbol 111 MovieClipUses:110Used by:Timeline
Symbol 112 GraphicUsed by:113
Symbol 113 MovieClipUses:112Used by:Timeline
Symbol 114 GraphicUsed by:115
Symbol 115 MovieClipUses:114Used by:Timeline
Symbol 116 GraphicUsed by:117
Symbol 117 MovieClipUses:116Used by:Timeline
Symbol 118 GraphicUsed by:119
Symbol 119 MovieClipUses:118Used by:Timeline
Symbol 120 GraphicUsed by:121
Symbol 121 MovieClipUses:120Used by:Timeline
Symbol 122 ShapeTweeningUsed by:131
Symbol 123 ShapeTweeningUsed by:131
Symbol 124 ShapeTweeningUsed by:131
Symbol 125 GraphicUsed by:131
Symbol 126 EditableTextUses:38Used by:131
Symbol 127 EditableTextUses:38Used by:131
Symbol 128 TextUses:38Used by:131
Symbol 129 GraphicUsed by:131
Symbol 130 EditableTextUses:38Used by:131
Symbol 131 MovieClipUses:122 123 124 125 126 127 128 129 130Used by:Timeline
Symbol 132 EditableTextUses:38Used by:133
Symbol 133 MovieClipUses:132Used by:Timeline
Symbol 134 TextUses:38Used by:135
Symbol 135 MovieClipUses:134Used by:136
Symbol 136 MovieClipUses:135Used by:Timeline
Symbol 137 GraphicUsed by:138
Symbol 138 MovieClipUses:137Used by:141
Symbol 139 FontUsed by:140
Symbol 140 EditableTextUses:139Used by:141
Symbol 141 MovieClipUses:138 140Used by:Timeline

Instance Names

"welc"Frame 2Symbol 13 MovieClip
"highb"Frame 2Symbol 19 MovieClip
"demob"Frame 2Symbol 21 MovieClip
"ringb"Frame 2Symbol 25 MovieClip
"muter"Frame 2Symbol 31 MovieClip
"scrollpanel"Frame 3Symbol 79 MovieClip
"diaph"Frame 3Symbol 84 MovieClip
"l1"Frame 3Symbol 87 MovieClip
"e1"Frame 3Symbol 89 MovieClip
"v"Frame 3Symbol 91 MovieClip
"l2"Frame 3Symbol 87 MovieClip
"e2"Frame 3Symbol 89 MovieClip
"c0"Frame 3Symbol 93 MovieClip
"c1"Frame 3Symbol 95 MovieClip
"c2"Frame 3Symbol 97 MovieClip
"c3"Frame 3Symbol 99 MovieClip
"c4"Frame 3Symbol 101 MovieClip
"c5"Frame 3Symbol 103 MovieClip
"c6"Frame 3Symbol 105 MovieClip
"c7"Frame 3Symbol 107 MovieClip
"c8"Frame 3Symbol 109 MovieClip
"c9"Frame 3Symbol 111 MovieClip
"b0"Frame 3Symbol 113 MovieClip
"b1"Frame 3Symbol 113 MovieClip
"b2"Frame 3Symbol 115 MovieClip
"b3"Frame 3Symbol 115 MovieClip
"backb"Frame 3Symbol 117 MovieClip
"avrap"Frame 3Symbol 119 MovieClip
"avnor"Frame 3Symbol 121 MovieClip
"gogo"Frame 3Symbol 131 MovieClip
"demoblink"Frame 3Symbol 21 MovieClip
"message"Frame 3Symbol 133 MovieClip
"help"Frame 3Symbol 136 MovieClip
"welc"Frame 4Symbol 13 MovieClip
"backb"Frame 4Symbol 117 MovieClip
"tile0"Frame 4Symbol 141 MovieClip
"roue"Symbol 13 MovieClip Frame 1Symbol 8 MovieClip
"nnextcolor2"Symbol 79 MovieClip Frame 1Symbol 49 MovieClip
"nnextcolor6"Symbol 79 MovieClip Frame 1Symbol 51 MovieClip
"nnextcolor4"Symbol 79 MovieClip Frame 1Symbol 53 MovieClip
"nnextcolor5"Symbol 79 MovieClip Frame 1Symbol 55 MovieClip
"nnextcolor7"Symbol 79 MovieClip Frame 1Symbol 57 MovieClip
"nnextcolor1"Symbol 79 MovieClip Frame 1Symbol 59 MovieClip
"nnextcolor0"Symbol 79 MovieClip Frame 1Symbol 61 MovieClip
"nnextcolor3"Symbol 79 MovieClip Frame 1Symbol 63 MovieClip
"nextcolor2"Symbol 79 MovieClip Frame 1Symbol 49 MovieClip
"nextcolor6"Symbol 79 MovieClip Frame 1Symbol 51 MovieClip
"nextcolor4"Symbol 79 MovieClip Frame 1Symbol 53 MovieClip
"nextcolor5"Symbol 79 MovieClip Frame 1Symbol 55 MovieClip
"nextcolor7"Symbol 79 MovieClip Frame 1Symbol 57 MovieClip
"nextcolor1"Symbol 79 MovieClip Frame 1Symbol 59 MovieClip
"nextcolor0"Symbol 79 MovieClip Frame 1Symbol 61 MovieClip
"nextcolor3"Symbol 79 MovieClip Frame 1Symbol 63 MovieClip
"joker"Symbol 79 MovieClip Frame 1Symbol 8 MovieClip
"roue"Symbol 79 MovieClip Frame 1Symbol 65 MovieClip
"color1"Symbol 79 MovieClip Frame 1Symbol 59 MovieClip
"explo"Symbol 79 MovieClip Frame 1Symbol 70 MovieClip
"color0"Symbol 79 MovieClip Frame 1Symbol 61 MovieClip
"color3"Symbol 79 MovieClip Frame 1Symbol 63 MovieClip
"color2"Symbol 79 MovieClip Frame 1Symbol 49 MovieClip
"color6"Symbol 79 MovieClip Frame 1Symbol 51 MovieClip
"color4"Symbol 79 MovieClip Frame 1Symbol 53 MovieClip
"color5"Symbol 79 MovieClip Frame 1Symbol 55 MovieClip
"color7"Symbol 79 MovieClip Frame 1Symbol 57 MovieClip
"joint"Symbol 79 MovieClip Frame 1Symbol 69 MovieClip
"color-1"Symbol 79 MovieClip Frame 1Symbol 72 MovieClip
"arrow0"Symbol 79 MovieClip Frame 1Symbol 76 MovieClip
"arrow1"Symbol 79 MovieClip Frame 1Symbol 76 MovieClip
"arrow2"Symbol 79 MovieClip Frame 1Symbol 76 MovieClip
"arrow3"Symbol 79 MovieClip Frame 1Symbol 76 MovieClip
"arrow4"Symbol 79 MovieClip Frame 1Symbol 76 MovieClip
"arrow6"Symbol 79 MovieClip Frame 1Symbol 76 MovieClip
"arrow5"Symbol 79 MovieClip Frame 1Symbol 76 MovieClip
"arrow7"Symbol 79 MovieClip Frame 1Symbol 76 MovieClip
"scoretext"Symbol 131 MovieClip Frame 10Symbol 126 EditableText
"leveltext"Symbol 131 MovieClip Frame 10Symbol 127 EditableText
"scoretext"Symbol 131 MovieClip Frame 15Symbol 130 EditableText
"messagerouge"Symbol 133 MovieClip Frame 1Symbol 132 EditableText
"rond"Symbol 141 MovieClip Frame 1Symbol 138 MovieClip
"scoretext"Symbol 141 MovieClip Frame 1Symbol 140 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "ExploSound"
ExportAssets (56)Timeline Frame 1Symbol 2 as "PrelockSound"
ExportAssets (56)Timeline Frame 1Symbol 3 as "LockSound"
ExportAssets (56)Timeline Frame 1Symbol 4 as "LevelSound"
ExportAssets (56)Timeline Frame 1Symbol 142 as "__Packages.Level"
ExportAssets (56)Timeline Frame 1Symbol 143 as "__Packages.Node"
ExportAssets (56)Timeline Frame 1Symbol 144 as "__Packages.Join"
ExportAssets (56)Timeline Frame 1Symbol 145 as "__Packages.NodeGroup"
ExportAssets (56)Timeline Frame 1Symbol 146 as "__Packages.Figure"
ExportAssets (56)Timeline Frame 1Symbol 147 as "__Packages.FOne"

Labels

"intro"Frame 2
"play"Frame 3
"demo"Frame 4




http://swfchan.com/10/47594/info.shtml
Created: 1/5 -2019 13:20:12 Last modified: 1/5 -2019 13:20:12 Server time: 15/11 -2024 01:29:10