STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 228113 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2561 · P5121 |
This is the info page for Flash #46979 |
<p align="center"><font face="Kelt" size="24" color="#ffff00" letterSpacing="3.000000" kerning="0">100000</font></p> |
loading... |
Mute sound |
Unmute sound |
<p align="center"><font face="Kelt" size="26" color="#ffff00" letterSpacing="-1.000000" kerning="0">MenuPunkt</font></p> |
Messages |
Tutorial |
Connect nodes with tiles of the same color. Cover the flower buds with the tiles, to free the elves trapped within. |
Use your mouse wheel to rotate the tiles, or use the right arrow key. |
Game Items: |
These flower buds hold the elves captive. Free all elves to win the level! |
Brambles block your way! You can burn them by solving the adjacent tiles. |
Cover gold pots with tiles. You earn 2000 points extra when you solve them! |
This wall blocks your way. |
Cover the bomb with a tile to make it explode. This will destroy adjacent walls. |
Congratulations! You have freed all elves! More elves in 92 levels are awaiting their rescue in the Full Version of Elven Mists! Download it now! |
<p align="center"><font face="Kelt" size="24" color="#ffff00" letterSpacing="3.000000" kerning="0">15975</font></p> |
<p align="center"><font face="Kelt" size="24" color="#ffff00" letterSpacing="3.000000" kerning="0">5</font></p> |
<p align="center"><font face="Kelt" size="24" color="#ffff00" letterSpacing="3.000000" kerning="0">5</font></p> |
Elven Mists Free Download! |
- 92 brain teasing levels - 2 gameplay modes - 4 different bonus items - Sensational graphics - Marvelous storyline - Fullscreen gameplay |
Try the full version: |
ActionScript [AS1/AS2]
Frame 1var MochiAd = {getVersion:function () { return("2.1"); }, 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(); }}; options = MochiAd._parseOptions(options, _local27); 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_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 = function (width, height) { }; 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) { _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(); }}; 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_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 = function (width, height) { }; 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) { _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) { MochiAd.showInterLevelAd(options); }, showPreloaderAd:function (options) { 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++; } } return(_local4); }, _:null}; dslink = "http://screenseven.com"; dllink = "http://screenseven.com/bitrix/redirect.php?event1=down_elvenmists&event2=page_elvenmists&goto=%2Fgames%2Felvenmists%2Fdownload%2F"; MochiAd.showPreGameAd({id:"a701b12b11f76ebb", res:"550x410"});Frame 2function doDownload() { if (_root.target) { getURL (_root.dllink, _root.target); } else { getURL (_root.dllink); } } function muteSound() { soundMuted = true; stopAllSounds(); } function unmuteSound() { soundMuted = false; } var soundMuted = false; stop();Frame 3function startGame() { ub.zoomIn(4); } function showHelp() { helpScreen.gotoAndStop(2); helpScreen._y = 0; helpScreen._alpha = 0; helpScreen.alphaTo(100, 1, "easeoutcubic", 0, hideGame); mouseBlocked = true; } function hideGame() { game._visible = false; game._xscale = (game._yscale = 0); } function closeHelp() { game._visible = true; game._xscale = (game._yscale = 100); helpScreen.alphaTo(0, 1, "easeoutcubic", 0, hideHelp); } function hideHelp() { this._y = -411; this.gotoAndStop(1); mouseBlocked = false; } function doSound(id, vol, pan) { if (soundMuted) { return(undefined); } var _local1 = soundObjs[currentSound]; currentSound++; if (currentSound >= soundObjs.length) { currentSound = 0; } _local1.attachSound(id); _local1.setPan(((pan != undefined) ? ((pan * 200) - 100) : 0)); _local1.setVolume(vol); _local1.start(); } function registerLogo(obj, link) { obj.link = link; obj.onRollOver = function () { this.stopTween(); this.scaleTo(110, 1, "easeoutelastic"); }; obj.onRollOut = function () { this.stopTween(); this.scaleTo(100, 1, "easeoutelastic"); }; obj.onRelease = function () { getURL (this.link, "_blank"); }; } _global.$createTweenController = function () { var _local3 = _root.createEmptyMovieClip("__tweenController__", 123432); _local3.$_tweenPropList = new Array(); _local3.$_tTime = getTimer(); _local3.onEnterFrame = _global.$updateTweens; }; ASSetPropFlags(_global, "$createTweenController", 1, 0); _global.$removeTweenController = function () { delete _root.__tweenController__.$_tweenPropList; delete _root.__tweenController__.$_tTime; delete _root.__tweenController__.onEnterFrame; _root.__tweenController__.removeMovieClip(); }; ASSetPropFlags(_global, "$removeTweenController", 1, 0); _global.$addTween = function (mtarget, prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2, extras) { if (timeSeconds == undefined) { timeSeconds = 0; } if ((animType == undefined) || (animType == "")) { animType = "easeOutExpo"; } if (delay == undefined) { delay = 0; } if (typeof(prop) == "string") { var _local7 = [prop]; var _local11 = [mtarget[prop]]; var _local9 = [propDest]; } else { var _local7 = []; var _local11 = []; var _local9 = []; for (var _local32 in prop) { _local11.push(mtarget[prop[_local32]]); } for (var _local32 in prop) { _local7.push(prop[_local32]); } for (var _local32 in propDest) { _local9.push(propDest[_local32]); } } var _local12 = false; if (_root.__tweenController__ == undefined) { _global.$createTweenController(); } var _local4 = _root.__tweenController__.$_tweenPropList; var _local8 = _root.__tweenController__.$_tTime; for (var _local32 in _local11) { if ((_local9[_local32] != undefined) && (!mtarget.$_isTweenLocked)) { if (mtarget.$_tweenCount > 0) { var _local3 = 0; while (_local3 < _local4.length) { if ((_local4[_local3]._targ == mtarget) && (_local4[_local3]._prop == _local7[_local32])) { if ((_local8 + (delay * 1000)) < _local4[_local3]._timeDest) { _local4.splice(_local3, 1); _local3--; mtarget.$_tweenCount--; } } _local3++; } } _local4.push({_prop:_local7[_local32], _targ:mtarget, _propStart:undefined, _propDest:_local9[_local32], _timeStart:_local8, _timeDest:_local8 + (timeSeconds * 1000), _animType:animType, _extra1:extra1, _extra2:extra2, _extras:extras, _delay:delay, _isPaused:false, _timePaused:0, _callback:(_local12 ? undefined : (callback))}); mtarget.$_tweenCount = ((mtarget.$_tweenCount > 0) ? (mtarget.$_tweenCount + 1) : 1); _local12 = true; } } ASSetPropFlags(mtarget, "$_tweenCount", 1, 0); }; ASSetPropFlags(_global, "$addTween", 1, 0); _global.$updateTweens = function () { var _local8 = (this.$_tTime = getTimer()); var _local6 = 0; while (_local6 < this.$_tweenPropList.length) { var _local3 = this.$_tweenPropList[_local6]; if (_local3._targ.toString() == undefined) { this.$_tweenPropList.splice(_local6, 1); _local6--; } else if (((_local3._timeStart + (_local3._delay * 1000)) <= _local8) && (!_local3._isPaused)) { if (_local3._propStart == undefined) { if (_local3._prop.substr(0, 10) == "__special_") { if (_local3._prop == "__special_mc_frame__") { _local3._propStart = _local3._targ._currentframe; } else if (_local3._prop == "__special_mc_ra__") { _local3._propStart = new Color(_local3._targ).getTransform().ra; } else if (_local3._prop == "__special_mc_rb__") { _local3._propStart = new Color(_local3._targ).getTransform().rb; } else if (_local3._prop == "__special_mc_ga__") { _local3._propStart = new Color(_local3._targ).getTransform().ga; } else if (_local3._prop == "__special_mc_gb__") { _local3._propStart = new Color(_local3._targ).getTransform().gb; } else if (_local3._prop == "__special_mc_ba__") { _local3._propStart = new Color(_local3._targ).getTransform().ba; } else if (_local3._prop == "__special_mc_bb__") { _local3._propStart = new Color(_local3._targ).getTransform().bb; } else if (_local3._prop == "__special_mc_aa__") { _local3._propStart = new Color(_local3._targ).getTransform().aa; } else if (_local3._prop == "__special_mc_ab__") { _local3._propStart = new Color(_local3._targ).getTransform().ab; } else if (_local3._prop == "__special_text_r__") { _local3._propStart = _local3._targ.textColor >> 16; } else if (_local3._prop == "__special_text_g__") { _local3._propStart = (_local3._targ.textColor & 65280) >> 8; } else if (_local3._prop == "__special_text_b__") { _local3._propStart = _local3._targ.textColor & 255; } else if (_local3._prop == "__special_sound_volume__") { _local3._propStart = _local3._targ.getVolume(); } else if (_local3._prop == "__special_sound_pan__") { _local3._propStart = _local3._targ.getPan(); } else if (_local3._prop == "__special_bst_t__") { _local3._propStart = 0; _local3._extras.__special_bst_ix__ = _local3._targ._x; _local3._extras.__special_bst_iy__ = _local3._targ._y; } else if (_local3._prop == "__special_blur_x__") { var _local5 = 0; while (_local5 < _local3._targ.filters.length) { if (_local3._targ.filters[_local5] instanceof flash.filters.BlurFilter) { _local3._propStart = _local3._targ.filters[_local5].blurX; } _local5++; } if (_local3._propStart == undefined) { _local3._propStart = 0; } } else if (_local3._prop == "__special_blur_y__") { var _local5 = 0; while (_local5 < _local3._targ.filters.length) { if (_local3._targ.filters[_local5] instanceof flash.filters.BlurFilter) { _local3._propStart = _local3._targ.filters[_local5].blurY; } _local5++; } if (_local3._propStart == undefined) { _local3._propStart = 0; } } else if (_local3._prop == "__special_glow_color__") { var _local5 = 0; while (_local5 < _local3._targ.filters.length) { if (_local3._targ.filters[_local5] instanceof flash.filters.GlowFilter) { _local3._propStart = _local3._targ.filters[_local5].color; } _local5++; } if (_local3._propStart == undefined) { _local3._propStart = 16777215 /* 0xFFFFFF */; } } else if (_local3._prop == "__special_glow_alpha__") { var _local5 = 0; while (_local5 < _local3._targ.filters.length) { if (_local3._targ.filters[_local5] instanceof flash.filters.GlowFilter) { _local3._propStart = _local3._targ.filters[_local5].alpha; } _local5++; } if (_local3._propStart == undefined) { _local3._propStart = 1; } } else if (_local3._prop == "__special_glow_blurX__") { var _local5 = 0; while (_local5 < _local3._targ.filters.length) { if (_local3._targ.filters[_local5] instanceof flash.filters.GlowFilter) { _local3._propStart = _local3._targ.filters[_local5].blurX; } _local5++; } if (_local3._propStart == undefined) { _local3._propStart = 0; } } else if (_local3._prop == "__special_glow_blurY__") { var _local5 = 0; while (_local5 < _local3._targ.filters.length) { if (_local3._targ.filters[_local5] instanceof flash.filters.GlowFilter) { _local3._propStart = _local3._targ.filters[_local5].blurY; } _local5++; } if (_local3._propStart == undefined) { _local3._propStart = 0; } } else if (_local3._prop == "__special_glow_strength__") { var _local5 = 0; while (_local5 < _local3._targ.filters.length) { if (_local3._targ.filters[_local5] instanceof flash.filters.GlowFilter) { _local3._propStart = _local3._targ.filters[_local5].strength; } _local5++; } if (_local3._propStart == undefined) { _local3._propStart = 1; } } else if (_local3._prop == "__special_bevel_distance__") { var _local5 = 0; while (_local5 < _local3._targ.filters.length) { if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) { _local3._propStart = _local3._targ.filters[_local5].distance; } _local5++; } if (_local3._propStart == undefined) { _local3._propStart = 0; } } else if (_local3._prop == "__special_bevel_angle__") { var _local5 = 0; while (_local5 < _local3._targ.filters.length) { if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) { _local3._propStart = _local3._targ.filters[_local5].angle; } _local5++; } if (_local3._propStart == undefined) { _local3._propStart = 45; } } else if (_local3._prop == "__special_bevel_highlightColor__") { var _local5 = 0; while (_local5 < _local3._targ.filters.length) { if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) { _local3._propStart = _local3._targ.filters[_local5].highlightColor; } _local5++; } if (_local3._propStart == undefined) { _local3._propStart = 16777215 /* 0xFFFFFF */; } } else if (_local3._prop == "__special_bevel_highlightAlpha__") { var _local5 = 0; while (_local5 < _local3._targ.filters.length) { if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) { _local3._propStart = _local3._targ.filters[_local5].highlightAlpha; } _local5++; } if (_local3._propStart == undefined) { _local3._propStart = 1; } } else if (_local3._prop == "__special_bevel_shadowColor__") { var _local5 = 0; while (_local5 < _local3._targ.filters.length) { if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) { _local3._propStart = _local3._targ.filters[_local5].shadowColor; } _local5++; } if (_local3._propStart == undefined) { _local3._propStart = 0; } } else if (_local3._prop == "__special_bevel_shadowAlpha__") { var _local5 = 0; while (_local5 < _local3._targ.filters.length) { if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) { _local3._propStart = _local3._targ.filters[_local5].shadowAlpha; } _local5++; } if (_local3._propStart == undefined) { _local3._propStart = 1; } } else if (_local3._prop == "__special_bevel_blurX__") { var _local5 = 0; while (_local5 < _local3._targ.filters.length) { if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) { _local3._propStart = _local3._targ.filters[_local5].blurX; } _local5++; } if (_local3._propStart == undefined) { _local3._propStart = 0; } } else if (_local3._prop == "__special_bevel_blurY__") { var _local5 = 0; while (_local5 < _local3._targ.filters.length) { if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) { _local3._propStart = _local3._targ.filters[_local5].blurY; } _local5++; } if (_local3._propStart == undefined) { _local3._propStart = 0; } } else if (_local3._prop == "__special_bevel_strength__") { var _local5 = 0; while (_local5 < _local3._targ.filters.length) { if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) { _local3._propStart = _local3._targ.filters[_local5].strength; } _local5++; } if (_local3._propStart == undefined) { _local3._propStart = 1; } } else { _local3._propStart = _local3._targ[_local3._prop]; } } else { _local3._propStart = _local3._targ[_local3._prop]; } } var _local10 = _local3._timeDest + (_local3._delay * 1000); if (_local10 <= _local8) { var _local4 = _local3._propDest; } else { var _local4 = _global.findTweenValue(_local3._propStart, _local3._propDest, _local3._timeStart, _local8 - (_local3._delay * 1000), _local3._timeDest, _local3._animType, _local3._extra1, _local3._extra2); } _local3._targ[_local3._prop] = (_local3._extras.mustRound ? (Math.round(_local4)) : (_local4)); if (_local3._prop == "__special_mc_frame__") { _local3._targ.gotoAndStop(Math.round(_local4)); } else if (_local3._prop == "__special_mc_ra__") { new Color(_local3._targ).setTransform({ra:_local4}); } else if (_local3._prop == "__special_mc_rb__") { new Color(_local3._targ).setTransform({rb:_local4}); } else if (_local3._prop == "__special_mc_ga__") { new Color(_local3._targ).setTransform({ga:_local4}); } else if (_local3._prop == "__special_mc_gb__") { new Color(_local3._targ).setTransform({gb:_local4}); } else if (_local3._prop == "__special_mc_ba__") { new Color(_local3._targ).setTransform({ba:_local4}); } else if (_local3._prop == "__special_mc_bb__") { new Color(_local3._targ).setTransform({bb:_local4}); } else if (_local3._prop == "__special_mc_aa__") { new Color(_local3._targ).setTransform({aa:_local4}); } else if (_local3._prop == "__special_mc_ab__") { new Color(_local3._targ).setTransform({ab:_local4}); } if (_local3._prop == "__special_bst_t__") { var _local7 = _local3._extras; var _local9 = _global.findPointOnCurve(_local7.__special_bst_ix__, _local7.__special_bst_iy__, _local7.__special_bst_cx__, _local7.__special_bst_cy__, _local7.__special_bst_dx__, _local7.__special_bst_dy__, _local4); if (_local3._extras.mustRound) { _local3._targ._x = Math.round(_local9.x); _local3._targ._y = Math.round(_local9.y); } else { _local3._targ._x = _local9.x; _local3._targ._y = _local9.y; } } if ((typeof(_local3._targ) != "movieclip") && (_local3._prop == "__special_text_b__")) { _local3._targ.textColor = ((_local3._targ.__special_text_r__ << 16) + (_local3._targ.__special_text_g__ << 8)) + _local3._targ.__special_text_b__; } if (_local3._prop == "__special_sound_volume__") { _local3._targ.setVolume(_local4); } if (_local3._prop == "__special_sound_pan__") { _local3._targ.setPan(_local4); } if (_local3._prop == "__special_blur_x__") { _global.$setFilterProperty(_local3._targ, "blur_blurX", _local4, _local3._extras); } if (_local3._prop == "__special_blur_y__") { _global.$setFilterProperty(_local3._targ, "blur_blurY", _local4, _local3._extras); } if (_local3._prop == "__special_glow_color__") { _global.$setFilterProperty(_local3._targ, "glow_color", _global.findTweenColor(_local3, _local8), _local3._extras); } if (_local3._prop == "__special_glow_alpha__") { _global.$setFilterProperty(_local3._targ, "glow_alpha", _local4, _local3._extras); } if (_local3._prop == "__special_glow_blurX__") { _global.$setFilterProperty(_local3._targ, "glow_blurX", _local4, _local3._extras); } if (_local3._prop == "__special_glow_blurY__") { _global.$setFilterProperty(_local3._targ, "glow_blurY", _local4, _local3._extras); } if (_local3._prop == "__special_glow_strength__") { _global.$setFilterProperty(_local3._targ, "glow_strength", _local4, _local3._extras); } if (_local3._prop == "__special_bevel_distance__") { _global.$setFilterProperty(_local3._targ, "bevel_distance", _local4, _local3._extras); } if (_local3._prop == "__special_bevel_angle__") { _global.$setFilterProperty(_local3._targ, "bevel_angle", _local4, _local3._extras); } if (_local3._prop == "__special_bevel_highlightColor__") { _global.$setFilterProperty(_local3._targ, "bevel_highlightColor", _global.findTweenColor(_local3, _local8), _local3._extras); } if (_local3._prop == "__special_bevel_highlightAlpha__") { _global.$setFilterProperty(_local3._targ, "bevel_highlightAlpha", _local4, _local3._extras); } if (_local3._prop == "__special_bevel_shadowColor__") { _global.$setFilterProperty(_local3._targ, "bevel_shadowColor", _global.findTweenColor(_local3, _local8), _local3._extras); } if (_local3._prop == "__special_bevel_shadowAlpha__") { _global.$setFilterProperty(_local3._targ, "bevel_shadowAlpha", _local4, _local3._extras); } if (_local3._prop == "__special_bevel_blurX__") { _global.$setFilterProperty(_local3._targ, "bevel_blurX", _local4, _local3._extras); } if (_local3._prop == "__special_bevel_blurY__") { _global.$setFilterProperty(_local3._targ, "bevel_blurY", _local4, _local3._extras); } if (_local3._prop == "__special_bevel_strength__") { _global.$setFilterProperty(_local3._targ, "bevel_strength", _local4, _local3._extras); } if (_local3._targ.onTweenUpdate != undefined) { _local3._targ.onTweenUpdate(_local3._prop); } if (_local10 <= _local8) { if (_local3._targ.onTweenComplete != undefined) { _local3._targ.onTweenComplete(_local3._prop); } _global.$stopTween(_local3._targ, [_local3._prop], false); _local6--; if (_local3._callback != undefined) { if (_global.backwardCallbackTweening) { var _local11 = _local3._targ.createEmptyMovieClip("__child__", 122344); _local3._callback.apply(_local11, null); _local11.removeMovieClip(); } else { _local3._callback.apply(_local3._targ, null); } } } } _local6++; } if (this.$_tweenPropList.length == 0) { _global.$removeTweenController(); } }; ASSetPropFlags(_global, "$updateTween", 1, 0); _global.$stopTween = function (mtarget, props, wipeFuture) { var _local4 = _root.__tweenController__.$_tweenPropList; var _local7; for (var _local9 in _local4) { _local7 = _local4[_local9]._prop; var _local5 = 0; while ((_local5 < props.length) || ((_local5 < 1) && (props == undefined))) { if (((_local4[_local9]._targ == mtarget) && ((_local7 == props[_local5]) || (props == undefined))) && (wipeFuture || ((_local4[_local9]._timeDest + (_local4[_local9]._delay * 1000)) <= getTimer()))) { switch (_local7) { case "__special_mc_frame__" : case "__special_mc_ra__" : case "__special_mc_rb__" : case "__special_mc_ga__" : case "__special_mc_gb__" : case "__special_mc_ba__" : case "__special_mc_bb__" : case "__special_mc_aa__" : case "__special_mc_ab__" : case "__special_sound_volume__" : case "__special_bst_t__" : delete mtarget[_local7]; break; case "__special_text_b__" : delete mtarget.__special_text_r__; delete mtarget.__special_text_g__; delete mtarget.__special_text_b__; } _local4.splice(_local9, 1); } _local5++; } } if (props == undefined) { delete mtarget.$_tweenCount; } else { mtarget.$_tweenCount = 0; for (var _local9 in _local4) { if (_local4[_local9]._targ == mtarget) { mtarget.$_tweenCount++; } } if (mtarget.$_tweenCount == 0) { delete mtarget.$_tweenCount; } } if (_local4.length == 0) { _global.$removeTweenController(); } }; ASSetPropFlags(_global, "$stopTween", 1, 0); _global.$setFilterProperty = function (mtarget, propName, propValue, extras) { var _local1; var _local7 = false; var _local3 = []; _local1 = 0; while (_local1 < mtarget.filters.length) { _local3.push(mtarget.filters[_local1]); _local1++; } if (propName.substr(0, 5) == "blur_") { _local1 = 0; while (_local1 < mtarget.filters.length) { if (_local3[_local1] instanceof flash.filters.BlurFilter) { _local3[_local1][propName.substr(5)] = propValue; if (extras.__special_blur_quality__ != undefined) { _local3[_local1].quality = extras.__special_blur_quality__; } _local7 = true; break; } _local1++; } if (!_local7) { var _local9; var _local8 = ((extras.__special_blur_quality__ == undefined) ? 2 : (extras.__special_blur_quality__)); if (propName == "blur_blurX") { _local9 = new flash.filters.BlurFilter(propValue, 0, _local8); } if (propName == "blur_blurY") { _local9 = new flash.filters.BlurFilter(0, propValue, _local8); } _local3.push(_local9); } } else if (propName.substr(0, 5) == "glow_") { _local1 = 0; while (_local1 < mtarget.filters.length) { if (_local3[_local1] instanceof flash.filters.GlowFilter) { _local3[_local1][propName.substr(5)] = propValue; if (extras.__special_glow_quality__ != undefined) { _local3[_local1].quality = extras.__special_glow_quality__; } if (extras.__special_glow_inner__ != undefined) { _local3[_local1].inner = extras.__special_glow_inner__; } if (extras.__special_glow_knockout__ != undefined) { _local3[_local1].knockout = extras.__special_glow_knockout__; } _local7 = true; break; } _local1++; } if (!_local7) { var _local8 = ((extras.__special_glow_quality__ == undefined) ? 2 : (extras.__special_glow_quality__)); var _local12 = ((extras.__special_glow_inner__ == undefined) ? false : (extras.__special_glow_inner__)); var _local10 = ((extras.__special_glow_knockout__ == undefined) ? false : (extras.__special_glow_knockout__)); if (propName == "glow_color") { var _local9 = new flash.filters.GlowFilter(propValue, 1, 0, 0, 1, _local8, _local12, _local10); } if (propName == "glow_alpha") { var _local9 = new flash.filters.GlowFilter(16777215, propValue, 0, 0, 1, _local8, _local12, _local10); } if (propName == "glow_blurX") { var _local9 = new flash.filters.GlowFilter(16777215, 1, propValue, 0, 1, _local8, _local12, _local10); } if (propName == "glow_blurY") { var _local9 = new flash.filters.GlowFilter(16777215, 1, 0, propValue, 1, _local8, _local12, _local10); } if (propName == "glow_strength") { var _local9 = new flash.filters.GlowFilter(16777215, 1, 0, 0, propValue, _local8, _local12, _local10); } _local3.push(_local9); } } else if (propName.substr(0, 6) == "bevel_") { _local1 = 0; while (_local1 < mtarget.filters.length) { if (_local3[_local1] instanceof flash.filters.BevelFilter) { _local3[_local1][propName.substr(6)] = propValue; if (extras.__special_bevel_quality__ != undefined) { _local3[_local1].quality = extras.__special_bevel_quality__; } if (extras.__special_bevel_type__ != undefined) { _local3[_local1].inner = extras.__special_bevel_type__; } if (extras.__special_bevel_knockout__ != undefined) { _local3[_local1].knockout = extras.__special_bevel_knockout__; } _local7 = true; break; } _local1++; } if (!_local7) { var _local8 = ((extras.__special_bevel_quality__ == undefined) ? 2 : (extras.__special_bevel_quality__)); var _local11 = ((extras.__special_bevel_type__ == undefined) ? "inner" : (extras.__special_bevel_type__)); var _local10 = ((extras.__special_bevel_knockout__ == undefined) ? false : (extras.__special_bevel_knockout__)); if (propName == "bevel_distance") { var _local9 = new flash.filters.BevelFilter(propValue, 45, 16777215, 1, 0, 1, 0, 0, 1, _local8, _local11, _local10); } if (propName == "bevel_angle") { var _local9 = new flash.filters.BevelFilter(0, propValue, 16777215, 1, 0, 1, 0, 0, 1, _local8, _local11, _local10); } if (propName == "bevel_highlightColor") { var _local9 = new flash.filters.BevelFilter(0, 45, propValue, 1, 0, 1, 0, 0, 1, _local8, _local11, _local10); } if (propName == "bevel_highlightAlpha") { var _local9 = new flash.filters.BevelFilter(0, 45, 16777215, propValue, 0, 1, 0, 0, 1, _local8, _local11, _local10); } if (propName == "bevel_shadowColor") { var _local9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, propValue, 1, 0, 0, 1, _local8, _local11, _local10); } if (propName == "bevel_shadowAlpha") { var _local9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, propValue, 0, 0, 1, _local8, _local11, _local10); } if (propName == "bevel_blurX") { var _local9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, 1, propValue, 0, 1, _local8, _local11, _local10); } if (propName == "bevel_blurY") { var _local9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, 1, 0, propValue, 1, _local8, _local11, _local10); } if (propName == "bevel_strength") { var _local9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, 1, 0, 0, propValue, _local8, _local11, _local10); } _local3.push(_local9); } } else { return(undefined); } mtarget.filters = _local3; }; MovieClip.prototype.tween = (TextField.prototype.tween = (Sound.prototype.tween = function (prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2); })); ASSetPropFlags(MovieClip.prototype, "tween", 1, 0); ASSetPropFlags(TextField.prototype, "tween", 1, 0); ASSetPropFlags(Sound.prototype, "tween", 1, 0); MovieClip.prototype.roundedTween = (TextField.prototype.roundedTween = (Sound.prototype.roundedTween = function (prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2, {mustRound:true}); })); ASSetPropFlags(MovieClip.prototype, "roundedTween", 1, 0); ASSetPropFlags(TextField.prototype, "roundedTween", 1, 0); ASSetPropFlags(Sound.prototype, "roundedTween", 1, 0); MovieClip.prototype.stopTween = (TextField.prototype.stopTween = (Sound.prototype.stopTween = function (props) { if (typeof(props) == "string") { props = [props]; } if (props != undefined) { var _local4 = 1; while (_local4 < arguments.length) { props.push(arguments[_local4]); _local4++; } } _global.$stopTween(this, props, true); })); ASSetPropFlags(MovieClip.prototype, "stopTween", 1, 0); ASSetPropFlags(TextField.prototype, "stopTween", 1, 0); ASSetPropFlags(Sound.prototype, "stopTween", 1, 0); MovieClip.prototype.pauseTween = (TextField.prototype.pauseTween = (Sound.prototype.pauseTween = function (props) { if (props != undefined) { if (typeof(props) == "string") { props = [props]; } var _local6 = 1; while (_local6 < Arguments.length) { props.push(Arguments[_local6]); _local6++; } } var _local4 = _root.__tweenController__.$_tweenPropList; var _local5; for (var _local7 in _local4) { if ((_local4[_local7]._targ == this) && (!_local4[_local7]._isPaused)) { if (props != undefined) { _local5 = false; for (var _local6 in props) { if (props[_local6] == _local4[_local7]._prop) { _local5 = true; break; } } } if ((props == undefined) || (_local5)) { _local4[_local7]._isPaused = true; _local4[_local7]._timePaused = _root.__tweenController__.$_tTime; } } } })); ASSetPropFlags(MovieClip.prototype, "pauseTween", 1, 0); ASSetPropFlags(TextField.prototype, "pauseTween", 1, 0); ASSetPropFlags(Sound.prototype, "pauseTween", 1, 0); MovieClip.prototype.resumeTween = (TextField.prototype.resumeTween = (Sound.prototype.resumeTween = function (props) { if (props != undefined) { if (typeof(props) == "string") { props = [props]; } var _local7 = 1; while (_local7 < Arguments.length) { props.push(Arguments[_local7]); _local7++; } } var _local3 = _root.__tweenController__.$_tweenPropList; var _local5; var _local6; for (var _local8 in _local3) { if ((_local3[_local8]._targ == this) && (_local3[_local8]._isPaused)) { if (props != undefined) { _local5 = false; for (var _local7 in props) { if (props[_local7] == _local3[_local8]._prop) { _local5 = true; break; } } } if ((props == undefined) || (_local5)) { _local3[_local8]._isPaused = false; _local6 = _root.__tweenController__.$_tTime - _local3[_local8]._timePaused; _local3[_local8]._timeStart = _local3[_local8]._timeStart + _local6; _local3[_local8]._timeDest = _local3[_local8]._timeDest + _local6; _local3[_local8]._timePaused = 0; } } } })); ASSetPropFlags(MovieClip.prototype, "resumeTween", 1, 0); ASSetPropFlags(TextField.prototype, "resumeTween", 1, 0); ASSetPropFlags(Sound.prototype, "resumeTween", 1, 0); MovieClip.prototype.lockTween = (TextField.prototype.lockTween = (Sound.prototype.lockTween = function () { this.$_isTweenLocked = true; ASSetPropFlags(this, "this.$_isTweenLocked", 1, 0); })); ASSetPropFlags(MovieClip.prototype, "lockTween", 1, 0); ASSetPropFlags(TextField.prototype, "lockTween", 1, 0); ASSetPropFlags(Sound.prototype, "lockTween", 1, 0); MovieClip.prototype.unlockTween = (TextField.prototype.unlockTween = (Sound.prototype.unlockTween = function () { delete this.$_isTweenLocked; })); ASSetPropFlags(MovieClip.prototype, "unlockTween", 1, 0); ASSetPropFlags(TextField.prototype, "unlockTween", 1, 0); ASSetPropFlags(Sound.prototype, "unlockTween", 1, 0); MovieClip.prototype.getTweens = (TextField.prototype.getTweens = (Sound.prototype.getTweens = function () { return(this.$_tweenCount); })); ASSetPropFlags(MovieClip.prototype, "getTweens", 1, 0); ASSetPropFlags(TextField.prototype, "getTweens", 1, 0); ASSetPropFlags(Sound.prototype, "getTweens", 1, 0); MovieClip.prototype.isTweening = (TextField.prototype.isTweening = (Sound.prototype.isTweening = function () { return(((this.$_tweenCount > 0) ? true : false)); })); ASSetPropFlags(MovieClip.prototype, "isTweening", 1, 0); ASSetPropFlags(TextField.prototype, "isTweening", 1, 0); ASSetPropFlags(Sound.prototype, "isTweening", 1, 0); MovieClip.prototype.alphaTo = (TextField.prototype.alphaTo = function (propDest_a, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, "_alpha", propDest_a, timeSeconds, animType, delay, callback, extra1, extra2); }); ASSetPropFlags(MovieClip.prototype, "alphaTo", 1, 0); ASSetPropFlags(TextField.prototype, "alphaTo", 1, 0); MovieClip.prototype.frameTo = function (propDest_frame, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, "__special_mc_frame__", propDest_frame, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(MovieClip.prototype, "frameTo", 1, 0); MovieClip.prototype.resizeTo = (TextField.prototype.resizeTo = function (propDest_width, propDest_height, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ["_width", "_height"], [propDest_width, propDest_height], timeSeconds, animType, delay, callback, extra1, extra2); }); ASSetPropFlags(MovieClip.prototype, "resizeTo", 1, 0); ASSetPropFlags(TextField.prototype, "resizeTo", 1, 0); MovieClip.prototype.rotateTo = (TextField.prototype.rotateTo = function (propDest_rotation, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, "_rotation", propDest_rotation, timeSeconds, animType, delay, callback, extra1, extra2); }); ASSetPropFlags(MovieClip.prototype, "rotateTo", 1, 0); ASSetPropFlags(TextField.prototype, "rotateTo", 1, 0); MovieClip.prototype.scaleTo = (TextField.prototype.scaleTo = function (propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ["_xscale", "_yscale"], [propDest_scale, propDest_scale], timeSeconds, animType, delay, callback, extra1, extra2); }); ASSetPropFlags(MovieClip.prototype, "scaleTo", 1, 0); ASSetPropFlags(TextField.prototype, "scaleTo", 1, 0); MovieClip.prototype.xScaleTo = (TextField.prototype.xScaleTo = function (propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, "_xscale", propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2); }); ASSetPropFlags(MovieClip.prototype, "xScaleTo", 1, 0); ASSetPropFlags(TextField.prototype, "xScaleTo", 1, 0); MovieClip.prototype.yScaleTo = (TextField.prototype.yScaleTo = function (propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, "_yscale", propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2); }); ASSetPropFlags(MovieClip.prototype, "yScaleTo", 1, 0); ASSetPropFlags(TextField.prototype, "yScaleTo", 1, 0); TextField.prototype.scrollTo = function (propDest_scroll, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, "scroll", propDest_scroll, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(TextField.prototype, "scrollTo", 1, 0); MovieClip.prototype.slideTo = (TextField.prototype.slideTo = function (propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ["_x", "_y"], [propDest_x, propDest_y], timeSeconds, animType, delay, callback, extra1, extra2); }); ASSetPropFlags(MovieClip.prototype, "slideTo", 1, 0); ASSetPropFlags(TextField.prototype, "slideTo", 1, 0); MovieClip.prototype.roundedSlideTo = (TextField.prototype.roundedSlideTo = function (propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ["_x", "_y"], [propDest_x, propDest_y], timeSeconds, animType, delay, callback, extra1, extra2, {mustRound:true}); }); ASSetPropFlags(MovieClip.prototype, "roundedSlideTo", 1, 0); ASSetPropFlags(TextField.prototype, "roundedSlideTo", 1, 0); MovieClip.prototype.xSlideTo = (TextField.prototype.xSlideTo = function (propDest_x, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, "_x", propDest_x, timeSeconds, animType, delay, callback, extra1, extra2); }); ASSetPropFlags(MovieClip.prototype, "xSlideTo", 1, 0); ASSetPropFlags(TextField.prototype, "xSlideTo", 1, 0); MovieClip.prototype.roundedXSlideTo = (TextField.prototype.roundedXSlideTo = function (propDest_x, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, "_x", propDest_x, timeSeconds, animType, delay, callback, extra1, extra2, {mustRound:true}); }); ASSetPropFlags(MovieClip.prototype, "roundedXSlideTo", 1, 0); ASSetPropFlags(TextField.prototype, "roundedXSlideTo", 1, 0); MovieClip.prototype.ySlideTo = (TextField.prototype.ySlideTo = function (propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, "_y", propDest_y, timeSeconds, animType, delay, callback, extra1, extra2); }); ASSetPropFlags(MovieClip.prototype, "ySlideTo", 1, 0); ASSetPropFlags(TextField.prototype, "ySlideTo", 1, 0); MovieClip.prototype.roundedYSlideTo = (TextField.prototype.roundedYSlideTo = function (propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, "_y", propDest_y, timeSeconds, animType, delay, callback, extra1, extra2, {mustRound:true}); }); ASSetPropFlags(MovieClip.prototype, "roundedYSlideTo", 1, 0); ASSetPropFlags(TextField.prototype, "roundedYSlideTo", 1, 0); MovieClip.prototype.bezierSlideTo = (TextField.prototype.bezierSlideTo = function (cpoint_x, cpoint_y, propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { var _local3 = new Object(); _local3.__special_bst_ix__ = undefined; _local3.__special_bst_iy__ = undefined; _local3.__special_bst_cx__ = cpoint_x; _local3.__special_bst_cy__ = cpoint_y; _local3.__special_bst_dx__ = propDest_x; _local3.__special_bst_dy__ = propDest_y; _global.$addTween(this, "__special_bst_t__", 1, timeSeconds, animType, delay, callback, extra1, extra2, _local3); }); ASSetPropFlags(MovieClip.prototype, "bezierSlideTo", 1, 0); ASSetPropFlags(TextField.prototype, "bezierSlideTo", 1, 0); MovieClip.prototype.roundedBezierSlideTo = (TextField.prototype.roundedBezierSlideTo = function (cpoint_x, cpoint_y, propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { var _local3 = new Object(); _local3.__special_bst_ix__ = undefined; _local3.__special_bst_iy__ = undefined; _local3.__special_bst_cx__ = cpoint_x; _local3.__special_bst_cy__ = cpoint_y; _local3.__special_bst_dx__ = propDest_x; _local3.__special_bst_dy__ = propDest_y; _local3.mustRound = true; _global.$addTween(this, "__special_bst_t__", 1, timeSeconds, animType, delay, callback, extra1, extra2, _local3); }); ASSetPropFlags(MovieClip.prototype, "roundedBezierSlideTo", 1, 0); ASSetPropFlags(TextField.prototype, "roundedBezierSlideTo", 1, 0); Sound.prototype.volumeTo = function (propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, "__special_sound_volume__", propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(Sound.prototype, "volumeTo", 1, 0); Sound.prototype.panTo = function (propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, "__special_sound_pan__", propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(Sound.prototype, "panTo", 1, 0); MovieClip.prototype.colorTo = function (propDest_color, timeSeconds, animType, delay, callback, extra1, extra2) { if (propDest_color == null) { this.colorTransformTo(100, 0, 100, 0, 100, 0, undefined, undefined, timeSeconds, animType, delay, callback, extra1, extra2); } else { var _local3 = propDest_color >> 16; var _local5 = (propDest_color & 65280) >> 8; var _local4 = propDest_color & 255; this.colorTransformTo(0, _local3, 0, _local5, 0, _local4, undefined, undefined, timeSeconds, animType, delay, callback, extra1, extra2); } }; ASSetPropFlags(MovieClip.prototype, "colorTo", 1, 0); TextField.prototype.colorTo = function (propDest_color, timeSeconds, animType, delay, callback, extra1, extra2) { var _local3 = propDest_color >> 16; var _local6 = (propDest_color & 65280) >> 8; var _local4 = propDest_color & 255; _global.$addTween(this, ["__special_text_r__", "__special_text_g__", "__special_text_b__"], [_local3, _local6, _local4], timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(TextField.prototype, "colorTo", 1, 0); MovieClip.prototype.colorTransformTo = function () { if ((typeof(arguments[0]) == "object") && (arguments[0] != undefined)) { _global.$addTween(this, ["__special_mc_ra__", "__special_mc_rb__", "__special_mc_ga__", "__special_mc_gb__", "__special_mc_ba__", "__special_mc_bb__", "__special_mc_aa__", "__special_mc_ab__"], [arguments[0].ra, arguments[0].rb, arguments[0].ga, arguments[0].gb, arguments[0].ba, arguments[0].bb, arguments[0].aa, arguments[0].ab], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6]); } else { _global.$addTween(this, ["__special_mc_ra__", "__special_mc_rb__", "__special_mc_ga__", "__special_mc_gb__", "__special_mc_ba__", "__special_mc_bb__", "__special_mc_aa__", "__special_mc_ab__"], [arguments[0], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], arguments[7]], arguments[8], arguments[9], arguments[10], arguments[11], arguments[12], arguments[13]); } }; ASSetPropFlags(MovieClip.prototype, "colorTransformTo", 1, 0); MovieClip.prototype.blurTo = (TextField.prototype.blurTo = function () { if ((typeof(arguments[0]) == "object") && (arguments[0] != undefined)) { _global.$addTween(this, ["__special_blur_x__", "__special_blur_y__"], [arguments[0].blurX, arguments[0].blurY], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], {__special_blur_quality__:arguments[0].quality}); } else { _global.$addTween(this, ["__special_blur_x__", "__special_blur_y__"], [arguments[0], arguments[0]], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], arguments[7], {__special_blur_quality__:arguments[1]}); } }); ASSetPropFlags(MovieClip.prototype, "blurTo", 1, 0); ASSetPropFlags(TextField.prototype, "blurTo", 1, 0); MovieClip.prototype.xyBlurTo = (TextField.prototype.xyBlurTo = function (propDest_blurX, propDest_blurY, quality, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ["__special_blur_x__", "__special_blur_y__"], [propDest_blurX, propDest_blurY], timeSeconds, animType, delay, callback, extra1, extra2, {__special_blur_quality__:quality}); }); ASSetPropFlags(MovieClip.prototype, "xyBlurTo", 1, 0); ASSetPropFlags(TextField.prototype, "xyBlurTo", 1, 0); MovieClip.prototype.xBlurTo = (TextField.prototype.xBlurTo = function (propDest_blur, quality, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, "__special_blur_x__", propDest_blur, timeSeconds, animType, delay, callback, extra1, extra2, {__special_blur_quality__:quality}); }); ASSetPropFlags(MovieClip.prototype, "xBlurTo", 1, 0); ASSetPropFlags(TextField.prototype, "xBlurTo", 1, 0); MovieClip.prototype.yBlurTo = (TextField.prototype.yBlurTo = function (propDest_blur, quality, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, "__special_blur_y__", propDest_blur, timeSeconds, animType, delay, callback, extra1, extra2, {__special_blur_quality__:quality}); }); ASSetPropFlags(MovieClip.prototype, "yBlurTo", 1, 0); ASSetPropFlags(TextField.prototype, "yBlurTo", 1, 0); MovieClip.prototype.glowTo = (TextField.prototype.glowTo = function () { if ((typeof(arguments[0]) == "object") && (arguments[0] != undefined)) { _global.$addTween(this, ["__special_glow_color__", "__special_glow_alpha__", "__special_glow_blurX__", "__special_glow_blurY__", "__special_glow_strength__"], [arguments[0].color, arguments[0].alpha, arguments[0].blurX, arguments[0].blurY, arguments[0].strength], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], {__special_glow_quality__:arguments[0].quality, __special_glow_inner__:arguments[0].inner, __special_glow_knockout__:arguments[0].knockout}); } else { _global.$addTween(this, ["__special_glow_color__", "__special_glow_alpha__", "__special_glow_blurX__", "__special_glow_blurY__", "__special_glow_strength__"], [arguments[0], arguments[1], arguments[2], arguments[2], arguments[3]], arguments[7], arguments[8], arguments[9], arguments[10], arguments[11], arguments[12], {__special_glow_quality__:arguments[4], __special_glow_inner__:arguments[5], __special_glow_knockout__:arguments[6]}); } }); ASSetPropFlags(MovieClip.prototype, "glowTo", 1, 0); ASSetPropFlags(TextField.prototype, "glowTo", 1, 0); MovieClip.prototype.xyGlowTo = (TextField.prototype.xyGlowTo = function (propDest_color, propDest_alpha, propDest_blurX, propDest_blurY, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ["__special_glow_color__", "__special_glow_alpha__", "__special_glow_blurX__", "__special_glow_blurY__", "__special_glow_strength__"], [propDest_color, propDest_alpha, propDest_blurX, propDest_blurY, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {__special_glow_quality__:quality, __special_glow_inner__:inner, __special_glow_knockout__:knockout}); }); ASSetPropFlags(MovieClip.prototype, "xyGlowTo", 1, 0); ASSetPropFlags(TextField.prototype, "xyGlowTo", 1, 0); MovieClip.prototype.xGlowTo = (TextField.prototype.xGlowTo = function (propDest_color, propDest_alpha, propDest_blur, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ["__special_glow_color__", "__special_glow_alpha__", "__special_glow_blurX__", "__special_glow_strength__"], [propDest_color, propDest_alpha, propDest_blur, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {__special_glow_quality__:quality, __special_glow_inner__:inner, __special_glow_knockout__:knockout}); }); ASSetPropFlags(MovieClip.prototype, "xGlowTo", 1, 0); ASSetPropFlags(TextField.prototype, "xGlowTo", 1, 0); MovieClip.prototype.yGlowTo = (TextField.prototype.yGlowTo = function (propDest_color, propDest_alpha, propDest_blur, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ["__special_glow_color__", "__special_glow_alpha__", "__special_glow_blurY__", "__special_glow_strength__"], [propDest_color, propDest_alpha, propDest_blur, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {__special_glow_quality__:quality, __special_glow_inner__:inner, __special_glow_knockout__:knockout}); }); ASSetPropFlags(MovieClip.prototype, "yGlowTo", 1, 0); ASSetPropFlags(TextField.prototype, "yGlowTo", 1, 0); MovieClip.prototype.bevelTo = (TextField.prototype.bevelTo = function () { if ((typeof(arguments[0]) == "object") && (arguments[0] != undefined)) { _global.$addTween(this, ["__special_bevel_distance__", "__special_bevel_angle__", "__special_bevel_highlightColor__", "__special_bevel_highlightAlpha__", "__special_bevel_shadowColor__", "__special_bevel_shadowAlpha__", "__special_bevel_blurX__", "__special_bevel_blurY__", "__special_bevel_strength__"], [arguments[0].distance, arguments[0].angle, arguments[0].highlightColor, arguments[0].highlightAlpha * 100, arguments[0].shadowColor, arguments[0].shadowAlpha * 100, arguments[0].blurX, arguments[0].blurY, arguments[0].strength], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], {__special_bevel_quality__:arguments[0].quality, __special_bevel_type__:arguments[0].type, __special_bevel_knockout__:arguments[0].knockout}); } else { _global.$addTween(this, ["__special_bevel_distance__", "__special_bevel_angle__", "__special_bevel_highlightColor__", "__special_bevel_highlightAlpha__", "__special_bevel_shadowColor__", "__special_bevel_shadowAlpha__", "__special_bevel_blurX__", "__special_bevel_blurY__", "__special_bevel_strength__"], [arguments[0], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], arguments[6], arguments[7]], arguments[11], arguments[12], arguments[13], arguments[14], arguments[15], arguments[16], {__special_bevel_quality__:arguments[8], __special_bevel_type__:arguments[9], __special_bevel_knockout__:arguments[10]}); } }); ASSetPropFlags(MovieClip.prototype, "bevelTo", 1, 0); ASSetPropFlags(TextField.prototype, "bevelTo", 1, 0); MovieClip.prototype.xyBevelTo = (TextField.prototype.xyBevelTo = function (propDest_distance, propDest_angle, propDest_highlightColor, propDest_highlightAlpha, propDest_shadowColor, propDest_shadowAlpha, propDest_blurX, propDest_blurY, propDest_strength, quality, type, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ["__special_bevel_distance__", "__special_bevel_angle__", "__special_bevel_highlightColor__", "__special_bevel_highlightAlpha__", "__special_bevel_shadowColor__", "__special_bevel_shadowAlpha__", "__special_bevel_blurX__", "__special_bevel_blurY__", "__special_bevel_blurY__", "__special_bevel_strength__"], [propDest_distance, propDest_angle, propDest_highlightColor, propDest_highlightAlpha, propDest_shadowColor, propDest_shadowAlpha, propDest_blur, propDest_blur, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {__special_bevel_quality__:quality, __special_bevel_type__:type, __special_bevel_knockout__:knockout}); }); ASSetPropFlags(MovieClip.prototype, "xyBevelTo", 1, 0); ASSetPropFlags(TextField.prototype, "xyBevelTo", 1, 0); _global.findPointOnCurve = function (p1x, p1y, cx, cy, p2x, p2y, t) { return({x:p1x + (t * (((2 * (1 - t)) * (cx - p1x)) + (t * (p2x - p1x)))), y:p1y + (t * (((2 * (1 - t)) * (cy - p1y)) + (t * (p2y - p1y))))}); }; ASSetPropFlags(_global, "findPointOnCurve", 1, 0); _global.findTweenColor = function (objProp, tTime) { var _local8 = objProp._propStart >> 16; var _local4 = objProp._propDest >> 16; var _local5 = (objProp._propStart >> 8) & 255; var _local6 = (objProp._propDest >> 8) & 255; var _local9 = objProp._propStart & 255; var _local7 = objProp._propDest & 255; var _local12 = Math.round(_global.findTweenValue(_local8, _local4, objProp._timeStart, tTime - (objProp._delay * 1000), objProp._timeDest, objProp._animType, objProp._extra1, objProp._extra2)); var _local10 = Math.round(_global.findTweenValue(_local5, _local6, objProp._timeStart, tTime - (objProp._delay * 1000), objProp._timeDest, objProp._animType, objProp._extra1, objProp._extra2)); var _local3 = Math.round(_global.findTweenValue(_local9, _local7, objProp._timeStart, tTime - (objProp._delay * 1000), objProp._timeDest, objProp._animType, objProp._extra1, objProp._extra2)); return(((_local12 << 16) + (_local10 << 8)) + _local3); }; _global.findTweenValue = function (_propStart, _propDest, _timeStart, _timeNow, _timeDest, _animType, _extra1, _extra2) { var _local1 = _timeNow - _timeStart; var _local4 = _propStart; var _local2 = _propDest - _propStart; var _local3 = _timeDest - _timeStart; var _local6 = _extra1; var _local7 = _extra2; var _local5 = _extra1; switch (_animType.toLowerCase()) { case "linear" : return(((_local2 * _local1) / _local3) + _local4); case "easeinquad" : _local1 = _local1 / _local3; return(((_local2 * _local1) * _local1) + _local4); case "easeoutquad" : _local1 = _local1 / _local3; return((((-_local2) * _local1) * (_local1 - 2)) + _local4); case "easeinoutquad" : _local1 = _local1 / (_local3 / 2); if (_local1 < 1) { return((((_local2 / 2) * _local1) * _local1) + _local4); } _local1--; return((((-_local2) / 2) * ((_local1 * (_local1 - 2)) - 1)) + _local4); case "easeoutinquad" : if (_local1 < (_local3 / 2)) { return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutQuad") * 0.5) + _local4); } return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInQuad") * 0.5) + (_local2 * 0.5)) + _local4); case "easeincubic" : _local1 = _local1 / _local3; return((((_local2 * _local1) * _local1) * _local1) + _local4); case "easeoutcubic" : _local1 = (_local1 / _local3) - 1; return((_local2 * (((_local1 * _local1) * _local1) + 1)) + _local4); case "easeinoutcubic" : _local1 = _local1 / (_local3 / 2); if (_local1 < 1) { return(((((_local2 / 2) * _local1) * _local1) * _local1) + _local4); } _local1 = _local1 - 2; return(((_local2 / 2) * (((_local1 * _local1) * _local1) + 2)) + _local4); case "easeoutincubic" : if (_local1 < (_local3 / 2)) { return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutCubic") * 0.5) + _local4); } return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInCubic") * 0.5) + (_local2 * 0.5)) + _local4); case "easeinquart" : _local1 = _local1 / _local3; return(((((_local2 * _local1) * _local1) * _local1) * _local1) + _local4); case "easeoutquart" : _local1 = (_local1 / _local3) - 1; return(((-_local2) * ((((_local1 * _local1) * _local1) * _local1) - 1)) + _local4); case "easeinoutquart" : _local1 = _local1 / (_local3 / 2); if (_local1 < 1) { return((((((_local2 / 2) * _local1) * _local1) * _local1) * _local1) + _local4); } _local1 = _local1 - 2; return((((-_local2) / 2) * ((((_local1 * _local1) * _local1) * _local1) - 2)) + _local4); case "easeoutinquart" : if (_local1 < (_local3 / 2)) { return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutQuart") * 0.5) + _local4); } return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInQuart") * 0.5) + (_local2 * 0.5)) + _local4); case "easeinquint" : _local1 = _local1 / _local3; return((((((_local2 * _local1) * _local1) * _local1) * _local1) * _local1) + _local4); case "easeoutquint" : _local1 = (_local1 / _local3) - 1; return((_local2 * (((((_local1 * _local1) * _local1) * _local1) * _local1) + 1)) + _local4); case "easeinoutquint" : _local1 = _local1 / (_local3 / 2); if (_local1 < 1) { return(((((((_local2 / 2) * _local1) * _local1) * _local1) * _local1) * _local1) + _local4); } _local1 = _local1 - 2; return(((_local2 / 2) * (((((_local1 * _local1) * _local1) * _local1) * _local1) + 2)) + _local4); case "easeoutinquint" : if (_local1 < (_local3 / 2)) { return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutQuint") * 0.5) + _local4); } return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInQuint") * 0.5) + (_local2 * 0.5)) + _local4); case "easeinsine" : return((((-_local2) * Math.cos((_local1 / _local3) * (Math.PI/2))) + _local2) + _local4); case "easeoutsine" : return((_local2 * Math.sin((_local1 / _local3) * (Math.PI/2))) + _local4); case "easeinoutsine" : return((((-_local2) / 2) * (Math.cos((Math.PI * _local1) / _local3) - 1)) + _local4); case "easeoutinsine" : if (_local1 < (_local3 / 2)) { return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutSine") * 0.5) + _local4); } return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInSine") * 0.5) + (_local2 * 0.5)) + _local4); case "easeinexpo" : return(((_local1 == 0) ? (_local4) : ((_local2 * Math.pow(2, 10 * ((_local1 / _local3) - 1))) + _local4))); case "easeoutexpo" : return(((_local1 == _local3) ? (_local4 + _local2) : ((_local2 * ((-Math.pow(2, (-10 * _local1) / _local3)) + 1)) + _local4))); case "easeinoutexpo" : if (_local1 == 0) { return(_local4); } if (_local1 == _local3) { return(_local4 + _local2); } _local1 = _local1 / (_local3 / 2); if (_local1 < 1) { return(((_local2 / 2) * Math.pow(2, 10 * (_local1 - 1))) + _local4); } _local1--; return(((_local2 / 2) * ((-Math.pow(2, -10 * _local1)) + 2)) + _local4); case "easeoutinexpo" : if (_local1 == 0) { return(_local4); } if (_local1 == _local3) { return(_local4 + _local2); } _local1 = _local1 / (_local3 / 2); if (_local1 < 1) { return(((_local2 / 2) * ((-Math.pow(2, (-10 * _local1) / 1)) + 1)) + _local4); } return(((_local2 / 2) * (Math.pow(2, (10 * (_local1 - 2)) / 1) + 1)) + _local4); case "easeincirc" : _local1 = _local1 / _local3; return(((-_local2) * (Math.sqrt(1 - (_local1 * _local1)) - 1)) + _local4); case "easeoutcirc" : _local1 = (_local1 / _local3) - 1; return((_local2 * Math.sqrt(1 - (_local1 * _local1))) + _local4); case "easeinoutcirc" : _local1 = _local1 / (_local3 / 2); if (_local1 < 1) { return((((-_local2) / 2) * (Math.sqrt(1 - (_local1 * _local1)) - 1)) + _local4); } _local1 = _local1 - 2; return(((_local2 / 2) * (Math.sqrt(1 - (_local1 * _local1)) + 1)) + _local4); case "easeoutincirc" : if (_local1 < (_local3 / 2)) { return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutCirc") * 0.5) + _local4); } return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInCirc") * 0.5) + (_local2 * 0.5)) + _local4); case "easeinelastic" : if (_local1 == 0) { return(_local4); } _local1 = _local1 / _local3; if (_local1 == 1) { return(_local4 + _local2); } if (!_local7) { _local7 = _local3 * 0.3; } if ((!_local6) || (_local6 < Math.abs(_local2))) { _local6 = _local2; _local5 = _local7 / 4; } else { _local5 = (_local7 / (Math.PI*2)) * Math.asin(_local2 / _local6); } _local1 = _local1 - 1; return((-((_local6 * Math.pow(2, 10 * _local1)) * Math.sin((((_local1 * _local3) - _local5) * (Math.PI*2)) / _local7))) + _local4); case "easeoutelastic" : if (_local1 == 0) { return(_local4); } _local1 = _local1 / _local3; if (_local1 == 1) { return(_local4 + _local2); } if (!_local7) { _local7 = _local3 * 0.3; } if ((!_local6) || (_local6 < Math.abs(_local2))) { _local6 = _local2; _local5 = _local7 / 4; } else { _local5 = (_local7 / (Math.PI*2)) * Math.asin(_local2 / _local6); } return((((_local6 * Math.pow(2, -10 * _local1)) * Math.sin((((_local1 * _local3) - _local5) * (Math.PI*2)) / _local7)) + _local2) + _local4); case "easeinoutelastic" : if (_local1 == 0) { return(_local4); } _local1 = _local1 / (_local3 / 2); if (_local1 == 2) { return(_local4 + _local2); } if (!_local7) { _local7 = _local3 * 0.45; } if ((!_local6) || (_local6 < Math.abs(_local2))) { _local6 = _local2; _local5 = _local7 / 4; } else { _local5 = (_local7 / (Math.PI*2)) * Math.asin(_local2 / _local6); } if (_local1 < 1) { _local1 = _local1 - 1; return((-0.5 * ((_local6 * Math.pow(2, 10 * _local1)) * Math.sin((((_local1 * _local3) - _local5) * (Math.PI*2)) / _local7))) + _local4); } _local1 = _local1 - 1; return(((((_local6 * Math.pow(2, -10 * _local1)) * Math.sin((((_local1 * _local3) - _local5) * (Math.PI*2)) / _local7)) * 0.5) + _local2) + _local4); case "easeoutinelastic" : if (_local1 < (_local3 / 2)) { return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutElastic") * 0.5) + _local4); } return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInElastic") * 0.5) + (_local2 * 0.5)) + _local4); case "easeinback" : if (_local5 == undefined) { _local5 = 1.70158; } _local1 = _local1 / _local3; return((((_local2 * _local1) * _local1) * (((_local5 + 1) * _local1) - _local5)) + _local4); case "easeoutback" : if (_local5 == undefined) { _local5 = 1.70158; } _local1 = (_local1 / _local3) - 1; return((_local2 * (((_local1 * _local1) * (((_local5 + 1) * _local1) + _local5)) + 1)) + _local4); case "easeinoutback" : if (_local5 == undefined) { _local5 = 1.70158; } _local1 = _local1 / (_local3 / 2); if (_local1 < 1) { _local5 = _local5 * 1.525; return(((_local2 / 2) * ((_local1 * _local1) * (((_local5 + 1) * _local1) - _local5))) + _local4); } _local1 = _local1 - 2; _local5 = _local5 * 1.525; return(((_local2 / 2) * (((_local1 * _local1) * (((_local5 + 1) * _local1) + _local5)) + 2)) + _local4); case "easeoutinback" : if (_local1 < (_local3 / 2)) { return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutBack") * 0.5) + _local4); } return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInBack") * 0.5) + (_local2 * 0.5)) + _local4); case "easeinbounce" : return((_local2 - findTweenValue(0, _local2, 0, _local3 - _local1, _local3, "easeOutBounce")) + _local4); case "easeoutbounce" : _local1 = _local1 / _local3; if (_local1 < 0.363636363636364) { return((_local2 * ((7.5625 * _local1) * _local1)) + _local4); } if (_local1 < 0.727272727272727) { _local1 = _local1 - 0.545454545454545; return((_local2 * (((7.5625 * _local1) * _local1) + 0.75)) + _local4); } if (_local1 < 0.909090909090909) { _local1 = _local1 - 0.818181818181818; return((_local2 * (((7.5625 * _local1) * _local1) + 0.9375)) + _local4); } _local1 = _local1 - 0.954545454545455; return((_local2 * (((7.5625 * _local1) * _local1) + 0.984375)) + _local4); case "easeinoutbounce" : if (_local1 < (_local3 / 2)) { return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeInBounce") * 0.5) + _local4); } return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeOutBounce") * 0.5) + (_local2 * 0.5)) + _local4); case "easeoutinbounce" : if (_local1 < (_local3 / 2)) { return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutBounce") * 0.5) + _local4); } return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInBounce") * 0.5) + (_local2 * 0.5)) + _local4); } trace(("MC TWEEN ### Error on transition: there's no \"" + _animType) + "\" animation type."); return(0); }; ASSetPropFlags(_global, "findTweenValue", 1, 0); stop(); var mouseListener = new Object(); var mouseBlocked = false; mouseListener.onMouseMove = function () { mouser._x = _xmouse; mouser._y = _ymouse; }; Mouse.addListener(mouseListener); Mouse.hide(); var soundsContainer = this.createEmptyMovieClip("soundspace", this.getNextHighestDepth()); var i; var soundObjs = new Array(); i = 0; while (i < 16) { var obj = soundsContainer.createEmptyMovieClip("subsound" + i, i); soundObjs[i] = new Sound(obj); i++; } var currentSound = 0;Instance of Symbol 337 MovieClip in Frame 3//component parameters onClipEvent (construct) { buttonText = "Play Now"; pressFunction = "startGame"; evalStr = ""; showShadow = true; focus = "root"; }Instance of Symbol 337 MovieClip in Frame 3//component parameters onClipEvent (construct) { buttonText = "Tutorial"; pressFunction = "showHelp"; evalStr = ""; showShadow = true; focus = "root"; }Instance of Symbol 337 MovieClip in Frame 3//component parameters onClipEvent (construct) { buttonText = "Free Download"; pressFunction = "doDownload"; evalStr = ""; showShadow = true; focus = "root"; }Frame 4function hideWin() { msgWin.ySlideTo(-180, 0.5, "easeinback"); msgWin.action(); mouseBlocked = false; doSound("panel_out", 100); } function showWin(str, action) { msgWin.msg = str; mouseBlocked = true; msgWin.action = action; msgWin.ySlideTo(205, 0.5, "easeoutback"); doSound("panel_in", 100); } function showInbetween(str, showScreen) { mouseBlocked = true; trace("showInBetween str = " + str); if (showScreen) { inbetweenScreen.gotoAndStop(2); inbetweenScreen.str = str; inbetweenScreen.ySlideTo(0, 0.5, "easeoutback"); doSound("panel_in", 100); } else { showWin(str); } } function continueGame() { doSound("panel_out", 100); inbetweenScreen.ySlideTo(-411, 0.5, "easeinback", 0, showWin2); mouseBlocked = false; } function showWin2() { inbetweenScreen.gotoAndStop(1); showWin(this.str); } function gameWon() { wonScreen.gotoAndStop(2); wonScreen.ySlideTo(0, 1, "easeoutback"); doSound("panel_in", 100); } function hideWon() { gotoAndStop (2); wonScreen.ySlideTo(-411, 1, "easeinback", 0, hideWonScreen); doSound("panel_out", 100); } function hideWonScreen() { wonScreen.gotoAndStop(1); } function mainMenu() { msgWin.action = undefined; hideWin(); gotoAndStop (3); } stop();Symbol 101 MovieClip Frame 1stop();Symbol 101 MovieClip Frame 75gotoAndPlay (25);Symbol 106 MovieClip Frame 16if (!vanish) { gotoAndPlay (1); }Symbol 106 MovieClip Frame 17if (!vanish) { gotoAndPlay (1); }Symbol 106 MovieClip Frame 22stop();Symbol 117 MovieClip Frame 1gotoAndStop(random(_totalframes) + 1);Symbol 164 MovieClip Frame 1stop();Symbol 164 MovieClip Frame 26_parent.removeMovieClip();Symbol 218 MovieClip Frame 20gotoAndPlay (1);Symbol 218 MovieClip Frame 46_parent.removeMovieClip();Symbol 229 MovieClip Frame 1gotoAndStop(random(_totalframes) + 1);Symbol 291 MovieClip Frame 24gotoAndPlay (1);Symbol 291 MovieClip Frame 25this.blendMode = 8;Symbol 291 MovieClip Frame 51_parent.removeMovieClip();Symbol 311 MovieClip [scoreSpawn] Frame 21this.removeMovieClip();Symbol 316 MovieClip Frame 1this.onEnterFrame = function () { disk1._rotation = disk1._rotation + 8; disk0._rotation = disk0._rotation - 10; var _local4 = _root.getBytesLoaded(); var _local3 = _root.getBytesTotal(); if (_local3 > 0) { if (_local4 >= _local3) { this.onEnterFrame = null; _root.gotoAndPlay(2); } } };Symbol 325 MovieClip Frame 1gotoAndStop((_root.soundMuted ? 2 : 1)); this.onRelease = function () { gotoAndStop(3 - _currentframe); if (_currentframe == 1) { _root.unmuteSound(); } else { _root.muteSound(); } }; this.onRollOver = function () { this.stopTween(); this.scaleTo(110, 0.2, "easeoutcubic"); }; this.onRollOut = function () { this.stopTween(); this.scaleTo(100, 0.2, "easeoutcubic"); };Symbol 337 MovieClip Frame 1stop(); text.txt = buttonText; this.bg.onRollOver = function () { this._parent.frameTo(50, 0.25, "linear"); _root.doSound("menu_sel", 70); }; this.bg.onRollOut = function () { this._parent.frameTo(1, 0.25, "linear"); }; this.bg.onRelease = function () { if (this._parent.evalStr) { eval (this._parent.evalStr); } else if (this._parent.focus == "root") { this._root[this._parent.pressFunction](); } else { this._parent._parent[this._parent.pressFunction](); } _root.doSound("menu_prs_" + random(3), 30); }; if (!showShadow) { shadow._visible = false; }Symbol 343 MovieClip Frame 1winBg.onRelease = function () { trace("clicked null win"); return(false); }; winBg.useHandCursor = false;Instance of Symbol 337 MovieClip in Symbol 343 MovieClip Frame 1//component parameters onClipEvent (construct) { buttonText = "Ok"; pressFunction = "hideWin"; evalStr = ""; showShadow = false; focus = "root"; }Symbol 388 MovieClip Frame 1function forward() { _parent.forward(); } function backward() { _parent.backward(); } stop();Instance of Symbol 337 MovieClip in Symbol 388 MovieClip Frame 1//component parameters onClipEvent (construct) { buttonText = "Continue"; pressFunction = "forward"; evalStr = ""; showShadow = false; focus = "parent"; }Symbol 391 MovieClip Frame 1stop();Symbol 391 MovieClip Frame 2function updateArrows() { btn_left._visible = position > 0; btn_right._visible = position < (positions - 1); if (position > 0) { if (position < (positions - 1)) { helpButtons.frameTo(20, 1, "linear"); } else { helpButtons.frameTo(40, 1, "linear"); } } else { helpButtons.frameTo(1, 1, "linear"); } } function forward() { if (position < (positions - 1)) { position++; } else { position = 0; } updateArrows(); helpSlides.xSlideTo(helpSlides_mid - (position * 555), 1, "easeinoutcubic"); } function backward() { if (position > 0) { position--; updateArrows(); helpSlides.xSlideTo(helpSlides_mid - (position * 555), 1, "easeinoutcubic"); } } bgHelp.onRelease = function () { return(undefined); }; bgHelp.useHandCursor = false; helpSlideMask.cacheAsBitmap = true; helpSlides.cacheAsBitmap = true; helpSlides.setMask(helpSlideMask); helpSlides_mid = helpSlides._x; btn_left._visible = false; var position = 0; var positions = 3; btn_right.onRelease = forward; btn_left.onRelease = backward;Instance of Symbol 337 MovieClip in Symbol 391 MovieClip Frame 2//component parameters onClipEvent (construct) { buttonText = "End Tutorial"; pressFunction = "closeHelp"; evalStr = ""; showShadow = false; focus = "root"; }Symbol 393 MovieClip Frame 1stop();Symbol 393 MovieClip Frame 2bgHelp.onRelease = function () { return(undefined); }; bgHelp.useHandCursor = false;Instance of Symbol 337 MovieClip in Symbol 393 MovieClip Frame 2//component parameters onClipEvent (construct) { buttonText = "Back"; pressFunction = "hideWon"; evalStr = ""; showShadow = false; focus = "root"; }Instance of Symbol 337 MovieClip in Symbol 393 MovieClip Frame 2//component parameters onClipEvent (construct) { buttonText = "Download Now!"; pressFunction = "doDownload"; evalStr = ""; showShadow = false; focus = "root"; }Symbol 399 MovieClip Frame 1stop();Symbol 405 MovieClip Frame 1stop();Symbol 406 MovieClip Frame 1function zoomIn(nextFrame, nextFunction) { nxFrm = nextFrame; nxFunc = nextFunction; motive = random(ubgfx._totalframes) + 1; ubgfx.gotoAndStop(motive); ubgfx._visible = true; ubgfx._xscale = (ubgfx._yscale = 1); ubgfx.scaleTo(1800, 0.75, "easeinquad", 0, zoomOut); } function zoomOut() { if (nxFrm != undefined) { _root.gotoAndStop(nxFrm); } if (nxFunc != undefined) { nxFunc(); } ubgfx._visible = false; gotoAndStop (2); ubgfx2.gotoAndStop(motive); ubgfx2.scaleTo(3200, 0.75, "easeinquad", 0, zoomDone); } function zoomDone() { gotoAndStop (1); } stop(); ubgfx._visible = false; var motive;Symbol 417 MovieClip Frame 1stop();Symbol 426 MovieClip Frame 1var i; var anz = 20; i = 0; while (i < anz) { var obj = ((i == 0) ? (tcSeq0) : (tcSeq0.duplicateMovieClip("tcSeq" + i, i))); obj._y = ((i / anz) - 0.5) * 40; obj.gotoAndPlay(random(obj._totalframes) + 1); i++; }Symbol 427 MovieClip Frame 1tcEnergyBar.setMask(tcMask); stop();Symbol 442 MovieClip Frame 1var levels = [{stones:[" x ", " x o o x ", " o x o ", " x x ", " ", " o o x o o ", " ", "x x x x x x x", " ", " o o x o o ", " ", " x x ", " o x o ", " x o o x ", " x "], colors:1, time:120, msg:"Level 1\n\nTime: 2 Minutes"}, {stones:[" * ***", " * **", " * o x *", "* xx x x ", " x 2x2 x ", " ox2xo x ", " 2x2x2x2 ", " oxx2x2x2xxo ", " 2x2x2x2 ", " x ox2xo ", " x 2x2 x ", " x x xx ", " x o ", " ", " "], colors:2, time:180, msg:"Level 2\n\nTime: 3 Minutes"}, {stones:["** **", "* 33 x 33 *", " 3 x 3 ", " x3 x 3x ", " 3 xo3 3ox 3 ", " 3333 x 3333 ", " 111 ", " xxx x1o1x xxx ", " 111 ", " 3333 x 3333 ", " 3 xo3 3ox 3 ", " x3 x 3x ", " 3 x 3 ", "* 33 x 33 *", "** **"], colors:3, time:180, msg:"Level 3\n\nTime: 3 Minutes"}, {stones:["**1 x 1 x 1**", "*11 xx 1 xx 11*", "11 111 11", " 222 222 ", "11 o 11", "1 x xx xx x 1", "1xx xx xx xx1", "***o $ o***", "1xx xx xx xx1", "1 x xx xx x 1", "11 o 11", " 222 222 ", "11 111 11", "*11 xx 1 xx 11*", "**1 x 1 x 1**"], colors:3, time:180, msg:"Level 4\n\nTime: 3 Minutes"}, {stones:["**## ##**", "*$x# x o x #x$*", "#xx x x xx#", "## ##", " ####### ", " xx #o x o# xx ", " # xxx # ", " o #xx$xx# o ", " # xxx # ", " xx #o x o# xx ", " ####### ", "## ##", "#xx x x xx#", "*$x# x o x #x$*", "**## ##**"], colors:4, time:210, msg:"Level 5\n\nTime: 3:30 Minutes"}, {stones:["** xx$xx **", "*o # *** # o*", " # # ", "x ###xxoxx### x", "x # x # x", " # ## x ## # ", "** #x x# **", " o xxxxxxx o ", "** #x x# **", " # ## x ## # ", "x # x # x", "x ###xxoxx### x", " # # ", "*o # *** # o*", "** xx$xx **"], colors:4, time:210, msg:"Level 6\n\nTime: 3:30 Minutes"}, {stones:["$ # # $", " # xxx xxx # ", "# o xxx o #", " o ", " x # * * # x ", " x # **x** # x ", "*x #x* * *x# x*", "o #xxxxxxx# o", "*x #x* * *x# x*", " x # **x** # x ", " x # * * # x ", " o ", "# o xxx o #", " # xxx xxx # ", "$ # # $"], colors:4, time:210, msg:"Level 7\n\nTime: 3:30 Minutes"}, {stones:["##xxx ### xxx# ", "#x x x ##", "x o# x x #o x", "x ## o ## x", "x **** x", " xx *x$x xxx ", "* *x*x *", "***o**x$x**o***", "* x*x* *", " xxx x$x* xx ", "x **** x", "x ## o ## x", "x o# x x #o x", "## x x x#", " #xxx ### xxx##"], colors:5, time:240, msg:"Level 8\n\nTime: 4 Minutes"}, {stones:["***o $ $ o***", "*x* *** *x*", "**+ +**", "o xx xx o", " x + x ", " o***o ", "* x *xxx* x *", "* x +*xxx*+ x *", "* x *xxx* x *", " o***o ", " x + x ", "o xx xx o", "**+ +**", "*x* *** *x*", "***o $ $ o***"], colors:5, time:240, msg:"Level 9\n\nTime: 4 Minutes"}, {stones:["$* *$", "*+ x x +*", " x o x ", " x x x x ", " x x x x x x ", "x * * * * * * x", " x x x x x x ", " oxoxoxoxoxoxo ", " x x x x x x ", "x * * * * * * x", " x x x x x x ", " x x x x ", " x o x ", "*+ x x +*", "$* o *$"], colors:6, time:240, msg:"Level 10\n\nTime: 4 Minutes"}, {msg:"xxx", time:1000}]; var currentLevel = 0; function asNode(x, y) { if (x) { this.x = x; } else { this.x = 0; } if (y) { this.y = y; } else { this.y = 0; } this.parent = null; this.next = null; this.children = new Array(null, null, null, null); } function asStack() { this.data = null; this.next = null; } function CPathFinder() { } function downCounter() { if (!_root.mouseBlocked) { currentCountDown--; position = Math.round(((curLevel.time - currentCountDown) * 349) / curLevel.time) + 1; if (position < 1) { position = 1; } energyBar.gotoAndStop(position); if (currentCountDown <= 0) { levelLost("Time is up!\nYou lose one life \u2013 Try again!"); clearInterval(_root.ivId); } else if (bestFit == null) { bestFit = {x:-100, y:-100}; clearInterval(_root.ivId); levelLost("No further moves!\nYou lose one life \u2013 Try again!"); } } } function isBlocking(nr) { return((((nr > 0) || (nr == "o")) || (nr == "#")) || (nr == "*")); } function getBestFit(wholefield) { var _local2; var _local5; var _local1; var _local4; var _local3; var _local8; var _local7; var _local15; var _local12; var _local13; var _local14; var _local6 = {xPos:-1, yPos:-1, dist:1000}; if (wholefield == undefined) { xm = Math.floor(_xmouse / 24); ym = Math.floor(_ymouse / 24); _local12 = xm - 2; if (_local12 < -2) { _local12 = -2; } _local15 = ym - 2; if (_local15 < -2) { _local15 = -2; } _local13 = xm + 2; if (_local13 > (fieldDimension.width + 2)) { _local13 = fieldDimension.width + 2; } _local14 = ym + 2; if (_local14 > (fieldDimension.height + 2)) { _local14 = fieldDimension.height + 2; } } else { _local12 = -2; _local15 = -2; _local13 = fieldDimension.width + 2; _local14 = fieldDimension.height + 2; } _local5 = _local15; while (_local5 < _local14) { _local2 = _local12; while (_local2 < _local13) { _local1 = 0; while (_local1 < currentStoneSet.length) { _local4 = _local2 + currentStoneSet[_local1].x; _local3 = _local5 + currentStoneSet[_local1].y; if (((((_local4 < 0) || (_local3 < 0)) || (_local4 >= fieldDimension.width)) || (_local3 >= fieldDimension.height)) || (isBlocking(field[_local3][_local4]))) { break; } _local1++; } if (_local1 == currentStoneSet.length) { _local8 = ((_local2 * 24) + 12) - _xmouse; _local7 = ((_local5 * 24) + 12) - _ymouse; dist = Math.abs(_local8) + Math.abs(_local7); if (dist < _local6.dist) { _local6 = {dist:dist, xPos:_local2, yPos:_local5}; } } _local2++; } _local5++; } if (_local6.xPos >= 0) { bestFit.x = _local6.xPos * 24; bestFit.y = _local6.yPos * 24; bestFit.xPos = _local6.xPos; bestFit.yPos = _local6.yPos; } else if (wholefield != undefined) { bestFit = null; } if ((_local6.xPos < 0) || (_local6.dist > 30)) { currentTileShadowMc.disabled = true; currentTileShadowMc.alphaTo(0, 0.2, "linear"); currentTileMc.alphaTo(50, 0.2, "linear"); } else { currentTileShadowMc.disabled = false; currentTileShadowMc.alphaTo(50, 0.2, "linear"); currentTileMc.alphaTo(100, 0.2, "linear"); } } function getStoneAlignment() { currentStoneSet = new Array(); var _local3; for (_local3 in currentTileShadowMc) { currentTileShadowMc[_local3].removeMovieClip(); } for (_local3 in currentTileMc.tt.stones) { var _local5 = currentTileMc.tt.stones[_local3]; var _local2 = {x:_local5._x, y:_local5._y}; currentTileMc.tt.stones.localToGlobal(_local2); _local2.x = _local2.x - (currentTileMc._x + this._x); _local2.y = _local2.y - (currentTileMc._y + this._y); _local2.x = Math.round((_local2.x + 6) / 24); _local2.y = Math.round((_local2.y + 6) / 24); currentStoneSet.push({x:_local2.x, y:_local2.y}); var _local4 = currentTileShadowMc.attachMovie("shadowBlock", "sb" + _local3, currentTileShadowMc.getNextHighestDepth()); _local4._x = _local2.x * 24; _local4._y = _local2.y * 24; } } function rotateTile(dir) { var _local2 = ((dir > 0) ? 1 : -1); currentTileMc.rotateTarget = currentTileMc.rotateTarget + _local2; for (key in currentTileMc.tt.stones) { currentTileMc.tt.stones[key]._rotation = (-currentTileMc.rotateTarget) * 90; } currentTileShadowMc.alphaTo(0, 0.5); _root.doSound("snd_rotate", 50, _xmouse / 500); } function showPreviewTile(type, color) { var _local1 = scorePanel.previewTile; var _local3; var _local4 = colorSets[color - 1]; _local1.fill.gotoAndStop(type); _local1.contour.gotoAndStop(type); _local1.stones.gotoAndStop(type); _local3 = new Color(_local1.fill); _local3.setRGB(_local4.fill); _local3 = new Color(_local1.contour); _local3.setRGB(_local4.contour); for (key in _local1.stones) { _local1.stones[key].gotoAndStop(color); } } function initTile(type, color) { currentTileMc.tt.removeMovieClip(); var _local1 = currentTileMc.attachMovie("tetrisTile", "tt", 0); var _local4 = colorSets[color - 1]; var _local7 = new Color(_local1.contour); var _local5 = new Color(_local1.fill); currentTileMc.rotation = 0; currentTileMc._rotation = 0; currentTileMc.rotateTarget = 0; _local7.setRGB(_local4.contour); _local5.setRGB(_local4.fill); _local1.fill.gotoAndStop(type); _local1.stones.gotoAndStop(type); _local1.contour.gotoAndStop(type); for (key in _local1.stones) { _local1.stones[key].gotoAndStop(color); } _local1._alpha = 60; var _local8 = new flash.filters.BlurFilter(16, 16, 1); var _local6 = new Color(currentTileShadowMc); _local6.setRGB(0); currentTileShadowMc._alpha = 50; currentTileShadowMc.filters = [_local8]; currentTileShadowMc.gotoAndStop(type); getStoneAlignment(); getBestFit(true); } function initFields() { var _local1; var _local2; var _local3; _local1 = 0; while (_local1 < fieldDimension.height) { field[_local1] = new Array(); extraField[_local1] = new Array(); drawField[_local1 * 2] = new Array(); drawField[(_local1 * 2) + 1] = new Array(); _local2 = 0; while (_local2 < fieldDimension.width) { field[_local1][_local2] = 0; extraField[_local1][_local2] = 0; drawField[_local1 * 2][_local2] = (drawField[(_local1 * 2) + 1][_local2] = 0); drawField[_local1 * 2][_local2 + fieldDimension.width] = (drawField[(_local1 * 2) + 1][_local2 + fieldDimension.width] = 0); _local2++; } _local1++; } PathFinder.SetData(field); PathFinder.SetRows(fieldDimension.height); } function getQuad(x, y, nr) { var _local7 = (((x < 0) || (y < 0)) ? 0 : (field[y][x] == nr)); var _local6 = (((x >= fieldDimension.width) || (y < 0)) ? 0 : (field[y][x + 1] == nr)); var _local5 = (((x >= fieldDimension.width) || (y >= fieldDimension.height)) ? 0 : (field[y + 1][x + 1] == nr)); var _local4 = (((x < 0) || (y > fieldDimension.height)) ? 0 : (field[y + 1][x] == nr)); return(((_local7 | (_local6 << 1)) | (_local5 << 2)) | (_local4 << 3)); } function PF_isvalid(x, y, map) { if ((((y < 0) || (x < 0)) || (x >= fieldDimension.width)) || (y >= fieldDimension.height)) { return(false); } return(true); } function PF_cost(x, y, map) { if (map[y][x] > 1) { return(0); } return(2); } function scanNodes() { var _local7; var _local6; trace("scan Nodes"); PathFinder.SetValid(PF_isvalid); PathFinder.SetCost(PF_cost); for (key in testPath) { testPath[key].removeMovieClip(); } _local7 = 0; _local6 = 1; if (_local6 != _local7) { PathFinder.GeneratePath(nodes[_local6].x, nodes[_local6].y, nodes[_local7].x, nodes[_local7].y); var _local2 = PathFinder.GetBestNode(); trace((_local7 + " --> ") + _local6); var _local5 = 15; do { if (_local2 == null) { break; } var _local3 = testPath.getNextHighestDepth(); var _local1 = testPath.attachMovie("marker", "marker" + _local3, _local3); var _local4 = new Color(_local1); _local4.setRGB((_local7 * 16) | ((_local6 * 16) << 8)); _local1._x = (_local2.x * 24) + 12; _local1._y = (_local2.y * 24) + 12; _local1._xscale = (_local1._yscale = ((_local5 + 1) * 100) / 16); _local2 = _local2.next; } while ((_local5--) != 0); } } function checkPlace(x, y, nr) { if (alreadySearched[y][x]) { return(undefined); } alreadySearched[y][x] = true; var _local4 = [{stone:((x > 0) ? (field[y][x - 1]) : 0), xi:-1, yi:0}, {stone:((x < fieldDimension.width) ? (field[y][x + 1]) : 0), xi:1, yi:0}, {stone:((y > 0) ? (field[y - 1][x]) : 0), xi:0, yi:-1}, {stone:((y < fieldDimension.height) ? (field[y + 1][x]) : 0), xi:0, yi:1}]; var _local1; _local1 = 0; while (_local1 < 4) { var _local3 = x + _local4[_local1].xi; var _local2 = y + _local4[_local1].yi; if (_local4[_local1].stone == nr) { trace((((((("field[" + _local1) + "]=") + nr) + ",going to ") + _local3) + ",") + _local2); checkPlace(_local3, _local2, nr); } else if (_local4[_local1].stone == "o") { if (!alreadySearched[_local2][_local3]) { oFound++; alreadySearched[_local2][_local3] = true; } } else if (_local4[_local1].stone == "#") { if (!alreadySearched[_local2][_local3]) { burnBushes.push({x:_local3, y:_local2}); alreadySearched[_local2][_local3] = true; } } _local1++; } stonesScanned.push({x:x, y:y}); } function checkContiguous(nr) { alreadySearched = new Array(); stonesScanned = new Array(); elvesFound = new Array(); burnBushes = new Array(); oFound = 0; trace("Checking"); var _local1; _local1 = 0; while (_local1 < fieldDimension.height) { alreadySearched[_local1] = new Array(); xc = 0; while (xc < fieldDimension.width) { alreadySearched[_local1].push(0); xc++; } _local1++; } var _local3 = bestFit.xPos; var _local2 = bestFit.yPos; checkPlace(_local3, _local2, nr); if (oFound > 1) { trace("connection found, stones:" + stonesScanned.length); cleanField(nr); } } function spawnScore(x, y, score) { scorePanel.score = scorePanel.score + score; var _local2 = scoreContainer.getNextHighestDepth(); var _local1 = scoreContainer.attachMovie("scoreSpawn", "ss" + _local2, _local2); _local1._x = x; _local1._y = y; _local1.score.score = score; } function spawnScoreTweened() { spawnScore(this._x, this._y, this.score); } function bombExplode(x, y, stone) { stone.gotoAndPlay("explosion"); _root.doSound("explosion", 70, (x * 24) / 600); bombField(x, y); } function bombField(x, y) { var xc; var yc; yc = y - 1; while (yc <= (y + 1)) { xc = x - 1; while (xc <= (x + 1)) { if ((((xc >= 0) && (yc >= 0)) && (xc < fieldDimension.width)) && (yc < fieldDimension.height)) { trace((("testing " + xc) + ",") + yc); if (field[yc][xc] == "*") { trace("erasing rock"); var _local2 = extraContainer[(("tile_" + xc) + "_") + yc]; field[yc][xc] = 0; _local2.alphaTo(0, 0.5, "linear", 0, removeMovieClip); } if (extraField[yc][xc] == "+") { trace("trigger bomb"); extraField[yc][xc] = 0; var _local3 = extraContainer[(("tile_" + xc) + "_") + yc]; _local3.alphaTo(100, 0.2, "linear", 0, function () { bombExplode(xc, yc, this.stone); }); } } xc++; } yc++; } } function cleanField(nr) { var _local3; var _local12 = 50; var _local15 = 0; var _local14 = 0; var _local10 = {burning:false, money:false, getSmall:false}; _root.mouseBlocked = true; _root.doSound("snd_connected", 50); _root.doSound("menu_prs_" + random(3), 30, _xmouse / 600); _local3 = 0; while (_local3 < stonesScanned.length) { var _local6 = stonesScanned[_local3].x; var _local5 = stonesScanned[_local3].y; var _local9 = extraField[_local5][_local6]; field[_local5][_local6] = 0; var _local4 = setStone((_local6 * 24) + 12, (_local5 * 24) + 12, nr, vanishingStones); var _local13 = random(500); var _local7 = _local3 * 0.05; _local15 = _local15 + _local4._x; _local14 = _local14 + _local4._y; _local4.scaleTo(0, 0.25, "linear", _local7, removeMovieClip); _local4.alphaTo(100, _local7, "linear", 0, function () { if (random(3) == 1) { _root.doSound("destroy_" + random(3), 40, this._x / 500); } }); if (_local9 == "x") { var _local11 = extraContainer[(("tile_" + _local6) + "_") + _local5]; _local11.oldX = _local11._x; _local11.oldY = _local11._y; _local11.score = _local12; _local11.stone.frameTo(20, 1, "linear", _local7 * 2, play); _local11.xSlideTo(430, 1, "easeinoutquad", (_local7 + 0.5) * 2); _local11.ySlideTo(80, 1, "easeinoutback", (_local7 + 0.5) * 2, subElf); _local11.alphaTo(100, _local7, "linear", 0, spawnScoreTweened); _local11.onTweenUpdate = spreadSparkles; extraField[_local4.y][_local4.x] = 0; _local12 = _local12 + 25; _local10.getSmall = true; } else if (_local9 == "$") { var _local11 = extraContainer[(("tile_" + _local6) + "_") + _local5]; _local11.stone.gotoAndPlay("explode"); extraField[_local4.y][_local4.x] = 0; spawnScore(_local11._x, _local11._y, 2000); _local10.money = true; } else if (_local9 == "+") { var _local11 = extraContainer[(("tile_" + _local6) + "_") + _local5]; _local11.xPos = _local6; _local11.yPos = _local5; extraField[_local5][_local6] = 0; _local11.alphaTo(100, _local7, "linear", 0, function () { trace((("bomb explode at " + this.xPos) + ", ") + this.yPos); bombExplode(this.xPos, this.yPos, this.stone); }); } trace("stoneScanned[i].ef=" + stoneScanned[_local3].ef); _local3++; } _local3 = 0; while (_local3 < burnBushes.length) { var _local8 = burnBushes[_local3]; var _local11 = extraContainer[(("tile_" + _local8.x) + "_") + _local8.y]; _local11.stone.play(); field[_local8.y][_local8.x] = 0; _local10.burning = true; _local3++; } if (stonesScanned.length > 0) { spawnScore(_local15 / stonesScanned.length, _local14 / stonesScanned.length, stonesScanned.length); } renderField(nr, "soft"); stoneContainer.stopTween(); stoneContainer.alphaTo(100, 1, "linear", 0, function () { _root.mouseBlocked = false; getBestFit(); }); if (_local10.burning) { _root.doSound("burning", 50); } if (_local10.getSmall) { _root.doSound("getsmall", 50); } else if (_local10.money) { _root.doSound("getsmall_money", 50); } } function subElf() { scorePanel.elves--; _root.doSound("menu_prs_1", 50); currentCountDown = currentCountDown + 2; this.removeMovieClip(); if (scorePanel.elves <= 0) { nextLevel(); } } function spreadSparkles(prop) { if (prop == "_x") { if (totalSparkles < 30) { totalSparkles++; if ((Math.abs(this._x - this.oldX) > 2) || (Math.abs(this._y - this.oldY) > 2)) { var _local4 = sparkleContainer.getNextHighestDepth(); var _local2 = sparkleContainer.attachMovie("sparkle", "sparkle" + _local4, _local4); var _local3 = (Math.random() * 0.5) + 0.1; _local2._x = (this._x + random(50)) - 25; _local2._y = (this._y + random(50)) - 25; _local2.slideTo((_local2._x - random(100)) + 50, (_local2._y - random(100)) + 50, _local3, "linear"); _local2.alphaTo(0, _local3, "linear", 0, function () { totalSparkles--; this.removeMovieClip(); }); this.oldX = this._x; this.oldY = this._y; } } } } function setTile(x, y, type, nr) { if (type == undefined) { return(undefined); } var _local2 = tileContainer.getNextHighestDepth(); var _local1 = tileContainer.attachMovie("tetris_tiles", "tile" + _local2, _local2); _local1.contour.gotoAndStop(type); _local1.fill.gotoAndStop(type); var _local3 = colorSets[nr - 1]; var _local5 = new Color(_local1.contour); var _local4 = new Color(_local1.fill); _local5.setRGB(_local3.contour); _local4.setRGB(_local3.fill); _local1._x = x; _local1._y = y; _local1.col = nr; } function setStone(x, y, nr, container, objName) { if (container == undefined) { container = (((nr > 0) && (nr < 10)) ? (stoneContainer) : (extraContainer)); } var _local2 = (x + (y * fieldDimension.width)) + 10; if (objName == undefined) { objName = "stone" + _local2; } var _local1 = container.attachMovie("tetris_stones", objName, _local2); _local1.gotoAndStop(nr); _local1._x = x; _local1._y = y; return(_local1); } function renderField(nr, option) { var _local1; var _local2; var _local5; if (nr < 10) { for (_local5 in tileContainer) { if (tileContainer[_local5].col == nr) { if (option == "soft") { tileContainer[_local5].alphaTo(0, 1, "linear", 0, removeMovieClip); } else { tileContainer[_local5].removeMovieClip(); } } } _local2 = -1; while (_local2 < fieldDimension.height) { _local1 = -1; while (_local1 < fieldDimension.width) { var _local7 = _local1 * 24; var _local6 = _local2 * 24; var _local4 = getQuad(_local1, _local2, nr); if (_local4 > 0) { setTile(_local7 + 24, _local6 + 24, _local4, nr); } _local1++; } _local2++; } if ((option != "startup") && (option != "soft")) { checkContiguous(nr); } } for (_local5 in stoneContainer) { if (stoneContainer[_local5]._currentframe == nr) { stoneContainer[_local5].removeMovieClip(); } } _local2 = 0; while (_local2 < fieldDimension.height) { _local1 = 0; while (_local1 < fieldDimension.width) { var _local7 = _local1 * 24; var _local6 = _local2 * 24; if ((nr == field[_local2][_local1]) || (nr == extraField[_local2][_local1])) { setStone(_local7 + 12, _local6 + 12, nr, undefined, (("tile_" + _local1) + "_") + _local2); } _local1++; } _local2++; } } function dropStone() { var _local2; if (currentTileShadowMc.disabled) { _root.doSound("snd_false_move", 100, _xmouse / 500); return(undefined); } for (key in placeFX.inner) { placeFX.inner[key].removeMovieClip(); } _local2 = 0; while (_local2 < currentStoneSet.length) { var _local3 = currentStoneSet[_local2]; var _local5 = bestFit.xPos + _local3.x; var _local4 = bestFit.yPos + _local3.y; field[_local4][_local5] = stoneColor; sb = placeFX.inner.attachMovie("shadowBlock", "sb" + _local2, _local2); sb._x = _local5 * 24; sb._y = _local4 * 24; _local2++; } spawnScore(bestFit.xPos * 24, bestFit.yPos * 24, 5); placeFX.inner.stopTween(); placeFX.stopTween(); placeFX.alphaTo(100, 0.1); placeFX.alphaTo(0, 0.5, "linear", 1.5); placeFX.inner.glowTo({alpha:100, blurX:0, blurY:0, color:0, inner:false, knockout:false, quality:2, strength:16}, 0); placeFX.inner.glowTo({alpha:100, blurX:16, blurY:16, color:0, inner:false, knockout:false, quality:2, strength:16}, 0.75, "linear"); placeFX.inner.glowTo({alpha:0, blurX:32, blurY:32, color:0, inner:false, knockout:false, quality:2, strength:16}, 0.25, "linear", 0.75); _root.doSound("snd_place", 20, _xmouse / 500); renderField(stoneColor); stoneType = nextStoneType; stoneColor = nextStoneColor; initTile(stoneType, stoneColor); nextStoneType = random(8) + 1; nextStoneColor = 1 + random(curLevel.colors); showPreviewTile(nextStoneType, nextStoneColor); } function vanishAnker() { trace((("this = " + this) + ", stone.curframe=") + this.stone._currentframe); this.stone.vanish = true; this.stone.gotoAndPlay(5); spawnScore(this._x, this._y, 200); _root.doSound("destroy_" + random(3), 40, this._x / 500); } function nextLevel() { currentLevel++; _root.doSound("game_win", 75); trace((("currentLevel:" + currentLevel) + " levens.length-1:") + (levels.length - 1)); if (currentLevel == (levels.length - 1)) { _root.gameWon(); return(undefined); } var _local2; var _local3; var _local5; _local5 = 0.1; _local3 = 0; while (_local3 < fieldDimension.height) { _local2 = 0; while (_local2 < fieldDimension.width) { if (field[_local3][_local2] == "o") { var _local4 = extraContainer[(("tile_" + _local2) + "_") + _local3]; _local4.alphaTo(100, _local5, "linear", 0, vanishAnker); _local5 = _local5 + 0.1; } _local2++; } _local3++; } extraContainer.alphaTo(100, _local5 + 2, "linear", 0, nextLevelBlend); } function nextLevelBlend() { _parent.ub.zoomIn(undefined, _root.game.initLevel); } function initLevel(lostBefore) { var _local3; var _local4; var _local8 = {}; var _local5; totalSparkles = 0; scorePanel.elves = 0; nodes = new Array(); elves = new Array(); curLevel = levels[currentLevel]; currentCountDown = curLevel.time; if (_root.ivId != undefined) { clearInterval(_root.ivId); energyBar.gotoAndStop(1); } if (lostBefore == undefined) { if (currentLevel == 0) { _root.showWin(curLevel.msg); } else { _root.showInbetween(curLevel.msg, curLevel.hideInbetweenScreen == undefined); } } gfBg.gotoAndStop((currentLevel % levels.length) + 1); _root.ivId = setInterval(downCounter, 1000); initFields(); for (_local5 in stoneContainer) { stoneContainer[_local5].removeMovieClip(); } for (_local5 in extraContainer) { extraContainer[_local5].removeMovieClip(); } for (_local5 in tileContainer) { tileContainer[_local5].removeMovieClip(); } _local4 = 0; while (_local4 < fieldDimension.height) { _local3 = 0; while (_local3 < fieldDimension.width) { var _local2 = curLevel.stones[_local4].charAt(_local3); if (((_local2 == "x") || (_local2 == "$")) || (_local2 == "+")) { extraField[_local4][_local3] = _local2; } else { field[_local4][_local3] = ((_local2 == " ") ? 0 : (_local2)); } _local8[_local2] = true; if (_local2 == "o") { nodes.push({x:_local3, y:_local4}); } if (_local2 == "x") { elves.push({x:_local3, y:_local4}); scorePanel.elves++; } _local3++; } _local4++; } for (_local5 in _local8) { if (_local5 != " ") { trace("renderField for " + _local5); renderField(_local5, "startup"); } } stoneType = random(8) + 1; stoneColor = 1 + random(curLevel.colors); nextStoneType = random(8) + 1; nextStoneColor = 1 + random(curLevel.colors); initTile(stoneType, stoneColor); showPreviewTile(nextStoneType, nextStoneColor); } function levelLost(msg) { scorePanel.lives = Number(scorePanel.lives) - 1; _root.doSound("game_loose", 75); if (scorePanel.lives > 0) { _root.showWin(msg, function () { initLevel(true); }); } else { gameLost(); } } function gameLost() { _root.showWin("You lost the game!\nHave another try!", endGame); } function endGame() { _root.gotoAndStop(2); } CPathFinder.prototype.SetValid = function (sv) { this.udValid = sv; }; CPathFinder.prototype.SetCost = function (sc) { this.udCost = sc; }; CPathFinder.prototype.SetData = function (sd) { this.m_pCBData = sd; }; CPathFinder.prototype.SetRows = function (r) { this.m_iRows = r; }; CPathFinder.prototype.GetBestNode = function () { return(this.m_pBest); }; CPathFinder.prototype.GeneratePath = function (sx, sy, dx, dy) { this.ClearNodes(); this.m_iSX = sx; this.m_iSY = sy; this.m_iDX = dx; this.m_iDY = dy; this.m_iDNum = this.Coord2Num(dx, dy); this.temp = new asNode(sx, sy); this.best = null; this.temp.g = 0; this.temp.h = ((dx - sx) * (dx - sx)) + ((dy - sy) * (dy - sy)); this.temp.f = Number(this.temp.g) + Number(this.temp.h); this.temp.number = this.Coord2Num(sx, sy); this.m_pOpen = this.temp; while (true) { if (!((this.best = this.GetBest()))) { return(false); } if (this.best.number == this.m_iDNum) { break; } this.CreateChildren(this.best); } this.m_pBest = this.best; return(true); }; CPathFinder.prototype.CreateChildren = function (node) { var _local3 = node.x; var _local2 = node.y; var _local6; var _local5; if (this.udValid(_local3, _local2 - 1, this.m_pCBData)) { this.LinkChild(node, _local3, _local2 - 1); } if (this.udValid(_local3, _local2 + 1, this.m_pCBData)) { this.LinkChild(node, _local3, _local2 + 1); } if (this.udValid(_local3 - 1, _local2, this.m_pCBData)) { this.LinkChild(node, _local3 - 1, _local2); } if (this.udValid(_local3 + 1, _local2, this.m_pCBData)) { this.LinkChild(node, _local3 + 1, _local2); } }; CPathFinder.prototype.LinkChild = function (node, x, y) { var _local5 = Number(node.g) + Number(this.udCost(x, y, this.m_pCBData)); var _local8 = this.Coord2Num(x, y); var _local2 = null; _local2 = this.CheckList(this.m_pOpen, _local8); if (_local2) { node.children[node.numchildren++] = _local2; if (_local5 < _local2.g) { _local2.parent = node; _local2.g = _local5; _local2.f = Number(_local5) + Number(_local2.h); } } else { _local2 = this.CheckList(this.m_pClosed, _local8); if (_local2) { node.children[node.numchildren++] = _local2; if (_local5 < _local2.g) { _local2.parent = node; _local2.g = _local5; _local2.f = Number(_local5) + Number(_local2.h); this.UpdateParents(_local2); } } else { var _local3 = new asNode(x, y); _local3.parent = node; _local3.g = _local5; _local3.h = Number((x - this.m_iDX) * (x - this.m_iDX)) + Number((y - this.m_iDY) * (y - this.m_iDY)); _local3.f = Number(_local3.g) + Number(_local3.h); _local3.number = this.Coord2Num(x, y); this.AddToOpen(_local3); node.children[node.numchildren++] = _local3; } } }; CPathFinder.prototype.UpdateParents = function (node) { var _local7 = node.g; var _local5 = node.numchildren; var _local3; var _local2 = null; _local3 = 0; while (_local3 < _local5) { _local2 = node.children[_local3]; if ((_local7 + 1) < _local2.g) { _local2.g = Number(_local7) + 1; _local2.f = Number(_local2.g) + Number(_local2.h); _local2.parent = node; this.Push(_local2); } _local3++; } var _local4; while (this.m_pStack) { _local4 = this.Pop(); _local5 = _local4.numchildren; _local3 = 0; while (_local3 < _local5) { _local2 = _local4.children[_local3]; if ((_local4.g + 1) < _local2.g) { _local2.g = Number(_local4.g) + Number(this.udCost(_local2.x, _local2.y, this.m_pCBData)); _local2.f = Number(_local2.g) + Number(_local2.h); _local2.parent = _local4; this.Push(_local2); } _local3++; } } }; CPathFinder.prototype.Push = function (node) { if (!this.m_pStack) { this.m_pStack = new asStack(); this.m_pStack.data = node; this.m_pStack.next = null; } else { var _local2 = new asStack(); _local2.data = node; _local2.next = this.m_pStack; this.m_pStack = _local2; } }; CPathFinder.prototype.Pop = function () { var _local3 = this.m_pStack.data; var _local2 = this.m_pStack; this.m_pStack = _local2.next; return(_local3); }; CPathFinder.prototype.CheckList = function (node, num) { while (node) { if (node.number == num) { return(node); } node = node.next; } return(null); }; CPathFinder.prototype.Coord2Num = function (x, y) { return((x * this.m_iRows) + y); }; CPathFinder.prototype.AddToOpen = function (addnode) { var _local2 = this.m_pOpen; var _local4 = null; if (!this.m_pOpen) { this.m_pOpen = addnode; return(undefined); } if (_local2) { if (addnode.f > _local2.f) { _local4 = _local2; _local2 = _local2.next; // unexpected jump } if (_local4) { _local4.next = addnode; addnode.next = _local2; } else { var _local5 = this.m_pOpen; this.m_pOpen = addnode; this.m_pOpen.next = _local5; } return(undefined); } _local4.next = addnode; }; CPathFinder.prototype.ClearNodes = function () { var _local2 = null; var _local3 = null; if (this.m_pOpen) { while (this.m_pOpen) { _local2 = this.m_pOpen.next; delete this.m_pOpen; this.m_pOpen = _local2; } } if (this.m_pClosed) { while (this.m_pClosed) { _local2 = this.m_pClosed.next; delete this.m_pClosed; this.m_pClosed = _local2; } } }; CPathFinder.prototype.GetBest = function () { if (!this.m_pOpen) { return(null); } var _local2 = this.m_pOpen; var _local3 = this.m_pClosed; this.m_pOpen = _local2.next; if (_local3) { this.m_pClosed = _local2; this.m_pClosed.next = _local3; } else { this.m_pClosed = _local2; this.m_pClosed.next = null; } return(_local2); }; var PathFinder = new CPathFinder(); var colorSets = [{fill:3707946, contour:8115821}, {fill:11935262, contour:15166572}, {fill:90779, contour:4101876}, {fill:11373329, contour:15715928}, {fill:11089541, contour:14123196}, {fill:7697781, contour:11513775}]; var fieldDimension = {width:15, height:15}; var field = new Array(); var extraField = new Array(); var drawField = new Array(); var currentStoneSet = new Array(); var bestFit = {x:-100, y:-100}; var nodes = new Array(); var elves = new Array(); var curLevel; var currentCountDown = 0; scorePanel.lives = 3; scorePanel.score = 0; var emptyClips = ["tileContainer", "stoneContainer", "extraContainer", "placeFX", "vanishingStones", "currentTileShadowMc", "currentTileMc", "sparkleContainer", "testPath", "scoreContainer"]; i = 0; while (i < emptyClips.length) { var clipName = emptyClips[i]; this[clipName] = this.createEmptyMovieClip(clipName, this.getNextHighestDepth()); i++; } var placeFXBlur = (new flash.filters.GlowFilter(10027212, 70, 8, 8, 1, 1, false, true)); placeFX.filters = [placeFXBlur]; placeFX.inner = placeFX.createEmptyMovieClip("inner", placeFX.getNextHighestDepth()); currentTileMc.rotation = 0; currentTileMc.rotateTarget = 0; currentTileShadowMc.virtualRotation = 0; if (_root.listenersSet == undefined) { _root.listenersSet = true; var keyListener = new Object(); keyListener.onKeyDown = function () { var _local1 = Key.getCode(); if (_local1 == 37) { rotateTile(-1); } else if (_local1 == 39) { rotateTile(1); } }; Key.addListener(keyListener); var mouseListener = new Object(); mouseListener.onMouseWheel = function (delta) { if (_root.mouseBlocked) { return(undefined); } trace("delta:" + delta); rotateTile(delta); }; mouseListener.onMouseMove = function () { if (!_root.mouseBlocked) { getBestFit(); } currentTileMc._x = _xmouse; currentTileMc._y = _ymouse; }; mouseListener.onMouseUp = function () { if (!_root.mouseBlocked) { dropStone(); } }; Mouse.addListener(mouseListener); } currentTileMc.onEnterFrame = function () { if ((this.rotateTarget * 90) != this.rotation) { var _local2 = (this.rotateTarget * 90) - this.rotation; if (Math.abs(_local2) > 1) { this.rotation = this.rotation + (_local2 * 0.5); } else { this.rotation = this.rotateTarget * 90; getStoneAlignment(); getBestFit(); if (!currentTileShadowMc.disabled) { currentTileShadowMc.alphaTo(50, 0.5); } } this._rotation = this.rotation; } currentTileShadowMc._x = currentTileShadowMc._x + ((bestFit.x - currentTileShadowMc._x) * 0.6); currentTileShadowMc._y = currentTileShadowMc._y + ((bestFit.y - currentTileShadowMc._y) * 0.6); }; var alreadySeached = new Array(); var stonesScanned = new Array(); var oFound = 0; var burnBushes = new Array(); var totalSparkles = 0; var stoneType; var stoneColor; initLevel();Instance of Symbol 337 MovieClip in Symbol 442 MovieClip Frame 1//component parameters onClipEvent (construct) { buttonText = "Tutorial"; pressFunction = "showHelp"; evalStr = ""; showShadow = true; focus = "root"; }Instance of Symbol 337 MovieClip in Symbol 442 MovieClip Frame 1//component parameters onClipEvent (construct) { buttonText = "Get Full Version"; pressFunction = "doDownload"; evalStr = ""; showShadow = true; focus = "root"; }Instance of Symbol 337 MovieClip in Symbol 442 MovieClip Frame 1//component parameters onClipEvent (construct) { buttonText = "Quit"; pressFunction = "mainMenu"; evalStr = ""; showShadow = true; focus = "root"; }Symbol 458 MovieClip Frame 1stop();Symbol 458 MovieClip Frame 2function bringToFront() { var _local3 = this._parent.getNextHighestDepth(); var _local2 = this.duplicateMovieClip("newss" + _local3, _local3, this); _local2.underLying = this; _local2._alpha = 0; _local2.filters = [new flash.filters.GlowFilter(16777215, 1, 8, 8, 2, 2, false, false)]; _local2.alphaTo(100, 1, "linear", 0, delUnderlying); } function delUnderlying() { this.underLying.alphaTo(0, 1, "linear", 0, removeMovieClip); this.glowTo({color:16777215, alpha:1, blurX:16, blurY:16, strength:2, quality:2}, 1, "linear", timePerSlide * 4, bringToFront); } bgInbetween.useHandCursor = false; bgInbetween.onRelease = function () { }; var timePerSlide = 3; i = 0; while (i < 4) { var obj = this["ss" + i]; var delay = i; obj.glowTo({color:16777215, alpha:1, blurX:8, blurY:8, strength:2, quality:2}, 1, "linear", 0); obj.alphaTo(100, 0, "linear", (((i + 3) % 4) + 1) * timePerSlide, bringToFront); i++; }Instance of Symbol 337 MovieClip in Symbol 458 MovieClip Frame 2//component parameters onClipEvent (construct) { buttonText = "Continue"; pressFunction = "continueGame"; evalStr = ""; showShadow = false; focus = "root"; }Instance of Symbol 337 MovieClip in Symbol 458 MovieClip Frame 2//component parameters onClipEvent (construct) { buttonText = "Download Now!"; pressFunction = "doDownload"; evalStr = ""; showShadow = false; focus = "root"; }
Library Items
Symbol 1 Sound [explosion] | ||
Symbol 2 Sound [snd_rotate] | ||
Symbol 3 Sound [panel_out] | ||
Symbol 4 Sound [panel_in] | ||
Symbol 5 Sound [menu_sel] | ||
Symbol 6 Sound [menu_prs_2] | ||
Symbol 7 Sound [menu_prs_1] | ||
Symbol 8 Sound [menu_prs_0] | ||
Symbol 9 Sound [getsmall_money] | ||
Symbol 10 Sound [getsmall] | ||
Symbol 11 Sound [game_win] | ||
Symbol 12 Sound [game_loose] | ||
Symbol 13 Sound [snd_false_move] | ||
Symbol 14 Sound [snd_place] | ||
Symbol 15 Sound [destroy_2] | ||
Symbol 16 Sound [destroy_1] | ||
Symbol 17 Sound [destroy_0] | ||
Symbol 18 Sound [snd_connection] | ||
Symbol 19 Sound [burning] | ||
Symbol 20 Graphic | Used by:31 | |
Symbol 21 Graphic | Used by:31 | |
Symbol 22 Graphic | Used by:31 | |
Symbol 23 Graphic | Used by:31 | |
Symbol 24 Graphic | Used by:31 | |
Symbol 25 Graphic | Used by:31 | |
Symbol 26 Graphic | Used by:31 | |
Symbol 27 Graphic | Used by:31 | |
Symbol 28 Graphic | Used by:31 | |
Symbol 29 Graphic | Used by:31 | |
Symbol 30 Graphic | Used by:31 | |
Symbol 31 MovieClip | Uses:20 21 22 23 24 25 26 27 28 29 30 | Used by:40 |
Symbol 32 Graphic | Used by:39 | |
Symbol 33 Graphic | Used by:39 | |
Symbol 34 Graphic | Used by:39 | |
Symbol 35 Graphic | Used by:39 | |
Symbol 36 Graphic | Used by:39 | |
Symbol 37 Graphic | Used by:39 | |
Symbol 38 Graphic | Used by:39 | |
Symbol 39 MovieClip | Uses:32 33 34 35 36 37 38 | Used by:40 |
Symbol 40 MovieClip [tetris_tiles] | Uses:31 39 | |
Symbol 41 Graphic | Used by:49 361 371 434 | |
Symbol 42 Graphic | Used by:49 | |
Symbol 43 Graphic | Used by:49 | |
Symbol 44 Graphic | Used by:49 434 | |
Symbol 45 Graphic | Used by:49 434 | |
Symbol 46 Graphic | Used by:49 361 434 | |
Symbol 47 Graphic | Used by:49 | |
Symbol 48 Graphic | Used by:49 434 | |
Symbol 49 MovieClip [tetrisStone_fills] | Uses:41 42 43 44 45 46 47 48 | Used by:294 |
Symbol 50 Graphic | Used by:58 361 371 438 | |
Symbol 51 Graphic | Used by:58 | |
Symbol 52 Graphic | Used by:58 | |
Symbol 53 Graphic | Used by:58 438 | |
Symbol 54 Graphic | Used by:58 438 | |
Symbol 55 Graphic | Used by:58 361 438 | |
Symbol 56 Graphic | Used by:58 | |
Symbol 57 Graphic | Used by:58 438 | |
Symbol 58 MovieClip | Uses:50 51 52 53 54 55 56 57 | Used by:294 |
Symbol 59 Bitmap | Used by:60 | |
Symbol 60 Graphic | Uses:59 | Used by:61 |
Symbol 61 MovieClip | Uses:60 | Used by:292 |
Symbol 62 Bitmap | Used by:63 | |
Symbol 63 Graphic | Uses:62 | Used by:64 361 |
Symbol 64 MovieClip | Uses:63 | Used by:292 361 371 |
Symbol 65 Bitmap | Used by:66 | |
Symbol 66 Graphic | Uses:65 | Used by:67 |
Symbol 67 MovieClip | Uses:66 | Used by:292 |
Symbol 68 Bitmap | Used by:69 | |
Symbol 69 Graphic | Uses:68 | Used by:70 |
Symbol 70 MovieClip | Uses:69 | Used by:292 |
Symbol 71 Bitmap | Used by:72 | |
Symbol 72 Graphic | Uses:71 | Used by:73 |
Symbol 73 MovieClip | Uses:72 | Used by:292 |
Symbol 74 Bitmap | Used by:75 | |
Symbol 75 Graphic | Uses:74 | Used by:76 |
Symbol 76 MovieClip | Uses:75 | Used by:292 |
Symbol 77 Bitmap | Used by:78 | |
Symbol 78 Graphic | Uses:77 | Used by:101 352 361 |
Symbol 79 Bitmap | Used by:80 | |
Symbol 80 Graphic | Uses:79 | Used by:101 352 361 |
Symbol 81 Bitmap | Used by:82 | |
Symbol 82 Graphic | Uses:81 | Used by:101 352 361 |
Symbol 83 Bitmap | Used by:84 | |
Symbol 84 Graphic | Uses:83 | Used by:101 352 361 |
Symbol 85 Bitmap | Used by:86 | |
Symbol 86 Graphic | Uses:85 | Used by:101 352 361 |
Symbol 87 Bitmap | Used by:88 | |
Symbol 88 Graphic | Uses:87 | Used by:101 352 361 |
Symbol 89 Bitmap | Used by:90 | |
Symbol 90 Graphic | Uses:89 | Used by:101 352 361 |
Symbol 91 Bitmap | Used by:92 | |
Symbol 92 Graphic | Uses:91 | Used by:101 352 361 |
Symbol 93 Bitmap | Used by:94 | |
Symbol 94 Graphic | Uses:93 | Used by:95 |
Symbol 95 MovieClip | Uses:94 | Used by:101 352 361 |
Symbol 96 Bitmap | Used by:97 | |
Symbol 97 Graphic | Uses:96 | Used by:100 |
Symbol 98 Bitmap | Used by:99 | |
Symbol 99 Graphic | Uses:98 | Used by:100 |
Symbol 100 MovieClip | Uses:97 99 | Used by:101 352 361 |
Symbol 101 MovieClip | Uses:78 80 82 84 86 88 90 92 95 100 | Used by:292 |
Symbol 102 Bitmap | Used by:103 | |
Symbol 103 Graphic | Uses:102 | Used by:106 361 |
Symbol 104 Graphic | Used by:106 361 | |
Symbol 105 Graphic | Used by:106 361 | |
Symbol 106 MovieClip | Uses:103 104 105 | Used by:292 |
Symbol 107 Bitmap | Used by:108 | |
Symbol 108 Graphic | Uses:107 | Used by:117 |
Symbol 109 Bitmap | Used by:110 | |
Symbol 110 Graphic | Uses:109 | Used by:117 |
Symbol 111 Bitmap | Used by:112 | |
Symbol 112 Graphic | Uses:111 | Used by:117 |
Symbol 113 Bitmap | Used by:114 | |
Symbol 114 Graphic | Uses:113 | Used by:117 |
Symbol 115 Bitmap | Used by:116 | |
Symbol 116 Graphic | Uses:115 | Used by:117 |
Symbol 117 MovieClip | Uses:108 110 112 114 116 | Used by:164 352 |
Symbol 118 Bitmap | Used by:119 | |
Symbol 119 Graphic | Uses:118 | Used by:164 352 |
Symbol 120 Bitmap | Used by:121 | |
Symbol 121 Graphic | Uses:120 | Used by:164 352 |
Symbol 122 Bitmap | Used by:123 | |
Symbol 123 Graphic | Uses:122 | Used by:164 352 |
Symbol 124 Bitmap | Used by:125 | |
Symbol 125 Graphic | Uses:124 | Used by:164 352 |
Symbol 126 Bitmap | Used by:127 | |
Symbol 127 Graphic | Uses:126 | Used by:164 352 |
Symbol 128 Bitmap | Used by:129 | |
Symbol 129 Graphic | Uses:128 | Used by:164 352 |
Symbol 130 Bitmap | Used by:131 | |
Symbol 131 Graphic | Uses:130 | Used by:164 352 |
Symbol 132 Bitmap | Used by:133 | |
Symbol 133 Graphic | Uses:132 | Used by:164 352 |
Symbol 134 Bitmap | Used by:135 | |
Symbol 135 Graphic | Uses:134 | Used by:164 352 |
Symbol 136 Bitmap | Used by:137 | |
Symbol 137 Graphic | Uses:136 | Used by:164 352 |
Symbol 138 Bitmap | Used by:139 | |
Symbol 139 Graphic | Uses:138 | Used by:164 352 |
Symbol 140 Bitmap | Used by:141 | |
Symbol 141 Graphic | Uses:140 | Used by:164 352 |
Symbol 142 Bitmap | Used by:143 | |
Symbol 143 Graphic | Uses:142 | Used by:164 352 |
Symbol 144 Bitmap | Used by:145 | |
Symbol 145 Graphic | Uses:144 | Used by:164 352 |
Symbol 146 Bitmap | Used by:147 | |
Symbol 147 Graphic | Uses:146 | Used by:164 352 |
Symbol 148 Bitmap | Used by:149 | |
Symbol 149 Graphic | Uses:148 | Used by:164 352 |
Symbol 150 Bitmap | Used by:151 | |
Symbol 151 Graphic | Uses:150 | Used by:164 352 |
Symbol 152 Bitmap | Used by:153 | |
Symbol 153 Graphic | Uses:152 | Used by:164 352 |
Symbol 154 Bitmap | Used by:155 | |
Symbol 155 Graphic | Uses:154 | Used by:164 352 |
Symbol 156 Bitmap | Used by:157 | |
Symbol 157 Graphic | Uses:156 | Used by:164 352 |
Symbol 158 Bitmap | Used by:159 | |
Symbol 159 Graphic | Uses:158 | Used by:164 352 |
Symbol 160 Bitmap | Used by:161 | |
Symbol 161 Graphic | Uses:160 | Used by:164 352 |
Symbol 162 Bitmap | Used by:163 | |
Symbol 163 Graphic | Uses:162 | Used by:164 352 |
Symbol 164 MovieClip | Uses:117 119 121 123 125 127 129 131 133 135 137 139 141 143 145 147 149 151 153 155 157 159 161 163 | Used by:292 |
Symbol 165 Bitmap | Used by:166 | |
Symbol 166 Graphic | Uses:165 | Used by:218 352 |
Symbol 167 Graphic | Used by:218 352 | |
Symbol 168 Bitmap | Used by:169 | |
Symbol 169 Graphic | Uses:168 | Used by:218 352 |
Symbol 170 Bitmap | Used by:171 | |
Symbol 171 Graphic | Uses:170 | Used by:218 352 |
Symbol 172 Bitmap | Used by:173 | |
Symbol 173 Graphic | Uses:172 | Used by:218 352 |
Symbol 174 Bitmap | Used by:175 | |
Symbol 175 Graphic | Uses:174 | Used by:218 352 |
Symbol 176 Bitmap | Used by:177 | |
Symbol 177 Graphic | Uses:176 | Used by:218 352 |
Symbol 178 Bitmap | Used by:179 | |
Symbol 179 Graphic | Uses:178 | Used by:218 352 |
Symbol 180 Bitmap | Used by:181 | |
Symbol 181 Graphic | Uses:180 | Used by:218 352 |
Symbol 182 Bitmap | Used by:183 | |
Symbol 183 Graphic | Uses:182 | Used by:218 352 |
Symbol 184 Bitmap | Used by:185 | |
Symbol 185 Graphic | Uses:184 | Used by:218 352 |
Symbol 186 Bitmap | Used by:187 | |
Symbol 187 Graphic | Uses:186 | Used by:218 352 |
Symbol 188 Bitmap | Used by:189 | |
Symbol 189 Graphic | Uses:188 | Used by:218 352 |
Symbol 190 Bitmap | Used by:191 | |
Symbol 191 Graphic | Uses:190 | Used by:218 352 |
Symbol 192 Bitmap | Used by:193 | |
Symbol 193 Graphic | Uses:192 | Used by:218 352 |
Symbol 194 Bitmap | Used by:195 | |
Symbol 195 Graphic | Uses:194 | Used by:218 352 |
Symbol 196 Bitmap | Used by:197 | |
Symbol 197 Graphic | Uses:196 | Used by:218 352 |
Symbol 198 Bitmap | Used by:199 | |
Symbol 199 Graphic | Uses:198 | Used by:218 352 |
Symbol 200 Bitmap | Used by:201 | |
Symbol 201 Graphic | Uses:200 | Used by:218 352 |
Symbol 202 Bitmap | Used by:203 | |
Symbol 203 Graphic | Uses:202 | Used by:218 352 |
Symbol 204 Bitmap | Used by:205 | |
Symbol 205 Graphic | Uses:204 | Used by:218 352 |
Symbol 206 Bitmap | Used by:207 | |
Symbol 207 Graphic | Uses:206 | Used by:218 352 |
Symbol 208 Bitmap | Used by:209 | |
Symbol 209 Graphic | Uses:208 | Used by:218 352 |
Symbol 210 Bitmap | Used by:211 | |
Symbol 211 Graphic | Uses:210 | Used by:218 352 |
Symbol 212 Bitmap | Used by:213 | |
Symbol 213 Graphic | Uses:212 | Used by:218 352 |
Symbol 214 Bitmap | Used by:215 | |
Symbol 215 Graphic | Uses:214 | Used by:218 352 |
Symbol 216 Bitmap | Used by:217 | |
Symbol 217 Graphic | Uses:216 | Used by:218 352 |
Symbol 218 MovieClip | Uses:166 167 169 171 173 175 177 179 181 183 185 187 189 191 193 195 197 199 201 203 205 207 209 211 213 215 217 | Used by:292 |
Symbol 219 Bitmap | Used by:220 | |
Symbol 220 Graphic | Uses:219 | Used by:229 |
Symbol 221 Bitmap | Used by:222 | |
Symbol 222 Graphic | Uses:221 | Used by:229 |
Symbol 223 Bitmap | Used by:224 | |
Symbol 224 Graphic | Uses:223 | Used by:229 |
Symbol 225 Bitmap | Used by:226 | |
Symbol 226 Graphic | Uses:225 | Used by:229 |
Symbol 227 Bitmap | Used by:228 | |
Symbol 228 Graphic | Uses:227 | Used by:229 |
Symbol 229 MovieClip | Uses:220 222 224 226 228 | Used by:292 352 |
Symbol 230 Bitmap | Used by:231 | |
Symbol 231 Graphic | Uses:230 | Used by:291 352 |
Symbol 232 Bitmap | Used by:233 | |
Symbol 233 Graphic | Uses:232 | Used by:250 |
Symbol 234 Bitmap | Used by:235 | |
Symbol 235 Graphic | Uses:234 | Used by:250 |
Symbol 236 Bitmap | Used by:237 | |
Symbol 237 Graphic | Uses:236 | Used by:250 |
Symbol 238 Bitmap | Used by:239 | |
Symbol 239 Graphic | Uses:238 | Used by:250 |
Symbol 240 Bitmap | Used by:241 | |
Symbol 241 Graphic | Uses:240 | Used by:250 |
Symbol 242 Bitmap | Used by:243 | |
Symbol 243 Graphic | Uses:242 | Used by:250 |
Symbol 244 Bitmap | Used by:245 | |
Symbol 245 Graphic | Uses:244 | Used by:250 |
Symbol 246 Bitmap | Used by:247 | |
Symbol 247 Graphic | Uses:246 | Used by:250 |
Symbol 248 Bitmap | Used by:249 | |
Symbol 249 Graphic | Uses:248 | Used by:250 |
Symbol 250 MovieClip | Uses:233 235 237 239 241 243 245 247 249 | Used by:291 352 |
Symbol 251 Bitmap | Used by:252 | |
Symbol 252 Graphic | Uses:251 | Used by:291 352 |
Symbol 253 Bitmap | Used by:254 | |
Symbol 254 Graphic | Uses:253 | Used by:291 352 |
Symbol 255 Bitmap | Used by:256 | |
Symbol 256 Graphic | Uses:255 | Used by:291 352 |
Symbol 257 Bitmap | Used by:258 | |
Symbol 258 Graphic | Uses:257 | Used by:291 352 |
Symbol 259 Bitmap | Used by:260 | |
Symbol 260 Graphic | Uses:259 | Used by:291 352 |
Symbol 261 Bitmap | Used by:262 | |
Symbol 262 Graphic | Uses:261 | Used by:291 352 |
Symbol 263 Bitmap | Used by:264 | |
Symbol 264 Graphic | Uses:263 | Used by:291 352 |
Symbol 265 Bitmap | Used by:266 | |
Symbol 266 Graphic | Uses:265 | Used by:291 352 |
Symbol 267 Bitmap | Used by:268 | |
Symbol 268 Graphic | Uses:267 | Used by:291 352 |
Symbol 269 Bitmap | Used by:270 | |
Symbol 270 Graphic | Uses:269 | Used by:291 352 |
Symbol 271 Bitmap | Used by:272 | |
Symbol 272 Graphic | Uses:271 | Used by:291 352 |
Symbol 273 Bitmap | Used by:274 | |
Symbol 274 Graphic | Uses:273 | Used by:291 352 |
Symbol 275 Bitmap | Used by:276 | |
Symbol 276 Graphic | Uses:275 | Used by:291 352 |
Symbol 277 Bitmap | Used by:278 | |
Symbol 278 Graphic | Uses:277 | Used by:291 352 |
Symbol 279 Bitmap | Used by:280 | |
Symbol 280 Graphic | Uses:279 | Used by:291 352 |
Symbol 281 Bitmap | Used by:282 | |
Symbol 282 Graphic | Uses:281 | Used by:291 352 |
Symbol 283 Bitmap | Used by:284 | |
Symbol 284 Graphic | Uses:283 | Used by:291 352 |
Symbol 285 Bitmap | Used by:286 | |
Symbol 286 Graphic | Uses:285 | Used by:291 352 |
Symbol 287 Bitmap | Used by:288 | |
Symbol 288 Graphic | Uses:287 | Used by:291 352 |
Symbol 289 Bitmap | Used by:290 | |
Symbol 290 Graphic | Uses:289 | Used by:291 |
Symbol 291 MovieClip | Uses:231 250 252 254 256 258 260 262 264 266 268 270 272 274 276 278 280 282 284 286 288 290 | Used by:292 |
Symbol 292 MovieClip [tetris_stones] | Uses:61 64 67 70 73 76 101 106 164 218 229 291 | Used by:293 439 |
Symbol 293 MovieClip | Uses:292 | Used by:294 |
Symbol 294 MovieClip [tetrisTile] | Uses:49 58 293 | |
Symbol 295 Graphic | Used by:296 | |
Symbol 296 MovieClip [shadowBlock] | Uses:295 | |
Symbol 297 Graphic | Used by:298 | |
Symbol 298 MovieClip [marker] | Uses:297 | |
Symbol 299 Bitmap | Used by:300 | |
Symbol 300 Graphic | Uses:299 | Used by:307 |
Symbol 301 Bitmap | Used by:302 | |
Symbol 302 Graphic | Uses:301 | Used by:307 |
Symbol 303 Bitmap | Used by:304 | |
Symbol 304 Graphic | Uses:303 | Used by:307 |
Symbol 305 Bitmap | Used by:306 | |
Symbol 306 Graphic | Uses:305 | Used by:307 |
Symbol 307 MovieClip [sparkle] | Uses:300 302 304 306 | |
Symbol 308 Font | Used by:309 321 324 335 342 347 392 428 429 430 455 | |
Symbol 309 EditableText | Uses:308 | Used by:310 |
Symbol 310 MovieClip | Uses:309 | Used by:311 |
Symbol 311 MovieClip [scoreSpawn] | Uses:310 | |
Symbol 312 Font | Used by:313 | |
Symbol 313 EditableText | Uses:312 | Used by:316 |
Symbol 314 Graphic | Used by:315 | |
Symbol 315 MovieClip | Uses:314 | Used by:316 |
Symbol 316 MovieClip | Uses:313 315 | Used by:Timeline |
Symbol 317 Bitmap | Used by:318 | |
Symbol 318 Graphic | Uses:317 | Used by:Timeline |
Symbol 319 MovieClip | Used by:Timeline | |
Symbol 320 Graphic | Used by:325 | |
Symbol 321 Text | Uses:308 | Used by:325 |
Symbol 322 Graphic | Used by:325 | |
Symbol 323 Graphic | Used by:325 | |
Symbol 324 Text | Uses:308 | Used by:325 |
Symbol 325 MovieClip | Uses:320 321 322 323 324 | Used by:Timeline |
Symbol 326 Bitmap | Used by:327 | |
Symbol 327 Graphic | Uses:326 | Used by:328 |
Symbol 328 MovieClip | Uses:327 | Used by:337 |
Symbol 329 Bitmap | Used by:330 | |
Symbol 330 Graphic | Uses:329 | Used by:331 |
Symbol 331 MovieClip | Uses:330 | Used by:337 |
Symbol 332 Bitmap | Used by:333 | |
Symbol 333 Graphic | Uses:332 | Used by:334 |
Symbol 334 MovieClip | Uses:333 | Used by:337 |
Symbol 335 EditableText | Uses:308 | Used by:336 |
Symbol 336 MovieClip | Uses:335 | Used by:337 |
Symbol 337 MovieClip | Uses:328 331 334 336 | Used by:343 388 391 393 442 458 Timeline |
Symbol 338 Graphic | Used by:339 | |
Symbol 339 MovieClip | Uses:338 | Used by:343 |
Symbol 340 Bitmap | Used by:341 | |
Symbol 341 Graphic | Uses:340 | Used by:343 |
Symbol 342 EditableText | Uses:308 | Used by:343 |
Symbol 343 MovieClip | Uses:339 341 342 337 | Used by:Timeline |
Symbol 344 Bitmap | Used by:345 | |
Symbol 345 Graphic | Uses:344 | Used by:346 |
Symbol 346 MovieClip | Uses:345 | Used by:391 393 458 |
Symbol 347 Text | Uses:308 | Used by:391 |
Symbol 348 Graphic | Used by:351 353 361 | |
Symbol 349 Bitmap | Used by:350 | |
Symbol 350 Graphic | Uses:349 | Used by:351 354 Timeline |
Symbol 351 MovieClip | Uses:348 350 | Used by:352 |
Symbol 352 MovieClip | Uses:351 231 250 229 166 167 117 78 252 254 256 258 260 262 169 264 171 80 82 84 86 88 90 119 92 121 95 100 123 125 127 129 131 133 135 173 137 175 139 177 141 266 179 143 181 145 268 183 147 185 149 270 187 151 189 153 272 191 155 193 157 274 195 159 197 161 276 199 163 201 278 203 205 280 207 209 282 211 213 284 215 217 286 288 | Used by:384 |
Symbol 353 MovieClip | Uses:348 | Used by:354 |
Symbol 354 MovieClip | Uses:353 350 | Used by:355 |
Symbol 355 MovieClip | Uses:354 | Used by:361 371 |
Symbol 356 Bitmap | Used by:357 | |
Symbol 357 Graphic | Uses:356 | Used by:358 |
Symbol 358 MovieClip | Uses:357 | Used by:361 371 Timeline |
Symbol 359 Graphic | Used by:360 | |
Symbol 360 MovieClip | Uses:359 | Used by:361 |
Symbol 361 MovieClip | Uses:355 78 348 41 50 64 358 103 104 105 46 55 63 360 80 82 84 86 88 90 92 95 100 | Used by:384 |
Symbol 362 Graphic | Used by:371 | |
Symbol 363 Graphic | Used by:364 | |
Symbol 364 MovieClip | Uses:363 | Used by:371 |
Symbol 365 Graphic | Used by:366 | |
Symbol 366 MovieClip | Uses:365 | Used by:368 371 |
Symbol 367 Graphic | Used by:371 | |
Symbol 368 MovieClip | Uses:366 | Used by:371 |
Symbol 369 Graphic | Used by:370 | |
Symbol 370 MovieClip | Uses:369 | Used by:371 |
Symbol 371 MovieClip | Uses:355 41 50 64 358 362 364 366 367 368 370 | Used by:384 |
Symbol 372 Font | Used by:373 375 377 378 379 380 381 382 456 457 | |
Symbol 373 Text | Uses:372 | Used by:374 |
Symbol 374 MovieClip | Uses:373 | Used by:384 |
Symbol 375 Text | Uses:372 | Used by:376 |
Symbol 376 MovieClip | Uses:375 | Used by:384 |
Symbol 377 Text | Uses:372 | Used by:383 |
Symbol 378 Text | Uses:372 | Used by:383 |
Symbol 379 Text | Uses:372 | Used by:383 |
Symbol 380 Text | Uses:372 | Used by:383 |
Symbol 381 Text | Uses:372 | Used by:383 |
Symbol 382 Text | Uses:372 | Used by:383 |
Symbol 383 MovieClip | Uses:377 378 379 380 381 382 | Used by:384 |
Symbol 384 MovieClip | Uses:352 361 371 374 376 383 | Used by:391 |
Symbol 385 Graphic | Used by:386 387 | |
Symbol 386 MovieClip | Uses:385 | Used by:387 |
Symbol 387 Button | Uses:386 385 | Used by:391 |
Symbol 388 MovieClip | Uses:337 | Used by:391 |
Symbol 389 Graphic | Used by:390 | |
Symbol 390 MovieClip | Uses:389 | Used by:391 |
Symbol 391 MovieClip | Uses:346 347 384 387 388 337 390 | Used by:Timeline |
Symbol 392 Text | Uses:308 | Used by:393 |
Symbol 393 MovieClip | Uses:346 392 337 | Used by:Timeline |
Symbol 394 Graphic | Used by:399 | |
Symbol 395 Graphic | Used by:399 | |
Symbol 396 Graphic | Used by:399 | |
Symbol 397 Graphic | Used by:399 | |
Symbol 398 Graphic | Used by:399 | |
Symbol 399 MovieClip | Uses:394 395 396 397 398 | Used by:406 |
Symbol 400 Graphic | Used by:405 | |
Symbol 401 Graphic | Used by:405 | |
Symbol 402 Graphic | Used by:405 | |
Symbol 403 Graphic | Used by:405 | |
Symbol 404 Graphic | Used by:405 | |
Symbol 405 MovieClip | Uses:400 401 402 403 404 | Used by:406 |
Symbol 406 MovieClip | Uses:399 405 | Used by:Timeline |
Symbol 407 Graphic | Used by:408 | |
Symbol 408 MovieClip | Uses:407 | Used by:409 |
Symbol 409 MovieClip | Uses:408 | Used by:Timeline |
Symbol 410 Graphic | Used by:417 | |
Symbol 411 Graphic | Used by:417 | |
Symbol 412 Graphic | Used by:417 | |
Symbol 413 Graphic | Used by:417 | |
Symbol 414 Graphic | Used by:417 | |
Symbol 415 Graphic | Used by:417 | |
Symbol 416 Graphic | Used by:417 | |
Symbol 417 MovieClip | Uses:410 411 412 413 414 415 416 | Used by:442 |
Symbol 418 Bitmap | Used by:419 | |
Symbol 419 Graphic | Uses:418 | Used by:420 |
Symbol 420 MovieClip | Uses:419 | Used by:427 |
Symbol 421 Graphic | Used by:422 | |
Symbol 422 MovieClip | Uses:421 | Used by:427 |
Symbol 423 Graphic | Used by:424 | |
Symbol 424 MovieClip | Uses:423 | Used by:425 |
Symbol 425 MovieClip | Uses:424 | Used by:426 |
Symbol 426 MovieClip | Uses:425 | Used by:427 |
Symbol 427 MovieClip | Uses:420 422 426 | Used by:442 |
Symbol 428 EditableText | Uses:308 | Used by:441 |
Symbol 429 EditableText | Uses:308 | Used by:441 |
Symbol 430 EditableText | Uses:308 | Used by:441 |
Symbol 431 Graphic | Used by:434 | |
Symbol 432 Graphic | Used by:434 | |
Symbol 433 Graphic | Used by:434 | |
Symbol 434 MovieClip | Uses:41 431 432 44 45 46 433 48 | Used by:440 |
Symbol 435 Graphic | Used by:438 | |
Symbol 436 Graphic | Used by:438 | |
Symbol 437 Graphic | Used by:438 | |
Symbol 438 MovieClip | Uses:50 435 436 53 54 55 437 57 | Used by:440 |
Symbol 439 MovieClip | Uses:292 | Used by:440 |
Symbol 440 MovieClip | Uses:434 438 439 | Used by:441 |
Symbol 441 MovieClip | Uses:428 429 430 440 | Used by:442 |
Symbol 442 MovieClip | Uses:417 427 337 441 | Used by:Timeline |
Symbol 443 Bitmap | Used by:444 | |
Symbol 444 Graphic | Uses:443 | Used by:445 |
Symbol 445 MovieClip | Uses:444 | Used by:458 |
Symbol 446 Bitmap | Used by:447 | |
Symbol 447 Graphic | Uses:446 | Used by:448 |
Symbol 448 MovieClip | Uses:447 | Used by:458 |
Symbol 449 Bitmap | Used by:450 | |
Symbol 450 Graphic | Uses:449 | Used by:451 |
Symbol 451 MovieClip | Uses:450 | Used by:458 |
Symbol 452 Bitmap | Used by:453 | |
Symbol 453 Graphic | Uses:452 | Used by:454 |
Symbol 454 MovieClip | Uses:453 | Used by:458 |
Symbol 455 Text | Uses:308 | Used by:458 |
Symbol 456 Text | Uses:372 | Used by:458 |
Symbol 457 Text | Uses:372 | Used by:458 |
Symbol 458 MovieClip | Uses:346 445 448 451 454 455 456 337 457 | Used by:Timeline |
Instance Names
"muteSoundButton" | Frame 3 | Symbol 325 MovieClip |
"msgWin" | Frame 3 | Symbol 343 MovieClip |
"helpScreen" | Frame 3 | Symbol 391 MovieClip |
"wonScreen" | Frame 3 | Symbol 393 MovieClip |
"ub" | Frame 3 | Symbol 406 MovieClip |
"mouser" | Frame 3 | Symbol 358 MovieClip |
"game" | Frame 4 | Symbol 442 MovieClip |
"inbetweenScreen" | Frame 4 | Symbol 458 MovieClip |
"fill" | Symbol 40 MovieClip [tetris_tiles] Frame 1 | Symbol 31 MovieClip |
"contour" | Symbol 40 MovieClip [tetris_tiles] Frame 1 | Symbol 39 MovieClip |
"wood" | Symbol 164 MovieClip Frame 1 | Symbol 117 MovieClip |
"stone" | Symbol 292 MovieClip [tetris_stones] Frame 1 | Symbol 61 MovieClip |
"stone" | Symbol 292 MovieClip [tetris_stones] Frame 2 | Symbol 64 MovieClip |
"stone" | Symbol 292 MovieClip [tetris_stones] Frame 3 | Symbol 67 MovieClip |
"stone" | Symbol 292 MovieClip [tetris_stones] Frame 4 | Symbol 70 MovieClip |
"stone" | Symbol 292 MovieClip [tetris_stones] Frame 5 | Symbol 73 MovieClip |
"stone" | Symbol 292 MovieClip [tetris_stones] Frame 6 | Symbol 76 MovieClip |
"stone" | Symbol 292 MovieClip [tetris_stones] Frame 10 | Symbol 101 MovieClip |
"stone" | Symbol 292 MovieClip [tetris_stones] Frame 11 | Symbol 106 MovieClip |
"stone" | Symbol 292 MovieClip [tetris_stones] Frame 12 | Symbol 164 MovieClip |
"stone" | Symbol 292 MovieClip [tetris_stones] Frame 13 | Symbol 218 MovieClip |
"stone" | Symbol 292 MovieClip [tetris_stones] Frame 15 | Symbol 291 MovieClip |
"fill" | Symbol 294 MovieClip [tetrisTile] Frame 1 | Symbol 49 MovieClip [tetrisStone_fills] |
"contour" | Symbol 294 MovieClip [tetrisTile] Frame 1 | Symbol 58 MovieClip |
"stones" | Symbol 294 MovieClip [tetrisTile] Frame 1 | Symbol 293 MovieClip |
"score" | Symbol 311 MovieClip [scoreSpawn] Frame 1 | Symbol 310 MovieClip |
"disk0" | Symbol 316 MovieClip Frame 1 | Symbol 315 MovieClip |
"disk1" | Symbol 316 MovieClip Frame 1 | Symbol 315 MovieClip |
"shadow" | Symbol 337 MovieClip Frame 1 | Symbol 328 MovieClip |
"bg" | Symbol 337 MovieClip Frame 1 | Symbol 334 MovieClip |
"text" | Symbol 337 MovieClip Frame 1 | Symbol 336 MovieClip |
"winBg" | Symbol 343 MovieClip Frame 1 | Symbol 339 MovieClip |
"wood" | Symbol 352 MovieClip Frame 1 | Symbol 117 MovieClip |
"stone" | Symbol 361 MovieClip Frame 1 | Symbol 64 MovieClip |
"stone" | Symbol 361 MovieClip Frame 1 | Symbol 64 MovieClip |
"stone" | Symbol 361 MovieClip Frame 1 | Symbol 64 MovieClip |
"stone" | Symbol 361 MovieClip Frame 26 | Symbol 64 MovieClip |
"stone" | Symbol 361 MovieClip Frame 26 | Symbol 64 MovieClip |
"stone" | Symbol 361 MovieClip Frame 26 | Symbol 64 MovieClip |
"stone" | Symbol 361 MovieClip Frame 26 | Symbol 64 MovieClip |
"stone" | Symbol 371 MovieClip Frame 1 | Symbol 64 MovieClip |
"stone" | Symbol 371 MovieClip Frame 1 | Symbol 64 MovieClip |
"stone" | Symbol 371 MovieClip Frame 1 | Symbol 64 MovieClip |
"bgHelp" | Symbol 391 MovieClip Frame 2 | Symbol 346 MovieClip |
"helpSlides" | Symbol 391 MovieClip Frame 2 | Symbol 384 MovieClip |
"btn_right" | Symbol 391 MovieClip Frame 2 | Symbol 387 Button |
"btn_left" | Symbol 391 MovieClip Frame 2 | Symbol 387 Button |
"helpSlideMask" | Symbol 391 MovieClip Frame 2 | Symbol 390 MovieClip |
"bgHelp" | Symbol 393 MovieClip Frame 2 | Symbol 346 MovieClip |
"ubgfx" | Symbol 406 MovieClip Frame 1 | Symbol 399 MovieClip |
"ubgfx2" | Symbol 406 MovieClip Frame 2 | Symbol 405 MovieClip |
"tcSeq0" | Symbol 426 MovieClip Frame 1 | Symbol 425 MovieClip |
"tcEnergyBar" | Symbol 427 MovieClip Frame 1 | Symbol 420 MovieClip |
"tcMask" | Symbol 427 MovieClip Frame 1 | Symbol 422 MovieClip |
"fill" | Symbol 440 MovieClip Frame 1 | Symbol 434 MovieClip |
"contour" | Symbol 440 MovieClip Frame 1 | Symbol 438 MovieClip |
"stones" | Symbol 440 MovieClip Frame 1 | Symbol 439 MovieClip |
"previewTile" | Symbol 441 MovieClip Frame 1 | Symbol 440 MovieClip |
"gfBg" | Symbol 442 MovieClip Frame 1 | Symbol 417 MovieClip |
"energyBar" | Symbol 442 MovieClip Frame 1 | Symbol 427 MovieClip |
"scorePanel" | Symbol 442 MovieClip Frame 1 | Symbol 441 MovieClip |
"bgInbetween" | Symbol 458 MovieClip Frame 2 | Symbol 346 MovieClip |
"ss3" | Symbol 458 MovieClip Frame 2 | Symbol 445 MovieClip |
"ss2" | Symbol 458 MovieClip Frame 2 | Symbol 448 MovieClip |
"ss1" | Symbol 458 MovieClip Frame 2 | Symbol 451 MovieClip |
"ss0" | Symbol 458 MovieClip Frame 2 | Symbol 454 MovieClip |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata not present, AS1/AS2. |
ExportAssets (56) | Timeline Frame 1 | Symbol 1 as "explosion" |
ExportAssets (56) | Timeline Frame 1 | Symbol 2 as "snd_rotate" |
ExportAssets (56) | Timeline Frame 1 | Symbol 3 as "panel_out" |
ExportAssets (56) | Timeline Frame 1 | Symbol 4 as "panel_in" |
ExportAssets (56) | Timeline Frame 1 | Symbol 5 as "menu_sel" |
ExportAssets (56) | Timeline Frame 1 | Symbol 6 as "menu_prs_2" |
ExportAssets (56) | Timeline Frame 1 | Symbol 7 as "menu_prs_1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 8 as "menu_prs_0" |
ExportAssets (56) | Timeline Frame 1 | Symbol 9 as "getsmall_money" |
ExportAssets (56) | Timeline Frame 1 | Symbol 10 as "getsmall" |
ExportAssets (56) | Timeline Frame 1 | Symbol 11 as "game_win" |
ExportAssets (56) | Timeline Frame 1 | Symbol 12 as "game_loose" |
ExportAssets (56) | Timeline Frame 1 | Symbol 13 as "snd_false_move" |
ExportAssets (56) | Timeline Frame 1 | Symbol 14 as "snd_place" |
ExportAssets (56) | Timeline Frame 1 | Symbol 15 as "destroy_2" |
ExportAssets (56) | Timeline Frame 1 | Symbol 16 as "destroy_1" |
ExportAssets (56) | Timeline Frame 1 | Symbol 17 as "destroy_0" |
ExportAssets (56) | Timeline Frame 1 | Symbol 18 as "snd_connection" |
ExportAssets (56) | Timeline Frame 1 | Symbol 19 as "burning" |
ExportAssets (56) | Timeline Frame 1 | Symbol 40 as "tetris_tiles" |
ExportAssets (56) | Timeline Frame 1 | Symbol 49 as "tetrisStone_fills" |
ExportAssets (56) | Timeline Frame 1 | Symbol 292 as "tetris_stones" |
ExportAssets (56) | Timeline Frame 1 | Symbol 294 as "tetrisTile" |
ExportAssets (56) | Timeline Frame 1 | Symbol 296 as "shadowBlock" |
ExportAssets (56) | Timeline Frame 1 | Symbol 298 as "marker" |
ExportAssets (56) | Timeline Frame 1 | Symbol 307 as "sparkle" |
ExportAssets (56) | Timeline Frame 1 | Symbol 311 as "scoreSpawn" |
Labels
"vanish" | Symbol 106 MovieClip Frame 17 |
"explode" | Symbol 218 MovieClip Frame 21 |
"explosion" | Symbol 291 MovieClip Frame 25 |
"x" | Symbol 292 MovieClip [tetris_stones] Frame 10 |
"o" | Symbol 292 MovieClip [tetris_stones] Frame 11 |
"#" | Symbol 292 MovieClip [tetris_stones] Frame 12 |
"$" | Symbol 292 MovieClip [tetris_stones] Frame 13 |
"*" | Symbol 292 MovieClip [tetris_stones] Frame 14 |
"+" | Symbol 292 MovieClip [tetris_stones] Frame 15 |
"msg" | Symbol 343 MovieClip Frame 1 |
Dynamic Text Variables
score | Symbol 309 EditableText | "<p align="center"><font face="Kelt" size="24" color="#ffff00" letterSpacing="3.000000" kerning="0">100000</font></p>" |
txt | Symbol 335 EditableText | "<p align="center"><font face="Kelt" size="26" color="#ffff00" letterSpacing="-1.000000" kerning="0">MenuPunkt</font></p>" |
msg | Symbol 342 EditableText | "Messages" |
score | Symbol 428 EditableText | "<p align="center"><font face="Kelt" size="24" color="#ffff00" letterSpacing="3.000000" kerning="0">15975</font></p>" |
elves | Symbol 429 EditableText | "<p align="center"><font face="Kelt" size="24" color="#ffff00" letterSpacing="3.000000" kerning="0">5</font></p>" |
lives | Symbol 430 EditableText | "<p align="center"><font face="Kelt" size="24" color="#ffff00" letterSpacing="3.000000" kerning="0">5</font></p>" |
|