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

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

Ratatouille - Marionette.swf

This is the info page for
Flash #118630

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


Text
INGREDIENTS
REMAINING

100

Crepes

Collette's

Level #1:

Continue Playing

COLLECT THESE XX INGREDIENTS

GO!

In Ratatouille, Linguini can't cook, but Remy
can. Working together, they can be the greatest
chef in all of Paris.

You'll play as Remy the rat and guide Linguini the
human to make three recipes. As you make each
recipe, the ingredients you need will quickly
flash once on screen. Within the set amount of
time, you will need to use your mouse to roll
over and click on each necessary ingredient. Be
careful to not select a wrong ingredient or you
will lose time.
There are two HINTS available to you. Each hint
will display the remaining ingredients in the
recipe. However, use them wisely, because you
only get two of them for the whole game.
Have fun!

INSTRUCTIONS

LEVEL COMPLETE

GO ON TO LEVEL 1

Congratulations!
You're a master chef!

TIME'S UP AND YOU
BARELY GOT COOKIN’!

CLOSE

ActionScript [AS1/AS2]

Frame 1
function playSound(ln, l) { if (l) { this[ln + "_sound"].snd.start(0, l); } else { this[ln + "_sound"].snd.start(); } return(this[ln + "_sound"].snd); } function stopSound(ln) { this[ln + "_sound"].snd.stop(); } function stopSounds() { for (var _local2 in soundList) { this[soundList[_local2] + "_sound"].snd.stop(); } } this.masterVolume = new Sound(this); this.createEmptyMovieClip("soundHolder_mc", this.getNextHighestDepth()); soundList = ["gameStart", "inRound", "c1", "c2", "c3", "c4", "c5", "soundtrack", "m1", "m2", "m3", "m4", "end1", "end2", "end3", "end4", "loser", "winner"]; for (var i in soundList) { tmp = (this[soundList[i] + "_sound"] = soundHolder_mc.createEmptyMovieClip(soundList[i], soundHolder_mc.getNextHighestDepth())); tmp.snd = new Sound(tmp); tmp.snd.attachSound(soundList[i]); } function inumerateObjects(thisOBJ, level) { for (i in thisOBJ) { var _local1 = ""; if (i != "_type") { j = 0; while (j < level) { _local1 = _local1 + "-->"; j++; } _local1 = _local1 + i; if (thisOBJ[i]._type != undefined) { _local1 = _local1 + ((" (" + thisOBJ[i]._type) + ")"); } if (!(thisOBJ[i] instanceof Object)) { _local1 = _local1 + (" = " + thisOBJ[i]); } trace(_local1); } inumerateObjects(thisOBJ[i], level + 1); } } function checkDataLoad(tgtObj) { var _local2 = _root.xmlDataContainer[tgtObj]; inumerateObjects(_local2, 0); } function getXMLObj(url, tgtObj, outXML, callback) { trace("getting XML Object:"); var _local3 = new XML2(); delete _root.xmlDataContainer[tgtObj]; XMLLoaded = false; _local3.onLoad = function (success) { if (success) { _root.xmlDataContainer[tgtObj] = new XML2Object().parseXML(this); callback(); } else { trace("error loading " + tgtObj); } }; if (outXML == undefined) { _local3.load(url); } else { outXML.load(url, _local3); } } _root.xmlDataContainer = new Object(); trace(_root.xmlDataContainer); Stage.scaleMode = "showAll"; function morphArm(tgt, yVal, sVal, oTT, oTTy, oD) { if (!oTT) { oTT = baseTweenTime; } if (!oTTy) { oTTy = baseTweenType; } if (!oD) { oD = 0; } tgt.tween(["_y", "_yscale"], [yVal, sVal], oTT, oTTy, oD); } function frameMe(tgt, val, oTT, oTTy, oD) { if (!oTT) { oTT = baseTweenTime; } if (!oTTy) { oTTy = baseTweenType; } if (!oD) { oD = 0; } tgt.frameTo(val, oTT, oTTy, oD); } function slideMeY(tgt, val, oTT, oTTy, oD, cb) { if (!oTT) { oTT = baseTweenTime; } if (!oTTy) { oTTy = baseTweenType; } if (!oD) { oD = 0; } tgt.tween("_y", val, oTT, oTTy, oD, cb); } function slideMeX(tgt, val, oTT, oTTy, oD) { if (!oTT) { oTT = baseTweenTime; } if (!oTTy) { oTTy = baseTweenType; } if (!oD) { oD = 0; } tgt.tween("_x", val, oTT, oTTy, oD); } function slideMeXY(tgt, xVal, yVal, oTT, oTTy, oD) { if (!oTT) { oTT = baseTweenTime; } if (!oTTy) { oTTy = baseTweenType; } if (!oD) { oD = 0; } tgt.tween(["_x", "_y"], [xVal, yVal], oTT, oTTy, oD); } function tintMe(tgt, pct, oTT, oTTy, oD) { if (!oTT) { oTT = baseTweenTime; } if (!oTTy) { oTTy = baseTweenType; } if (!oD) { oD = 0; } tgt.tintTo("0xFF0000", pct, oTT, oTTy, oD); } function alphaMe(tgt, val, oTT, oTTy, oD) { if (!oTT) { oTT = baseTweenTime; } if (!oTTy) { oTTy = null; } if (!oD) { oD = 0; } tgt.alphaTo(val, oTT, oTTy, oD); } function dimMe(tgt, val, oTT, oTTy, oD) { if (!oTT) { oTT = baseTweenTime; } if (!oTTy) { oTTy = null; } if (!oD) { oD = 0; } tgt.brightnessTo(val, oTT, oTTy, oD); } function buttonRoll(o, d) { alphaMe(o.rollMC, (d ? 100 : 0), 0.5); } com.mosesSupposes.fuse.ZigoEngine.simpleSetup(com.mosesSupposes.fuse.Shortcuts, com.mosesSupposes.fuse.PennerEasing, com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.FuseFMP); baseTweenTime = 1; baseTweenType = null; _global.stageWidth = 800; _global.stageHeight = 500; _global.stageFPS = 32; recipePDF = "assets/pdf/Marionette_recipe_cover.pdf"; linguiniDown = linguini._y; linguiniUp = linguiniDown - 210; xObj = ""; xRootNodeName = ""; xSource = ".xml"; ingredientList = [null, "basil", "butter", "crackers", "cream", "eggplant", "eggs", "flour", "garlic", "greenCan", "macaroni", "mustard", "oliveOil", "onions", "paprika", "parmesan", "pepper", "redBottle", "redPepper", "salt", "seeds", "sugar", "swiss", "tomatos", "zucchini"]; roundTimes = [null, 20, 40, 60]; roundBlackText = [null, {b:"Colette's", s:"Crepes"}, {b:"Remy's", s:"Macaroni & Cheese"}, {b:"Gusteau's", s:"Ratatouille"}]; roundIngredients = [[["cream", "eggplant", "eggs", "flour", "macaroni"], ["onions", "sugar", "basil", "salt"], ["pepper", "swiss", "butter", "paprika", "garlic"]], [["cream", "crackers", "sugar", "paprika", "macaroni"], ["tomatos", "basil", "eggplant", "salt", "pepper", "onions"], ["swiss", "flour", "butter", "seeds", "garlic"]], [["cream", "eggs", "zucchini", "tomatos", "flour", "mustard", "macaroni", "oliveOil"], ["crackers", "sugar", "basil", "seeds", "onions", "salt", "redBottle", "pepper", "eggplant"], ["swiss", "redPepper", "greenCan", "garlic", "paprika", "butter", "parmesan"]]]; recipeIngredients = [null, ["eggs", "cream", "flour", "sugar", "salt", "butter"], ["macaroni", "butter", "cream", "swiss", "crackers", "salt", "pepper", "paprika"], ["eggplant", "oliveOil", "onions", "redPepper", "garlic", "zucchini", "tomatos", "salt", "pepper", "parmesan", "basil"]]; linguiniData = {leftArm_maxRot:20, leftArm_minRot:335, leftArm_maxDist:430, leftArm_minDist:248, rightArm_maxRot:30, rightArm_minRot:325, rightArm_maxDist:410, rightArm_minDist:230}; followRange = 100; followSteps = 8; armDrop = 200; armScale = 50; gameRound = 0; function xmlLoaded() { _root.xmlBase = xmlDataContainer[xB][xPN]; xmlIsLoaded = true; if (siteIsLoaded) { init(); } } function siteLoaded() { siteIsLoaded = init; if (xmlIsLoaded) { nextFrame(); } } function resolveAngle(n) { return(((n >= 360) ? (n - 360) : (((n < 0) ? (n + 360) : (n))))); } function mouseDistanceAngle(mc) { var _local1 = {x:handTarget._x, y:handTarget._y}; mc._parent.globalToLocal(_local1); var _local2 = new Object(); _local2.rot = resolveAngle(Math.round((Math.atan2(_local1.y - mc._y, _local1.x - mc._x) * 180) / Math.PI) + 90); _local2.dist = Math.round(Math.sqrt(Math.pow(_local1.x - mc._x, 2) + Math.pow(_local1.y - mc._y, 2))); return(_local2); } function findIngredientFrame(n) { var _local1 = 0; while (_local1 < ingredientList.length) { if (ingredientList[_local1] == n) { return(_local1 + 1); } _local1++; } return(-1); } function checkIngredient(clp) { trace("check " + clp); removeMovieClip(clp); for (var _local3 in cRoundIngredientClips) { trace((cRoundIngredientClips[_local3] + "==") + clp); if (cRoundIngredientClips[_local3] == clp) { trace("found"); var _local2 = cRoundIngredientClips.splice(_local3, 1); redPanel.iCount.text = cRoundIngredientClips.length; if (cRoundIngredientClips.length == 0) { endRound(true); } else { playSound("c" + Math.ceil(Math.random() * 4)); } return(true); } } redPanel.clock.assessPenalty(); playSound("m" + Math.ceil(Math.random() * 4)); return(false); } function emptyShelves() { lTgts = [topShelf, middleShelf, bottomShelf]; for (var _local2 in lTgts) { for (var _local1 in lTgts[_local2]) { if (typeof(lTgts[_local2][_local1]) == "movieclip") { removeMovieClip(lTgts[_local2][_local1]); } } } } function stockShelves(r) { var _local5; var _local10; var _local8; var _local4; var _local1; var _local3; var _local2; var _local6; var _local7; fullWidth = 500; dTime = 0; tTime = 0.4; _local5 = roundIngredients[gameRound - 1]; _local10 = [topShelf, middleShelf, bottomShelf]; cRoundIngredientClips = new Array(); emptyShelves(); _local4 = 0; while (_local4 < 3) { _local3 = _local10[_local4]; iWidth = 0; _local1 = 0; while (_local1 < _local5[_local4].length) { _local2 = _local3.attachMovie("ingredient", "i" + _local1, _local3.getNextHighestDepth()); _local2.myIName = _local5[_local4][_local1]; _local2.iB.gotoAndStop(findIngredientFrame(_local2.myIName)); iWidth = iWidth + _local2._width; for (_local8 in cRoundIngredients) { if (cRoundIngredients[_local8] == _local2.myIName) { cRoundIngredientClips.push(_local2); break; } } _local1++; } _local6 = Math.round((fullWidth - iWidth) / _local5[_local4].length); var _local9 = Math.round((iWidth + (_local6 * (_local5[_local4].length - 1))) / 2); _local1 = 1; while (_local1 < _local5[_local4].length) { _local7 = (_local3["i" + (_local1 - 1)]._x + _local3["i" + (_local1 - 1)]._width) + _local6; _local2 = _local3["i" + _local1]; _local2._x = _local7; _local1++; } dTime = dTime + 0.2; _local3._x = _local3.x0 + Math.round((fullWidth - _local3._width) / 2); _local4++; } } function moveRemy(v, h) { if ((v != "n") && (h != "n")) { linguini.remy.gotoAndStop(v + h); } } function currentShelf() { return(((crosshairs._y < topShelf._y) ? (topShelf) : (((crosshairs._y < middleShelf._y) ? (middleShelf) : (bottomShelf))))); } function glowItem(mc, w) { if (w) { mc.nextFrame(); var _local2 = mc._totalframes; } else { mc.prevFrame(); var _local2 = 1; } frameMe(mc, _local2, 0.5); } function checkMouseOvers() { var _local2 = [topShelf, middleShelf, bottomShelf]; var _local3 = currentShelf(); var _local5 = ((lastArm == "left") ? (linguini.leftArm) : (((lastArm == "right") ? (linguini.rightArm) : null))); if (_local5) { var _local6 = false; for (var _local1 in _local3) { if (typeof(_local3[_local1]) == "movieclip") { iHit = _local5.fingerTip.hitTest(_local3[_local1]); if (iHit) { currentIngredient = _local3[_local1]; _local6 = true; } if (iHit && (_local3[_local1]._currentframe == 1)) { glowItem(_local3[_local1], true); } else if ((!iHit) && (_local3[_local1]._currentframe == _local3[_local1]._totalframes)) { glowItem(_local3[_local1], false); } } } if (!_local6) { currentIngredient = null; } } for (var _local1 in _local2) { if (_local2[_local1] != _local3) { for (var _local4 in _local2[_local1]) { if (_local2[_local1][_local4]._currentframe == _local2[_local1][_local4]._totalframes) { _local2[_local1][_local4].gotoAndStop(_local2[_local1][_local4]._totalframes - 1); frameMe(_local2[_local1][_local4], 1, 0.5); } } } } fingerItem = currentIngredient; } function checkClick() { if ((overShelves && (gameOn)) && (fingerItem)) { checkIngredient(fingerItem); } } function moveArms() { var _local1 = 10; crosshairs._x = _xmouse; crosshairs._y = _ymouse; var _local3 = ((crosshairs._x > (handTarget._x + 1)) ? "r" : (((crosshairs._x < (handTarget._x - 1)) ? "l" : "n"))); var _local5 = ((crosshairs._y > (handTarget._y + 1)) ? "d" : (((crosshairs._y < (handTarget._y - 1)) ? "u" : "n"))); moveRemy(_local5, _local3); xspace = (crosshairs._x - handTarget._x) / _local1; yspace = (crosshairs._y - handTarget._y) / _local1; if (Math.abs(xspace) > 0) { handTarget._x = handTarget._x + xspace; } if (Math.abs(yspace) > 0) { handTarget._y = handTarget._y + yspace; } if ((handTarget._y > bottomCenter._y) || (handTarget._y < topCenter._y)) { overShelves = false; armNow = "none"; glowItem(currentIngredient, false); currentIngredient = null; crosshairs._alpha = 0; Mouse.show(); } else if ((handTarget._x > topCenter._x) && (handTarget._x < topRight._x)) { overShelves = true; armNow = "right"; linguini.rightArm.moveMe(); crosshairs._alpha = 100; Mouse.hide(); } else if ((handTarget._x < topCenter._x) && (handTarget._x > topLeft._x)) { overShelves = true; armNow = "left"; linguini.leftArm.moveMe(); crosshairs._alpha = 100; Mouse.hide(); } else { overShelves = false; armNow = "none"; glowItem(currentIngredient, false); currentIngredient = null; crosshairs._alpha = 0; Mouse.show(); } if (lastArm != armNow) { if (armNow == "left") { var _local4 = linguini.leftArm.y0; var _local6 = linguini.leftArm.s0; var _local7 = linguini.rightArm.y0 + armDrop; var _local2 = 50; } else if (armNow == "right") { var _local4 = linguini.leftArm.y0 + armDrop; var _local6 = 50; var _local7 = linguini.rightArm.y0; var _local2 = linguini.rightArm.s0; } else { var _local4 = linguini.leftArm.y0 + armDrop; var _local6 = 50; var _local7 = linguini.rightArm.y0 + armDrop; var _local2 = 50; } morphArm(linguini.leftArm, _local4, _local6, 0.7); morphArm(linguini.rightArm, _local7, _local2, 0.7); } lastArm = armNow; checkMouseOvers(); } function startArmTracking() { this.onEnterFrame = function () { if (gameOn) { moveArms(); } }; } function calculateArmFrame(obj, dist) { return(Math.round(Math.max(1, Math.min(100, ((dist - obj.minDist) * 100) / obj.range)))); } function prepLinguini() { linguini.leftArm.s0 = linguini.leftArm._yscale; linguini.leftArm._yscale = armScale; linguini.leftArm.y0 = linguini.leftArm._y; linguini.leftArm._y = linguini.leftArm._y + armDrop; linguini.leftArm.minRot = linguiniData.leftArm_minRot; linguini.leftArm.maxRot = linguiniData.leftArm_maxRot; linguini.leftArm.minDist = linguiniData.leftArm_minDist; linguini.leftArm.range = linguiniData.leftArm_maxDist - linguiniData.leftArm_minDist; linguini.rightArm.s0 = linguini.rightArm._yscale; linguini.rightArm._yscale = armScale; linguini.rightArm.y0 = linguini.rightArm._y; linguini.rightArm._y = linguini.rightArm._y + armDrop; linguini.rightArm.minRot = linguiniData.rightArm_maxRot; linguini.rightArm.maxRot = linguiniData.rightArm_maxRot; linguini.rightArm.minDist = linguiniData.rightArm_minDist; linguini.rightArm.range = linguiniData.rightArm_maxDist - linguiniData.rightArm_minDist; linguini.leftArm.moveMe = (linguini.rightArm.moveMe = function () { var _local2 = this._parent._parent.mouseDistanceAngle(this); _local2.rot = (((_local2.rot < this.minRot) && (_local2.rot >= 180)) ? (this.minRot) : ((((_local2.rot > this.maxRot) && (_local2.rot < 180)) ? (this.maxRot) : (_local2.rot)))); this._rotation = _local2.rot; var _local3 = this._parent._parent.calculateArmFrame(this, _local2.dist); if (this._currentframe != _local3) { this.gotoAndStop(_local3); } }); } function setButtonRO(o, s) { o.enabled = s; o.rollMC._alpha = 0; if (s) { o.onRollOver = function () { _root.buttonRoll(this, true); }; o.onRollOut = (o.onReleaseOutside = function () { _root.buttonRoll(this, false); }); } } function beginRound(n) { turnGameOn(); crosshairs._alpha = 100; startArmTracking(); slideMeY(linguini, linguini.yUp, 0.7); redPanel.clock.initTimer(roundTimes[gameRound]); redPanel.clock.startTimer(); enableHints(true); redPanel.helpMe._visible = true; stopSounds(); playSound("inRound", 10); } function initRound(n) { cRoundIngredients = new Array(); for (var _local1 in recipeIngredients[gameRound]) { cRoundIngredients.push(recipeIngredients[gameRound][_local1]); } stockShelves(gameRound); remainingIngs = (redPanel.iCount.text = recipeIngredients[gameRound].length); clockGoTo(redPanel.clock, 1); blackPanel.lev.text = "Level #" + gameRound; blackPanel.big.text = roundBlackText[gameRound].b; blackPanel.small.text = roundBlackText[gameRound].s; if (blackPanel._y != blackPanel.yUp) { slideMeY(blackPanel, blackPanel.yUp, 0.5, "easeOutBack"); slideMeY(redPanel, redPanel.yUp, 0.5, "easeOutBack"); } roundIntro.gotoAndPlay(2); enableHints(false); } function startNextRound() { initRound(gameRound); } function getRecipes() { getURL ("javascript: pop('marionette_pdf');"); } function endRound(advance) { Mouse.show(); emptyShelves(); turnGameOff(); crosshairs._alpha = 0; slideMeY(linguini, linguini.yDown, 0.7); slideMeY(blackPanel, blackPanel.yDown, 0.5, "easeOutBack"); slideMeY(redPanel, redPanel.yDown, 0.5, "easeOutBack"); _root.slideMeY(_root.buddies, _root.buddies.yDown, 0.7, null, 0.5); var _local2 = (advance ? ((((++gameRound) > 3) ? "winner" : "nextLevel")) : "loser"); messages.gotoAndStop(_local2); redPanel.clock.pauseTimer(); slideMeY(messages, messages.yDown, 0.7, "easeOutBack", 0.5); slideMeY(buddies, buddies.yUp, 0.7, null, 0.5); redPanel.helpMe._visible = false; stopSounds(); if ((_local2 == "winner") || (_local2 == "loser")) { playSound(_local2); } else { playSound("end" + Math.ceil(Math.random() * 4)); } playSound("soundtrack", 100); } function turnGameOn() { gameOn = true; blackPanel.helpMe._visible = false; } function turnGameOff() { gameOn = false; blackPanel.helpMe._visible = false; } function restartGame() { hints = [null, true, true]; gameRound = 1; initRound(gameRound); } function enableHints(b) { if (b) { redPanel.hint1.enabled = hints[1]; redPanel.hint2.enabled = hints[2]; if (hints[1]) { dimMe(redPanel.hint1, 0, 0.5); } if (hints[2]) { dimMe(redPanel.hint2, 0, 0.5); } } else { redPanel.hint1.enabled = (redPanel.hint2.enabled = b); dimMe(redPanel.hint1, -75, 0.5); dimMe(redPanel.hint2, -75, 0.5); } } function showInstructions() { enableHints(false); pauseTimer(); turnGameOff(); messages.gotoAndStop("instructions"); slideMeY(messages, messages.yDown, 0.7, "easeOutBack", 0.5); redPanel.helpMe._visible = false; } function hideHint() { enableHints(true); turnGameOn(); startTimer(); hintBTN._alpha = (hintBTN._visible = 0); slideMeY(linguini, linguini.yUp, 0.7); for (var _local1 in cRoundIngredientClips) { tintMe(cRoundIngredientClips[_local1], 0, 0.7); } slideMeY(messages, messages.yUp, 0.7, "easeOutBack", 0.5); redPanel.helpMe._visible = true; } function displayHint(n) { handTarget._x = 1; redPanel.hint1.enabled = (redPanel.hint2.enabled = (hints[n] = false)); redPanel["hint" + n].rollMC._alpha = 0; dimMe(redPanel["hint" + n], -75, 0.5); for (var _local1 in cRoundIngredientClips) { tintMe(cRoundIngredientClips[_local1], 50, 1); } slideMeY(linguini, linguini.yDown, 1); hintBTN._alpha = 0; hintBTN._visible = true; alphaMe(hintBTN, 100, 0.5, null, 0.4); pauseTimer(); turnGameOff(); } function buildFramework() { slideMeXY(siteLogo, siteLogo.xN, siteLogo.yN, 0.7, "easeOutBack"); slideMeY(gameLogo, gameLogo.yDown, 0.7, "easeOutBack"); slideMeY(messages, messages.yDown, 0.7, "easeOutBack", 0.5); slideMeX(soundControl, soundControl.xRight, 0.7, "easeOutBack", 0.5); slideMeY(buddies, buddies.yUp, 0.7, null, 0.5); } function clockGoTo(i, f) { i.gotoAndStop(f); i.clockBlack.gotoAndStop(f); } function clockTweenTo(i, f) { trace((("tween " + i) + " to ") + f); frameMe(i, f * 10, 1); frameMe(i.clockBlack, f * 10, 1); } function startTimer() { redPanel.clock.startTimer(); } function pauseTimer() { redPanel.clock.pauseTimer(); } function init() { buildFramework(); topShelf.x0 = topShelf._x; middleShelf.x0 = middleShelf._x; bottomShelf.x0 = bottomShelf._x; prepLinguini(); setButtonRO(closeBtn, true); closeBtn.onRelease = function () { getURL ("javascript:window.close();"); }; var _local2 = new Object(); _local2.onMouseDown = function () { _root.checkClick(); }; Mouse.addListener(_local2); } _global.getMCLoadPCT = function (clp) { var _local1 = clp; return(((_local1.getBytesLoaded() > 50) ? (_local1.getBytesLoaded() / _local1.getBytesTotal()) : 1)); }; clockGoTo(plClock, plClock._totalframes); stop();
Instance of Symbol 115 MovieClip "plClock" in Frame 1
onClipEvent (load) { lPCT = 1; this.onEnterFrame = function () { var _local4 = getMCLoadPCT(_root); cFrame = this._totalframes - Math.round(this._totalframes * _local4); if (cFrame <= 1) { this._parent.play(); delete this.onEnterFrame; } _parent.clockGoTo(this, cFrame); }; }
Instance of Symbol 123 MovieClip "siteLogo" in Frame 1
onClipEvent (load) { this.x0 = this._x; this.xN = this.x0 - 280; this.y0 = this._y; this.yN = this.y0 - 130; }
Instance of Symbol 133 MovieClip "soundControl" in Frame 2
onClipEvent (load) { this.xLeft = this._x; this.xRight = this.xLeft + 40; }
Instance of Symbol 157 MovieClip "redPanel" in Frame 2
onClipEvent (load) { this.yDown = this._y; this.yUp = this.yDown - 300; }
Instance of Symbol 164 MovieClip "blackPanel" in Frame 2
onClipEvent (load) { this.yDown = this._y; this.yUp = this.yDown - 360; }
Instance of Symbol 211 MovieClip "linguini" in Frame 2
onClipEvent (load) { this.yDown = this._y; this.yUp = this.yDown - 400; }
Instance of Symbol 215 MovieClip "buddies" in Frame 2
onClipEvent (load) { this.yDown = this._y; this.yUp = this.yDown - this._height; }
Instance of Symbol 270 MovieClip "messages" in Frame 2
onClipEvent (load) { this.yUp = this._y; this.yDown = this.yUp + 270; }
Instance of Symbol 273 MovieClip "gameLogo" in Frame 2
onClipEvent (load) { this.yUp = this._y; this.yDown = this.yUp + 80; }
Frame 3
init(); playSound("gameStart"); setTimeout(function () { playSound("soundtrack", 1500); }, 1000); stop();
Symbol 21 MovieClip [trafficCop] Frame 1
#initclip 14 Object.registerClass("trafficCop", getURLManager); #endinitclip
Symbol 97 MovieClip Frame 1
stop();
Symbol 98 MovieClip [ingredient] Frame 1
stop();
Symbol 108 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 1
stop();
Symbol 120 MovieClip Frame 1
var preRelease = "In Theaters June 29"; var postRelease = "In Theaters Now"; var today = new Date(); var avail = new Date(2007, 5, 29); rDate.text = ((today >= avail) ? (postRelease) : (preRelease));
Symbol 277 MovieClip [__Packages.XML2] Frame 0
class XML2 extends XML { var ignoreWhite, contentType, tmp_timeoutID, dispatchEvent, status; function XML2 (p_xml) { super(p_xml); ignoreWhite = true; contentType = "text/xml"; mx.events.EventDispatcher.initialize(this); } function load(p_url) { setTimeout(); super.load(p_url, "POST"); } function sendAndLoad(p_url, p_targetXML) { setTimeout(); super.sendAndLoad(p_url, p_targetXML, "POST"); } function setTimeout() { clearTimeout(); tmp_timeoutID = setInterval(this, "onTimeout", timeout); } function clearTimeout() { clearInterval(tmp_timeoutID); delete tmp_timeoutID; } function onLoad(p_success) { if (!tmp_timeoutID) { return(undefined); } clearTimeout(); dispatchEvent({target:this, type:"load", success:p_success}); } function onTimeout() { clearTimeout(); status = -100; dispatchEvent({target:this, type:"load", success:false}); } var timeout = 7000; }
Symbol 278 MovieClip [__Packages.mx.events.EventDispatcher] Frame 0
class mx.events.EventDispatcher { function EventDispatcher () { } static function _removeEventListener(queue, event, handler) { if (queue != undefined) { var _local4 = queue.length; var _local1; _local1 = 0; while (_local1 < _local4) { var _local2 = queue[_local1]; if (_local2 == handler) { queue.splice(_local1, 1); return(undefined); } _local1++; } } } static function initialize(object) { if (_fEventDispatcher == undefined) { _fEventDispatcher = new mx.events.EventDispatcher(); } object.addEventListener = _fEventDispatcher.addEventListener; object.removeEventListener = _fEventDispatcher.removeEventListener; object.dispatchEvent = _fEventDispatcher.dispatchEvent; object.dispatchQueue = _fEventDispatcher.dispatchQueue; } function dispatchQueue(queueObj, eventObj) { var _local7 = "__q_" + eventObj.type; var _local4 = queueObj[_local7]; if (_local4 != undefined) { var _local5; for (_local5 in _local4) { var _local1 = _local4[_local5]; var _local3 = typeof(_local1); if ((_local3 == "object") || (_local3 == "movieclip")) { if (_local1.handleEvent != undefined) { _local1.handleEvent(eventObj); } if (_local1[eventObj.type] != undefined) { if (exceptions[eventObj.type] == undefined) { _local1[eventObj.type](eventObj); } } } else { _local1.apply(queueObj, [eventObj]); } } } } function dispatchEvent(eventObj) { if (eventObj.target == undefined) { eventObj.target = this; } this[eventObj.type + "Handler"](eventObj); dispatchQueue(this, eventObj); } function addEventListener(event, handler) { var _local3 = "__q_" + event; if (this[_local3] == undefined) { this[_local3] = new Array(); } _global.ASSetPropFlags(this, _local3, 1); _removeEventListener(this[_local3], event, handler); this[_local3].push(handler); } function removeEventListener(event, handler) { var _local2 = "__q_" + event; _removeEventListener(this[_local2], event, handler); } static var _fEventDispatcher = undefined; static var exceptions = {move:1, draw:1, load:1}; }
Symbol 279 MovieClip [__Packages.XML2Object] Frame 0
class XML2Object extends XML { var oXML; function XML2Object () { super(); } function get xml() { return(oXML); } function parseXML(sFile) { oResult = new Object(); oXML = sFile; oResult = translateXML(); return(oResult); } function translateXML(from, path, name, position) { var _local2; var _local9; var _local4; var _local10; if (path == undefined) { path = this; name = "oResult"; } path = path[name]; if (from == undefined) { from = new XML(xml.toString()); from.ignoreWhite = true; } if (from.hasChildNodes()) { _local9 = from.childNodes; if (position != undefined) { _local10 = path; path = path[position]; } while (_local9.length > 0) { _local4 = _local9.shift(); _local2 = _local4.nodeName.split("-").join("_"); if (_local2 != undefined) { var _local5 = new Object(); _local5.attributes = _local4.attributes; _local5.data = _local4.firstChild.nodeValue; if (position != undefined) { _local10 = path; } if (path[_local2] != undefined) { if (path[_local2].__proto__ == Array.prototype) { path[_local2].push(_local5); name = _local4.nodeName; position = path[_local2].length - 1; } else { var _local8 = path[_local2]; path[_local2] = new Array(); path[_local2].push(_local8); path[_local2].push(_local5); name = _local2; position = path[_local2].length - 1; } } else { path[_local2] = _local5; name = _local2; position = undefined; } } if (_local4.hasChildNodes()) { translateXML(_local4, path, name, position); } } } return(oResult); } var oResult = new Object(); }
Symbol 280 MovieClip [__Packages.com.mosesSupposes.fuse.Shortcuts] Frame 0
class com.mosesSupposes.fuse.Shortcuts { function Shortcuts () { } static function initialize() { if (shortcuts == null) { initShortcuts(); } } static function doShortcut(obj, methodName) { initialize(); var _local5 = shortcuts[methodName]; if (_local5 == undefined) { if (typeof(obj) == "movieclip") { _local5 = mcshortcuts[methodName]; } } if (_local5 == undefined) { return(null); } obj = arguments.shift(); methodName = String(arguments.shift()); if (!(obj instanceof Array)) { obj = [obj]; } var _local3 = ""; for (var _local6 in obj) { var _local2 = String(_local5.apply(obj[_local6], arguments)); if ((_local2 != null) && (_local2.length > 0)) { if (_local3.length > 0) { _local3 = (_local2 + "|") + _local3; } else { _local3 = _local2; } } } return(((_local3 == "") ? null : (_local3))); } static function addShortcutsTo() { initialize(); var _local5 = function (o, so) { for (var _local5 in so) { var _local2 = so[_local5]; if (_local2.getter || (_local2.setter)) { o.addProperty(_local5, _local2.getter, _local2.setter); _global.ASSetPropFlags(o, _local5, 3, 1); } else { o[_local5] = _local2; _global.ASSetPropFlags(o, _local5, 7, 1); } } }; for (var _local7 in arguments) { var _local4 = arguments[_local7]; if ((_local4 == MovieClip.prototype) || (typeof(_local4) == "movieclip")) { _local5(_local4, mcshortcuts); } _local5(_local4, shortcuts); } } static function removeShortcutsFrom() { initialize(); var _local5 = function (o, so) { for (var _local5 in so) { _global.ASSetPropFlags(o, _local5, 0, 2); var _local2 = so[_local5]; if (_local2.getter || (_local2.setter)) { o.addProperty(_local5, null, null); } delete o[_local5]; } }; for (var _local7 in arguments) { var _local3 = arguments[_local7]; if ((_local3 == MovieClip.prototype) || (typeof(_local3) == "movieclip")) { _local5(_local3, mcshortcuts); } _local5(_local3, shortcuts); } } static function parseStringTypeCallback(callbackStr) { var evaluate = function (val) { var first = val.charAt(0); if ((first == val.slice(-1)) && ((first == "\"") || (first == "'"))) { return(val.slice(1, -1)); } if (val == "true") { return(Object(true)); } if (val == "false") { return(Object(false)); } if (val == "null") { return(Object(null)); } if (_global.isNaN(Number(val)) == false) { return(Object(Number(val))); } return(Object(eval (val))); }; var trimWhite = function (str) { while (str.charAt(0) == " ") { str = str.slice(1); } while (str.slice(-1) == " ") { str = str.slice(0, -1); } return(str); }; var evaluateList = function (list) { var _local11 = []; var _local4 = 0; while (_local4 < list.length) { var _local3 = list[_local4]; _local3 = trimWhite(_local3); var _local5 = (_local3.charAt(0) == "{") && ((_local3.indexOf("}") > -1) || (_local3.indexOf(":") > -1)); var _local10 = _local3.charAt(0) == "["; if ((_local5 || (_local10)) == true) { var _local6 = ((_local5 == true) ? ({}) : ([])); var _local2 = _local4; while (_local2 < list.length) { if (_local2 == _local4) { _local3 = _local3.slice(1); } var _local1; var _local8 = (_local1.slice(-1) == ((_local5 == true) ? "}" : "]")) || (_local2 == (list.length - 1)); if (_local8 == true) { _local1 = _local1.slice(0, -1); } if ((_local5 == true) && (_local1.indexOf(":") > -1)) { var _local7 = _local1.split(":"); _local6[trimWhite(_local7[0])] = evaluate(trimWhite(_local7[1])); } else if (_local10 == true) { _local6.push(evaluate(trimWhite(_local1))); } if (_local8 == true) { _local11.push(_local6); _local4 = _local2; break; } _local2++; } } else { _local11.push(evaluate(trimWhite(_local3))); } _local4++; } return(_local11); }; var parts = callbackStr.split("("); var p0 = parts[0]; var p1 = parts[1]; return({func:p0.slice(p0.lastIndexOf(".") + 1), scope:eval (p0.slice(0, p0.lastIndexOf("."))), args:evaluateList(p1.slice(0, p1.lastIndexOf(")")).split(","))}); } static function initShortcuts() { shortcuts = new Object(); var methods = {alphaTo:"_alpha", scaleTo:"_scale", sizeTo:"_size", rotateTo:"_rotation", brightnessTo:"_brightness", brightOffsetTo:"_brightOffset", contrastTo:"_contrast", colorTo:"_tint", tintPercentTo:"_tintPercent", colorResetTo:"_colorReset", invertColorTo:"_invertColor"}; var _local4 = _global.com.mosesSupposes.fuse.FuseFMP.getAllShortcuts(); var _local7 = {blur:1, blurX:1, blurY:1, strength:1, shadowAlpha:1, highlightAlpha:1, angle:1, distance:1, alpha:1, color:1}; for (var _local9 in _local4) { if (_local7[_local4[_local9].split("_")[1]] === 1) { methods[_local4[_local9] + "To"] = _local4[_local9]; } } var _local8 = {__resolve:function (name) { var propName = methods[name]; return(function () { var _local4 = _global.com.mosesSupposes.fuse.ZigoEngine.doTween.apply(com.mosesSupposes.fuse.ZigoEngine, new Array(this, propName).concat(arguments)); return(_local4); }); }}; var _local5 = {__resolve:function (name) { var _local3 = {setter:function (v) { _global.com.mosesSupposes.fuse.ZigoEngine.doTween(this, ((name == "_tintString") ? "_tint" : (name)), v, 0); }}; switch (name) { case "_colorReset" : _local3.getter = function () { return(100 - _global.com.mosesSupposes.fuse.ZigoEngine.getColorKeysObj(this).tintPercent); }; break; case "_colorTransform" : _local3.getter = function () { return(Color(new Color(this)).getTransform()); }; break; case "_fade" : _local3.getter = function () { return(this._alpha); }; break; case "_size" : _local3.getter = function () { return(((this._width == this._height) ? (this._width) : null)); }; break; case "_scale" : _local3.getter = function () { return(((this._xscale == this._yscale) ? (this._xscale) : null)); }; break; default : _local3.getter = function () { return(_global.com.mosesSupposes.fuse.ZigoEngine.getColorKeysObj(this)[name.slice(1)]); }; } return(_local3); }}; for (var _local9 in methods) { shortcuts[_local9] = _local8[_local9]; if ((_local9 != "alphaTo") && (_local9 != "rotateTo")) { shortcuts[methods[_local9]] = _local5[methods[_local9]]; } } shortcuts._tintString = _local5._tintString; shortcuts._colorTransform = _local5._colorTransform; shortcuts._fade = _local5._fade; shortcuts.tween = function (props, endVals, seconds, ease, delay, callback) { if ((arguments.length == 1) && (typeof(props) == "object")) { return(com.mosesSupposes.fuse.ZigoEngine.doTween({target:this, action:props})); } return(com.mosesSupposes.fuse.ZigoEngine.doTween(this, props, endVals, seconds, ease, delay, callback)); }; shortcuts.removeTween = (shortcuts.stopTween = function (props) { com.mosesSupposes.fuse.ZigoEngine.removeTween(this, props); }); shortcuts.removeAllTweens = (shortcuts.stopAllTweens = function () { com.mosesSupposes.fuse.ZigoEngine.removeTween("ALL"); }); shortcuts.isTweening = function (prop) { return(com.mosesSupposes.fuse.ZigoEngine.isTweening(this, prop)); }; shortcuts.getTweens = function () { return(com.mosesSupposes.fuse.ZigoEngine.getTweens(this)); }; shortcuts.lockTween = function () { com.mosesSupposes.fuse.ZigoEngine.lockTween(this, true); }; shortcuts.unlockTween = function () { com.mosesSupposes.fuse.ZigoEngine.lockTween(this, false); }; shortcuts.isTweenLocked = function () { return(com.mosesSupposes.fuse.ZigoEngine.isTweenLocked(this)); }; shortcuts.isTweenPaused = function (prop) { return(com.mosesSupposes.fuse.ZigoEngine.isTweenPaused(this, prop)); }; shortcuts.pauseTween = function (props) { com.mosesSupposes.fuse.ZigoEngine.pauseTween(this, props); }; shortcuts.resumeTween = (shortcuts.unpauseTween = function (props) { com.mosesSupposes.fuse.ZigoEngine.unpauseTween(this, props); }); shortcuts.pauseAllTweens = function () { com.mosesSupposes.fuse.ZigoEngine.pauseTween("ALL"); }; shortcuts.resumeAllTweens = (shortcuts.unpauseAllTweens = function () { com.mosesSupposes.fuse.ZigoEngine.unpauseTween("ALL"); }); shortcuts.ffTween = function (props) { com.mosesSupposes.fuse.ZigoEngine.ffTween(this, props); }; shortcuts.rewTween = function (props, suppressStartEvents) { com.mosesSupposes.fuse.ZigoEngine.rewTween(this, props, false, suppressStartEvents); }; shortcuts.rewAndPauseTween = function (props, suppressStartEvents) { com.mosesSupposes.fuse.ZigoEngine.rewTween(this, props, true, suppressStartEvents); }; shortcuts.skipTweenTo = function (seconds, props) { com.mosesSupposes.fuse.ZigoEngine.skipTweenTo(seconds, this, props); }; shortcuts.bezierTo = function (destX, destY, controlX, controlY, seconds, ease, delay, callback) { return(com.mosesSupposes.fuse.ZigoEngine.doTween(this, "_bezier_", {x:destX, y:destY, controlX:controlX, controlY:controlY}, seconds, ease, delay, callback)); }; shortcuts.colorTransformTo = function (ra, rb, ga, gb, ba, bb, aa, ab, seconds, ease, delay, callback) { return(com.mosesSupposes.fuse.ZigoEngine.doTween(this, "_colorTransform", {ra:ra, rb:rb, ga:ga, gb:gb, ba:ba, bb:bb, aa:aa, ab:ab}, seconds, ease, delay, callback)); }; shortcuts.tintTo = function (rgb, percent, seconds, ease, delay, callback) { return(com.mosesSupposes.fuse.ZigoEngine.doTween(this, "_tint", {tint:rgb, percent:percent}, seconds, ease, delay, callback)); }; shortcuts.slideTo = function (destX, destY, seconds, ease, delay, callback) { return(com.mosesSupposes.fuse.ZigoEngine.doTween(this, "_x,_y", [destX, destY], seconds, ease, delay, callback)); }; shortcuts.fadeIn = function (seconds, ease, delay, callback) { return(com.mosesSupposes.fuse.ZigoEngine.doTween(this, "_fade", 100, seconds, ease, delay, callback)); }; shortcuts.fadeOut = function (seconds, ease, delay, callback) { return(com.mosesSupposes.fuse.ZigoEngine.doTween(this, "_fade", 0, seconds, ease, delay, callback)); }; mcshortcuts = new Object(); mcshortcuts._frame = {getter:function () { return(this._currentframe); }, setter:function (v) { this.gotoAndStop(Math.round(v)); }}; mcshortcuts.frameTo = function (endframe, seconds, ease, delay, callback) { return(com.mosesSupposes.fuse.ZigoEngine.doTween(this, "_frame", ((endframe != undefined) ? (endframe) : (this._totalframes)), seconds, ease, delay, callback)); }; } static var registryKey = "shortcuts"; static var shortcuts = null; static var mcshortcuts = null; }
Symbol 281 MovieClip [__Packages.com.mosesSupposes.fuse.FuseKitCommon] Frame 0
class com.mosesSupposes.fuse.FuseKitCommon { static var logOutput; function FuseKitCommon () { } static function _cts() { return("|_tint|_tintPercent|_brightness|_brightOffset|_contrast|_invertColor|_colorReset|_colorTransform|"); } static function _resetTo100() { return("|_alpha|_contrast|_invertColor|_tintPercent|_xscale|_yscale|_scale|"); } static function _resetTo0() { return("|_brightness|_brightOffset|_colorReset|_rotation|"); } static function _underscoreable() { return(_cts() + "_frame|_x|_y|_xscale|_yscale|_scale|_width|_height|_size|_rotation|_alpha|_fade|_visible|"); } static function _cbprops() { return("|skipLevel|cycles|roundResults|extra1|extra2|func|scope|args|startfunc|startscope|startargs|updfunc|updscope|updargs|"); } static function _fuseEvents() { return("|onStart|onStop|onPause|onResume|onAdvance|onComplete|"); } static function _fuseprops() { return("|command|label|delay|event|eventparams|target|addTarget|trigger|startAt|ease|easing|seconds|duration|time|"); } static function _validateFuseCommand(c, inGroup, hasArg, outputLevel, simple) { var _local1 = false; var _local2 = false; switch (c) { case "start" : case "stop" : case "pause" : case "resume" : case "setStartProps" : if (inGroup != true) { _local1 = true; } break; case "delay" : case "trigger" : if (simple == true) { if (hasArg == true) { _local1 = true; } } else { _local2 = true; } inGroup = false; break; case "skipTo" : if (!((hasArg == true) && (inGroup != true))) { break; } _local1 = true; } if ((outputLevel > 0) && (_local1 == false)) { error("109", c, inGroup, _local2); } return(_local1); } static function output(s) { if (typeof(logOutput) == "function") { logOutput(s); } else { trace(s); } } static function error(errorCode) { var _local3 = arguments[1]; var _local4 = arguments[2]; var _local6 = arguments[3]; if (VERBOSE != true) { output(("[FuseKitCommon#" + errorCode) + "]"); return(undefined); } var _local2 = ""; var _local5 = newline; switch (errorCode) { case "001" : _local2 = _local2 + "** ERROR: When using simpleSetup to extend prototypes, you must pass the Shortcuts class. **"; _local2 = _local2 + (_local5 + " import com.mosesSupposes.fuse.*;"); _local2 = _local2 + ((_local5 + " ZigoEngine.simpleSetup(Shortcuts);") + _local5); break; case "002" : _local2 = _local2 + "** ZigoEngine.doShortcut: shortcuts missing. Use the setup commands: import com.mosesSupposes.fuse.*; ZigoEngine.register(Shortcuts); **"; break; case "003" : _local2 = _local2 + ((_local5 + "*** Error: DO NOT use #include \"lmc_tween.as\" with this version of ZigoEngine! ***") + _local5); break; case "004" : _local2 = _local2 + (("** ZigoEngine.doTween - too few arguments [" + _local3) + "]."); if (Boolean(_local4) == true) { _local2 = _local2 + " If you are trying to use Object Syntax without Fuse, pass FuseItem in your register() or simpleSetup() call. **"; } else { _local2 = _local2 + " Object syntax call failed. **"; } break; case "005" : _local2 = _local2 + (((("** ZigoEngine.doTween - missing targets[" + _local3) + "] and/or props[") + _local4) + "] **"); break; case "006" : _local2 = _local2 + (("** Error: easing shortcut string not recognized (\"" + _local3) + "\"). You may need to pass the in PennerEasing class during register or simpleSetup. **"); break; case "007" : _local2 = _local2 + (((("- ZigoEngine: Target locked [" + _local3) + "], ignoring tween call [") + _local4) + "]"); break; case "008" : _local2 = _local2 + "** You must register the Shortcuts class in order to use easy string-type callback parsing. **"; break; case "009" : _local2 = _local2 + (("** ZigoEngine: A callback parameter \"" + _local3) + "\" was not recognized. **"); break; case "010" : _local2 = _local2 + ((((("** " + ((_local3 == true) ? "ZigoEngine" : "FuseItem")) + " unable to parse ") + ((_local4 == 1) ? "callback[" : (String(_local4) + " callbacks["))) + _local6) + "]. Try using the syntax {scope:this, func:\"myFunction\"} **"); break; case "011" : _local2 = _local2 + (((("- ZigoEngine: Callbacks discarded via skipLevel 2 option [" + _local3) + "|") + _local4) + "]."); break; case "012" : _local2 = _local2 + (((((("- Engine set props or ignored no-change tween on: " + _local3) + ", props passed:[") + _local4) + "], endvals passed:[") + _local6) + "]"); break; case "013" : _local2 = _local2 + (((((("- Engine added tween on:\n\ttargets:[" + _local3) + "]\n\tprops:[") + _local4) + "]\n\tendvals:[") + _local6) + "]"); break; case "014" : _local2 = _local2 + "** Error: easing function passed is not usable with this engine. Functions need to follow the Robert Penner model. **"; break; case "015" : _local2 = _local2 + "** Error: The CustomEasing class must be passed during setup (register or simpleSetup) to use custom easing Arrays. **"; break; case "016" : _local2 = _local2 + (("[ ZigoEngine.TIME_MULTIPLIER: " + String(Number(Number(_local3) * 100))) + "% ]"); break; case "101" : _local2 = _local2 + "** ERROR: Fuse simpleSetup was removed in version 2.0! **"; _local2 = _local2 + (_local5 + " You must now use the following commands:"); _local2 = _local2 + ((_local5 + _local5) + "\timport com.mosesSupposes.fuse.*;"); _local2 = _local2 + (_local5 + "\tZigoEngine.simpleSetup(Shortcuts, PennerEasing, Fuse);"); _local2 = _local2 + ((_local5 + "Note that PennerEasing is optional, and FuseFMP is also accepted. (FuseFMP.simpleSetup is run automatically if included.)") + _local5); break; case "102" : _local2 = _local2 + (((("** Fuse " + _local3) + " index or label not found (") + _local4) + ") or out of range. **"); break; case "103" : _local2 = _local2 + (((("** Fuse skipTo (" + _local3) + ") ignored - targets the current index (") + _local4) + "). **"); break; case "104" : _local2 = _local2 + (("** Fuse fastForward index out of play range (" + _local3) + ") - skipTo has been called instead. **"); break; case "105" : _local2 = _local2 + "** An unsupported Array method was called on Fuse. **"; break; case "106" : _local2 = _local2 + "** ERROR: You have not set up Fuse correctly. **"; _local2 = _local2 + (_local5 + "You must now use the following commands (PennerEasing is optional)."); _local2 = _local2 + (_local5 + "\timport com.mosesSupposes.fuse.*;"); _local2 = _local2 + ((_local5 + "\tZigoEngine.simpleSetup(Shortcuts, PennerEasing, Fuse);") + _local5); break; case "107" : _local2 = _local2 + "** Fuse :: id not found - Aborting open(). **"; break; case "108" : _local2 = _local2 + "** Fuse.startRecent: No recent Fuse found to start! **"; break; case "109" : _local2 = _local2 + (("** Command \"" + _local3) + "\" discarded. "); if (_local4 == true) { _local2 = _local2 + "Not allowed within a group. **"; } else if (_local6 == true) { _local2 = _local2 + (("Not supported in Object Syntax, use the " + _local3) + " property instead. **"); } else { _local2 = _local2 + "The command may be unrecognized or missing an argument. **"; } break; case "112" : _local2 = _local2 + "** Fuse: missing com.mosesSupposes.fuse.ZigoEngine! Cannot tween. **"; break; case "113" : _local2 = _local2 + "** FuseItem: A callback has been discarded. Actions with a command may only contain: label, delay, scope, args. **"; break; case "115" : _local2 = _local2 + ((_local3 + " overlapping prop discarded: ") + _local4); break; case "116" : _local2 = _local2 + ("** 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. **" + _local5); break; case "117" : _local2 = _local2 + (("** " + _local3) + ": infinite cycles are not allowed within Fuses - discarded. **"); break; case "118" : _local2 = _local2 + ((("** " + _local3) + ": No targets found!") + ((_local4 == true) ? " [Unable to set start props] **" : " [Skipping tween parameters in this action] **")); break; case "119" : _local2 = _local2 + ((((("** " + _local3) + ": ") + ((_local4 == 1) ? "" : (_local4 + " actions in the group"))) + " missing targets") + ((_local6 == true) ? " during setStartProps **" : " **")); break; case "120" : _local2 = _local2 + (((("** " + _local3) + ": conflict with \"") + _local4) + "\". Property might be doubled within a grouped-action array. **"); break; case "121" : _local2 = _local2 + "** Fuse timecode formatting requires \"00:\" formatting (example:\"01:01:33\" yields 61.33 seconds.) **"; break; case "122" : _local2 = _local2 + (("** Event \"" + _local3) + "\" reserved by Fuse. **"); break; case "123" : _local2 = _local2 + (("** A Fuse event parameter failed in " + _local3) + " **"); break; case "124" : _local2 = _local2 + (((("** " + _local3) + ": trigger:") + _local4) + " ignored - only one trigger is allowed per action **"); break; case "125" : _local2 = _local2 + (_local3 + " Warning - fastForward hit an item during its tween cycle, may malfunction."); break; case "201" : _local2 = _local2 + (("**** FuseFMP cannot initialize argument " + _local3) + " (BitmapFilters cannot be applied to this object type) ****"); break; case "202" : _local2 = _local2 + (((("** FuseFMP error: A " + _local3) + " could not be created for ") + _local4) + " **"); break; case "203" : _local2 = _local2 + (("** FuseFMP.setFilterProps - too few arguments passed (" + _local3) + ") - minimum 2 required. **"); break; case "204" : _local2 = _local2 + (("** FuseFMP.setFilterProps could not locate the filter passed. (" + _local3) + ") **"); } output(_local2); } static function parseCallback(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) { 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 = ++cbTicker; } if (prefix == "start") { validCBs.start.fired = false; } } } else if (_cbprops().indexOf(("|" + i) + "|") == -1) { error("009", i); } } if ((cbErrors.length > 0) && (outputLevel > 0)) { if (outputLevel > 0) { error("010", callerIsEngine, cbErrors.length, cbErrors.toString()); } } return(validCBs); } static var VERSION = "Fuse Kit 2.1.1 Copyright (c) 2006 Moses Gunesch, MosesSupposes.com under MIT Open Source License"; static var VERBOSE = true; static var ALL = "ALL"; static var ALLCOLOR = "ALLCOLOR"; static var cbTicker = 0; }
Symbol 282 MovieClip [__Packages.com.mosesSupposes.fuse.ZigoEngine] Frame 0
class com.mosesSupposes.fuse.ZigoEngine { static var extensions, updateTime, tweenHolder, instance, updateIntId; function ZigoEngine () { } static function addListener(handler) { AsBroadcaster.initialize(com.mosesSupposes.fuse.ZigoEngine); addListener(handler); } static function removeListener(handler) { } static function isPlaying() { return(_playing); } static function simpleSetup(shortcutsClass) { if (arguments.length > 0) { register.apply(com.mosesSupposes.fuse.ZigoEngine, arguments); } _global.ZigoEngine = com.mosesSupposes.fuse.ZigoEngine; if (extensions.fuse != undefined) { _global.Fuse = extensions.fuse; } if (extensions.fuseFMP != undefined) { extensions.fuseFMP.simpleSetup(); } initialize(MovieClip.prototype, Button.prototype, TextField.prototype); if (extensions.shortcuts == undefined) { com.mosesSupposes.fuse.FuseKitCommon.error("001"); } } static function register(classReference) { if (extensions == undefined) { extensions = {}; } var _local3 = "|fuse|fuseItem|fuseFMP|shortcuts|pennerEasing|customEasing|"; for (var _local4 in arguments) { var _local2 = arguments[_local4].registryKey; if ((extensions[_local2] == undefined) && (_local3.indexOf(("|" + _local2) + "|") > -1)) { extensions[_local2] = arguments[_local4]; if ((_local2 == "fuseFMP") || (_local2 == "shortcuts")) { Object(extensions[_local2]).initialize(); } } } } static function initialize(target) { if (arguments.length > 0) { initializeTargets.apply(com.mosesSupposes.fuse.ZigoEngine, arguments); if (extensions.shortcuts != undefined) { extensions.shortcuts.addShortcutsTo.apply(extensions.shortcuts, arguments); } } } static function deinitialize(target) { if ((arguments.length == 0) || (target == null)) { arguments.push(MovieClip.prototype, Button.prototype, TextField.prototype); } deinitializeTargets.apply(com.mosesSupposes.fuse.ZigoEngine, arguments); if (extensions.shortcuts != undefined) { extensions.shortcuts.removeShortcutsFrom.apply(extensions.shortcuts, arguments); } } static function getUpdateInterval() { return(updateTime); } static function setUpdateInterval(time) { if (_playing) { setup(true); updateTime = time; setup(); } else { updateTime = time; } } static function getControllerDepth() { return(tweenHolder.getDepth()); } static function setControllerDepth(depth) { if ((depth == null) || (_global.isNaN(depth) == true)) { depth = 6789; } if (Object(tweenHolder).proof != null) { tweenHolder.swapDepths(depth); } else { tweenHolder = _root.createEmptyMovieClip("ZigoEnginePulse", depth); } } static function doShortcut(targets, methodName) { if (extensions.shortcuts == undefined) { if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("002"); } return(null); } return(extensions.shortcuts.doShortcut.apply(extensions.shortcuts, arguments)); } static function doTween(targets, props, endvals, seconds, ease, delay, callback) { if (extensions.fuse.addBuildItem(arguments) == true) { return(null); } if (TIME_MULTIPLIER != prevTimeMult) { TIME_MULTIPLIER = Math.abs(TIME_MULTIPLIER); if (_global.isNaN(TIME_MULTIPLIER) == true) { TIME_MULTIPLIER = 1; } if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("016", TIME_MULTIPLIER); } prevTimeMult = TIME_MULTIPLIER; } if ((instance == undefined) || ((Object(tweenHolder).proof == undefined) && (updateTime == undefined))) { if ((MovieClip.prototype.tween != null) && (typeof(_global.$tweenManager) == "object")) { com.mosesSupposes.fuse.FuseKitCommon.error("003"); } instance = new com.mosesSupposes.fuse.ZManager(); _playing = false; } var _local4 = instance.paramsObj(targets, props, endvals); var _local7 = (((_local4.tg[0] == null) || (_local4.tg.length == 0)) ? undefined : (_local4.tg)); if (((_local4.pa == undefined) || (_local7 == undefined)) || (arguments.length < 3)) { if (((extensions.fuseItem != null) && (arguments.length == 1)) && (typeof(arguments[0]) == "object")) { return(extensions.fuseItem.doTween(arguments[0])); } if (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(extensions.fuseItem == null)); } else { com.mosesSupposes.fuse.FuseKitCommon.error("005", _local7.toString(), _local4.pa.toString()); } } return(null); } if (_playing != true) { setup(); } if ((seconds == null) || (_global.isNaN(seconds) == true)) { seconds = DURATION || 1; } else if (seconds < 0.01) { seconds = 0; } seconds = seconds * TIME_MULTIPLIER; if (((delay < 0.01) || (delay == null)) || (_global.isNaN(delay) == true)) { delay = 0; } delay = delay * TIME_MULTIPLIER; var _local12 = com.mosesSupposes.fuse.FuseKitCommon.parseCallback(callback, _local7, OUTPUT_LEVEL, true); var _local9; if (typeof(ease) == "function") { if (typeof(Function(ease).call(null, 1, 1, 1, 1)) == "number") { _local9 = Function(ease); } else if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("014", ease); } } else if ((ease == null) || (ease == "")) { if (EASING instanceof Function) { _local9 = Function(EASING); } else if (extensions.pennerEasing != undefined) { ease = EASING; } } if ((typeof(ease) == "string") && (ease != "")) { if (extensions.pennerEasing[ease] != undefined) { _local9 = extensions.pennerEasing[ease]; } else if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("006", ease); } } else if (ease instanceof Array) { if (extensions.customEasing != undefined) { _local12.extra1 = ease; if (typeof(ease[0]) == "number") { _local9 = extensions.customEasing.precalced; } else { _local9 = extensions.customEasing.fromCurve; } } else if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("015", ease); } } if (typeof(_local9) != "function") { _local9 = function (t, b, c, d) { t = (t / d) - 1; return((c * (((((t * t) * t) * t) * t) + 1)) + b); }; } var _local6 = ""; for (var _local13 in _local7) { var _local3 = _local7[_local13]; if (_local3.__zigoID__ == null) { initializeTargets(_local3); } else if (instance.getStatus("locked", _local3) == true) { if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("007", ((_local3._name != undefined) ? (_local3._name) : (_local3.toString())), _local4.pa.toString()); } continue; } var _local5 = instance.addTween(_local3, _local4.pa, _local4.va, seconds, _local9, delay, _local12); _local6 = ((_local5 == null) ? "|" : (_local5 + "|")) + _local6; } _local6 = _local6.slice(0, -1); return((((_local6 == "") || (_local6 == "|")) ? null : (_local6))); } static function removeTween(targs, props) { instance.removeTween(targs, props); } static function isTweening(targ, prop) { return(Boolean(instance.getStatus("active", targ, prop))); } static function getTweens(targ) { if (instance == undefined) { return(0); } return(Number(instance.getStatus("count", targ))); } static function lockTween(targ, setLocked) { instance.alterTweens("lock", targ, setLocked == true); } static function isTweenLocked(targ) { return(Boolean(instance.getStatus("locked", targ))); } static function ffTween(targs, props, suppressEndEvents) { instance.alterTweens("ff", targs, props, null, suppressEndEvents); } static function skipTweenTo(seconds, targs, props) { instance.alterTweens("skipTo", targs, props, false, false, seconds); } static function rewTween(targs, props, pauseFlag, suppressStartEvents) { instance.alterTweens("rewind", targs, props, pauseFlag, suppressStartEvents); } static function isTweenPaused(targ, prop) { return(Boolean(instance.getStatus("paused", targ, prop))); } static function pauseTween(targs, props) { instance.alterTweens("pause", targs, props); } static function unpauseTween(targs, props) { instance.alterTweens("unpause", targs, props); } static function resumeTween(targs, props) { instance.alterTweens("unpause", targs, props); } static function setColorByKey(targetObj, type, amt, rgb) { new Color(targetObj).setTransform(getColorTransObj(type, amt, rgb)); } static function getColorTransObj(type, amt, rgb) { switch (type) { case "brightness" : var _local3 = 100 - Math.abs(amt); var _local4 = ((amt > 0) ? (255 * (amt / 100)) : 0); return({ra:_local3, rb:_local4, ga:_local3, gb:_local4, ba:_local3, bb:_local4}); 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 _local5; if (typeof(rgb) == "string") { if (rgb.charAt(0) == "#") { rgb = rgb.slice(1); } rgb = ((rgb.charAt(1).toLowerCase() != "x") ? ("0x" + rgb) : (rgb)); } _local5 = Number(rgb); return({ra:100 - amt, rb:(_local5 >> 16) * (amt / 100), ga:100 - amt, gb:((_local5 >> 8) & 255) * (amt / 100), ba:100 - amt, bb:(_local5 & 255) * (amt / 100)}); } return({rb:0, ra:100, gb:0, ga:100, bb:0, ba:100}); } static function getColorKeysObj(targOrTransObj) { var _local1 = ((targOrTransObj.ra != undefined) ? (targOrTransObj) : (new Color(targOrTransObj).getTransform())); var _local3 = {}; var _local7 = (_local1.ra == _local1.ga) && (_local1.ga == _local1.ba); var _local9 = (_local1.rb == _local1.gb) && (_local1.gb == _local1.bb); var _local5 = ((_local7 == true) ? (100 - _local1.ra) : 0); if (_local5 != 0) { var _local6 = 100 / _local5; _local3.tint = (((_local1.rb * _local6) << 16) | ((_local1.gb * _local6) << 8)) | (_local1.bb * _local6); _local3.tintPercent = _local5; var _local2 = _local3.tint.toString(16); var _local4 = 6 - _local2.length; while ((_local4--) > 0) { _local2 = "0" + _local2; } _local3.tintString = "0x" + _local2.toUpperCase(); } if ((_local7 == true) && (_local9 == true)) { if (_local1.ra < 0) { _local3.invertColor = _local1.rb * 0.392156862745098; } else if ((_local1.ra == 100) && (_local1.rb != 0)) { _local3.brightOffset = _local1.rb * 0.392156862745098; } if (_local1.ra != 100) { if ((_local1.rb == 0) || ((_local1.rb != 0) && (((255 * ((100 - _local1.ra) / 100)) - _local1.rb) <= 1))) { _local3.brightness = ((_local1.rb != 0) ? (100 - _local1.ra) : (_local1.ra - 100)); } if (((128 - (1.28 * _local1.ra)) - _local1.rb) <= 1) { _local3.contrast = _local1.ra; } } } return(_local3); } static function initializeTargets() { for (var _local5 in arguments) { var _local4 = arguments[_local5]; if ((((_local4 == MovieClip.prototype) || (_local4 == Button.prototype)) || (_local4 == TextField.prototype)) || (_local4 == Object.prototype)) { if (_local4.oldAddListener == undefined) { if (_local4 == TextField.prototype) { _local4.oldAddListener = _local4.addListener; _global.ASSetPropFlags(_local4, "oldAddListener", 7, 1); } _local4.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 (_local4 == MovieClip.prototype) { _global.ASSetPropFlags(_local4, "addListener", 7, 1); } } } else if (_local4.__zigoID__ == undefined) { _local4.__zigoID__ = zigoIDs; _global.ASSetPropFlags(_local4, "__zigoID__", 7, 1); zigoIDs++; if ((_local4._listeners == null) || (_local4.addListener == null)) { AsBroadcaster.initialize(_local4); } } } } static function deinitializeTargets() { for (var _local4 in arguments) { var _local3 = arguments[_local4]; if (_local3.__zigoID__ != undefined) { _global.ASSetPropFlags(_local3, "__zigoID__,_listeners,broadcastMessage,addListener,removeListener", 0, 2); delete _local3.__zigoID__; delete _local3._listeners; delete _local3.broadcastMessage; delete _local3.addListener; delete _local3.removeListener; } if (_local3.oldAddListener != undefined) { _global.ASSetPropFlags(_local3, "oldAddListener", 0, 2); _local3.addListener = _local3.oldAddListener; delete _local3.oldAddListener; } } } static function __mgrRelay(inst, method, args) { if (inst == instance) { Function(com.mosesSupposes.fuse.ZigoEngine[method]).apply(com.mosesSupposes.fuse.ZigoEngine, args); } } static function setup(deinitFlag) { if (deinitFlag == true) { _playing = false; clearInterval(updateIntId); delete tweenHolder.onEnterFrame; return(undefined); } instance.cleanUp(); clearInterval(updateIntId); delete updateIntId; if ((updateTime != null) && (updateTime > 0)) { updateIntId = setInterval(instance, "update", updateTime); } else { if (Object(tweenHolder).proof == null) { setControllerDepth(6789); Object(tweenHolder).proof = 1; } var _inst = instance; tweenHolder.onEnterFrame = function () { _inst.update.call(_inst); }; } _playing = true; instance.now = getTimer(); } static var VERSION = com.mosesSupposes.fuse.FuseKitCommon.VERSION + ", ZigoEngine based on concepts by Ladislav Zigo, laco.wz.cz/tween"; static var EASING = "easeOutQuint"; static var DURATION = 1; static var TIME_MULTIPLIER = 1; static var ROUND_RESULTS = false; static var OUTPUT_LEVEL = 1; static var AUTOSTOP = false; static var SKIP_LEVEL = 0; static var _playing = false; static var zigoIDs = 0; static var prevTimeMult = 1; }
Symbol 283 MovieClip [__Packages.com.mosesSupposes.fuse.ZManager] Frame 0
class com.mosesSupposes.fuse.ZManager { var tweens, now; function ZManager () { tweens = {}; numTweens = 0; } function addTween(obj, props, endvals, seconds, ease, delay, callback) { var _local24 = ((callback.skipLevel == undefined) ? 0 : (callback.skipLevel)); var _local44 = ((callback.cycles == undefined) ? 1 : (callback.cycles)); var _local30 = callback.extra1; var _local29 = callback.extra2; var _local23 = []; var _local14 = _global.com.mosesSupposes.fuse.FuseFMP; var _local43 = String(("|" + _local14.getAllShortcuts().join("|")) + "|"); var _local42 = com.mosesSupposes.fuse.FuseKitCommon._cts(); var _local25 = ""; var _local28 = ""; var _local22 = obj.__zigoID__; var _local7 = tweens[String(_local22)]; if ((_local7 != undefined) && (com.mosesSupposes.fuse.ZigoEngine.AUTOSTOP == true)) { if (obj._listeners.length > 0) { for (var _local40 in _local7.props) { _local23.unshift(_local40); } } _local7.numProps = 0; cleanUp(true); } for (var _local47 in props) { var _local5 = props[_local47]; var _local4 = endvals[_local47]; var _local15 = 0; if (_local5 == "_fade") { _local5 = "_alpha"; _local15 = ((_local4 < 50) ? -1 : 1); } var _local16 = _local42.indexOf(("|" + _local5) + "|") > -1; var _local18 = _local7.colorProp; if (_local7 != undefined) { if ((_local16 == true) && (_local18 != undefined)) { _local23.unshift(_local18); delete _local7.props[_local18]; delete _local7.colorProp; _local7.numProps--; } else if (_local7.props[_local5] != undefined) { _local23.unshift(_local5); delete _local7[_local5]; _local7.numProps--; } } var _local3 = {c:-1, fmp:-1, complex:-1}; var _local11 = ((_local24 == 0) && ((seconds + delay) == 0)) || ((_local24 > 0) && (seconds == 0)); var _local10 = false; var _local13 = (_local14 != undefined) && (_local43.indexOf(("|" + _local5) + "|") > -1); var _local19 = (_local5.toLowerCase().indexOf("colors") > -1) && (_local4 instanceof Array); var _local27 = ((_local13 == true) && (_local5.indexOf("lor") > -1)) && (_local5.charAt(2) != "l"); if (_local13 == true) { _local3.fmp = _local14; _local3.ps = _local14.getFilterProp(obj, _local5, true); _local3.special = true; } if (((_local16 == true) || (_local19 == true)) || (_local27 && (_local11 == false))) { _local3.complex = 1; if (_local16 == true) { _local3.c = new Color(obj); _local3.ps = Color(_local3.c).getTransform(); var _local17 = ((((_local5 == "_tint") || (_local5 == "_tintPercent")) || (_local5 == "_colorReset")) ? "tint" : (_local5.slice(1))); var _local9 = null; var _local12 = null; if (_local5 != "_colorTransform") { if (_local17 == "tint") { if (typeof(_local4) == "object") { _local12 = _local4.tint; _local9 = ((_global.isNaN(_local4.percent) == true) ? 100 : (_local4.percent)); } else if ((_local5 == "_tintPercent") || (_local5 == "_colorReset")) { var _local20 = com.mosesSupposes.fuse.ZigoEngine.getColorKeysObj(obj).tintPercent; if (_local5 == "_colorReset") { _local9 = Math.min(_local20, 100 - Math.abs(Number(_local4))); } else { _local9 = ((typeof(_local4) == "string") ? ((_local20 || 0) + Number(_local4)) : Number(_local4)); } _local9 = Math.max(0, Math.min(_local9, 100)); _local12 = com.mosesSupposes.fuse.ZigoEngine.getColorKeysObj(obj).tint || 0; } else { _local12 = _local4; _local9 = 100; } } else { _local9 = ((typeof(_local4) == "string") ? ((com.mosesSupposes.fuse.ZigoEngine.getColorKeysObj(obj)[_local17] || 0) + Number(_local4)) : (_local4)); } _local4 = com.mosesSupposes.fuse.ZigoEngine.getColorTransObj(_local17, _local9, _local12); } if (_local11 == true) { if (_local5 == "_colorTransform") { Color(_local3.c).setTransform(_local4); } else { com.mosesSupposes.fuse.ZigoEngine.setColorByKey(obj, _local17, _local9, _local12); } } else { var _local21 = getChangeObj(_local3.ps, _local4, false, false); _local3.ch = _local21.map; if (_local21.changed == true) { _local10 = true; } } } else if (_local11 == true) { _local14.setFilterProp(obj, _local5, _local4); } else if (_local19 == true) { _local3.c = 2; _local3.ch = []; for (var _local40 in _local4) { if (_local4[_local40] != null) { if (_local3.ps == null) { _local3.ps = []; } _local3.ps[_local40] = com.mosesSupposes.fuse.ZigoEngine.getColorTransObj("tint", 100, ((_local3.ps[_local40] == null) ? obj[_local5][_local40] : _local3.ps[_local40])); var _local21 = getChangeObj(_local3.ps[_local40], com.mosesSupposes.fuse.ZigoEngine.getColorTransObj("tint", 100, _local4[_local40]), true, false); _local3.ch[_local40] = _local21.map; if (_local21.changed == true) { _local10 = true; } } } } else { _local3.c = 1; _local3.ps = com.mosesSupposes.fuse.ZigoEngine.getColorTransObj("tint", 100, _local3.ps); var _local21 = getChangeObj(_local3.ps, com.mosesSupposes.fuse.ZigoEngine.getColorTransObj("tint", 100, _local4), true, false); _local3.ch = _local21.map; if (_local21.changed == true) { _local10 = true; } } } else if (_local5 == "_bezier_") { removeTween(obj, "_x,_y", true); if (_local11 == true) { if ((_local4.x != null) && (_global.isNaN(Number(_local4.x)) == false)) { obj._x = ((typeof(_local4.x) == "string") ? (obj._x + Number(_local4.x)) : (_local4.x)); } if ((_local4.y != null) && (_global.isNaN(Number(_local4.y)) == false)) { obj._y = ((typeof(_local4.y) == "string") ? (obj._y + Number(_local4.y)) : (_local4.y)); } } else { _local3.special = true; _local3.ps = 0; _local3.ch = 1; _local3.bz = {sx:obj._x, sy:obj._y}; if ((_local4.x == null) || (_global.isNaN(Number(_local4.x)))) { _local4.x = _local3.bz.sx; } if ((_local4.y == null) || (_global.isNaN(Number(_local4.y)))) { _local4.y = _local3.bz.sy; } _local3.bz.chx = ((typeof(_local4.x) == "string") ? (Number(_local4.x)) : (_local4.x - _local3.bz.sx)); if (_global.isNaN(_local3.bz.chx) == true) { _local3.bx.chx = 0; } _local3.bz.chy = ((typeof(_local4.y) == "string") ? (Number(_local4.y)) : (_local4.y - _local3.bz.sy)); if (_global.isNaN(_local3.bz.chy) == true) { _local3.bx.chy = 0; } if ((_local4.controlX == null) || (_global.isNaN(Number(_local4.controlX)))) { _local3.bz.ctrlx = _local3.bz.sx + (_local3.bz.chx / 2); } else { _local3.bz.ctrlx = ((typeof(_local4.controlX) == "string") ? (_local3.bz.sx + Number(_local4.controlX)) : (_local4.controlX)); } if ((_local4.controlY == null) || (_global.isNaN(Number(_local4.controlY)))) { _local3.bz.ctrly = _local3.bz.sy + (_local3.bz.chy / 2); } else { _local3.bz.ctrly = ((typeof(_local4.controlY) == "string") ? (_local3.bz.sy + Number(_local4.controlY)) : (_local4.controlY)); } _local3.bz.ctrlx = _local3.bz.ctrlx - _local3.bz.sx; _local3.bz.ctrly = _local3.bz.ctrly - _local3.bz.sy; _local10 = (_local3.bz.chx + _local3.bz.chy) != 0; } } else { if (typeof(_local4) == "object") { _local3.complex = ((_local4 instanceof Array) ? 0 : 1); } if ((_local5 == "_x") || (_local5 == "_y")) { removeTween(obj, "_bezier_", true); } if ((_local5 == "_frame") && (typeof(obj) == "movieclip")) { _local3.ps = obj._currentframe; _local3.special = true; } else if (_local13 == false) { if (_local3.complex > -1) { _local3.ps = ((_local3.complex == 0) ? ([]) : ({})); for (var _local40 in _local4) { _local3.ps[_local40] = obj[_local5][_local40]; } } else { _local3.ps = obj[_local5]; } } if (_local11 == true) { if (_local13 == true) { _local14.setFilterProp(obj, _local5, ((typeof(_local4) == "string") ? (_local3.ps + Number(_local4)) : (_local4))); } else if (_local3.complex > -1) { for (var _local40 in _local4) { if ((_local4[_local40] != null) && (_global.isNaN(Number(_local4[_local40])) == false)) { obj[_local5][_local40] = ((typeof(_local4[_local40]) == "string") ? (_local3.ps[_local40] + Number(_local4[_local40])) : _local4[_local40]); if (_global.isNaN(obj[_local5][_local40]) == true) { obj[_local5][_local40] = 0; } } } } else { obj[_local5] = ((typeof(_local4) == "string") ? (_local3.ps + Number(_local4)) : (_local4)); if (_local15 == 1) { obj._visible = true; } else if (_local15 == -1) { obj._visible = false; } } } else if (_local3.complex > -1) { var _local21 = getChangeObj(_local3.ps, _local4, _local13, _local3.complex == 0); _local3.ch = _local21.map; if (_local21.changed == true) { _local10 = true; } } else { if ((_local4 == null) || (_global.isNaN(Number(_local4)))) { _local4 = _local3.ps; } _local3.ch = ((typeof(_local4) == "string") ? (Number(_local4)) : (Number(_local4) - _local3.ps)); if (_global.isNaN(_local3.ch) == true) { _local3.ch = 0; } _local10 = _local3.ch != 0; } } if (((_local24 == 0) && ((_local10 == true) || (_local11 == false))) || ((_local10 == true) && (_local11 == false))) { if ((_local3.complex > -1) && (!(_local3.c === 2))) { _local3.ps = [_local3.ps]; _local3.ch = [_local3.ch]; } _local3.ts = now + (delay * 1000); _local3.pt = -1; _local3.d = seconds * 1000; _local3.ef = ease; _local3.sf = false; _local3.cycles = _local44; if (_local30 != undefined) { _local3.e1 = _local30; } if (_local29 != undefined) { _local3.e2 = _local29; } _local3.v = _local15; if (callback.start != undefined) { _local3.scb = callback.start; } if (callback.upd != undefined) { _local3.ucb = callback.upd; } if (callback.end != undefined) { _local3.ecb = callback.end; } if (callback.roundResults != undefined) { _local3.rr = callback.roundResults; } if (tweens[String(_local22)] == undefined) { _local7 = (tweens[String(_local22)] = {numProps:0, locked:false, targ:obj, targID:String(("\"" + ((obj._name != undefined) ? (obj._name) : (obj.toString()))) + "\""), targZID:_local22, props:{}}); numTweens++; } if (_local16 == true) { _local7.colorProp = _local5; } _local7.props[_local5] = _local3; _local7.numProps++; _local25 = (_local5 + ",") + _local25; _local28 = (((typeof(_local4) == "string") ? (("\"" + _local4) + "\"") : (_local4)) + ",") + _local28; } _local3 = undefined; } if ((_local7 == undefined) || (_local7.numProps <= 0)) { cleanUp(); } if ((_local23.length > 0) && (com.mosesSupposes.fuse.ZigoEngine._listeners.length > 0)) { com.mosesSupposes.fuse.ZigoEngine.broadcastMessage("onTweenInterrupt", {target:obj, props:_local23, __zigoID__:_local22, during:"add"}); } if (_local25 == "") { if (_local24 == 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 _local48 = obj._listeners.length > 0; if (_local48 == true) { obj.broadcastMessage("onTweenStart", {target:obj, props:props}); } if (callback.start != undefined) { callback.start.f.apply(callback.start.s, callback.start.a); } if (_local48 == true) { obj.broadcastMessage("onTweenUpdate", {target:obj, props:props}); } if (callback.upd != undefined) { callback.upd.f.apply(callback.upd.s, callback.upd.a); } if (_local48 == true) { obj.broadcastMessage("onTweenEnd", {target:obj, props:props}); } if (callback.end != undefined) { callback.end.f.apply(callback.end.s, callback.end.a); } } cleanUp(); } if (com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL == 2) { if (_local25 == "") { 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())), _local25.slice(0, -1), _local28.slice(0, -1)); } } return(((_local25 == "") ? null : (_local25.slice(0, -1)))); } function removeTween(targs, props, noInit) { var _local4 = {}; var _local12 = paramsObj(targs, props); if (_local12.none == true) { return(undefined); } var _local16 = _local12.all; var _local17 = _local12.allprops; var _local9 = ((_local16 == true) ? (tweens) : (Object(_local12.tg))); var _local8 = false; for (var _local20 in _local9) { var _local3 = ((_local16 == true) ? (_local20) : (String(_local9[_local20].__zigoID__))); var _local2 = tweens[_local3]; var _local6 = ((_local17 == true) ? (_local2.props) : (_local12.props)); for (var _local14 in _local6) { var _local5 = (_local14 == com.mosesSupposes.fuse.FuseKitCommon.ALLCOLOR) && (_local2.colorProp != undefined); if ((_local2.props[_local14] != undefined) || (_local5 == true)) { if (_local4[_local3] == null) { _local4[_local3] = []; } _local4[_local3].unshift(_local14); if ((_local14 == _local2.colorProp) || (_local5 == true)) { delete _local2.props[_local2.colorProp]; delete _local2.colorProp; } else { delete _local2.props[_local14]; } _local2.numProps--; if (_local2.numProps <= 0) { _local8 = true; break; } } } } if (com.mosesSupposes.fuse.ZigoEngine._listeners.length > 0) { for (var _local19 in _local4) { var _local7 = tweens[_local19].targ; com.mosesSupposes.fuse.ZigoEngine.broadcastMessage("onTweenInterrupt", {target:((typeof(_local7.addProperty) == "function") ? (_local7) : (("[MISSING(\"" + tweens[_local19].targID) + "\")]")), props:_local4[_local19], __zigoID__:tweens[_local19].targZID, during:((noInit == true) ? "add" : "remove")}); } } if (_local8 == true) { cleanUp(noInit); } } function alterTweens(type, targs, props, pauseFlag, noEvents, skipTo) { if (type == "lock") { tweens[String(targs.__zigoID__)].locked = props; return(undefined); } var _local11 = paramsObj(targs, props); if (_local11.none == true) { return(undefined); } var _local14 = _local11.all; var _local15 = _local11.allprops; var _local9 = ((_local14 == true) ? (tweens) : (Object(_local11.tg))); var _local8 = 0; for (var _local16 in _local9) { var _local7 = ((_local14 == true) ? (_local16) : (String(_local9[_local16].__zigoID__))); var _local5 = tweens[_local7]; var _local4 = ((_local15 == true) ? (_local5.props) : (_local11.props)); if (_local4.ALLCOLOR == true) { _local4[_local5.colorProp] = true; delete _local4.ALLCOLOR; } for (var _local10 in _local4) { _local8++; var _local2 = _local5.props[_local10]; if (type == "rewind") { if (pauseFlag == true) { _local2.pt = now; } _local2.ts = now; if (noEvents != true) { _local2.sf = false; if (_local2.scb != undefined) { _local2.scb.fired = false; } } } else if (type == "ff") { if (noEvents == true) { _local2.suppressEnd = true; } _local2.o = true; _local2.pt = -1; _local2.ts = now - _local2.d; } else if (type == "skipTo") { _local2.ts = Math.min(now, (_local2.ts + (now - _local2.ts)) - (skipTo * 1000)); } else if (type == "pause") { if (_local2.pt == -1) { _local2.pt = now; } } else if (type == "unpause") { if (_local2.pt != -1) { _local2.ts = now - (_local2.pt - _local2.ts); _local2.pt = -1; } } } } if ((type == "ff") && (_local8 > 0)) { update(); } else if ((type == "rewind") && (_local8 > 0)) { update(true); } } function getStatus(type, targ, param) { if (targ == null) { return(null); } var _local8 = String(targ).toUpperCase() == com.mosesSupposes.fuse.FuseKitCommon.ALL; var _local4 = tweens[String(targ.__zigoID__)]; switch (type) { case "paused" : var _local2 = _local4.props; if (param != null) { if (_local2[String(param)] == undefined) { return(false); } return(Boolean(_local2[String(param)].pt != -1)); } for (var _local6 in _local2) { if (_local2[_local6].pt != -1) { return(true); } } return(false); case "active" : if (param == null) { return(Boolean(_local4 != undefined)); } if (String(param).toUpperCase() == com.mosesSupposes.fuse.FuseKitCommon.ALLCOLOR) { return(Boolean(_local4.colorProp != undefined)); } return(Boolean(_local4.props[String(param)] != undefined)); case "count" : if (!_local8) { return(_local4.numProps); } var _local3 = 0; for (var _local6 in tweens) { _local3 = _local3 + tweens[_local6].numProps; } return(_local3); case "locked" : return(_local4.locked); } } function update(force) { var _local19 = {}; var _local21 = {}; var _local20 = {}; var _local15 = {}; var _local13 = {}; var _local14 = {}; var _local24 = false; var _local22 = com.mosesSupposes.fuse.ZigoEngine.ROUND_RESULTS; for (var _local33 in tweens) { var _local12 = tweens[_local33]; var _local5 = _local12.targ; var _local32 = _local12.props; var _local18 = _local5._listeners.length > 0; if (_local5.__zigoID__ == undefined) { _local24 = true; if (com.mosesSupposes.fuse.ZigoEngine._listeners.length > 0) { var _local23 = []; for (var _local28 in _local32) { _local23.unshift(_local28); } com.mosesSupposes.fuse.ZigoEngine.broadcastMessage("onTweenInterrupt", {target:((typeof(_local5.addProperty) == "function") ? (_local5) : (("[MISSING:" + _local12.targID) + "]")), props:_local23, __zigoID__:_local12.targZID, during:"update"}); } continue; } for (var _local28 in _local32) { var _local3 = _local32[_local28]; if (((_local3.ts > now) || (_local3.pt != -1)) && (force != true)) { continue; } var _local9 = now >= (_local3.ts + _local3.d); if (_local3.complex == -1) { var _local6; if (_local9 == true) { _local6 = _local3.ps + _local3.ch; if ((_local3.cycles > 1) || (_local3.cycles == 0)) { if (_local3.cycles > 1) { _local3.cycles--; } _local3.ps = _local6; _local3.ch = -_local3.ch; _local3.ts = now; _local9 = false; } } else { _local6 = _local3.ef(now - _local3.ts, _local3.ps, _local3.ch, _local3.d, _local3.e1, _local3.e2); } if (_global.isNaN(_local6) == false) { if ((_local3.rr == true) || ((_local22 == true) && (!(_local3.rr === false)))) { _local6 = Math.round(Number(_local6)); } if (_local3.special != true) { _local5[_local28] = _local6; } else if (_local3.fmp != -1) { _local3.fmp.setFilterProp(_local5, _local28, _local6); } else if (_local28 == "_bezier_") { var _local10 = _local3.bz; _local5._x = _local10.sx + (_local6 * (((2 * (1 - _local6)) * _local10.ctrlx) + (_local6 * _local10.chx))); _local5._y = _local10.sy + (_local6 * (((2 * (1 - _local6)) * _local10.ctrly) + (_local6 * _local10.chy))); } else if (_local28 == "_frame") { MovieClip(_local5).gotoAndStop(Math.ceil(_local6)); } } } else { var _local16 = (_local9 == true) && ((_local3.cycles > 1) || (_local3.cycles == 0)); var _local7 = []; for (var _local25 in _local3.ch) { var _local4 = ((_local3.complex == 0) ? ([]) : ({})); for (var _local26 in _local3.ch[_local25]) { var _local8 = _local3.ch[_local25][_local26]; var _local11 = _local3.ps[_local25][_local26]; if (_local9 == true) { _local4[_local26] = _local11 + _local8; if (_local16 == true) { _local3.ch[_local25][_local26] = -_local8; } } else { _local4[_local26] = _local3.ef(now - _local3.ts, _local11, _local8, _local3.d, _local3.e1, _local3.e2); } if (_global.isNaN(_local4[_local26]) == false) { if ((_local3.rr == true) || ((_local22 == true) && (!(_local3.rr === false)))) { _local4[_local26] = Math.round(_local4[_local26]); } } if ((_local3.fmp == -1) && (_local3.c == -1)) { _local5[_local28][_local26] = _local4[_local26]; } } _local7.push(_local4); if ((_local3.fmp == -1) && (_local3.c == 2)) { _local5[_local28][_local25] = Number(((_local4.rb << 16) | (_local4.gb << 8)) | _local4.bb); } } if (_local3.fmp != -1) { if (_local3.c == 1) { _local3.fmp.setFilterProp(_local5, _local28, ((_local7[0].rb << 16) | (_local7[0].gb << 8)) | _local7[0].bb); } else if (_local3.c == 2) { var _local17 = []; for (var _local26 in _local7) { _local17.unshift(((_local7[_local26].rb << 16) | (_local7[_local26].gb << 8)) | _local7[_local26].bb); } _local3.fmp.setFilterProp(_local5, _local28, _local17); } } else if (_local3.c != -1) { _local3.c.setTransform(_local7[0]); } if (_local16 == true) { if (_local3.cycles > 1) { _local3.cycles--; } _local9 = false; _local3.ts = now; _local3.ps = _local7; } } if (_local3.sf == false) { if (_local3.v != null) { _local5._visible = true; } if (_local18 == true) { if (_local15[_local33] == undefined) { _local15[_local33] = [_local5, []]; } _local15[_local33][1].unshift(_local28); } _local3.sf = true; } if (_local3.scb.fired == false) { _local19[String(_local3.scb.id)] = _local3.scb; _local3.scb.fired = true; } if (_local18 == true) { if (_local13[_local33] == undefined) { _local13[_local33] = [_local5, []]; } _local13[_local33][1].unshift(_local28); } if (_local3.ucb != undefined) { _local21[String(_local3.ucb.id)] = _local3.ucb; } if (_local9 == true) { if (_local3.v === -1) { _local5._visible = false; } if (_local3.suppressEnd != true) { if (_local18 == true) { if (_local14[_local33] == undefined) { _local14[_local33] = [_local5, []]; } _local14[_local33][1].unshift(_local28); } if (_local3.ecb != undefined) { _local20[String(_local3.ecb.id)] = _local3.ecb; } } delete _local32[_local28]; if (_local28 == _local12.colorProp) { delete _local12.colorProp; } _local12.numProps--; if (_local12.numProps <= 0) { _local24 = true; } } delete _local3.suppressEnd; } } for (var _local33 in _local15) { _local15[_local33][0].broadcastMessage("onTweenStart", {target:_local15[_local33][0], props:_local15[_local33][1]}); } for (var _local33 in _local19) { _local19[_local33].f.apply(_local19[_local33].s, _local19[_local33].a); } for (var _local33 in _local13) { _local13[_local33][0].broadcastMessage("onTweenUpdate", {target:_local13[_local33][0], props:_local13[_local33][1]}); } for (var _local33 in _local21) { _local21[_local33].f.apply(_local21[_local33].s, _local21[_local33].a); } for (var _local33 in _local14) { _local14[_local33][0].broadcastMessage("onTweenEnd", {target:_local14[_local33][0], props:_local14[_local33][1]}); } for (var _local33 in _local20) { _local20[_local33].f.apply(_local20[_local33].s, _local20[_local33].a); } if (_local24) { cleanUp(); } now = getTimer(); } function cleanUp(noInit) { for (var _local4 in tweens) { var _local2 = tweens[_local4].targ; if ((tweens[_local4].numProps <= 0) || (_local2.__zigoID__ == undefined)) { if ((((_local2 != undefined) && (_local2.tween == undefined)) && (noInit != true)) && (_local2._listeners.length <= 0)) { com.mosesSupposes.fuse.ZigoEngine.deinitializeTargets(_local2); } delete tweens[_local4]; numTweens--; } } if (numTweens <= 0) { numTweens = 0; delete tweens; tweens = {}; if (noInit != true) { com.mosesSupposes.fuse.ZigoEngine.__mgrRelay(this, "setup", [true]); } } } function paramsObj(targs, props, endvals) { var _local6 = {}; _local6.all = String(targs).toUpperCase() == com.mosesSupposes.fuse.FuseKitCommon.ALL; _local6.none = Boolean(targs == null); if (_local6.all == true) { _local6.tg = [null]; } else { _local6.tg = ((targs instanceof Array) ? (targs) : ([targs])); for (var _local11 in _local6.tg) { var _local7 = _local6.tg[_local11]; if ((_local7 == null) || (!((typeof(_local7) == "object") || (typeof(_local7) == "movieclip")))) { _local6.tg.splice(Number(_local11), 1); } } } _local6.allprops = props == null; var _local1; var _local4; var _local3 = {}; if (_local6.allprops == false) { if ((typeof(props) == "string") && ((String(props).indexOf(" ") > -1) || (String(props).indexOf(",") > -1))) { props = String(props.split(" ").join("")).split(","); } _local1 = ((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(","); } _local4 = ((endvals instanceof Array) ? (endvals.slice()) : ([endvals])); while (_local4.length < _local1.length) { _local4.push(_local4[_local4.length - 1]); } _local4.splice(_local1.length, _local4.length - _local1.length); } for (var _local11 in _local1) { var _local2 = Number(_local11); if ((_local1[_local11] != "_scale") && (_local1[_local11] != "_size")) { if (_local3[_local1[_local11]] == undefined) { if (_local1[_local11] == "_fade") { _local1[_local11] = "_alpha"; } if (String(_local1[_local11]).toUpperCase() == com.mosesSupposes.fuse.FuseKitCommon.ALLCOLOR) { _local1[_local11] = com.mosesSupposes.fuse.FuseKitCommon.ALLCOLOR; } _local3[_local1[_local11]] = true; } else { _local1.splice(_local2, 1); _local4.splice(_local2, 1); } } else { var _local8 = String(_local1.splice(_local2, 1)[0]); var _local5 = _local4.splice(_local2, 1)[0]; if (_local8 == "_scale") { if (_local3._xscale == undefined) { _local1.splice(_local2, 0, "_xscale"); _local4.splice(_local2, 0, _local5); _local3._xscale = true; _local2++; } if (_local3._yscale == undefined) { _local1.splice(_local2, 0, "_yscale"); _local4.splice(_local2, 0, _local5); _local3._yscale = true; } } if (_local8 == "_size") { if (_local3._width == undefined) { _local1.splice(_local2, 0, "_width"); _local4.splice(_local2, 0, _local5); _local3._width = true; _local2++; } if (_local3._yscale == undefined) { _local1.splice(_local2, 0, "_height"); _local4.splice(_local2, 0, _local5); _local3._height = true; } } } } for (var _local11 in _local1) { if (((_local1[_local11] == "_xscale") && (_local3._width == true)) || ((_local1[_local11] == "_yscale") && (_local3._height == true))) { _local1.splice(Number(_local11), 1); _local4.splice(Number(_local11), 1); delete _local3[_local1[_local11]]; } } } _local6.pa = _local1; _local6.va = _local4; _local6.props = _local3; return(_local6); } function getChangeObj(ps, ep, isFMP, useArray) { var _local3 = {map:((useArray == true) ? ([]) : ({})), changed:false}; for (var _local7 in ep) { if ((((((isFMP == true) && (_local7.charAt(1) == "b")) || (ep[_local7] != ps[_local7])) || (useArray == true)) && (ep[_local7] != null)) && (_global.isNaN(Number(ep[_local7])) == false)) { _local3.map[_local7] = ((typeof(ep[_local7]) == "string") ? (Number(ep[_local7])) : (ep[_local7] - ps[_local7])); if (_global.isNaN(_local3.map[_local7]) == true) { _local3.map[_local7] = 0; } else if (_local3.map[_local7] != 0) { _local3.changed = true; } } } return(_local3); } var numTweens = 0; }
Symbol 284 MovieClip [__Packages.com.mosesSupposes.fuse.FuseFMP] Frame 0
class com.mosesSupposes.fuse.FuseFMP { static var _classes, _shortcuts, _getter, _setter; function FuseFMP () { } static function simpleSetup() { initialize(MovieClip.prototype, Button.prototype, TextField.prototype); _global.FuseFMP = com.mosesSupposes.fuse.FuseFMP; for (var _local2 in _classes) { _global[_local2] = _classes[_local2]; } } static function initialize(target) { if (_classes == undefined) { _shortcuts = {getFilterName:function (f) { return(com.mosesSupposes.fuse.FuseFMP.getFilterName(f)); }, getFilterIndex:function (f) { return(com.mosesSupposes.fuse.FuseFMP.getFilterIndex(this, f)); }, getFilter:function (f, createNew) { return(com.mosesSupposes.fuse.FuseFMP.getFilter(this, f, createNew)); }, writeFilter:function (f, pObj) { return(com.mosesSupposes.fuse.FuseFMP.writeFilter(this, f, pObj)); }, removeFilter:function (f) { return(com.mosesSupposes.fuse.FuseFMP.removeFilter(this, f)); }, getFilterProp:function (prop, createNew) { return(com.mosesSupposes.fuse.FuseFMP.getFilterProp(this, prop, createNew)); }, setFilterProp:function (prop, v) { com.mosesSupposes.fuse.FuseFMP.setFilterProp(this, prop, v); }, setFilterProps:function (fOrPObj, pObj) { com.mosesSupposes.fuse.FuseFMP.setFilterProps(this, fOrPObj, pObj); }, traceAllFilters:function () { com.mosesSupposes.fuse.FuseFMP.traceAllFilters(); }}; _classes = {BevelFilter:flash.filters.BevelFilter, BlurFilter:flash.filters.BlurFilter, ColorMatrixFilter:flash.filters.ColorMatrixFilter, ConvolutionFilter:flash.filters.ConvolutionFilter, DisplacementMapFilter:flash.filters.DisplacementMapFilter, DropShadowFilter:flash.filters.DropShadowFilter, GlowFilter:flash.filters.GlowFilter, GradientBevelFilter:flash.filters.GradientBevelFilter, GradientGlowFilter:flash.filters.GradientGlowFilter}; _getter = {__resolve:function (name) { var _local4 = function () { var _local3 = this; if (_local3.filters != undefined) { var _local2 = name.split("_"); if (_local2[1] == "blur") { _local2[1] = "blurX"; } return(com.mosesSupposes.fuse.FuseFMP.getFilter(this, _local2[0] + "Filter", false)[_local2[1]]); } }; return(_local4); }}; _setter = {__resolve:function (name) { var _local3 = function (val) { var _local2 = this; if (_local2.filters != undefined) { com.mosesSupposes.fuse.FuseFMP.setFilterProp(this, name, val); } }; return(_local3); }}; } if (arguments[0] == null) { return(undefined); } var _local6 = [MovieClip, Button, TextField]; for (var _local13 in arguments) { var _local7 = false; for (var _local10 in _local6) { if ((arguments[_local13] instanceof _local6[_local10]) || (arguments[_local13] == Function(_local6[_local10]).prototype)) { _local7 = true; break; } } if (!_local7) { com.mosesSupposes.fuse.FuseKitCommon.error("201", _local13); continue; } for (var _local11 in _classes) { var _local5 = new _classes[_local11](); for (var _local8 in _local5) { if (typeof(_local5[_local8]) == "function") { continue; } var _local4 = (_local11.substr(0, -6) + "_") + _local8; arguments[_local13].addProperty(_local4, _getter[_local4], _setter[_local4]); _global.ASSetPropFlags(arguments[_local13], _local4, 3, 1); if (_local8 == "blurX") { _local4 = _local4.slice(0, -1); arguments[_local13].addProperty(_local4, _getter[_local4], _setter[_local4]); _global.ASSetPropFlags(arguments[_local13], _local4, 3, 1); } } } for (var _local9 in _shortcuts) { arguments[_local13][_local9] = _shortcuts[_local9]; _global.ASSetPropFlags(arguments[_local13], _local9, 7, 1); } } } static function deinitialize() { if (_classes == undefined) { return(undefined); } if (arguments.length == 0) { arguments.push(MovieClip.prototype, Button.prototype, TextField.prototype); } for (var _local8 in arguments) { for (var _local7 in _classes) { var _local4 = new _classes[_local7](); for (var _local5 in _local4) { if (typeof(_local4[_local5]) == "function") { continue; } var _local3 = (_local7.substr(0, -6) + "_") + _local5; _global.ASSetPropFlags(arguments[_local8], _local3, 0, 2); arguments[_local8].addProperty(_local3, null, null); delete arguments[_local8][_local3]; } } for (var _local6 in _shortcuts) { _global.ASSetPropFlags(arguments[_local8], _local6, 0, 2); delete arguments[_local8][_local6]; } } } static function getFilterName(instance) { if (_classes == undefined) { initialize(null); } for (var _local1 in _classes) { if (instance.__proto__ == Function(_classes[_local1]).prototype) { return(_local1); } } return(null); } static function getFilterIndex(target, filter) { if (_classes == undefined) { initialize(null); } filter = getInstance(filter); if (filter === null) { return(-1); } var _local2 = target.filters; var _local1 = 0; while (_local1 < _local2.length) { if (_local2[_local1].__proto__ == filter.__proto__) { return(_local1); } _local1++; } return(-1); } static function getFilter(target, filter, createNew) { var _local1 = getFilterIndex(target, filter); if (_local1 == -1) { if (createNew != true) { return(null); } _local1 = writeFilter(target, filter); if (_local1 == -1) { return(null); } } return(target.filters[_local1]); } static function writeFilter(target, filter, propsObj) { if (_classes == undefined) { initialize(null); } filter = getInstance(filter); if (filter === null) { return(-1); } var _local4 = target.filters; var _local2 = getFilterIndex(target, filter); if (_local2 == -1) { _local4.push(filter); } else { _local4[_local2] = filter; } target.filters = _local4; if (typeof(propsObj) == "object") { setFilterProps(target, filter, propsObj); } _local2 = getFilterIndex(target, filter); return(_local2); } static function removeFilter(target, filter) { if (_classes == undefined) { initialize(null); } filter = getInstance(filter); var _local2 = target.filters; var _local1 = getFilterIndex(target, filter); if (_local1 == -1) { return(false); } _local2.splice(_local1, 1); target.filters = _local2; return(true); } static function getFilterProp(target, propname, createNew) { var _local1 = propname.split("_"); if (_local1[1] == "blur") { _local1[1] = "blurX"; } return(getFilter(target, _local1[0] + "Filter", createNew)[_local1[1]]); } static function setFilterProp(target, propname, value) { if (_classes == undefined) { initialize(null); } var _local8 = propname.split("_"); var _local5 = _local8[0] + "Filter"; if (_classes[_local5] == undefined) { return(undefined); } var _local2 = new _classes[_local5](); if ((BLUR_ZERO == true) && (_local5 == "BlurFilter")) { _local2.blurX = (_local2.blurY = 0); } var _local6 = _local8[1]; var _local1 = target.filters.length || 0; while (_local1-- , _local1 > -1) { if (target.filters[_local1].__proto__ == _local2.__proto__) { _local2 = target.filters[_local1]; break; } } if (_local2 == null) { com.mosesSupposes.fuse.FuseKitCommon.error("202", _local5, target); } if (_local6 == "blur") { _local2.blurX = value; _local2.blurY = value; } else { if ((typeof(value) == "string") && (_local6.toLowerCase().indexOf("color") > -1)) { if (value.charAt(0) == "#") { value = value.slice(1); } value = ((value.charAt(1).toLowerCase() != "x") ? (Number("0x" + value)) : (Number(value))); } _local2[_local6] = value; } var _local7 = target.filters; if (_local1 == -1) { _local7.push(_local2); } else { _local7[_local1] = _local2; } target.filters = _local7; } static function setFilterProps(target, filterOrPropsObj, propsObj) { if (arguments.length < 2) { com.mosesSupposes.fuse.FuseKitCommon.error("203", arguments.length); return(undefined); } if (_classes == undefined) { initialize(null); } var _local10 = new Object(); var _local11 = arguments.length == 2; if (_local11 == false) { var _local14 = getFilterName(getInstance(filterOrPropsObj)); if (_classes[_local14] == undefined) { com.mosesSupposes.fuse.FuseKitCommon.error("204", filterOrPropsObj); return(undefined); } _local10[_local14] = 1; } else { propsObj = filterOrPropsObj; for (var _local12 in propsObj) { var _local14 = _local12.split("_")[0] + "Filter"; if ((_classes[_local14] != undefined) && (_local10[_local14] == undefined)) { _local10[_local14] = 1; } } } if (!(target instanceof Array)) { target = [target]; } for (var _local15 in target) { var _local5 = target[_local15]; for (var _local14 in _local10) { var _local3 = new _classes[_local14](); if ((BLUR_ZERO == true) && (_local14 == "BlurFilter")) { _local3.blurX = (_local3.blurY = 0); } var _local4 = _local5.filters.length || 0; while (_local4-- , _local4 > -1) { if (_local5.filters[_local4].__proto__ == _local3.__proto__) { _local3 = _local5.filters[_local4]; break; } } if (_local3 == null) { com.mosesSupposes.fuse.FuseKitCommon.error("202", _local14, _local5); continue; } var _local7 = String(_local14).slice(0, -6) + "_"; for (var _local12 in propsObj) { var _local6 = _local12.indexOf(_local7) == 0; if ((_local11 == true) && (_local6 == false)) { continue; } var _local2 = propsObj[_local12]; if (_local6 == true) { var _local12 = _local12.slice(_local7.length); } if (_local12 == "blur") { _local3.blurX = _local2; _local3.blurY = _local2; } else { if ((typeof(_local2) == "string") && (_local12.toLowerCase().indexOf("color") > -1)) { if (_local2.charAt(0) == "#") { _local2 = _local2.slice(1); } _local2 = ((_local2.charAt(1).toLowerCase() != "x") ? (Number("0x" + _local2)) : (Number(_local2))); } _local3[_local12] = _local2; } } var _local8 = _local5.filters; if (_local4 == -1) { _local8.push(_local3); } else { _local8[_local4] = _local3; } _local5.filters = _local8; } } } static function getAllShortcuts() { if (_classes == undefined) { initialize(null); } var _local2 = []; for (var _local4 in _classes) { var _local1 = new _classes[_local4](); for (var _local3 in _local1) { if (typeof(_local1[_local3]) == "function") { continue; } _local2.push((_local4.substr(0, -6) + "_") + _local3); if (_local3 == "blurX") { _local2.push(_local4.substr(0, -6) + "_blur"); } } } return(_local2); } static function traceAllFilters() { if (_classes == undefined) { initialize(null); } var _local1 = "------ FuseFMP filter properties ------\n"; for (var _local4 in _classes) { _local1 = _local1 + _local4; var _local2 = new _classes[_local4](); for (var _local3 in _local2) { if (typeof(_local2[_local3]) == "function") { continue; } _local1 = _local1 + ((("\t- " + _local4.substr(0, -6)) + "_") + _local3); if (_local3 == "blurX") { _local1 = _local1 + (("\t- " + _local4.substr(0, -6)) + "_blur"); } } _local1 = _local1 + newline; } com.mosesSupposes.fuse.FuseKitCommon.output(_local1); } static function getInstance(filter) { if (filter instanceof flash.filters.BitmapFilter) { return(flash.filters.BitmapFilter(filter)); } if (typeof(filter) == "function") { for (var _local4 in _classes) { if (filter == _classes[_local4]) { var _local1 = new _classes[_local4](); if ((BLUR_ZERO == true) && (_local4 == "BlurFilter")) { _local1.blurX = (_local1.blurY = 0); } return(_local1); } } } if (typeof(filter) == "string") { var _local3 = String(filter); if (_local3.substr(-6) != "Filter") { _local3 = _local3 + "Filter"; } for (var _local4 in _classes) { if (_local4 == _local3) { var _local1 = new _classes[_local4](); if ((BLUR_ZERO == true) && (_local4 == "BlurFilter")) { _local1.blurX = (_local1.blurY = 0); } return(_local1); } } } return(null); } static var registryKey = "fuseFMP"; static var VERSION = com.mosesSupposes.fuse.FuseKitCommon.VERSION; static var BLUR_ZERO = true; }
Symbol 285 MovieClip [__Packages.com.mosesSupposes.fuse.PennerEasing] Frame 0
class com.mosesSupposes.fuse.PennerEasing { function PennerEasing () { } static function linear(t, b, c, d) { return(((c * t) / d) + b); } static function easeInQuad(t, b, c, d) { t = t / d; return(((c * t) * t) + b); } static function easeOutQuad(t, b, c, d) { t = t / d; return((((-c) * t) * (t - 2)) + b); } static function easeInOutQuad(t, b, c, d) { t = t / (d / 2); if (t < 1) { return((((c / 2) * t) * t) + b); } t--; return((((-c) / 2) * ((t * (t - 2)) - 1)) + b); } static function easeInExpo(t, b, c, d) { return(((t == 0) ? (b) : ((c * Math.pow(2, 10 * ((t / d) - 1))) + b))); } static function easeOutExpo(t, b, c, d) { return(((t == d) ? (b + c) : ((c * ((-Math.pow(2, (-10 * t) / d)) + 1)) + b))); } static function easeInOutExpo(t, b, c, d) { if (t == 0) { return(b); } if (t == d) { return(b + c); } t = t / (d / 2); if (t < 1) { return(((c / 2) * Math.pow(2, 10 * (t - 1))) + b); } t--; return(((c / 2) * ((-Math.pow(2, -10 * t)) + 2)) + b); } static function easeOutInExpo(t, b, c, d) { if (t == 0) { return(b); } if (t == d) { return(b + c); } t = 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); } static function easeInElastic(t, b, c, d, a, p) { var _local5; if (t == 0) { return(b); } t = t / d; if (t == 1) { return(b + c); } if (!p) { p = d * 0.3; } if ((!a) || (a < Math.abs(c))) { a = c; _local5 = p / 4; } else { _local5 = (p / (Math.PI*2)) * Math.asin(c / a); } t = t - 1; return((-((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p))) + b); } static function easeOutElastic(t, b, c, d, a, p) { var _local5; if (t == 0) { return(b); } t = t / d; if (t == 1) { return(b + c); } if (!p) { p = d * 0.3; } if ((!a) || (a < Math.abs(c))) { a = c; _local5 = p / 4; } else { _local5 = (p / (Math.PI*2)) * Math.asin(c / a); } return((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p)) + c) + b); } static function easeInOutElastic(t, b, c, d, a, p) { var _local5; if (t == 0) { return(b); } t = t / (d / 2); if (t == 2) { return(b + c); } if (!p) { p = d * 0.45; } if ((!a) || (a < Math.abs(c))) { a = c; _local5 = p / 4; } else { _local5 = (p / (Math.PI*2)) * Math.asin(c / a); } if (t < 1) { t = t - 1; return((-0.5 * ((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p))) + b); } t = t - 1; return(((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p)) * 0.5) + c) + b); } static function easeOutInElastic(t, b, c, d, a, p) { var _local5; if (t == 0) { return(b); } t = t / (d / 2); if (t == 2) { return(b + c); } if (!p) { p = d * 0.45; } if ((!a) || (a < Math.abs(c))) { a = c; _local5 = p / 4; } else { _local5 = (p / (Math.PI*2)) * Math.asin(c / a); } if (t < 1) { return(((0.5 * ((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p))) + (c / 2)) + b); } return(((c / 2) + (0.5 * ((a * Math.pow(2, 10 * (t - 2))) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p)))) + b); } static function easeInBack(t, b, c, d, s) { if (s == undefined) { s = 1.70158; } t = t / d; return((((c * t) * t) * (((s + 1) * t) - s)) + b); } static function easeOutBack(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); } static function easeInOutBack(t, b, c, d, s) { if (s == undefined) { s = 1.70158; } t = t / (d / 2); if (t < 1) { s = s * 1.525; return(((c / 2) * ((t * t) * (((s + 1) * t) - s))) + b); } t = t - 2; s = s * 1.525; return(((c / 2) * (((t * t) * (((s + 1) * t) + s)) + 2)) + b); } static function easeOutInBack(t, b, c, d, s) { if (s == undefined) { s = 1.70158; } t = t / (d / 2); if (t < 1) { t--; s = s * 1.525; return(((c / 2) * (((t * t) * (((s + 1) * t) + s)) + 1)) + b); } t--; s = s * 1.525; return(((c / 2) * (((t * t) * (((s + 1) * t) - s)) + 1)) + b); } static function easeOutBounce(t, b, c, d) { t = t / d; if (t < 0.363636363636364) { return((c * ((7.5625 * t) * t)) + b); } if (t < 0.727272727272727) { t = t - 0.545454545454545; return((c * (((7.5625 * t) * t) + 0.75)) + b); } if (t < 0.909090909090909) { t = t - 0.818181818181818; return((c * (((7.5625 * t) * t) + 0.9375)) + b); } t = t - 0.954545454545455; return((c * (((7.5625 * t) * t) + 0.984375)) + b); } static function easeInBounce(t, b, c, d) { return((c - easeOutBounce(d - t, 0, c, d)) + b); } static function easeInOutBounce(t, b, c, d) { if (t < (d / 2)) { return((easeInBounce(t * 2, 0, c, d) * 0.5) + b); } return(((easeOutBounce((t * 2) - d, 0, c, d) * 0.5) + (c * 0.5)) + b); } static function easeOutInBounce(t, b, c, d) { if (t < (d / 2)) { return((easeOutBounce(t * 2, 0, c, d) * 0.5) + b); } return(((easeInBounce((t * 2) - d, 0, c, d) * 0.5) + (c * 0.5)) + b); } static function easeInCubic(t, b, c, d) { t = t / d; return((((c * t) * t) * t) + b); } static function easeOutCubic(t, b, c, d) { t = (t / d) - 1; return((c * (((t * t) * t) + 1)) + b); } static function easeInOutCubic(t, b, c, d) { t = t / (d / 2); if (t < 1) { return(((((c / 2) * t) * t) * t) + b); } t = t - 2; return(((c / 2) * (((t * t) * t) + 2)) + b); } static function easeOutInCubic(t, b, c, d) { t = t / (d / 2); t--; return(((c / 2) * (((t * t) * t) + 1)) + b); } static function easeInQuart(t, b, c, d) { t = t / d; return(((((c * t) * t) * t) * t) + b); } static function easeOutQuart(t, b, c, d) { t = (t / d) - 1; return(((-c) * ((((t * t) * t) * t) - 1)) + b); } static function easeInOutQuart(t, b, c, d) { t = t / (d / 2); if (t < 1) { return((((((c / 2) * t) * t) * t) * t) + b); } t = t - 2; return((((-c) / 2) * ((((t * t) * t) * t) - 2)) + b); } static function easeOutInQuart(t, b, c, d) { t = t / (d / 2); if (t < 1) { t--; return((((-c) / 2) * ((((t * t) * t) * t) - 1)) + b); } t--; return(((c / 2) * ((((t * t) * t) * t) + 1)) + b); } static function easeInQuint(t, b, c, d) { t = t / d; return((((((c * t) * t) * t) * t) * t) + b); } static function easeOutQuint(t, b, c, d) { t = (t / d) - 1; return((c * (((((t * t) * t) * t) * t) + 1)) + b); } static function easeInOutQuint(t, b, c, d) { t = t / (d / 2); if (t < 1) { return(((((((c / 2) * t) * t) * t) * t) * t) + b); } t = t - 2; return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b); } static function easeOutInQuint(t, b, c, d) { t = t / (d / 2); t--; return(((c / 2) * (((((t * t) * t) * t) * t) + 1)) + b); } static function easeInSine(t, b, c, d) { return((((-c) * Math.cos((t / d) * (Math.PI/2))) + c) + b); } static function easeOutSine(t, b, c, d) { return((c * Math.sin((t / d) * (Math.PI/2))) + b); } static function easeInOutSine(t, b, c, d) { return((((-c) / 2) * (Math.cos((Math.PI * t) / d) - 1)) + b); } static function easeOutInSine(t, b, c, d) { t = t / (d / 2); if (t < 1) { return(((c / 2) * Math.sin((Math.PI * t) / 2)) + b); } t--; return((((-c) / 2) * (Math.cos((Math.PI * t) / 2) - 2)) + b); } static function easeInCirc(t, b, c, d) { t = t / d; return(((-c) * (Math.sqrt(1 - (t * t)) - 1)) + b); } static function easeOutCirc(t, b, c, d) { t = (t / d) - 1; return((c * Math.sqrt(1 - (t * t))) + b); } static function easeInOutCirc(t, b, c, d) { t = t / (d / 2); if (t < 1) { return((((-c) / 2) * (Math.sqrt(1 - (t * t)) - 1)) + b); } t = t - 2; return(((c / 2) * (Math.sqrt(1 - (t * t)) + 1)) + b); } static function easeOutInCirc(t, b, c, d) { t = t / (d / 2); if (t < 1) { t--; return(((c / 2) * Math.sqrt(1 - (t * t))) + b); } t--; return(((c / 2) * (2 - Math.sqrt(1 - (t * t)))) + b); } static var registryKey = "pennerEasing"; }
Symbol 286 MovieClip [__Packages.com.mosesSupposes.fuse.Fuse] Frame 0
class com.mosesSupposes.fuse.Fuse extends Array { var _nID, _aDefaultTargs, length, scope, _nIndex, _oDel1, dispatchEvent, label, autoClear, duration, easing; function Fuse (action) { super(); mx.events.EventDispatcher.initialize(this); _nID = registerInstance(this); _nState = -1; _aDefaultTargs = new Array(); if (arguments.length > 0) { splice.apply(this, new Array(0, 0).concat(arguments)); } var _local4 = ["concat", "join", "sort", "sortOn"]; for (var _local5 in _local4) { com.mosesSupposes.fuse.Fuse.prototype[_local4[_local5]] = function () { if (com.mosesSupposes.fuse.Fuse.OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("105"); } }; } } function addEventListener(event, handler) { } function removeEventListener(event, handler) { } function destroy() { if (OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output(getHandle() + " destroy."); } stop(true); splice(0, length); _aDefaultTargs = null; scope = null; _global.ASSetPropFlags(this, null, 0, 7); var _local4 = _nID; for (var _local3 in this) { delete this[_local3]; } removeInstanceAt(_local4, true); } static function getInstance(idOrLabel) { if (typeof(idOrLabel) == "number") { return(_aInstances[idOrLabel]); } if (typeof(idOrLabel) == "string") { for (var _local2 in _aInstances) { if (com.mosesSupposes.fuse.Fuse(_aInstances[_local2]).label == idOrLabel) { return(_aInstances[_local2]); } } } return(null); } static function getInstances(stateFilter, targets) { var _local10 = (stateFilter == null) || (stateFilter.toUpperCase() == "ALL"); if (!(targets instanceof Array)) { targets = arguments.slice(1); } var _local8 = []; for (var _local11 in _aInstances) { var _local5 = _aInstances[_local11]; if (_aInstances[_local11] == null) { continue; } if ((_local10 == false) && (_local5.__get__state() != stateFilter)) { continue; } var _local3 = targets.length == 0; if (_local3 == false) { if (_local3 == true) { continue; } var _local2 = _local5.getActiveTargets(true); for (var _local7 in targets) { for (var _local6 in _local2) { if (_local2[_local6] == targets[_local7]) { _local3 = true; break; } } } } if (_local3 == true) { _local8.unshift(_local5); } } return(_local8); } function get id() { return(_nID); } function get state() { switch (_nState) { case -1 : return("stopped"); case 0 : return("paused"); case 1 : return("playing"); } return(undefined); } function get currentIndex() { return(_nIndex); } function get currentLabel() { return(this[_nIndex].label); } function get target() { return(((_aDefaultTargs.length == 1) ? (_aDefaultTargs[0]) : (_aDefaultTargs))); } function set target(t) { delete _aDefaultTargs; if (t != null) { addTarget(t); } //return(target); } function addTarget(t) { if (_aDefaultTargs == null) { _aDefaultTargs = []; } if (arguments[0] instanceof Array) { arguments=arguments[0];//parameter overwritten arguments[0]; } for (var _local5 in arguments) { var _local3 = false; for (var _local4 in _aDefaultTargs) { if (arguments[_local5] == _aDefaultTargs[_local4]) { _local3 = true; break; } } if (_local3 == false) { _aDefaultTargs.push(arguments[_local5]); } } } function removeTarget(t) { if ((_aDefaultTargs == null) || (_aDefaultTargs.length == 0)) { return(undefined); } if (arguments[0] instanceof Array) { arguments=arguments[0];//parameter overwritten arguments[0]; } for (var _local4 in arguments) { for (var _local3 in _aDefaultTargs) { if (arguments[_local4] == _aDefaultTargs[_local3]) { _aDefaultTargs.splice(Number(_local3), 1); } } } } function getActiveTargets(includeDefaults) { if (_nState == -1) { return([]); } var _local2; if (includeDefaults == true) { _local2 = _aDefaultTargs.slice(); } else { _local2 = []; } return(com.mosesSupposes.fuse.FuseItem(this[_nIndex]).getActiveTargets(_local2)); } function clone() { var _local3 = []; var _local2 = 0; while (_local2 < length) { _local3.push(com.mosesSupposes.fuse.FuseItem(this[_local2]).getInitObj()); _local2++; } var _local4 = new com.mosesSupposes.fuse.Fuse(); _local4.push.apply(_local4, _local3); _local4.scope = scope; _local4.__set__target(target); return(_local4); } function push() { splice.apply(this, new Array(length, 0).concat(arguments)); return(length); } function pushTween(targets, props, endvals, seconds, ease, delay, callback) { push({__buildMode:true, tweenargs:arguments}); return(length); } function pop() { var _local2 = com.mosesSupposes.fuse.FuseItem(this[length - 1]).getInitObj(); splice(length - 1, 1); return(_local2); } function unshift() { splice.apply(this, new Array(0, 0).concat(arguments)); return(length); } function shift() { var _local2 = com.mosesSupposes.fuse.FuseItem(this[0]).getInitObj(); splice(0, 1); return(_local2); } function splice(startIndex, deleteCount) { stop(true); var _local7 = Number(arguments.shift()); if (_local7 < 0) { _local7 = length + _local7; } deleteCount = Number(arguments.shift()); var _local8 = new Array(); var _local5 = 0; while (_local5 < arguments.length) { var _local4 = ((arguments[_local5] instanceof com.mosesSupposes.fuse.Fuse) ? (arguments[_local5]) : (new com.mosesSupposes.fuse.FuseItem(_local7 + _local5, arguments[_local5], _nID))); addEventListener("onStop", _local4); addEventListener("evtSetStart", _local4); _local8.push(_local4); _local5++; } var _local6 = super.splice.apply(this, new Array(_local7, deleteCount).concat(_local8)); for (var _local9 in _local6) { var _local4 = _local6[_local9]; removeEventListener("onStop", _local4); removeEventListener("evtSetStart", _local4); if (_local4 instanceof com.mosesSupposes.fuse.Fuse) { _local4.removeEventListener("onComplete", _oDel1); } else { _local4.destroy(); } } _local5 = 0; while (_local5 < length) { com.mosesSupposes.fuse.FuseItem(this[_local5])._nItemID = _local5; _local5++; } } function slice(indexA, indexB) { var _local6 = super.slice(indexA, indexB); var _local5 = new Array(); var _local4 = 0; while (_local4 < arguments.length) { _local5.push(com.mosesSupposes.fuse.FuseItem(this[_local4]).getInitObj()); _local4++; } return(_local5); } function reverse() { stop(true); super.reverse(); var _local3 = 0; while (_local3 < length) { com.mosesSupposes.fuse.FuseItem(this[_local3])._nItemID = _local3; _local3++; } } function traceItems(indexA, indexB) { var _local5 = ""; var _local4 = super.slice(indexA, indexB); _local5 = _local5 + ((getHandle() + " traceItems:") + "\n----------\n"); var _local3 = 0; while (_local3 < _local4.length) { if (_local4[_local3] instanceof com.mosesSupposes.fuse.Fuse) { _local5 = _local5 + (((((getHandle() + ">Item#") + _local3) + ": [Nested Fuse] ") + _local4[_local3]) + newline); } else { _local5 = _local5 + (_local4[_local3] + newline); } _local3++; } _local5 = _local5 + "----------"; com.mosesSupposes.fuse.FuseKitCommon.output(_local5); } function toString() { return(((getHandle() + " (contains ") + length) + ((length == 1) ? " item)" : " items)")); } function setStartProps(trueOrItemIDs) { var _local8 = ((arguments.length == 0) || (trueOrItemIDs === true)) || (trueOrItemIDs == com.mosesSupposes.fuse.FuseKitCommon.ALL); dispatchEvent({target:this, type:"evtSetStart", all:_local8, filter:((trueOrItemIDs instanceof Array) ? (trueOrItemIDs) : arguments), curIndex:((_nState == 1) ? (_nIndex) : -1), targs:_aDefaultTargs, scope:scope}); } function start(setStart) { close(); stop(true); _nState = 1; if (length == 0) { advance(false, true, false); } if ((setStart != null) && (setStart != false)) { setStartProps.apply(this, arguments); } dispatchEvent({target:this, type:"onStart"}); if (OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output(getHandle() + " start."); } playCurrentItem(); } function stop() { if (_nState != -1) { var _local3 = 0; while (_local3 < length) { if ((_local3 == _nIndex) || (com.mosesSupposes.fuse.FuseItem(this[_local3]).hasTriggerFired() == true)) { com.mosesSupposes.fuse.FuseItem(this[_local3]).stop(); } _local3++; } } if (this[_nIndex] instanceof com.mosesSupposes.fuse.Fuse) { com.mosesSupposes.fuse.Fuse(this[_nIndex]).removeEventListener("onComplete", _oDel1); com.mosesSupposes.fuse.Fuse(this[_nIndex]).stop(); } var _local4 = _nState; _nState = -1; if ((!(arguments[0] === true)) && (_local4 != -1)) { dispatchEvent({target:this, type:"onStop"}); if (OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output(getHandle() + " stop."); } } _nIndex = 0; clearInterval(_nDelay); _nTimeCache = (_nDelay = -1); } function skipTo(indexOrLabel) { close(); var _local3 = normalizeIndex(indexOrLabel); if (_local3 == null) { if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("102", "skipTo", String(indexOrLabel)); } return(undefined); } if ((_local3 == _nIndex) && (arguments[1] === true)) { if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("103", String(indexOrLabel), _nIndex); } } if (this[_nIndex] instanceof com.mosesSupposes.fuse.Fuse) { com.mosesSupposes.fuse.Fuse(this[_nIndex]).removeEventListener("onComplete", _oDel1); } com.mosesSupposes.fuse.FuseItem(this[_nIndex]).stop(); _nIndex = _local3; var _local4 = _nState; _nState = 1; if (_local4 == -1) { dispatchEvent({target:this, type:"onStart"}); } playCurrentItem(); if (OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output("skipTo:" + _local3); } } function pause() { if (_nState == 1) { this[_nIndex].pause(); if (_nTimeCache != -1) { _nTimeCache = _nTimeCache - getTimer(); clearInterval(_nDelay); } _nState = 0; if (OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output(getHandle() + " pause."); } dispatchEvent({target:this, type:"onPause"}); } } function resume() { if (_nState != 0) { return(undefined); } close(); _nState = 1; if (OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output(getHandle() + " resume."); } dispatchEvent({target:this, type:"onResume"}); if (_nTimeCache != -1) { clearInterval(_nDelay); _nTimeCache = getTimer() + _nTimeCache; _nDelay = setInterval(mx.utils.Delegate.create(this, playCurrentItem), _nTimeCache, true); } if (this[_nIndex] instanceof com.mosesSupposes.fuse.Fuse) { com.mosesSupposes.fuse.Fuse(this[_nIndex]).resume(); } else { com.mosesSupposes.fuse.FuseItem(this[_nIndex]).pause(true); } } function fastForward(resumeAtIndexOrLabel) { var _local3 = ((resumeAtIndexOrLabel == null) ? (length) : (normalizeIndex(resumeAtIndexOrLabel))); if (_local3 == null) { if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("102", "fastForward", String(resumeAtIndexOrLabel)); } return(undefined); } if ((_local3 == 0) || (_local3 <= _nIndex)) { if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("104", _local3); } skipTo(_local3); return(undefined); } clearInterval(_nDelay); var _local2 = _nIndex; while (_local2 < _local3) { this[_local2].fastForward(null, _aDefaultTargs, scope); advance(false, true, !((_local2 == (_local3 - 1)) && (_local3 < length))); _local2++; } } function getHandle() { return("-Fuse" + ((label != undefined) ? ((" \"" + label) + "\"") : ("#" + String(_nID)))); } function advance(wasTriggered, silentStop, isFF) { var _local3 = false; if ((_nIndex == (length - 1)) && (isFF != true)) { var _local2 = length - 1; while (_local2 > -1) { if (com.mosesSupposes.fuse.FuseItem(this[_local2])._nPlaying > -1) { return(undefined); } _local2--; } _local3 = true; } if ((wasTriggered == true) && (_local3 == false)) { return(undefined); } if (this[_nIndex] instanceof com.mosesSupposes.fuse.Fuse) { com.mosesSupposes.fuse.Fuse(this[_nIndex]).removeEventListener("onComplete", _oDel1); } if ((++_nIndex) >= length) { stop(silentStop); if (OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output(getHandle() + " complete."); } dispatchEvent({target:this, type:"onComplete"}); if ((autoClear == true) || ((!(autoClear === false)) && (AUTOCLEAR == true))) { destroy(); } return(undefined); } if (isFF == true) { return(undefined); } if (OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output((getHandle() + " advance: ") + _nIndex); } dispatchEvent({target:this, type:"onAdvance"}); playCurrentItem(); } function playCurrentItem(postDelay) { clearInterval(_nDelay); if (!(postDelay === true)) { var _local4 = com.mosesSupposes.fuse.FuseItem(this[_nIndex]).evalDelay(scope) || 0; if (_local4 > 0) { var _local3 = Math.abs(_global.com.mosesSupposes.fuse.ZigoEngine.TIME_MULTIPLIER); if (_global.isNaN(_local3) == true) { _local3 = 1; } _nTimeCache = getTimer() + ((_local4 * 1000) * _local3); _nDelay = setInterval(mx.utils.Delegate.create(this, playCurrentItem), (_local4 * 1000) * _local3, true); return(undefined); } } _nTimeCache = (_nDelay = -1); if (this[_nIndex] instanceof com.mosesSupposes.fuse.Fuse) { if (_oDel1 == null) { _oDel1 = mx.utils.Delegate.create(this, advance); } com.mosesSupposes.fuse.Fuse(this[_nIndex]).addEventListener("onComplete", _oDel1); com.mosesSupposes.fuse.Fuse(this[_nIndex]).start(_aDefaultTargs, scope); } else { var _local5 = com.mosesSupposes.fuse.FuseItem(this[_nIndex]).startItem(_aDefaultTargs, scope, duration, easing); if (OUTPUT_LEVEL > 1) { com.mosesSupposes.fuse.FuseKitCommon.output((getHandle() + " props tweened: ") + _local5); } } } function evtSetStart(o) { setStartProps.apply(this, o.filter); } static function open(fuseOrID) { var _local3 = _global.com.mosesSupposes.fuse.ZigoEngine; if (_local3 == undefined) { com.mosesSupposes.fuse.FuseKitCommon.error("106"); return(null); } _local3.register(com.mosesSupposes.fuse.Fuse, com.mosesSupposes.fuse.FuseItem); if (_oBuildMode == null) { _oBuildMode = {curID:-1, prevID:-1, curGroup:null}; } else if ((_oBuildMode != null) && (_oBuildMode.curID > -1)) { close(); } if (fuseOrID != null) { if (fuseOrID instanceof com.mosesSupposes.fuse.Fuse) { _oBuildMode.curID = fuseOrID.id; } else if (getInstance(fuseOrID) != null) { _oBuildMode.curID = getInstance(fuseOrID).id; } else { com.mosesSupposes.fuse.FuseKitCommon.error("107"); return(null); } } else { _oBuildMode.curID = (new com.mosesSupposes.fuse.Fuse()).id; } _oBuildMode.prevID = _oBuildMode.curID; return(getInstance(_oBuildMode.curID)); } static function openGroup(fuseOrID) { if (!((_oBuildMode != null) && (_oBuildMode.curID > -1))) { open(fuseOrID); } else if (_oBuildMode.curGroup != null) { closeGroup(); } _oBuildMode.curGroup = new Array(); return(getInstance(_oBuildMode.curID)); } static function closeGroup() { if ((_oBuildMode.curGroup == null) || (!((_oBuildMode != null) && (_oBuildMode.curID > -1)))) { return(undefined); } getInstance(_oBuildMode.curID).push(_oBuildMode.curGroup); _oBuildMode.curGroup = null; } static function close() { if (!((_oBuildMode != null) && (_oBuildMode.curID > -1))) { return(undefined); } if (_oBuildMode.curGroup != null) { closeGroup(); } _oBuildMode.curID = -1; } static function closeAndStart(setStart) { if (!((_oBuildMode != null) && (_oBuildMode.curID > -1))) { return(undefined); } var _local2 = getInstance(_oBuildMode.curID); close(); _local2.start.apply(_local2, arguments); } static function startRecent(setStart) { var _local2 = getInstance(_oBuildMode.prevID); if (_local2 != null) { _local2.start.apply(_local2, arguments); } else { com.mosesSupposes.fuse.FuseKitCommon.error("108"); } } static function addCommand(commandOrScope, indexOrFunc, argument) { if (!((_oBuildMode != null) && (_oBuildMode.curID > -1))) { return(undefined); } var _local4 = _oBuildMode.curGroup != null; var _local2 = ((_local4 == true) ? (_oBuildMode.curGroup) : (getInstance(_oBuildMode.curID))); if (typeof(commandOrScope) == "string") { var _local7 = indexOrFunc != undefined; var _local5 = com.mosesSupposes.fuse.FuseKitCommon._validateFuseCommand(String(commandOrScope), _local4, _local7, OUTPUT_LEVEL, true); if (_local5 == true) { _local2.push({__buildMode:true, command:commandOrScope, commandargs:indexOrFunc}); } } else { _local2.push({__buildMode:true, scope:commandOrScope, func:indexOrFunc, args:arguments.slice(2)}); } } static function addBuildItem(args) { if (!((_oBuildMode != null) && (_oBuildMode.curID > -1))) { return(false); } var _local1 = ((_oBuildMode.curGroup != null) ? (_oBuildMode.curGroup) : (getInstance(_oBuildMode.curID))); if ((args.length == 1) && (typeof(args[0]) == "object")) { _local1.push(args[0]); } else { _local1.push({__buildMode:true, tweenargs:args}); } return(true); } function normalizeIndex(indexOrLabel) { var _local4; if (typeof(indexOrLabel) == "string") { _local4 = -1; var _local3 = 0; while (_local3 < length) { if (this[_local3].label == String(indexOrLabel)) { _local4 = _local3; break; } _local3++; } if (_local4 == -1) { return(null); } } else { _local4 = Number(indexOrLabel); } if ((_global.isNaN(_local4) == true) || (Math.abs(_local4) >= length)) { return(null); } if (_local4 < 0) { _local4 = Math.max(0, length + _local4); } return(_local4); } static function registerInstance(s) { if (_aInstances == null) { _aInstances = new Array(); } return(_aInstances.push(s) - 1); } static function removeInstanceAt(id, isDestroyCall) { if (isDestroyCall != true) { com.mosesSupposes.fuse.Fuse(_aInstances[id]).destroy(); } delete _aInstances[id]; } static var registryKey = "fuse"; static var VERSION = com.mosesSupposes.fuse.FuseKitCommon.VERSION; static var OUTPUT_LEVEL = 1; static var AUTOCLEAR = false; static var AUTOSTOP = true; var _nState = -1; var _nDelay = -1; var _nTimeCache = -1; static var _aInstances = null; static var _oBuildMode = null; }
Symbol 287 MovieClip [__Packages.com.mosesSupposes.fuse.FuseItem] Frame 0
class com.mosesSupposes.fuse.FuseItem { static var _ZigoEngine, _aInstances; var _nItemID, _nFuseID, _initObj, _aProfiles, _oElements, _oTemps, _sImage, _aTweens, _oTwBeingAdded; function FuseItem (id, o, fuseID) { _ZigoEngine = _global.com.mosesSupposes.fuse.ZigoEngine; _nItemID = id; _nFuseID = fuseID; _initObj = o; _aProfiles = []; _oElements = {aEvents:[]}; _oTemps = {}; if (!(o instanceof Array)) { o = [o]; } var _local19 = _global.com.mosesSupposes.fuse.Fuse; _oTemps.outputLevel = ((_local19 != undefined) ? (_local19.OUTPUT_LEVEL) : (_global.com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL)); if (o.length == 1) { var _local18 = o[0]; var _local12 = ((_local18.action != undefined) ? (_local18.action) : (_local18)); if ((_local12.__buildMode != true) && (_local12.command != undefined)) { _oElements.command = _local12.command; _oElements.scope = _local12.scope; _oElements.args = _local12.args; _sImage = " Elements:[" + ("command" + ((typeof(_local12.command) == "string") ? ((":\"" + _local12.command) + "\", ") : ", ")); if (_local12.delay != undefined) { _sImage = _sImage + "delay, "; _oElements.delay = _local12.delay; } _sImage = _sImage.slice(0, -2) + "]"; if ((_local12.func != undefined) && (_oTemps.outputLevel > 0)) { com.mosesSupposes.fuse.FuseKitCommon.error("113"); } return; } } _oTemps.sImgS = ""; _oTemps.sImgE = ""; _oTemps.sImgB = ""; _oTemps.afl = 0; _oTemps.ael = 0; _oTemps.twDelayFlag = false; _oTemps.nActions = o.length; _oTemps.fuseProps = com.mosesSupposes.fuse.FuseKitCommon._fuseprops(); _oTemps.cbProps = com.mosesSupposes.fuse.FuseKitCommon._cbprops(); _oTemps.sUP = com.mosesSupposes.fuse.FuseKitCommon._underscoreable(); _oTemps.sCT = com.mosesSupposes.fuse.FuseKitCommon._cts(); _oTemps.bTriggerFound = false; for (var _local17 in o) { var _local3 = o[_local17]; if ((_local3.label != undefined) && (typeof(_local3.label) == "string")) { _oElements.label = _local3.label; } var _local4; var _local8 = Boolean(typeof(_local3.action) == "object"); if (_local8 == true) { var _local7 = ((_local3.action instanceof Array) ? (_local3.action) : ([_local3.action])); _local4 = {delay:_local3.delay, target:_local3.target, addTarget:_local3.addTarget, label:_local3.label, trigger:_local3.trigger}; for (var _local15 in _local7) { var _local5 = parseProfile(_local7[_local15], _local4); if (_local5 != undefined) { _aProfiles.unshift(_local5); } } } else { var _local7 = _local3; var _local5 = parseProfile(_local7, _local4); if (_local5 != undefined) { _aProfiles.unshift(_local5); } } } _sImage = ""; var _local16 = ""; if (_oTemps.afl > 0) { _local16 = _local16 + ((_oTemps.afl > 1) ? (_oTemps.afl + " callbacks, ") : "callback, "); } if ((_oElements.delay != undefined) || (_oTemps.twDelayFlag == true)) { _local16 = _local16 + "delay, "; } if (_oTemps.bTriggerFound == true) { _local16 = _local16 + "trigger, "; } if (_oTemps.ael > 0) { _local16 = _local16 + ((_oTemps.ael > 1) ? (_oTemps.ael + " events, ") : "event, "); } if (_local16 != "") { _sImage = _sImage + ((" Elements:[" + _local16.slice(0, -2)) + "]"); } if (_oTemps.sImgS != "") { _sImage = _sImage + ((" StartProps:[" + _oTemps.sImgS.slice(0, -2)) + "]"); } if (_oTemps.sImgE != "") { _sImage = _sImage + ((" Props:[" + _oTemps.sImgE.slice(0, -2)) + "]"); } if (_oTemps.sImgB != "") { _sImage = _sImage + ((" Simple Syntax Props:[" + _oTemps.sImgB.slice(0, -1)) + "]"); } if (_sImage.slice(-2) == ", ") { _sImage = _sImage.slice(0, -2); } delete _oTemps; } static function doTween() { for (var _local3 in arguments) { if (typeof(arguments[_local3]) == "object") { if (_aInstances == undefined) { _aInstances = new Array(); } var _local2 = new com.mosesSupposes.fuse.FuseItem(_aInstances.length, arguments[_local3], -1); return(_local2.startItem()); } } } function get label() { return(_oElements.label); } function hasTriggerFired() { return(_bTrigger == true); } function getInitObj() { return(_initObj); } function getActiveTargets(targetList) { if (_aTweens.length <= 0) { return(targetList); } var _local3 = false; for (var _local5 in _aTweens) { for (var _local4 in targetList) { if (targetList[_local4] == _aTweens[_local5].targ) { _local3 = true; break; } } if (_local3 == false) { targetList.unshift(_aTweens[_local5].targ); } } return(targetList); } function toString() { return(String((_sID() + ":") + _sImage)); } function evalDelay(scope) { var _local3 = _oElements.delay; if (_local3 instanceof Function) { _local3 = _local3.apply(((_oElements.delayscope != undefined) ? (_oElements.delayscope) : (scope))); } if (typeof(_local3) == "string") { _local3 = parseClock(String(_local3)); } if (_global.isNaN(Number(_local3)) == true) { return(0); } return(Number(_local3)); } function startItem(targs, scope, duration, easing) { _ZigoEngine = _global.com.mosesSupposes.fuse.ZigoEngine; var _local11 = _global.com.mosesSupposes.fuse.Fuse; var _local5 = ((_local11 != undefined) ? (_local11.OUTPUT_LEVEL) : (_ZigoEngine.OUTPUT_LEVEL)); if (_oElements.command != null) { var _local12 = _oElements.scope || (scope); var _local10 = ((_oElements.command instanceof Function) ? (String(_oElements.command.apply(_local12))) : (String(_oElements.command))); var _local6 = ((_oElements.args instanceof Function) ? (_oElements.args.apply(_local12)) : (_oElements.args)); var _local13 = com.mosesSupposes.fuse.FuseKitCommon._validateFuseCommand(_local10, _aProfiles.length > 0, (_local6 != null) && (!((_local6 instanceof Array) && (_local6.length == 0))), _local5, false); if (_local13 == true) { _nPlaying = 1; if (!(_local6 instanceof Array)) { _local6 = ((_local6 == null) ? ([]) : ([_local6])); } dispatchRequest(String(_local10), _local6); } if ((_local13 == false) || (_local10 == "setStartProps")) { complete(); } return(null); } if (_aTweens.length > 0) { stop(); } _ZigoEngine.addListener(this); _nPlaying = 2; var _local4 = null; if (_aProfiles.length > 0) { if (_ZigoEngine == undefined) { com.mosesSupposes.fuse.FuseKitCommon.error("112"); } else { _local4 = doTweens(targs, scope, duration, easing, false, false); } } _nPlaying = 1; var _local3 = _oElements.aEvents; for (var _local9 in _local3) { if (((_local4 == null) && (_aTweens.length > 0)) && (_local3[_local9].skipLevel == 2)) { continue; } fireEvents(_local3[_local9], scope, _local5, targs); } if (((_local4 == null) && (_aTweens.length <= 0)) && (_nPlaying == 1)) { if (_local5 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(((_sID() + " no tweens added - item done. [getTimer()=") + getTimer()) + "]"); } complete(); } return(_local4); } function stop() { var _local2 = _nPlaying > -1; _nPlaying = -1; if (_local2 == true) { onStop(); } _ZigoEngine.removeListener(this); } static function removeInstance(id) { com.mosesSupposes.fuse.FuseItem(_aInstances[id]).destroy(); delete _aInstances[id]; } function onStop() { _bStartSet = false; for (var _local3 in _aTweens) { var _local2 = _aTweens[_local3]; _local2.targ.removeListener(this); _ZigoEngine.removeTween(_local2.targ, _local2.props); delete _aTweens[_local3]; } delete _aTweens; _bTrigger = false; } function evtSetStart(o) { if ((_sImage.indexOf("StartProps:") == -1) || (o.curIndex == _nItemID)) { return(undefined); } if (o.all != true) { var _local3 = false; for (var _local4 in o.filter) { if ((Number(o.filter[_local4]) == _nItemID) || (String(o.filter[_local4]) == _oElements.label)) { _local3 = true; } } if (_local3 == false) { return(undefined); } } _nPlaying = 2; doTweens(o.targs, o.scope, null, null, true, false); _nPlaying = -1; _bStartSet = true; } function pause(resume) { if (_nPlaying == -1) { return(undefined); } _nPlaying = ((resume == true) ? 1 : 0); for (var _local12 in _aTweens) { var _local4 = _aTweens[_local12]; var _local2 = _local4.targ; var _local3 = _local4.props; if (resume == true) { var _local5 = []; var _local6 = _aTweens.length; for (var _local8 in _local3) { if (_ZigoEngine.isTweenPaused(_local2, _local3[_local8]) == false) { _local5.push(_local3[_local8]); } } if (_local5.length > 0) { onTweenEnd({__zigoID__:_local4.targZID, props:_local5, isResume:true}); } if (_aTweens.length == _local6) { _local2.addListener(this); _ZigoEngine.unpauseTween(_local2, _local4.props); } } else { _local2.removeListener(this); _ZigoEngine.pauseTween(_local2, _local4.props); } } if ((resume == true) && (_aTweens.length <= 0)) { complete(); } else if (resume == true) { _ZigoEngine.addListener(this); } else { _ZigoEngine.removeListener(this); } } function fastForward(ignore, targs, scope) { if (_nPlaying == 1) { for (var _local4 in _aTweens) { var _local3 = _aTweens[_local4]; var _local2 = _local3.targ; _local2.removeListener(this); _ZigoEngine.ffTween(_local2, _local3.props, true); } return(undefined); } if (_nPlaying == 2) { com.mosesSupposes.fuse.FuseKitCommon.error("125", _nItemID); } _nPlaying = 2; doTweens(targs, scope, null, null, false, true); stop(); } function destroy() { var _local3 = _nPlaying > -1; _nPlaying = -1; for (var _local5 in _aTweens) { var _local2 = _aTweens[_local5]; _local2.targ.removeListener(this); if (_local3 == true) { _ZigoEngine.removeTween(_local2.targ, _local2.props); } delete _aTweens[_local5]; } for (var _local4 in this) { delete this[_local4]; } } function dispatchRequest(type, args) { var _local4 = _global.com.mosesSupposes.fuse.Fuse.getInstance(_nFuseID); if ((!(args instanceof Array)) && (args != null)) { args = new Array(args); } Function(_local4[type]).apply(_local4, args); } function _sID() { var _local3; if (_nFuseID == -1) { _local3 = "-One-off tween "; } else { _local3 = _global.com.mosesSupposes.fuse.Fuse.getInstance(_nFuseID).getHandle(); } _local3 = _local3 + (">Item #" + String(_nItemID)); if (_oElements.label != undefined) { _local3 = _local3 + ((" \"" + _oElements.label) + "\""); } return(_local3); } function parseProfile(obj, aap) { var _local40; var _local2; var _local8; if (obj.__buildMode == true) { if (obj.command != undefined) { if (obj.command == "delay") { _oElements.delay = obj.commandargs; } else if (obj.command == "trigger") { if (_oTemps.bTriggerFound == false) { _oTemps.bTriggerFound = true; return({trigger:obj.commandargs, _doTimer:true}); } if (_oTemps.outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("124", _sID(), obj.commandargs); } } else { _oElements.command = obj.command; _oElements.args = obj.commandargs; } } if (obj.func != undefined) { _oTemps.afl++; _oElements.aEvents.unshift({scope:obj.scope, func:obj.func, args:obj.args}); } if (obj.tweenargs != undefined) { _oTemps.sImgB = _oTemps.sImgB + (obj.tweenargs[1].toString() + ","); return(obj); } return(null); } var _local4 = {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) : (_ZigoEngine.SKIP_LEVEL)), roundResults:obj.roundResults, oSP:{}, oEP:{}, oAFV:{}}; var _local22 = ((aap.trigger != undefined) ? (aap.trigger) : (obj.trigger)); if (_local22 != undefined) { if (_oTemps.bTriggerFound == false) { _local4.trigger = _local22; _oTemps.bTriggerFound = true; } else if (_oTemps.outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("124", _sID(), _local22); } } if (_local4.delay == undefined) { _local4.delay = obj.startAt; } if (_local4.ease == undefined) { _local4.ease = obj.easing; } if (_local4.seconds == undefined) { _local4.seconds = ((obj.duration != undefined) ? (obj.duration) : (obj.time)); } if (aap.target != undefined) { _local4.target = ((aap.target instanceof Array) ? (aap.target) : ([aap.target])); } else if (obj.target != undefined) { _local4.target = ((obj.target instanceof Array) ? (obj.target) : ([obj.target])); } if (obj.addTarget != undefined) { _local4.addTarget = ((obj.addTarget instanceof Array) ? (obj.addTarget) : ([obj.addTarget])); } if (aap.addTarget != undefined) { if (_local4.addTarget == undefined) { _local4.addTarget = ((aap.addTarget instanceof Array) ? (aap.addTarget) : ([aap.addTarget])); } else { _local4.addTarget = ((_local4.addTarget instanceof Array) ? (_local4.addTarget.concat(aap.addTarget)) : (new Array(_local4.addTarget).concat(aap.addTarget))); } } var _local15 = false; for (_local2 in obj) { var _local9 = obj[_local2]; if (_oTemps.cbProps.indexOf(("|" + _local2) + "|") > -1) { if (_local2 != "skipLevel") { _local4[_local2] = _local9; } continue; } if (_oTemps.fuseProps.indexOf(("|" + _local2) + "|") > -1) { if (((_local2 == "command") && (_oTemps.nActions > 1)) && (_oTemps.outputLevel > 0)) { com.mosesSupposes.fuse.FuseKitCommon.error("109", String(_local9), true); } continue; } if (typeof(_local9) == "object") { var _local11 = ((_local9 instanceof Array) ? ([]) : ({})); for (_local8 in _local9) { _local11[_local8] = _local9[_local8]; } _local9 = _local11; } var _local3; var _local21; if (_local2.indexOf("start") == 0) { _local2 = _local2.slice(6); _local3 = _local4.oSP; } else { _local3 = _local4.oEP; } if ((ADD_UNDERSCORES == true) && (_oTemps.sUP.indexOf(("|_" + _local2) + "|") > -1)) { _local2 = "_" + _local2; } if (_oTemps.sCT.indexOf(("|" + _local2) + "|") > -1) { var _local13 = (_local2 == "_tintPercent") && (_local3.colorProp.p == "_tint"); var _local12 = (_local2 == "_tint") && (_local3.colorProp.p == "_tintPercent"); if (((_local3.colorProp == undefined) || (_local13 == true)) || (_local12 == true)) { if (_local13 == true) { _local3.colorProp = {p:"_tint", v:{tint:_local3.colorProp.v, percent:_local9}}; } else if (_local12 == true) { _local3.colorProp = {p:"_tint", v:{tint:_local9, percent:_local3.colorProp.v}}; } else { _local3.colorProp = {p:_local2, v:_local9}; } _local15 = true; } else if (_oTemps.outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("115", _sID(), _local2); } } else if (_local9 != null) { if (((_local3 == _local4.oEP) && ((obj.controlX != undefined) || (obj.controlY != undefined))) && (((_local2.indexOf("control") == 0) || (_local2 == "_x")) || (_local2 == "_y"))) { if (_local3._bezier_ == undefined) { _local3._bezier_ = {}; } if (_local2.indexOf("control") == 0) { _local3._bezier_[_local2] = _local9; } else { _local3._bezier_[_local2.charAt(1)] = _local9; } } else { _local3[_local2] = _local9; } _local15 = true; } } if ((_local15 == false) && ((_local4.trigger != undefined) || (((_local4.delay != undefined) || (_local4.seconds != undefined)) && (((_local4.startfunc != undefined) || (_local4.updfunc != undefined)) || ((_local4.func != undefined) && (_oTemps.nActions > 1)))))) { if (_ZigoEngine == undefined) { com.mosesSupposes.fuse.FuseKitCommon.error("116"); } else { if (_local4.func != undefined) { _oTemps.afl++; } if (_local4.event != undefined) { _oTemps.ael++; } _local4._doTimer = true; if (_local4.delay != undefined) { _oTemps.twDelayFlag = true; } return(_local4); } } if (_local15 == true) { var _local17 = _local4.oEP.colorProp != undefined; var _local7 = 0; while (_local7 < 2) { var _local3 = ((_local7 == 0) ? (_local4.oSP) : (_local4.oEP)); var _local6 = ((_local7 == 0) ? (_oTemps.sImgS) : (_oTemps.sImgE)); var _local10 = _local3.colorProp.p; if (_local10 != undefined) { _local3[_local10] = _local3.colorProp.v; delete _local3.colorProp; } if (((_local3._xscale != undefined) || (_local3._scale != undefined)) && ((_local3._width != undefined) || (_local3._size != undefined))) { var _local14 = ((_local3._xscale != undefined) ? "_xscale" : "_scale"); delete _local3[_local14]; if (_oTemps.outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("115", _sID(), _local14); } } if (((_local3._yscale != undefined) || (_local3._scale != undefined)) && ((_local3._height != undefined) || (_local3._size != undefined))) { var _local14 = ((_local3._yscale != undefined) ? "_yscale" : "_scale"); delete _local3[_local14]; if (_oTemps.outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("115", _sID(), _local14); } } for (_local2 in _local3) { if (_local6.indexOf(_local2 + ", ") == -1) { _local6 = _local6 + (_local2 + ", "); } if (_local3 == _local4.oSP) { if ((_local4.oEP[_local2] == undefined) && (!((_local2 == _local10) && (_local17 == true)))) { _local4.oAFV[_local2] = true; _local4.oEP[_local2] = []; } } } ((_local7 == 0) ? ((_oTemps.sImgS = _local6)) : ((_oTemps.sImgE = _local6))); _local7++; } return(_local4); } if ((_local4.delay != undefined) && (_oTemps.nActions == 1)) { _oElements.delay = _local4.delay; _oElements.delayscope = _local4.scope; } if (_local4.event != undefined) { _oTemps.ael++; _oElements.aEvents.unshift({scope:_local4.scope, e:_local4.event, ep:_local4.eventparams, skipLevel:_local4.skipLevel}); } var _local23 = _oElements.aEvents.length; if (_local4.func != undefined) { _oElements.aEvents.push({func:_local4.func, scope:_local4.scope, args:_local4.args, skipLevel:_local4.skipLevel}); } _oTemps.afl = _oTemps.afl + (_oElements.aEvents.length - _local23); return(undefined); } function doTweens(targs, defaultScope, defaultSeconds, defaultEase, setStart, isFF) { if (_aTweens == null) { _aTweens = []; } var tba = ((_oTwBeingAdded = {})); var ZE = _ZigoEngine; var _local33 = function (target, props, endvals, seconds, ease, delay, callback) { if (target.__zigoID__ == null) { ZE.initializeTargets(target); } tba[target.__zigoID__] = true; var _local3 = ZE.doTween.apply(ZE, arguments); tba[target.__zigoID__] = false; return(((_local3 == null) ? ([]) : (_local3.split(",")))); }; var _local71 = _global.com.mosesSupposes.fuse.Fuse; var _local19 = ((_local71 != undefined) ? (_local71.OUTPUT_LEVEL) : (_ZigoEngine.OUTPUT_LEVEL)); var _local23 = ""; var _local64 = 0; var _local7; var _local8; var _local5; var _local72 = (_bStartSet != true) && ((setStart == true) || (_sImage.indexOf("StartProps:") > -1)); var _local48 = 0; while (_local48 < _aProfiles.length) { if (_nPlaying < 2) { return(null); } var _local4 = _aProfiles[_local48]; if (_local4.__buildMode == true) { var _local9 = _aProfiles[_local48].tweenargs; var _local63 = _local23; if ((_local9[6].cycles === 0) || (_local9[6].cycles.toUpperCase() == "LOOP")) { delete _local9[6].cycles; if (_local19 > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("117", _sID()); } } var _local58 = com.mosesSupposes.fuse.FuseKitCommon.parseCallback(_local9[6]); if (!(_local9[0] instanceof Array)) { _local9[0] = [_local9[0]]; } for (_local7 in _local9[0]) { if (isFF == true) { _local33(_local9[0][_local7], _local9[1], _local9[2], 0, null, 0, {skipLevel:0}); if (_local19 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(((((("\n-" + _sID()) + " FF(simple syntax)\ttargets:[") + _local9[0][_local7]) + "]\tprops:[") + _local9[1]) + "]"); } } else { var _local15 = _local33(_local9[0][_local7], _local9[1], _local9[2], _local9[3], _local9[4], _local9[5], _local58); if (_local15.length > 0) { _aTweens.push({targ:_local9[0][_local7], props:_local15, targZID:_local9[0][_local7].__zigoID__}); _local9[0][_local7].addListener(this); for (_local8 in _local15) { if (_local23.indexOf(_local15[_local8] + ",") == -1) { _local23 = _local23 + (_local15[_local8] + ","); } } } if (_local19 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(((((("\n-" + _sID()) + " TWEEN(simple syntax)\ttargets:[") + _local9[0][_local7]) + "]\tprops tweened:[") + _local15.toString()) + "]"); } } } if ((isFF == false) && ((_local63 == _local23) || (_local23 == ""))) { _local64++; } } else { var _local21 = defaultScope; var _local14 = []; var _local49 = ((_local4.target == undefined) ? (targs) : (_local4.target)); var _local25 = []; var _local51 = false; for (_local7 in _local49) { var _local6 = _local49[_local7]; _local25 = _local25.concat(((_local6 instanceof Function) ? (_local6.apply(_local21)) : (_local6))); } for (_local7 in _local4.addTarget) { var _local6 = _local4.addTarget[_local7]; _local25 = _local25.concat(((_local6 instanceof Function) ? (_local6.apply(_local21)) : (_local6))); } for (_local7 in _local25) { var _local6 = _local25[_local7]; if (_local6 != null) { var _local37 = false; for (_local8 in _local14) { if (_local14[_local8] == _local6) { _local37 = true; break; } } if (_local37 == false) { _local14.unshift(_local6); } } else { _local51 = true; } } var _local53 = ((_local4._doTimer == true) && (_local14.length == 0)) && (isFF == false); if ((_local51 == true) || ((_local14.length == 0) && (_local4._doTimer != true))) { _local64++; } if (_local72 == true) { for (_local7 in _local14) { if (_nPlaying < 2) { return(null); } var _local34 = _local14[_local7]; var _local32 = []; var _local26 = []; if (setStart == true) { for (var _local61 in _local4.oEP) { _global.com.mosesSupposes.fuse.FuseFMP.getFilterProp(_local34, _local61, true); } } for (var _local62 in _local4.oSP) { var _local6 = _local4.oSP[_local62]; if (_local6 instanceof Function) { _local6 = _local6.apply(_local21); } if ((_local6 === true) || (_local6 === false)) { _local34[_local62] = _local6; if (_local4.oAFV[_local62] == true) { for (_local5 in _local4.oEP[_local62]) { if (_local4.oEP[_local62][_local5].targ == _local34) { _local4.oEP[_local62].splice(Number(_local5), 1); } } _local4.oEP[_local62].push({targ:_local34, val:"IGNORE", _isAF:true}); } continue; } if (((_local4.oAFV[_local62] == true) && (!((_local62 == "_colorReset") && (_local6 == 100)))) && (!((_local62 == "_tintPercent") && (_local6 == 0)))) { var _local17; if ((_local62 == "_tint") || (_local62 == "_colorTransform")) { _local17 = _ZigoEngine.getColorTransObj(); } else if ((String(com.mosesSupposes.fuse.FuseKitCommon._resetTo100()).indexOf(("|" + _local62) + "|") > -1) || ((_local62 == "_fade") && (_local6 < 50))) { _local17 = 100; } else if ((String(com.mosesSupposes.fuse.FuseKitCommon._resetTo0()).indexOf(("|" + _local62) + "|") > -1) || (_local62 == "_fade")) { _local17 = 0; } else { var _local28 = _global.com.mosesSupposes.fuse.FuseFMP.getFilterProp(_local34, _local62, true); if (_local28 != null) { _local17 = _local28; } else { _local17 = ((_global.isNaN(_local34[_local62]) == false) ? _local34[_local62] : 0); } } for (_local5 in _local4.oEP[_local62]) { if (_local4.oEP[_local62][_local5].targ == _local34) { _local4.oEP[_local62].splice(Number(_local5), 1); } } _local4.oEP[_local62].push({targ:_local34, val:_local17, _isAF:true}); } if (typeof(_local6) == "object") { var _local27 = ((_local6 instanceof Array) ? ([]) : ({})); for (_local5 in _local6) { _local27[_local5] = ((_local6[_local5] instanceof Function) ? Function(_local6[_local5]).apply(_local21) : _local6[_local5]); } _local6 = _local27; } _local32.push(_local62); _local26.push(_local6); } if (_local26.length > 0) { if (_local19 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output((((_sID() + " ") + _local34) + " SET STARTS: ") + [("[" + _local32) + "]", ("[" + _local26) + "]"]); } _local33(_local34, _local32, _local26, 0); } } } if (setStart == true) { } else { var _local24; var _local47; var _local31; var _local10; var _local46; var _local18; var _local40 = ""; if (isFF == false) { if (_local4.scope != undefined) { _local21 = _local4.scope; } _local47 = ((_local4.skipLevel instanceof Function) ? (_local4.skipLevel.apply(_local21)) : (_local4.skipLevel)); var _local68 = ((_local4.extra1 instanceof Function) ? (_local4.extra1.apply(_local21)) : (_local4.extra1)); var _local67 = ((_local4.extra2 instanceof Function) ? (_local4.extra2.apply(_local21)) : (_local4.extra2)); var _local69 = ((_local4.roundResults instanceof Function) ? (_local4.roundResults.apply(_local21)) : (_local4.roundResults)); _local31 = {skipLevel:_local47, extra1:_local68, extra2:_local67, roundResults:_local69}; _local10 = {skipLevel:_local47, extra1:_local68, extra2:_local67, roundResults:_local69}; if (_local4.cycles != undefined) { var _local52 = ((_local4.cycles instanceof Function) ? (_local4.cycles.apply(_local21)) : (_local4.cycles)); if (((Number(_local52) == 0) || (String(_local52).toUpperCase() == "LOOP")) && (_local71 != undefined)) { delete _local4.cycles; if (_local19 > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("117", _sID()); } } else { _local31.cycles = (_local10.cycles = _local52); } } if (((_local4.func != undefined) || (_local4.startfunc != undefined)) || (_local4.updfunc != undefined)) { for (_local7 in _local4) { if (_local7.indexOf("func") > -1) { _local10[_local7] = _local4[_local7]; } else if (((_local7 == "startscope") || (_local7 == "updscope")) || (_local7.indexOf("args") > -1)) { _local10[_local7] = _local4[_local7]; } } if (_local21 != undefined) { if ((_local10.func != undefined) && (_local10.scope == undefined)) { _local10.scope = _local21; } if ((_local10.updfunc != undefined) && (_local10.updscope == undefined)) { _local10.updscope = _local21; } if ((_local10.startfunc != undefined) && (_local10.startscope == undefined)) { _local10.startscope = _local21; } } } for (_local8 in _local10) { _local40 = _local40 + (((_local8 + ":") + _local10[_local8]) + "|"); } if (_local4.event != undefined) { _local24 = {scope:_local4.scope, e:_local4.event, ep:_local4.eventparams, skipLevel:_local47}; } _local46 = _local4.trigger === true; _local18 = undefined; if ((_local46 == false) && (_local4.trigger != undefined)) { _local18 = ((_local4.trigger instanceof Function) ? (_local4.trigger.apply(_local21)) : (_local4.trigger)); if (typeof(_local18) == "string") { _local18 = ((String(_local18).charAt(0) == "-") ? (-parseClock(String(_local18).slice(1))) : (parseClock(String(_local18)))); } if (_global.isNaN(_local18) == true) { _local18 = undefined; } } } var _local16; var _local13; var _local20; var _local11; var _local39 = false; var _local50 = ((_local53 == false) ? (_local14) : ([0])); for (_local7 in _local50) { if (_nPlaying < 2) { return(null); } if (isFF == false) { if (_local4.ease != null) { _local20 = _local4.ease; if (_local20 instanceof Function) { var _local41 = Function(_local20); if (typeof(_local41(1, 1, 1, 1)) != "number") { _local20 = _local41.apply(_local21); } } } if (_local20 == null) { _local20 = defaultEase; } if (_local4.seconds != null) { _local13 = ((_local4.seconds instanceof Function) ? (_local4.seconds.apply(_local21)) : (_local4.seconds)); if (typeof(_local13) == "string") { _local13 = parseClock(String(_local13)); } } if (_global.isNaN(_local13) == true) { _local13 = ((_global.isNaN(defaultSeconds) == false) ? (defaultSeconds) : (_ZigoEngine.DURATION || 0)); } _local16 = ((_local4.delay instanceof Function) ? (_local4.delay.apply(_local21)) : (_local4.delay)); if (typeof(_local16) == "string") { _local16 = parseClock(String(_local16)); } if ((_local16 == null) || (_global.isNaN(_local16) == true)) { _local16 = 0; } if (_local53 == true) { continue; } } var _local34 = _local50[_local7]; var _local22 = []; var _local12 = []; var _local43 = 0; for (var _local62 in _local4.oEP) { var _local6 = _local4.oEP[_local62]; if (_local6 instanceof Function) { _local6 = _local6.apply(_local21); } if ((_local6 === true) || (_local6 === false)) { if (_local11 == undefined) { _local11 = {}; } _local11[_local62] = _local6; _local43++; continue; } if (typeof(_local6) == "object") { if (_local6[0]._isAF == true) { for (_local5 in _local6) { if (_local6[_local5].targ == _local34) { _local6 = _local6[_local5].val; break; } } } else { var _local27 = ((_local6 instanceof Array) ? [] : {}); for (_local5 in _local6) { _local27[_local5] = ((_local6[_local5] instanceof Function) ? Function(_local6[_local5]).apply(_local21) : _local6[_local5]); } _local6 = _local27; } } if (_local6 != "IGNORE") { _local22.push(_local62); _local12.push(_local6); } } if (isFF == true) { if (_local19 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(((((("\n-" + _sID()) + " FF\ttargets:[") + _local34) + "]\tprops:[") + _local22.toString()) + "]"); } _local33(_local34, _local22, _local12, 0, null, 0, {skipLevel:0}); continue; } if (_local12.length > 0) { var _local30 = {caught:false, onTweenEnd:function (evto) { this.caught = true; }}; _local34.addListener(_local30); var _local15 = _local33(_local34, _local22, _local12, _local13, _local20, _local16, _local10); _local34.removeListener(_local30); if (_local15.length == 0) { if (_local30.caught == true) { _local10 = _local31; } } else { if (_local15.length > 0) { var _local35 = {targ:_local34, props:_local15, bools:_local11, targZID:_local34.__zigoID__}; if (_local39 == false) { _local10 = _local31; _local35.event = _local24; _local11 = undefined; _local24 = _local11; _local35.trigger = _local46; } _aTweens.push(_local35); _local34.addListener(this); _local39 = true; for (_local8 in _local15) { if (_local23.indexOf(_local15[_local8] + ",") == -1) { _local23 = _local23 + (_local15[_local8] + ","); } } } if (_local19 == 3) { var _local42 = _local22.toString(); if (_local15.length > _local22.length) { _local42 = _local42 + (("\n\t[NO-CHANGE PROPS DISCARDED (disregard this for double props like _scale). KEPT:" + _local15.toString()) + "]"); } var _local29 = ""; for (_local8 in _local12) { _local29 = (((typeof(_local12[_local8]) == "string") ? (("\"" + _local12[_local8]) + "\"") : _local12[_local8]) + ", ") + _local29; } com.mosesSupposes.fuse.FuseKitCommon.output((("\n-" + _sID()) + " TWEEN:\n") + [("\t[getTimer():" + getTimer()) + "] ", "targ: " + _local34, "props: " + _local42, "endVals: " + _local29, "time: " + ((_local13 == undefined) ? _ZigoEngine.DURATION : _local13), "easing: " + ((_local20 == undefined) ? _ZigoEngine.EASING : _local20), "delay: " + ((_local16 == undefined) ? 0 : _local16), "callbacks: " + ((_local40 == "") ? "(none)" : _local40)].join("\n\t")); } } _local30 = undefined; } } if ((_local13 == undefined) || (_global.isNaN(_local13) == true)) { _local13 = 0; } var _local36 = _local16 + _local13; if (_local18 != undefined) { if (_local18 < 0) { _local18 = _local18 + _local36; } if ((_local18 > 0) && ((_local36 == 0) || (_local18 < _local36))) { if (_local36 == 0) { if (_local19 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(((((((((_sID() + " graft a timed trigger (") + _local18) + " sec). [has callback:") + (_local10 != _local31)) + ", has event:") + (_local24 != undefined)) + ", has booleans:") + (_local11 != undefined)) + "]"); } doTimerTween(null, _local18, 0, true, _local11, _local10, _local24); _local39 = true; } else { if (_local19 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(((_sID() + " graft a timed trigger (") + _local18) + " sec)."); } doTimerTween(null, _local18, 0, true); } } else if (_local19 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(((((_sID() + " timed trigger discarded: out of range. [") + _local18) + "/") + _local36) + "]"); } } if ((_local39 == false) && (((_local10 != _local31) || (_local24 != undefined)) || (_local11 != undefined))) { if ((_local47 == 0) && (_local36 > 0)) { if (_local19 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(((((((((_sID() + " no props tweened - graft a delay (") + _local36) + " sec). [has callback:") + (_local10 != _local31)) + ", has event:") + (_local24 != undefined)) + ", has booleans:") + (_local11 != undefined)) + "]"); } doTimerTween(_local14, _local13, _local16, _local46, _local11, _local10, _local24); } else { if (_local19 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(((((((_sID() + " no props tweened, executing nontween items. [has callback:") + (_local10 != _local31)) + ", has event:") + (_local24 != undefined)) + ", has booleans:") + (_local11 != undefined)) + "]"); } for (_local7 in _local14) { for (_local8 in _local11) { _local14[_local7][_local8] = _local11[_local8]; } } if (_local47 < 2) { if (_local10 != undefined) { fireEvents(_local10, _local21, _local19, _local14); } if (_local24 != undefined) { fireEvents(_local24, _local21, _local19); } } } } } } _local48++; } if ((_local64 > 0) && (_local19 > 0)) { if ((_local64 == _aProfiles.length) && (_local23 == "")) { com.mosesSupposes.fuse.FuseKitCommon.error("118", _sID(), setStart); } else { com.mosesSupposes.fuse.FuseKitCommon.error("119", _sID(), _local64, _local72); } } tba = undefined; _oTwBeingAdded = undefined; return(((_local23 == "") ? null : (_local23.slice(0, -1)))); } function doTimerTween(actualTargets, duration, delay, trigger, booleans, callback, event) { var _local2 = {__TweenedDelay:0}; _ZigoEngine.initializeTargets(_local2); _aTweens.push({targ:_local2, props:["__TweenedDelay"], trigger:trigger, bools:booleans, event:event, actualTargs:actualTargets, targZID:_local2.__zigoID__}); var _local3 = _ZigoEngine.doTween(_local2, "__TweenedDelay", 1, duration, null, delay, callback) == null; if (_local3 == true) { onTweenEnd({target:_local2, props:["__TweenedDelay"]}); } else { _local2.addListener(this); } } function onTweenEnd(o, doAutoStop) { if (_nPlaying < 1) { return(undefined); } var _local12 = _global.com.mosesSupposes.fuse.Fuse; var _local8 = ((_local12 != undefined) ? (_local12.OUTPUT_LEVEL) : (_ZigoEngine.OUTPUT_LEVEL)); var _local11 = ((!(o.__zigoID__ === undefined)) ? (o.__zigoID__) : (o.target.__zigoID__)); for (var _local19 in _aTweens) { var _local3 = _aTweens[_local19]; if (_local3.targZID == _local11) { for (var _local18 in o.props) { var _local7 = _local3.props; for (var _local16 in _local7) { var _local5 = _local7[_local16]; if (_local5 == o.props[_local18]) { _local7.splice(Number(_local16), 1); if (doAutoStop == true) { var _local6 = _local12.getInstance(_nFuseID); var _local10 = (((_bTrigger == true) && (o.during == "add")) && (_local6[_local6.currentIndex]._oTwBeingAdded[_local11] === true)) && (_local6.state == "playing"); if (_local10 == false) { _local3.targ.removeListener(this); for (var _local19 in _aTweens) { if (_aTweens[_local19].targZID == _local11) { for (var _local18 in o.props) { for (var _local16 in _aTweens[_local19].props) { if (_aTweens[_local19].props[_local16] == o.props[_local18]) { _aTweens[_local19].props.splice(Number(_local16), 1); } } } if (_aTweens[_local19].props.length == 0) { _aTweens.splice(Number(_local19), 1); } } } if (_local8 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(_sID() + " triggering auto-stop due to interruption"); } if ((_local6.autoClear == true) || ((!(_local6.autoClear === false)) && (_local12.AUTOCLEAR == true))) { dispatchRequest("destroy"); } else { dispatchRequest("stop"); } return(undefined); } if (_local8 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(((("note -" + _sID()) + " interrupted one of its own properties \"") + _local5) + "\". (Autostop not triggered.)"); } } if ((_nPlaying == 2) && (_local5 != "__TweenedDelay")) { if (_local8 > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("120", _sID(), _local5); } } if (_local7.length == 0) { if (_local3.event != undefined) { fireEvents(_local3.event, null, _local8); } if (_local5 == "__TweenedDelay") { _ZigoEngine.deinitializeTargets(_local3.targ); delete _local3.targ; for (var _local14 in _local3.bools) { for (var _local13 in _local3.actualTargs) { _local3.actualTargs[_local13][_local14] = _local3.bools[_local14]; } } } else { var _local9 = false; for (var _local14 in _local3.bools) { _local3.targ[_local14] = _local3.bools[_local14]; } for (var _local15 in _aTweens) { if ((_local15 != _local19) && (_aTweens[_local15].targ == _local3.targ)) { _local9 = true; } } if (_local9 == false) { _local3.targ.removeListener(this); } } if (_local3.trigger == true) { if (((_bTrigger == false) && (o.isResume != true)) && (_aTweens.length > 1)) { _bTrigger = true; if (_local8 == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(_sID() + " trigger fired!"); } var breakChainInt; breakChainInt = setInterval(function (fi) { clearInterval(breakChainInt); fi.dispatchRequest("advance", [false, false, false]); }, 1, this); } } _aTweens.splice(Number(_local19), 1); } } } } } } if (((_aTweens.length == 0) && (_nPlaying == 1)) && (o.isResume != true)) { complete(_local8); } } function onTweenInterrupt(o) { if (_nPlaying == -1) { return(undefined); } var _local4 = _global.com.mosesSupposes.fuse.Fuse; var _local6 = _local4.getInstance(_nFuseID); var _local8 = (_local6.autoStop == true) || ((!(_local6.autoStop === false)) && (_local4.AUTOSTOP == true)); var _local3 = o.__zigoID__; var _local9 = ((_local4 != undefined) ? (_local4.OUTPUT_LEVEL) : (_ZigoEngine.OUTPUT_LEVEL)); if ((_local8 == true) || ((!(_local8 === false)) && (_local4.AUTOSTOP == true))) { onTweenEnd(o, true); return(undefined); } if (typeof(o.target) != "string") { onTweenEnd(o); return(undefined); } for (var _local5 in _aTweens) { if (_aTweens[_local5].targZID == _local3) { _aTweens.splice(Number(_local5), 1); } } if ((_aTweens.length == 0) && (_nPlaying == 1)) { complete(_local9); } } function complete(outputLevel) { var trigger = _bTrigger; stop(); if (trigger != true) { if (outputLevel == 3) { com.mosesSupposes.fuse.FuseKitCommon.output(_sID() + " complete."); } } var breakChainInt; breakChainInt = setInterval(function (fi) { clearInterval(breakChainInt); fi.dispatchRequest("advance", [trigger, false, false]); }, 1, this); } function parseClock(str) { if (str.indexOf(":") != 2) { com.mosesSupposes.fuse.FuseKitCommon.error("121"); return(_ZigoEngine.DURATION || 0); } var _local4 = 0; var _local3 = str.split(":"); _local3.reverse(); var _local2; if ((String(_local3[0]).length == 2) && (_global.isNaN(_local2 = Math.abs(Number(_local3[0]))) == false)) { _local4 = _local4 + (_local2 / 100); } if (((String(_local3[1]).length == 2) && (_global.isNaN(_local2 = Math.abs(Number(_local3[1]))) == false)) && (_local2 < 60)) { _local4 = _local4 + _local2; } if (((String(_local3[2]).length == 2) && (_global.isNaN(_local2 = Math.abs(Number(_local3[2]))) == false)) && (_local2 < 60)) { _local4 = _local4 + (_local2 * 60); } if (((String(_local3[3]).length == 2) && (_global.isNaN(_local2 = Math.abs(Number(_local3[3]))) == false)) && (_local2 < 24)) { _local4 = _local4 + (_local2 * 3600); } return(_local4); } function fireEvents(o, scope, outputLevel, targets) { if (o.scope == undefined) { o.scope = scope; } if (o.e == undefined) { var _local3 = com.mosesSupposes.fuse.FuseKitCommon.parseCallback(o, targets, outputLevel, false); if (_local3.start.f != null) { _local3.start.f.apply(_local3.start.s, _local3.start.a); } if (_local3.upd.f != null) { _local3.upd.f.apply(_local3.upd.s, _local3.upd.a); } if (_local3.end.f != null) { _local3.end.f.apply(_local3.end.s, _local3.end.a); } } else { var _local6 = ((o.e instanceof Function) ? (String(o.e.apply(scope))) : (String(o.e))); if ((_local6 != "undefined") && (_local6.length > 0)) { if (String(com.mosesSupposes.fuse.FuseKitCommon._fuseEvents()).indexOf(("|" + _local6) + "|") > -1) { if (outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("122", _local6); } } else { var _local7 = _global.com.mosesSupposes.fuse.Fuse.getInstance(_nFuseID); var _local5 = ((o.ep instanceof Function) ? (o.ep.apply(scope)) : (o.ep)); if ((_local5 == null) || (typeof(_local5) != "object")) { _local5 = {}; } _local5.target = _local7; _local5.type = _local6; _local7.dispatchEvent.call(_local7, _local5); } } else if (outputLevel > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("123", _sID()); } } } static var registryKey = "fuseItem"; static var ADD_UNDERSCORES = true; var _nPlaying = -1; var _bStartSet = false; var _bTrigger = false; }
Symbol 288 MovieClip [__Packages.mx.utils.Delegate] Frame 0
class mx.utils.Delegate extends Object { var func; function Delegate (f) { super(); func = f; } static function create(obj, func) { var _local2 = function () { var _local2 = arguments.callee.target; var _local3 = arguments.callee.func; return(_local3.apply(_local2, arguments)); }; _local2.target = obj; _local2.func = func; return(_local2); } function createDelegate(obj) { return(create(obj, func)); } }
Symbol 289 MovieClip [__Packages.getURLManager] Frame 0
class getURLManager { var callQueue, processing, freq, me, lastCall; function getURLManager (frequency) { callQueue = new Array(); processing = eval (false)(); if (frequency == undefined) { freq = 1000; } me = this; } function executeCall() { lastCall = getTimer(); var _local2 = callQueue.shift(); if ((((_local2.href.indexOf("javascript") != -1) || (_local2.win == undefined)) || (_local2.win == "")) || (_local2.win == null)) { getURL (_local2.href); } else { getURL (_local2.href, _local2.win); } } function stopCalling() { delete me.onEnterFrame; processing = false; } function startCalling() { if (!processing) { lastCall = getTimer(); me.onEnterFrame = function () { if ((getTimer() - this.lastCall) > this.freq) { this.executeCall(); } if (this.callQueue.length < 1) { this.me.stopCalling(); } }; processing = true; executeCall(); } } function addToQueue(inURL, inWindow) { var _local2 = {href:inURL, win:inWindow}; callQueue.push(_local2); startCalling(callQueue); } }
Symbol 133 MovieClip Frame 1
this.onRelease = function () { if (this._currentframe == 1) { this.nextFrame(); this._parent.masterVolume.setVolume(0); } else { this.prevFrame(); this._parent.masterVolume.setVolume(100); } }; stop();
Symbol 157 MovieClip Frame 1
_root.setButtonRO(hint1, true); _root.setButtonRO(hint2, true); hint1.onRelease = function () { _root.displayHint(1); }; hint2.onRelease = function () { _root.displayHint(2); }; helpMe.onRelease = function () { _root.showInstructions(); };
Instance of Symbol 115 MovieClip "clock" in Symbol 157 MovieClip Frame 1
onClipEvent (load) { this.initTimer = function (t) { timeRemaining = t * 1000; this.tickdown = Math.round(1000 / stageFPS); this.displayTime(); }; this.pauseTimer = function () { delete this.onEnterFrame; }; this.displayTime = function () { var _local3 = Math.floor(timeRemaining / 100); _root.clockGoTo(this, _local3); }; this.startTimer = function () { trace("startTimer"); this.onEnterFrame = function () { trace("timer running"); var _local3 = (timeRemaining = timeRemaining - this.tickdown); trace("r=" + _local3); if (_local3 <= 0) { trace("time's up"); delete this.onEnterFrame; this._parent._parent.endRound(false); } else { _root.clockGoTo(this, 1); this.displayTime(); } }; }; this.assessPenalty = function (s) { this.pauseTimer(); timeRemaining = timeRemaining - 5000; trace((("penalty: " + this._currentframe) + "=>") + Math.max(this._currentframe - 50, 1)); _root.clockTweenTo(this, Math.max(Math.round((this._currentframe - 50) / 10), 0.1)); setTimeout(_root.startTimer, 1000); }; }
Instance of Symbol 155 MovieClip "helpMe" in Symbol 157 MovieClip Frame 1
onClipEvent (load) { this._visible = false; }
Symbol 172 MovieClip Frame 1
this._visible = (this._alpha = 0); _root.setButtonRO(mBtn, true); mBtn.onRelease = function () { this._parent._parent.hideHint(); };
Symbol 177 MovieClip Frame 1
stop();
Symbol 177 MovieClip Frame 2
loops = 0; _parent.messages.gotoAndStop("off"); rText.myText.text = ("Collect these " + _parent.cRoundIngredients.length) + " ingredients.";
Symbol 177 MovieClip Frame 11
for (var i in _parent.cRoundIngredientClips) { _parent.tintMe(_parent.cRoundIngredientClips[i], 50, 1); }
Symbol 177 MovieClip Frame 27
if ((++loops) < _parent.cRoundIngredients.length) { gotoAndPlay ("showAgain"); } trace((loops + " > ") + _parent.cRoundIngredients.length);
Symbol 177 MovieClip Frame 30
for (var i in _parent.cRoundIngredientClips) { _parent.tintMe(_parent.cRoundIngredientClips[i], 0, 0.5); }
Symbol 177 MovieClip Frame 40
rText.myText.text = ("You have " + _parent.roundTimes[_parent.gameRound]) + " seconds to get them."; _parent.clockTweenTo(_parent.redPanel.clock, _parent.roundTimes[_parent.gameRound]);
Symbol 177 MovieClip Frame 94
rText.myText.text = "READY...";
Symbol 177 MovieClip Frame 159
_parent.beginRound(_parent.gameRound);
Symbol 184 MovieClip Frame 1
stop();
Symbol 186 MovieClip Frame 1
stop();
Symbol 205 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 1
stop();
Symbol 270 MovieClip Frame 1
_parent.lsl.instructionsButton._visible = false; pBtn.onRollOver = (iBtn.onRollOver = function () { this.nextFrame(); }); mBtn.onRollOut = (mBtn.onReleaseOutside = function () { this.prevFrame(); }); mBtn.onRelease = function () { this._parent._parent.initRound(this._parent._parent.round); this._parent.gotoAndStop("off"); }; _root.setButtonRO(startGame, true); _root.setButtonRO(instructions, true); instructions.onRelease = function () { this._parent.nextFrame(); }; startGame.onRelease = function () { var _local3 = _root.restartGame; _root.slideMeY(this._parent, this._parent.yUp, 0.7, "easeInBack", 0, _local3); _root.slideMeY(_root.buddies, _root.buddies.yDown, 0.7); }; stop();
Symbol 270 MovieClip Frame 2
_root.setButtonRO(startGame2, true); startGame2.onRelease = function () { trace("_root.gameRound is " + _root.gameRound); if (_root.gameRound > 0) { trace("turnGameOn"); var _local3 = _root.hideHint; } else { trace("restartGame"); var _local3 = _root.restartGame; } _root.slideMeY(this._parent, this._parent.yUp, 0.7, "easeInBack", 0, _local3); _root.slideMeY(_root.buddies, _root.buddies.yDown, 0.7); };
Symbol 270 MovieClip Frame 3
msgText.text = "level complete!"; gotoLevel.text = "go on to level " + _parent.gameRound; _root.setButtonRO(mBtn, true); mBtn.onRelease = function () { var _local3 = _root.startNextRound; _root.slideMeY(this._parent, this._parent.yUp, 0.7, "easeInBack", 0, _local3); _root.slideMeY(_root.buddies, _root.buddies.yDown, 0.7); };
Symbol 270 MovieClip Frame 4
_root.setButtonRO(pa, true); _root.setButtonRO(drn, true); pa.onRelease = function () { var _local3 = _root.restartGame; _root.slideMeY(this._parent, this._parent.yUp, 0.7, "easeInBack", 0, _local3); _root.slideMeY(_root.buddies, _root.buddies.yDown, 0.7); }; drn.onRelease = function () { _root.getRecipes(); };
Symbol 270 MovieClip Frame 5
_root.setButtonRO(tryAgainBTN, true); tryAgainBTN.onRelease = function () { var _local3 = _root.restartGame; _root.slideMeY(this._parent, this._parent.yUp, 0.7, "easeInBack", 0, _local3); _root.slideMeY(_root.buddies, _root.buddies.yDown, 0.7); };
Symbol 270 MovieClip Frame 6
_parent.lsl.instructionsButton._visible = true;

Library Items

Symbol 1 Sound [winner]
Symbol 2 Sound [loser]
Symbol 3 Sound [end4]
Symbol 4 Sound [end3]
Symbol 5 Sound [end2]
Symbol 6 Sound [m4]
Symbol 7 Sound [m3]
Symbol 8 Sound [m2]
Symbol 9 Sound [m1]
Symbol 10 Sound [soundtrack]
Symbol 11 Sound [inRound]
Symbol 12 Sound [end1]
Symbol 13 Sound [c5]
Symbol 14 Sound [c4]
Symbol 15 Sound [c3]
Symbol 16 Sound [c2]
Symbol 17 Sound [c1]
Symbol 18 Sound [gameStart]
Symbol 19 GraphicUsed by:20 99
Symbol 20 Button [blank]Uses:19
Symbol 21 MovieClip [trafficCop]
Symbol 22 MovieClip [holder]Used by:23  Timeline
Symbol 23 MovieClip [imageHolder]Uses:22
Symbol 24 GraphicUsed by:97
Symbol 25 BitmapUsed by:26
Symbol 26 GraphicUses:25Used by:27
Symbol 27 MovieClip [basil]Uses:26Used by:97
Symbol 28 BitmapUsed by:29
Symbol 29 GraphicUses:28Used by:30
Symbol 30 MovieClip [butter]Uses:29Used by:97
Symbol 31 BitmapUsed by:32
Symbol 32 GraphicUses:31Used by:33
Symbol 33 MovieClip [crackers]Uses:32Used by:97
Symbol 34 BitmapUsed by:35
Symbol 35 GraphicUses:34Used by:36
Symbol 36 MovieClip [cream]Uses:35Used by:97
Symbol 37 BitmapUsed by:38
Symbol 38 GraphicUses:37Used by:39
Symbol 39 MovieClip [eggplant]Uses:38Used by:97
Symbol 40 BitmapUsed by:41
Symbol 41 GraphicUses:40Used by:42
Symbol 42 MovieClip [eggs]Uses:41Used by:97
Symbol 43 BitmapUsed by:44
Symbol 44 GraphicUses:43Used by:45
Symbol 45 MovieClip [flour]Uses:44Used by:97
Symbol 46 BitmapUsed by:47
Symbol 47 GraphicUses:46Used by:48
Symbol 48 MovieClip [garlic]Uses:47Used by:97
Symbol 49 BitmapUsed by:50
Symbol 50 GraphicUses:49Used by:51
Symbol 51 MovieClip [greenCan]Uses:50Used by:97
Symbol 52 BitmapUsed by:53
Symbol 53 GraphicUses:52Used by:54
Symbol 54 MovieClip [macaroni]Uses:53Used by:97
Symbol 55 BitmapUsed by:56
Symbol 56 GraphicUses:55Used by:57
Symbol 57 MovieClip [mustard]Uses:56Used by:97
Symbol 58 BitmapUsed by:59
Symbol 59 GraphicUses:58Used by:60
Symbol 60 MovieClip [oliveOil]Uses:59Used by:97
Symbol 61 BitmapUsed by:62
Symbol 62 GraphicUses:61Used by:63
Symbol 63 MovieClip [onions]Uses:62Used by:97
Symbol 64 BitmapUsed by:65
Symbol 65 GraphicUses:64Used by:66
Symbol 66 MovieClip [paprika]Uses:65Used by:97
Symbol 67 BitmapUsed by:68
Symbol 68 GraphicUses:67Used by:69
Symbol 69 MovieClip [parmesan]Uses:68Used by:97
Symbol 70 BitmapUsed by:71
Symbol 71 GraphicUses:70Used by:72
Symbol 72 MovieClip [pepper]Uses:71Used by:97
Symbol 73 BitmapUsed by:74
Symbol 74 GraphicUses:73Used by:75
Symbol 75 MovieClip [redBottle]Uses:74Used by:97
Symbol 76 BitmapUsed by:77
Symbol 77 GraphicUses:76Used by:78
Symbol 78 MovieClip [redPepper]Uses:77Used by:97
Symbol 79 BitmapUsed by:80
Symbol 80 GraphicUses:79Used by:81
Symbol 81 MovieClip [salt]Uses:80Used by:97
Symbol 82 BitmapUsed by:83
Symbol 83 GraphicUses:82Used by:84
Symbol 84 MovieClip [seeds]Uses:83Used by:97
Symbol 85 BitmapUsed by:86
Symbol 86 GraphicUses:85Used by:87
Symbol 87 MovieClip [sugar]Uses:86Used by:97
Symbol 88 BitmapUsed by:89
Symbol 89 GraphicUses:88Used by:90
Symbol 90 MovieClip [swiss]Uses:89Used by:97
Symbol 91 BitmapUsed by:92
Symbol 92 GraphicUses:91Used by:93
Symbol 93 MovieClip [tomatos]Uses:92Used by:97
Symbol 94 BitmapUsed by:95
Symbol 95 GraphicUses:94Used by:96
Symbol 96 MovieClip [zucchini]Uses:95Used by:97
Symbol 97 MovieClipUses:24 27 30 33 36 39 42 45 48 51 54 57 60 63 66 69 72 75 78 81 84 87 90 93 96Used by:98
Symbol 98 MovieClip [ingredient]Uses:97
Symbol 99 MovieClip [mask]Uses:19Used by:Timeline
Symbol 100 BitmapUsed by:101
Symbol 101 GraphicUses:100Used by:102
Symbol 102 MovieClipUses:101Used by:Timeline
Symbol 103 BitmapUsed by:104
Symbol 104 GraphicUses:103Used by:105
Symbol 105 MovieClipUses:104Used by:115
Symbol 106 GraphicUsed by:107
Symbol 107 MovieClipUses:106Used by:108
Symbol 108 MovieClipUses:107Used by:115
Symbol 109 BitmapUsed by:110
Symbol 110 GraphicUses:109Used by:111
Symbol 111 MovieClipUses:110Used by:115
Symbol 112 BitmapUsed by:113
Symbol 113 GraphicUses:112Used by:114
Symbol 114 MovieClipUses:113Used by:115
Symbol 115 MovieClipUses:105 108 111 114Used by:157  Timeline
Symbol 116 BitmapUsed by:117
Symbol 117 GraphicUses:116Used by:120
Symbol 118 FontUsed by:119 151 156 171 173 175 222 235 240
Symbol 119 EditableTextUses:118Used by:120
Symbol 120 MovieClipUses:117 119Used by:123
Symbol 121 BitmapUsed by:122
Symbol 122 GraphicUses:121Used by:123
Symbol 123 MovieClipUses:120 122Used by:Timeline
Symbol 277 MovieClip [__Packages.XML2]
Symbol 278 MovieClip [__Packages.mx.events.EventDispatcher]
Symbol 279 MovieClip [__Packages.XML2Object]
Symbol 280 MovieClip [__Packages.com.mosesSupposes.fuse.Shortcuts]
Symbol 281 MovieClip [__Packages.com.mosesSupposes.fuse.FuseKitCommon]
Symbol 282 MovieClip [__Packages.com.mosesSupposes.fuse.ZigoEngine]
Symbol 283 MovieClip [__Packages.com.mosesSupposes.fuse.ZManager]
Symbol 284 MovieClip [__Packages.com.mosesSupposes.fuse.FuseFMP]
Symbol 285 MovieClip [__Packages.com.mosesSupposes.fuse.PennerEasing]
Symbol 286 MovieClip [__Packages.com.mosesSupposes.fuse.Fuse]
Symbol 287 MovieClip [__Packages.com.mosesSupposes.fuse.FuseItem]
Symbol 288 MovieClip [__Packages.mx.utils.Delegate]
Symbol 289 MovieClip [__Packages.getURLManager]
Symbol 124 BitmapUsed by:125
Symbol 125 GraphicUses:124Used by:126
Symbol 126 MovieClipUses:125Used by:Timeline
Symbol 127 GraphicUsed by:128
Symbol 128 MovieClipUses:127Used by:184 186  Timeline
Symbol 129 BitmapUsed by:130
Symbol 130 GraphicUses:129Used by:133
Symbol 131 BitmapUsed by:132
Symbol 132 GraphicUses:131Used by:133
Symbol 133 MovieClipUses:130 132Used by:Timeline
Symbol 134 GraphicUsed by:157
Symbol 135 BitmapUsed by:136
Symbol 136 GraphicUses:135Used by:157
Symbol 137 BitmapUsed by:138
Symbol 138 GraphicUses:137Used by:142
Symbol 139 BitmapUsed by:140
Symbol 140 GraphicUses:139Used by:141
Symbol 141 MovieClipUses:140Used by:142
Symbol 142 MovieClipUses:138 141Used by:157
Symbol 143 BitmapUsed by:144
Symbol 144 GraphicUses:143Used by:148
Symbol 145 BitmapUsed by:146
Symbol 146 GraphicUses:145Used by:147
Symbol 147 MovieClipUses:146Used by:148
Symbol 148 MovieClipUses:144 147Used by:157
Symbol 149 BitmapUsed by:150
Symbol 150 GraphicUses:149Used by:152
Symbol 151 TextUses:118Used by:152
Symbol 152 MovieClipUses:150 151Used by:157
Symbol 153 BitmapUsed by:154
Symbol 154 GraphicUses:153Used by:155
Symbol 155 MovieClipUses:154Used by:157
Symbol 156 EditableTextUses:118Used by:157
Symbol 157 MovieClipUses:134 136 142 148 115 152 155 156Used by:Timeline
Symbol 158 BitmapUsed by:159
Symbol 159 GraphicUses:158Used by:164
Symbol 160 FontUsed by:161 162 163 274
Symbol 161 EditableTextUses:160Used by:164
Symbol 162 EditableTextUses:160Used by:164
Symbol 163 EditableTextUses:160Used by:164
Symbol 164 MovieClipUses:159 161 162 163Used by:Timeline
Symbol 165 BitmapUsed by:166
Symbol 166 GraphicUses:165Used by:170
Symbol 167 BitmapUsed by:168
Symbol 168 GraphicUses:167Used by:169
Symbol 169 MovieClipUses:168Used by:170
Symbol 170 MovieClipUses:166 169Used by:172 270
Symbol 171 TextUses:118Used by:172
Symbol 172 MovieClipUses:170 171Used by:Timeline
Symbol 173 EditableTextUses:118Used by:174
Symbol 174 MovieClipUses:173Used by:177
Symbol 175 EditableTextUses:118Used by:176
Symbol 176 MovieClipUses:175Used by:177
Symbol 177 MovieClipUses:174 176Used by:Timeline
Symbol 178 BitmapUsed by:179
Symbol 179 GraphicUses:178Used by:180
Symbol 180 MovieClipUses:179Used by:184 186
Symbol 181 BitmapUsed by:182
Symbol 182 GraphicUses:181Used by:183 185
Symbol 183 MovieClipUses:182Used by:184
Symbol 184 MovieClipUses:180 183 128Used by:211
Symbol 185 MovieClipUses:182Used by:186
Symbol 186 MovieClipUses:180 185 128Used by:211
Symbol 187 BitmapUsed by:188
Symbol 188 GraphicUses:187Used by:189
Symbol 189 MovieClipUses:188Used by:205
Symbol 190 BitmapUsed by:191
Symbol 191 GraphicUses:190Used by:192
Symbol 192 MovieClipUses:191Used by:205
Symbol 193 BitmapUsed by:194
Symbol 194 GraphicUses:193Used by:195
Symbol 195 MovieClipUses:194Used by:205
Symbol 196 BitmapUsed by:197
Symbol 197 GraphicUses:196Used by:198
Symbol 198 MovieClipUses:197Used by:205
Symbol 199 BitmapUsed by:200
Symbol 200 GraphicUses:199Used by:201
Symbol 201 MovieClipUses:200Used by:205
Symbol 202 BitmapUsed by:203
Symbol 203 GraphicUses:202Used by:204
Symbol 204 MovieClipUses:203Used by:205
Symbol 205 MovieClipUses:189 192 195 198 201 204Used by:211
Symbol 206 BitmapUsed by:207
Symbol 207 GraphicUses:206Used by:210
Symbol 208 BitmapUsed by:209
Symbol 209 GraphicUses:208Used by:210
Symbol 210 MovieClipUses:207 209Used by:211
Symbol 211 MovieClipUses:184 186 205 210Used by:Timeline
Symbol 212 BitmapUsed by:213
Symbol 213 GraphicUses:212Used by:214
Symbol 214 MovieClipUses:213Used by:215
Symbol 215 MovieClipUses:214Used by:Timeline
Symbol 216 BitmapUsed by:217
Symbol 217 GraphicUses:216Used by:218
Symbol 218 MovieClipUses:217Used by:270
Symbol 219 BitmapUsed by:220
Symbol 220 GraphicUses:219Used by:221
Symbol 221 MovieClipUses:220Used by:270
Symbol 222 TextUses:118Used by:270
Symbol 223 BitmapUsed by:224
Symbol 224 GraphicUses:223Used by:228
Symbol 225 BitmapUsed by:226
Symbol 226 GraphicUses:225Used by:227
Symbol 227 MovieClipUses:226Used by:228
Symbol 228 MovieClipUses:224 227Used by:270
Symbol 229 BitmapUsed by:230
Symbol 230 GraphicUses:229Used by:234
Symbol 231 BitmapUsed by:232
Symbol 232 GraphicUses:231Used by:233
Symbol 233 MovieClipUses:232Used by:234
Symbol 234 MovieClipUses:230 233Used by:270
Symbol 235 TextUses:118Used by:270
Symbol 236 FontUsed by:237 244 260
Symbol 237 TextUses:236Used by:270
Symbol 238 FontUsed by:239
Symbol 239 EditableTextUses:238Used by:270
Symbol 240 EditableTextUses:118Used by:270
Symbol 241 BitmapUsed by:242
Symbol 242 GraphicUses:241Used by:243
Symbol 243 MovieClipUses:242Used by:270
Symbol 244 TextUses:236Used by:270
Symbol 245 BitmapUsed by:246
Symbol 246 GraphicUses:245Used by:250
Symbol 247 BitmapUsed by:248
Symbol 248 GraphicUses:247Used by:249
Symbol 249 MovieClipUses:248Used by:250
Symbol 250 MovieClipUses:246 249Used by:270
Symbol 251 BitmapUsed by:252
Symbol 252 GraphicUses:251Used by:256
Symbol 253 BitmapUsed by:254
Symbol 254 GraphicUses:253Used by:255
Symbol 255 MovieClipUses:254Used by:256
Symbol 256 MovieClipUses:252 255Used by:270
Symbol 257 BitmapUsed by:258
Symbol 258 GraphicUses:257Used by:259
Symbol 259 MovieClipUses:258Used by:270
Symbol 260 TextUses:236Used by:270
Symbol 261 BitmapUsed by:262
Symbol 262 GraphicUses:261Used by:266
Symbol 263 BitmapUsed by:264
Symbol 264 GraphicUses:263Used by:265
Symbol 265 MovieClipUses:264Used by:266
Symbol 266 MovieClipUses:262 265Used by:270
Symbol 267 BitmapUsed by:268
Symbol 268 GraphicUses:267Used by:269
Symbol 269 MovieClipUses:268Used by:270
Symbol 270 MovieClipUses:218 221 222 228 234 235 237 239 170 240 243 244 250 256 259 260 266 269Used by:Timeline
Symbol 271 BitmapUsed by:272
Symbol 272 GraphicUses:271Used by:273
Symbol 273 MovieClipUses:272Used by:Timeline
Symbol 274 EditableTextUses:160Used by:275
Symbol 275 MovieClipUses:274Used by:276
Symbol 276 MovieClipUses:275Used by:Timeline

Instance Names

"plClock"Frame 1Symbol 115 MovieClip
"siteLogo"Frame 1Symbol 123 MovieClip
"crosshairsVariant"Frame 2Symbol 128 MovieClip
"handTarget"Frame 2Symbol 128 MovieClip
"soundControl"Frame 2Symbol 133 MovieClip
"redPanel"Frame 2Symbol 157 MovieClip
"blackPanel"Frame 2Symbol 164 MovieClip
"hintBTN"Frame 2Symbol 172 MovieClip
"topShelf"Frame 2Symbol 22 MovieClip [holder]
"middleShelf"Frame 2Symbol 22 MovieClip [holder]
"bottomShelf"Frame 2Symbol 22 MovieClip [holder]
"crosshairs"Frame 2Symbol 128 MovieClip
"topCenter"Frame 2Symbol 22 MovieClip [holder]
"bottomCenter"Frame 2Symbol 22 MovieClip [holder]
"topLeft"Frame 2Symbol 22 MovieClip [holder]
"topRight"Frame 2Symbol 22 MovieClip [holder]
"roundIntro"Frame 2Symbol 177 MovieClip
"linguini"Frame 2Symbol 211 MovieClip
"buddies"Frame 2Symbol 215 MovieClip
"messages"Frame 2Symbol 270 MovieClip
"gameLogo"Frame 2Symbol 273 MovieClip
"closeBtn"Frame 2Symbol 276 MovieClip
"myImage"Symbol 23 MovieClip [imageHolder] Frame 1Symbol 22 MovieClip [holder]
"cream"Symbol 97 MovieClip Frame 5Symbol 36 MovieClip [cream]
"iB"Symbol 98 MovieClip [ingredient] Frame 1Symbol 97 MovieClip
"clockBlack"Symbol 115 MovieClip Frame 1Symbol 108 MovieClip
"rDate"Symbol 120 MovieClip Frame 1Symbol 119 EditableText
"rollMC"Symbol 142 MovieClip Frame 1Symbol 141 MovieClip
"rollMC"Symbol 148 MovieClip Frame 1Symbol 147 MovieClip
"hint1"Symbol 157 MovieClip Frame 1Symbol 142 MovieClip
"hint2"Symbol 157 MovieClip Frame 1Symbol 148 MovieClip
"clock"Symbol 157 MovieClip Frame 1Symbol 115 MovieClip
"helpMe"Symbol 157 MovieClip Frame 1Symbol 155 MovieClip
"iCount"Symbol 157 MovieClip Frame 1Symbol 156 EditableText
"small"Symbol 164 MovieClip Frame 1Symbol 161 EditableText
"big"Symbol 164 MovieClip Frame 1Symbol 162 EditableText
"lev"Symbol 164 MovieClip Frame 1Symbol 163 EditableText
"rollMC"Symbol 170 MovieClip Frame 1Symbol 169 MovieClip
"mBtn"Symbol 172 MovieClip Frame 1Symbol 170 MovieClip
"myText"Symbol 174 MovieClip Frame 1Symbol 173 EditableText
"rText"Symbol 177 MovieClip Frame 2Symbol 174 MovieClip
"fingerTip"Symbol 184 MovieClip Frame 1Symbol 128 MovieClip
"fingerTip"Symbol 186 MovieClip Frame 1Symbol 128 MovieClip
"leftArm"Symbol 211 MovieClip Frame 1Symbol 184 MovieClip
"rightArm"Symbol 211 MovieClip Frame 1Symbol 186 MovieClip
"remy"Symbol 211 MovieClip Frame 1Symbol 205 MovieClip
"head"Symbol 211 MovieClip Frame 1Symbol 210 MovieClip
"rollMC"Symbol 228 MovieClip Frame 1Symbol 227 MovieClip
"rollMC"Symbol 234 MovieClip Frame 1Symbol 233 MovieClip
"rollMC"Symbol 250 MovieClip Frame 1Symbol 249 MovieClip
"rollMC"Symbol 256 MovieClip Frame 1Symbol 255 MovieClip
"rollMC"Symbol 266 MovieClip Frame 1Symbol 265 MovieClip
"startGame"Symbol 270 MovieClip Frame 1Symbol 228 MovieClip
"instructions"Symbol 270 MovieClip Frame 1Symbol 234 MovieClip
"startGame2"Symbol 270 MovieClip Frame 2Symbol 228 MovieClip
"msgText"Symbol 270 MovieClip Frame 3Symbol 239 EditableText
"mBtn"Symbol 270 MovieClip Frame 3Symbol 170 MovieClip
"gotoLevel"Symbol 270 MovieClip Frame 3Symbol 240 EditableText
"pa"Symbol 270 MovieClip Frame 4Symbol 250 MovieClip
"drn"Symbol 270 MovieClip Frame 4Symbol 256 MovieClip
"tryAgainBTN"Symbol 270 MovieClip Frame 5Symbol 266 MovieClip
"rollMC"Symbol 276 MovieClip Frame 1Symbol 275 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "winner"
ExportAssets (56)Timeline Frame 1Symbol 2 as "loser"
ExportAssets (56)Timeline Frame 1Symbol 3 as "end4"
ExportAssets (56)Timeline Frame 1Symbol 4 as "end3"
ExportAssets (56)Timeline Frame 1Symbol 5 as "end2"
ExportAssets (56)Timeline Frame 1Symbol 6 as "m4"
ExportAssets (56)Timeline Frame 1Symbol 7 as "m3"
ExportAssets (56)Timeline Frame 1Symbol 8 as "m2"
ExportAssets (56)Timeline Frame 1Symbol 9 as "m1"
ExportAssets (56)Timeline Frame 1Symbol 10 as "soundtrack"
ExportAssets (56)Timeline Frame 1Symbol 11 as "inRound"
ExportAssets (56)Timeline Frame 1Symbol 12 as "end1"
ExportAssets (56)Timeline Frame 1Symbol 13 as "c5"
ExportAssets (56)Timeline Frame 1Symbol 14 as "c4"
ExportAssets (56)Timeline Frame 1Symbol 15 as "c3"
ExportAssets (56)Timeline Frame 1Symbol 16 as "c2"
ExportAssets (56)Timeline Frame 1Symbol 17 as "c1"
ExportAssets (56)Timeline Frame 1Symbol 18 as "gameStart"
ExportAssets (56)Timeline Frame 1Symbol 20 as "blank"
ExportAssets (56)Timeline Frame 1Symbol 21 as "trafficCop"
ExportAssets (56)Timeline Frame 1Symbol 22 as "holder"
ExportAssets (56)Timeline Frame 1Symbol 23 as "imageHolder"
ExportAssets (56)Timeline Frame 1Symbol 27 as "basil"
ExportAssets (56)Timeline Frame 1Symbol 30 as "butter"
ExportAssets (56)Timeline Frame 1Symbol 33 as "crackers"
ExportAssets (56)Timeline Frame 1Symbol 36 as "cream"
ExportAssets (56)Timeline Frame 1Symbol 39 as "eggplant"
ExportAssets (56)Timeline Frame 1Symbol 42 as "eggs"
ExportAssets (56)Timeline Frame 1Symbol 45 as "flour"
ExportAssets (56)Timeline Frame 1Symbol 48 as "garlic"
ExportAssets (56)Timeline Frame 1Symbol 51 as "greenCan"
ExportAssets (56)Timeline Frame 1Symbol 54 as "macaroni"
ExportAssets (56)Timeline Frame 1Symbol 57 as "mustard"
ExportAssets (56)Timeline Frame 1Symbol 60 as "oliveOil"
ExportAssets (56)Timeline Frame 1Symbol 63 as "onions"
ExportAssets (56)Timeline Frame 1Symbol 66 as "paprika"
ExportAssets (56)Timeline Frame 1Symbol 69 as "parmesan"
ExportAssets (56)Timeline Frame 1Symbol 72 as "pepper"
ExportAssets (56)Timeline Frame 1Symbol 75 as "redBottle"
ExportAssets (56)Timeline Frame 1Symbol 78 as "redPepper"
ExportAssets (56)Timeline Frame 1Symbol 81 as "salt"
ExportAssets (56)Timeline Frame 1Symbol 84 as "seeds"
ExportAssets (56)Timeline Frame 1Symbol 87 as "sugar"
ExportAssets (56)Timeline Frame 1Symbol 90 as "swiss"
ExportAssets (56)Timeline Frame 1Symbol 93 as "tomatos"
ExportAssets (56)Timeline Frame 1Symbol 96 as "zucchini"
ExportAssets (56)Timeline Frame 1Symbol 98 as "ingredient"
ExportAssets (56)Timeline Frame 1Symbol 99 as "mask"
ExportAssets (56)Timeline Frame 1Symbol 277 as "__Packages.XML2"
ExportAssets (56)Timeline Frame 1Symbol 278 as "__Packages.mx.events.EventDispatcher"
ExportAssets (56)Timeline Frame 1Symbol 279 as "__Packages.XML2Object"
ExportAssets (56)Timeline Frame 1Symbol 280 as "__Packages.com.mosesSupposes.fuse.Shortcuts"
ExportAssets (56)Timeline Frame 1Symbol 281 as "__Packages.com.mosesSupposes.fuse.FuseKitCommon"
ExportAssets (56)Timeline Frame 1Symbol 282 as "__Packages.com.mosesSupposes.fuse.ZigoEngine"
ExportAssets (56)Timeline Frame 1Symbol 283 as "__Packages.com.mosesSupposes.fuse.ZManager"
ExportAssets (56)Timeline Frame 1Symbol 284 as "__Packages.com.mosesSupposes.fuse.FuseFMP"
ExportAssets (56)Timeline Frame 1Symbol 285 as "__Packages.com.mosesSupposes.fuse.PennerEasing"
ExportAssets (56)Timeline Frame 1Symbol 286 as "__Packages.com.mosesSupposes.fuse.Fuse"
ExportAssets (56)Timeline Frame 1Symbol 287 as "__Packages.com.mosesSupposes.fuse.FuseItem"
ExportAssets (56)Timeline Frame 1Symbol 288 as "__Packages.mx.utils.Delegate"
ExportAssets (56)Timeline Frame 1Symbol 289 as "__Packages.getURLManager"

Labels

"showAgain"Symbol 177 MovieClip Frame 12
"nn"Symbol 205 MovieClip Frame 1
"nr"Symbol 205 MovieClip Frame 5
"ur"Symbol 205 MovieClip Frame 10
"dr"Symbol 205 MovieClip Frame 15
"nl"Symbol 205 MovieClip Frame 20
"ul"Symbol 205 MovieClip Frame 25
"dl"Symbol 205 MovieClip Frame 30
"un"Symbol 205 MovieClip Frame 35
"dn"Symbol 205 MovieClip Frame 40
"start"Symbol 270 MovieClip Frame 1
"instructions"Symbol 270 MovieClip Frame 2
"nextLevel"Symbol 270 MovieClip Frame 3
"winner"Symbol 270 MovieClip Frame 4
"loser"Symbol 270 MovieClip Frame 5
"off"Symbol 270 MovieClip Frame 6




http://swfchan.com/24/118630/info.shtml
Created: 7/3 -2019 02:49:45 Last modified: 7/3 -2019 02:49:45 Server time: 14/11 -2024 22:26:45