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

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

Tetris Professional.swf

This is the info page for
Flash #131884

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


Text
loading...

text1

saving...

text1

loading...

v1.0

name1

score1

name1

score1

name1

score1

name1

score1

name1

score1

v1.0

name1

ActionScript [AS1/AS2]

Frame 1
_global.stage_mc = this; _global.preloader = function () { bytesTotal = _root.getBytesTotal(); bytesLoaded = _root.getBytesLoaded(); if (bytesLoaded >= bytesTotal) { gotoAndStop ("start"); } else { percent_mc.percentBar_mc._width = (bytesLoaded / bytesTotal) * 100; gotoAndPlay ("preload"); } }; _global.preloader2 = function () { if (percent_mc.percentBar_mc._width >= 100) { gotoAndStop ("start"); } else { percent_mc.percentBar_mc._width = percent_mc.percentBar_mc._width + 1; gotoAndPlay ("preload"); } }; _global.preloader(); var MochiAd = {getVersion:function () { return("2.3"); }, showPreGameAd:function (options) { var _local27 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, ad_started:function () { this.clip.stop(); }, ad_finished:function () { this.clip.play(); }, ad_failed:function () { trace("[MochAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_loaded:function (width, height) { }}; options = MochiAd._parseOptions(options, _local27); if ("5cc6f7dfb67f2f08341c831480f7c2a7".length == 0) { options.ad_started(); options.ad_finished(); return(undefined); } var clip = options.clip; var _local23 = 11000; var _local26 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)) { options.ad_failed(); options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var _local14 = MochiAd._getRes(options); var _local4 = _local14[0]; var _local13 = _local14[1]; mc._x = _local4 * 0.5; mc._y = _local13 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk._x = _local4 * -0.5; chk._y = _local13 * -0.5; var _local7 = chk.createEmptyMovieClip("_mochiad_bar", 4); _local7._x = 10; _local7._y = _local13 - 20; var _local22 = options.color; delete options.color; var _local19 = options.background; delete options.background; var _local24 = options.outline; delete options.outline; var _local5 = _local7.createEmptyMovieClip("_outline", 1); _local5.beginFill(_local19); _local5.moveTo(0, 0); _local5.lineTo(_local4 - 20, 0); _local5.lineTo(_local4 - 20, 10); _local5.lineTo(0, 10); _local5.lineTo(0, 0); _local5.endFill(); var _local3 = _local7.createEmptyMovieClip("_inside", 2); _local3.beginFill(_local22); _local3.moveTo(0, 0); _local3.lineTo(_local4 - 20, 0); _local3.lineTo(_local4 - 20, 10); _local3.lineTo(0, 10); _local3.lineTo(0, 0); _local3.endFill(); _local3._xscale = 0; var _local6 = _local7.createEmptyMovieClip("_outline", 3); _local6.lineStyle(0, _local24, 100); _local6.moveTo(0, 0); _local6.lineTo(_local4 - 20, 0); _local6.lineTo(_local4 - 20, 10); _local6.lineTo(0, 10); _local6.lineTo(0, 0); chk.ad_msec = _local23; chk.ad_timeout = _local26; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; MochiAd.unload(_local3); delete this.onEnterFrame; } }; mc.lc.adLoaded = options.ad_loaded; mc.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec; }; chk.onEnterFrame = function () { var _local6 = this._parent._parent; var _local12 = this._parent._mochiad_ctr; var _local5 = getTimer() - this.started; var _local3 = false; var _local4 = _local6.getBytesTotal(); var _local8 = _local6.getBytesLoaded(); var _local10 = (100 * _local8) / _local4; var _local11 = (100 * _local5) / chk.ad_msec; var _local9 = this._mochiad_bar._inside; var _local2 = Math.min(100, Math.min(_local10 || 0, _local11)); _local2 = Math.max(this.last_pcnt, _local2); this.last_pcnt = _local2; _local9._xscale = _local2; if (!chk.showing) { var _local7 = _local12.getBytesTotal(); if ((_local7 > 0) || (typeof(_local7) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if (_local5 > chk.ad_timeout) { options.ad_failed(); _local3 = true; } } if (_local5 > chk.ad_msec) { _local3 = true; } if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; } } }; }, showInterLevelAd:function (options) { var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () { this.clip.stop(); }, ad_finished:function () { this.clip.play(); }, ad_failed:function () { trace("[MochAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_loaded:function (width, height) { }}; options = MochiAd._parseOptions(options, _local13); var clip = options.clip; var _local10 = 11000; var _local12 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!MochiAd.load(options)) { options.ad_failed(); options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var _local5 = MochiAd._getRes(options); var _local14 = _local5[0]; var _local11 = _local5[1]; mc._x = _local14 * 0.5; mc._y = _local11 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk.ad_msec = _local10; chk.ad_timeout = _local12; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; MochiAd.unload(_local3); delete this.onEnterFrame; } }; mc.lc.adLoaded = options.ad_loaded; mc.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec - 250; }; chk.onEnterFrame = function () { var _local5 = this._parent._mochiad_ctr; var _local4 = getTimer() - this.started; var _local2 = false; if (!chk.showing) { var _local3 = _local5.getBytesTotal(); if ((_local3 > 0) || (typeof(_local3) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if (_local4 > chk.ad_timeout) { options.ad_failed(); _local2 = true; } } if (_local4 > chk.ad_msec) { _local2 = true; } if (_local2) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; } } }; }, showTimedAd:function (options) { trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0"); MochiAd.showInterLevelAd(options); }, showPreloaderAd:function (options) { trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0"); MochiAd.showPreGameAd(options); }, _allowDomains:function (server) { var _local1 = server.split("/")[2].split(":")[0]; if (System.security) { if (System.security.allowDomain) { System.security.allowDomain("*"); System.security.allowDomain(_local1); } if (System.security.allowInsecureDomain) { System.security.allowInsecureDomain("*"); System.security.allowInsecureDomain(_local1); } } return(_local1); }, _loadCommunicator:function (options) { var _local26 = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"}; options = MochiAd._parseOptions(options, _local26); options.swfv = options.clip.getSWFVersion() || 6; options.mav = MochiAd.getVersion(); var _local18 = options.clip; var _local20 = "_mochiad_com_" + options.id; if (!MochiAd._isNetworkAvailable()) { return(null); } if (_local18[_local20]) { return(_local18[_local20].lc); } var _local21 = options.com_server + options.id; MochiAd._allowDomains(_local21); delete options.id; delete options.com_server; var _local25 = options.depth; delete options.depth; var _local17 = _local18.createEmptyMovieClip(_local20, _local25); var _local11 = _local17.createEmptyMovieClip("_mochiad_com", 1); for (var _local15 in options) { _local11[_local15] = options[_local15]; } var _local6 = new LocalConnection(); var _local16 = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); _local6.mc = _local17; _local6.name = _local16; _local6.allowDomain = function (d) { return(true); }; _local6.allowInsecureDomain = _local6.allowDomain; _local6.connect(_local16); _local17.lc = _local6; _local11.lc = _local16; _local6._id = 0; _local6._queue = []; _local6.rpcResult = function (cb_arg) { var _local8 = parseInt(cb_arg); var _local4 = this._callbacks[_local8]; if (!_local4) { return(undefined); } delete this._callbacks[_local8]; var _local5 = []; var _local3 = 2; while (_local3 < _local4.length) { _local5.push(_local4[_local3]); _local3++; } _local3 = 1; while (_local3 < arguments.length) { _local5.push(arguments[_local3]); _local3++; } var _local6 = _local4[1]; var _local7 = _local4[0]; if (_local7 && (typeof(_local6) == "string")) { _local6 = _local7[_local6]; } if (_local6) { _local6.apply(_local7, _local5); } }; _local6._didConnect = function (endpoint) { this._endpoint = endpoint; var _local4 = this._queue; delete this._queue; var _local5 = this.doSend; var _local2 = 0; while (_local2 < _local4.length) { var _local3 = _local4[_local2]; _local5.apply(this, _local3); _local2++; } }; _local6.doSend = function (args, cbobj, cbfn) { if (this._endpoint == null) { var _local4 = []; var _local3 = 0; while (_local3 < arguments.length) { _local4.push(arguments[_local3]); _local3++; } this._queue.push(_local4); return(undefined); } this._id = this._id + 1; var _local5 = this._id; if ((cbfn === undefined) || (cbfn === null)) { cbfn = cbobj; } this._callbacks[_local5] = [cbobj, cbfn]; var _local7 = new LocalConnection(); var _local9 = _local7.send(this._endpoint, "rpc", _local5, args); }; _local6._callbacks = {}; _local6._callbacks[0] = [_local6, "_didConnect"]; _local11.st = getTimer(); _local11.loadMovie(_local21 + ".swf", "POST"); return(_local6); }, fetchHighScores:function (options, callbackObj, callbackMethod) { var _local1 = MochiAd._loadCommunicator({id:options.id}); if (!_local1) { return(false); } var _local4 = ["fetchHighScores", options]; _local1.doSend(["fetchHighScores", options], callbackObj, callbackMethod); return(true); }, sendHighScore:function (options, callbackObj, callbackMethod) { var _local1 = MochiAd._loadCommunicator({id:options.id}); if (!_local1) { return(false); } var _local4 = ["sendHighScore", options]; _local1.doSend(["sendHighScore", options], callbackObj, callbackMethod); return(true); }, load:function (options) { var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = MochiAd._parseOptions(options, _local13); options.swfv = options.clip.getSWFVersion() || 6; options.mav = MochiAd.getVersion(); var _local9 = options.clip; if (!MochiAd._isNetworkAvailable()) { return(null); } if (_local9._mochiad_loaded) { return(null); } var _local12 = options.depth; delete options.depth; var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12); var _local11 = MochiAd._getRes(options); options.res = (_local11[0] + "x") + _local11[1]; options.server = options.server + options.id; delete options.id; _local9._mochiad_loaded = true; var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1); for (var _local7 in options) { _local4[_local7] = options[_local7]; } var _local10 = _local4.server; delete _local4.server; var _local14 = MochiAd._allowDomains(_local10); _local6.onEnterFrame = function () { if (this._mochiad_ctr._url != this._url) { this.onEnterFrame = function () { if (!this._mochiad_ctr) { delete this.onEnterFrame; MochiAd.unload(this._parent); } }; } }; var _local5 = new LocalConnection(); var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); _local5.mc = _local6; _local5.name = _local8; _local5.hostname = _local14; _local5.allowDomain = function (d) { return(true); }; _local5.allowInsecureDomain = _local5.allowDomain; _local5.connect(_local8); _local6.lc = _local5; _local4.lc = _local8; _local4.st = getTimer(); _local4.loadMovie(_local10 + ".swf", "POST"); return(_local6); }, unload:function (clip) { if (typeof(clip) == "undefined") { clip = _root; } if (clip.clip && (clip.clip._mochiad)) { clip = clip.clip; } if (!clip._mochiad) { return(false); } clip._mochiad.removeMovieClip(); delete clip._mochiad_loaded; delete clip._mochiad; return(true); }, _isNetworkAvailable:function () { if (System.security) { var _local1 = System.security; if (_local1.sandboxType == "localWithFile") { return(false); } } return(true); }, _getRes:function (options) { var _local3 = options.clip.getBounds(); var _local2 = 0; var _local1 = 0; if (typeof(options.res) != "undefined") { var _local4 = options.res.split("x"); _local2 = parseFloat(_local4[0]); _local1 = parseFloat(_local4[1]); } else { _local2 = _local3.xMax - _local3.xMin; _local1 = _local3.yMax - _local3.yMin; } if ((_local2 == 0) || (_local1 == 0)) { _local2 = Stage.width; _local1 = Stage.height; } return([_local2, _local1]); }, _parseOptions:function (options, defaults) { var _local4 = {}; for (var _local8 in defaults) { _local4[_local8] = defaults[_local8]; } if (options) { for (var _local8 in options) { _local4[_local8] = options[_local8]; } } if (_root.mochiad_options) { var _local5 = _root.mochiad_options.split("&"); var _local2 = 0; while (_local2 < _local5.length) { var _local3 = _local5[_local2].split("="); _local4[unescape(_local3[0])] = unescape(_local3[1]); _local2++; } } if (_local4.id == "test") { trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!"); } return(_local4); }, _:null}; MochiAd.showPreGameAd({id:"4f5e07523a0273a5", res:"640x480"});
Frame 2
_global.preloader();
Frame 21
function checkStage() { rowBonus = 0; row = 19; while (row >= 0) { if (((((((((_global.stage_array[row][0] && (_global.stage_array[row][1])) && (_global.stage_array[row][2])) && (_global.stage_array[row][3])) && (_global.stage_array[row][4])) && (_global.stage_array[row][5])) && (_global.stage_array[row][6])) && (_global.stage_array[row][7])) && (_global.stage_array[row][8])) && (_global.stage_array[row][9])) { _global.score = _global.score + 10; _global.clearedLines++; rowBonus++; inCol = 0; while (inCol < 10) { mainWindow_mc[(("tile" + row.toString()) + "|") + inCol.toString()].removeMovieClip(); inCol++; } inRow = row; while (inRow >= 0) { inCol = 0; while (inCol < 10) { _global.stage_array[inRow][inCol] = _global.stage_array[inRow - 1][inCol]; if (_global.stage_array[inRow - 1][inCol]) { mainWindow_mc.attachMovie("tile" + mainWindow_mc[(("tile" + (inRow - 1).toString()) + "|") + inCol.toString()].saveColor, (("tile" + inRow.toString()) + "|") + inCol.toString(), _global.depth++); mainWindow_mc[(("tile" + inRow.toString()) + "|") + inCol.toString()].saveColor = mainWindow_mc[(("tile" + (inRow - 1).toString()) + "|") + inCol.toString()].saveColor; mainWindow_mc[(("tile" + inRow.toString()) + "|") + inCol.toString()]._x = mainWindow_mc[(("tile" + (inRow - 1).toString()) + "|") + inCol.toString()]._x; mainWindow_mc[(("tile" + inRow.toString()) + "|") + inCol.toString()]._y = mainWindow_mc[(("tile" + (inRow - 1).toString()) + "|") + inCol.toString()]._y + 20; mainWindow_mc[(("tile" + (inRow - 1).toString()) + "|") + inCol.toString()].removeMovieClip(); } inCol++; } inRow--; } col = 0; while (col < 10) { _global.stage_array[0][col] = 0; col++; } row++; } row--; } if (rowBonus > 1) { _global.score = _global.score + (rowBonus * 5); } if (rowBonus == 1) { line1_sound.start(); } else if (rowBonus == 2) { line2_sound.start(); } else if (rowBonus == 3) { line3_sound.start(); } else if (rowBonus == 4) { line4_sound.start(); } } function changePiece() { if (_global.currentPiece != null) { pieces[_global.currentPiece].setNext(); change_sound.start(); for (piece in mainWindow_mc) { if (piece.toString().substr(0, 5) == "piece") { mainWindow_mc[piece].removeMovieClip(); } } row = 0; while (row < 4) { col = 0; while (col < 4) { if (pieces[_global.currentPiece].getArray()[row][col]) { mainWindow_mc.attachMovie("tile" + _global.lastColor, (("piece" + row.toString()) + "|") + col.toString(), _global.depth++); mainWindow_mc[(("piece" + row.toString()) + "|") + col.toString()].saveColor = pieceColor; mainWindow_mc[(("piece" + row.toString()) + "|") + col.toString()]._x = (col + _global.currentPiece_col) * 20; mainWindow_mc[(("piece" + row.toString()) + "|") + col.toString()]._y = (row + _global.currentPiece_row) * 20; } col++; } row++; } } updateHelpBar(); } function drawPiece(moveDiag) { if (_global.currentPiece == null) { if (_global.nextPiece == null) { _global.currentPiece = Math.floor(Math.random() * 7); _global.nextPiece = Math.floor(Math.random() * 7); pieceColor = Number(Math.floor(Math.random() * 5) + 1); _global.lastColor = pieceColor; do { _global.nextPieceColor = Number(Math.floor(Math.random() * 5) + 1); } while (_global.nextPieceColor == pieceColor); updatePreview(); } else { _global.currentPiece = _global.nextPiece; pieceColor = (_global.lastColor = _global.nextPieceColor); _global.nextPiece = Math.floor(Math.random() * 7); do { _global.nextPieceColor = Number(Math.floor(Math.random() * 5) + 1); } while (_global.nextPieceColor == pieceColor); updatePreview(); } row = 0; while (row < 4) { col = 0; while (col < 4) { if (pieces[_global.currentPiece].getArray()[row][col] && (_global.stage_array[_global.currentPiece_row + row][_global.currentPiece_col + col])) { _global.runGame = false; _global.gameOver = true; showGameOverWindow(); } col++; } row++; } if (_global.runGame) { row = 0; while (row < 4) { col = 0; while (col < 4) { if (pieces[_global.currentPiece].getArray()[row][col]) { mainWindow_mc.attachMovie("tile" + pieceColor, (("piece" + row.toString()) + "|") + col.toString(), _global.depth++); mainWindow_mc[(("piece" + row.toString()) + "|") + col.toString()].saveColor = pieceColor; mainWindow_mc[(("piece" + row.toString()) + "|") + col.toString()]._x = (col + _global.currentPiece_col) * 20; mainWindow_mc[(("piece" + row.toString()) + "|") + col.toString()]._y = (row + _global.currentPiece_row) * 20; } col++; } row++; } updateHelpBar(); } } else if ((_global.speedCnt >= _global.speed) || (moveDiag)) { if (moveDownCheck()) { if (!moveDiag) { _global.currentPiece_row++; _global.speedCnt = 0; } for (piece in mainWindow_mc) { if (piece.toString().substr(0, 5) == "piece") { mainWindow_mc[piece]._x = (Number(piece.toString().substr(7, 1)) * 20) + (_global.currentPiece_col * 20); mainWindow_mc[piece]._y = (Number(piece.toString().substr(5, 1)) * 20) + (_global.currentPiece_row * 20); } } } else { _global.score = _global.score + 2; drop_sound.start(); row = 0; while (row < 4) { col = 0; while (col < 4) { if (pieces[_global.currentPiece].getArray()[row][col]) { _global.stage_array[_global.currentPiece_row + row][col + _global.currentPiece_col] = pieces[_global.currentPiece].getArray()[row][col]; } col++; } row++; } for (piece in mainWindow_mc) { if (piece.toString().substr(0, 5) == "piece") { mainWindow_mc[piece]._x = (Number(piece.toString().substr(7, 1)) * 20) + (_global.currentPiece_col * 20); mainWindow_mc[piece]._y = (Number(piece.toString().substr(5, 1)) * 20) + (_global.currentPiece_row * 20); } } _global.currentPiece = null; _global.currentPiece_row = 0; _global.currentPiece_col = 4; for (piece in mainWindow_mc) { if (piece.toString().substr(0, 5) == "piece") { tempRow = mainWindow_mc[piece]._y / 20; tempCol = mainWindow_mc[piece]._x / 20; mainWindow_mc.attachMovie("tile" + mainWindow_mc[piece].saveColor, (("tile" + tempRow) + "|") + tempCol, _global.depth++); mainWindow_mc[(("tile" + tempRow) + "|") + tempCol]._x = mainWindow_mc[piece]._x; mainWindow_mc[(("tile" + tempRow) + "|") + tempCol]._y = mainWindow_mc[piece]._y; mainWindow_mc[(("tile" + tempRow) + "|") + tempCol].saveColor = mainWindow_mc[piece].saveColor; mainWindow_mc[piece].removeMovieClip(); } } updateHelpBar(); } } else { _global.speedCnt++; } } function updateHelpBar() { farCol = 0; row = 0; while (row < 4) { col = 0; while (col < 4) { if (pieces[_global.currentPiece].getArray()[row][col] && (farCol < col)) { farCol = col; } col++; } row++; } helpBarWindow_mc.helpBar_mc._x = _global.currentPiece_col * 20; helpBarWindow_mc.helpBar_mc._width = (farCol + 1) * 20; } function updatePreview() { for (piece_mc in previewWindow_mc) { previewWindow_mc[piece_mc].removeMovieClip(); } row = 0; while (row < 4) { col = 0; while (col < 4) { if (pieces[_global.nextPiece].getArray()[row][col]) { previewWindow_mc.attachMovie("tile" + _global.nextPieceColor, (("piece" + row.toString()) + "|") + col.toString(), _global.depth++); previewWindow_mc[(("piece" + row.toString()) + "|") + col.toString()].saveColor = pieceColor; previewWindow_mc[(("piece" + row.toString()) + "|") + col.toString()]._x = col * 20; previewWindow_mc[(("piece" + row.toString()) + "|") + col.toString()]._y = row * 20; } col++; } row++; } } function dropPiece() { while (moveDownCheck()) { _global.currentPiece_row++; for (piece in mainWindow_mc) { if (piece.toString().substr(0, 5) == "piece") { mainWindow_mc[piece]._x = (Number(piece.toString().substr(7, 1)) * 20) + (_global.currentPiece_col * 20); mainWindow_mc[piece]._y = (Number(piece.toString().substr(5, 1)) * 20) + (_global.currentPiece_row * 20); } } } _global.speedCnt = 0; drawPiece(); } function moveDownCheck() { var _local2 = true; row = 0; while (row < 4) { col = 0; while (col < 4) { if ((pieces[_global.currentPiece].getArray()[row][col] && (_global.stage_array[(_global.currentPiece_row + row) + 1][col + _global.currentPiece_col])) || (pieces[_global.currentPiece].getArray()[row][col] && (((_global.currentPiece_row + row) + 1) >= 20))) { _local2 = false; } col++; } row++; } return(_local2); } function moveLeftCheck() { var _local2 = true; row = 0; while (row < 4) { col = 0; while (col < 4) { if ((pieces[_global.currentPiece].getArray()[row][col] && (_global.stage_array[_global.currentPiece_row + row][(col + _global.currentPiece_col) - 1])) || (_global.currentPiece_col <= 0)) { _local2 = false; } col++; } row++; } return(_local2); } function moveRightCheck() { var _local2 = true; row = 0; while (row < 4) { col = 0; while (col < 4) { if ((pieces[_global.currentPiece].getArray()[row][col] && (_global.stage_array[_global.currentPiece_row + row][(col + _global.currentPiece_col) + 1])) || (pieces[_global.currentPiece].getArray()[row][col] && (((col + _global.currentPiece_col) + 1) > 9))) { _local2 = false; } col++; } row++; } return(_local2); } function pauseGame() { if ((_global.currentPiece != null) && (!_global.gameOver)) { _global.runGame = !_global.runGame; pause_sound.start(); if (_global.runGame) { stage_mc.pauseSign_mc.removeMovieClip(); } else { stage_mc.attachMovie("pauseSign", "pauseSign_mc", depth++); stage_mc.pauseSign_mc._x = 275; stage_mc.pauseSign_mc._y = 200; } } } function playMusic() { stage_mc.title_mc.removeMovieClip(); stage_mc.attachMovie("title" + _global.currentMusic, "title_mc", depth++); stage_mc.title_mc._x = 12; stage_mc.title_mc._y = 420; if (_global.currentMusic == 1) { music1_sound.start(); music1_sound.onSoundComplete = function () { music1_sound.start(); }; } else if (_global.currentMusic == 2) { music2_sound.start(); music2_sound.onSoundComplete = function () { music2_sound.start(); }; } else if (_global.currentMusic == 3) { music3_sound.start(); music3_sound.onSoundComplete = function () { music3_sound.start(); }; } } function showGameOverWindow() { if (!_global.windowUp) { stage_mc.attachMovie("gameOverWindow", "gameOverWindow_mc", depth++); stage_mc.gameOverWindow_mc._x = 175; stage_mc.gameOverWindow_mc._y = 100; _global.windowUp = true; } } function stopMusic() { if (_global.currentMusic == 1) { music1_sound.stop("music1.wav"); } else if (_global.currentMusic == 2) { music2_sound.stop("music2.wav"); } else if (_global.currentMusic == 3) { music3_sound.stop("music3.wav"); } } _global.highScoresScript = "http://www.unf.edu/~voli0001/flash/tetris/tetris.php"; change_sound = new Sound(); change_sound.attachSound("change.wav"); drop_sound = new Sound(); drop_sound.attachSound("drop.wav"); pause_sound = new Sound(); pause_sound.attachSound("pause.wav"); start_sound = new Sound(); start_sound.attachSound("start.wav"); levelUp_sound = new Sound(); levelUp_sound.attachSound("levelUp.wav"); line1_sound = new Sound(); line1_sound.attachSound("line1.wav"); line2_sound = new Sound(); line2_sound.attachSound("line2.wav"); line3_sound = new Sound(); line3_sound.attachSound("line3.wav"); line4_sound = new Sound(); line4_sound.attachSound("line4.wav"); music1_sound = new Sound(); music1_sound.attachSound("music1.wav"); music2_sound = new Sound(); music2_sound.attachSound("music2.wav"); music3_sound = new Sound(); music3_sound.attachSound("music3.wav"); _global.currentMusic = 2; _global.depth = 0; _global.runGame = false; _global.gameOver = false; _global.score = 0; _global.level = 0; _global.levelChange = 20; _global.clearedLines = 0; _global.speed = 18; _global.speedCnt = 0; _global.currentPiece = null; _global.nextPiece = null; _global.nextPieceColor = 0; _global.currentPiece_row = 0; _global.currentPiece_col = 4; _global.lastColor = 0; _global.windowUp = false; _global.stage_array = new Array(); _global.stage_array = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]]; Piece = function (newPiece) { this.piece_array = newPiece; }; Piece.prototype.setNext = function () { temp_array = new Array(); temp_array = [[0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]]; row = 0; while (row < 4) { col = 0; while (col < 4) { temp_array[col][3 - row] = this.piece_array[row][col]; col++; } row++; } this.piece_array = temp_array; while (!(((this.piece_array[0][0] || (this.piece_array[1][0])) || (this.piece_array[2][0])) || (this.piece_array[3][0]))) { row = 0; while (row < 4) { col = 1; while (col < 4) { this.piece_array[row][col - 1] = this.piece_array[row][col]; col++; } row++; } this.piece_array[0][3] = 0; this.piece_array[1][3] = 0; this.piece_array[2][3] = 0; this.piece_array[3][3] = 0; } }; Piece.prototype.testNext = function () { returnBool = true; temp_array = new Array(); temp_array = [[0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]]; row = 0; while (row < 4) { col = 0; while (col < 4) { temp_array[col][3 - row] = this.piece_array[row][col]; col++; } row++; } while (!(((temp_array[0][0] || (temp_array[1][0])) || (temp_array[2][0])) || (temp_array[3][0]))) { row = 0; while (row < 4) { col = 1; while (col < 4) { temp_array[row][col - 1] = temp_array[row][col]; col++; } row++; } temp_array[0][3] = 0; temp_array[1][3] = 0; temp_array[2][3] = 0; temp_array[3][3] = 0; } row = 0; while (row < 4) { col = 0; while (col < 4) { if (((temp_array[row][col] && (_global.stage_array[row + _global.currentPiece_row][col + _global.currentPiece_col])) || (temp_array[row][col] && ((col + _global.currentPiece_col) > 9))) || (temp_array[row][col] && ((row + _global.currentPiece_row) > 19))) { returnBool = false; } col++; } row++; } return(returnBool); }; Piece.prototype.getArray = function () { return(this.piece_array); }; pieces = new Array(); pieces.push(new Piece([[1, 1, 1, 1], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]])); pieces.push(new Piece([[1, 1, 1, 0], [0, 0, 1, 0], [0, 0, 0, 0], [0, 0, 0, 0]])); pieces.push(new Piece([[0, 0, 1, 0], [1, 1, 1, 0], [0, 0, 0, 0], [0, 0, 0, 0]])); pieces.push(new Piece([[0, 1, 0, 0], [1, 1, 1, 0], [0, 0, 0, 0], [0, 0, 0, 0]])); pieces.push(new Piece([[1, 1, 0, 0], [1, 1, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]])); pieces.push(new Piece([[1, 0, 0, 0], [1, 1, 0, 0], [0, 1, 0, 0], [0, 0, 0, 0]])); pieces.push(new Piece([[0, 1, 0, 0], [1, 1, 0, 0], [1, 0, 0, 0], [0, 0, 0, 0]])); keyListener = new Object(); keyListener.onKeyDown = function () { if (_global.runGame && (_global.currentPiece != null)) { if (Key.isDown(37)) { if (moveLeftCheck()) { _global.currentPiece_col--; } drawPiece(true); updateHelpBar(); } else if (Key.isDown(39)) { if (moveRightCheck()) { _global.currentPiece_col++; } drawPiece(true); updateHelpBar(); } else if (Key.isDown(38)) { if (pieces[_global.currentPiece].testNext()) { changePiece(); } } else if (Key.isDown(40)) { dropPiece(); } } }; Key.addListener(keyListener); playMusic(); stage_mc.createEmptyMovieClip("scoreWindow_mc", depth++); stage_mc.scoreWindow_mc._x = 105; stage_mc.scoreWindow_mc._y = 182; stage_mc.scoreWindow_mc.score = -1; stage_mc.createEmptyMovieClip("levelWindow_mc", depth++); stage_mc.levelWindow_mc._x = 20; stage_mc.levelWindow_mc._y = 182; stage_mc.scoreWindow_mc.onEnterFrame = function () { if (stage_mc.scoreWindow_mc.score < _global.score) { stage_mc.scoreWindow_mc.score++; for (num in stage_mc.scoreWindow_mc) { stage_mc.scoreWindow_mc[num].removeMovieClip(); } newNumString = "000000".concat(stage_mc.scoreWindow_mc.score.toString()).substring(stage_mc.scoreWindow_mc.score.toString().length + 1, stage_mc.scoreWindow_mc.score.toString().length + 6); pos = 0; while (pos < newNumString.length) { stage_mc.scoreWindow_mc.attachMovie("num" + newNumString.substr(pos, 1), "num" + pos, depth++); stage_mc.scoreWindow_mc["num" + pos]._x = pos * 25; stage_mc.scoreWindow_mc["num" + pos]._y = 0; pos++; } if ((_global.clearedLines >= _global.levelChange) || (_global.level == 0)) { for (num in stage_mc.levelWindow_mc) { stage_mc.levelWindow_mc[num].removeMovieClip(); } _global.level++; if (_global.level != 1) { levelUp_sound.start(); } _global.clearedLines = 0; if (_global.speed >= 0) { _global.speed--; } newNumString = "00".concat(_global.level.toString()).substring(_global.level.toString().length, _global.level.toString().length + 2); pos = 0; while (pos < newNumString.length) { stage_mc.levelWindow_mc.attachMovie("num" + newNumString.substr(pos, 1), "num" + pos, depth++); stage_mc.levelWindow_mc["num" + pos]._x = pos * 25; stage_mc.levelWindow_mc["num" + pos]._y = 0; pos++; } } } }; stage_mc.pauseGame_btn.onPress = function () { if (!_global.windowUp) { pauseGame(); } }; stage_mc.pause_mc.onPress = function () { stopMusic(); }; stage_mc.play_mc.onPress = function () { playMusic(); }; stage_mc.ff_mc.onPress = function () { stopMusic(); if ((++_global.currentMusic) > 3) { _global.currentMusic = 1; } playMusic(); }; stage_mc.rewind_mc.onPress = function () { stopMusic(); if ((--_global.currentMusic) < 1) { _global.currentMusic = 3; } playMusic(); }; stage_mc.highScores_btn.onPress = function () { if (_global.runGame) { pauseGame(); } if (!_global.windowUp) { stage_mc.attachMovie("highScoresWindow", "highScoresWindow_mc", depth++); stage_mc.highScoresWindow_mc._x = 175; stage_mc.highScoresWindow_mc._y = 100; _global.windowUp = true; } }; stage_mc.newGame_btn.onPress = function () { if (!_global.windowUp) { start_sound.start(); _global.runGame = true; _global.gameOver = false; _global.score = 0; _global.level = 0; _global.clearedLines = 0; _global.speed = 18; _global.speedCnt = 0; stage_mc.scoreWindow_mc.score = -1; for (piece in mainWindow_mc) { mainWindow_mc[piece].removeMovieClip(); } _global.currentPiece = null; _global.currentPiece_row = 0; _global.currentPiece_col = 4; stage_mc.pauseSign_mc.removeMovieClip(); _global.stage_array = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]]; } }; stage_mc.onEnterFrame = function () { if (_global.runGame) { checkStage(); drawPiece(); } };
Symbol 56 MovieClip [gameOverWindow] Frame 1
function order(a, b) { if (Number(a.score) < Number(b.score)) { return(-1); } if (Number(a.score) > Number(b.score)) { return(1); } return(0); } gameOver_mc = this; depth = 0; dataSender = new LoadVars(); dataReceiver = new LoadVars(); dataReceiver.onLoad = function () { gameOver_mc.gotoAndStop("loaded"); gameOver_mc.highScores_array = new Array(); gameOver_mc.highScores_array.push({name:this.name1, score:this.score1}); gameOver_mc.highScores_array.push({name:this.name2, score:this.score2}); gameOver_mc.highScores_array.push({name:this.name3, score:this.score3}); gameOver_mc.highScores_array.push({name:this.name4, score:this.score4}); gameOver_mc.highScores_array.push({name:this.name5, score:this.score5}); gameOver_mc.highScores_array.push({name:"enter your name", score:_global.score}); gameOver_mc.highScores_array.sort(order); if (gameOver_mc.highScores_array[0].name != "enter your name") { gameOver_mc.desc = "Congratulations! You have reached a high score!"; gameOver_mc.attachMovie("newName", "inName_mc", depth++); gameOver_mc.inName_mc._x = 45; gameOver_mc.inName_mc._y = 145; gameOver_mc.inName_mc.inName = "enter your name"; Selection.setFocus("gameOver_mc.inName_mc.inName_txt"); } else { gameOver_mc.desc = "Good try, but you did not get a high score."; gameOver_mc.gotoAndStop("lowScore"); } }; dataSender.cacheKiller = new Date().getTime(); dataSender.action = "getScores"; dataSender.sendAndLoad(_global.highScoresScript, dataReceiver, "GET"); gameOver_mc.gotoAndStop("loading");
Symbol 56 MovieClip [gameOverWindow] Frame 5
dataSender = new LoadVars(); dataReceiver = new LoadVars(); dataReceiver.onLoad = function () { _global.windowUp = false; gameOver_mc.removeMovieClip(); }; gameOver_mc.save_btn.onRelease = function () { counter = 1; while (counter <= 5) { if (gameOver_mc.highScores_array[counter].name == "enter your name") { if (gameOver_mc.inName_mc.inName == "enter your name") { gameOver_mc.highScores_array[counter].name = "Anonymous"; } else { gameOver_mc.highScores_array[counter].name = gameOver_mc.inName_mc.inName; } } counter++; } dataSender.cacheKiller = new Date().getTime(); dataSender.action = "saveScores"; dataSender.name1 = gameOver_mc.highScores_array[5].name; dataSender.name2 = gameOver_mc.highScores_array[4].name; dataSender.name3 = gameOver_mc.highScores_array[3].name; dataSender.name4 = gameOver_mc.highScores_array[2].name; dataSender.name5 = gameOver_mc.highScores_array[1].name; dataSender.score1 = gameOver_mc.highScores_array[5].score; dataSender.score2 = gameOver_mc.highScores_array[4].score; dataSender.score3 = gameOver_mc.highScores_array[3].score; dataSender.score4 = gameOver_mc.highScores_array[2].score; dataSender.score5 = gameOver_mc.highScores_array[1].score; dataSender.sendAndLoad(_global.highScoresScript, dataReceiver, "GET"); gameOver_mc.gotoAndStop("saving"); }; stop();
Symbol 56 MovieClip [gameOverWindow] Frame 15
gameOver_mc.close_btn.onRelease = function () { _global.windowUp = false; gameOver_mc.removeMovieClip(); };
Symbol 73 MovieClip [highScoresWindow] Frame 1
highScores_mc = this; highScores_mc.close_btn.onRelease = function () { _global.windowUp = false; highScores_mc.removeMovieClip(); }; dataSender = new LoadVars(); dataReceiver = new LoadVars(); dataReceiver.onLoad = function () { highScores_mc.gotoAndStop("loaded"); highScores_mc.name1 = this.name1; highScores_mc.name2 = this.name2; highScores_mc.name3 = this.name3; highScores_mc.name4 = this.name4; highScores_mc.name5 = this.name5; highScores_mc.score1 = this.score1; highScores_mc.score2 = this.score2; highScores_mc.score3 = this.score3; highScores_mc.score4 = this.score4; highScores_mc.score5 = this.score5; }; dataSender.cacheKiller = new Date().getTime(); dataSender.action = "getScores"; dataSender.sendAndLoad(_global.highScoresScript, dataReceiver, "GET"); highScores_mc.gotoAndStop("loading");

Library Items

Symbol 1 BitmapUsed by:2
Symbol 2 GraphicUses:1Used by:3
Symbol 3 MovieClipUses:2Used by:Timeline
Symbol 4 GraphicUsed by:7
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClipUses:5Used by:7
Symbol 7 MovieClipUses:4 6Used by:Timeline
Symbol 8 BitmapUsed by:9
Symbol 9 GraphicUses:8Used by:12
Symbol 10 BitmapUsed by:11
Symbol 11 GraphicUses:10Used by:12
Symbol 12 Button [close]Uses:9 11Used by:56 73  Timeline
Symbol 13 BitmapUsed by:14
Symbol 14 GraphicUses:13Used by:17
Symbol 15 BitmapUsed by:16
Symbol 16 GraphicUses:15Used by:17
Symbol 17 Button [save]Uses:14 16Used by:56  Timeline
Symbol 18 BitmapUsed by:19
Symbol 19 GraphicUses:18Used by:20
Symbol 20 MovieClip [num0]Uses:19Used by:Timeline
Symbol 21 BitmapUsed by:22
Symbol 22 GraphicUses:21Used by:23
Symbol 23 MovieClip [num1]Uses:22Used by:Timeline
Symbol 24 BitmapUsed by:25
Symbol 25 GraphicUses:24Used by:26
Symbol 26 MovieClip [num2]Uses:25Used by:Timeline
Symbol 27 BitmapUsed by:28
Symbol 28 GraphicUses:27Used by:29
Symbol 29 MovieClip [num3]Uses:28Used by:Timeline
Symbol 30 BitmapUsed by:31
Symbol 31 GraphicUses:30Used by:32
Symbol 32 MovieClip [num4]Uses:31Used by:Timeline
Symbol 33 BitmapUsed by:34
Symbol 34 GraphicUses:33Used by:35
Symbol 35 MovieClip [num5]Uses:34Used by:Timeline
Symbol 36 BitmapUsed by:37
Symbol 37 GraphicUses:36Used by:38
Symbol 38 MovieClip [num6]Uses:37Used by:Timeline
Symbol 39 BitmapUsed by:40
Symbol 40 GraphicUses:39Used by:41
Symbol 41 MovieClip [num7]Uses:40Used by:Timeline
Symbol 42 BitmapUsed by:43
Symbol 43 GraphicUses:42Used by:44
Symbol 44 MovieClip [num8]Uses:43Used by:Timeline
Symbol 45 BitmapUsed by:46
Symbol 46 GraphicUses:45Used by:47
Symbol 47 MovieClip [num9]Uses:46Used by:Timeline
Symbol 48 BitmapUsed by:49
Symbol 49 GraphicUses:48Used by:56
Symbol 50 FontUsed by:51 54 59
Symbol 51 TextUses:50Used by:56
Symbol 52 FontUsed by:53 55 62 63 64 65 66 67 68 69 70 71 74
Symbol 53 EditableTextUses:52Used by:56
Symbol 54 TextUses:50Used by:56
Symbol 55 EditableTextUses:52Used by:56
Symbol 56 MovieClip [gameOverWindow]Uses:49 51 53 17 54 55 12Used by:Timeline
Symbol 57 BitmapUsed by:58
Symbol 58 GraphicUses:57Used by:73
Symbol 59 TextUses:50Used by:73
Symbol 60 FontUsed by:61 72
Symbol 61 EditableTextUses:60Used by:73
Symbol 62 EditableTextUses:52Used by:73
Symbol 63 EditableTextUses:52Used by:73
Symbol 64 EditableTextUses:52Used by:73
Symbol 65 EditableTextUses:52Used by:73
Symbol 66 EditableTextUses:52Used by:73
Symbol 67 EditableTextUses:52Used by:73
Symbol 68 EditableTextUses:52Used by:73
Symbol 69 EditableTextUses:52Used by:73
Symbol 70 EditableTextUses:52Used by:73
Symbol 71 EditableTextUses:52Used by:73
Symbol 72 EditableTextUses:60Used by:73
Symbol 73 MovieClip [highScoresWindow]Uses:58 12 59 61 62 63 64 65 66 67 68 69 70 71 72Used by:Timeline
Symbol 74 EditableTextUses:52Used by:75
Symbol 75 MovieClip [newName]Uses:74Used by:Timeline
Symbol 76 BitmapUsed by:77
Symbol 77 GraphicUses:76Used by:78
Symbol 78 MovieClip [pauseSign]Uses:77Used by:Timeline
Symbol 79 BitmapUsed by:80
Symbol 80 GraphicUses:79Used by:81
Symbol 81 MovieClip [tile1]Uses:80Used by:Timeline
Symbol 82 BitmapUsed by:83
Symbol 83 GraphicUses:82Used by:84
Symbol 84 MovieClip [tile2]Uses:83Used by:Timeline
Symbol 85 BitmapUsed by:86
Symbol 86 GraphicUses:85Used by:87
Symbol 87 MovieClip [tile3]Uses:86Used by:Timeline
Symbol 88 BitmapUsed by:89
Symbol 89 GraphicUses:88Used by:90
Symbol 90 MovieClip [tile4]Uses:89Used by:Timeline
Symbol 91 BitmapUsed by:92
Symbol 92 GraphicUses:91Used by:93
Symbol 93 MovieClip [tile5]Uses:92Used by:Timeline
Symbol 94 BitmapUsed by:95
Symbol 95 GraphicUses:94Used by:96
Symbol 96 MovieClip [title1]Uses:95Used by:Timeline
Symbol 97 BitmapUsed by:98
Symbol 98 GraphicUses:97Used by:99
Symbol 99 MovieClip [title2]Uses:98Used by:Timeline
Symbol 100 BitmapUsed by:101
Symbol 101 GraphicUses:100Used by:102
Symbol 102 MovieClip [title3]Uses:101Used by:Timeline
Symbol 103 Sound [change.wav]Used by:Timeline
Symbol 104 Sound [drop.wav]Used by:Timeline
Symbol 105 Sound [levelUp.WAV]Used by:Timeline
Symbol 106 Sound [line1.wav]Used by:Timeline
Symbol 107 Sound [line2.wav]Used by:Timeline
Symbol 108 Sound [line3.wav]Used by:Timeline
Symbol 109 Sound [line4.wav]Used by:Timeline
Symbol 110 Sound [music1.wav]Used by:Timeline
Symbol 111 Sound [music2.wav]Used by:Timeline
Symbol 112 Sound [music3.wav]Used by:Timeline
Symbol 113 Sound [pause.wav]Used by:Timeline
Symbol 114 Sound [start.wav]Used by:Timeline
Symbol 115 BitmapUsed by:116
Symbol 116 GraphicUses:115Used by:Timeline
Symbol 117 BitmapUsed by:118
Symbol 118 GraphicUses:117Used by:119
Symbol 119 MovieClipUses:118Used by:Timeline
Symbol 120 BitmapUsed by:121
Symbol 121 GraphicUses:120Used by:122
Symbol 122 MovieClipUses:121Used by:Timeline
Symbol 123 GraphicUsed by:124
Symbol 124 MovieClipUses:123Used by:125
Symbol 125 MovieClipUses:124Used by:Timeline
Symbol 126 BitmapUsed by:127
Symbol 127 GraphicUses:126Used by:130
Symbol 128 BitmapUsed by:129
Symbol 129 GraphicUses:128Used by:130
Symbol 130 ButtonUses:127 129Used by:Timeline
Symbol 131 BitmapUsed by:132
Symbol 132 GraphicUses:131Used by:135
Symbol 133 BitmapUsed by:134
Symbol 134 GraphicUses:133Used by:135
Symbol 135 ButtonUses:132 134Used by:Timeline
Symbol 136 BitmapUsed by:137
Symbol 137 GraphicUses:136Used by:140
Symbol 138 BitmapUsed by:139
Symbol 139 GraphicUses:138Used by:140
Symbol 140 ButtonUses:137 139Used by:Timeline
Symbol 141 GraphicUsed by:147 150 153 156
Symbol 142 GraphicUsed by:147 150 153 156
Symbol 143 GraphicUsed by:147 150 153 156
Symbol 144 GraphicUsed by:147
Symbol 145 GraphicUsed by:147
Symbol 146 GraphicUsed by:147 150 153 156
Symbol 147 ButtonUses:141 142 143 144 145 146Used by:Timeline
Symbol 148 GraphicUsed by:150
Symbol 149 GraphicUsed by:150
Symbol 150 ButtonUses:141 142 143 148 149 146Used by:Timeline
Symbol 151 GraphicUsed by:153
Symbol 152 GraphicUsed by:153
Symbol 153 ButtonUses:141 142 143 151 152 146Used by:Timeline
Symbol 154 GraphicUsed by:156
Symbol 155 GraphicUsed by:156
Symbol 156 ButtonUses:141 142 143 154 155 146Used by:Timeline
Symbol 157 BitmapUsed by:174
Symbol 158 BitmapUsed by:174
Symbol 159 BitmapUsed by:174
Symbol 160 BitmapUsed by:174
Symbol 161 BitmapUsed by:174
Symbol 162 BitmapUsed by:174
Symbol 163 BitmapUsed by:174
Symbol 164 BitmapUsed by:174
Symbol 165 BitmapUsed by:174
Symbol 166 BitmapUsed by:174
Symbol 167 BitmapUsed by:174
Symbol 168 BitmapUsed by:174
Symbol 169 BitmapUsed by:174
Symbol 170 BitmapUsed by:174
Symbol 171 BitmapUsed by:174
Symbol 172 BitmapUsed by:174
Symbol 173 BitmapUsed by:174
Symbol 174 GraphicUses:157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173Used by:Timeline

Instance Names

"percent_mc"Frame 1Symbol 7 MovieClip
"previewWindow_mc"Frame 21Symbol 119 MovieClip
"mainWindow_mc"Frame 21Symbol 122 MovieClip
"helpBarWindow_mc"Frame 21Symbol 125 MovieClip
"newGame_btn"Frame 21Symbol 130 Button
"pauseGame_btn"Frame 21Symbol 135 Button
"highScores_btn"Frame 21Symbol 140 Button
"rewind_mc"Frame 21Symbol 147 Button
"pause_mc"Frame 21Symbol 150 Button
"play_mc"Frame 21Symbol 153 Button
"ff_mc"Frame 21Symbol 156 Button
"percentBar_mc"Symbol 7 MovieClip Frame 1Symbol 6 MovieClip
"save_btn"Symbol 56 MovieClip [gameOverWindow] Frame 5Symbol 17 Button [save]
"close_btn"Symbol 56 MovieClip [gameOverWindow] Frame 15Symbol 12 Button [close]
"close_btn"Symbol 73 MovieClip [highScoresWindow] Frame 1Symbol 12 Button [close]
"inName_txt"Symbol 75 MovieClip [newName] Frame 1Symbol 74 EditableText
"helpBar_mc"Symbol 125 MovieClip Frame 1Symbol 124 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 9Symbol 12 as "close"
ExportAssets (56)Timeline Frame 9Symbol 17 as "save"
ExportAssets (56)Timeline Frame 9Symbol 20 as "num0"
ExportAssets (56)Timeline Frame 9Symbol 23 as "num1"
ExportAssets (56)Timeline Frame 9Symbol 26 as "num2"
ExportAssets (56)Timeline Frame 9Symbol 29 as "num3"
ExportAssets (56)Timeline Frame 9Symbol 32 as "num4"
ExportAssets (56)Timeline Frame 9Symbol 35 as "num5"
ExportAssets (56)Timeline Frame 9Symbol 38 as "num6"
ExportAssets (56)Timeline Frame 9Symbol 41 as "num7"
ExportAssets (56)Timeline Frame 9Symbol 44 as "num8"
ExportAssets (56)Timeline Frame 9Symbol 47 as "num9"
ExportAssets (56)Timeline Frame 9Symbol 17 as "save"
ExportAssets (56)Timeline Frame 9Symbol 17 as "save"
ExportAssets (56)Timeline Frame 9Symbol 17 as "save"
ExportAssets (56)Timeline Frame 9Symbol 17 as "save"
ExportAssets (56)Timeline Frame 9Symbol 17 as "save"
ExportAssets (56)Timeline Frame 9Symbol 12 as "close"
ExportAssets (56)Timeline Frame 9Symbol 56 as "gameOverWindow"
ExportAssets (56)Timeline Frame 9Symbol 12 as "close"
ExportAssets (56)Timeline Frame 9Symbol 12 as "close"
ExportAssets (56)Timeline Frame 9Symbol 12 as "close"
ExportAssets (56)Timeline Frame 9Symbol 12 as "close"
ExportAssets (56)Timeline Frame 9Symbol 12 as "close"
ExportAssets (56)Timeline Frame 9Symbol 73 as "highScoresWindow"
ExportAssets (56)Timeline Frame 9Symbol 75 as "newName"
ExportAssets (56)Timeline Frame 9Symbol 78 as "pauseSign"
ExportAssets (56)Timeline Frame 9Symbol 81 as "tile1"
ExportAssets (56)Timeline Frame 9Symbol 84 as "tile2"
ExportAssets (56)Timeline Frame 9Symbol 87 as "tile3"
ExportAssets (56)Timeline Frame 9Symbol 90 as "tile4"
ExportAssets (56)Timeline Frame 9Symbol 93 as "tile5"
ExportAssets (56)Timeline Frame 9Symbol 96 as "title1"
ExportAssets (56)Timeline Frame 9Symbol 99 as "title2"
ExportAssets (56)Timeline Frame 9Symbol 102 as "title3"
ExportAssets (56)Timeline Frame 9Symbol 103 as "change.wav"
ExportAssets (56)Timeline Frame 10Symbol 104 as "drop.wav"
ExportAssets (56)Timeline Frame 11Symbol 105 as "levelUp.WAV"
ExportAssets (56)Timeline Frame 12Symbol 106 as "line1.wav"
ExportAssets (56)Timeline Frame 13Symbol 107 as "line2.wav"
ExportAssets (56)Timeline Frame 14Symbol 108 as "line3.wav"
ExportAssets (56)Timeline Frame 15Symbol 109 as "line4.wav"
ExportAssets (56)Timeline Frame 16Symbol 110 as "music1.wav"
ExportAssets (56)Timeline Frame 17Symbol 111 as "music2.wav"
ExportAssets (56)Timeline Frame 18Symbol 112 as "music3.wav"
ExportAssets (56)Timeline Frame 19Symbol 113 as "pause.wav"
ExportAssets (56)Timeline Frame 20Symbol 114 as "start.wav"

Labels

"preload"Frame 1
"load"Frame 2
"start"Frame 21
"loading"Symbol 56 MovieClip [gameOverWindow] Frame 1
"close_btn"Symbol 56 MovieClip [gameOverWindow] Frame 1
"loaded"Symbol 56 MovieClip [gameOverWindow] Frame 5
"saving"Symbol 56 MovieClip [gameOverWindow] Frame 10
"lowScore"Symbol 56 MovieClip [gameOverWindow] Frame 15
"loading"Symbol 73 MovieClip [highScoresWindow] Frame 1
"loaded"Symbol 73 MovieClip [highScoresWindow] Frame 5

Dynamic Text Variables

descSymbol 53 EditableText"text1"
descSymbol 55 EditableText"text1"
name1Symbol 62 EditableText"name1"
score1Symbol 63 EditableText"score1"
name2Symbol 64 EditableText"name1"
score2Symbol 65 EditableText"score1"
name3Symbol 66 EditableText"name1"
score3Symbol 67 EditableText"score1"
name4Symbol 68 EditableText"name1"
score4Symbol 69 EditableText"score1"
name5Symbol 70 EditableText"name1"
score5Symbol 71 EditableText"score1"
inNameSymbol 74 EditableText"name1"




http://swfchan.com/27/131884/info.shtml
Created: 20/2 -2019 21:06:36 Last modified: 20/2 -2019 21:06:36 Server time: 29/04 -2024 03:42:49