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

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

The Par Box 2 - experimental flash gadget.swf

This is the info page for
Flash #88847

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


ActionScript [AS1/AS2]
Combined Code
movieClip 2 { } movieClip 3 particle_whole { } movieClip 4 p { instance of movieClip 3 particle_whole { onClipEvent (load) { gravity = 1; friction = 0.98; yvel = Math.random() * 20 - 15; xvel = Math.random() * 20 - 10; } onClipEvent (enterFrame) { _parent._x += xvel; _parent._y += yvel; yvel += gravity; xvel *= friction; } } frame 78 { stop(); } } movieClip 6 { } movieClip 7 firework { } movieClip 44 circle { } movieClip 45 12 { } movieClip 47 first { frame 41 { stop(); } } movieClip 48 first_real { frame 38 { stop(); } } movieClip 50 Second { frame 1 { stop(); } } movieClip 53 fifth { } movieClip 54 fifth1 { } movieClip 56 fifth_final_2 { } movieClip 58 sixth { } movieClip 60 seventh { } movieClip 62 { } movieClip 63 eigth { } movieClip 64 8 { } movieClip 66 DOT { } movieClip 67 { } movieClip 68 dot1 { frame 33 { stop(); } } movieClip 70 dot2 { frame 35 { stop(); this.removeMovieClip(); } } movieClip 80 ninth { } movieClip 82 { } movieClip 83 tenth { } movieClip 97 eleventh { } movieClip 98 11 { } movieClip 107 13 { } movieClip 110 14 { } movieClip 139 15 { } movieClip 140 15_real { } movieClip 142 16 { } movieClip 144 17 { } movieClip 145 17_real { } movieClip 161 18 { } movieClip 178 19 { } movieClip 199 { } movieClip 200 19_real { } movieClip 202 20 { } movieClip 203 20_real { } movieClip 256 21 { } movieClip 289 22 { } movieClip 290 22_real { } movieClip 294 23 { } movieClip 355 24 { } movieClip 356 24_real { } movieClip 457 26_real { } movieClip 458 26 { } movieClip 460 25 { } movieClip 461 25_real { } movieClip 513 27 { } movieClip 514 27_real { } movieClip 515 28 { } movieClip 536 { } movieClip 537 28_real { } movieClip 556 29 { } movieClip 558 { } movieClip 559 31 { } movieClip 580 32 { } movieClip 591 33 { } movieClip 592 33_real { } movieClip 594 { } movieClip 595 { } movieClip 596 34 { } movieClip 598 fifth_final { } movieClip 600 fourth { } movieClip 601 fourth_final { } movieClip 613 { } movieClip 614 Third { } frame 1 { stop(); } movieClip 617 { } movieClip 619 { } movieClip 620 { frame 28 { stop(); } } movieClip 621 { frame 1 { function timerHandler() { if (!loadingComplete) { var v4 = _root.getBytesLoaded() / _root.getBytesTotal(); bar._xscale = 100 * v4; if (v4 == 1) { loadingComplete = true; if (AUTO_PLAY) { startMovie(); } else { gotoAndStop('loaded'); } return undefined; } } dt = getTimer() - time; time += dt; frameAccum += dt; var v3 = 0; for (;;) { if (!(frameAccum >= FRAME_TIME && v3 < MAX_FRAME_SKIP)) break; advanceFrame(tankLogo, true, true); advanceFrame(loadingText, false, true); advanceFrame(barGfx, false, true); if (loadingComplete) { advanceFrame(this, false, false); } frameAccum -= FRAME_TIME; v3++; } updateAfterEvent(); } function advanceFrame(clip, recurse, loop) { if (!clip) { return undefined; } clip.stop(); if (clip._currentframe == clip._totalframes) { if (loop) { clip.gotoAndStop(1); } } else { clip.nextFrame(); } if (recurse) { for (childName in clip) { if (typeof clip[childName] == 'movieclip') { advanceFrame(clip[childName], recurse, loop); } } } } function startMovie() { clearInterval(intervalId); _root.play(); } _root.stop(); stop(); var FRAME_TIME = 33.33333333333334; var AUTO_PLAY = false; var MAX_FRAME_SKIP = 5; var loadingComplete; var intervalId; var time; var frameAccum; loadingComplete = false; intervalId = setInterval(this, 'timerHandler', FRAME_TIME / 2); frameAccum = 0; time = getTimer(); timerHandler(); } } movieClip 624 { } movieClip 627 { } movieClip 643 { } button 644 { on (release) { startMovie(); } } movieClip 645 { frame 1 { function timerHandler() { if (!loadingComplete) { var v4 = _root.getBytesLoaded() / _root.getBytesTotal(); bar._xscale = 100 * v4; if (v4 == 1) { loadingComplete = true; if (AUTO_PLAY) { startMovie(); } else { gotoAndStop('loaded'); } return undefined; } } dt = getTimer() - time; time += dt; frameAccum += dt; var v3 = 0; for (;;) { if (!(frameAccum >= FRAME_TIME && v3 < MAX_FRAME_SKIP)) break; advanceFrame(tankLogo, true, true); advanceFrame(loadingText, false, true); advanceFrame(barGfx, false, true); if (loadingComplete) { advanceFrame(this, false, false); } frameAccum -= FRAME_TIME; v3++; } updateAfterEvent(); } function advanceFrame(clip, recurse, loop) { if (!clip) { return undefined; } clip.stop(); if (clip._currentframe == clip._totalframes) { if (loop) { clip.gotoAndStop(1); } } else { clip.nextFrame(); } if (recurse) { for (childName in clip) { if (typeof clip[childName] == 'movieclip') { advanceFrame(clip[childName], recurse, loop); } } } } function startMovie() { clearInterval(intervalId); _root.play(); } _root.stop(); stop(); var FRAME_TIME = 33.33333333333334; var AUTO_PLAY = false; var MAX_FRAME_SKIP = 5; var loadingComplete; var intervalId; var time; var frameAccum; loadingComplete = false; intervalId = setInterval(this, 'timerHandler', FRAME_TIME / 2); frameAccum = 0; time = getTimer(); timerHandler(); } } movieClip 679 __Packages.com.mosesSupposes.fuse.PennerEasing { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.mosesSupposes) { _global.com.mosesSupposes = new Object(); } if (!_global.com.mosesSupposes.fuse) { _global.com.mosesSupposes.fuse = new Object(); } if (!_global.com.mosesSupposes.fuse.PennerEasing) { var v1 = function () {}; com.mosesSupposes.fuse.PennerEasing = v1; var v2 = v1.prototype; v1.linear = function (t, b, c, d) { return c * t / d + b; }; v1.easeInQuad = function (t, b, c, d) { t /= d; return c * t * t + b; }; v1.easeOutQuad = function (t, b, c, d) { t /= d; return -c * t * (t - 2) + b; }; v1.easeInOutQuad = function (t, b, c, d) { t /= d / 2; if (t < 1) { return (c / 2) * t * t + b; } return (-c / 2) * (--t * (t - 2) - 1) + b; }; v1.easeInExpo = function (t, b, c, d) { return (t == 0) ? b : c * Math.pow(2, 10 * (t / d - 1)) + b; }; v1.easeOutExpo = function (t, b, c, d) { return (t == d) ? b + c : c * (-Math.pow(2, -10 * t / d) + 1) + b; }; v1.easeInOutExpo = function (t, b, c, d) { if (t == 0) { return b; } if (t == d) { return b + c; } t /= d / 2; if (t < 1) { return (c / 2) * Math.pow(2, 10 * (t - 1)) + b; } return (c / 2) * (-Math.pow(2, -10 * --t) + 2) + b; }; v1.easeOutInExpo = function (t, b, c, d) { if (t == 0) { return b; } if (t == d) { return b + c; } t /= d / 2; if (t < 1) { return (c / 2) * (-Math.pow(2, -10 * t) + 1) + b; } return (c / 2) * (Math.pow(2, 10 * (t - 2)) + 1) + b; }; v1.easeInElastic = function (t, b, c, d, a, p) { var v5; if (t == 0) { return b; } t /= d; if (t == 1) { return b + c; } if (!p) { p = d * 0.3; } if (!a || a < Math.abs(c)) { a = c; v5 = p / 4; t -= 1; return -(a * Math.pow(2, 10 * t) * Math.sin((t * d - v5) * 6.283185307179586 / p)) + b; } v5 = (p / 6.283185307179586) * Math.asin(c / a); t -= 1; return -(a * Math.pow(2, 10 * t) * Math.sin((t * d - v5) * 6.283185307179586 / p)) + b; }; v1.easeOutElastic = function (t, b, c, d, a, p) { var v5; if (t == 0) { return b; } t /= d; if (t == 1) { return b + c; } if (!p) { p = d * 0.3; } if (!a || a < Math.abs(c)) { a = c; v5 = p / 4; return a * Math.pow(2, -10 * t) * Math.sin((t * d - v5) * 6.283185307179586 / p) + c + b; } v5 = (p / 6.283185307179586) * Math.asin(c / a); return a * Math.pow(2, -10 * t) * Math.sin((t * d - v5) * 6.283185307179586 / p) + c + b; }; v1.easeInOutElastic = function (t, b, c, d, a, p) { var v5; if (t == 0) { return b; } t /= d / 2; if (t == 2) { return b + c; } if (!p) { p = d * 0.45; } if (!a || a < Math.abs(c)) { a = c; v5 = p / 4; } else { v5 = (p / 6.283185307179586) * Math.asin(c / a); } if (t < 1) { t -= 1; return -0.5 * (a * Math.pow(2, 10 * t) * Math.sin((t * d - v5) * 6.283185307179586 / p)) + b; } t -= 1; return a * Math.pow(2, -10 * t) * Math.sin((t * d - v5) * 6.283185307179586 / p) * 0.5 + c + b; }; v1.easeOutInElastic = function (t, b, c, d, a, p) { var v5; if (t == 0) { return b; } t /= d / 2; if (t == 2) { return b + c; } if (!p) { p = d * 0.45; } if (!a || a < Math.abs(c)) { a = c; v5 = p / 4; } else { v5 = (p / 6.283185307179586) * Math.asin(c / a); } if (t < 1) { return 0.5 * (a * Math.pow(2, -10 * t) * Math.sin((t * d - v5) * 6.283185307179586 / p)) + c / 2 + b; } return c / 2 + 0.5 * (a * Math.pow(2, 10 * (t - 2)) * Math.sin((t * d - v5) * 6.283185307179586 / p)) + b; }; v1.easeInBack = function (t, b, c, d, s) { if (s == undefined) { s = 1.70158; } t /= d; return c * t * t * ((s + 1) * t - s) + b; }; v1.easeOutBack = function (t, b, c, d, s) { if (s == undefined) { s = 1.70158; } t = t / d - 1; return c * (t * t * ((s + 1) * t + s) + 1) + b; }; v1.easeInOutBack = function (t, b, c, d, s) { if (s == undefined) { s = 1.70158; } t /= d / 2; if (t < 1) { s *= 1.525; return (c / 2) * (t * t * ((s + 1) * t - s)) + b; } t -= 2; s *= 1.525; return (c / 2) * (t * t * ((s + 1) * t + s) + 2) + b; }; v1.easeOutInBack = function (t, b, c, d, s) { if (s == undefined) { s = 1.70158; } t /= d / 2; if (t < 1) { s *= 1.525; return (c / 2) * (--t * t * ((s + 1) * t + s) + 1) + b; } s *= 1.525; return (c / 2) * (--t * t * ((s + 1) * t - s) + 1) + b; }; v1.easeOutBounce = function (t, b, c, d) { t /= d; if (t < 0.3636363636363637) { return c * (7.5625 * t * t) + b; } else { if (t < 0.7272727272727273) { t -= 0.5454545454545454; return c * (7.5625 * t * t + 0.75) + b; } else { if (t < 0.9090909090909091) { t -= 0.8181818181818182; return c * (7.5625 * t * t + 0.9375) + b; } else { t -= 0.9545454545454546; return c * (7.5625 * t * t + 0.984375) + b; } } } }; v1.easeInBounce = function (t, b, c, d) { return c - com.mosesSupposes.fuse.PennerEasing.easeOutBounce(d - t, 0, c, d) + b; }; v1.easeInOutBounce = function (t, b, c, d) { if (t < d / 2) { return com.mosesSupposes.fuse.PennerEasing.easeInBounce(t * 2, 0, c, d) * 0.5 + b; } else { return com.mosesSupposes.fuse.PennerEasing.easeOutBounce(t * 2 - d, 0, c, d) * 0.5 + c * 0.5 + b; } }; v1.easeOutInBounce = function (t, b, c, d) { if (t < d / 2) { return com.mosesSupposes.fuse.PennerEasing.easeOutBounce(t * 2, 0, c, d) * 0.5 + b; } return com.mosesSupposes.fuse.PennerEasing.easeInBounce(t * 2 - d, 0, c, d) * 0.5 + c * 0.5 + b; }; v1.easeInCubic = function (t, b, c, d) { t /= d; return c * t * t * t + b; }; v1.easeOutCubic = function (t, b, c, d) { t = t / d - 1; return c * (t * t * t + 1) + b; }; v1.easeInOutCubic = function (t, b, c, d) { t /= d / 2; if (t < 1) { return (c / 2) * t * t * t + b; } t -= 2; return (c / 2) * (t * t * t + 2) + b; }; v1.easeOutInCubic = function (t, b, c, d) { t /= d / 2; return (c / 2) * (--t * t * t + 1) + b; }; v1.easeInQuart = function (t, b, c, d) { t /= d; return c * t * t * t * t + b; }; v1.easeOutQuart = function (t, b, c, d) { t = t / d - 1; return -c * (t * t * t * t - 1) + b; }; v1.easeInOutQuart = function (t, b, c, d) { t /= d / 2; if (t < 1) { return (c / 2) * t * t * t * t + b; } t -= 2; return (-c / 2) * (t * t * t * t - 2) + b; }; v1.easeOutInQuart = function (t, b, c, d) { t /= d / 2; if (t < 1) { return (-c / 2) * (--t * t * t * t - 1) + b; } return (c / 2) * (--t * t * t * t + 1) + b; }; v1.easeInQuint = function (t, b, c, d) { t /= d; return c * t * t * t * t * t + b; }; v1.easeOutQuint = function (t, b, c, d) { t = t / d - 1; return c * (t * t * t * t * t + 1) + b; }; v1.easeInOutQuint = function (t, b, c, d) { t /= d / 2; if (t < 1) { return (c / 2) * t * t * t * t * t + b; } t -= 2; return (c / 2) * (t * t * t * t * t + 2) + b; }; v1.easeOutInQuint = function (t, b, c, d) { t /= d / 2; return (c / 2) * (--t * t * t * t * t + 1) + b; }; v1.easeInSine = function (t, b, c, d) { return -c * Math.cos((t / d) * 1.570796326794897) + c + b; }; v1.easeOutSine = function (t, b, c, d) { return c * Math.sin((t / d) * 1.570796326794897) + b; }; v1.easeInOutSine = function (t, b, c, d) { return (-c / 2) * (Math.cos(Math.PI * t / d) - 1) + b; }; v1.easeOutInSine = function (t, b, c, d) { t /= d / 2; if (t < 1) { return (c / 2) * Math.sin(Math.PI * t / 2) + b; } return (-c / 2) * (Math.cos(Math.PI * --t / 2) - 2) + b; }; v1.easeInCirc = function (t, b, c, d) { t /= d; return -c * (Math.sqrt(1 - t * t) - 1) + b; }; v1.easeOutCirc = function (t, b, c, d) { t = t / d - 1; return c * Math.sqrt(1 - t * t) + b; }; v1.easeInOutCirc = function (t, b, c, d) { t /= d / 2; if (t < 1) { return (-c / 2) * (Math.sqrt(1 - t * t) - 1) + b; } t -= 2; return (c / 2) * (Math.sqrt(1 - t * t) + 1) + b; }; v1.easeOutInCirc = function (t, b, c, d) { t /= d / 2; if (t < 1) { return (c / 2) * Math.sqrt(1 - --t * t) + b; } return (c / 2) * (2 - Math.sqrt(1 - --t * t)) + b; }; v1.registryKey = 'pennerEasing'; ASSetPropFlags(com.mosesSupposes.fuse.PennerEasing.prototype, null, 1); } #endinitclip } movieClip 680 __Packages.com.mosesSupposes.fuse.FuseKitCommon { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.mosesSupposes) { _global.com.mosesSupposes = new Object(); } if (!_global.com.mosesSupposes.fuse) { _global.com.mosesSupposes.fuse = new Object(); } if (!_global.com.mosesSupposes.fuse.FuseKitCommon) { var v1 = function () {}; com.mosesSupposes.fuse.FuseKitCommon = v1; var v2 = v1.prototype; v1._cts = function () { return '|_tint|_tintPercent|_brightness|_brightOffset|_contrast|_invertColor|_colorReset|_colorTransform|'; }; v1._resetTo100 = function () { return '|_alpha|_contrast|_invertColor|_tintPercent|_xscale|_yscale|_scale|'; }; v1._resetTo0 = function () { return '|_brightness|_brightOffset|_colorReset|_rotation|'; }; v1._underscoreable = function () { return com.mosesSupposes.fuse.FuseKitCommon._cts() + '_frame|_x|_y|_xscale|_yscale|_scale|_width|_height|_size|_rotation|_alpha|_fade|_visible|'; }; v1._cbprops = function () { return '|skipLevel|cycles|roundResults|extra1|extra2|func|scope|args|startfunc|startscope|startargs|updfunc|updscope|updargs|'; }; v1._fuseEvents = function () { return '|onStart|onStop|onPause|onResume|onAdvance|onComplete|'; }; v1._fuseprops = function () { return '|command|label|delay|event|eventparams|target|addTarget|trigger|startAt|ease|easing|seconds|duration|time|'; }; v1._validateFuseCommand = function (c, inGroup, hasArg, outputLevel, simple) { var v1 = false; var v2 = false; switch (c) { case 'start': case 'stop': case 'pause': case 'resume': case 'setStartProps': if (inGroup != true) { v1 = true; } break; case 'delay': case 'trigger': if (simple == true) { if (hasArg == true) { v1 = true; } } else { v2 = true; } inGroup = false; break; case 'skipTo': if (!(hasArg == true && inGroup != true)) break; v1 = true; } if (outputLevel > 0 && v1 == false) { com.mosesSupposes.fuse.FuseKitCommon.error('109', c, inGroup, v2); } return v1; }; v1.output = function (s) { if (typeof com.mosesSupposes.fuse.FuseKitCommon.logOutput == 'function') { com.mosesSupposes.fuse.FuseKitCommon.logOutput(s); } else { trace(s); } }; v1.error = function (errorCode) { var v3 = arguments[1]; var v4 = arguments[2]; var v6 = arguments[3]; if (com.mosesSupposes.fuse.FuseKitCommon.VERBOSE != true) { com.mosesSupposes.fuse.FuseKitCommon.output('[FuseKitCommon#' + errorCode + ']'); return undefined; } var v2 = ''; var v5 = '\n'; switch (errorCode) { case '001': v2 += '** ERROR: When using simpleSetup to extend prototypes, you must pass the Shortcuts class. **'; v2 += v5 + ' import com.mosesSupposes.fuse.*;'; v2 += v5 + ' ZigoEngine.simpleSetup(Shortcuts);' + v5; break; case '002': v2 += '** ZigoEngine.doShortcut: shortcuts missing. Use the setup commands: import com.mosesSupposes.fuse.*; ZigoEngine.register(Shortcuts); **'; break; case '003': v2 += v5 + '*** Error: DO NOT use #include "lmc_tween.as" with this version of ZigoEngine! ***' + v5; break; case '004': v2 += '** ZigoEngine.doTween - too few arguments [' + v3 + '].'; if (Boolean(v4) == true) { v2 += ' If you are trying to use Object Syntax without Fuse, pass FuseItem in your register() or simpleSetup() call. **'; } else { v2 += ' Object syntax call failed. **'; } break; case '005': v2 += '** ZigoEngine.doTween - missing targets[' + v3 + '] and/or props[' + v4 + '] **'; break; case '006': v2 += '** Error: easing shortcut string not recognized ("' + v3 + '"). You may need to pass the in PennerEasing class during register or simpleSetup. **'; break; case '007': v2 += '- ZigoEngine: Target locked [' + v3 + '], ignoring tween call [' + v4 + ']'; break; case '008': v2 += '** You must register the Shortcuts class in order to use easy string-type callback parsing. **'; break; case '009': v2 += '** ZigoEngine: A callback parameter "' + v3 + '" was not recognized. **'; break; case '010': v2 += '** ' + ((v3 == true) ? 'ZigoEngine' : 'FuseItem') + ' unable to parse ' + ((v4 == 1) ? 'callback[' : String(v4) + ' callbacks[') + v6 + ']. Try using the syntax {scope:this, func:"myFunction"} **'; break; case '011': v2 += '- ZigoEngine: Callbacks discarded via skipLevel 2 option [' + v3 + '|' + v4 + '].'; break; case '012': v2 += '- Engine set props or ignored no-change tween on: ' + v3 + ', props passed:[' + v4 + '], endvals passed:[' + v6 + ']'; break; case '013': v2 += '- Engine added tween on:\n\ttargets:[' + v3 + ']\n\tprops:[' + v4 + ']\n\tendvals:[' + v6 + ']'; break; case '014': v2 += '** Error: easing function passed is not usable with this engine. Functions need to follow the Robert Penner model. **'; break; case '015': v2 += '** Error: The CustomEasing class must be passed during setup (register or simpleSetup) to use custom easing Arrays. **'; break; case '016': v2 += '[ ZigoEngine.TIME_MULTIPLIER: ' + String(Number(Number(v3) * 100)) + '% ]'; break; case '101': v2 += '** ERROR: Fuse simpleSetup was removed in version 2.0! **'; v2 += v5 + ' You must now use the following commands:'; v2 += v5 + v5 + '\timport com.mosesSupposes.fuse.*;'; v2 += v5 + '\tZigoEngine.simpleSetup(Shortcuts, PennerEasing, Fuse);'; v2 += v5 + 'Note that PennerEasing is optional, and FuseFMP is also accepted. (FuseFMP.simpleSetup is run automatically if included.)' + v5; break; case '102': v2 += '** Fuse ' + v3 + ' index or label not found (' + v4 + ') or out of range. **'; break; case '103': v2 += '** Fuse skipTo (' + v3 + ') ignored - targets the current index (' + v4 + '). **'; break; case '104': v2 += '** Fuse fastForward index out of play range (' + v3 + ') - skipTo has been called instead. **'; break; case '105': v2 += '** An unsupported Array method was called on Fuse. **'; break; case '106': v2 += '** ERROR: You have not set up Fuse correctly. **'; v2 += v5 + 'You must now use the following commands (PennerEasing is optional).'; v2 += v5 + '\timport com.mosesSupposes.fuse.*;'; v2 += v5 + '\tZigoEngine.simpleSetup(Shortcuts, PennerEasing, Fuse);' + v5; break; case '107': v2 += '** Fuse :: id not found - Aborting open(). **'; break; case '108': v2 += '** Fuse.startRecent: No recent Fuse found to start! **'; break; break; case '109': v2 += '** Command "' + v3 + '" discarded. '; if (v4 == true) { v2 += 'Not allowed within a group. **'; } else { if (v6 == true) { v2 += 'Not supported in Object Syntax, use the ' + v3 + ' property instead. **'; } else { v2 += 'The command may be unrecognized or missing an argument. **'; } } break; case '110': v2 += '** ' + v3 + ' illegal Fuse property discarded:"' + v4 + '". Bezier keywords other than x and y cannot be set as start values. **'; break; case '112': v2 += '** Fuse: missing com.mosesSupposes.fuse.ZigoEngine! Cannot tween. **'; break; case '113': v2 += '** FuseItem: A callback has been discarded. Actions with a command may only contain: label, delay, scope, args. **'; break; case '115': v2 += v3 + ' overlapping prop discarded: ' + v4; break; case '116': v2 += '** FuseItem Error: Delays within groups (arrays) and start/update callbacks are not supported when using Fuse without ZigoEngine. Although you need to restructure your Fuse, it should be possible to achieve the same results. **' + v5; break; case '117': v2 += '** ' + v3 + ': infinite cycles are not allowed within Fuses - discarded. **'; break; case '118': v2 += '** ' + v3 + ': No targets found!' + ((v4 == true) ? ' [Unable to set start props] **' : ' [Skipping tween parameters in this action] **'); break; case '119': v2 += '** ' + v3 + ': ' + ((v4 == 1) ? '' : v4 + ' actions in the group') + ' missing targets' + ((v6 == true) ? ' during setStartProps **' : ' **'); break; case '120': v2 += '** ' + v3 + ': conflict with "' + v4 + '". Property might be doubled within a grouped-action array. **'; break; case '121': v2 += '** Fuse timecode formatting requires "00:" formatting (example:"01:01:33" yields 61.33 seconds.) **'; break; case '122': v2 += '** Event "' + v3 + '" reserved by Fuse. **'; break; case '123': v2 += '** A Fuse event parameter failed in ' + v3 + ' **'; break; case '124': v2 += '** ' + v3 + ': trigger:' + v4 + ' ignored - only one trigger is allowed per action **'; break; case '125': v2 += v3 + ' Warning - fastForward hit an item during its tween cycle, may malfunction.'; break; case '201': v2 += '**** FuseFMP cannot initialize argument ' + v3 + ' (BitmapFilters cannot be applied to this object type) ****'; break; case '202': v2 += '** FuseFMP error: A ' + v3 + ' could not be created for ' + v4 + ' **'; break; case '203': v2 += '** FuseFMP.setFilterProps - too few arguments passed (' + v3 + ') - minimum 2 required. **'; break; case '204': v2 += '** FuseFMP.setFilterProps could not locate the filter passed. (' + v3 + ') **'; } com.mosesSupposes.fuse.FuseKitCommon.output(v2); }; v1.parseCallback = function (callback, targets, outputLevel, callerIsEngine, addprefix) { if (callback._vcb == true) { return callback; } var validCBs = {'_vcb': true, 'skipLevel': _global.com.mosesSupposes.fuse.ZigoEngine.SKIP_LEVEL, 'cycles': 1}; if (callback == undefined) { return validCBs; } var cbErrors = []; if (typeof callback == 'object') { if (callback.skipLevel != undefined && typeof callback.skipLevel == 'number' && callback.skipLevel != _global.com.mosesSupposes.fuse.ZigoEngine.SKIP_LEVEL) { if (callback.skipLevel >= 0 && callback.skipLevel <= 2) { validCBs.skipLevel = callback.skipLevel; } } if (callback.cycles != undefined) { if (typeof callback.cycles == 'number' && callback.cycles > -1) { validCBs.cycles = callback.cycles; } else { if (callback.cycles.toUpperCase() == 'LOOP') { validCBs.cycles = 0; } } } if (callback.extra1 != undefined) { validCBs.extra1 = callback.extra1; } if (callback.extra2 != undefined) { validCBs.extra2 = callback.extra2; } if (callback.roundResults === true || callback.roundResults === false) { validCBs.roundResults = callback.roundResults; } } else { callback = {'func': callback}; } var prefixes = ['start', 'upd', '']; var easyfuncparse = _global.com.mosesSupposes.fuse.Shortcuts.parseStringTypeCallback; for (var i in prefixes) { var prefix = prefixes[i]; var fstr = callback[prefix + 'func']; if (fstr != undefined && typeof fstr == 'string' && fstr.indexOf('(') > -1) { if (easyfuncparse != undefined) { var efc = easyfuncparse(fstr); if (efc.func != undefined) { callback[prefix + 'scope'] = efc.scope; callback[prefix + 'func'] = efc.func; callback[prefix + 'args'] = efc.args; } } else { if (outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error('008'); } } } } var basescope = callback.scope; for (var i in callback) { var fi = (i.toLowerCase()).indexOf('func'); if (fi > -1) { var prefix = i.slice(0, fi); var func = callback[i]; var args = callback[prefix + 'args']; var scope = (callback[prefix + 'scope'] == undefined) ? basescope : callback[prefix + 'scope']; if (typeof func == 'string' && scope[func] == undefined) { for (var j in targets) { var targ = targets[j]; if (typeof targ[func] == 'function') { scope = targ; break; } if (typeof targ._parent[func] == 'function') { scope = targ._parent; break; } } if (scope == undefined && _level0[func] != undefined) { scope = _level0; } if (scope == undefined && _global[func] != undefined) { scope = _global; } } if (typeof func != 'function') { if (typeof scope[String(func)] == 'function') { func = scope[String(func)]; } else { func = eval(String(func)); } } if (func == undefined) { cbErrors.push(String(((addprefix == null) ? i : addprefix + i) + ':' + ((typeof callback[i] == 'string') ? '"' + callback[i] + '"' : callback[i]) + '/' + prefix + 'scope:' + scope)); } else { if (args != undefined && !(args instanceof Array)) { args = [args]; } if (prefix == '') { prefix = 'end'; } validCBs[prefix] = {'s': scope, 'f': func, 'a': args}; if (callerIsEngine == true) { validCBs[prefix].id = ++com.mosesSupposes.fuse.FuseKitCommon.cbTicker; } if (prefix == 'start') { validCBs.start.fired = false; } } } else { if ((com.mosesSupposes.fuse.FuseKitCommon._cbprops()).indexOf('|' + i + '|') == -1) { com.mosesSupposes.fuse.FuseKitCommon.error('009', i); } } } if (cbErrors.length > 0 && outputLevel > 0) { if (outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error('010', callerIsEngine, cbErrors.length, cbErrors.toString()); } } return validCBs; }; v1.VERSION = 'Fuse Kit 2.1.4 Copyright (c) 2006 Moses Gunesch, MosesSupposes.com under MIT Open Source License'; v1.VERBOSE = true; v1.ALL = 'ALL'; v1.ALLCOLOR = 'ALLCOLOR'; v1.cbTicker = 0; ASSetPropFlags(com.mosesSupposes.fuse.FuseKitCommon.prototype, null, 1); } #endinitclip } movieClip 681 __Packages.com.mosesSupposes.fuse.Fuse { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.mosesSupposes) { _global.com.mosesSupposes = new Object(); } if (!_global.com.mosesSupposes.fuse) { _global.com.mosesSupposes.fuse = new Object(); } if (!_global.com.mosesSupposes.fuse.Fuse) { var v1 = function (fuseAction) { super(); mx.events.EventDispatcher.initialize(this); this._nID = com.mosesSupposes.fuse.Fuse.registerInstance(this); this._nState = -1; this._aDefaultTargs = new Array(); if (arguments.length > 0) { this.splice.apply(this, (new Array(0, 0)).concat(arguments)); } var v4 = ['concat', 'join', 'sort', 'sortOn']; for (var v5 in v4) { com.mosesSupposes.fuse.Fuse.prototype[v4[v5]] = function () { if (com.mosesSupposes.fuse.Fuse.OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error('105'); } }; } }; com.mosesSupposes.fuse.Fuse = v1; com.mosesSupposes.fuse.Fuse extends Array; var v2 = v1.prototype; v2.addEventListener = function (event, handler) {}; v2.removeEventListener = function (event, handler) {}; v2.destroy = function () { if (com.mosesSupposes.fuse.Fuse.OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output(this.getHandle() + ' destroy.'); } this.stop(true); this.splice(0, this.length); this._aDefaultTargs = null; this.scope = null; _global.ASSetPropFlags(this, null, 0, 7); var v4 = this._nID; for (var v3 in this) { delete this[v3]; } com.mosesSupposes.fuse.Fuse.removeInstanceAt(v4, true); false; false; }; v1.getInstance = function (idOrLabel) { if (typeof idOrLabel == 'number') { return com.mosesSupposes.fuse.Fuse._aInstances[idOrLabel]; } if (typeof idOrLabel == 'string') { for (var v2 in com.mosesSupposes.fuse.Fuse._aInstances) { if ((com.mosesSupposes.fuse.Fuse(com.mosesSupposes.fuse.Fuse._aInstances[v2])).label == idOrLabel) { return com.mosesSupposes.fuse.Fuse._aInstances[v2]; } } } return null; }; v1.getInstances = function (stateFilter, targets) { var v10 = stateFilter == null || stateFilter.toUpperCase() == 'ALL'; if (!(targets instanceof Array)) { targets = arguments.slice(1); } var v8 = []; for (var v11 in com.mosesSupposes.fuse.Fuse._aInstances) { var v5 = com.mosesSupposes.fuse.Fuse._aInstances[v11]; if (com.mosesSupposes.fuse.Fuse._aInstances[v11] == null) { continue; } if (v10 == false && v5.__get__state() != stateFilter) { continue; } var v3 = targets.length == 0; if (v3 == false) { if (v3 == true) { continue; } var v2 = v5.getActiveTargets(true); for (var v7 in targets) { for (var v6 in v2) { if (v2[v6] == targets[v7]) { v3 = true; break; } } } } if (v3 == true) { v8.unshift(v5); } } return v8; }; v2.__get__id = function () { return this._nID; }; v2.__get__state = function () { switch (this._nState) { return undefined; case -1: return 'stopped'; case 0: return 'paused'; case 1: return 'playing'; } return undefined; }; v2.__get__currentIndex = function () { return this._nIndex; }; v2.__get__currentLabel = function () { return this[this._nIndex].label; }; v2.__get__target = function () { return (this._aDefaultTargs.length == 1) ? this._aDefaultTargs[0] : this._aDefaultTargs; }; v2.__set__target = function (t) { delete this._aDefaultTargs; if (t != null) { this.addTarget(t); } return this.__get__target(); }; v2.addTarget = function (t) { if (this._aDefaultTargs == null) { this._aDefaultTargs = []; } if (arguments[0] instanceof Array) { arguments = arguments[0]; } for (var v5 in arguments) { var v3 = false; for (var v4 in this._aDefaultTargs) { if (arguments[v5] == this._aDefaultTargs[v4]) { v3 = true; break; } } if (v3 == false) { this._aDefaultTargs.push(arguments[v5]); } } }; v2.removeTarget = function (t) { if (this._aDefaultTargs == null || this._aDefaultTargs.length == 0) { return undefined; } if (arguments[0] instanceof Array) { arguments = arguments[0]; } for (var v4 in arguments) { for (var v3 in this._aDefaultTargs) { if (arguments[v4] == this._aDefaultTargs[v3]) { this._aDefaultTargs.splice(Number(v3), 1); } } } }; v2.getActiveTargets = function (includeDefaults) { if (this._nState == -1) { return []; } var v2; if (includeDefaults == true) { v2 = this._aDefaultTargs.slice(); return (com.mosesSupposes.fuse.FuseItem(this[this._nIndex])).getActiveTargets(v2); } v2 = []; return (com.mosesSupposes.fuse.FuseItem(this[this._nIndex])).getActiveTargets(v2); }; v2.clone = function () { var v3 = []; var v2 = 0; while (v2 < this.length) { v3.push((com.mosesSupposes.fuse.FuseItem(this[v2])).getInitObj()); ++v2; } var v4 = new com.mosesSupposes.fuse.Fuse(); v4.push.apply(v4, v3); v4.scope = this.scope; v4.__set__target(this.target); return v4; }; v2.push = function (fuseAction) { this.splice.apply(this, (new Array(this.length, 0)).concat(arguments)); return this.length; }; v2.pushTween = function (targets, props, endvals, seconds, ease, delay, callback) { this.push({'__buildMode': true, 'tweenargs': arguments}); return this.length; }; v2.pop = function () { var v2 = (com.mosesSupposes.fuse.FuseItem(this[this.length - 1])).getInitObj(); this.splice(this.length - 1, 1); return v2; }; v2.unshift = function (fuseAction) { this.splice.apply(this, (new Array(0, 0)).concat(arguments)); return this.length; }; v2.shift = function () { var v2 = (com.mosesSupposes.fuse.FuseItem(this[0])).getInitObj(); this.splice(0, 1); return v2; }; v2.splice = function (startIndex, deleteCount, fuseAction) { this.stop(true); var v7 = Number(arguments.shift()); if (v7 < 0) { v7 = this.length + v7; } deleteCount = Number(arguments.shift()); var v8 = new Array(); var v5 = 0; while (v5 < arguments.length) { var v4 = arguments[v5] instanceof com.mosesSupposes.fuse.Fuse ? arguments[v5] : new com.mosesSupposes.fuse.FuseItem(v7 + v5, arguments[v5], this._nID); this.addEventListener('onStop', v4); this.addEventListener('evtSetStart', v4); v8.push(v4); ++v5; } var v6 = super.splice.apply(this, (new Array(v7, deleteCount)).concat(v8)); for (var v9 in v6) { v4 = v6[v9]; this.removeEventListener('onStop', v4); this.removeEventListener('evtSetStart', v4); if (v4 instanceof com.mosesSupposes.fuse.Fuse) { v4.removeEventListener('onComplete', this._oDel1); } else { v4.destroy(); false; } } v5 = 0; while (v5 < this.length) { (com.mosesSupposes.fuse.FuseItem(this[v5]))._nItemID = v5; ++v5; } }; v2.slice = function (indexA, indexB) { var v6 = super.slice(indexA, indexB); var v5 = new Array(); var v4 = 0; while (v4 < arguments.length) { v5.push((com.mosesSupposes.fuse.FuseItem(this[v4])).getInitObj()); ++v4; } return v5; }; v2.reverse = function () { this.stop(true); super.reverse(); var v3 = 0; while (v3 < this.length) { (com.mosesSupposes.fuse.FuseItem(this[v3]))._nItemID = v3; ++v3; } }; v2.traceItems = function (indexA, indexB) { var v5 = ''; var v4 = super.slice(indexA, indexB); v5 += this.getHandle() + ' traceItems:' + '\n----------\n'; var v3 = 0; while (v3 < v4.length) { if (v4[v3] instanceof com.mosesSupposes.fuse.Fuse) { v5 += this.getHandle() + '>Item#' + v3 + ': [Nested Fuse] ' + v4[v3] + '\n'; } else { v5 += v4[v3] + '\n'; } ++v3; } v5 += '----------'; com.mosesSupposes.fuse.FuseKitCommon.output(v5); }; v2.toString = function () { return this.getHandle() + ' (contains ' + this.length + ((this.length == 1) ? ' item)' : ' items)'); }; v2.setStartProps = function (trueOrItemIDs) { var v8 = arguments.length == 0 || trueOrItemIDs === true || trueOrItemIDs == com.mosesSupposes.fuse.FuseKitCommon.ALL; this.dispatchEvent({'target': this, 'type': 'evtSetStart', 'all': v8, 'filter': trueOrItemIDs instanceof Array ? trueOrItemIDs : arguments, 'curIndex': (this._nState == 1) ? this._nIndex : -1, 'targs': this._aDefaultTargs, 'scope': this.scope}); }; v2.start = function (setStart) { com.mosesSupposes.fuse.Fuse.close(); this.stop(true); this._nState = 1; if (this.length == 0) { this.advance(false, true, false); } if (setStart != null && setStart != false) { this.setStartProps.apply(this, arguments); } this.dispatchEvent({'target': this, 'type': 'onStart'}); if (com.mosesSupposes.fuse.Fuse.OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output(this.getHandle() + ' start.'); } this.playCurrentItem(); }; v2.stop = function () { if (this._nState != -1) { var v3 = 0; while (v3 < this.length) { if (this[v3] instanceof com.mosesSupposes.fuse.Fuse) { (com.mosesSupposes.fuse.Fuse(this[v3])).removeEventListener('onComplete', this._oDel1); if ((com.mosesSupposes.fuse.Fuse(this[v3])).__get__state() == 'playing') { (com.mosesSupposes.fuse.Fuse(this[v3])).stop(); } } else { if (v3 == this._nIndex || (com.mosesSupposes.fuse.FuseItem(this[v3])).hasTriggerFired() == true) { (com.mosesSupposes.fuse.FuseItem(this[v3])).stop(); } } ++v3; } } var v4 = this._nState; this._nState = -1; if (arguments[0] !== true && v4 != -1) { this.dispatchEvent({'target': this, 'type': 'onStop'}); if (com.mosesSupposes.fuse.Fuse.OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output(this.getHandle() + ' stop.'); } } this._nIndex = 0; clearInterval(this._nDelay); this._nDelay = -1; this._nTimeCache = -1; }; v2.skipTo = function (indexOrLabel) { com.mosesSupposes.fuse.Fuse.close(); var v3 = this.normalizeIndex(indexOrLabel); if (v3 == null) { if (com.mosesSupposes.fuse.Fuse.OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error('102', 'skipTo', String(indexOrLabel)); } return undefined; } if (v3 == this._nIndex && arguments[1] === true) { if (com.mosesSupposes.fuse.Fuse.OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error('103', String(indexOrLabel), this._nIndex); } } if (this[this._nIndex] instanceof com.mosesSupposes.fuse.Fuse) { (com.mosesSupposes.fuse.Fuse(this[this._nIndex])).removeEventListener('onComplete', this._oDel1); } this.stop(true); this._nIndex = v3; var v4 = this._nState; this._nState = 1; if (v4 == -1) { this.dispatchEvent({'target': this, 'type': 'onStart'}); } this.playCurrentItem(); if (com.mosesSupposes.fuse.Fuse.OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output('skipTo:' + v3); } }; v2.pause = function () { if (this._nState == 1) { var v2 = 0; while (v2 <= this._nIndex) { if (this[v2].state === 'playing' || this[v2]._nPlaying > 0) { this[v2].pause(); } ++v2; } if (this._nTimeCache != -1) { this._nTimeCache -= getTimer(); clearInterval(this._nDelay); } this._nState = 0; if (com.mosesSupposes.fuse.Fuse.OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output(this.getHandle() + ' pause.'); } this.dispatchEvent({'target': this, 'type': 'onPause'}); } }; v2.resume = function () { if (this._nState != 0) { return undefined; } com.mosesSupposes.fuse.Fuse.close(); this._nState = 1; if (com.mosesSupposes.fuse.Fuse.OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output(this.getHandle() + ' resume.'); } this.dispatchEvent({'target': this, 'type': 'onResume'}); if (this._nTimeCache != -1) { this.playCurrentItem(false, true); } var v2 = 0; while (v2 <= this._nIndex) { if (this[v2] instanceof com.mosesSupposes.fuse.Fuse && this[v2].state == 'paused') { (com.mosesSupposes.fuse.Fuse(this[v2])).resume(); } else { if (this[v2]._nPlaying == 0) { (com.mosesSupposes.fuse.FuseItem(this[v2])).pause(true); } } ++v2; } }; v2.fastForward = function (resumeAtIndexOrLabel) { var v3 = (resumeAtIndexOrLabel == null) ? this.length : this.normalizeIndex(resumeAtIndexOrLabel); if (v3 == null) { if (com.mosesSupposes.fuse.Fuse.OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error('102', 'fastForward', String(resumeAtIndexOrLabel)); } return undefined; } if (v3 == 0 || v3 <= this._nIndex) { if (com.mosesSupposes.fuse.Fuse.OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error('104', v3); } this.skipTo(v3); return undefined; } clearInterval(this._nDelay); var v2 = this._nIndex; while (v2 < v3) { this[v2].fastForward(null, this._aDefaultTargs, this.scope); this.advance(false, true, !(v2 == v3 - 1 && v3 < this.length)); ++v2; } }; v2.getHandle = function () { return '-Fuse' + ((this.label != undefined) ? ' "' + this.label + '"' : '#' + String(this._nID)); }; v2.advance = function (wasTriggered, silentStop, isFF) { if (this._nState < 1) { if (com.mosesSupposes.fuse.Fuse.OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output('** DEVELOPER ALERT: ' + this.getHandle() + ' advance called out of turn! (state:' + this.__get__state() + ' currentIndex:' + this.__get__currentIndex() + ') Please report this Fuse\'s details to MosesSupposes.com. **'); } return undefined; } var v3 = false; if (this._nIndex == this.length - 1 && isFF != true) { var v2 = this.length - 1; while (v2 > -1) { if ((com.mosesSupposes.fuse.FuseItem(this[v2]))._nPlaying > -1) { return undefined; } --v2; } v3 = true; } if (wasTriggered == true && v3 == false) { return undefined; } if (this[this._nIndex] instanceof com.mosesSupposes.fuse.Fuse) { (com.mosesSupposes.fuse.Fuse(this[this._nIndex])).removeEventListener('onComplete', this._oDel1); } if (this._nIndex + 1 >= this.length) { this.stop(silentStop); if (com.mosesSupposes.fuse.Fuse.OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output(this.getHandle() + ' complete.'); } this._nIndex = this.length - 1; this.dispatchEvent({'target': this, 'type': 'onComplete'}); if (this.autoClear == true || this.autoClear !== false && com.mosesSupposes.fuse.Fuse.AUTOCLEAR == true) { this.destroy(); } return undefined; } else { ++this._nIndex; } if (isFF == true) { return undefined; } if (com.mosesSupposes.fuse.Fuse.OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output(this.getHandle() + ' advance: ' + this._nIndex); } this.dispatchEvent({'target': this, 'type': 'onAdvance'}); this.playCurrentItem(); }; v2.playCurrentItem = function (postDelay, resumeDelay) { clearInterval(this._nDelay); if (postDelay != true || resumeDelay == true) { var v3 = 0; if (resumeDelay != true) { v3 = ((com.mosesSupposes.fuse.FuseItem(this[this._nIndex])).evalDelay(this.scope) || 0) * 1000; } if (v3 > 0 || resumeDelay == true) { if (resumeDelay == true) { v3 = this._nTimeCache; this._nTimeCache += getTimer(); } else { var v4 = Math.abs(_global.com.mosesSupposes.fuse.ZigoEngine.TIME_MULTIPLIER); if (_global.isNaN(v4) == true) { v4 = 1; } v3 *= v4; this._nTimeCache = getTimer() + v3; } this._nDelay = setInterval(this, 'playCurrentItem', v3, true); return undefined; } } this._nDelay = -1; this._nTimeCache = -1; if (this[this._nIndex] instanceof com.mosesSupposes.fuse.Fuse) { if (this._oDel1 == null) { this._oDel1 = mx.utils.Delegate.create(this, this.advance); } (com.mosesSupposes.fuse.Fuse(this[this._nIndex])).addEventListener('onComplete', this._oDel1); (com.mosesSupposes.fuse.Fuse(this[this._nIndex])).start(this._aDefaultTargs, this.scope); } else { var v6 = (com.mosesSupposes.fuse.FuseItem(this[this._nIndex])).startItem(this._aDefaultTargs, this.scope, this.duration, this.easing); if (com.mosesSupposes.fuse.Fuse.OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output(this.getHandle() + ' props tweened: ' + v6); } } }; v2.evtSetStart = function (o) { this.setStartProps.apply(this, o.filter); }; v1.open = function (fuseOrID) { var v3 = _global.com.mosesSupposes.fuse.ZigoEngine; if (v3 == undefined) { com.mosesSupposes.fuse.FuseKitCommon.error('106'); return null; } else { v3.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.FuseItem); } if (com.mosesSupposes.fuse.Fuse._oBuildMode == null) { com.mosesSupposes.fuse.Fuse._oBuildMode = {'curID': -1, 'prevID': -1, 'curGroup': null}; } else { if (com.mosesSupposes.fuse.Fuse._oBuildMode != null && com.mosesSupposes.fuse.Fuse._oBuildMode.curID > -1) { com.mosesSupposes.fuse.Fuse.close(); } } if (fuseOrID != null) { if (fuseOrID instanceof com.mosesSupposes.fuse.Fuse) { com.mosesSupposes.fuse.Fuse._oBuildMode.curID = fuseOrID.id; } else { if (com.mosesSupposes.fuse.Fuse.getInstance(fuseOrID) != null) { com.mosesSupposes.fuse.Fuse._oBuildMode.curID = (com.mosesSupposes.fuse.Fuse.getInstance(fuseOrID)).id; } else { com.mosesSupposes.fuse.FuseKitCommon.error('107'); return null; } } com.mosesSupposes.fuse.Fuse._oBuildMode.prevID = com.mosesSupposes.fuse.Fuse._oBuildMode.curID; return com.mosesSupposes.fuse.Fuse.getInstance(com.mosesSupposes.fuse.Fuse._oBuildMode.curID); } com.mosesSupposes.fuse.Fuse._oBuildMode.curID = (new com.mosesSupposes.fuse.Fuse()).id; com.mosesSupposes.fuse.Fuse._oBuildMode.prevID = com.mosesSupposes.fuse.Fuse._oBuildMode.curID; return com.mosesSupposes.fuse.Fuse.getInstance(com.mosesSupposes.fuse.Fuse._oBuildMode.curID); }; v1.openGroup = function (fuseOrID) { if (!(com.mosesSupposes.fuse.Fuse._oBuildMode != null && com.mosesSupposes.fuse.Fuse._oBuildMode.curID > -1)) { com.mosesSupposes.fuse.Fuse.open(fuseOrID); com.mosesSupposes.fuse.Fuse._oBuildMode.curGroup = new Array(); return com.mosesSupposes.fuse.Fuse.getInstance(com.mosesSupposes.fuse.Fuse._oBuildMode.curID); } if (com.mosesSupposes.fuse.Fuse._oBuildMode.curGroup != null) { com.mosesSupposes.fuse.Fuse.closeGroup(); } com.mosesSupposes.fuse.Fuse._oBuildMode.curGroup = new Array(); return com.mosesSupposes.fuse.Fuse.getInstance(com.mosesSupposes.fuse.Fuse._oBuildMode.curID); }; v1.closeGroup = function () { if (com.mosesSupposes.fuse.Fuse._oBuildMode.curGroup == null || !(com.mosesSupposes.fuse.Fuse._oBuildMode != null && com.mosesSupposes.fuse.Fuse._oBuildMode.curID > -1)) { return undefined; } (com.mosesSupposes.fuse.Fuse.getInstance(com.mosesSupposes.fuse.Fuse._oBuildMode.curID)).push(com.mosesSupposes.fuse.Fuse._oBuildMode.curGroup); com.mosesSupposes.fuse.Fuse._oBuildMode.curGroup = null; }; v1.close = function () { if (!(com.mosesSupposes.fuse.Fuse._oBuildMode != null && com.mosesSupposes.fuse.Fuse._oBuildMode.curID > -1)) { return undefined; } if (com.mosesSupposes.fuse.Fuse._oBuildMode.curGroup != null) { com.mosesSupposes.fuse.Fuse.closeGroup(); } com.mosesSupposes.fuse.Fuse._oBuildMode.curID = -1; }; v1.closeAndStart = function (setStart) { if (!(com.mosesSupposes.fuse.Fuse._oBuildMode != null && com.mosesSupposes.fuse.Fuse._oBuildMode.curID > -1)) { return undefined; } var v2 = com.mosesSupposes.fuse.Fuse.getInstance(com.mosesSupposes.fuse.Fuse._oBuildMode.curID); com.mosesSupposes.fuse.Fuse.close(); v2.start.apply(v2, arguments); }; v1.startRecent = function (setStart) { var v2 = com.mosesSupposes.fuse.Fuse.getInstance(com.mosesSupposes.fuse.Fuse._oBuildMode.prevID); if (v2 != null) { v2.start.apply(v2, arguments); } else { com.mosesSupposes.fuse.FuseKitCommon.error('108'); } }; v1.addCommand = function (commandOrScope, indexOrFunc, argument) { if (!(com.mosesSupposes.fuse.Fuse._oBuildMode != null && com.mosesSupposes.fuse.Fuse._oBuildMode.curID > -1)) { return undefined; } var v4 = com.mosesSupposes.fuse.Fuse._oBuildMode.curGroup != null; var v2 = (v4 == true) ? com.mosesSupposes.fuse.Fuse._oBuildMode.curGroup : com.mosesSupposes.fuse.Fuse.getInstance(com.mosesSupposes.fuse.Fuse._oBuildMode.curID); if (typeof commandOrScope == 'string') { var v7 = indexOrFunc != undefined; var v5 = com.mosesSupposes.fuse.FuseKitCommon._validateFuseCommand(String(commandOrScope), v4, v7, com.mosesSupposes.fuse.Fuse.OUTPUT_LEVEL, true); if (v5 == true) { v2.push({'__buildMode': true, 'command': commandOrScope, 'commandargs': indexOrFunc}); } } else { v2.push({'__buildMode': true, 'scope': commandOrScope, 'func': indexOrFunc, 'args': arguments.slice(2)}); } }; v1.addBuildItem = function (args) { if (!(com.mosesSupposes.fuse.Fuse._oBuildMode != null && com.mosesSupposes.fuse.Fuse._oBuildMode.curID > -1)) { return false; } var v1 = (com.mosesSupposes.fuse.Fuse._oBuildMode.curGroup != null) ? com.mosesSupposes.fuse.Fuse._oBuildMode.curGroup : com.mosesSupposes.fuse.Fuse.getInstance(com.mosesSupposes.fuse.Fuse._oBuildMode.curID); if (args.length == 1 && typeof args[0] == 'object') { v1.push(args[0]); return true; } v1.push({'__buildMode': true, 'tweenargs': args}); return true; }; v2.normalizeIndex = function (indexOrLabel) { var v4; if (typeof indexOrLabel == 'string') { v4 = -1; var v3 = 0; while (v3 < this.length) { if (this[v3].label == String(indexOrLabel)) { v4 = v3; break; } ++v3; } if (v4 == -1) { return null; } } else { v4 = Number(indexOrLabel); } if (_global.isNaN(v4) == true || Math.abs(v4) >= this.length) { return null; } if (v4 < 0) { v4 = Math.max(0, this.length + v4); } return v4; }; v1.registerInstance = function (s) { if (com.mosesSupposes.fuse.Fuse._aInstances == null) { com.mosesSupposes.fuse.Fuse._aInstances = new Array(); } return com.mosesSupposes.fuse.Fuse._aInstances.push(s) - 1; }; v1.removeInstanceAt = function (id, isDestroyCall) { if (isDestroyCall != true) { (com.mosesSupposes.fuse.Fuse(com.mosesSupposes.fuse.Fuse._aInstances[id])).destroy(); } delete com.mosesSupposes.fuse.Fuse._aInstances[id]; }; v1.registryKey = 'fuse'; v1.VERSION = com.mosesSupposes.fuse.FuseKitCommon.VERSION; v1.OUTPUT_LEVEL = 1; v1.AUTOCLEAR = false; v1.AUTOSTOP = true; v2._nState = -1; v2._nDelay = -1; v2._nTimeCache = -1; v1._aInstances = null; v1._oBuildMode = null; v2.addProperty('currentIndex', v2.__get__currentIndex, function () {}); v2.addProperty('currentLabel', v2.__get__currentLabel, function () {}); v2.addProperty('id', v2.__get__id, function () {}); v2.addProperty('state', v2.__get__state, function () {}); v2.addProperty('target', v2.__get__target, v2.__set__target); ASSetPropFlags(com.mosesSupposes.fuse.Fuse.prototype, null, 1); } #endinitclip } movieClip 682 __Packages.mx.events.EventDispatcher { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.events) { _global.mx.events = new Object(); } if (!_global.mx.events.EventDispatcher) { var v1 = function () {}; mx.events.EventDispatcher = v1; var v2 = v1.prototype; v1._removeEventListener = function (queue, event, handler) { if (queue != undefined) { var v4 = queue.length; var v1; v1 = 0; while (v1 < v4) { var v2 = queue[v1]; if (v2 == handler) { queue.splice(v1, 1); return undefined; } ++v1; } } }; v1.initialize = function (object) { if (mx.events.EventDispatcher._fEventDispatcher == undefined) { mx.events.EventDispatcher._fEventDispatcher = new mx.events.EventDispatcher(); } object.addEventListener = mx.events.EventDispatcher._fEventDispatcher.addEventListener; object.removeEventListener = mx.events.EventDispatcher._fEventDispatcher.removeEventListener; object.dispatchEvent = mx.events.EventDispatcher._fEventDispatcher.dispatchEvent; object.dispatchQueue = mx.events.EventDispatcher._fEventDispatcher.dispatchQueue; }; v2.dispatchQueue = function (queueObj, eventObj) { var v7 = '__q_' + eventObj.type; var v4 = queueObj[v7]; if (v4 != undefined) { var v5; for (v5 in v4) { var v1 = v4[v5]; var v3 = typeof v1; if (v3 == 'object' || v3 == 'movieclip') { if (v1.handleEvent != undefined) { v1.handleEvent(eventObj); } if (v1[eventObj.type] != undefined) { if (mx.events.EventDispatcher.exceptions[eventObj.type] == undefined) { v1[eventObj.type](eventObj); } } } else { v1.apply(queueObj, [eventObj]); } } } }; v2.dispatchEvent = function (eventObj) { if (eventObj.target == undefined) { eventObj.target = this; } this[eventObj.type + 'Handler'](eventObj); this.dispatchQueue(this, eventObj); }; v2.addEventListener = function (event, handler) { var v3 = '__q_' + event; if (this[v3] == undefined) { this[v3] = new Array(); } _global.ASSetPropFlags(this, v3, 1); mx.events.EventDispatcher._removeEventListener(this[v3], event, handler); this[v3].push(handler); }; v2.removeEventListener = function (event, handler) { var v2 = '__q_' + event; mx.events.EventDispatcher._removeEventListener(this[v2], event, handler); }; v1._fEventDispatcher = undefined; v1.exceptions = {'move': 1, 'draw': 1, 'load': 1}; ASSetPropFlags(mx.events.EventDispatcher.prototype, null, 1); } #endinitclip } movieClip 683 __Packages.com.mosesSupposes.fuse.FuseItem { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.mosesSupposes) { _global.com.mosesSupposes = new Object(); } if (!_global.com.mosesSupposes.fuse) { _global.com.mosesSupposes.fuse = new Object(); } if (!_global.com.mosesSupposes.fuse.FuseItem) { var v1 = function (id, o, fuseID) { com.mosesSupposes.fuse.FuseItem._ZigoEngine = _global.com.mosesSupposes.fuse.ZigoEngine; this._nItemID = id; this._nFuseID = fuseID; this._initObj = o; this._aProfiles = []; this._oElements = {'aEvents': []}; this._oTemps = {}; if (!(o instanceof Array)) { o = [o]; } var v19 = _global.com.mosesSupposes.fuse.Fuse; this._oTemps.outputLevel = (v19 != undefined) ? v19.OUTPUT_LEVEL : _global.com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL; if (o.length == 1) { var v18 = o[0]; var v12 = (v18.action != undefined) ? v18.action : v18; if (v12.__buildMode != true && v12.command != undefined) { this._oElements.command = v12.command; this._oElements.scope = v12.scope; this._oElements.args = v12.args; this._sImage = ' Elements:[' + ('command' + ((typeof v12.command == 'string') ? ':"' + v12.command + '", ' : ', ')); if (v12.delay != undefined) { this._sImage += 'delay, '; this._oElements.delay = v12.delay; } this._sImage = this._sImage.slice(0, -2) + ']'; if (v12.func != undefined && this._oTemps.outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error('113'); } return undefined; } } this._oTemps.sImgS = ''; this._oTemps.sImgE = ''; this._oTemps.sImgB = ''; this._oTemps.afl = 0; this._oTemps.ael = 0; this._oTemps.twDelayFlag = false; this._oTemps.nActions = o.length; this._oTemps.fuseProps = com.mosesSupposes.fuse.FuseKitCommon._fuseprops(); this._oTemps.cbProps = com.mosesSupposes.fuse.FuseKitCommon._cbprops(); this._oTemps.sUP = com.mosesSupposes.fuse.FuseKitCommon._underscoreable(); this._oTemps.sCT = com.mosesSupposes.fuse.FuseKitCommon._cts(); this._oTemps.bTriggerFound = false; for (var v17 in o) { var v3 = o[v17]; if (v3.label != undefined && typeof v3.label == 'string') { this._oElements.label = v3.label; } var v4; var v8 = Boolean(typeof v3.action == 'object'); if (v8 == true) { var v7 = v3.action instanceof Array ? v3.action : [v3.action]; v4 = {'delay': v3.delay, 'target': v3.target, 'addTarget': v3.addTarget, 'label': v3.label, 'trigger': v3.trigger}; for (var v15 in v7) { var v5 = this.parseProfile(v7[v15], v4); if (v5 != undefined) { this._aProfiles.unshift(v5); } } } else { var v7 = v3; var v5 = this.parseProfile(v7, v4); if (v5 != undefined) { this._aProfiles.unshift(v5); } } } this._sImage = ''; var v16 = ''; if (this._oTemps.afl > 0) { v16 += this._oTemps.afl > 1 ? this._oTemps.afl + ' callbacks, ' : 'callback, '; } if (this._oElements.delay != undefined || this._oTemps.twDelayFlag == true) { v16 += 'delay, '; } if (this._oTemps.bTriggerFound == true) { v16 += 'trigger, '; } if (this._oTemps.ael > 0) { v16 += this._oTemps.ael > 1 ? this._oTemps.ael + ' events, ' : 'event, '; } if (v16 != '') { this._sImage += ' Elements:[' + v16.slice(0, -2) + ']'; } if (this._oTemps.sImgS != '') { this._sImage += ' StartProps:[' + this._oTemps.sImgS.slice(0, -2) + ']'; } if (this._oTemps.sImgE != '') { this._sImage += ' Props:[' + this._oTemps.sImgE.slice(0, -2) + ']'; } if (this._oTemps.sImgB != '') { this._sImage += ' Simple Syntax Props:[' + this._oTemps.sImgB.slice(0, -1) + ']'; } if (this._sImage.slice(-2) == ', ') { this._sImage = this._sImage.slice(0, -2); } delete this._oTemps; }; com.mosesSupposes.fuse.FuseItem = v1; var v2 = v1.prototype; v1.doTween = function () { for (var v3 in arguments) { if (typeof arguments[v3] == 'object') { if (com.mosesSupposes.fuse.FuseItem._aInstances == undefined) { com.mosesSupposes.fuse.FuseItem._aInstances = new Array(); } var v2 = new com.mosesSupposes.fuse.FuseItem(com.mosesSupposes.fuse.FuseItem._aInstances.length, arguments[v3], -1); return v2.startItem(); } } }; v2.__get__label = function () { return this._oElements.label; }; v2.hasTriggerFired = function () { return this._bTrigger == true; }; v2.getInitObj = function () { return this._initObj; }; v2.getActiveTargets = function (targetList) { if (this._aTweens.length <= 0) { return targetList; } var v3 = false; for (var v5 in this._aTweens) { for (var v4 in targetList) { if (targetList[v4] == this._aTweens[v5].targ) { v3 = true; break; } } if (v3 == false) { targetList.unshift(this._aTweens[v5].targ); } } return targetList; }; v2.toString = function () { return String(this._sID() + ':' + this._sImage); }; v2.evalDelay = function (scope) { var v3 = this._oElements.delay; if (v3 instanceof Function) { v3 = v3.apply((this._oElements.delayscope != undefined) ? this._oElements.delayscope : scope); } if (typeof v3 == 'string') { v3 = this.parseClock(String(v3)); } if (_global.isNaN(Number(v3)) == true) { return 0; } return Number(v3); }; v2.startItem = function (targs, scope, duration, easing) { com.mosesSupposes.fuse.FuseItem._ZigoEngine = _global.com.mosesSupposes.fuse.ZigoEngine; var v11 = _global.com.mosesSupposes.fuse.Fuse; var v5 = (v11 != undefined) ? v11.OUTPUT_LEVEL : com.mosesSupposes.fuse.FuseItem._ZigoEngine.OUTPUT_LEVEL; if (this._oElements.command != null) { var v12 = this._oElements.scope || scope; var v10 = this._oElements.command instanceof Function ? String(this._oElements.command.apply(v12)) : String(this._oElements.command); var v6 = this._oElements.args instanceof Function ? this._oElements.args.apply(v12) : this._oElements.args; var v13 = com.mosesSupposes.fuse.FuseKitCommon._validateFuseCommand(v10, this._aProfiles.length > 0, v6 != null && !(v6 instanceof Array && v6.length == 0), v5, false); if (v13 == true) { this._nPlaying = 1; if (!(v6 instanceof Array)) { v6 = (v6 == null) ? [] : [v6]; } this.dispatchRequest(String(v10), v6); } if (v13 == false || v10 == 'setStartProps') { this.complete(); } return null; } if (this._aTweens.length > 0) { this.stop(); } com.mosesSupposes.fuse.FuseItem._ZigoEngine.addListener(this); this._nPlaying = 2; var v4 = null; if (this._aProfiles.length > 0) { if (com.mosesSupposes.fuse.FuseItem._ZigoEngine == undefined) { com.mosesSupposes.fuse.FuseKitCommon.error('112'); } else { v4 = this.doTweens(targs, scope, duration, easing, false, false); } } this._nPlaying = 1; var v3 = this._oElements.aEvents; for (var v9 in v3) { if (v4 == null && this._aTweens.length > 0 && v3[v9].skipLevel == 2) { continue; } this.fireEvents(v3[v9], scope, v5, targs); } if (v4 == null && this._aTweens.length <= 0 && this._nPlaying == 1) { if (v5 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(this._sID() + ' no tweens added - item done. [getTimer()=' + getTimer() + ']'); } this.complete(); } return v4; }; v2.stop = function () { var v2 = this._nPlaying > -1; this._nPlaying = -1; if (v2 == true) { this.onStop(); } com.mosesSupposes.fuse.FuseItem._ZigoEngine.removeListener(this); }; v1.removeInstance = function (id) { (com.mosesSupposes.fuse.FuseItem(com.mosesSupposes.fuse.FuseItem._aInstances[id])).destroy(); delete com.mosesSupposes.fuse.FuseItem._aInstances[id]; }; v2.onStop = function () { this._bStartSet = false; for (var v3 in this._aTweens) { var v2 = this._aTweens[v3]; v2.targ.removeListener(this); com.mosesSupposes.fuse.FuseItem._ZigoEngine.removeTween(v2.targ, v2.props); delete this._aTweens[v3]; } delete this._aTweens; this._bTrigger = false; }; v2.evtSetStart = function (o) { if (this._sImage.indexOf('StartProps:') == -1 || o.curIndex == this._nItemID) { return undefined; } if (o.all != true) { var v3 = false; for (var v4 in o.filter) { if (Number(o.filter[v4]) == this._nItemID || String(o.filter[v4]) == this._oElements.label) { v3 = true; } } if (v3 == false) { return undefined; } } this._nPlaying = 2; this.doTweens(o.targs, o.scope, null, null, true, false); this._nPlaying = -1; this._bStartSet = true; }; v2.pause = function (resume) { if (this._nPlaying == -1) { return undefined; } this._nPlaying = (resume == true) ? 1 : 0; for (var v12 in this._aTweens) { var v4 = this._aTweens[v12]; var v2 = v4.targ; var v3 = v4.props; if (resume == true) { var v5 = []; var v6 = this._aTweens.length; for (var v8 in v3) { if (com.mosesSupposes.fuse.FuseItem._ZigoEngine.isTweenPaused(v2, v3[v8]) == false) { v5.push(v3[v8]); } } if (v5.length > 0) { this.onTweenEnd({'__zigoID__': v4.targZID, 'props': v5, 'isResume': true}); } if (this._aTweens.length == v6) { v2.addListener(this); com.mosesSupposes.fuse.FuseItem._ZigoEngine.unpauseTween(v2, v4.props); } } else { v2.removeListener(this); com.mosesSupposes.fuse.FuseItem._ZigoEngine.pauseTween(v2, v4.props); } } if (resume == true && this._aTweens.length <= 0) { this.complete(); } else { if (resume == true) { com.mosesSupposes.fuse.FuseItem._ZigoEngine.addListener(this); } else { com.mosesSupposes.fuse.FuseItem._ZigoEngine.removeListener(this); } } }; v2.fastForward = function (ignore, targs, scope) { if (this._nPlaying == 1) { for (var v4 in this._aTweens) { var v3 = this._aTweens[v4]; var v2 = v3.targ; v2.removeListener(this); com.mosesSupposes.fuse.FuseItem._ZigoEngine.ffTween(v2, v3.props, true); } return undefined; } if (this._nPlaying == 2) { com.mosesSupposes.fuse.FuseKitCommon.error('125', this._nItemID); } this._nPlaying = 2; this.doTweens(targs, scope, null, null, false, true); stop(); }; v2.destroy = function () { var v3 = this._nPlaying > -1; this._nPlaying = -1; for (var v5 in this._aTweens) { var v2 = this._aTweens[v5]; v2.targ.removeListener(this); if (v3 == true) { com.mosesSupposes.fuse.FuseItem._ZigoEngine.removeTween(v2.targ, v2.props); } delete this._aTweens[v5]; } for (var v4 in this) { delete this[v4]; } }; v2.dispatchRequest = function (type, args) { var v4 = _global.com.mosesSupposes.fuse.Fuse.getInstance(this._nFuseID); if (!(args instanceof Array) && args != null) { args = new Array(args); } (Function(v4[type])).apply(v4, args); }; v2._sID = function () { var v3; if (this._nFuseID == -1) { v3 = '-One-off tween '; } else { v3 = (_global.com.mosesSupposes.fuse.Fuse.getInstance(this._nFuseID)).getHandle(); } v3 += '>Item #' + String(this._nItemID); if (this._oElements.label != undefined) { v3 += ' "' + this._oElements.label + '"'; } return v3; }; v2.parseProfile = function (obj, aap) { var v40; var v2; var v8; if (obj.__buildMode == true) { if (obj.command != undefined) { if (obj.command == 'delay') { this._oElements.delay = obj.commandargs; } else { if (obj.command == 'trigger') { if (this._oTemps.bTriggerFound == false) { this._oTemps.bTriggerFound = true; return {'trigger': obj.commandargs, '_doTimer': true}; } else { if (this._oTemps.outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error('124', this._sID(), obj.commandargs); } } } else { this._oElements.command = obj.command; this._oElements.args = obj.commandargs; } } } if (obj.func != undefined) { ++this._oTemps.afl; this._oElements.aEvents.unshift({'scope': obj.scope, 'func': obj.func, 'args': obj.args}); } if (obj.tweenargs != undefined) { this._oTemps.sImgB += obj.tweenargs[1].toString() + ','; return obj; } return null; } var v4 = {'delay': (aap.delay != undefined) ? aap.delay : obj.delay, 'ease': obj.ease, 'seconds': obj.seconds, 'event': obj.event, 'eventparams': obj.eventparams, 'skipLevel': (typeof obj.skipLevel == 'number' && obj.skipLevel >= 0 && obj.skipLevel <= 2) ? obj.skipLevel : com.mosesSupposes.fuse.FuseItem._ZigoEngine.SKIP_LEVEL, 'roundResults': obj.roundResults, 'oSP': {}, 'oEP': {}, 'oAFV': {}}; var v22 = (aap.trigger != undefined) ? aap.trigger : obj.trigger; if (v22 != undefined) { if (this._oTemps.bTriggerFound == false) { v4.trigger = v22; this._oTemps.bTriggerFound = true; } else { if (this._oTemps.outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error('124', this._sID(), v22); } } } if (v4.delay == undefined) { v4.delay = obj.startAt; } if (v4.ease == undefined) { v4.ease = obj.easing; } if (v4.seconds == undefined) { v4.seconds = (obj.duration != undefined) ? obj.duration : obj.time; } if (aap.target != undefined) { v4.target = aap.target instanceof Array ? aap.target : [aap.target]; } else { if (obj.target != undefined) { v4.target = obj.target instanceof Array ? obj.target : [obj.target]; } } if (obj.addTarget != undefined) { v4.addTarget = obj.addTarget instanceof Array ? obj.addTarget : [obj.addTarget]; } if (aap.addTarget != undefined) { if (v4.addTarget == undefined) { v4.addTarget = aap.addTarget instanceof Array ? aap.addTarget : [aap.addTarget]; } else { v4.addTarget = v4.addTarget instanceof Array ? v4.addTarget.concat(aap.addTarget) : (new Array(v4.addTarget)).concat(aap.addTarget); } } var v15 = false; for (v2 in obj) { var v11 = obj[v2]; if (this._oTemps.cbProps.indexOf('|' + v2 + '|') > -1) { if (v2 != 'skipLevel') { v4[v2] = v11; } continue; } if (this._oTemps.fuseProps.indexOf('|' + v2 + '|') > -1) { if (v2 == 'command' && this._oTemps.nActions > 1 && this._oTemps.outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error('109', String(v11), true); } continue; } if (typeof v11 == 'object') { var v10 = v11 instanceof Array ? [] : {}; for (v8 in v11) { v10[v8] = v11[v8]; } v11 = v10; } var v3; var v21; if (v2.indexOf('start_') == 0) { if (v2 == 'start_controlX' || v2 == 'start_controlY' || v2.indexOf('_bezier_') > -1) { if (this._oTemps.outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error('110', this._sID(), v2); } continue; } v2 = v2.slice(6); v3 = v4.oSP; } else { v3 = v4.oEP; } if (com.mosesSupposes.fuse.FuseItem.ADD_UNDERSCORES == true && this._oTemps.sUP.indexOf('|_' + v2 + '|') > -1) { v2 = '_' + v2; } if (this._oTemps.sCT.indexOf('|' + v2 + '|') > -1) { var v13 = v2 == '_tintPercent' && v3.colorProp.p == '_tint'; var v12 = v2 == '_tint' && v3.colorProp.p == '_tintPercent'; if (v3.colorProp == undefined || v13 == true || v12 == true) { if (v13 == true) { v3.colorProp = {'p': '_tint', 'v': {'tint': v3.colorProp.v, 'percent': v11}}; } else { if (v12 == true) { v3.colorProp = {'p': '_tint', 'v': {'tint': v11, 'percent': v3.colorProp.v}}; } else { v3.colorProp = {'p': v2, 'v': v11}; } } v15 = true; } else { if (this._oTemps.outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error('115', this._sID(), v2); } } } else { if (v11 != null) { v3[v2] = v11; v15 = true; } } } if (v15 == false && (v4.trigger != undefined || (v4.delay != undefined || v4.seconds != undefined) && (v4.startfunc != undefined || v4.updfunc != undefined || v4.func != undefined && this._oTemps.nActions > 1))) { if (com.mosesSupposes.fuse.FuseItem._ZigoEngine == undefined) { com.mosesSupposes.fuse.FuseKitCommon.error('116'); } else { if (v4.func != undefined) { ++this._oTemps.afl; } if (v4.event != undefined) { ++this._oTemps.ael; } v4._doTimer = true; if (v4.delay != undefined) { this._oTemps.twDelayFlag = true; } return v4; } } if (v15 == true) { var v17 = v4.oEP.colorProp != undefined; var v7 = 0; while (v7 < 2) { v3 = (v7 == 0) ? v4.oSP : v4.oEP; var v6 = (v7 == 0) ? this._oTemps.sImgS : this._oTemps.sImgE; var v9 = v3.colorProp.p; if (v9 != undefined) { v3[v9] = v3.colorProp.v; delete v3.colorProp; } if ((v3._xscale != undefined || v3._scale != undefined) && (v3._width != undefined || v3._size != undefined)) { var v14 = (v3._xscale != undefined) ? '_xscale' : '_scale'; delete v3[v14]; if (this._oTemps.outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error('115', this._sID(), v14); } } if ((v3._yscale != undefined || v3._scale != undefined) && (v3._height != undefined || v3._size != undefined)) { v14 = (v3._yscale != undefined) ? '_yscale' : '_scale'; delete v3[v14]; if (this._oTemps.outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error('115', this._sID(), v14); } } if (v3._fade != undefined && v3._alpha != undefined) { delete v3._alpha; if (this._oTemps.outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error('115', this._sID(), '_alpha'); } } for (v2 in v3) { if (v6.indexOf(v2 + ', ') == -1) { v6 += v2 + ', '; } if (v3 == v4.oSP) { if (v4.oEP[v2] == undefined && !(v2 == v9 && v17 == true)) { v4.oAFV[v2] = true; v4.oEP[v2] = []; } } } if (v7 != 0) { this._oTemps.sImgE = v6; } else { this._oTemps.sImgS = v6; } this._oTemps.sImgE; ++v7; } return v4; } if (v4.delay != undefined && this._oTemps.nActions == 1) { this._oElements.delay = v4.delay; this._oElements.delayscope = v4.scope; } if (v4.event != undefined) { ++this._oTemps.ael; this._oElements.aEvents.unshift({'scope': v4.scope, 'e': v4.event, 'ep': v4.eventparams, 'skipLevel': v4.skipLevel}); } var v23 = this._oElements.aEvents.length; if (v4.func != undefined) { this._oElements.aEvents.push({'func': v4.func, 'scope': v4.scope, 'args': v4.args, 'skipLevel': v4.skipLevel}); } this._oTemps.afl += this._oElements.aEvents.length - v23; false; return undefined; }; v2.doTweens = function (targs, defaultScope, defaultSeconds, defaultEase, setStart, isFF) { if (this._aTweens == null) { this._aTweens = []; } this._oTwBeingAdded = {}; var tba = this._oTwBeingAdded; var ZE = com.mosesSupposes.fuse.FuseItem._ZigoEngine; var v35 = function (target, props, endvals, seconds, ease, delay, callback) { if (target.__zigoID__ == null) { ZE.initializeTargets(target); } tba[target.__zigoID__] = true; var v3 = ZE.doTween.apply(ZE, arguments); tba[target.__zigoID__] = false; return (v3 == null) ? [] : v3.split(','); }; var v74 = _global.com.mosesSupposes.fuse.Fuse; var v19 = (v74 != undefined) ? v74.OUTPUT_LEVEL : com.mosesSupposes.fuse.FuseItem._ZigoEngine.OUTPUT_LEVEL; var v24 = ''; var v66 = 0; var v8; var v5; var v6; var v75 = this._bStartSet != true && (setStart == true || this._sImage.indexOf('StartProps:') > -1); var v51 = 0; while (v51 < this._aProfiles.length) { if (this._nPlaying < 2) { return null; } var v4 = this._aProfiles[v51]; if (v4.__buildMode == true) { var v10 = this._aProfiles[v51].tweenargs; var v65 = v24; if (v10[6].cycles === 0 || v10[6].cycles.toUpperCase() == 'LOOP') { delete v10[6].cycles; if (v19 > 0) { com.mosesSupposes.fuse.FuseKitCommon.error('117', this._sID()); } } var v60 = com.mosesSupposes.fuse.FuseKitCommon.parseCallback(v10[6]); if (!(v10[0] instanceof Array)) { v10[0] = [v10[0]]; } for (v8 in v10[0]) { if (isFF == true) { v35(v10[0][v8], v10[1], v10[2], 0, null, 0, {'skipLevel': 0}); if (v19 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output('\n-' + this._sID() + ' FF(simple syntax)\ttargets:[' + v10[0][v8] + ']\tprops:[' + v10[1] + ']'); } } else { var v17 = v35(v10[0][v8], v10[1], v10[2], v10[3], v10[4], v10[5], v60); if (v17.length > 0) { this._aTweens.push({'targ': v10[0][v8], 'props': v17, 'targZID': v10[0][v8].__zigoID__}); v10[0][v8].addListener(this); for (v5 in v17) { if (v24.indexOf(v17[v5] + ',') == -1) { v24 += v17[v5] + ','; } } } if (v19 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output('\n-' + this._sID() + ' TWEEN(simple syntax)\ttargets:[' + v10[0][v8] + ']\tprops tweened:[' + v17.toString() + ']'); } } } if (isFF == false && (v65 == v24 || v24 == '')) { ++v66; } } else { var v23 = defaultScope; var v16 = []; var v52 = (v4.target == undefined) ? targs : v4.target; var v26 = []; var v54 = false; for (v8 in v52) { var v7 = v52[v8]; v26 = v26.concat(v7 instanceof Function ? v7.apply(v23) : v7); } for (v8 in v4.addTarget) { v7 = v4.addTarget[v8]; v26 = v26.concat(v7 instanceof Function ? v7.apply(v23) : v7); } for (v8 in v26) { v7 = v26[v8]; if (v7 != null) { var v40 = false; for (v5 in v16) { if (v16[v5] == v7) { v40 = true; break; } } if (v40 == false) { v16.unshift(v7); } } else { v54 = true; } } var v56 = v4._doTimer == true && v16.length == 0 && isFF == false; if (v54 == true || v16.length == 0 && v4._doTimer != true) { ++v66; } if (v75 == true) { for (v8 in v16) { if (this._nPlaying < 2) { return null; } var v36 = v16[v8]; var v33 = []; var v27 = []; if (setStart == true) { for (var v63 in v4.oEP) { _global.com.mosesSupposes.fuse.FuseFMP.getFilterProp(v36, v63, true); } } for (var v64 in v4.oSP) { v7 = v4.oSP[v64]; if (v7 instanceof Function) { v7 = v7.apply(v23); } if (v7 === true || v7 === false) { v36[v64] = v7; if (v4.oAFV[v64] == true) { for (v6 in v4.oEP[v64]) { if (v4.oEP[v64][v6].targ == v36) { v4.oEP[v64].splice(Number(v6), 1); } } v4.oEP[v64].push({'targ': v36, 'val': 'IGNORE', '_isAF': true}); } continue; } if (v4.oAFV[v64] == true && !(v64 == '_colorReset' && v7 == 100) && !(v64 == '_tintPercent' && v7 == 0)) { var v20; if (v64 == '_tint' || v64 == '_colorTransform') { v20 = com.mosesSupposes.fuse.FuseItem._ZigoEngine.getColorTransObj(); } else { if ((String(com.mosesSupposes.fuse.FuseKitCommon._resetTo100())).indexOf('|' + v64 + '|') > -1 || v64 == '_fade' && v7 < 50) { v20 = 100; } else { if ((String(com.mosesSupposes.fuse.FuseKitCommon._resetTo0())).indexOf('|' + v64 + '|') > -1 || v64 == '_fade') { v20 = 0; } else { var v29 = _global.com.mosesSupposes.fuse.FuseFMP.getFilterProp(v36, v64, true); if (v29 != null) { v20 = v29; } else { v20 = (_global.isNaN(v36[v64]) == false) ? v36[v64] : 0; } } } } for (v6 in v4.oEP[v64]) { if (v4.oEP[v64][v6].targ == v36) { v4.oEP[v64].splice(Number(v6), 1); } } v4.oEP[v64].push({'targ': v36, 'val': v20, '_isAF': true}); } if (typeof v7 == 'object') { var v28 = v7 instanceof Array ? [] : {}; for (v6 in v7) { v28[v6] = v7[v6] instanceof Function ? (Function(v7[v6])).apply(v23) : v7[v6]; } v7 = v28; } v33.push(v64); v27.push(v7); } if (v27.length > 0) { if (v19 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(this._sID() + ' ' + v36 + ' SET STARTS: ' + ['[' + v33 + ']', '[' + v27 + ']']); } v35(v36, v33, v27, 0); } } } if (setStart == true) { } else { var v25; var v50; var v32; var v12; var v49; var v21; var v43 = ''; if (isFF == false) { if (v4.scope != undefined) { v23 = v4.scope; } v50 = v4.skipLevel instanceof Function ? v4.skipLevel.apply(v23) : v4.skipLevel; var v71 = v4.extra1 instanceof Function ? v4.extra1.apply(v23) : v4.extra1; var v70 = v4.extra2 instanceof Function ? v4.extra2.apply(v23) : v4.extra2; var v72 = v4.roundResults instanceof Function ? v4.roundResults.apply(v23) : v4.roundResults; v32 = {'skipLevel': v50, 'extra1': v71, 'extra2': v70, 'roundResults': v72}; v12 = {'skipLevel': v50, 'extra1': v71, 'extra2': v70, 'roundResults': v72}; if (v4.cycles != undefined) { var v55 = v4.cycles instanceof Function ? v4.cycles.apply(v23) : v4.cycles; if ((Number(v55) == 0 || (String(v55)).toUpperCase() == 'LOOP') && v74 != undefined) { delete v4.cycles; if (v19 > 0) { com.mosesSupposes.fuse.FuseKitCommon.error('117', this._sID()); } } else { v12.cycles = v55; v32.cycles = v12.cycles; } } if (v4.func != undefined || v4.startfunc != undefined || v4.updfunc != undefined) { for (v8 in v4) { if (v8.indexOf('func') > -1) { v12[v8] = v4[v8]; } else { if (v8 == 'startscope' || v8 == 'updscope' || v8.indexOf('args') > -1) { v12[v8] = v4[v8]; } } } if (v23 != undefined) { if (v12.func != undefined && v12.scope == undefined) { v12.scope = v23; } if (v12.updfunc != undefined && v12.updscope == undefined) { v12.updscope = v23; } if (v12.startfunc != undefined && v12.startscope == undefined) { v12.startscope = v23; } } } for (v5 in v12) { v43 += v5 + ':' + v12[v5] + '|'; } if (v4.event != undefined) { v25 = {'scope': v4.scope, 'e': v4.event, 'ep': v4.eventparams, 'skipLevel': v50}; } v49 = v4.trigger === true; v21 = undefined; if (v49 == false && v4.trigger != undefined) { v21 = v4.trigger instanceof Function ? v4.trigger.apply(v23) : v4.trigger; if (typeof v21 == 'string') { v21 = ((String(v21)).charAt(0) == '-') ? -this.parseClock((String(v21)).slice(1)) : this.parseClock(String(v21)); } if (_global.isNaN(v21) == true) { v21 = undefined; } } } var v18; var v13; var v22; var v15; var v42 = false; var v53 = (v56 == false) ? v16 : [0]; var v34 = -1; for (v8 in v53) { if (this._nPlaying < 2) { return null; } if (isFF == false) { if (v4.ease != null) { v22 = v4.ease; if (v22 instanceof Function) { var v44 = Function(v22); if (typeof v44(1, 1, 1, 1) != 'number') { v22 = v44.apply(v23); } } } if (v22 == null) { v22 = defaultEase; } v13 = v4.seconds instanceof Function ? v4.seconds.apply(v23) : v4.seconds; if (v13 != undefined) { if (typeof v13 == 'string') { v13 = this.parseClock(String(v13)); } if (_global.isNaN(v13) == true) { v13 = com.mosesSupposes.fuse.FuseItem._ZigoEngine.DURATION || 0; } } if (v13 == null) { v13 = defaultSeconds; } v18 = v4.delay instanceof Function ? v4.delay.apply(v23) : v4.delay; if (typeof v18 == 'string') { v18 = this.parseClock(String(v18)); } if (v18 == null || _global.isNaN(v18) == true) { v18 = 0; } if (v56 == true) { continue; } } v36 = v53[v8]; var v9 = []; var v11 = []; var v46 = 0; var v14 = -2; for (v64 in v4.oEP) { v7 = v4.oEP[v64]; if (v7 instanceof Function) { v7 = v7.apply(v23); } if (v7 === true || v7 === false) { if (v15 == undefined) { v15 = {}; } v15[v64] = v7; ++v46; continue; } if (typeof v7 == 'object') { if (v7[0]._isAF == true) { for (v6 in v7) { if (v7[v6].targ == v36) { v7 = v7[v6].val; break; } } } else { v28 = v7 instanceof Array ? [] : {}; for (v6 in v7) { v28[v6] = v7[v6] instanceof Function ? (Function(v7[v6])).apply(v23) : v7[v6]; } v7 = v28; } } if (v7 != 'IGNORE') { if (v64 == '_bezier_') { v14 = v9.length; } else { if (v14 == -2 && (v64 == 'controlX' || v64 == 'controlY')) { v14 = -1; } } v9.push(v64); v11.push(v7); } } if (v11.length > 0) { if (v14 > -2) { if (v14 == -1) { v14 = v9.length; } v9[v14] = '_bezier_'; if (typeof v11[v14] != 'object') { v11[v14] = {}; } var v37 = v11[v14]; for (v5 in v9) { if ('|x|y|_x|_y|controlX|controlY|'.indexOf('|' + v9[v5] + '|') > -1) { if (v9[v5].charAt(0) == '_') { v9[v5] = v9[v5].slice(-1); } if (typeof v37[v9[v5]] == 'number') { if (v19 > 0 && (v34 == -1 || v34 == v8)) { com.mosesSupposes.fuse.FuseKitCommon.error('115', this._sID(), v9[v5]); v34 = Number(v8); } } else { v37[v9[v5]] = v11[v5]; } v9.splice(Number(v5), 1); v11.splice(Number(v5), 1); } } } if (isFF == true) { if (v19 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output('\n-' + this._sID() + ' FF\ttargets:[' + v36 + ']\tprops:[' + v9.toString() + ']'); } v35(v36, v9, v11, 0, null, 0, {'skipLevel': 0}); continue; } var v31 = {'caught': false, 'onTweenEnd': function (evto) { this.caught = true; }}; v36.addListener(v31); var v17 = v35(v36, v9, v11, v13, v22, v18, v12); v36.removeListener(v31); if (v17.length == 0) { if (v31.caught == true) { v12 = v32; } } else { if (v17.length > 0) { var v38 = {'targ': v36, 'props': v17, 'bools': v15, 'targZID': v36.__zigoID__}; if (v42 == false) { v12 = v32; v38.event = v25; v15 = undefined; v25 = v15; v38.trigger = v49; } this._aTweens.push(v38); v36.addListener(this); v42 = true; for (v5 in v17) { if (v24.indexOf(v17[v5] + ',') == -1) { v24 += v17[v5] + ','; } } } if (v19 == 3) { var v45 = v9.toString(); if (v17.length > v9.length) { v45 += '\n\t[NO-CHANGE PROPS DISCARDED (disregard this for double props like _scale). KEPT:' + v17.toString() + ']'; } var v30 = ''; for (v5 in v11) { v30 = ((typeof v11[v5] == 'string') ? '"' + v11[v5] + '"' : v11[v5]) + ', ' + v30; } com.mosesSupposes.fuse.FuseKitCommon.output('\n-' + this._sID() + ' TWEEN:\n' + ['\t[getTimer():' + getTimer() + '] ', 'targ: ' + v36, 'props: ' + v45, 'endVals: ' + v30, 'time: ' + ((v13 == undefined) ? com.mosesSupposes.fuse.FuseItem._ZigoEngine.DURATION : v13), 'easing: ' + ((v22 == undefined) ? com.mosesSupposes.fuse.FuseItem._ZigoEngine.EASING : v22), 'delay: ' + ((v18 == undefined) ? 0 : v18), 'callbacks: ' + ((v43 == '') ? '(none)' : v43)].join('\n\t')); } } v31 = undefined; } } if (_global.isNaN(v13) == true || v4.seconds == null) { v13 = 0; } var v39 = v18 + v13; if (v21 != undefined) { if (v21 < 0) { v21 += v39; } if (v21 > 0 && (v39 == 0 || v21 < v39)) { if (v39 == 0) { if (v19 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(this._sID() + ' graft a timed trigger (' + v21 + ' sec). [has callback:' + (v12 != v32) + ', has event:' + (v25 != undefined) + ', has booleans:' + (v15 != undefined) + ']'); } this.doTimerTween(null, v21, 0, true, v15, v12, v25); v42 = true; } else { if (v19 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(this._sID() + ' graft a timed trigger (' + v21 + ' sec).'); } this.doTimerTween(null, v21, 0, true); } } else { if (v19 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(this._sID() + ' timed trigger discarded: out of range. [' + v21 + '/' + v39 + ']'); } } } if (v42 == false && (v12 != v32 || v25 != undefined || v15 != undefined)) { if (v50 == 0 && v39 > 0) { if (v19 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(this._sID() + ' no props tweened - graft a delay (' + v39 + ' sec). [has callback:' + (v12 != v32) + ', has event:' + (v25 != undefined) + ', has booleans:' + (v15 != undefined) + ']'); } this.doTimerTween(v16, v13, v18, v49, v15, v12, v25); } else { if (v19 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(this._sID() + ' no props tweened, executing nontween items. [has callback:' + (v12 != v32) + ', has event:' + (v25 != undefined) + ', has booleans:' + (v15 != undefined) + ']'); } for (v8 in v16) { for (v5 in v15) { v16[v8][v5] = v15[v5]; } } if (v50 < 2) { if (v12 != undefined) { this.fireEvents(v12, v23, v19, v16); } if (v25 != undefined) { this.fireEvents(v25, v23, v19); } } } } } } ++v51; } if (v66 > 0 && v19 > 0) { if (v66 == this._aProfiles.length && v24 == '') { com.mosesSupposes.fuse.FuseKitCommon.error('118', this._sID(), setStart); } else { com.mosesSupposes.fuse.FuseKitCommon.error('119', this._sID(), v66, v75); } } tba = undefined; this._oTwBeingAdded = undefined; return (v24 == '') ? null : v24.slice(0, -1); }; v2.doTimerTween = function (actualTargets, duration, delay, trigger, booleans, callback, event) { var v2 = {'__TweenedDelay': 0}; com.mosesSupposes.fuse.FuseItem._ZigoEngine.initializeTargets(v2); this._aTweens.push({'targ': v2, 'props': ['__TweenedDelay'], 'trigger': trigger, 'bools': booleans, 'event': event, 'actualTargs': actualTargets, 'targZID': v2.__zigoID__}); var v3 = com.mosesSupposes.fuse.FuseItem._ZigoEngine.doTween(v2, '__TweenedDelay', 1, duration, null, delay, callback) == null; if (v3 == true) { this.onTweenEnd({'target': v2, 'props': ['__TweenedDelay']}); } else { v2.addListener(this); } }; v2.onTweenEnd = function (o, doAutoStop) { if (this._nPlaying < 1) { return undefined; } var v12 = _global.com.mosesSupposes.fuse.Fuse; var v8 = (v12 != undefined) ? v12.OUTPUT_LEVEL : com.mosesSupposes.fuse.FuseItem._ZigoEngine.OUTPUT_LEVEL; var v11 = (o.__zigoID__ !== undefined) ? o.__zigoID__ : o.target.__zigoID__; for (var v19 in this._aTweens) { var v3 = this._aTweens[v19]; if (v3.targZID == v11) { for (var v18 in o.props) { var v7 = v3.props; for (var v16 in v7) { var v5 = v7[v16]; if (v5 == o.props[v18]) { v7.splice(Number(v16), 1); if (doAutoStop == true) { var v6 = v12.getInstance(this._nFuseID); var v10 = this._bTrigger == true && o.during == 'add' && v6[v6.currentIndex]._oTwBeingAdded[v11] === true && v6.state == 'playing'; if (v10 == false) { v3.targ.removeListener(this); for (v19 in this._aTweens) { if (this._aTweens[v19].targZID == v11) { for (v18 in o.props) { for (v16 in this._aTweens[v19].props) { if (this._aTweens[v19].props[v16] == o.props[v18]) { this._aTweens[v19].props.splice(Number(v16), 1); } } } if (this._aTweens[v19].props.length == 0) { this._aTweens.splice(Number(v19), 1); } } } if (v8 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(this._sID() + ' triggering auto-stop due to interruption'); } if (v6.autoClear == true || v6.autoClear !== false && v12.AUTOCLEAR == true) { this.dispatchRequest('destroy'); } else { this.dispatchRequest('stop'); } return undefined; } else { if (v8 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output('note -' + this._sID() + ' interrupted one of its own properties "' + v5 + '". (Autostop not triggered.)'); } } } if (this._nPlaying == 2 && v5 != '__TweenedDelay') { if (v8 > 0) { com.mosesSupposes.fuse.FuseKitCommon.error('120', this._sID(), v5); } } if (v7.length == 0) { if (v3.event != undefined) { this.fireEvents(v3.event, null, v8); } if (v5 == '__TweenedDelay') { com.mosesSupposes.fuse.FuseItem._ZigoEngine.deinitializeTargets(v3.targ); delete v3.targ; for (var v14 in v3.bools) { for (var v13 in v3.actualTargs) { v3.actualTargs[v13][v14] = v3.bools[v14]; } } } else { var v9 = false; for (var v14 in v3.bools) { v3.targ[v14] = v3.bools[v14]; } for (var v15 in this._aTweens) { if (v15 != v19 && this._aTweens[v15].targ == v3.targ) { v9 = true; } } if (v9 == false) { v3.targ.removeListener(this); } } if (v3.trigger == true) { if (this._bTrigger == false && o.isResume != true && this._aTweens.length > 1) { this._bTrigger = true; if (v8 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(this._sID() + ' trigger fired!'); } var breakChainInt; breakChainInt = setInterval(function (fi) { clearInterval(breakChainInt); fi.dispatchRequest('advance', [false, false, false]); }, 1, this); } } this._aTweens.splice(Number(v19), 1); } } } } } } if (this._aTweens.length == 0 && this._nPlaying == 1 && o.isResume != true) { this.complete(v8); } }; v2.onTweenInterrupt = function (o) { if (this._nPlaying == -1) { return undefined; } var v4 = _global.com.mosesSupposes.fuse.Fuse; var v6 = v4.getInstance(this._nFuseID); var v8 = v6.autoStop == true || v6.autoStop !== false && v4.AUTOSTOP == true; var v3 = o.__zigoID__; var v9 = (v4 != undefined) ? v4.OUTPUT_LEVEL : com.mosesSupposes.fuse.FuseItem._ZigoEngine.OUTPUT_LEVEL; if (v8 == true || v8 !== false && v4.AUTOSTOP == true) { this.onTweenEnd(o, true); return undefined; } if (typeof o.target != 'string') { this.onTweenEnd(o); return undefined; } for (var v5 in this._aTweens) { if (this._aTweens[v5].targZID == v3) { this._aTweens.splice(Number(v5), 1); } } if (this._aTweens.length == 0 && this._nPlaying == 1) { this.complete(v9); } }; v2.complete = function (outputLevel) { if (outputLevel == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(this._sID() + ' complete.'); } var breakChainInt; breakChainInt = setInterval(function (fi, trigger) { clearInterval(breakChainInt); var v1 = fi._nPlaying; if (trigger != true) { if (v1 < 1) { return undefined; } } fi.stop(); if (v1 > 0) { fi.dispatchRequest('advance', [trigger, false, false]); } }, 1, this, this._bTrigger); }; v2.parseClock = function (str) { if (str.indexOf(':') != 2) { com.mosesSupposes.fuse.FuseKitCommon.error('121'); return com.mosesSupposes.fuse.FuseItem._ZigoEngine.DURATION || 0; } var v4 = 0; var v3 = str.split(':'); v3.reverse(); var v2; if ((String(v3[0])).length == 2 && _global.isNaN(v2) == false) { v4 += v2 / 100; } if ((String(v3[1])).length == 2 && _global.isNaN(v2) == false && v2 < 60) { v4 += v2; } if ((String(v3[2])).length == 2 && _global.isNaN(v2) == false && v2 < 60) { v4 += v2 * 60; } if ((String(v3[3])).length == 2 && _global.isNaN(v2) == false && v2 < 24) { v4 += v2 * 3600; } return v4; }; v2.fireEvents = function (o, scope, outputLevel, targets) { if (o.scope == undefined) { o.scope = scope; } if (o.e == undefined) { var v3 = com.mosesSupposes.fuse.FuseKitCommon.parseCallback(o, targets, outputLevel, false); if (v3.start.f != null) { v3.start.f.apply(v3.start.s, v3.start.a); } if (v3.upd.f != null) { v3.upd.f.apply(v3.upd.s, v3.upd.a); } if (v3.end.f != null) { v3.end.f.apply(v3.end.s, v3.end.a); } } else { var v6 = o.e instanceof Function ? String(o.e.apply(scope)) : String(o.e); if (v6 != 'undefined' && v6.length > 0) { if ((String(com.mosesSupposes.fuse.FuseKitCommon._fuseEvents())).indexOf('|' + v6 + '|') > -1) { if (outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error('122', v6); } } else { var v7 = _global.com.mosesSupposes.fuse.Fuse.getInstance(this._nFuseID); var v5 = o.ep instanceof Function ? o.ep.apply(scope) : o.ep; if (v5 == null || typeof v5 != 'object') { v5 = {}; } v5.target = v7; v5.type = v6; v7.dispatchEvent.call(v7, v5); } } else { if (outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error('123', this._sID()); } } } }; v1.registryKey = 'fuseItem'; v1.ADD_UNDERSCORES = true; v2._nPlaying = -1; v2._bStartSet = false; v2._bTrigger = false; v2.addProperty('label', v2.__get__label, function () {}); ASSetPropFlags(com.mosesSupposes.fuse.FuseItem.prototype, null, 1); } #endinitclip } movieClip 684 __Packages.mx.utils.Delegate { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.utils) { _global.mx.utils = new Object(); } if (!_global.mx.utils.Delegate) { var v1 = function (f) { super(); this.func = f; }; mx.utils.Delegate = v1; mx.utils.Delegate extends Object; var v2 = v1.prototype; v1.create = function (obj, func) { var v2 = function () { var v2 = arguments.callee.target; var v3 = arguments.callee.func; return v3.apply(v2, arguments); }; v2.target = obj; v2.func = func; return v2; }; v2.createDelegate = function (obj) { return mx.utils.Delegate.create(obj, this.func); }; ASSetPropFlags(mx.utils.Delegate.prototype, null, 1); } #endinitclip } movieClip 685 __Packages.com.mosesSupposes.fuse.ZigoEngine { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.mosesSupposes) { _global.com.mosesSupposes = new Object(); } if (!_global.com.mosesSupposes.fuse) { _global.com.mosesSupposes.fuse = new Object(); } if (!_global.com.mosesSupposes.fuse.ZigoEngine) { var v1 = function () {}; com.mosesSupposes.fuse.ZigoEngine = v1; var v2 = v1.prototype; v1.addListener = function (handler) { AsBroadcaster.initialize(com.mosesSupposes.fuse.ZigoEngine); com.mosesSupposes.fuse.ZigoEngine.addListener(handler); }; v1.removeListener = function (handler) {}; v1.isPlaying = function () { return com.mosesSupposes.fuse.ZigoEngine._playing; }; v1.simpleSetup = function (shortcutsClass) { if (arguments.length > 0) { com.mosesSupposes.fuse.ZigoEngine.register.apply(com.mosesSupposes.fuse.ZigoEngine, arguments); } _global.ZigoEngine = com.mosesSupposes.fuse.ZigoEngine; if (com.mosesSupposes.fuse.ZigoEngine.extensions.fuse != undefined) { _global.Fuse = com.mosesSupposes.fuse.ZigoEngine.extensions.fuse; } if (com.mosesSupposes.fuse.ZigoEngine.extensions.fuseFMP != undefined) { com.mosesSupposes.fuse.ZigoEngine.extensions.fuseFMP.simpleSetup(); } com.mosesSupposes.fuse.ZigoEngine.initialize(MovieClip.prototype, Button.prototype, TextField.prototype); if (com.mosesSupposes.fuse.ZigoEngine.extensions.shortcuts == undefined) { com.mosesSupposes.fuse.FuseKitCommon.error('001'); } }; v1.register = function (classReference) { if (com.mosesSupposes.fuse.ZigoEngine.extensions == undefined) { com.mosesSupposes.fuse.ZigoEngine.extensions = {}; } var v3 = '|fuse|fuseItem|fuseFMP|shortcuts|pennerEasing|customEasing|'; for (var v4 in arguments) { var v2 = arguments[v4].registryKey; if (com.mosesSupposes.fuse.ZigoEngine.extensions[v2] == undefined && v3.indexOf('|' + v2 + '|') > -1) { com.mosesSupposes.fuse.ZigoEngine.extensions[v2] = arguments[v4]; if (v2 == 'fuseFMP' || v2 == 'shortcuts') { (Object(com.mosesSupposes.fuse.ZigoEngine.extensions[v2])).initialize(); } } } }; v1.initialize = function (target) { if (arguments.length > 0) { com.mosesSupposes.fuse.ZigoEngine.initializeTargets.apply(com.mosesSupposes.fuse.ZigoEngine, arguments); if (com.mosesSupposes.fuse.ZigoEngine.extensions.shortcuts != undefined) { com.mosesSupposes.fuse.ZigoEngine.extensions.shortcuts.addShortcutsTo.apply(com.mosesSupposes.fuse.ZigoEngine.extensions.shortcuts, arguments); } } }; v1.deinitialize = function (target) { if (arguments.length == 0 || target == null) { arguments.push(MovieClip.prototype, Button.prototype, TextField.prototype); } com.mosesSupposes.fuse.ZigoEngine.deinitializeTargets.apply(com.mosesSupposes.fuse.ZigoEngine, arguments); if (com.mosesSupposes.fuse.ZigoEngine.extensions.shortcuts != undefined) { com.mosesSupposes.fuse.ZigoEngine.extensions.shortcuts.removeShortcutsFrom.apply(com.mosesSupposes.fuse.ZigoEngine.extensions.shortcuts, arguments); } }; v1.getUpdateInterval = function () { return com.mosesSupposes.fuse.ZigoEngine.updateTime; }; v1.setUpdateInterval = function (time) { if (com.mosesSupposes.fuse.ZigoEngine._playing) { com.mosesSupposes.fuse.ZigoEngine.setup(true); com.mosesSupposes.fuse.ZigoEngine.updateTime = time; com.mosesSupposes.fuse.ZigoEngine.setup(); } else { com.mosesSupposes.fuse.ZigoEngine.updateTime = time; } }; v1.getControllerDepth = function () { return com.mosesSupposes.fuse.ZigoEngine.tweenHolder.getDepth(); }; v1.setControllerDepth = function (depth) { if (depth == null || _global.isNaN(depth) == true) { depth = 6789; } if ((Object(com.mosesSupposes.fuse.ZigoEngine.tweenHolder)).proof != null) { com.mosesSupposes.fuse.ZigoEngine.tweenHolder.swapDepths(depth); } else { com.mosesSupposes.fuse.ZigoEngine.tweenHolder = _root.createEmptyMovieClip('ZigoEnginePulse', depth); } }; v1.doShortcut = function (targets, methodName) { if (com.mosesSupposes.fuse.ZigoEngine.extensions.shortcuts == undefined) { if (com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error('002'); } return null; } return com.mosesSupposes.fuse.ZigoEngine.extensions.shortcuts.doShortcut.apply(com.mosesSupposes.fuse.ZigoEngine.extensions.shortcuts, arguments); }; v1.doTween = function (targets, props, endvals, seconds, ease, delay, callback) { if (com.mosesSupposes.fuse.ZigoEngine.extensions.fuse.addBuildItem(arguments) == true) { return null; } if (com.mosesSupposes.fuse.ZigoEngine.TIME_MULTIPLIER != com.mosesSupposes.fuse.ZigoEngine.prevTimeMult) { com.mosesSupposes.fuse.ZigoEngine.TIME_MULTIPLIER = Math.abs(com.mosesSupposes.fuse.ZigoEngine.TIME_MULTIPLIER); if (_global.isNaN(com.mosesSupposes.fuse.ZigoEngine.TIME_MULTIPLIER) == true) { com.mosesSupposes.fuse.ZigoEngine.TIME_MULTIPLIER = 1; } if (com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error('016', com.mosesSupposes.fuse.ZigoEngine.TIME_MULTIPLIER); } com.mosesSupposes.fuse.ZigoEngine.prevTimeMult = com.mosesSupposes.fuse.ZigoEngine.TIME_MULTIPLIER; } if (com.mosesSupposes.fuse.ZigoEngine.instance == undefined || (Object(com.mosesSupposes.fuse.ZigoEngine.tweenHolder)).proof == undefined && com.mosesSupposes.fuse.ZigoEngine.updateTime == undefined) { if (MovieClip.prototype.tween != null && typeof _global.$tweenManager == 'object') { com.mosesSupposes.fuse.FuseKitCommon.error('003'); } com.mosesSupposes.fuse.ZigoEngine.instance = new com.mosesSupposes.fuse.ZManager(); com.mosesSupposes.fuse.ZigoEngine._playing = false; } var v4 = com.mosesSupposes.fuse.ZigoEngine.instance.paramsObj(targets, props, endvals, true); var v7 = (v4.tg[0] == null || v4.tg.length == 0) ? undefined : v4.tg; if (v4.pa == undefined || v7 == undefined || arguments.length < 3) { if (com.mosesSupposes.fuse.ZigoEngine.extensions.fuseItem != null && arguments.length == 1 && typeof arguments[0] == 'object') { return com.mosesSupposes.fuse.ZigoEngine.extensions.fuseItem.doTween(arguments[0]); } if (com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL > 0) { if (arguments.length < 3) { com.mosesSupposes.fuse.FuseKitCommon.error('004', (arguments.length == 1 && arguments[0] == null) ? '1 (null)' : String(arguments.length), Boolean(com.mosesSupposes.fuse.ZigoEngine.extensions.fuseItem == null)); } else { com.mosesSupposes.fuse.FuseKitCommon.error('005', v7.toString(), v4.pa.toString()); } } return null; } if (com.mosesSupposes.fuse.ZigoEngine._playing != true) { com.mosesSupposes.fuse.ZigoEngine.setup(); } if (seconds == null || _global.isNaN(seconds) == true) { seconds = com.mosesSupposes.fuse.ZigoEngine.DURATION || 1; } else { if (seconds < 0.01) { seconds = 0; } } seconds *= com.mosesSupposes.fuse.ZigoEngine.TIME_MULTIPLIER; if (delay < 0.01 || delay == null || _global.isNaN(delay) == true) { delay = 0; } delay *= com.mosesSupposes.fuse.ZigoEngine.TIME_MULTIPLIER; var v12 = com.mosesSupposes.fuse.FuseKitCommon.parseCallback(callback, v7, com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL, true); var v9; if (typeof ease == 'function') { if (typeof (Function(ease)).call(null, 1, 1, 1, 1) == 'number') { v9 = Function(ease); } else { if (com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error('014', ease); } } } else { if (ease == null || ease == '') { if (com.mosesSupposes.fuse.ZigoEngine.EASING instanceof Function) { v9 = Function(com.mosesSupposes.fuse.ZigoEngine.EASING); } else { if (com.mosesSupposes.fuse.ZigoEngine.extensions.pennerEasing != undefined) { ease = com.mosesSupposes.fuse.ZigoEngine.EASING; } } } } if (typeof ease == 'string' && ease != '') { if (com.mosesSupposes.fuse.ZigoEngine.extensions.pennerEasing[ease] != undefined) { v9 = com.mosesSupposes.fuse.ZigoEngine.extensions.pennerEasing[ease]; } else { if (com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error('006', ease); } } } else { if (ease instanceof Array) { if (com.mosesSupposes.fuse.ZigoEngine.extensions.customEasing != undefined) { v12.extra1 = ease; if (typeof ease[0] == 'number') { v9 = com.mosesSupposes.fuse.ZigoEngine.extensions.customEasing.precalced; } else { v9 = com.mosesSupposes.fuse.ZigoEngine.extensions.customEasing.fromCurve; } } else { if (com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error('015', ease); } } } } if (typeof v9 != 'function') { v9 = function (t, b, c, d) { t = t / d - 1; return c * (t * t * t * t * t + 1) + b; }; } if (com.mosesSupposes.fuse.ZigoEngine._listeners.length > 0) { com.mosesSupposes.fuse.ZigoEngine.broadcastMessage.call(com.mosesSupposes.fuse.ZigoEngine, 'onTweenAdd', v7, v4.pa, v4.va, seconds, v9, delay, v12); } var v6 = ''; for (var v13 in v7) { var v3 = v7[v13]; if (v3.__zigoID__ == null) { com.mosesSupposes.fuse.ZigoEngine.initializeTargets(v3); } else { if (com.mosesSupposes.fuse.ZigoEngine.instance.getStatus('locked', v3) == true) { if (com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error('007', (v3._name != undefined) ? v3._name : v3.toString(), v4.pa.toString()); } continue; } } var v5 = com.mosesSupposes.fuse.ZigoEngine.instance.addTween(v3, v4.pa, v4.va, seconds, v9, delay, v12); v6 = ((v5 == null) ? '|' : v5 + '|') + v6; } v6 = v6.slice(0, -1); return (v6 == '' || v6 == '|') ? null : v6; }; v1.removeTween = function (targs, props) { com.mosesSupposes.fuse.ZigoEngine.instance.removeTween(targs, props); }; v1.isTweening = function (targ, prop) { return Boolean(com.mosesSupposes.fuse.ZigoEngine.instance.getStatus('active', targ, prop)); }; v1.getTweens = function (targ) { if (com.mosesSupposes.fuse.ZigoEngine.instance == undefined) { return 0; } return Number(com.mosesSupposes.fuse.ZigoEngine.instance.getStatus('count', targ)); }; v1.lockTween = function (targ, setLocked) { com.mosesSupposes.fuse.ZigoEngine.instance.alterTweens('lock', targ, setLocked == true); }; v1.isTweenLocked = function (targ) { return Boolean(com.mosesSupposes.fuse.ZigoEngine.instance.getStatus('locked', targ)); }; v1.ffTween = function (targs, props, suppressEndEvents) { com.mosesSupposes.fuse.ZigoEngine.instance.alterTweens('ff', targs, props, null, suppressEndEvents); }; v1.skipTweenTo = function (seconds, targs, props) { com.mosesSupposes.fuse.ZigoEngine.instance.alterTweens('skipTo', targs, props, false, false, seconds); }; v1.rewTween = function (targs, props, pauseFlag, suppressStartEvents) { com.mosesSupposes.fuse.ZigoEngine.instance.alterTweens('rewind', targs, props, pauseFlag, suppressStartEvents); }; v1.isTweenPaused = function (targ, prop) { return Boolean(com.mosesSupposes.fuse.ZigoEngine.instance.getStatus('paused', targ, prop)); }; v1.pauseTween = function (targs, props) { com.mosesSupposes.fuse.ZigoEngine.instance.alterTweens('pause', targs, props); }; v1.unpauseTween = function (targs, props) { com.mosesSupposes.fuse.ZigoEngine.instance.alterTweens('unpause', targs, props); }; v1.resumeTween = function (targs, props) { com.mosesSupposes.fuse.ZigoEngine.instance.alterTweens('unpause', targs, props); }; v1.setColorByKey = function (targetObj, type, amt, rgb) { (new Color(targetObj)).setTransform(com.mosesSupposes.fuse.ZigoEngine.getColorTransObj(type, amt, rgb)); }; v1.getColorTransObj = function (type, amt, rgb) { switch (type) { return {'rb': 0, 'ra': 100, 'gb': 0, 'ga': 100, 'bb': 0, 'ba': 100}; case 'brightness': var v3 = 100 - Math.abs(amt); var v4 = amt > 0 ? 255 * (amt / 100) : 0; return {'ra': v3, 'rb': v4, 'ga': v3, 'gb': v4, 'ba': v3, 'bb': v4}; case 'brightOffset': return {'ra': 100, 'rb': 255 * (amt / 100), 'ga': 100, 'gb': 255 * (amt / 100), 'ba': 100, 'bb': 255 * (amt / 100)}; case 'contrast': return {'ra': amt, 'rb': 128 - 1.28 * amt, 'ga': amt, 'gb': 128 - 1.28 * amt, 'ba': amt, 'bb': 128 - 1.28 * amt}; case 'invertColor': return {'ra': 100 - 2 * amt, 'rb': amt * 2.55, 'ga': 100 - 2 * amt, 'gb': amt * 2.55, 'ba': 100 - 2 * amt, 'bb': amt * 2.55}; case 'tint': if (rgb == null) break; var v5; if (typeof rgb == 'string') { if (rgb.charAt(0) == '#') { rgb = rgb.slice(1); } rgb = ((rgb.charAt(1)).toLowerCase() != 'x') ? '0x' + rgb : rgb; } v5 = Number(rgb); return {'ra': 100 - amt, 'rb': (v5 >> 16) * (amt / 100), 'ga': 100 - amt, 'gb': (v5 >> 8 & 255) * (amt / 100), 'ba': 100 - amt, 'bb': (v5 & 255) * (amt / 100)}; } return {'rb': 0, 'ra': 100, 'gb': 0, 'ga': 100, 'bb': 0, 'ba': 100}; }; v1.getColorKeysObj = function (targOrTransObj) { var v1 = (targOrTransObj.ra != undefined) ? targOrTransObj : (new Color(targOrTransObj)).getTransform(); var v6 = v1.ra == v1.ga && v1.ga == v1.ba; var v8 = v1.rb == v1.gb && v1.gb == v1.bb; var v3 = {'tintPercent': Number((v6 == true) ? 100 - v1.ra : 0)}; if (v3.tintPercent != 0) { var v5 = 100 / v3.tintPercent; v3.tint = v1.rb * v5 << 16 | v1.gb * v5 << 8 | v1.bb * v5; var v2 = v3.tint.toString(16); var v4 = 6 - v2.length; while (v4-- > 0) { v2 = '0' + v2; } v3.tintString = '0x' + v2.toUpperCase(); } if (v6 == true && v8 == true) { if (v1.ra < 0) { v3.invertColor = v1.rb * 0.392156862745098; } else { if (v1.ra == 100 && v1.rb != 0) { v3.brightOffset = v1.rb * 0.392156862745098; } } if (v1.ra != 100) { if (v1.rb == 0 || v1.rb != 0 && 255 * ((100 - v1.ra) / 100) - v1.rb <= 1) { v3.brightness = (v1.rb != 0) ? 100 - v1.ra : v1.ra - 100; } if (128 - 1.28 * v1.ra - v1.rb <= 1) { v3.contrast = v1.ra; } } } return v3; }; v1.initializeTargets = function () { for (var v5 in arguments) { var v4 = arguments[v5]; if (v4 == MovieClip.prototype || v4 == Button.prototype || v4 == TextField.prototype || v4 == Object.prototype) { if (v4.oldAddListener == undefined) { if (v4 == TextField.prototype) { v4.oldAddListener = v4.addListener; _global.ASSetPropFlags(v4, 'oldAddListener', 7, 1); } v4.addListener = function (o) { if (this.__zigoID__ == undefined) { com.mosesSupposes.fuse.ZigoEngine.initializeTargets(this); } if (this instanceof TextField) { (Function(this.oldAddListener)).call(this, o); } else { this.addListener(o); } }; if (v4 == MovieClip.prototype) { _global.ASSetPropFlags(v4, 'addListener', 7, 1); } } } else { if (v4.__zigoID__ == undefined) { v4.__zigoID__ = com.mosesSupposes.fuse.ZigoEngine.zigoIDs; _global.ASSetPropFlags(v4, '__zigoID__', 7, 1); ++com.mosesSupposes.fuse.ZigoEngine.zigoIDs; if (v4._listeners == null || v4.addListener == null) { AsBroadcaster.initialize(v4); } } } } }; v1.deinitializeTargets = function () { for (var v4 in arguments) { var v3 = arguments[v4]; if (v3.__zigoID__ != undefined) { _global.ASSetPropFlags(v3, '__zigoID__,_listeners,broadcastMessage,addListener,removeListener', 0, 2); delete v3.__zigoID__; delete v3._listeners; delete v3.broadcastMessage; delete v3.addListener; delete v3.removeListener; } if (v3.oldAddListener != undefined) { _global.ASSetPropFlags(v3, 'oldAddListener', 0, 2); v3.addListener = v3.oldAddListener; delete v3.oldAddListener; } } }; v1.__mgrRelay = function (inst, method, args) { if (inst == com.mosesSupposes.fuse.ZigoEngine.instance) { (Function(com.mosesSupposes.fuse.ZigoEngine[method])).apply(com.mosesSupposes.fuse.ZigoEngine, args); } }; v1.setup = function (deinitFlag) { if (deinitFlag == true) { com.mosesSupposes.fuse.ZigoEngine._playing = false; clearInterval(com.mosesSupposes.fuse.ZigoEngine.updateIntId); delete com.mosesSupposes.fuse.ZigoEngine.tweenHolder.onEnterFrame; return undefined; } com.mosesSupposes.fuse.ZigoEngine.instance.cleanUp(); clearInterval(com.mosesSupposes.fuse.ZigoEngine.updateIntId); delete com.mosesSupposes.fuse.ZigoEngine.updateIntId; if (com.mosesSupposes.fuse.ZigoEngine.updateTime != null && com.mosesSupposes.fuse.ZigoEngine.updateTime > 0) { com.mosesSupposes.fuse.ZigoEngine.updateIntId = setInterval(com.mosesSupposes.fuse.ZigoEngine.instance, 'update', com.mosesSupposes.fuse.ZigoEngine.updateTime); } else { if ((Object(com.mosesSupposes.fuse.ZigoEngine.tweenHolder)).proof == null) { com.mosesSupposes.fuse.ZigoEngine.setControllerDepth(6789); (Object(com.mosesSupposes.fuse.ZigoEngine.tweenHolder)).proof = 1; } var _inst = com.mosesSupposes.fuse.ZigoEngine.instance; com.mosesSupposes.fuse.ZigoEngine.tweenHolder.onEnterFrame = function () { _inst.update.call(_inst); }; } com.mosesSupposes.fuse.ZigoEngine._playing = true; com.mosesSupposes.fuse.ZigoEngine.instance.now = getTimer(); }; v1.VERSION = com.mosesSupposes.fuse.FuseKitCommon.VERSION + ', ZigoEngine based on concepts by L.Zigo'; v1.EASING = 'easeOutQuint'; v1.DURATION = 1; v1.TIME_MULTIPLIER = 1; v1.ROUND_RESULTS = false; v1.OUTPUT_LEVEL = 1; v1.AUTOSTOP = false; v1.SKIP_LEVEL = 0; v1._playing = false; v1.zigoIDs = 0; v1.prevTimeMult = 1; ASSetPropFlags(com.mosesSupposes.fuse.ZigoEngine.prototype, null, 1); } #endinitclip } movieClip 686 __Packages.com.mosesSupposes.fuse.ZManager { #initclip if (!_global.com) { _global.com = new Object(); } if (!_global.com.mosesSupposes) { _global.com.mosesSupposes = new Object(); } if (!_global.com.mosesSupposes.fuse) { _global.com.mosesSupposes.fuse = new Object(); } if (!_global.com.mosesSupposes.fuse.ZManager) { var v1 = function () { this.tweens = {}; this.numTweens = 0; }; com.mosesSupposes.fuse.ZManager = v1; var v2 = v1.prototype; v2.addTween = function (obj, props, endvals, seconds, ease, delay, callback) { var v24 = (callback.skipLevel == undefined) ? 0 : callback.skipLevel; var v44 = (callback.cycles == undefined) ? 1 : callback.cycles; var v30 = callback.extra1; var v29 = callback.extra2; var v23 = []; var v14 = _global.com.mosesSupposes.fuse.FuseFMP; var v43 = String('|' + (v14.getAllShortcuts()).join('|') + '|'); var v42 = com.mosesSupposes.fuse.FuseKitCommon._cts(); var v25 = ''; var v28 = ''; var v22 = obj.__zigoID__; var v7 = this.tweens[String(v22)]; if (v7 != undefined && com.mosesSupposes.fuse.ZigoEngine.AUTOSTOP == true) { if (obj._listeners.length > 0) { for (var v40 in v7.props) { v23.unshift(v40); } } v7.numProps = 0; this.cleanUp(true); } for (var v47 in props) { var v5 = props[v47]; var v4 = endvals[v47]; var v15 = 0; if (v5 == '_fade') { v5 = '_alpha'; v15 = v4 < 50 ? -1 : 1; } var v16 = v42.indexOf('|' + v5 + '|') > -1; var v18 = v7.colorProp; if (v7 != undefined) { if (v16 == true && v18 != undefined) { v23.unshift(v18); delete v7.props[v18]; delete v7.colorProp; --v7.numProps; } else { if (v7.props[v5] != undefined) { v23.unshift(v5); delete v7[v5]; --v7.numProps; } } } var v3 = {'c': -1, 'fmp': -1, 'complex': -1}; var v11 = v24 == 0 && seconds + delay == 0 || v24 > 0 && seconds == 0; var v10 = false; var v13 = v14 != undefined && v43.indexOf('|' + v5 + '|') > -1; var v19 = (v5.toLowerCase()).indexOf('colors') > -1 && v4 instanceof Array; var v27 = v13 == true && v5.indexOf('lor') > -1 && v5.charAt(2) != 'l'; if (v13 == true) { v3.fmp = v14; v3.ps = v14.getFilterProp(obj, v5, true); v3.special = true; } if (v16 == true || v19 == true || v27 && v11 == false) { v3.complex = 1; if (v16 == true) { v3.c = new Color(obj); v3.ps = (Color(v3.c)).getTransform(); var v17 = (v5 == '_tint' || v5 == '_tintPercent' || v5 == '_colorReset') ? 'tint' : v5.slice(1); var v9 = null; var v12 = null; if (v5 != '_colorTransform') { if (v17 == 'tint') { if (typeof v4 == 'object') { v12 = v4.tint; v9 = (_global.isNaN(v4.percent) == true) ? 100 : v4.percent; } else { if (v5 == '_tintPercent' || v5 == '_colorReset') { var v20 = (com.mosesSupposes.fuse.ZigoEngine.getColorKeysObj(obj)).tintPercent; if (v5 == '_colorReset') { v9 = Math.min(v20, 100 - Math.abs(Number(v4))); } else { v9 = (typeof v4 == 'string') ? (v20 || 0) + Number(v4) : Number(v4); } v9 = Math.max(0, Math.min(v9, 100)); v12 = (com.mosesSupposes.fuse.ZigoEngine.getColorKeysObj(obj)).tint || 0; } else { v12 = v4; v9 = 100; } } } else { v9 = (typeof v4 == 'string') ? ((com.mosesSupposes.fuse.ZigoEngine.getColorKeysObj(obj))[v17] || 0) + Number(v4) : v4; } v4 = com.mosesSupposes.fuse.ZigoEngine.getColorTransObj(v17, v9, v12); } if (v11 == true) { if (v5 == '_colorTransform') { (Color(v3.c)).setTransform(v4); } else { com.mosesSupposes.fuse.ZigoEngine.setColorByKey(obj, v17, v9, v12); } } else { var v21 = this.getChangeObj(v3.ps, v4, false, false); v3.ch = v21.map; if (v21.changed == true) { v10 = true; } } } else { if (v11 == true) { v14.setFilterProp(obj, v5, v4); } else { if (v19 == true) { v3.c = 2; v3.ch = []; for (v40 in v4) { if (v4[v40] != null) { if (v3.ps == null) { v3.ps = []; } v3.ps[v40] = com.mosesSupposes.fuse.ZigoEngine.getColorTransObj('tint', 100, (v3.ps[v40] == null) ? obj[v5][v40] : v3.ps[v40]); var v21 = this.getChangeObj(v3.ps[v40], com.mosesSupposes.fuse.ZigoEngine.getColorTransObj('tint', 100, v4[v40]), true, false); v3.ch[v40] = v21.map; if (v21.changed == true) { v10 = true; } } } } else { v3.c = 1; v3.ps = com.mosesSupposes.fuse.ZigoEngine.getColorTransObj('tint', 100, v3.ps); var v21 = this.getChangeObj(v3.ps, com.mosesSupposes.fuse.ZigoEngine.getColorTransObj('tint', 100, v4), true, false); v3.ch = v21.map; if (v21.changed == true) { v10 = true; } } } } } else { if (v5 == '_bezier_') { this.removeTween(obj, '_x,_y', true); if (v11 == true) { if (v4.x != null && _global.isNaN(Number(v4.x)) == false) { obj._x = (typeof v4.x == 'string') ? obj._x + Number(v4.x) : v4.x; } if (v4.y != null && _global.isNaN(Number(v4.y)) == false) { obj._y = (typeof v4.y == 'string') ? obj._y + Number(v4.y) : v4.y; } } else { v3.special = true; v3.ps = 0; v3.ch = 1; v3.bz = {'sx': obj._x, 'sy': obj._y}; if (v4.x == null || _global.isNaN(Number(v4.x))) { v4.x = v3.bz.sx; } if (v4.y == null || _global.isNaN(Number(v4.y))) { v4.y = v3.bz.sy; } v3.bz.chx = (typeof v4.x == 'string') ? Number(v4.x) : v4.x - v3.bz.sx; if (_global.isNaN(v3.bz.chx) == true) { v3.bx.chx = 0; } v3.bz.chy = (typeof v4.y == 'string') ? Number(v4.y) : v4.y - v3.bz.sy; if (_global.isNaN(v3.bz.chy) == true) { v3.bx.chy = 0; } if (v4.controlX == null || _global.isNaN(Number(v4.controlX))) { v3.bz.ctrlx = v3.bz.sx + v3.bz.chx / 2; } else { v3.bz.ctrlx = (typeof v4.controlX == 'string') ? v3.bz.sx + Number(v4.controlX) : v4.controlX; } if (v4.controlY == null || _global.isNaN(Number(v4.controlY))) { v3.bz.ctrly = v3.bz.sy + v3.bz.chy / 2; } else { v3.bz.ctrly = (typeof v4.controlY == 'string') ? v3.bz.sy + Number(v4.controlY) : v4.controlY; } v3.bz.ctrlx -= v3.bz.sx; v3.bz.ctrly -= v3.bz.sy; v10 = v3.bz.chx + v3.bz.chy != 0; } } else { if (typeof v4 == 'object') { v3.complex = v4 instanceof Array ? 0 : 1; } if (v5 == '_x' || v5 == '_y') { this.removeTween(obj, '_bezier_', true); } if (v5 == '_frame' && typeof obj == 'movieclip') { v3.ps = obj._currentframe; v3.special = true; } else { if (v13 == false) { if (v3.complex > -1) { v3.ps = (v3.complex == 0) ? [] : {}; for (v40 in v4) { v3.ps[v40] = obj[v5][v40]; } } else { v3.ps = obj[v5]; } } } if (v11 == true) { if (v13 == true) { v14.setFilterProp(obj, v5, (typeof v4 == 'string') ? v3.ps + Number(v4) : v4); } else { if (v3.complex > -1) { for (v40 in v4) { if (v4[v40] != null && _global.isNaN(Number(v4[v40])) == false) { obj[v5][v40] = (typeof v4[v40] == 'string') ? v3.ps[v40] + Number(v4[v40]) : v4[v40]; if (_global.isNaN(obj[v5][v40]) == true) { obj[v5][v40] = 0; } } } } else { obj[v5] = (typeof v4 == 'string') ? v3.ps + Number(v4) : v4; if (v15 == 1) { obj._visible = true; } else { if (v15 == -1) { obj._visible = false; } } } } } else { if (v3.complex > -1) { var v21 = this.getChangeObj(v3.ps, v4, v13, v3.complex == 0); v3.ch = v21.map; if (v21.changed == true) { v10 = true; } } else { if (v4 == null || _global.isNaN(Number(v4))) { v4 = v3.ps; } v3.ch = (typeof v4 == 'string') ? Number(v4) : Number(v4) - v3.ps; if (_global.isNaN(v3.ch) == true) { v3.ch = 0; } v10 = v3.ch != 0; } } } } if (v24 == 0 && (v10 == true || v11 == false) || v10 == true && v11 == false) { if (v3.complex > -1 && v3.c !== 2) { v3.ps = [v3.ps]; v3.ch = [v3.ch]; } v3.ts = this.now + delay * 1000; v3.pt = -1; v3.d = seconds * 1000; v3.ef = ease; v3.sf = false; v3.cycles = v44; if (v30 != undefined) { v3.e1 = v30; } if (v29 != undefined) { v3.e2 = v29; } v3.v = v15; if (callback.start != undefined) { v3.scb = callback.start; } if (callback.upd != undefined) { v3.ucb = callback.upd; } if (callback.end != undefined) { v3.ecb = callback.end; } if (callback.roundResults != undefined) { v3.rr = callback.roundResults; } if (this.tweens[String(v22)] == undefined) { this.tweens[String(v22)] = {'numProps': 0, 'locked': false, 'targ': obj, 'targID': String('"' + ((obj._name != undefined) ? obj._name : obj.toString()) + '"'), 'targZID': v22, 'props': {}}; v7 = this.tweens[String(v22)]; ++this.numTweens; } if (v16 == true) { v7.colorProp = v5; } v7.props[v5] = v3; ++v7.numProps; v25 = v5 + ',' + v25; v28 = ((typeof v4 == 'string') ? '"' + v4 + '"' : v4) + ',' + v28; } v3 = undefined; } if (v7 == undefined || v7.numProps <= 0) { this.cleanUp(); } if (v23.length > 0 && com.mosesSupposes.fuse.ZigoEngine._listeners.length > 0) { com.mosesSupposes.fuse.ZigoEngine.broadcastMessage('onTweenInterrupt', {'target': obj, 'props': v23, '__zigoID__': v22, 'during': 'add'}); } if (v25 == '') { if (v24 == 2) { if (com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL == 2) { com.mosesSupposes.fuse.FuseKitCommon.error('011', (obj._name != undefined) ? obj._name : obj.toString(), props.toString()); } } else { var v48 = obj._listeners.length > 0; if (v48 == true) { obj.broadcastMessage('onTweenStart', {'target': obj, 'props': props}); } if (callback.start != undefined) { callback.start.f.apply(callback.start.s, callback.start.a); } if (v48 == true) { obj.broadcastMessage('onTweenUpdate', {'target': obj, 'props': props}); } if (callback.upd != undefined) { callback.upd.f.apply(callback.upd.s, callback.upd.a); } if (v48 == true) { obj.broadcastMessage('onTweenEnd', {'target': obj, 'props': props}); } if (callback.end != undefined) { callback.end.f.apply(callback.end.s, callback.end.a); } } this.cleanUp(); } if (com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL == 2) { if (v25 == '') { com.mosesSupposes.fuse.FuseKitCommon.error('012', (obj._name != undefined) ? obj._name : obj.toString(), props.toString(), endvals.toString()); } else { com.mosesSupposes.fuse.FuseKitCommon.error('013', (obj._name != undefined) ? obj._name : obj.toString(), v25.slice(0, -1), v28.slice(0, -1)); } } return (v25 == '') ? null : v25.slice(0, -1); }; v2.removeTween = function (targs, props, noInit) { var v4 = {}; var v12 = this.paramsObj(targs, props); if (v12.none == true) { return undefined; } var v16 = v12.all; var v17 = v12.allprops; var v9 = (v16 == true) ? this.tweens : Object(v12.tg); var v8 = false; for (var v20 in v9) { var v3 = (v16 == true) ? v20 : String(v9[v20].__zigoID__); var v2 = this.tweens[v3]; var v6 = (v17 == true) ? v2.props : v12.props; for (var v14 in v6) { var v5 = v14 == com.mosesSupposes.fuse.FuseKitCommon.ALLCOLOR && v2.colorProp != undefined; if (v2.props[v14] != undefined || v5 == true) { if (v4[v3] == null) { v4[v3] = []; } v4[v3].unshift(v14); if (v14 == v2.colorProp || v5 == true) { delete v2.props[v2.colorProp]; delete v2.colorProp; } else { delete v2.props[v14]; } --v2.numProps; if (v2.numProps <= 0) { v8 = true; break; } } } } if (com.mosesSupposes.fuse.ZigoEngine._listeners.length > 0) { for (var v19 in v4) { var v7 = this.tweens[v19].targ; com.mosesSupposes.fuse.ZigoEngine.broadcastMessage('onTweenInterrupt', {'target': (typeof v7.addProperty == 'function') ? v7 : '[MISSING("' + this.tweens[v19].targID + '")]', 'props': v4[v19], '__zigoID__': this.tweens[v19].targZID, 'during': (noInit == true) ? 'add' : 'remove'}); } } if (v8 == true) { this.cleanUp(noInit); } }; v2.alterTweens = function (type, targs, props, pauseFlag, noEvents, skipTo) { if (type == 'lock') { this.tweens[String(targs.__zigoID__)].locked = props; return undefined; } var v11 = this.paramsObj(targs, props); if (v11.none == true) { return undefined; } var v14 = v11.all; var v15 = v11.allprops; var v9 = (v14 == true) ? this.tweens : Object(v11.tg); var v8 = 0; for (var v16 in v9) { var v7 = (v14 == true) ? v16 : String(v9[v16].__zigoID__); var v5 = this.tweens[v7]; var v4 = (v15 == true) ? v5.props : v11.props; if (v4.ALLCOLOR == true) { v4[v5.colorProp] = true; delete v4.ALLCOLOR; } for (var v10 in v4) { ++v8; var v2 = v5.props[v10]; if (type == 'rewind') { if (pauseFlag == true) { v2.pt = this.now; } v2.ts = this.now; if (noEvents != true) { v2.sf = false; if (v2.scb != undefined) { v2.scb.fired = false; } } } else { if (type == 'ff') { if (noEvents == true) { v2.suppressEnd = true; } v2.o = true; v2.pt = -1; v2.ts = this.now - v2.d; } else { if (type == 'skipTo') { v2.ts = Math.min(this.now, v2.ts + (this.now - v2.ts) - skipTo * 1000); } else { if (type == 'pause') { if (v2.pt == -1) { v2.pt = this.now; } } else { if (type == 'unpause') { if (v2.pt != -1) { v2.ts = this.now - (v2.pt - v2.ts); v2.pt = -1; } } } } } } } } if (type == 'ff' && v8 > 0) { this.update(); } else { if (type == 'rewind' && v8 > 0) { this.update(true); } } }; v2.getStatus = function (type, targ, param) { if (targ == null) { return null; } var v8 = (String(targ)).toUpperCase() == com.mosesSupposes.fuse.FuseKitCommon.ALL; var v4 = this.tweens[String(targ.__zigoID__)]; switch (type) { case 'paused': var v2 = v4.props; if (param != null) { if (v2[String(param)] == undefined) { return false; } return Boolean(v2[String(param)].pt != -1); } for (var v6 in v2) { if (v2[v6].pt != -1) { return true; } } return false; case 'active': if (param == null) { return Boolean(v4 != undefined); } if ((String(param)).toUpperCase() == com.mosesSupposes.fuse.FuseKitCommon.ALLCOLOR) { return Boolean(v4.colorProp != undefined); } return Boolean(v4.props[String(param)] != undefined); case 'count': if (!v8) { return v4.numProps; } var v3 = 0; for (var v6 in this.tweens) { v3 += this.tweens[v6].numProps; } return v3; case 'locked': return v4.locked; } }; v2.update = function (force) { var v22 = {}; var v24 = {}; var v23 = {}; var v15 = {}; var v13 = {}; var v14 = {}; var v26 = false; var v20 = com.mosesSupposes.fuse.ZigoEngine.ROUND_RESULTS; for (var v35 in this.tweens) { var v12 = this.tweens[v35]; var v5 = v12.targ; var v34 = v12.props; var v21 = v5._listeners.length > 0; if (v5.__zigoID__ == undefined) { v26 = true; if (com.mosesSupposes.fuse.ZigoEngine._listeners.length > 0) { var v25 = []; for (var v30 in v34) { v25.unshift(v30); } com.mosesSupposes.fuse.ZigoEngine.broadcastMessage('onTweenInterrupt', {'target': (typeof v5.addProperty == 'function') ? v5 : '[MISSING:' + v12.targID + ']', 'props': v25, '__zigoID__': v12.targZID, 'during': 'update'}); } continue; } for (v30 in v34) { var v3 = v34[v30]; if ((v3.ts > this.now || v3.pt != -1) && force != true) { continue; } var v9 = this.now >= v3.ts + v3.d; if (v3.complex == -1) { var v6; if (v9 == true) { v6 = v3.ps + v3.ch; if (v3.cycles > 1 || v3.cycles == 0) { if (v3.cycles > 1) { --v3.cycles; } v3.ps = v6; v3.ch = -v3.ch; v3.ts = this.now; v9 = false; } } else { v6 = v3.ef(this.now - v3.ts, v3.ps, v3.ch, v3.d, v3.e1, v3.e2); } if (_global.isNaN(v6) == false) { if (v30 != '_bezier_' && (v3.rr == true || v20 == true && v3.rr !== false)) { v6 = Math.round(Number(v6)); } if (v3.special != true) { v5[v30] = v6; } else { if (v3.fmp != -1) { v3.fmp.setFilterProp(v5, v30, v6); } else { if (v30 == '_bezier_') { var v10 = v3.bz; var v18 = v10.sx + v6 * (2 * (1 - v6) * v10.ctrlx + v6 * v10.chx); var v17 = v10.sy + v6 * (2 * (1 - v6) * v10.ctrly + v6 * v10.chy); if (v3.rr == true || v20 == true && v3.rr !== false) { v18 = Math.round(Number(v18)); v17 = Math.round(Number(v17)); } v5._x = v18; v5._y = v17; } else { if (v30 == '_frame') { (MovieClip(v5)).gotoAndStop(Math.ceil(v6)); } } } } } } else { var v16 = v9 == true && (v3.cycles > 1 || v3.cycles == 0); var v7 = []; for (var v27 in v3.ch) { var v4 = (v3.complex == 0) ? [] : {}; for (var v28 in v3.ch[v27]) { var v8 = v3.ch[v27][v28]; var v11 = v3.ps[v27][v28]; if (v9 == true) { v4[v28] = v11 + v8; if (v16 == true) { v3.ch[v27][v28] = -v8; } } else { v4[v28] = v3.ef(this.now - v3.ts, v11, v8, v3.d, v3.e1, v3.e2); } if (_global.isNaN(v4[v28]) == false) { if (v3.rr == true || v20 == true && v3.rr !== false) { v4[v28] = Math.round(v4[v28]); } } if (v3.fmp == -1 && v3.c == -1) { v5[v30][v28] = v4[v28]; } } v7.push(v4); if (v3.fmp == -1 && v3.c == 2) { v5[v30][v27] = Number(v4.rb << 16 | v4.gb << 8 | v4.bb); } } if (v3.fmp != -1) { if (v3.c == 1) { v3.fmp.setFilterProp(v5, v30, v7[0].rb << 16 | v7[0].gb << 8 | v7[0].bb); } else { if (v3.c == 2) { var v19 = []; for (v28 in v7) { v19.unshift(v7[v28].rb << 16 | v7[v28].gb << 8 | v7[v28].bb); } v3.fmp.setFilterProp(v5, v30, v19); } else { v3.fmp.setFilterProp(v5, v30, v7[0]); } } } else { if (v3.c != -1) { v3.c.setTransform(v7[0]); } } if (v16 == true) { if (v3.cycles > 1) { --v3.cycles; } v9 = false; v3.ts = this.now; v3.ps = v7; } } if (v3.sf == false) { if (v3.v != 0) { v5._visible = true; } if (v21 == true) { if (v15[v35] == undefined) { v15[v35] = [v5, []]; } v15[v35][1].unshift(v30); } v3.sf = true; } if (v3.scb.fired == false) { v22[String(v3.scb.id)] = v3.scb; v3.scb.fired = true; } if (v21 == true) { if (v13[v35] == undefined) { v13[v35] = [v5, []]; } v13[v35][1].unshift(v30); } if (v3.ucb != undefined) { v24[String(v3.ucb.id)] = v3.ucb; } if (v9 == true) { if (v3.v === -1) { v5._visible = false; } if (v3.suppressEnd != true) { if (v21 == true) { if (v14[v35] == undefined) { v14[v35] = [v5, []]; } v14[v35][1].unshift(v30); } if (v3.ecb != undefined) { v23[String(v3.ecb.id)] = v3.ecb; } } delete v34[v30]; if (v30 == v12.colorProp) { delete v12.colorProp; } --v12.numProps; if (v12.numProps <= 0) { v26 = true; } } delete v3.suppressEnd; } } for (v35 in v15) { v15[v35][0].broadcastMessage('onTweenStart', {'target': v15[v35][0], 'props': v15[v35][1]}); } for (v35 in v22) { v22[v35].f.apply(v22[v35].s, v22[v35].a); } for (v35 in v13) { v13[v35][0].broadcastMessage('onTweenUpdate', {'target': v13[v35][0], 'props': v13[v35][1]}); } for (v35 in v24) { v24[v35].f.apply(v24[v35].s, v24[v35].a); } for (v35 in v14) { v14[v35][0].broadcastMessage('onTweenEnd', {'target': v14[v35][0], 'props': v14[v35][1]}); } for (v35 in v23) { v23[v35].f.apply(v23[v35].s, v23[v35].a); } if (v26) { this.cleanUp(); } this.now = getTimer(); }; v2.cleanUp = function (noInit) { for (var v4 in this.tweens) { var v2 = this.tweens[v4].targ; if (this.tweens[v4].numProps <= 0 || v2.__zigoID__ == undefined) { if (v2 != undefined && v2.tween == undefined && noInit != true && v2._listeners.length <= 0) { com.mosesSupposes.fuse.ZigoEngine.deinitializeTargets(v2); } delete this.tweens[v4]; --this.numTweens; } } if (this.numTweens <= 0) { this.numTweens = 0; delete this.tweens; this.tweens = {}; if (noInit != true) { com.mosesSupposes.fuse.ZigoEngine.__mgrRelay(this, 'setup', [true]); } } }; v2.paramsObj = function (targs, props, endvals, retainFade) { var v6 = {}; v6.all = (String(targs)).toUpperCase() == com.mosesSupposes.fuse.FuseKitCommon.ALL; v6.none = Boolean(targs == null); if (v6.all == true) { v6.tg = [null]; } else { v6.tg = targs instanceof Array ? targs : [targs]; for (var v11 in v6.tg) { var v7 = v6.tg[v11]; if (v7 == null || !(typeof v7 == 'object' || typeof v7 == 'movieclip')) { v6.tg.splice(Number(v11), 1); } } } v6.allprops = props == null; var v1; var v4; var v3 = {}; if (v6.allprops == false) { if (typeof props == 'string' && ((String(props)).indexOf(' ') > -1 || (String(props)).indexOf(',') > -1)) { props = (String((props.split(' ')).join(''))).split(','); } v1 = props instanceof Array ? props.slice() : [props]; if (endvals != undefined) { if (typeof endvals == 'string' && ((String(endvals)).indexOf(' ') > -1 || (String(endvals)).indexOf(',') > -1)) { endvals = (String((endvals.split(' ')).join(''))).split(','); } v4 = endvals instanceof Array ? endvals.slice() : [endvals]; while (v4.length < v1.length) { v4.push(v4[v4.length - 1]); } v4.splice(v1.length, v4.length - v1.length); } for (v11 in v1) { var v2 = Number(v11); if (v1[v11] != '_scale' && v1[v11] != '_size') { if (v3[v1[v11]] == undefined) { if (v1[v11] == '_fade' && retainFade != true) { v1[v11] = '_alpha'; } if ((String(v1[v11])).toUpperCase() == com.mosesSupposes.fuse.FuseKitCommon.ALLCOLOR) { v1[v11] = com.mosesSupposes.fuse.FuseKitCommon.ALLCOLOR; } v3[v1[v11]] = true; } else { v1.splice(v2, 1); v4.splice(v2, 1); } } else { var v8 = String((v1.splice(v2, 1))[0]); var v5 = (v4.splice(v2, 1))[0]; if (v8 == '_scale') { if (v3._xscale == undefined) { v1.splice(v2, 0, '_xscale'); v4.splice(v2, 0, v5); v3._xscale = true; ++v2; } if (v3._yscale == undefined) { v1.splice(v2, 0, '_yscale'); v4.splice(v2, 0, v5); v3._yscale = true; } } if (v8 == '_size') { if (v3._width == undefined) { v1.splice(v2, 0, '_width'); v4.splice(v2, 0, v5); v3._width = true; ++v2; } if (v3._yscale == undefined) { v1.splice(v2, 0, '_height'); v4.splice(v2, 0, v5); v3._height = true; } } } } for (v11 in v1) { if (v1[v11] == '_xscale' && v3._width == true || v1[v11] == '_yscale' && v3._height == true) { v1.splice(Number(v11), 1); v4.splice(Number(v11), 1); delete v3[v1[v11]]; } } } v6.pa = v1; v6.va = v4; v6.props = v3; return v6; }; v2.getChangeObj = function (ps, ep, isFMP, useArray) { var v3 = {'map': (useArray == true) ? [] : {}, 'changed': false}; for (var v7 in ep) { if ((isFMP == true && v7.charAt(1) == 'b' || ep[v7] != ps[v7] || useArray == true) && ep[v7] != null && _global.isNaN(Number(ep[v7])) == false) { v3.map[v7] = (typeof ep[v7] == 'string') ? Number(ep[v7]) : ep[v7] - ps[v7]; if (_global.isNaN(v3.map[v7]) == true) { v3.map[v7] = 0; } else { if (v3.map[v7] != 0) { v3.changed = true; } } } } return v3; }; v2.numTweens = 0; ASSetPropFlags(com.mosesSupposes.fuse.ZManager.prototype, null, 1); } #endinitclip } frame 2 { stop(); } frame 2 { function mover() { this._x += (this.dx - this._x) / 6; this._y += (this.dy - this._y) / 6; if (Math.round(this._x) == this.dx) { this.dx = Math.round(Math.random() * 750); this.dy = Math.round(Math.random() * 500); } } i = 0; while (i < 150) { var t = this.attachMovie('dot1', 'dot1' + i, i); t._x = Math.random() * 750; t._y = Math.random() * 500; t.dx = Math.round(Math.random() * 750); t.dy = Math.round(Math.random() * 500); t._xscale = Math.random() * 100 + 40; t._yscale = t._xscale; t.onEnterFrame = mover; ++i; } } movieClip 647 { } movieClip 648 { frame 30 { stop(); } } movieClip 658 { frame 9 { stop(); } } movieClip 660 { } movieClip 661 { frame 12 { stop(); } } button 663 { on (press) { gotoAndStop(3); } } frame 3 { function mover() { this._x += (this.dx - this._x) / 7; this._y += (this.dy - this._y) / 7; if (Math.round(this._x) == this.dx) { this.dx = Math.round(Math.random() * 1); this.dy = Math.round(Math.random() * 1); } } i = 0; while (i < 150) { var t = this.attachMovie('dot2', 'dot2' + i, i); t._x = Math.random() * 750; t._y = Math.random() * 500; t.dx = Math.round(Math.random() * 1); t.dy = Math.round(Math.random() * 1); t._xscale = Math.random() * 100 + 40; t._yscale = t._xscale; t.onEnterFrame = mover; ++i; } } frame 3 { _quality = 'high'; com.mosesSupposes.fuse.ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.PennerEasing); this.onEnterFrame = function () { var t = this.attachMovie('second', 'second' + this.getNextHighestDepth(), this.getNextHighestDepth()); t._x = _xmouse; t._y = _ymouse; t._rotation = Math.random() * 360; var v2 = new com.mosesSupposes.fuse.Fuse(); v2.push({'target': t, 'tint': Math.random() * 11184810, 'tintpercent': 100, 'scale': 1, 'time': 3, 'ease': 'linear'}); v2.push({'func': function () { t.removeMovieClip(); }}); v2.start(); }; } frame 3 { stop(); } movieClip 667 { } movieClip 668 { } movieClip 670 { } movieClip 671 { } movieClip 673 { } movieClip 674 { frame 532 { stop(); } } button 676 { on (keyPress '<Right>') { nextFrame(); } } frame 4 { com.mosesSupposes.fuse.ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.PennerEasing); this.onEnterFrame = function () { var t = this.attachMovie('first_real', 'first_real' + this.getNextHighestDepth(), this.getNextHighestDepth()); t._x = _xmouse; t._y = _ymouse; t._width = 20; t._height = t._width; t._rotation = Math.random() * 360; var v2 = new com.mosesSupposes.fuse.Fuse(); v2.push({'target': t, 'tint': Math.random() * 16777215, 'tintpercent': 100, 'scale': 1, 'time': 2.5, 'ease': 'linear'}); v2.push({'func': function () { t.removeMovieClip(); }}); v2.start(); }; } frame 4 { stop(); } button 678 { on (keyPress '<Left>') { prevFrame(); } } frame 5 { _quality = 'LOW'; com.mosesSupposes.fuse.ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.PennerEasing); this.onEnterFrame = function () { var t = this.attachMovie('third', 'third' + this.getNextHighestDepth(), this.getNextHighestDepth()); t._x = _xmouse; t._y = _ymouse; var v2 = new com.mosesSupposes.fuse.Fuse(); v2.push({'target': t, 'tint': Math.random() * 16777215, 'tintpercent': 100, 'time': 9, 'ease': 'linear'}); v2.push({'func': function () { t.removeMovieClip(); }}); v2.start(); }; } frame 5 { stop(); } frame 6 { com.mosesSupposes.fuse.ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.PennerEasing); this.onEnterFrame = function () { var t = this.attachMovie('fourth_final', 'fourth_final' + this.getNextHighestDepth(), this.getNextHighestDepth()); t._x = _xmouse; t._y = _ymouse; t._width = 50; t._height = t._width; t._rotation = Math.random() * 360; var v2 = new com.mosesSupposes.fuse.Fuse(); v2.push({'target': t, 'tint': Math.random() * 16777215, 'tintpercent': 100, 'time': 6, 'alpha': 0, 'ease': 'linear'}); v2.push({'func': function () { t.removeMovieClip(); }}); v2.start(); }; _quality = 'HIGH'; } frame 7 { com.mosesSupposes.fuse.ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.PennerEasing); this.onEnterFrame = function () { var t = this.attachMovie('fifth_final', 'fifth_final' + this.getNextHighestDepth(), this.getNextHighestDepth()); var n = this.attachMovie('fifth_final_2', 'fifth_final_2' + this.getNextHighestDepth(), this.getNextHighestDepth()); t._x = _xmouse; t._y = _ymouse; t._rotation = Math.random() * 360; n._x = _xmouse; n._y = _ymouse; n._rotation = Math.random() * 360; var v3 = new com.mosesSupposes.fuse.Fuse(); out; var v2 = new com.mosesSupposes.fuse.Fuse(); out; v3.push({'target': t, 'tint': Math.random() * 16777215, 'tintpercent': 100, 'time': 2.5, 'alpha': 10, 'scale': 300, 'ease': 'easeInQuad'}); v3.push({'func': function () { t.removeMovieClip(); }}); v2.push({'target': n, 'tint': Math.random() * 16777215, 'tintpercent': 100, 'time': 2.5, 'alpha': 10, 'scale': 300, 'ease': 'easeInQuad'}); v2.push({'func': function () { n.removeMovieClip(); }}); v3.start(); v2.start(); }; } frame 8 { com.mosesSupposes.fuse.ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.PennerEasing); this.onEnterFrame = function () { var t = this.attachMovie('sixth', 'sixth' + this.getNextHighestDepth(), this.getNextHighestDepth()); t._x = _xmouse; t._y = _ymouse; var v2 = new com.mosesSupposes.fuse.Fuse(); out; v2.push({'target': t, 'tint': Math.random() * 16777215, 'tintpercent': 1000, 'time': 4, 'alpha': 0, 'scale': 300, 'ease': 'linear'}); v2.push({'func': function () { t.removeMovieClip(); }}); v2.start(); }; } frame 9 { com.mosesSupposes.fuse.ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.PennerEasing); this.onEnterFrame = function () { var t = this.attachMovie('seventh', 'seventh' + this.getNextHighestDepth(), this.getNextHighestDepth()); t._x = _xmouse; t._y = _ymouse; var v2 = new com.mosesSupposes.fuse.Fuse(); out; v2.push({'target': t, 'tint': Math.random() * 16777215, 'tintpercent': 1000, 'time': 4, 'alpha': 0, 'scale': 30000, 'ease': 'linear'}); v2.push({'func': function () { t.removeMovieClip(); }}); v2.start(); }; } frame 10 { com.mosesSupposes.fuse.ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.PennerEasing); this.onEnterFrame = function () { var t = this.attachMovie('eigth', 'eigth' + this.getNextHighestDepth(), this.getNextHighestDepth()); t._x = _xmouse; t._y = _ymouse; var v2 = new com.mosesSupposes.fuse.Fuse(); out; v2.push({'target': t, 'time': 5, 'scale': 1, 'y': 0, 'ease': 'linear'}); v2.push({'func': function () { t.removeMovieClip(); }}); v2.start(); }; } frame 11 { com.mosesSupposes.fuse.ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.PennerEasing); this.onEnterFrame = function () { var t = this.attachMovie('ninth', 'ninth' + this.getNextHighestDepth(), this.getNextHighestDepth()); t._x = _xmouse; t._y = _ymouse; var v2 = new com.mosesSupposes.fuse.Fuse(); out; v2.push({'target': t, 'time': 5, 'tint': Math.random() * 16777215, 'scale': 1, 'ease': 'linear'}); v2.push({'func': function () { t.removeMovieClip(); }}); v2.start(); }; } frame 12 { com.mosesSupposes.fuse.ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.PennerEasing); this.onEnterFrame = function () { var t = this.attachMovie('tenth', 'tenth' + this.getNextHighestDepth(), this.getNextHighestDepth()); t._x = _xmouse; t._y = _ymouse; var v2 = new com.mosesSupposes.fuse.Fuse(); out; v2.push({'target': t, 'time': 5, 'x': 300, 'y': 300, 'tint': Math.random() * 16777215, 'scale': 1, 'ease': 'linear'}); v2.push({'func': function () { t.removeMovieClip(); }}); v2.start(); }; } frame 13 { com.mosesSupposes.fuse.ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.PennerEasing); this.onEnterFrame = function () { var t = this.attachMovie('11', '11' + this.getNextHighestDepth(), this.getNextHighestDepth()); t._x = _xmouse; t._y = _ymouse; var v2 = new com.mosesSupposes.fuse.Fuse(); out; v2.push({'target': t, 'time': 5, 'tint': Math.random() * 16777215, 'scale': 1, 'ease': 'linear'}); v2.push({'func': function () { t.removeMovieClip(); }}); v2.start(); }; } frame 14 { com.mosesSupposes.fuse.ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.PennerEasing); this.onEnterFrame = function () { var t = this.attachMovie('12', '12' + this.getNextHighestDepth(), this.getNextHighestDepth()); t._x = _xmouse; t._y = _ymouse; var v2 = new com.mosesSupposes.fuse.Fuse(); out; v2.push({'target': t, 'time': 4, 'alpha': 0, 'tint': Math.random() * 16777215, 'scale': 1, 'ease': 'linear'}); v2.push({'func': function () { t.removeMovieClip(); }}); v2.start(); }; } frame 15 { com.mosesSupposes.fuse.ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.PennerEasing); this.onEnterFrame = function () { var t = this.attachMovie('13', '13' + this.getNextHighestDepth(), this.getNextHighestDepth()); t._x = _xmouse; t._y = _ymouse; t._rotation = Math.random() * 360; var v2 = new com.mosesSupposes.fuse.Fuse(); out; v2.push({'target': t, 'time': 4, 'alpha': 0, 'tint': Math.random() * 16777215, 'scale': 1, 'ease': 'linear'}); v2.push({'func': function () { t.removeMovieClip(); }}); v2.start(); }; } frame 15 { numPart = 10; maxSpeed = 4; onEnterFrame = function () { xLoc = _xmouse; yLoc = _ymouse; x = 1; while (x <= numPart) { myParticle = _root.attachMovie('13', '13' + x, _root.getNextHighestDepth()); myParticle.Angle = Math.random() * 360; myParticle.Speed = Math.random() * maxSpeed; myParticle._rotation = Math.random() * 360; myParticle._xscale = myParticle._yscale; myParticle._yscale = 3000; myParticle._x = xLoc; myParticle._y = yLoc; myParticle.onEnterFrame = function () { this.xSpeed = Math.cos(this.Angle) * this.Speed; this.ySpeed = Math.sin(this.Angle) * this.Speed; this._x -= this.xSpeed; this._y -= this.ySpeed; this.Speed *= 0.9; this._alpha -= 3; if (this._alpha <= 0) { this.removeMovieClip(); } }; ++x; } }; } frame 16 { numPart = 10; maxSpeed = 4; onEnterFrame = function () { xLoc = _xmouse; yLoc = _ymouse; x = 1; while (x <= numPart) { myParticle = _root.attachMovie('13', '13' + x, _root.getNextHighestDepth()); myParticle.Angle = Math.random() * 360; myParticle.Speed = Math.random() * maxSpeed; myParticle._rotation = Math.random() * 360; myParticle._x = xLoc; myParticle._y = yLoc; myParticle.onEnterFrame = function () { this.xSpeed = Math.cos(this.Angle) * this.Speed; this.ySpeed = Math.sin(this.Angle) * this.Speed; this._x -= this.xSpeed; this._y -= this.ySpeed; this.Speed *= 0.9; this._alpha -= 3; if (this._alpha <= 0) { this.removeMovieClip(); } }; ++x; } }; } frame 17 { com.mosesSupposes.fuse.ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.PennerEasing); this.onEnterFrame = function () { var t = this.attachMovie('14', '14' + this.getNextHighestDepth(), this.getNextHighestDepth()); t._x = _xmouse; t._y = _ymouse; var v2 = new com.mosesSupposes.fuse.Fuse(); v2.push({'target': t, 'time': 6, 'alpha': 0, 'tint': Math.random() * 16777215, 'scale': 1, 'ease': 'linear'}); v2.push({'func': function () { t.removeMovieClip(); }}); v2.start(); }; } frame 18 { com.mosesSupposes.fuse.ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.PennerEasing); this.onEnterFrame = function () { var t = this.attachMovie('15_real', '15_real' + this.getNextHighestDepth(), this.getNextHighestDepth()); t._x = _xmouse; t._y = _ymouse; t._rotation = Math.random() * 360; var v2 = new com.mosesSupposes.fuse.Fuse(); v2.push({'target': t, 'time': 7, 'scale': 1000, 'alpha': 0, 'tint': Math.random() * 16777215, 'ease': 'easeInCubic'}); v2.push({'func': function () { t.removeMovieClip(); }}); v2.start(); }; } frame 19 { com.mosesSupposes.fuse.ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.PennerEasing); this.onEnterFrame = function () { var t = this.attachMovie('16', '16' + this.getNextHighestDepth(), this.getNextHighestDepth()); t._x = _xmouse; t._y = _ymouse; var v2 = new com.mosesSupposes.fuse.Fuse(); v2.push({'target': t, 'time': 4, 'scale': 500, 'alpha': 0, 'tint': Math.random() * 16777215, 'ease': 'easeInCubic'}); v2.push({'func': function () { t.removeMovieClip(); }}); v2.start(); }; } frame 20 { com.mosesSupposes.fuse.ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.PennerEasing); this.onEnterFrame = function () { var t = this.attachMovie('17_real', '17_real' + this.getNextHighestDepth(), this.getNextHighestDepth()); t._x = _xmouse; t._y = _ymouse; t._rotation = Math.random() * 360; var v2 = new com.mosesSupposes.fuse.Fuse(); v2.push({'target': t, 'time': 3, 'scale': 1400, 'alpha': 0, 'tint': Math.random() * 16777215, 'ease': 'easeInBounce'}); v2.push({'func': function () { t.removeMovieClip(); }}); v2.start(); }; } frame 21 { com.mosesSupposes.fuse.ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.PennerEasing); this.onEnterFrame = function () { var t = this.attachMovie('19_real', '19_real' + this.getNextHighestDepth(), this.getNextHighestDepth()); t._x = _xmouse; t._y = _ymouse; t._rotation = Math.random() * 360; t._xscale = 100; t._yscale = t._xscale; var v2 = new com.mosesSupposes.fuse.Fuse(); v2.push({'target': t, 'tint': Math.random() * 16777215, 'time': 1.5, 'ease': 'linear'}); v2.push({'func': function () { t.removeMovieClip(); }}); v2.start(); }; } frame 22 { com.mosesSupposes.fuse.ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.PennerEasing); this.onEnterFrame = function () { var t = this.attachMovie('20_real', '20_real' + this.getNextHighestDepth(), this.getNextHighestDepth()); t._x = _xmouse + Math.random() * 60 / 3; t._y = _ymouse + Math.random() * 60 / 3; t._width = 200; t._width = t._height; var v2 = new com.mosesSupposes.fuse.Fuse(); v2.push({'target': t, 'alpha': 100, 'tint': Math.random() * 16777215, 'tintpercent': 50, 'time': 4.9, 'ease': 'linear'}); v2.push({'func': function () { t.removeMovieClip(); }}); v2.start(); }; } frame 23 { com.mosesSupposes.fuse.ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.PennerEasing); this.onEnterFrame = function () { var t = this.attachMovie('21', '21' + this.getNextHighestDepth(), this.getNextHighestDepth()); t._x = _xmouse; t._y = _ymouse; t._rotation = Math.random() * 360; t._width = 15; t._width = t._height; var v2 = new com.mosesSupposes.fuse.Fuse(); v2.push({'target': t, 'alpha': 0, 'tint': Math.random() * 16777215, 'tintpercent': 100, 'time': 3, 'ease': 'linear'}); v2.push({'func': function () { t.removeMovieClip(); }}); v2.start(); }; } frame 24 { com.mosesSupposes.fuse.ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.PennerEasing); this.onEnterFrame = function () { var t = this.attachMovie('22_real', '22_real' + this.getNextHighestDepth(), this.getNextHighestDepth()); t._x = _xmouse; t._y = _ymouse; t._xscale = t._yscale; t._yscale = 100; var v2 = new com.mosesSupposes.fuse.Fuse(); v2.push({'target': t, 'scale': 1, 'time': 5, 'tint': Math.random() * 16777215, 'tintpercent': 30, 'ease': 'linear'}); v2.push({'func': function () { t.removeMovieClip(); }}); v2.start(); }; } frame 25 { com.mosesSupposes.fuse.ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.PennerEasing); this.onEnterFrame = function () { var t = this.attachMovie('23', '23' + this.getNextHighestDepth(), this.getNextHighestDepth()); t._x = _xmouse; t._y = _ymouse; t._xscale = t._yscale; t._yscale = 100; var v2 = new com.mosesSupposes.fuse.Fuse(); v2.push({'target': t, 'time': 3, 'tint': Math.random() * 16777215, 'alpha': 0, 'tintpercent': 100, 'ease': 'linear'}); v2.push({'func': function () { t.removeMovieClip(); }}); v2.start(); }; } frame 26 { com.mosesSupposes.fuse.ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.PennerEasing); this.onEnterFrame = function () { var t = this.attachMovie('24_real', '24_real' + this.getNextHighestDepth(), this.getNextHighestDepth()); t._x = _xmouse; t._y = _ymouse; t._rotation += _xmouse; var v2 = new com.mosesSupposes.fuse.Fuse(); v2.push({'target': t, 'time': 8, 'tint': Math.random() * 16777215, 'scale': 0, 'x': Math.random() * 360, 'y': Math.random() * 360, 'tintpercent': 100, 'ease': 'easeOutSine'}); v2.push({'func': function () { t.removeMovieClip(); }}); v2.start(); }; } frame 27 { com.mosesSupposes.fuse.ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.PennerEasing); this.onEnterFrame = function () { var t = this.attachMovie('25_real', '25_real' + this.getNextHighestDepth(), this.getNextHighestDepth()); t._x = _xmouse; t._y = _ymouse; t._rotation = _xmouse; var v2 = new com.mosesSupposes.fuse.Fuse(); v2.push({'target': t, 'time': 5, 'x': Math.random() * 500, 'tint': Math.random() * 1193046, 'y': Math.random() * 360, 'alpha': 0, 'scale': 100, 'ease': 'linear'}); v2.push({'func': function () { t.removeMovieClip(); }}); v2.start(); }; } frame 28 { com.mosesSupposes.fuse.ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.PennerEasing); this.onEnterFrame = function () { var t = this.attachMovie('26', '26' + this.getNextHighestDepth(), this.getNextHighestDepth()); t._x = _xmouse; t._y = _ymouse; t._rotation = Math.random() * 360; var v2 = new com.mosesSupposes.fuse.Fuse(); v2.push({'target': t, 'time': 9, 'scale': 0, 'ease': 'linear'}); v2.push({'func': function () { t.removeMovieClip(); }}); v2.start(); }; } frame 29 { com.mosesSupposes.fuse.ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.PennerEasing); this.onEnterFrame = function () { var t = this.attachMovie('27_real', '27_real' + this.getNextHighestDepth(), this.getNextHighestDepth()); t._x = _xmouse; t._y = _ymouse; t._rotation = Math.random() * 360; var v2 = new com.mosesSupposes.fuse.Fuse(); v2.push({'target': t, 'time': 4, 'y': 2(2) + 3, 'scale': 0, 'tint': Math.random() * 10000536, 'ease': 'easeInSine'}); v2.push({'func': function () { t.removeMovieClip(); }}); v2.start(); }; } frame 30 { com.mosesSupposes.fuse.ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.PennerEasing); this.onEnterFrame = function () { var t = this.attachMovie('28_real', '28_real' + this.getNextHighestDepth(), this.getNextHighestDepth()); t._x = _xmouse; t._y = _ymouse; t._rotation = _xmouse; var v2 = new com.mosesSupposes.fuse.Fuse(); v2.push({'target': t, 'time': 4, 'alpha': 0, 'scale': _xmouse - 100, 'tint': _xmouse, 'x': _xmouse, 'y': _ymouse, 'ease': 'easeInBounce'}); v2.push({'func': function () { t.removeMovieClip(); }}); v2.start(); }; } frame 31 { com.mosesSupposes.fuse.ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.PennerEasing); this.onEnterFrame = function () { var t = this.attachMovie('29', '29' + this.getNextHighestDepth(), this.getNextHighestDepth()); t._x = _xmouse; t._y = _ymouse; t._rotation = Math.random() * 360; var v2 = new com.mosesSupposes.fuse.Fuse(); v2.push({'target': t, 'time': 4, 'tint': Math.random() * 16777215, 'ease': 'linear'}); v2.push({'func': function () { t.removeMovieClip(); }}); v2.start(); }; } frame 32 { com.mosesSupposes.fuse.ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.PennerEasing); this.onEnterFrame = function () { var t = this.attachMovie('31', '31' + this.getNextHighestDepth(), this.getNextHighestDepth()); t._x = _xmouse + Math.random() * 10; t._y = _ymouse + Math.random() * 10; t._rotation = Math.random() * 360; var v2 = new com.mosesSupposes.fuse.Fuse(); _xmouse = _xmouse + Math.random() * -220; v2.push({'target': t, 'time': 8, 'y': _xmouse + Math.random() * -220, 'alpha': 0, 'tint': Math.random() * 16777215, 'ease': 'linear'}); v2.push({'func': function () { t.removeMovieClip(); }}); v2.start(); }; } frame 33 { com.mosesSupposes.fuse.ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.PennerEasing); this.onEnterFrame = function () { var t = this.attachMovie('32', '32' + this.getNextHighestDepth(), this.getNextHighestDepth()); t._rotation = Math.random() * 360; t._xscale = 50; t._yscale = t._xscale; t._x = _xmouse; t._y = _ymouse; var v2 = new com.mosesSupposes.fuse.Fuse(); v2.push({'target': t, 'time': 6, 'x': 50, 'alpha': 0, 'tint': Math.random() * 16777215, 'ease': 'easeInCubic'}); v2.push({'func': function () { t.removeMovieClip(); }}); v2.start(); }; } frame 34 { com.mosesSupposes.fuse.ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.PennerEasing); this.onEnterFrame = function () { var t = this.attachMovie('33_real', '33_real' + this.getNextHighestDepth(), this.getNextHighestDepth()); t._xscale = 60; t._yscale = t._xscale; t._x = _xmouse; t._y = _ymouse; var v2 = new com.mosesSupposes.fuse.Fuse(); v2.push({'target': t, 'time': 4, 'scale': 0, 'tint': Math.random() * 16777215, 'ease': 'linear'}); v2.push({'func': function () { t.removeMovieClip(); }}); v2.start(); }; } frame 35 { com.mosesSupposes.fuse.ZigoEngine.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.PennerEasing); this.onEnterFrame = function () { var t = this.attachMovie('34', '34' + this.getNextHighestDepth(), this.getNextHighestDepth()); t._x = _xmouse; t._y = _ymouse; var v2 = new com.mosesSupposes.fuse.Fuse(); v2.push({'target': t, 'time': 4, 'alpha': 0, 'tint': Math.random() * 16777215, 'ease': 'easeInSine'}); v2.push({'func': function () { t.removeMovieClip(); }}); v2.start(); }; } frame 36 { particleLimit = 75; k = 0; onEnterFrame = function () { i = 1; while (i < 2) { attachMovie('p', 'p' + (k + i), k + i); this['p' + (k + i)]._x = _xmouse; this['p' + (k + i)]._y = _ymouse; this['p' + (k + i)]._rotation = Math.random() * 360; ++k; ++i; } if (k > particleLimit) { k = 0; } }; }




http://swfchan.com/18/88847/info.shtml
Created: 29/3 -2019 07:38:03 Last modified: 29/3 -2019 07:38:03 Server time: 22/12 -2024 19:48:14