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

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

pussycat5.swf

This is the info page for
Flash #140583

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


ActionScript [AS1/AS2]
Combined Code
movieClip 3 { } movieClip 4 { } movieClip 5 { } movieClip 6 star { frame 37 { stop(); this.removeMovieClip(); } } movieClip 7 { frame 1 { var component = _parent._parent; component.registerSkinElement(arrow_mc, 'arrow'); component.registerSkinElement(face_mc, 'face'); component.registerSkinElement(shadow_mc, 'shadow'); component.registerSkinElement(darkshadow_mc, 'darkshadow'); component.registerSkinElement(highlight_mc, 'highlight'); component.registerSkinElement(highlight3D_mc, 'highlight3D'); } } movieClip 8 { frame 1 { var component = _parent._parent; component.registerSkinElement(arrow_mc, 'arrow'); component.registerSkinElement(face_mc, 'face'); component.registerSkinElement(shadow_mc, 'shadow'); component.registerSkinElement(darkshadow_mc, 'darkshadow'); component.registerSkinElement(highlight_mc, 'highlight'); component.registerSkinElement(highlight3D_mc, 'highlight3D'); } } movieClip 9 { frame 1 { var component = _parent._parent; component.registerSkinElement(arrow_mc, 'foregroundDisabled'); component.registerSkinElement(face_mc, 'face'); component.registerSkinElement(shadow_mc, 'shadow'); component.registerSkinElement(darkshadow_mc, 'darkshadow'); component.registerSkinElement(highlight_mc, 'highlight'); component.registerSkinElement(highlight3D_mc, 'highlight3D'); } } movieClip 10 UpArrow { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 11 { frame 1 { var component = _parent._parent; component.registerSkinElement(shadow_mc, 'shadow'); component.registerSkinElement(darkshadow_mc, 'darkshadow'); component.registerSkinElement(highlight_mc, 'highlight'); component.registerSkinElement(highlight3D_mc, 'highlight3D'); } } movieClip 14 { frame 1 { var component = _parent._parent; component.registerSkinElement(face_mc, 'face'); component.registerSkinElement(shadow_mc, 'shadow'); component.registerSkinElement(darkshadow_mc, 'darkshadow'); component.registerSkinElement(highlight_mc, 'highlight'); component.registerSkinElement(highlight3D_mc, 'highlight3D'); } } movieClip 15 { frame 1 { var component = _parent._parent; component.registerSkinElement(highlight3D_mc, 'highlight3D'); component.registerSkinElement(shadow_mc, 'shadow'); component.registerSkinElement(darkshadow_mc, 'darkshadow'); component.registerSkinElement(highlight_mc, 'highlight'); } } movieClip 16 ScrollThumb { frame 1 { stop(); } } movieClip 17 { frame 1 { var component = _parent._parent; component.registerSkinElement(arrow_mc, 'arrow'); component.registerSkinElement(face_mc, 'face'); component.registerSkinElement(shadow_mc, 'shadow'); component.registerSkinElement(darkshadow_mc, 'darkshadow'); component.registerSkinElement(highlight_mc, 'highlight'); component.registerSkinElement(highlight3D_mc, 'highlight3D'); } } movieClip 18 { frame 1 { var component = _parent._parent; component.registerSkinElement(arrow_mc, 'arrow'); component.registerSkinElement(face_mc, 'face'); component.registerSkinElement(shadow_mc, 'shadow'); component.registerSkinElement(darkshadow_mc, 'darkshadow'); component.registerSkinElement(highlight_mc, 'highlight'); component.registerSkinElement(highlight3D_mc, 'highlight3D'); } } movieClip 19 { frame 1 { var component = _parent._parent; component.registerSkinElement(arrow_mc, 'foregroundDisabled'); component.registerSkinElement(face_mc, 'face'); component.registerSkinElement(shadow_mc, 'shadow'); component.registerSkinElement(darkshadow_mc, 'darkshadow'); component.registerSkinElement(highlight_mc, 'highlight'); component.registerSkinElement(highlight3D_mc, 'highlight3D'); } } movieClip 20 DownArrow { frame 1 { stop(); } frame 2 { stop(); } frame 3 { stop(); } } movieClip 21 FUIComponentSymbol { #initclip function FUIComponentClass() { this.init(); } FUIComponentClass.prototype = new MovieClip(); FUIComponentClass.prototype.init = function () { this.enable = true; this.focused = false; this.useHandCursor = false; this._accImpl = new Object(); this._accImpl.stub = true; this.styleTable = new Array(); if (_global.globalStyleFormat == undefined) { _global.globalStyleFormat = new FStyleFormat(); globalStyleFormat.isGlobal = true; _global._focusControl = new Object(); _global._focusControl.onSetFocus = function (oldFocus, newFocus) { oldFocus.myOnKillFocus(); newFocus.myOnSetFocus(); }; Selection.addListener(_global._focusControl); } if (this._name != undefined) { this._focusrect = false; this.tabEnabled = true; this.focusEnabled = true; this.tabChildren = false; this.tabFocused = true; if (this.hostStyle == undefined) { globalStyleFormat.addListener(this); } else { this.styleTable = this.hostStyle; } this.deadPreview._visible = false; this.deadPreview._height = 1; this.deadPreview._width = 1; this.methodTable = new Object(); this.keyListener = new Object(); this.keyListener.controller = this; this.keyListener.onKeyDown = function () { this.controller.myOnKeyDown(); }; this.keyListener.onKeyUp = function () { this.controller.myOnKeyUp(); }; for (var v3 in this.styleFormat_prm) { this.setStyleProperty(v3, this.styleFormat_prm[v3]); } } }; FUIComponentClass.prototype.setEnabled = function (enabledFlag) { this.enable = arguments.length > 0 ? enabledFlag : true; this.focusEnabled = enabledFlag; this.tabEnabled = this.focusEnabled; if (!this.enable && this.focused) { Selection.setFocus(undefined); } }; FUIComponentClass.prototype.getEnabled = function () { return this.enable; }; FUIComponentClass.prototype.setSize = function (w, h) { this.width = w; this.height = h; this.focusRect.removeMovieClip(); }; FUIComponentClass.prototype.setChangeHandler = function (chng, obj) { this.handlerObj = (obj == undefined) ? this._parent : obj; this.changeHandler = chng; }; FUIComponentClass.prototype.invalidate = function (methodName) { this.methodTable[methodName] = true; this.onEnterFrame = this.cleanUI; }; FUIComponentClass.prototype.cleanUI = function () { if (this.methodTable.setSize) { this.setSize(this.width, this.height); } else { this.cleanUINotSize(); } this.methodTable = new Object(); delete this.onEnterFrame; }; FUIComponentClass.prototype.cleanUINotSize = function () { for (var v2 in this.methodTable) { this[v2](); } }; FUIComponentClass.prototype.drawRect = function (x, y, w, h) { var v4 = this.styleTable.focusRectInner.value; var v5 = this.styleTable.focusRectOuter.value; if (v4 == undefined) { v4 = 16777215; } if (v5 == undefined) { v5 = 0; } this.createEmptyMovieClip('focusRect', 1000); this.focusRect.controller = this; this.focusRect.lineStyle(1, v5); this.focusRect.moveTo(x, y); this.focusRect.lineTo(x + w, y); this.focusRect.lineTo(x + w, y + h); this.focusRect.lineTo(x, y + h); this.focusRect.lineTo(x, y); this.focusRect.lineStyle(1, v4); this.focusRect.moveTo(x + 1, y + 1); this.focusRect.lineTo(x + w - 1, y + 1); this.focusRect.lineTo(x + w - 1, y + h - 1); this.focusRect.lineTo(x + 1, y + h - 1); this.focusRect.lineTo(x + 1, y + 1); }; FUIComponentClass.prototype.pressFocus = function () { this.tabFocused = false; this.focusRect.removeMovieClip(); Selection.setFocus(this); }; FUIComponentClass.prototype.drawFocusRect = function () { this.drawRect(-2, -2, this.width + 4, this.height + 4); }; FUIComponentClass.prototype.myOnSetFocus = function () { this.focused = true; Key.addListener(this.keyListener); if (this.tabFocused) { this.drawFocusRect(); } }; FUIComponentClass.prototype.myOnKillFocus = function () { this.tabFocused = true; this.focused = false; this.focusRect.removeMovieClip(); Key.removeListener(this.keyListener); }; FUIComponentClass.prototype.executeCallBack = function () { this.handlerObj[this.changeHandler](this); }; FUIComponentClass.prototype.updateStyleProperty = function (styleFormat, propName) { this.setStyleProperty(propName, styleFormat[propName], styleFormat.isGlobal); }; FUIComponentClass.prototype.setStyleProperty = function (propName, value, isGlobal) { if (value == '') { return undefined; } var v17 = parseInt(value); if (!isNaN(v17)) { value = v17; } var v16 = arguments.length > 2 ? isGlobal : false; if (this.styleTable[propName] == undefined) { this.styleTable[propName] = new Object(); this.styleTable[propName].useGlobal = true; } if (this.styleTable[propName].useGlobal || !v16) { this.styleTable[propName].value = value; if (this.setCustomStyleProperty(propName, value)) { } else { if (propName == 'embedFonts') { this.invalidate('setSize'); } else { if (propName.subString(0, 4) == 'text') { if (this.textStyle == undefined) { this.textStyle = new TextFormat(); } var v18 = propName.subString(4, propName.length); this.textStyle[v18] = value; this.invalidate('setSize'); } else { for (var v15 in this.styleTable[propName].coloredMCs) { var v4 = new Color(this.styleTable[propName].coloredMCs[v15]); if (this.styleTable[propName].value == undefined) { var v5 = {'ra': '100', 'rb': '0', 'ga': '100', 'gb': '0', 'ba': '100', 'bb': '0', 'aa': '100', 'ab': '0'}; v4.setTransform(v5); } else { v4.setRGB(value); } } } } } this.styleTable[propName].useGlobal = v16; } }; FUIComponentClass.prototype.registerSkinElement = function (skinMCRef, propName) { if (this.styleTable[propName] == undefined) { this.styleTable[propName] = new Object(); this.styleTable[propName].useGlobal = true; } if (this.styleTable[propName].coloredMCs == undefined) { this.styleTable[propName].coloredMCs = new Object(); } this.styleTable[propName].coloredMCs[skinMCRef] = skinMCRef; if (this.styleTable[propName].value != undefined) { var v4 = new Color(skinMCRef); v4.setRGB(this.styleTable[propName].value); } }; _global.FStyleFormat = function () { this.nonStyles = {'listeners': true, 'isGlobal': true, 'isAStyle': true, 'addListener': true, 'removeListener': true, 'nonStyles': true, 'applyChanges': true}; this.listeners = new Object(); this.isGlobal = false; if (arguments.length > 0) { for (var v3 in arguments[0]) { this[v3] = arguments[0][v3]; } } }; _global.FStyleFormat.prototype = new Object(); FStyleFormat.prototype.addListener = function () { var v3 = 0; while (v3 < arguments.length) { var v4 = arguments[v3]; this.listeners[arguments[v3]] = v4; for (var v5 in this) { if (this.isAStyle(v5)) { v4.updateStyleProperty(this, v5.toString()); } } ++v3; } }; FStyleFormat.prototype.removeListener = function (component) { this.listeners[component] = undefined; for (var v4 in this) { if (this.isAStyle(v4)) { if (component.styleTable[v4].useGlobal == this.isGlobal) { component.styleTable[v4].useGlobal = true; var v3 = this.isGlobal ? undefined : globalStyleFormat[v4]; component.setStyleProperty(v4, v3, true); } } } }; FStyleFormat.prototype.applyChanges = function () { var v6 = 0; for (var v5 in this.listeners) { var v3 = this.listeners[v5]; if (arguments.length > 0) { var v4 = 0; while (v4 < arguments.length) { if (this.isAStyle(arguments[v4])) { v3.updateStyleProperty(this, arguments[v4]); } ++v4; } } else { for (var v4 in this) { if (this.isAStyle(v4)) { v3.updateStyleProperty(this, v4.toString()); } } } } }; FStyleFormat.prototype.isAStyle = function (name) { return this.nonStyles[name] ? false : true; }; #endinitclip frame 1 { } } movieClip 23 { } movieClip 24 { frame 1 { var component = _parent; component.registerSkinElement(track_mc, 'scrollTrack'); } } movieClip 25 FScrollBarSymbol { #initclip FScrollBarClass = function () { if (this._height == 4) { return undefined; } this.init(); this.largeScroll = 0; this.pageSize = 0; this.maxPos = 0; this.minPos = 0; this.smallScroll = 1; this.width = this.horizontal ? this._width : this._height; this._yscale = 100; this._xscale = 100; this.setScrollPosition(0); this.tabEnabled = false; if (this._targetInstanceName.length > 0) { this.setScrollTarget(this._parent[this._targetInstanceName]); } this.tabChildren = false; this.setSize(this.width); }; FScrollBarClass.prototype = new FUIComponentClass(); FScrollBarClass.prototype.setHorizontal = function (flag) { if (this.horizontal && !flag) { this._xscale = 100; this._rotation = 0; } else { if (flag && !this.horizontal) { this._xscale = -100; this._rotation = -90; } } this.horizontal = flag; }; FScrollBarClass.prototype.setScrollProperties = function (pSize, mnPos, mxPos) { if (!this.enable) { return undefined; } this.pageSize = pSize; this.minPos = Math.max(mnPos, 0); this.maxPos = Math.max(mxPos, 0); this.scrollPosition = Math.max(this.minPos, this.scrollPosition); this.scrollPosition = Math.min(this.maxPos, this.scrollPosition); if (this.maxPos - this.minPos <= 0) { this.scrollThumb_mc.removeMovieClip(); this.upArrow_mc.gotoAndStop(3); this.downArrow_mc.gotoAndStop(3); this.downArrow_mc.onDragOut = null; this.downArrow_mc.onRelease = this.downArrow_mc.onDragOut; this.downArrow_mc.onPress = this.downArrow_mc.onDragOut; this.upArrow_mc.onDragOut = null; this.upArrow_mc.onRelease = this.upArrow_mc.onDragOut; this.upArrow_mc.onPress = this.upArrow_mc.onDragOut; this.scrollTrack_mc.onRelease = null; this.scrollTrack_mc.onPress = this.scrollTrack_mc.onRelease; this.scrollTrack_mc.onRollOut = null; this.scrollTrack_mc.onDragOut = this.scrollTrack_mc.onRollOut; this.scrollTrack_mc.useHandCursor = false; } else { var v2 = this.getScrollPosition(); this.upArrow_mc.gotoAndStop(1); this.downArrow_mc.gotoAndStop(1); this.upArrow_mc.onDragOver = this.startUpScroller; this.upArrow_mc.onPress = this.upArrow_mc.onDragOver; this.upArrow_mc.onDragOut = this.stopScrolling; this.upArrow_mc.onRelease = this.upArrow_mc.onDragOut; this.downArrow_mc.onDragOver = this.startDownScroller; this.downArrow_mc.onPress = this.downArrow_mc.onDragOver; this.downArrow_mc.onDragOut = this.stopScrolling; this.downArrow_mc.onRelease = this.downArrow_mc.onDragOut; this.scrollTrack_mc.onDragOver = this.startTrackScroller; this.scrollTrack_mc.onPress = this.scrollTrack_mc.onDragOver; this.scrollTrack_mc.onRelease = this.stopScrolling; this.scrollTrack_mc.onDragOut = this.stopScrolling; this.scrollTrack_mc.onRollOut = this.stopScrolling; this.scrollTrack_mc.useHandCursor = false; this.attachMovie('ScrollThumb', 'scrollThumb_mc', 3); this.scrollThumb_mc._x = 0; this.scrollThumb_mc._y = this.upArrow_mc._height; this.scrollThumb_mc.onPress = this.startDragThumb; this.scrollThumb_mc.controller = this; this.scrollThumb_mc.onReleaseOutside = this.stopDragThumb; this.scrollThumb_mc.onRelease = this.scrollThumb_mc.onReleaseOutside; this.scrollThumb_mc.useHandCursor = false; this.thumbHeight = (this.pageSize / (this.maxPos - this.minPos + this.pageSize)) * this.trackSize; this.thumbMid_mc = this.scrollThumb_mc.mc_sliderMid; this.thumbTop_mc = this.scrollThumb_mc.mc_sliderTop; this.thumbBot_mc = this.scrollThumb_mc.mc_sliderBot; this.thumbHeight = Math.max(this.thumbHeight, 6); this.midHeight = this.thumbHeight - this.thumbTop_mc._height - this.thumbBot_mc._height; this.thumbMid_mc._yScale = this.midHeight * 100 / this.thumbMid_mc._height; this.thumbMid_mc._y = this.thumbTop_mc._height; this.thumbBot_mc._y = this.thumbTop_mc._height + this.midHeight; this.scrollTop = this.scrollThumb_mc._y; this.trackHeight = this.trackSize - this.thumbHeight; this.scrollBot = this.trackHeight + this.scrollTop; v2 = Math.min(v2, this.maxPos); this.setScrollPosition(Math.max(v2, this.minPos)); } }; FScrollBarClass.prototype.getScrollPosition = function () { return this.scrollPosition; }; FScrollBarClass.prototype.setScrollPosition = function (pos) { this.scrollPosition = pos; if (this.scrollThumb_mc != undefined) { pos = Math.min(pos, this.maxPos); pos = Math.max(pos, this.minPos); } this.scrollThumb_mc._y = (pos - this.minPos) * this.trackHeight / (this.maxPos - this.minPos) + this.scrollTop; this.executeCallBack(); }; FScrollBarClass.prototype.setLargeScroll = function (lScroll) { this.largeScroll = lScroll; }; FScrollBarClass.prototype.setSmallScroll = function (sScroll) { this.smallScroll = sScroll; }; FScrollBarClass.prototype.setEnabled = function (enabledFlag) { var v3 = this.enable; if (enabledFlag && !v3) { this.enable = enabledFlag; if (this.textField != undefined) { this.setScrollTarget(this.textField); } else { this.setScrollProperties(this.pageSize, this.cachedMinPos, this.cachedMaxPos); this.setScrollPosition(this.cachedPos); } this.clickFilter = undefined; } else { if (!enabledFlag && v3) { this.textField.removeListener(this); this.cachedPos = this.getScrollPosition(); this.cachedMinPos = this.minPos; this.cachedMaxPos = this.maxPos; if (this.clickFilter == undefined) { this.setScrollProperties(this.pageSize, 0, 0); } else { this.clickFilter = true; } this.enable = enabledFlag; } } }; FScrollBarClass.prototype.setSize = function (hgt) { if (this._height == 1) { return undefined; } this.width = hgt; this.scrollTrack_mc._yscale = 100; this.scrollTrack_mc._yscale = 100 * this.width / this.scrollTrack_mc._height; if (this.upArrow_mc == undefined) { this.attachMovie('UpArrow', 'upArrow_mc', 1); this.attachMovie('DownArrow', 'downArrow_mc', 2); this.upArrow_mc.controller = this; this.downArrow_mc.controller = this.upArrow_mc.controller; this.downArrow_mc.useHandCursor = false; this.upArrow_mc.useHandCursor = this.downArrow_mc.useHandCursor; this.upArrow_mc._y = 0; this.upArrow_mc._x = 0; this.downArrow_mc._x = 0; } this.scrollTrack_mc.controller = this; this.downArrow_mc._y = this.width - this.downArrow_mc._height; this.trackSize = this.width - 2 * this.downArrow_mc._height; if (this.textField != undefined) { this.onTextChanged(); } else { this.setScrollProperties(this.pageSize, this.minPos, this.maxPos); } }; FScrollBarClass.prototype.scrollIt = function (inc, mode) { var v3 = this.smallScroll; if (inc != 'one') { v3 = (this.largeScroll == 0) ? this.pageSize : this.largeScroll; } var v2 = this.getScrollPosition() + mode * v3; if (v2 > this.maxPos) { v2 = this.maxPos; } else { if (v2 < this.minPos) { v2 = this.minPos; } } this.setScrollPosition(v2); }; FScrollBarClass.prototype.startDragThumb = function () { this.lastY = this._ymouse; this.onMouseMove = this.controller.dragThumb; }; FScrollBarClass.prototype.dragThumb = function () { this.scrollMove = this._ymouse - this.lastY; this.scrollMove += this._y; if (this.scrollMove < this.controller.scrollTop) { this.scrollMove = this.controller.scrollTop; } else { if (this.scrollMove > this.controller.scrollBot) { this.scrollMove = this.controller.scrollBot; } } this._y = this.scrollMove; var v2 = this.controller; v2.scrollPosition = Math.round((v2.maxPos - v2.minPos) * (this._y - v2.scrollTop) / v2.trackHeight) + v2.minPos; this.controller.isScrolling = true; updateAfterEvent(); this.controller.executeCallBack(); }; FScrollBarClass.prototype.stopDragThumb = function () { this.controller.isScrolling = false; this.onMouseMove = null; }; FScrollBarClass.prototype.startTrackScroller = function () { this.controller.trackScroller(); this.controller.scrolling = setInterval(this.controller, 'scrollInterval', 500, 'page', -1); }; FScrollBarClass.prototype.scrollInterval = function (inc, mode) { clearInterval(this.scrolling); if (inc == 'page') { this.trackScroller(); } else { this.scrollIt(inc, mode); } this.scrolling = setInterval(this, 'scrollInterval', 35, inc, mode); }; FScrollBarClass.prototype.trackScroller = function () { if (this.scrollThumb_mc._y + this.thumbHeight < this._ymouse) { this.scrollIt('page', 1); } else { if (this.scrollThumb_mc._y > this._ymouse) { this.scrollIt('page', -1); } } }; FScrollBarClass.prototype.stopScrolling = function () { this.controller.downArrow_mc.gotoAndStop(1); this.controller.upArrow_mc.gotoAndStop(1); clearInterval(this.controller.scrolling); }; FScrollBarClass.prototype.startUpScroller = function () { this.controller.upArrow_mc.gotoAndStop(2); this.controller.scrollIt('one', -1); this.controller.scrolling = setInterval(this.controller, 'scrollInterval', 500, 'one', -1); }; FScrollBarClass.prototype.startDownScroller = function () { this.controller.downArrow_mc.gotoAndStop(2); this.controller.scrollIt('one', 1); this.controller.scrolling = setInterval(this.controller, 'scrollInterval', 500, 'one', 1); }; FScrollBarClass.prototype.setScrollTarget = function (tF) { if (tF == undefined) { this.textField.removeListener(this); delete this.textField[this.horizontal ? 'hScroller' : 'vScroller']; if (this.textField.hScroller != undefined && this.textField.vScroller != undefined) { this.textField.unwatch('text'); this.textField.unwatch('htmltext'); } } this.textField = undefined; if (!(tF instanceof TextField)) { return undefined; } this.textField = tF; this.textField[this.horizontal ? 'hScroller' : 'vScroller'] = this; this.onTextChanged(); this.onChanged = function () { this.onTextChanged(); }; this.onScroller = function () { if (!this.isScrolling) { if (!this.horizontal) { this.setScrollPosition(this.textField.scroll); } else { this.setScrollPosition(this.textField.hscroll); } } }; this.textField.addListener(this); this.textField.watch('text', this.callback); this.textField.watch('htmlText', this.callback); }; FScrollBarClass.prototype.callback = function (prop, oldVal, newVal) { clearInterval(this.hScroller.synchScroll); clearInterval(this.vScroller.synchScroll); this.hScroller.synchScroll = setInterval(this.hScroller, 'onTextChanged', 50); this.vScroller.synchScroll = setInterval(this.vScroller, 'onTextChanged', 50); return newVal; }; FScrollBarClass.prototype.onTextChanged = function () { if (!this.enable || this.textField == undefined) { return undefined; } clearInterval(this.synchScroll); if (this.horizontal) { var v3 = this.textField.hscroll; this.setScrollProperties(this.textField._width, 0, this.textField.maxhscroll); this.setScrollPosition(Math.min(v3, this.textField.maxhscroll)); } else { var v3 = this.textField.scroll; var v2 = this.textField.bottomScroll - this.textField.scroll; this.setScrollProperties(v2, 1, this.textField.maxscroll); this.setScrollPosition(Math.min(v3, this.textField.maxscroll)); } }; FScrollBarClass.prototype.executeCallBack = function () { if (this.textField == undefined) { super.executeCallBack(); } else { if (this.horizontal) { this.textField.hscroll = this.getScrollPosition(); } else { this.textField.scroll = this.getScrollPosition(); } } }; Object.registerClass('FScrollBarSymbol', FScrollBarClass); #endinitclip frame 1 { } } frame 1 { fscommand('fullscreen', 'true'); fscommand('allowscale', 'false'); } frame 1 { _global.$createTweenController = function () { var v3 = _root.createEmptyMovieClip('__tweenController__', 123432); v3.$_tweenPropList = new Array(); v3.$_tTime = getTimer(); v3.onEnterFrame = _global.$updateTweens; }; ASSetPropFlags(_global, '$createTweenController', 1, 0); _global.$removeTweenController = function () { delete _root.__tweenController__.$_tweenPropList; delete _root.__tweenController__.$_tTime; delete _root.__tweenController__.onEnterFrame; _root.__tweenController__.removeMovieClip(); }; ASSetPropFlags(_global, '$removeTweenController', 1, 0); _global.$addTween = function (mtarget, prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2, extras) { if (timeSeconds == undefined) { timeSeconds = 0; } if (animType == undefined || animType == '') { animType = 'easeOutExpo'; } if (delay == undefined) { delay = 0; } if (typeof prop == 'string') { var v7 = [prop]; var v11 = [mtarget[prop]]; var v9 = [propDest]; } else { var v7 = []; var v11 = []; var v9 = []; for (var v32 in prop) { v11.push(mtarget[prop[v32]]); } for (v32 in prop) { v7.push(prop[v32]); } for (v32 in propDest) { v9.push(propDest[v32]); } } var v12 = false; if (_root.__tweenController__ == undefined) { _global.$createTweenController(); } var v4 = _root.__tweenController__.$_tweenPropList; var v8 = _root.__tweenController__.$_tTime; for (v32 in v11) { if (v9[v32] != undefined && !mtarget.$_isTweenLocked) { if (mtarget.$_tweenCount > 0) { var v3 = 0; while (v3 < v4.length) { if (v4[v3]._targ == mtarget && v4[v3]._prop == v7[v32]) { if (v8 + delay * 1000 < v4[v3]._timeDest) { v4.splice(v3, 1); --v3; --mtarget.$_tweenCount; } } ++v3; } } v4.push({'_prop': v7[v32], '_targ': mtarget, '_propStart': undefined, '_propDest': v9[v32], '_timeStart': v8, '_timeDest': v8 + timeSeconds * 1000, '_animType': animType, '_extra1': extra1, '_extra2': extra2, '_extras': extras, '_delay': delay, '_isPaused': false, '_timePaused': 0, '_callback': v12 ? undefined : callback}); mtarget.$_tweenCount = mtarget.$_tweenCount > 0 ? mtarget.$_tweenCount + 1 : 1; v12 = true; } } ASSetPropFlags(mtarget, '$_tweenCount', 1, 0); }; ASSetPropFlags(_global, '$addTween', 1, 0); _global.$updateTweens = function () { this.$_tTime = getTimer(); var v8 = this.$_tTime; var v6 = 0; while (v6 < this.$_tweenPropList.length) { var v3 = this.$_tweenPropList[v6]; if (v3._targ.toString() == undefined) { this.$_tweenPropList.splice(v6, 1); --v6; } else { if (v3._timeStart + v3._delay * 1000 <= v8 && !v3._isPaused) { if (v3._propStart == undefined) { if (v3._prop.substr(0, 10) == '__special_') { if (v3._prop == '__special_mc_frame__') { v3._propStart = v3._targ._currentframe; } else { if (v3._prop == '__special_mc_ra__') { v3._propStart = ((new Color(v3._targ)).getTransform()).ra; } else { if (v3._prop == '__special_mc_rb__') { v3._propStart = ((new Color(v3._targ)).getTransform()).rb; } else { if (v3._prop == '__special_mc_ga__') { v3._propStart = ((new Color(v3._targ)).getTransform()).ga; } else { if (v3._prop == '__special_mc_gb__') { v3._propStart = ((new Color(v3._targ)).getTransform()).gb; } else { if (v3._prop == '__special_mc_ba__') { v3._propStart = ((new Color(v3._targ)).getTransform()).ba; } else { if (v3._prop == '__special_mc_bb__') { v3._propStart = ((new Color(v3._targ)).getTransform()).bb; } else { if (v3._prop == '__special_mc_aa__') { v3._propStart = ((new Color(v3._targ)).getTransform()).aa; } else { if (v3._prop == '__special_mc_ab__') { v3._propStart = ((new Color(v3._targ)).getTransform()).ab; } else { if (v3._prop == '__special_text_r__') { v3._propStart = v3._targ.textColor >> 16; } else { if (v3._prop == '__special_text_g__') { v3._propStart = (v3._targ.textColor & 65280) >> 8; } else { if (v3._prop == '__special_text_b__') { v3._propStart = v3._targ.textColor & 255; } else { if (v3._prop == '__special_sound_volume__') { v3._propStart = v3._targ.getVolume(); } else { if (v3._prop == '__special_sound_pan__') { v3._propStart = v3._targ.getPan(); } else { if (v3._prop == '__special_bst_t__') { v3._propStart = 0; v3._extras.__special_bst_ix__ = v3._targ._x; v3._extras.__special_bst_iy__ = v3._targ._y; } else { if (v3._prop == '__special_blur_x__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BlurFilter) { v3._propStart = v3._targ.filters[v5].blurX; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_blur_y__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BlurFilter) { v3._propStart = v3._targ.filters[v5].blurY; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_glow_color__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].color; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 16777215; } } else { if (v3._prop == '__special_glow_alpha__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].alpha; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { if (v3._prop == '__special_glow_blurX__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].blurX; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_glow_blurY__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].blurY; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_glow_strength__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].strength; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { if (v3._prop == '__special_bevel_distance__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].distance; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_bevel_angle__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].angle; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 45; } } else { if (v3._prop == '__special_bevel_highlightColor__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].highlightColor; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 16777215; } } else { if (v3._prop == '__special_bevel_highlightAlpha__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].highlightAlpha; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { if (v3._prop == '__special_bevel_shadowColor__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].shadowColor; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_bevel_shadowAlpha__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].shadowAlpha; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { if (v3._prop == '__special_bevel_blurX__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].blurX; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_bevel_blurY__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].blurY; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_bevel_strength__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].strength; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { v3._propStart = v3._targ[v3._prop]; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } else { v3._propStart = v3._targ[v3._prop]; } } var v10 = v3._timeDest + v3._delay * 1000; if (v10 <= v8) { var v4 = v3._propDest; } else { var v4 = _global.findTweenValue(v3._propStart, v3._propDest, v3._timeStart, v8 - v3._delay * 1000, v3._timeDest, v3._animType, v3._extra1, v3._extra2); } v3._targ[v3._prop] = v3._extras.mustRound ? Math.round(v4) : v4; if (v3._prop == '__special_mc_frame__') { v3._targ.gotoAndStop(Math.round(v4)); } else { if (v3._prop == '__special_mc_ra__') { (new Color(v3._targ)).setTransform({'ra': v4}); } else { if (v3._prop == '__special_mc_rb__') { (new Color(v3._targ)).setTransform({'rb': v4}); } else { if (v3._prop == '__special_mc_ga__') { (new Color(v3._targ)).setTransform({'ga': v4}); } else { if (v3._prop == '__special_mc_gb__') { (new Color(v3._targ)).setTransform({'gb': v4}); } else { if (v3._prop == '__special_mc_ba__') { (new Color(v3._targ)).setTransform({'ba': v4}); } else { if (v3._prop == '__special_mc_bb__') { (new Color(v3._targ)).setTransform({'bb': v4}); } else { if (v3._prop == '__special_mc_aa__') { (new Color(v3._targ)).setTransform({'aa': v4}); } else { if (v3._prop == '__special_mc_ab__') { (new Color(v3._targ)).setTransform({'ab': v4}); } } } } } } } } } if (v3._prop == '__special_bst_t__') { var v7 = v3._extras; var v9 = _global.findPointOnCurve(v7.__special_bst_ix__, v7.__special_bst_iy__, v7.__special_bst_cx__, v7.__special_bst_cy__, v7.__special_bst_dx__, v7.__special_bst_dy__, v4); if (v3._extras.mustRound) { v3._targ._x = Math.round(v9.x); v3._targ._y = Math.round(v9.y); } else { v3._targ._x = v9.x; v3._targ._y = v9.y; } } if (typeof v3._targ != 'movieclip' && v3._prop == '__special_text_b__') { v3._targ.textColor = (v3._targ.__special_text_r__ << 16) + (v3._targ.__special_text_g__ << 8) + v3._targ.__special_text_b__; } if (v3._prop == '__special_sound_volume__') { v3._targ.setVolume(v4); } if (v3._prop == '__special_sound_pan__') { v3._targ.setPan(v4); } if (v3._prop == '__special_blur_x__') { _global.$setFilterProperty(v3._targ, 'blur_blurX', v4, v3._extras); } if (v3._prop == '__special_blur_y__') { _global.$setFilterProperty(v3._targ, 'blur_blurY', v4, v3._extras); } if (v3._prop == '__special_glow_color__') { _global.$setFilterProperty(v3._targ, 'glow_color', _global.findTweenColor(v3, v8), v3._extras); } if (v3._prop == '__special_glow_alpha__') { _global.$setFilterProperty(v3._targ, 'glow_alpha', v4, v3._extras); } if (v3._prop == '__special_glow_blurX__') { _global.$setFilterProperty(v3._targ, 'glow_blurX', v4, v3._extras); } if (v3._prop == '__special_glow_blurY__') { _global.$setFilterProperty(v3._targ, 'glow_blurY', v4, v3._extras); } if (v3._prop == '__special_glow_strength__') { _global.$setFilterProperty(v3._targ, 'glow_strength', v4, v3._extras); } if (v3._prop == '__special_bevel_distance__') { _global.$setFilterProperty(v3._targ, 'bevel_distance', v4, v3._extras); } if (v3._prop == '__special_bevel_angle__') { _global.$setFilterProperty(v3._targ, 'bevel_angle', v4, v3._extras); } if (v3._prop == '__special_bevel_highlightColor__') { _global.$setFilterProperty(v3._targ, 'bevel_highlightColor', _global.findTweenColor(v3, v8), v3._extras); } if (v3._prop == '__special_bevel_highlightAlpha__') { _global.$setFilterProperty(v3._targ, 'bevel_highlightAlpha', v4, v3._extras); } if (v3._prop == '__special_bevel_shadowColor__') { _global.$setFilterProperty(v3._targ, 'bevel_shadowColor', _global.findTweenColor(v3, v8), v3._extras); } if (v3._prop == '__special_bevel_shadowAlpha__') { _global.$setFilterProperty(v3._targ, 'bevel_shadowAlpha', v4, v3._extras); } if (v3._prop == '__special_bevel_blurX__') { _global.$setFilterProperty(v3._targ, 'bevel_blurX', v4, v3._extras); } if (v3._prop == '__special_bevel_blurY__') { _global.$setFilterProperty(v3._targ, 'bevel_blurY', v4, v3._extras); } if (v3._prop == '__special_bevel_strength__') { _global.$setFilterProperty(v3._targ, 'bevel_strength', v4, v3._extras); } if (v3._targ.onTweenUpdate != undefined) { v3._targ.onTweenUpdate(v3._prop); } if (v10 <= v8) { if (v3._targ.onTweenComplete != undefined) { v3._targ.onTweenComplete(v3._prop); } _global.$stopTween(v3._targ, [v3._prop], false); --v6; if (v3._callback != undefined) { if (_global.backwardCallbackTweening) { var v11 = v3._targ.createEmptyMovieClip('__child__', 122344); v3._callback.apply(v11, null); v11.removeMovieClip(); } else { v3._callback.apply(v3._targ, null); } } } } } ++v6; } if (this.$_tweenPropList.length == 0) { _global.$removeTweenController(); } }; ASSetPropFlags(_global, '$updateTween', 1, 0); _global.$stopTween = function (mtarget, props, wipeFuture) { var v4 = _root.__tweenController__.$_tweenPropList; var v7; for (var v9 in v4) { v7 = v4[v9]._prop; var v5 = 0; for (;;) { if (!(v5 < props.length || v5 < 1 && props == undefined)) break; if (v4[v9]._targ == mtarget && (v7 == props[v5] || props == undefined) && (wipeFuture || v4[v9]._timeDest + v4[v9]._delay * 1000 <= getTimer())) { switch (v7) { case '__special_mc_frame__': case '__special_mc_ra__': case '__special_mc_rb__': case '__special_mc_ga__': case '__special_mc_gb__': case '__special_mc_ba__': case '__special_mc_bb__': case '__special_mc_aa__': case '__special_mc_ab__': case '__special_sound_volume__': case '__special_bst_t__': delete mtarget[v7]; break; case '__special_text_b__': delete mtarget.__special_text_r__; delete mtarget.__special_text_g__; delete mtarget.__special_text_b__; } v4.splice(v9, 1); } ++v5; } } if (props == undefined) { delete mtarget.$_tweenCount; } else { mtarget.$_tweenCount = 0; for (v9 in v4) { if (v4[v9]._targ == mtarget) { ++mtarget.$_tweenCount; } } if (mtarget.$_tweenCount == 0) { delete mtarget.$_tweenCount; } } if (v4.length == 0) { _global.$removeTweenController(); } }; ASSetPropFlags(_global, '$stopTween', 1, 0); _global.$setFilterProperty = function (mtarget, propName, propValue, extras) { var v1; var v7 = false; var v3 = []; v1 = 0; while (v1 < mtarget.filters.length) { v3.push(mtarget.filters[v1]); ++v1; } if (propName.substr(0, 5) == 'blur_') { v1 = 0; while (v1 < mtarget.filters.length) { if (v3[v1] instanceof flash.filters.BlurFilter) { v3[v1][propName.substr(5)] = propValue; if (extras.__special_blur_quality__ != undefined) { v3[v1].quality = extras.__special_blur_quality__; } v7 = true; break; } ++v1; } if (!v7) { var v9; var v8 = (extras.__special_blur_quality__ == undefined) ? 2 : extras.__special_blur_quality__; if (propName == 'blur_blurX') { v9 = new flash.filters.BlurFilter(propValue, 0, v8); } if (propName == 'blur_blurY') { v9 = new flash.filters.BlurFilter(0, propValue, v8); } v3.push(v9); } } else { if (propName.substr(0, 5) == 'glow_') { v1 = 0; while (v1 < mtarget.filters.length) { if (v3[v1] instanceof flash.filters.GlowFilter) { v3[v1][propName.substr(5)] = propValue; if (extras.__special_glow_quality__ != undefined) { v3[v1].quality = extras.__special_glow_quality__; } if (extras.__special_glow_inner__ != undefined) { v3[v1].inner = extras.__special_glow_inner__; } if (extras.__special_glow_knockout__ != undefined) { v3[v1].knockout = extras.__special_glow_knockout__; } v7 = true; break; } ++v1; } if (!v7) { var v8 = (extras.__special_glow_quality__ == undefined) ? 2 : extras.__special_glow_quality__; var v12 = (extras.__special_glow_inner__ == undefined) ? false : extras.__special_glow_inner__; var v10 = (extras.__special_glow_knockout__ == undefined) ? false : extras.__special_glow_knockout__; if (propName == 'glow_color') { var v9 = new flash.filters.GlowFilter(propValue, 1, 0, 0, 1, v8, v12, v10); } if (propName == 'glow_alpha') { v9 = new flash.filters.GlowFilter(16777215, propValue, 0, 0, 1, v8, v12, v10); } if (propName == 'glow_blurX') { v9 = new flash.filters.GlowFilter(16777215, 1, propValue, 0, 1, v8, v12, v10); } if (propName == 'glow_blurY') { v9 = new flash.filters.GlowFilter(16777215, 1, 0, propValue, 1, v8, v12, v10); } if (propName == 'glow_strength') { v9 = new flash.filters.GlowFilter(16777215, 1, 0, 0, propValue, v8, v12, v10); } v3.push(v9); } } else { if (propName.substr(0, 6) == 'bevel_') { v1 = 0; while (v1 < mtarget.filters.length) { if (v3[v1] instanceof flash.filters.BevelFilter) { v3[v1][propName.substr(6)] = propValue; if (extras.__special_bevel_quality__ != undefined) { v3[v1].quality = extras.__special_bevel_quality__; } if (extras.__special_bevel_type__ != undefined) { v3[v1].inner = extras.__special_bevel_type__; } if (extras.__special_bevel_knockout__ != undefined) { v3[v1].knockout = extras.__special_bevel_knockout__; } v7 = true; break; } ++v1; } if (!v7) { var v8 = (extras.__special_bevel_quality__ == undefined) ? 2 : extras.__special_bevel_quality__; var v11 = (extras.__special_bevel_type__ == undefined) ? 'inner' : extras.__special_bevel_type__; var v10 = (extras.__special_bevel_knockout__ == undefined) ? false : extras.__special_bevel_knockout__; if (propName == 'bevel_distance') { var v9 = new flash.filters.BevelFilter(propValue, 45, 16777215, 1, 0, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_angle') { v9 = new flash.filters.BevelFilter(0, propValue, 16777215, 1, 0, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_highlightColor') { v9 = new flash.filters.BevelFilter(0, 45, propValue, 1, 0, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_highlightAlpha') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, propValue, 0, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_shadowColor') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, propValue, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_shadowAlpha') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, propValue, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_blurX') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, 1, propValue, 0, 1, v8, v11, v10); } if (propName == 'bevel_blurY') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, 1, 0, propValue, 1, v8, v11, v10); } if (propName == 'bevel_strength') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, 1, 0, 0, propValue, v8, v11, v10); } v3.push(v9); } } else { return undefined; } } } mtarget.filters = v3; }; Sound.prototype.tween = function (prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2); }; TextField.prototype.tween = Sound.prototype.tween; MovieClip.prototype.tween = Sound.prototype.tween; ASSetPropFlags(MovieClip.prototype, 'tween', 1, 0); ASSetPropFlags(TextField.prototype, 'tween', 1, 0); ASSetPropFlags(Sound.prototype, 'tween', 1, 0); Sound.prototype.roundedTween = function (prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2, {'mustRound': true}); }; TextField.prototype.roundedTween = Sound.prototype.roundedTween; MovieClip.prototype.roundedTween = Sound.prototype.roundedTween; ASSetPropFlags(MovieClip.prototype, 'roundedTween', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedTween', 1, 0); ASSetPropFlags(Sound.prototype, 'roundedTween', 1, 0); Sound.prototype.stopTween = function (props) { if (typeof props == 'string') { props = [props]; } if (props != undefined) { var v4 = 1; while (v4 < arguments.length) { props.push(arguments[v4]); ++v4; } } _global.$stopTween(this, props, true); }; TextField.prototype.stopTween = Sound.prototype.stopTween; MovieClip.prototype.stopTween = Sound.prototype.stopTween; ASSetPropFlags(MovieClip.prototype, 'stopTween', 1, 0); ASSetPropFlags(TextField.prototype, 'stopTween', 1, 0); ASSetPropFlags(Sound.prototype, 'stopTween', 1, 0); Sound.prototype.pauseTween = function (props) { if (props != undefined) { if (typeof props == 'string') { props = [props]; } var v6 = 1; while (v6 < Arguments.length) { props.push(Arguments[v6]); ++v6; } } var v4 = _root.__tweenController__.$_tweenPropList; var v5; for (var v7 in v4) { if (v4[v7]._targ == this && !v4[v7]._isPaused) { if (props != undefined) { v5 = false; for (v6 in props) { if (props[v6] == v4[v7]._prop) { v5 = true; break; } } } if (props == undefined || v5) { v4[v7]._isPaused = true; v4[v7]._timePaused = _root.__tweenController__.$_tTime; } } } }; TextField.prototype.pauseTween = Sound.prototype.pauseTween; MovieClip.prototype.pauseTween = Sound.prototype.pauseTween; ASSetPropFlags(MovieClip.prototype, 'pauseTween', 1, 0); ASSetPropFlags(TextField.prototype, 'pauseTween', 1, 0); ASSetPropFlags(Sound.prototype, 'pauseTween', 1, 0); Sound.prototype.resumeTween = function (props) { if (props != undefined) { if (typeof props == 'string') { props = [props]; } var v7 = 1; while (v7 < Arguments.length) { props.push(Arguments[v7]); ++v7; } } var v3 = _root.__tweenController__.$_tweenPropList; var v5; var v6; for (var v8 in v3) { if (v3[v8]._targ == this && v3[v8]._isPaused) { if (props != undefined) { v5 = false; for (v7 in props) { if (props[v7] == v3[v8]._prop) { v5 = true; break; } } } if (props == undefined || v5) { v3[v8]._isPaused = false; v6 = _root.__tweenController__.$_tTime - v3[v8]._timePaused; v3[v8]._timeStart += v6; v3[v8]._timeDest += v6; v3[v8]._timePaused = 0; } } } }; TextField.prototype.resumeTween = Sound.prototype.resumeTween; MovieClip.prototype.resumeTween = Sound.prototype.resumeTween; ASSetPropFlags(MovieClip.prototype, 'resumeTween', 1, 0); ASSetPropFlags(TextField.prototype, 'resumeTween', 1, 0); ASSetPropFlags(Sound.prototype, 'resumeTween', 1, 0); Sound.prototype.lockTween = function () { this.$_isTweenLocked = true; ASSetPropFlags(this, 'this.$_isTweenLocked', 1, 0); }; TextField.prototype.lockTween = Sound.prototype.lockTween; MovieClip.prototype.lockTween = Sound.prototype.lockTween; ASSetPropFlags(MovieClip.prototype, 'lockTween', 1, 0); ASSetPropFlags(TextField.prototype, 'lockTween', 1, 0); ASSetPropFlags(Sound.prototype, 'lockTween', 1, 0); Sound.prototype.unlockTween = function () { delete this.$_isTweenLocked; }; TextField.prototype.unlockTween = Sound.prototype.unlockTween; MovieClip.prototype.unlockTween = Sound.prototype.unlockTween; ASSetPropFlags(MovieClip.prototype, 'unlockTween', 1, 0); ASSetPropFlags(TextField.prototype, 'unlockTween', 1, 0); ASSetPropFlags(Sound.prototype, 'unlockTween', 1, 0); Sound.prototype.getTweens = function () { return this.$_tweenCount; }; TextField.prototype.getTweens = Sound.prototype.getTweens; MovieClip.prototype.getTweens = Sound.prototype.getTweens; ASSetPropFlags(MovieClip.prototype, 'getTweens', 1, 0); ASSetPropFlags(TextField.prototype, 'getTweens', 1, 0); ASSetPropFlags(Sound.prototype, 'getTweens', 1, 0); Sound.prototype.isTweening = function () { return this.$_tweenCount > 0 ? true : false; }; TextField.prototype.isTweening = Sound.prototype.isTweening; MovieClip.prototype.isTweening = Sound.prototype.isTweening; ASSetPropFlags(MovieClip.prototype, 'isTweening', 1, 0); ASSetPropFlags(TextField.prototype, 'isTweening', 1, 0); ASSetPropFlags(Sound.prototype, 'isTweening', 1, 0); TextField.prototype.alphaTo = function (propDest_a, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_alpha', propDest_a, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.alphaTo = TextField.prototype.alphaTo; ASSetPropFlags(MovieClip.prototype, 'alphaTo', 1, 0); ASSetPropFlags(TextField.prototype, 'alphaTo', 1, 0); MovieClip.prototype.frameTo = function (propDest_frame, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_mc_frame__', propDest_frame, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(MovieClip.prototype, 'frameTo', 1, 0); TextField.prototype.resizeTo = function (propDest_width, propDest_height, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['_width', '_height'], [propDest_width, propDest_height], timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.resizeTo = TextField.prototype.resizeTo; ASSetPropFlags(MovieClip.prototype, 'resizeTo', 1, 0); ASSetPropFlags(TextField.prototype, 'resizeTo', 1, 0); TextField.prototype.rotateTo = function (propDest_rotation, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_rotation', propDest_rotation, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.rotateTo = TextField.prototype.rotateTo; ASSetPropFlags(MovieClip.prototype, 'rotateTo', 1, 0); ASSetPropFlags(TextField.prototype, 'rotateTo', 1, 0); TextField.prototype.scaleTo = function (propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['_xscale', '_yscale'], [propDest_scale, propDest_scale], timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.scaleTo = TextField.prototype.scaleTo; ASSetPropFlags(MovieClip.prototype, 'scaleTo', 1, 0); ASSetPropFlags(TextField.prototype, 'scaleTo', 1, 0); TextField.prototype.xScaleTo = function (propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_xscale', propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.xScaleTo = TextField.prototype.xScaleTo; ASSetPropFlags(MovieClip.prototype, 'xScaleTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xScaleTo', 1, 0); TextField.prototype.yScaleTo = function (propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_yscale', propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.yScaleTo = TextField.prototype.yScaleTo; ASSetPropFlags(MovieClip.prototype, 'yScaleTo', 1, 0); ASSetPropFlags(TextField.prototype, 'yScaleTo', 1, 0); TextField.prototype.scrollTo = function (propDest_scroll, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, 'scroll', propDest_scroll, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(TextField.prototype, 'scrollTo', 1, 0); TextField.prototype.slideTo = function (propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['_x', '_y'], [propDest_x, propDest_y], timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.slideTo = TextField.prototype.slideTo; ASSetPropFlags(MovieClip.prototype, 'slideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'slideTo', 1, 0); TextField.prototype.roundedSlideTo = function (propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['_x', '_y'], [propDest_x, propDest_y], timeSeconds, animType, delay, callback, extra1, extra2, {'mustRound': true}); }; MovieClip.prototype.roundedSlideTo = TextField.prototype.roundedSlideTo; ASSetPropFlags(MovieClip.prototype, 'roundedSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedSlideTo', 1, 0); TextField.prototype.xSlideTo = function (propDest_x, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_x', propDest_x, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.xSlideTo = TextField.prototype.xSlideTo; ASSetPropFlags(MovieClip.prototype, 'xSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xSlideTo', 1, 0); TextField.prototype.roundedXSlideTo = function (propDest_x, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_x', propDest_x, timeSeconds, animType, delay, callback, extra1, extra2, {'mustRound': true}); }; MovieClip.prototype.roundedXSlideTo = TextField.prototype.roundedXSlideTo; ASSetPropFlags(MovieClip.prototype, 'roundedXSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedXSlideTo', 1, 0); TextField.prototype.ySlideTo = function (propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_y', propDest_y, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.ySlideTo = TextField.prototype.ySlideTo; ASSetPropFlags(MovieClip.prototype, 'ySlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'ySlideTo', 1, 0); TextField.prototype.roundedYSlideTo = function (propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_y', propDest_y, timeSeconds, animType, delay, callback, extra1, extra2, {'mustRound': true}); }; MovieClip.prototype.roundedYSlideTo = TextField.prototype.roundedYSlideTo; ASSetPropFlags(MovieClip.prototype, 'roundedYSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedYSlideTo', 1, 0); TextField.prototype.bezierSlideTo = function (cpoint_x, cpoint_y, propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { var v3 = new Object(); v3.__special_bst_ix__ = undefined; v3.__special_bst_iy__ = undefined; v3.__special_bst_cx__ = cpoint_x; v3.__special_bst_cy__ = cpoint_y; v3.__special_bst_dx__ = propDest_x; v3.__special_bst_dy__ = propDest_y; _global.$addTween(this, '__special_bst_t__', 1, timeSeconds, animType, delay, callback, extra1, extra2, v3); }; MovieClip.prototype.bezierSlideTo = TextField.prototype.bezierSlideTo; ASSetPropFlags(MovieClip.prototype, 'bezierSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'bezierSlideTo', 1, 0); TextField.prototype.roundedBezierSlideTo = function (cpoint_x, cpoint_y, propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { var v3 = new Object(); v3.__special_bst_ix__ = undefined; v3.__special_bst_iy__ = undefined; v3.__special_bst_cx__ = cpoint_x; v3.__special_bst_cy__ = cpoint_y; v3.__special_bst_dx__ = propDest_x; v3.__special_bst_dy__ = propDest_y; v3.mustRound = true; _global.$addTween(this, '__special_bst_t__', 1, timeSeconds, animType, delay, callback, extra1, extra2, v3); }; MovieClip.prototype.roundedBezierSlideTo = TextField.prototype.roundedBezierSlideTo; ASSetPropFlags(MovieClip.prototype, 'roundedBezierSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedBezierSlideTo', 1, 0); Sound.prototype.volumeTo = function (propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_sound_volume__', propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(Sound.prototype, 'volumeTo', 1, 0); Sound.prototype.panTo = function (propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_sound_pan__', propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(Sound.prototype, 'panTo', 1, 0); MovieClip.prototype.colorTo = function (propDest_color, timeSeconds, animType, delay, callback, extra1, extra2) { if (propDest_color == null) { this.colorTransformTo(100, 0, 100, 0, 100, 0, undefined, undefined, timeSeconds, animType, delay, callback, extra1, extra2); } else { var v3 = propDest_color >> 16; var v5 = (propDest_color & 65280) >> 8; var v4 = propDest_color & 255; this.colorTransformTo(0, v3, 0, v5, 0, v4, undefined, undefined, timeSeconds, animType, delay, callback, extra1, extra2); } }; ASSetPropFlags(MovieClip.prototype, 'colorTo', 1, 0); TextField.prototype.colorTo = function (propDest_color, timeSeconds, animType, delay, callback, extra1, extra2) { var v3 = propDest_color >> 16; var v6 = (propDest_color & 65280) >> 8; var v4 = propDest_color & 255; _global.$addTween(this, ['__special_text_r__', '__special_text_g__', '__special_text_b__'], [v3, v6, v4], timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(TextField.prototype, 'colorTo', 1, 0); MovieClip.prototype.colorTransformTo = function () { if (typeof arguments[0] == 'object' && arguments[0] != undefined) { _global.$addTween(this, ['__special_mc_ra__', '__special_mc_rb__', '__special_mc_ga__', '__special_mc_gb__', '__special_mc_ba__', '__special_mc_bb__', '__special_mc_aa__', '__special_mc_ab__'], [arguments[0].ra, arguments[0].rb, arguments[0].ga, arguments[0].gb, arguments[0].ba, arguments[0].bb, arguments[0].aa, arguments[0].ab], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6]); } else { _global.$addTween(this, ['__special_mc_ra__', '__special_mc_rb__', '__special_mc_ga__', '__special_mc_gb__', '__special_mc_ba__', '__special_mc_bb__', '__special_mc_aa__', '__special_mc_ab__'], [arguments[0], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], arguments[7]], arguments[8], arguments[9], arguments[10], arguments[11], arguments[12], arguments[13]); } }; ASSetPropFlags(MovieClip.prototype, 'colorTransformTo', 1, 0); TextField.prototype.blurTo = function () { if (typeof arguments[0] == 'object' && arguments[0] != undefined) { _global.$addTween(this, ['__special_blur_x__', '__special_blur_y__'], [arguments[0].blurX, arguments[0].blurY], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], {'__special_blur_quality__': arguments[0].quality}); } else { _global.$addTween(this, ['__special_blur_x__', '__special_blur_y__'], [arguments[0], arguments[0]], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], arguments[7], {'__special_blur_quality__': arguments[1]}); } }; MovieClip.prototype.blurTo = TextField.prototype.blurTo; ASSetPropFlags(MovieClip.prototype, 'blurTo', 1, 0); ASSetPropFlags(TextField.prototype, 'blurTo', 1, 0); TextField.prototype.xyBlurTo = function (propDest_blurX, propDest_blurY, quality, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_blur_x__', '__special_blur_y__'], [propDest_blurX, propDest_blurY], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_blur_quality__': quality}); }; MovieClip.prototype.xyBlurTo = TextField.prototype.xyBlurTo; ASSetPropFlags(MovieClip.prototype, 'xyBlurTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xyBlurTo', 1, 0); TextField.prototype.xBlurTo = function (propDest_blur, quality, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_blur_x__', propDest_blur, timeSeconds, animType, delay, callback, extra1, extra2, {'__special_blur_quality__': quality}); }; MovieClip.prototype.xBlurTo = TextField.prototype.xBlurTo; ASSetPropFlags(MovieClip.prototype, 'xBlurTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xBlurTo', 1, 0); TextField.prototype.yBlurTo = function (propDest_blur, quality, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_blur_y__', propDest_blur, timeSeconds, animType, delay, callback, extra1, extra2, {'__special_blur_quality__': quality}); }; MovieClip.prototype.yBlurTo = TextField.prototype.yBlurTo; ASSetPropFlags(MovieClip.prototype, 'yBlurTo', 1, 0); ASSetPropFlags(TextField.prototype, 'yBlurTo', 1, 0); TextField.prototype.glowTo = function () { if (typeof arguments[0] == 'object' && arguments[0] != undefined) { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurX__', '__special_glow_blurY__', '__special_glow_strength__'], [arguments[0].color, arguments[0].alpha, arguments[0].blurX, arguments[0].blurY, arguments[0].strength], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], {'__special_glow_quality__': arguments[0].quality, '__special_glow_inner__': arguments[0].inner, '__special_glow_knockout__': arguments[0].knockout}); } else { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurX__', '__special_glow_blurY__', '__special_glow_strength__'], [arguments[0], arguments[1], arguments[2], arguments[2], arguments[3]], arguments[7], arguments[8], arguments[9], arguments[10], arguments[11], arguments[12], {'__special_glow_quality__': arguments[4], '__special_glow_inner__': arguments[5], '__special_glow_knockout__': arguments[6]}); } }; MovieClip.prototype.glowTo = TextField.prototype.glowTo; ASSetPropFlags(MovieClip.prototype, 'glowTo', 1, 0); ASSetPropFlags(TextField.prototype, 'glowTo', 1, 0); TextField.prototype.xyGlowTo = function (propDest_color, propDest_alpha, propDest_blurX, propDest_blurY, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurX__', '__special_glow_blurY__', '__special_glow_strength__'], [propDest_color, propDest_alpha, propDest_blurX, propDest_blurY, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_glow_quality__': quality, '__special_glow_inner__': inner, '__special_glow_knockout__': knockout}); }; MovieClip.prototype.xyGlowTo = TextField.prototype.xyGlowTo; ASSetPropFlags(MovieClip.prototype, 'xyGlowTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xyGlowTo', 1, 0); TextField.prototype.xGlowTo = function (propDest_color, propDest_alpha, propDest_blur, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurX__', '__special_glow_strength__'], [propDest_color, propDest_alpha, propDest_blur, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_glow_quality__': quality, '__special_glow_inner__': inner, '__special_glow_knockout__': knockout}); }; MovieClip.prototype.xGlowTo = TextField.prototype.xGlowTo; ASSetPropFlags(MovieClip.prototype, 'xGlowTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xGlowTo', 1, 0); TextField.prototype.yGlowTo = function (propDest_color, propDest_alpha, propDest_blur, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurY__', '__special_glow_strength__'], [propDest_color, propDest_alpha, propDest_blur, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_glow_quality__': quality, '__special_glow_inner__': inner, '__special_glow_knockout__': knockout}); }; MovieClip.prototype.yGlowTo = TextField.prototype.yGlowTo; ASSetPropFlags(MovieClip.prototype, 'yGlowTo', 1, 0); ASSetPropFlags(TextField.prototype, 'yGlowTo', 1, 0); TextField.prototype.bevelTo = function () { if (typeof arguments[0] == 'object' && arguments[0] != undefined) { _global.$addTween(this, ['__special_bevel_distance__', '__special_bevel_angle__', '__special_bevel_highlightColor__', '__special_bevel_highlightAlpha__', '__special_bevel_shadowColor__', '__special_bevel_shadowAlpha__', '__special_bevel_blurX__', '__special_bevel_blurY__', '__special_bevel_strength__'], [arguments[0].distance, arguments[0].angle, arguments[0].highlightColor, arguments[0].highlightAlpha * 100, arguments[0].shadowColor, arguments[0].shadowAlpha * 100, arguments[0].blurX, arguments[0].blurY, arguments[0].strength], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], {'__special_bevel_quality__': arguments[0].quality, '__special_bevel_type__': arguments[0].type, '__special_bevel_knockout__': arguments[0].knockout}); } else { _global.$addTween(this, ['__special_bevel_distance__', '__special_bevel_angle__', '__special_bevel_highlightColor__', '__special_bevel_highlightAlpha__', '__special_bevel_shadowColor__', '__special_bevel_shadowAlpha__', '__special_bevel_blurX__', '__special_bevel_blurY__', '__special_bevel_strength__'], [arguments[0], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], arguments[6], arguments[7]], arguments[11], arguments[12], arguments[13], arguments[14], arguments[15], arguments[16], {'__special_bevel_quality__': arguments[8], '__special_bevel_type__': arguments[9], '__special_bevel_knockout__': arguments[10]}); } }; MovieClip.prototype.bevelTo = TextField.prototype.bevelTo; ASSetPropFlags(MovieClip.prototype, 'bevelTo', 1, 0); ASSetPropFlags(TextField.prototype, 'bevelTo', 1, 0); TextField.prototype.xyBevelTo = function (propDest_distance, propDest_angle, propDest_highlightColor, propDest_highlightAlpha, propDest_shadowColor, propDest_shadowAlpha, propDest_blurX, propDest_blurY, propDest_strength, quality, type, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_bevel_distance__', '__special_bevel_angle__', '__special_bevel_highlightColor__', '__special_bevel_highlightAlpha__', '__special_bevel_shadowColor__', '__special_bevel_shadowAlpha__', '__special_bevel_blurX__', '__special_bevel_blurY__', '__special_bevel_blurY__', '__special_bevel_strength__'], [propDest_distance, propDest_angle, propDest_highlightColor, propDest_highlightAlpha, propDest_shadowColor, propDest_shadowAlpha, propDest_blur, propDest_blur, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_bevel_quality__': quality, '__special_bevel_type__': type, '__special_bevel_knockout__': knockout}); }; MovieClip.prototype.xyBevelTo = TextField.prototype.xyBevelTo; ASSetPropFlags(MovieClip.prototype, 'xyBevelTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xyBevelTo', 1, 0); _global.findPointOnCurve = function (p1x, p1y, cx, cy, p2x, p2y, t) { return {'x': p1x + t * (2 * (1 - t) * (cx - p1x) + t * (p2x - p1x)), 'y': p1y + t * (2 * (1 - t) * (cy - p1y) + t * (p2y - p1y))}; }; ASSetPropFlags(_global, 'findPointOnCurve', 1, 0); _global.findTweenColor = function (objProp, tTime) { var v8 = objProp._propStart >> 16; var v4 = objProp._propDest >> 16; var v5 = objProp._propStart >> 8 & 255; var v6 = objProp._propDest >> 8 & 255; var v9 = objProp._propStart & 255; var v7 = objProp._propDest & 255; var v12 = Math.round(_global.findTweenValue(v8, v4, objProp._timeStart, tTime - objProp._delay * 1000, objProp._timeDest, objProp._animType, objProp._extra1, objProp._extra2)); var v10 = Math.round(_global.findTweenValue(v5, v6, objProp._timeStart, tTime - objProp._delay * 1000, objProp._timeDest, objProp._animType, objProp._extra1, objProp._extra2)); var v3 = Math.round(_global.findTweenValue(v9, v7, objProp._timeStart, tTime - objProp._delay * 1000, objProp._timeDest, objProp._animType, objProp._extra1, objProp._extra2)); return (v12 << 16) + (v10 << 8) + v3; }; _global.findTweenValue = function (_propStart, _propDest, _timeStart, _timeNow, _timeDest, _animType, _extra1, _extra2) { var v1 = _timeNow - _timeStart; var v4 = _propStart; var v2 = _propDest - _propStart; var v3 = _timeDest - _timeStart; var v6 = _extra1; var v7 = _extra2; var v5 = _extra1; switch (_animType.toLowerCase()) { trace('MC TWEEN ### Error on transition: there\'s no "' + _animType + '" animation type.'); return 0; case 'linear': return v2 * v1 / v3 + v4; case 'easeinquad': v1 /= v3; return v2 * v1 * v1 + v4; case 'easeoutquad': v1 /= v3; return -v2 * v1 * (v1 - 2) + v4; case 'easeinoutquad': v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * v1 * v1 + v4; } return (-v2 / 2) * (--v1 * (v1 - 2) - 1) + v4; case 'easeoutinquad': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutQuad') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInQuad') * 0.5 + v2 * 0.5 + v4; case 'easeincubic': v1 /= v3; return v2 * v1 * v1 * v1 + v4; case 'easeoutcubic': v1 = v1 / v3 - 1; return v2 * (v1 * v1 * v1 + 1) + v4; case 'easeinoutcubic': v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * v1 * v1 * v1 + v4; } v1 -= 2; return (v2 / 2) * (v1 * v1 * v1 + 2) + v4; case 'easeoutincubic': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutCubic') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInCubic') * 0.5 + v2 * 0.5 + v4; case 'easeinquart': v1 /= v3; return v2 * v1 * v1 * v1 * v1 + v4; case 'easeoutquart': v1 = v1 / v3 - 1; return -v2 * (v1 * v1 * v1 * v1 - 1) + v4; case 'easeinoutquart': v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * v1 * v1 * v1 * v1 + v4; } v1 -= 2; return (-v2 / 2) * (v1 * v1 * v1 * v1 - 2) + v4; case 'easeoutinquart': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutQuart') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInQuart') * 0.5 + v2 * 0.5 + v4; case 'easeinquint': v1 /= v3; return v2 * v1 * v1 * v1 * v1 * v1 + v4; case 'easeoutquint': v1 = v1 / v3 - 1; return v2 * (v1 * v1 * v1 * v1 * v1 + 1) + v4; case 'easeinoutquint': v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * v1 * v1 * v1 * v1 * v1 + v4; } v1 -= 2; return (v2 / 2) * (v1 * v1 * v1 * v1 * v1 + 2) + v4; case 'easeoutinquint': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutQuint') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInQuint') * 0.5 + v2 * 0.5 + v4; case 'easeinsine': return -v2 * Math.cos((v1 / v3) * 1.570796326794897) + v2 + v4; case 'easeoutsine': return v2 * Math.sin((v1 / v3) * 1.570796326794897) + v4; case 'easeinoutsine': return (-v2 / 2) * (Math.cos(Math.PI * v1 / v3) - 1) + v4; case 'easeoutinsine': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutSine') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInSine') * 0.5 + v2 * 0.5 + v4; case 'easeinexpo': return (v1 == 0) ? v4 : v2 * Math.pow(2, 10 * (v1 / v3 - 1)) + v4; case 'easeoutexpo': return (v1 == v3) ? v4 + v2 : v2 * (-Math.pow(2, -10 * v1 / v3) + 1) + v4; case 'easeinoutexpo': if (v1 == 0) { return v4; } if (v1 == v3) { return v4 + v2; } v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * Math.pow(2, 10 * (v1 - 1)) + v4; } return (v2 / 2) * (-Math.pow(2, -10 * --v1) + 2) + v4; case 'easeoutinexpo': if (v1 == 0) { return v4; } if (v1 == v3) { return v4 + v2; } v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * (-Math.pow(2, -10 * v1 / 1) + 1) + v4; } return (v2 / 2) * (Math.pow(2, 10 * (v1 - 2) / 1) + 1) + v4; case 'easeincirc': v1 /= v3; return -v2 * (Math.sqrt(1 - v1 * v1) - 1) + v4; case 'easeoutcirc': v1 = v1 / v3 - 1; return v2 * Math.sqrt(1 - v1 * v1) + v4; case 'easeinoutcirc': v1 /= v3 / 2; if (v1 < 1) { return (-v2 / 2) * (Math.sqrt(1 - v1 * v1) - 1) + v4; } v1 -= 2; return (v2 / 2) * (Math.sqrt(1 - v1 * v1) + 1) + v4; case 'easeoutincirc': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutCirc') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInCirc') * 0.5 + v2 * 0.5 + v4; case 'easeinelastic': if (v1 == 0) { return v4; } v1 /= v3; if (v1 == 1) { return v4 + v2; } if (!v7) { v7 = v3 * 0.3; } if (!v6 || v6 < Math.abs(v2)) { v6 = v2; v5 = v7 / 4; } else { v5 = (v7 / 6.283185307179586) * Math.asin(v2 / v6); } v1 -= 1; return -(v6 * Math.pow(2, 10 * v1) * Math.sin((v1 * v3 - v5) * 6.283185307179586 / v7)) + v4; case 'easeoutelastic': if (v1 == 0) { return v4; } v1 /= v3; if (v1 == 1) { return v4 + v2; } if (!v7) { v7 = v3 * 0.3; } if (!v6 || v6 < Math.abs(v2)) { v6 = v2; v5 = v7 / 4; } else { v5 = (v7 / 6.283185307179586) * Math.asin(v2 / v6); } return v6 * Math.pow(2, -10 * v1) * Math.sin((v1 * v3 - v5) * 6.283185307179586 / v7) + v2 + v4; case 'easeinoutelastic': if (v1 == 0) { return v4; } v1 /= v3 / 2; if (v1 == 2) { return v4 + v2; } if (!v7) { v7 = v3 * 0.45; } if (!v6 || v6 < Math.abs(v2)) { v6 = v2; v5 = v7 / 4; } else { v5 = (v7 / 6.283185307179586) * Math.asin(v2 / v6); } if (v1 < 1) { v1 -= 1; return -0.5 * (v6 * Math.pow(2, 10 * v1) * Math.sin((v1 * v3 - v5) * 6.283185307179586 / v7)) + v4; } v1 -= 1; return v6 * Math.pow(2, -10 * v1) * Math.sin((v1 * v3 - v5) * 6.283185307179586 / v7) * 0.5 + v2 + v4; case 'easeoutinelastic': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutElastic') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInElastic') * 0.5 + v2 * 0.5 + v4; case 'easeinback': if (v5 == undefined) { v5 = 1.70158; } v1 /= v3; return v2 * v1 * v1 * ((v5 + 1) * v1 - v5) + v4; case 'easeoutback': if (v5 == undefined) { v5 = 1.70158; } v1 = v1 / v3 - 1; return v2 * (v1 * v1 * ((v5 + 1) * v1 + v5) + 1) + v4; case 'easeinoutback': if (v5 == undefined) { v5 = 1.70158; } v1 /= v3 / 2; if (v1 < 1) { v5 *= 1.525; return (v2 / 2) * (v1 * v1 * ((v5 + 1) * v1 - v5)) + v4; } v1 -= 2; v5 *= 1.525; return (v2 / 2) * (v1 * v1 * ((v5 + 1) * v1 + v5) + 2) + v4; case 'easeoutinback': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutBack') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInBack') * 0.5 + v2 * 0.5 + v4; case 'easeinbounce': return v2 - findTweenValue(0, v2, 0, v3 - v1, v3, 'easeOutBounce') + v4; case 'easeoutbounce': v1 /= v3; if (v1 < 0.3636363636363637) { return v2 * (7.5625 * v1 * v1) + v4; } else { if (v1 < 0.7272727272727273) { v1 -= 0.5454545454545454; return v2 * (7.5625 * v1 * v1 + 0.75) + v4; } else { if (v1 < 0.9090909090909091) { v1 -= 0.8181818181818182; return v2 * (7.5625 * v1 * v1 + 0.9375) + v4; } else { v1 -= 0.9545454545454546; return v2 * (7.5625 * v1 * v1 + 0.984375) + v4; } } } case 'easeinoutbounce': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeInBounce') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeOutBounce') * 0.5 + v2 * 0.5 + v4; case 'easeoutinbounce': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutBounce') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInBounce') * 0.5 + v2 * 0.5 + v4; } trace('MC TWEEN ### Error on transition: there\'s no "' + _animType + '" animation type.'); return 0; }; ASSetPropFlags(_global, 'findTweenValue', 1, 0); Stage.align = 'TL'; Stage.scaleMode = 'noScale'; _quality = 'BEST'; _root.ringtone.tween('_x', 19, 1, 'easeoutquad'); _root.ringtone.tween('_y', Stage.height / 2 - 300, 1, 'easeoutquad'); bytes_loaded = Math.round(_root.getBytesLoaded()); bytes_total = Math.round(_root.getBytesTotal()); getPercent = bytes_loaded / bytes_total; _root.preloader.loadtext = Math.round(getPercent * 100) + '%'; if (bytes_loaded == bytes_total) { this.gotoAndPlay(3); } } frame 1 { Stage.align = 'TL'; Stage.scaleMode = 'noScale'; picHeight = new Object(); picHeight = pic._height / pic._width; picWidth = new Object(); picWidth = pic._width / pic._height; if (Stage.height / Stage.width < picHeight) { pic._width = Stage.width; pic._height = picHeight * pic._width; } else { pic._height = Stage.height; pic._width = picWidth * pic._height; } pic._x = 0; pic._y = 0; sizeListener = new Object(); sizeListener.onResize = function () { if (Stage.height / Stage.width < picHeight) { pic._width = Stage.width; pic._height = picHeight * pic._width; } else { pic._height = Stage.height; pic._width = picWidth * pic._height; } pic._x = 0; pic._y = 0; }; Stage.addListener(sizeListener); } movieClip 26 { } movieClip 29 { } // unknown tag 88 length 51 movieClip 35 { } movieClip 250 __Packages.mx.transitions.OnEnterFrameBeacon { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.transitions) { _global.mx.transitions = new Object(); } if (!_global.mx.transitions.OnEnterFrameBeacon) { var v1 = function () {}; mx.transitions.OnEnterFrameBeacon = v1; var v2 = v1.prototype; v1.init = function () { var v4 = _global.MovieClip; if (!_root.__OnEnterFrameBeacon) { mx.transitions.BroadcasterMX.initialize(v4); var v3 = _root.createEmptyMovieClip('__OnEnterFrameBeacon', 9876); v3.onEnterFrame = function () { _global.MovieClip.broadcastMessage('onEnterFrame'); }; } }; v1.version = '1.1.0.52'; ASSetPropFlags(mx.transitions.OnEnterFrameBeacon.prototype, null, 1); } #endinitclip } movieClip 251 __Packages.mx.transitions.BroadcasterMX { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.transitions) { _global.mx.transitions = new Object(); } if (!_global.mx.transitions.BroadcasterMX) { var v1 = function () {}; mx.transitions.BroadcasterMX = v1; var v2 = v1.prototype; v1.initialize = function (o, dontCreateArray) { if (o.broadcastMessage != undefined) { delete o.broadcastMessage; } o.addListener = mx.transitions.BroadcasterMX.prototype.addListener; o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener; if (!dontCreateArray) { o._listeners = new Array(); } }; v2.addListener = function (o) { this.removeListener(o); if (this.broadcastMessage == undefined) { this.broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage; } return this._listeners.push(o); }; v2.removeListener = function (o) { var v2 = this._listeners; var v3 = v2.length; while (v3--) { if (v2[v3] == o) { v2.splice(v3, 1); if (!v2.length) { this.broadcastMessage = undefined; } return true; } } return false; }; v2.broadcastMessage = function () { var v5 = String(arguments.shift()); var v4 = this._listeners.concat(); var v6 = v4.length; var v3 = 0; while (v3 < v6) { v4[v3][v5].apply(v4[v3], arguments); ++v3; } }; v1.version = '1.1.0.52'; ASSetPropFlags(mx.transitions.BroadcasterMX.prototype, null, 1); } #endinitclip } movieClip 252 __Packages.mx.transitions.Tween { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.transitions) { _global.mx.transitions = new Object(); } if (!_global.mx.transitions.Tween) { var v1 = function (obj, prop, func, begin, finish, duration, useSeconds) { mx.transitions.OnEnterFrameBeacon.init(); if (!arguments.length) { return undefined; } this.obj = obj; this.prop = prop; this.begin = begin; this.__set__position(begin); this.__set__duration(duration); this.useSeconds = useSeconds; if (func) { this.func = func; } this.__set__finish(finish); this._listeners = []; this.addListener(this); this.start(); }; mx.transitions.Tween = v1; var v2 = v1.prototype; v2.__set__time = function (t) { this.prevTime = this._time; if (t > this.__get__duration()) { if (this.looping) { this.rewind(t - this._duration); this.update(); this.broadcastMessage('onMotionLooped', this); } else { if (this.useSeconds) { this._time = this._duration; this.update(); } this.stop(); this.broadcastMessage('onMotionFinished', this); } } else { if (t < 0) { this.rewind(); this.update(); } else { this._time = t; this.update(); } } return this.__get__time(); }; v2.__get__time = function () { return this._time; }; v2.__set__duration = function (d) { this._duration = (d == null || d <= 0) ? _global.Infinity : d; return this.__get__duration(); }; v2.__get__duration = function () { return this._duration; }; v2.__set__FPS = function (fps) { var v2 = this.isPlaying; this.stopEnterFrame(); this._fps = fps; if (v2) { this.startEnterFrame(); } return this.__get__FPS(); }; v2.__get__FPS = function () { return this._fps; }; v2.__set__position = function (p) { this.setPosition(p); return this.__get__position(); }; v2.setPosition = function (p) { this.prevPos = this._pos; this._pos = p; this.obj[this.prop] = this._pos; this.broadcastMessage('onMotionChanged', this, this._pos); updateAfterEvent(); }; v2.__get__position = function () { return this.getPosition(); }; v2.getPosition = function (t) { if (t == undefined) { t = this._time; } return this.func(t, this.begin, this.change, this._duration); }; v2.__set__finish = function (f) { this.change = f - this.begin; return this.__get__finish(); }; v2.__get__finish = function () { return this.begin + this.change; }; v2.continueTo = function (finish, duration) { this.begin = this.position; this.__set__finish(finish); if (duration != undefined) { this.__set__duration(duration); } this.start(); }; v2.yoyo = function () { this.continueTo(this.begin, this.__get__time()); }; v2.startEnterFrame = function () { if (this._fps == undefined) { _global.MovieClip.addListener(this); } else { this._intervalID = setInterval(this, 'onEnterFrame', 1000 / this._fps); } this.isPlaying = true; }; v2.stopEnterFrame = function () { if (this._fps == undefined) { _global.MovieClip.removeListener(this); } else { clearInterval(this._intervalID); } this.isPlaying = false; }; v2.start = function () { this.rewind(); this.startEnterFrame(); this.broadcastMessage('onMotionStarted', this); }; v2.stop = function () { this.stopEnterFrame(); this.broadcastMessage('onMotionStopped', this); }; v2.resume = function () { this.fixTime(); this.startEnterFrame(); this.broadcastMessage('onMotionResumed', this); }; v2.rewind = function (t) { this._time = (t == undefined) ? 0 : t; this.fixTime(); this.update(); }; v2.fforward = function () { this.__set__time(this._duration); this.fixTime(); }; v2.nextFrame = function () { if (this.useSeconds) { this.__set__time((getTimer() - this._startTime) / 1000); } else { this.__set__time(this._time + 1); } }; v2.onEnterFrame = function () { this.nextFrame(); }; v2.prevFrame = function () { if (!this.useSeconds) { this.__set__time(this._time - 1); } }; v2.toString = function () { return '[Tween]'; }; v2.fixTime = function () { if (this.useSeconds) { this._startTime = getTimer() - this._time * 1000; } }; v2.update = function () { this.__set__position(this.getPosition(this._time)); }; v1.version = '1.1.0.52'; v1.__initBeacon = mx.transitions.OnEnterFrameBeacon.init(); v1.__initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true); v2.func = function (t, b, c, d) { return c * t / d + b; }; v2.addProperty('FPS', v2.__get__FPS, v2.__set__FPS); v2.addProperty('duration', v2.__get__duration, v2.__set__duration); v2.addProperty('finish', v2.__get__finish, v2.__set__finish); v2.addProperty('position', v2.__get__position, v2.__set__position); v2.addProperty('time', v2.__get__time, v2.__set__time); ASSetPropFlags(mx.transitions.Tween.prototype, null, 1); } #endinitclip } movieClip 253 __Packages.mx.transitions.easing.Elastic { #initclip if (!_global.mx) { _global.mx = new Object(); } if (!_global.mx.transitions) { _global.mx.transitions = new Object(); } if (!_global.mx.transitions.easing) { _global.mx.transitions.easing = new Object(); } if (!_global.mx.transitions.easing.Elastic) { var v1 = function () {}; mx.transitions.easing.Elastic = v1; var v2 = v1.prototype; v1.easeIn = function (t, b, c, d, a, p) { if (t == 0) { return b; } t /= d; if (t == 1) { return b + c; } if (!p) { p = d * 0.3; } if (!a || a < Math.abs(c)) { a = c; var v7 = p / 4; t -= 1; return -(a * Math.pow(2, 10 * t) * Math.sin((t * d - v7) * 6.283185307179586 / p)) + b; } v7 = (p / 6.283185307179586) * Math.asin(c / a); t -= 1; return -(a * Math.pow(2, 10 * t) * Math.sin((t * d - v7) * 6.283185307179586 / p)) + b; }; v1.easeOut = function (t, b, c, d, a, p) { if (t == 0) { return b; } t /= d; if (t == 1) { return b + c; } if (!p) { p = d * 0.3; } if (!a || a < Math.abs(c)) { a = c; var v7 = p / 4; return a * Math.pow(2, -10 * t) * Math.sin((t * d - v7) * 6.283185307179586 / p) + c + b; } v7 = (p / 6.283185307179586) * Math.asin(c / a); return a * Math.pow(2, -10 * t) * Math.sin((t * d - v7) * 6.283185307179586 / p) + c + b; }; v1.easeInOut = function (t, b, c, d, a, p) { if (t == 0) { return b; } t /= d / 2; if (t == 2) { return b + c; } if (!p) { p = d * 0.45; } if (!a || a < Math.abs(c)) { a = c; var v7 = p / 4; } else { var v7 = (p / 6.283185307179586) * Math.asin(c / a); } if (t < 1) { t -= 1; return -0.5 * (a * Math.pow(2, 10 * t) * Math.sin((t * d - v7) * 6.283185307179586 / p)) + b; } t -= 1; return a * Math.pow(2, -10 * t) * Math.sin((t * d - v7) * 6.283185307179586 / p) * 0.5 + c + b; }; v1.version = '1.1.0.52'; ASSetPropFlags(mx.transitions.easing.Elastic.prototype, null, 1); } #endinitclip } frame 2 { this.gotoAndPlay(1); _root.back_scale.height = Stage.height; _root.back_scale.width = Stage.width; } frame 3 { _root.pussy.tween('_x', Stage.width / 2 + 160, 1, 'easeoutquad'); _root.pussy.tween('_y', Stage.height / 2, 1, 'easeoutquad'); _root.pussy_shad.tween('_x', 608, 1, 'easeoutquad'); _root.pussy_shad.tween('_y', Stage.height / 2 + 220, 1, 'easeoutquad'); _root.frame_mc.tween('_x', Stage.width / 2 - 300, 1, 'easeoutquad'); _root.frame_mc.tween('_y', Stage.height / 2 - 280, 1, 'easeoutquad'); _root.typo_mc.tween('_x', Stage.width / 2 + 60, 1, 'easeoutquad'); _root.typo_mc.tween('_y', Stage.height / 2 - 360, 1, 'easeoutquad'); _root.soundcontrol_mc.tween('_x', Stage.width / 2 - 232, 1, 'easeoutquad'); _root.soundcontrol_mc.tween('_y', Stage.height / 2 - 210, 1, 'easeoutquad'); _root.ringtone.tween('_x', 19, 1, 'easeoutquad'); _root.ringtone.tween('_y', Stage.height / 2 - 300, 1, 'easeoutquad'); _root.diamond_mc.tween('_x', Stage.width / 2 - 400, 1, 'easeoutquad'); _root.diamond_mc.tween('_y', Stage.height / 2 - 420, 1, 'easeoutquad'); _root.boden.tween('_x', 0, 1, 'easeoutquad'); _root.boden.tween('_y', Stage.height / 2, 1, 'easeoutquad'); _root.background_mc.tween('_x', Stage.width / 2 - 300, 1, 'easeoutquad'); _root.background_mc.tween('_y', Stage.height - 850, 1, 'easeoutquad'); _root.fansites_mc.tween('_x', 0, 1, 'easeoutquad'); _root.fansites_mc.tween('_y', Stage.height - 40, 1, 'easeoutquad'); _global.setStage = function () { stageobject = new Object(); stageobject.onResize = function () { _root.pussy.tween('_x', Stage.width / 2 + 170, 1, 'easeoutquad'); _root.pussy.tween('_y', Stage.height / 2, 1, 'easeoutquad'); _root.pussy_shad.tween('_x', 608, 1, 'easeoutquad'); _root.pussy_shad.tween('_y', Stage.height / 2 + 220, 1, 'easeoutquad'); _root.frame_mc.tween('_x', Stage.width / 2 - 300, 1, 'easeoutquad'); _root.frame_mc.tween('_y', Stage.height / 2 - 280, 1, 'easeoutquad'); _root.typo_mc.tween('_x', Stage.width / 2 + 60, 1, 'easeoutquad'); _root.typo_mc.tween('_y', Stage.height / 2 - 360, 1, 'easeoutquad'); _root.soundcontrol_mc.tween('_x', Stage.width / 2 - 232, 1, 'easeoutquad'); _root.soundcontrol_mc.tween('_y', Stage.height / 2 - 210, 1, 'easeoutquad'); _root.ringtone.tween('_x', 19, 1, 'easeoutquad'); _root.ringtone.tween('_y', Stage.height / 2 - 300, 1, 'easeoutquad'); _root.diamond_mc.tween('_x', Stage.width / 2 - 400, 1, 'easeoutquad'); _root.diamond_mc.tween('_y', Stage.height / 2 - 420, 1, 'easeoutquad'); _root.boden.tween('_x', Stage.width / 2, 1, 'easeoutquad'); _root.boden.tween('_y', Stage.height, 1, 'easeoutquad'); _root.background_mc.tween('_x', Stage.width / 2 - 300, 1, 'easeoutquad'); _root.background_mc.tween('_y', Stage.height - 850, 1, 'easeoutquad'); _root.fansites_mc.tween('_x', 0, 1, 'easeoutquad'); _root.fansites_mc.tween('_y', Stage.height - 40, 1, 'easeoutquad'); }; Stage.addListener(stageobject); stageobject.onResize(); }; setStage(); } frame 3 { loadMovie('pussy_01.swf', _root.pussy.container_pussy); _root.back_scale.height = Stage.height; _root.back_scale.width = Stage.width; stop(); } frame 3 { var xlogo = Stage.width / 2 + 200; var ylogo = Stage.height / 2; _root.pussy._x = xlogo; _root.pussy._y = ylogo; _root.pussy.pussy_area.onPress = function () { _root.pussy.startDrag(); }; _root.pussy.pussy_area.onRelease = function () { _root.pussy.stopDrag(); _root.pussy.pussy_area.enabled = false; new mx.transitions.Tween(_root.pussy, '_xscale', mx.transitions.easing.Elastic.easeOut, _root.pussy._xscale, 100, 1, true); new mx.transitions.Tween(_root.pussy, '_yscale', mx.transitions.easing.Elastic.easeOut, _root.pussy._yscale, 100, 1, true); var v2 = new mx.transitions.Tween(_root.pussy, '_x', mx.transitions.easing.Elastic.easeOut, Stage.height / 2, xlogo, 2, true); new mx.transitions.Tween(_root.pussy, '_y', mx.transitions.easing.Elastic.easeOut, _root.pussy._y, ylogo, 2, true); v2.onMotionFinished = function () { _root.pussy.pussy_area.enabled = true; }; }; _root.pussy.pussy_area.onReleaseOutside = function () { _root.pussy.stopDrag(); _root.pussy.pussy_area.enabled = false; new mx.transitions.Tween(_root.pussy, '_xscale', mx.transitions.easing.Elastic.easeOut, _root.pussy._xscale, 100, 1, true); new mx.transitions.Tween(_root.pussy, '_yscale', mx.transitions.easing.Elastic.easeOut, _root.pussy._yscale, 100, 1, true); var v2 = new mx.transitions.Tween(_root.pussy, '_x', mx.transitions.easing.Elastic.easeOut, _root.pussy._x, xlogo, 2, true); new mx.transitions.Tween(_root.pussy, '_y', mx.transitions.easing.Elastic.easeOut, _root.pussy._y, ylogo, 2, true); v2.onMotionFinished = function () { _root.pussy.pussy_area.enabled = true; }; }; } frame 3 { } movieClip 37 { } movieClip 38 { } movieClip 40 { } movieClip 41 { } movieClip 42 { } movieClip 43 { } movieClip 44 { } movieClip 45 { } movieClip 46 { } movieClip 47 { frame 335 { this.gotoAndPlay(58); } } movieClip 50 { } movieClip 51 { } movieClip 52 { } movieClip 53 { frame 1 { this.wolke1.onRelease = function () { _global.$createTweenController = function () { var v3 = _root.createEmptyMovieClip('__tweenController__', 123432); v3.$_tweenPropList = new Array(); v3.$_tTime = getTimer(); v3.onEnterFrame = _global.$updateTweens; }; ASSetPropFlags(_global, '$createTweenController', 1, 0); _global.$removeTweenController = function () { delete _root.__tweenController__.$_tweenPropList; delete _root.__tweenController__.$_tTime; delete _root.__tweenController__.onEnterFrame; _root.__tweenController__.removeMovieClip(); }; ASSetPropFlags(_global, '$removeTweenController', 1, 0); _global.$addTween = function (mtarget, prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2, extras) { if (timeSeconds == undefined) { timeSeconds = 0; } if (animType == undefined || animType == '') { animType = 'easeOutExpo'; } if (delay == undefined) { delay = 0; } if (typeof prop == 'string') { var v7 = [prop]; var v11 = [mtarget[prop]]; var v9 = [propDest]; } else { var v7 = []; var v11 = []; var v9 = []; for (var v32 in prop) { v11.push(mtarget[prop[v32]]); } for (v32 in prop) { v7.push(prop[v32]); } for (v32 in propDest) { v9.push(propDest[v32]); } } var v12 = false; if (_root.__tweenController__ == undefined) { _global.$createTweenController(); } var v4 = _root.__tweenController__.$_tweenPropList; var v8 = _root.__tweenController__.$_tTime; for (v32 in v11) { if (v9[v32] != undefined && !mtarget.$_isTweenLocked) { if (mtarget.$_tweenCount > 0) { var v3 = 0; while (v3 < v4.length) { if (v4[v3]._targ == mtarget && v4[v3]._prop == v7[v32]) { if (v8 + delay * 1000 < v4[v3]._timeDest) { v4.splice(v3, 1); --v3; --mtarget.$_tweenCount; } } ++v3; } } v4.push({'_prop': v7[v32], '_targ': mtarget, '_propStart': undefined, '_propDest': v9[v32], '_timeStart': v8, '_timeDest': v8 + timeSeconds * 1000, '_animType': animType, '_extra1': extra1, '_extra2': extra2, '_extras': extras, '_delay': delay, '_isPaused': false, '_timePaused': 0, '_callback': v12 ? undefined : callback}); mtarget.$_tweenCount = mtarget.$_tweenCount > 0 ? mtarget.$_tweenCount + 1 : 1; v12 = true; } } ASSetPropFlags(mtarget, '$_tweenCount', 1, 0); }; ASSetPropFlags(_global, '$addTween', 1, 0); _global.$updateTweens = function () { this.$_tTime = getTimer(); var v8 = this.$_tTime; var v6 = 0; while (v6 < this.$_tweenPropList.length) { var v3 = this.$_tweenPropList[v6]; if (v3._targ.toString() == undefined) { this.$_tweenPropList.splice(v6, 1); --v6; } else { if (v3._timeStart + v3._delay * 1000 <= v8 && !v3._isPaused) { if (v3._propStart == undefined) { if (v3._prop.substr(0, 10) == '__special_') { if (v3._prop == '__special_mc_frame__') { v3._propStart = v3._targ._currentframe; } else { if (v3._prop == '__special_mc_ra__') { v3._propStart = ((new Color(v3._targ)).getTransform()).ra; } else { if (v3._prop == '__special_mc_rb__') { v3._propStart = ((new Color(v3._targ)).getTransform()).rb; } else { if (v3._prop == '__special_mc_ga__') { v3._propStart = ((new Color(v3._targ)).getTransform()).ga; } else { if (v3._prop == '__special_mc_gb__') { v3._propStart = ((new Color(v3._targ)).getTransform()).gb; } else { if (v3._prop == '__special_mc_ba__') { v3._propStart = ((new Color(v3._targ)).getTransform()).ba; } else { if (v3._prop == '__special_mc_bb__') { v3._propStart = ((new Color(v3._targ)).getTransform()).bb; } else { if (v3._prop == '__special_mc_aa__') { v3._propStart = ((new Color(v3._targ)).getTransform()).aa; } else { if (v3._prop == '__special_mc_ab__') { v3._propStart = ((new Color(v3._targ)).getTransform()).ab; } else { if (v3._prop == '__special_text_r__') { v3._propStart = v3._targ.textColor >> 16; } else { if (v3._prop == '__special_text_g__') { v3._propStart = (v3._targ.textColor & 65280) >> 8; } else { if (v3._prop == '__special_text_b__') { v3._propStart = v3._targ.textColor & 255; } else { if (v3._prop == '__special_sound_volume__') { v3._propStart = v3._targ.getVolume(); } else { if (v3._prop == '__special_sound_pan__') { v3._propStart = v3._targ.getPan(); } else { if (v3._prop == '__special_bst_t__') { v3._propStart = 0; v3._extras.__special_bst_ix__ = v3._targ._x; v3._extras.__special_bst_iy__ = v3._targ._y; } else { if (v3._prop == '__special_blur_x__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BlurFilter) { v3._propStart = v3._targ.filters[v5].blurX; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_blur_y__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BlurFilter) { v3._propStart = v3._targ.filters[v5].blurY; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_glow_color__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].color; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 16777215; } } else { if (v3._prop == '__special_glow_alpha__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].alpha; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { if (v3._prop == '__special_glow_blurX__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].blurX; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_glow_blurY__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].blurY; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_glow_strength__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].strength; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { if (v3._prop == '__special_bevel_distance__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].distance; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_bevel_angle__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].angle; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 45; } } else { if (v3._prop == '__special_bevel_highlightColor__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].highlightColor; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 16777215; } } else { if (v3._prop == '__special_bevel_highlightAlpha__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].highlightAlpha; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { if (v3._prop == '__special_bevel_shadowColor__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].shadowColor; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_bevel_shadowAlpha__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].shadowAlpha; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { if (v3._prop == '__special_bevel_blurX__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].blurX; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_bevel_blurY__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].blurY; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_bevel_strength__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].strength; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { v3._propStart = v3._targ[v3._prop]; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } else { v3._propStart = v3._targ[v3._prop]; } } var v10 = v3._timeDest + v3._delay * 1000; if (v10 <= v8) { var v4 = v3._propDest; } else { var v4 = _global.findTweenValue(v3._propStart, v3._propDest, v3._timeStart, v8 - v3._delay * 1000, v3._timeDest, v3._animType, v3._extra1, v3._extra2); } v3._targ[v3._prop] = v3._extras.mustRound ? Math.round(v4) : v4; if (v3._prop == '__special_mc_frame__') { v3._targ.gotoAndStop(Math.round(v4)); } else { if (v3._prop == '__special_mc_ra__') { (new Color(v3._targ)).setTransform({'ra': v4}); } else { if (v3._prop == '__special_mc_rb__') { (new Color(v3._targ)).setTransform({'rb': v4}); } else { if (v3._prop == '__special_mc_ga__') { (new Color(v3._targ)).setTransform({'ga': v4}); } else { if (v3._prop == '__special_mc_gb__') { (new Color(v3._targ)).setTransform({'gb': v4}); } else { if (v3._prop == '__special_mc_ba__') { (new Color(v3._targ)).setTransform({'ba': v4}); } else { if (v3._prop == '__special_mc_bb__') { (new Color(v3._targ)).setTransform({'bb': v4}); } else { if (v3._prop == '__special_mc_aa__') { (new Color(v3._targ)).setTransform({'aa': v4}); } else { if (v3._prop == '__special_mc_ab__') { (new Color(v3._targ)).setTransform({'ab': v4}); } } } } } } } } } if (v3._prop == '__special_bst_t__') { var v7 = v3._extras; var v9 = _global.findPointOnCurve(v7.__special_bst_ix__, v7.__special_bst_iy__, v7.__special_bst_cx__, v7.__special_bst_cy__, v7.__special_bst_dx__, v7.__special_bst_dy__, v4); if (v3._extras.mustRound) { v3._targ._x = Math.round(v9.x); v3._targ._y = Math.round(v9.y); } else { v3._targ._x = v9.x; v3._targ._y = v9.y; } } if (typeof v3._targ != 'movieclip' && v3._prop == '__special_text_b__') { v3._targ.textColor = (v3._targ.__special_text_r__ << 16) + (v3._targ.__special_text_g__ << 8) + v3._targ.__special_text_b__; } if (v3._prop == '__special_sound_volume__') { v3._targ.setVolume(v4); } if (v3._prop == '__special_sound_pan__') { v3._targ.setPan(v4); } if (v3._prop == '__special_blur_x__') { _global.$setFilterProperty(v3._targ, 'blur_blurX', v4, v3._extras); } if (v3._prop == '__special_blur_y__') { _global.$setFilterProperty(v3._targ, 'blur_blurY', v4, v3._extras); } if (v3._prop == '__special_glow_color__') { _global.$setFilterProperty(v3._targ, 'glow_color', _global.findTweenColor(v3, v8), v3._extras); } if (v3._prop == '__special_glow_alpha__') { _global.$setFilterProperty(v3._targ, 'glow_alpha', v4, v3._extras); } if (v3._prop == '__special_glow_blurX__') { _global.$setFilterProperty(v3._targ, 'glow_blurX', v4, v3._extras); } if (v3._prop == '__special_glow_blurY__') { _global.$setFilterProperty(v3._targ, 'glow_blurY', v4, v3._extras); } if (v3._prop == '__special_glow_strength__') { _global.$setFilterProperty(v3._targ, 'glow_strength', v4, v3._extras); } if (v3._prop == '__special_bevel_distance__') { _global.$setFilterProperty(v3._targ, 'bevel_distance', v4, v3._extras); } if (v3._prop == '__special_bevel_angle__') { _global.$setFilterProperty(v3._targ, 'bevel_angle', v4, v3._extras); } if (v3._prop == '__special_bevel_highlightColor__') { _global.$setFilterProperty(v3._targ, 'bevel_highlightColor', _global.findTweenColor(v3, v8), v3._extras); } if (v3._prop == '__special_bevel_highlightAlpha__') { _global.$setFilterProperty(v3._targ, 'bevel_highlightAlpha', v4, v3._extras); } if (v3._prop == '__special_bevel_shadowColor__') { _global.$setFilterProperty(v3._targ, 'bevel_shadowColor', _global.findTweenColor(v3, v8), v3._extras); } if (v3._prop == '__special_bevel_shadowAlpha__') { _global.$setFilterProperty(v3._targ, 'bevel_shadowAlpha', v4, v3._extras); } if (v3._prop == '__special_bevel_blurX__') { _global.$setFilterProperty(v3._targ, 'bevel_blurX', v4, v3._extras); } if (v3._prop == '__special_bevel_blurY__') { _global.$setFilterProperty(v3._targ, 'bevel_blurY', v4, v3._extras); } if (v3._prop == '__special_bevel_strength__') { _global.$setFilterProperty(v3._targ, 'bevel_strength', v4, v3._extras); } if (v3._targ.onTweenUpdate != undefined) { v3._targ.onTweenUpdate(v3._prop); } if (v10 <= v8) { if (v3._targ.onTweenComplete != undefined) { v3._targ.onTweenComplete(v3._prop); } _global.$stopTween(v3._targ, [v3._prop], false); --v6; if (v3._callback != undefined) { if (_global.backwardCallbackTweening) { var v11 = v3._targ.createEmptyMovieClip('__child__', 122344); v3._callback.apply(v11, null); v11.removeMovieClip(); } else { v3._callback.apply(v3._targ, null); } } } } } ++v6; } if (this.$_tweenPropList.length == 0) { _global.$removeTweenController(); } }; ASSetPropFlags(_global, '$updateTween', 1, 0); _global.$stopTween = function (mtarget, props, wipeFuture) { var v4 = _root.__tweenController__.$_tweenPropList; var v7; for (var v9 in v4) { v7 = v4[v9]._prop; var v5 = 0; for (;;) { if (!(v5 < props.length || v5 < 1 && props == undefined)) break; if (v4[v9]._targ == mtarget && (v7 == props[v5] || props == undefined) && (wipeFuture || v4[v9]._timeDest + v4[v9]._delay * 1000 <= getTimer())) { switch (v7) { case '__special_mc_frame__': case '__special_mc_ra__': case '__special_mc_rb__': case '__special_mc_ga__': case '__special_mc_gb__': case '__special_mc_ba__': case '__special_mc_bb__': case '__special_mc_aa__': case '__special_mc_ab__': case '__special_sound_volume__': case '__special_bst_t__': delete mtarget[v7]; break; case '__special_text_b__': delete mtarget.__special_text_r__; delete mtarget.__special_text_g__; delete mtarget.__special_text_b__; } v4.splice(v9, 1); } ++v5; } } if (props == undefined) { delete mtarget.$_tweenCount; } else { mtarget.$_tweenCount = 0; for (v9 in v4) { if (v4[v9]._targ == mtarget) { ++mtarget.$_tweenCount; } } if (mtarget.$_tweenCount == 0) { delete mtarget.$_tweenCount; } } if (v4.length == 0) { _global.$removeTweenController(); } }; ASSetPropFlags(_global, '$stopTween', 1, 0); _global.$setFilterProperty = function (mtarget, propName, propValue, extras) { var v1; var v7 = false; var v3 = []; v1 = 0; while (v1 < mtarget.filters.length) { v3.push(mtarget.filters[v1]); ++v1; } if (propName.substr(0, 5) == 'blur_') { v1 = 0; while (v1 < mtarget.filters.length) { if (v3[v1] instanceof flash.filters.BlurFilter) { v3[v1][propName.substr(5)] = propValue; if (extras.__special_blur_quality__ != undefined) { v3[v1].quality = extras.__special_blur_quality__; } v7 = true; break; } ++v1; } if (!v7) { var v9; var v8 = (extras.__special_blur_quality__ == undefined) ? 2 : extras.__special_blur_quality__; if (propName == 'blur_blurX') { v9 = new flash.filters.BlurFilter(propValue, 0, v8); } if (propName == 'blur_blurY') { v9 = new flash.filters.BlurFilter(0, propValue, v8); } v3.push(v9); } } else { if (propName.substr(0, 5) == 'glow_') { v1 = 0; while (v1 < mtarget.filters.length) { if (v3[v1] instanceof flash.filters.GlowFilter) { v3[v1][propName.substr(5)] = propValue; if (extras.__special_glow_quality__ != undefined) { v3[v1].quality = extras.__special_glow_quality__; } if (extras.__special_glow_inner__ != undefined) { v3[v1].inner = extras.__special_glow_inner__; } if (extras.__special_glow_knockout__ != undefined) { v3[v1].knockout = extras.__special_glow_knockout__; } v7 = true; break; } ++v1; } if (!v7) { var v8 = (extras.__special_glow_quality__ == undefined) ? 2 : extras.__special_glow_quality__; var v12 = (extras.__special_glow_inner__ == undefined) ? false : extras.__special_glow_inner__; var v10 = (extras.__special_glow_knockout__ == undefined) ? false : extras.__special_glow_knockout__; if (propName == 'glow_color') { var v9 = new flash.filters.GlowFilter(propValue, 1, 0, 0, 1, v8, v12, v10); } if (propName == 'glow_alpha') { v9 = new flash.filters.GlowFilter(16777215, propValue, 0, 0, 1, v8, v12, v10); } if (propName == 'glow_blurX') { v9 = new flash.filters.GlowFilter(16777215, 1, propValue, 0, 1, v8, v12, v10); } if (propName == 'glow_blurY') { v9 = new flash.filters.GlowFilter(16777215, 1, 0, propValue, 1, v8, v12, v10); } if (propName == 'glow_strength') { v9 = new flash.filters.GlowFilter(16777215, 1, 0, 0, propValue, v8, v12, v10); } v3.push(v9); } } else { if (propName.substr(0, 6) == 'bevel_') { v1 = 0; while (v1 < mtarget.filters.length) { if (v3[v1] instanceof flash.filters.BevelFilter) { v3[v1][propName.substr(6)] = propValue; if (extras.__special_bevel_quality__ != undefined) { v3[v1].quality = extras.__special_bevel_quality__; } if (extras.__special_bevel_type__ != undefined) { v3[v1].inner = extras.__special_bevel_type__; } if (extras.__special_bevel_knockout__ != undefined) { v3[v1].knockout = extras.__special_bevel_knockout__; } v7 = true; break; } ++v1; } if (!v7) { var v8 = (extras.__special_bevel_quality__ == undefined) ? 2 : extras.__special_bevel_quality__; var v11 = (extras.__special_bevel_type__ == undefined) ? 'inner' : extras.__special_bevel_type__; var v10 = (extras.__special_bevel_knockout__ == undefined) ? false : extras.__special_bevel_knockout__; if (propName == 'bevel_distance') { var v9 = new flash.filters.BevelFilter(propValue, 45, 16777215, 1, 0, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_angle') { v9 = new flash.filters.BevelFilter(0, propValue, 16777215, 1, 0, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_highlightColor') { v9 = new flash.filters.BevelFilter(0, 45, propValue, 1, 0, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_highlightAlpha') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, propValue, 0, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_shadowColor') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, propValue, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_shadowAlpha') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, propValue, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_blurX') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, 1, propValue, 0, 1, v8, v11, v10); } if (propName == 'bevel_blurY') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, 1, 0, propValue, 1, v8, v11, v10); } if (propName == 'bevel_strength') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, 1, 0, 0, propValue, v8, v11, v10); } v3.push(v9); } } else { return undefined; } } } mtarget.filters = v3; }; Sound.prototype.tween = function (prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2); }; TextField.prototype.tween = Sound.prototype.tween; MovieClip.prototype.tween = Sound.prototype.tween; ASSetPropFlags(MovieClip.prototype, 'tween', 1, 0); ASSetPropFlags(TextField.prototype, 'tween', 1, 0); ASSetPropFlags(Sound.prototype, 'tween', 1, 0); Sound.prototype.roundedTween = function (prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2, {'mustRound': true}); }; TextField.prototype.roundedTween = Sound.prototype.roundedTween; MovieClip.prototype.roundedTween = Sound.prototype.roundedTween; ASSetPropFlags(MovieClip.prototype, 'roundedTween', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedTween', 1, 0); ASSetPropFlags(Sound.prototype, 'roundedTween', 1, 0); Sound.prototype.stopTween = function (props) { if (typeof props == 'string') { props = [props]; } if (props != undefined) { var v4 = 1; while (v4 < arguments.length) { props.push(arguments[v4]); ++v4; } } _global.$stopTween(this, props, true); }; TextField.prototype.stopTween = Sound.prototype.stopTween; MovieClip.prototype.stopTween = Sound.prototype.stopTween; ASSetPropFlags(MovieClip.prototype, 'stopTween', 1, 0); ASSetPropFlags(TextField.prototype, 'stopTween', 1, 0); ASSetPropFlags(Sound.prototype, 'stopTween', 1, 0); Sound.prototype.pauseTween = function (props) { if (props != undefined) { if (typeof props == 'string') { props = [props]; } var v6 = 1; while (v6 < Arguments.length) { props.push(Arguments[v6]); ++v6; } } var v4 = _root.__tweenController__.$_tweenPropList; var v5; for (var v7 in v4) { if (v4[v7]._targ == this && !v4[v7]._isPaused) { if (props != undefined) { v5 = false; for (v6 in props) { if (props[v6] == v4[v7]._prop) { v5 = true; break; } } } if (props == undefined || v5) { v4[v7]._isPaused = true; v4[v7]._timePaused = _root.__tweenController__.$_tTime; } } } }; TextField.prototype.pauseTween = Sound.prototype.pauseTween; MovieClip.prototype.pauseTween = Sound.prototype.pauseTween; ASSetPropFlags(MovieClip.prototype, 'pauseTween', 1, 0); ASSetPropFlags(TextField.prototype, 'pauseTween', 1, 0); ASSetPropFlags(Sound.prototype, 'pauseTween', 1, 0); Sound.prototype.resumeTween = function (props) { if (props != undefined) { if (typeof props == 'string') { props = [props]; } var v7 = 1; while (v7 < Arguments.length) { props.push(Arguments[v7]); ++v7; } } var v3 = _root.__tweenController__.$_tweenPropList; var v5; var v6; for (var v8 in v3) { if (v3[v8]._targ == this && v3[v8]._isPaused) { if (props != undefined) { v5 = false; for (v7 in props) { if (props[v7] == v3[v8]._prop) { v5 = true; break; } } } if (props == undefined || v5) { v3[v8]._isPaused = false; v6 = _root.__tweenController__.$_tTime - v3[v8]._timePaused; v3[v8]._timeStart += v6; v3[v8]._timeDest += v6; v3[v8]._timePaused = 0; } } } }; TextField.prototype.resumeTween = Sound.prototype.resumeTween; MovieClip.prototype.resumeTween = Sound.prototype.resumeTween; ASSetPropFlags(MovieClip.prototype, 'resumeTween', 1, 0); ASSetPropFlags(TextField.prototype, 'resumeTween', 1, 0); ASSetPropFlags(Sound.prototype, 'resumeTween', 1, 0); Sound.prototype.lockTween = function () { this.$_isTweenLocked = true; ASSetPropFlags(this, 'this.$_isTweenLocked', 1, 0); }; TextField.prototype.lockTween = Sound.prototype.lockTween; MovieClip.prototype.lockTween = Sound.prototype.lockTween; ASSetPropFlags(MovieClip.prototype, 'lockTween', 1, 0); ASSetPropFlags(TextField.prototype, 'lockTween', 1, 0); ASSetPropFlags(Sound.prototype, 'lockTween', 1, 0); Sound.prototype.unlockTween = function () { delete this.$_isTweenLocked; }; TextField.prototype.unlockTween = Sound.prototype.unlockTween; MovieClip.prototype.unlockTween = Sound.prototype.unlockTween; ASSetPropFlags(MovieClip.prototype, 'unlockTween', 1, 0); ASSetPropFlags(TextField.prototype, 'unlockTween', 1, 0); ASSetPropFlags(Sound.prototype, 'unlockTween', 1, 0); Sound.prototype.getTweens = function () { return this.$_tweenCount; }; TextField.prototype.getTweens = Sound.prototype.getTweens; MovieClip.prototype.getTweens = Sound.prototype.getTweens; ASSetPropFlags(MovieClip.prototype, 'getTweens', 1, 0); ASSetPropFlags(TextField.prototype, 'getTweens', 1, 0); ASSetPropFlags(Sound.prototype, 'getTweens', 1, 0); Sound.prototype.isTweening = function () { return this.$_tweenCount > 0 ? true : false; }; TextField.prototype.isTweening = Sound.prototype.isTweening; MovieClip.prototype.isTweening = Sound.prototype.isTweening; ASSetPropFlags(MovieClip.prototype, 'isTweening', 1, 0); ASSetPropFlags(TextField.prototype, 'isTweening', 1, 0); ASSetPropFlags(Sound.prototype, 'isTweening', 1, 0); TextField.prototype.alphaTo = function (propDest_a, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_alpha', propDest_a, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.alphaTo = TextField.prototype.alphaTo; ASSetPropFlags(MovieClip.prototype, 'alphaTo', 1, 0); ASSetPropFlags(TextField.prototype, 'alphaTo', 1, 0); MovieClip.prototype.frameTo = function (propDest_frame, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_mc_frame__', propDest_frame, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(MovieClip.prototype, 'frameTo', 1, 0); TextField.prototype.resizeTo = function (propDest_width, propDest_height, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['_width', '_height'], [propDest_width, propDest_height], timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.resizeTo = TextField.prototype.resizeTo; ASSetPropFlags(MovieClip.prototype, 'resizeTo', 1, 0); ASSetPropFlags(TextField.prototype, 'resizeTo', 1, 0); TextField.prototype.rotateTo = function (propDest_rotation, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_rotation', propDest_rotation, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.rotateTo = TextField.prototype.rotateTo; ASSetPropFlags(MovieClip.prototype, 'rotateTo', 1, 0); ASSetPropFlags(TextField.prototype, 'rotateTo', 1, 0); TextField.prototype.scaleTo = function (propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['_xscale', '_yscale'], [propDest_scale, propDest_scale], timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.scaleTo = TextField.prototype.scaleTo; ASSetPropFlags(MovieClip.prototype, 'scaleTo', 1, 0); ASSetPropFlags(TextField.prototype, 'scaleTo', 1, 0); TextField.prototype.xScaleTo = function (propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_xscale', propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.xScaleTo = TextField.prototype.xScaleTo; ASSetPropFlags(MovieClip.prototype, 'xScaleTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xScaleTo', 1, 0); TextField.prototype.yScaleTo = function (propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_yscale', propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.yScaleTo = TextField.prototype.yScaleTo; ASSetPropFlags(MovieClip.prototype, 'yScaleTo', 1, 0); ASSetPropFlags(TextField.prototype, 'yScaleTo', 1, 0); TextField.prototype.scrollTo = function (propDest_scroll, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, 'scroll', propDest_scroll, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(TextField.prototype, 'scrollTo', 1, 0); TextField.prototype.slideTo = function (propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['_x', '_y'], [propDest_x, propDest_y], timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.slideTo = TextField.prototype.slideTo; ASSetPropFlags(MovieClip.prototype, 'slideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'slideTo', 1, 0); TextField.prototype.roundedSlideTo = function (propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['_x', '_y'], [propDest_x, propDest_y], timeSeconds, animType, delay, callback, extra1, extra2, {'mustRound': true}); }; MovieClip.prototype.roundedSlideTo = TextField.prototype.roundedSlideTo; ASSetPropFlags(MovieClip.prototype, 'roundedSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedSlideTo', 1, 0); TextField.prototype.xSlideTo = function (propDest_x, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_x', propDest_x, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.xSlideTo = TextField.prototype.xSlideTo; ASSetPropFlags(MovieClip.prototype, 'xSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xSlideTo', 1, 0); TextField.prototype.roundedXSlideTo = function (propDest_x, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_x', propDest_x, timeSeconds, animType, delay, callback, extra1, extra2, {'mustRound': true}); }; MovieClip.prototype.roundedXSlideTo = TextField.prototype.roundedXSlideTo; ASSetPropFlags(MovieClip.prototype, 'roundedXSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedXSlideTo', 1, 0); TextField.prototype.ySlideTo = function (propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_y', propDest_y, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.ySlideTo = TextField.prototype.ySlideTo; ASSetPropFlags(MovieClip.prototype, 'ySlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'ySlideTo', 1, 0); TextField.prototype.roundedYSlideTo = function (propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_y', propDest_y, timeSeconds, animType, delay, callback, extra1, extra2, {'mustRound': true}); }; MovieClip.prototype.roundedYSlideTo = TextField.prototype.roundedYSlideTo; ASSetPropFlags(MovieClip.prototype, 'roundedYSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedYSlideTo', 1, 0); TextField.prototype.bezierSlideTo = function (cpoint_x, cpoint_y, propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { var v3 = new Object(); v3.__special_bst_ix__ = undefined; v3.__special_bst_iy__ = undefined; v3.__special_bst_cx__ = cpoint_x; v3.__special_bst_cy__ = cpoint_y; v3.__special_bst_dx__ = propDest_x; v3.__special_bst_dy__ = propDest_y; _global.$addTween(this, '__special_bst_t__', 1, timeSeconds, animType, delay, callback, extra1, extra2, v3); }; MovieClip.prototype.bezierSlideTo = TextField.prototype.bezierSlideTo; ASSetPropFlags(MovieClip.prototype, 'bezierSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'bezierSlideTo', 1, 0); TextField.prototype.roundedBezierSlideTo = function (cpoint_x, cpoint_y, propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { var v3 = new Object(); v3.__special_bst_ix__ = undefined; v3.__special_bst_iy__ = undefined; v3.__special_bst_cx__ = cpoint_x; v3.__special_bst_cy__ = cpoint_y; v3.__special_bst_dx__ = propDest_x; v3.__special_bst_dy__ = propDest_y; v3.mustRound = true; _global.$addTween(this, '__special_bst_t__', 1, timeSeconds, animType, delay, callback, extra1, extra2, v3); }; MovieClip.prototype.roundedBezierSlideTo = TextField.prototype.roundedBezierSlideTo; ASSetPropFlags(MovieClip.prototype, 'roundedBezierSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedBezierSlideTo', 1, 0); Sound.prototype.volumeTo = function (propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_sound_volume__', propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(Sound.prototype, 'volumeTo', 1, 0); Sound.prototype.panTo = function (propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_sound_pan__', propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(Sound.prototype, 'panTo', 1, 0); MovieClip.prototype.colorTo = function (propDest_color, timeSeconds, animType, delay, callback, extra1, extra2) { if (propDest_color == null) { this.colorTransformTo(100, 0, 100, 0, 100, 0, undefined, undefined, timeSeconds, animType, delay, callback, extra1, extra2); } else { var v3 = propDest_color >> 16; var v5 = (propDest_color & 65280) >> 8; var v4 = propDest_color & 255; this.colorTransformTo(0, v3, 0, v5, 0, v4, undefined, undefined, timeSeconds, animType, delay, callback, extra1, extra2); } }; ASSetPropFlags(MovieClip.prototype, 'colorTo', 1, 0); TextField.prototype.colorTo = function (propDest_color, timeSeconds, animType, delay, callback, extra1, extra2) { var v3 = propDest_color >> 16; var v6 = (propDest_color & 65280) >> 8; var v4 = propDest_color & 255; _global.$addTween(this, ['__special_text_r__', '__special_text_g__', '__special_text_b__'], [v3, v6, v4], timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(TextField.prototype, 'colorTo', 1, 0); MovieClip.prototype.colorTransformTo = function () { if (typeof arguments[0] == 'object' && arguments[0] != undefined) { _global.$addTween(this, ['__special_mc_ra__', '__special_mc_rb__', '__special_mc_ga__', '__special_mc_gb__', '__special_mc_ba__', '__special_mc_bb__', '__special_mc_aa__', '__special_mc_ab__'], [arguments[0].ra, arguments[0].rb, arguments[0].ga, arguments[0].gb, arguments[0].ba, arguments[0].bb, arguments[0].aa, arguments[0].ab], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6]); } else { _global.$addTween(this, ['__special_mc_ra__', '__special_mc_rb__', '__special_mc_ga__', '__special_mc_gb__', '__special_mc_ba__', '__special_mc_bb__', '__special_mc_aa__', '__special_mc_ab__'], [arguments[0], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], arguments[7]], arguments[8], arguments[9], arguments[10], arguments[11], arguments[12], arguments[13]); } }; ASSetPropFlags(MovieClip.prototype, 'colorTransformTo', 1, 0); TextField.prototype.blurTo = function () { if (typeof arguments[0] == 'object' && arguments[0] != undefined) { _global.$addTween(this, ['__special_blur_x__', '__special_blur_y__'], [arguments[0].blurX, arguments[0].blurY], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], {'__special_blur_quality__': arguments[0].quality}); } else { _global.$addTween(this, ['__special_blur_x__', '__special_blur_y__'], [arguments[0], arguments[0]], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], arguments[7], {'__special_blur_quality__': arguments[1]}); } }; MovieClip.prototype.blurTo = TextField.prototype.blurTo; ASSetPropFlags(MovieClip.prototype, 'blurTo', 1, 0); ASSetPropFlags(TextField.prototype, 'blurTo', 1, 0); TextField.prototype.xyBlurTo = function (propDest_blurX, propDest_blurY, quality, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_blur_x__', '__special_blur_y__'], [propDest_blurX, propDest_blurY], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_blur_quality__': quality}); }; MovieClip.prototype.xyBlurTo = TextField.prototype.xyBlurTo; ASSetPropFlags(MovieClip.prototype, 'xyBlurTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xyBlurTo', 1, 0); TextField.prototype.xBlurTo = function (propDest_blur, quality, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_blur_x__', propDest_blur, timeSeconds, animType, delay, callback, extra1, extra2, {'__special_blur_quality__': quality}); }; MovieClip.prototype.xBlurTo = TextField.prototype.xBlurTo; ASSetPropFlags(MovieClip.prototype, 'xBlurTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xBlurTo', 1, 0); TextField.prototype.yBlurTo = function (propDest_blur, quality, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_blur_y__', propDest_blur, timeSeconds, animType, delay, callback, extra1, extra2, {'__special_blur_quality__': quality}); }; MovieClip.prototype.yBlurTo = TextField.prototype.yBlurTo; ASSetPropFlags(MovieClip.prototype, 'yBlurTo', 1, 0); ASSetPropFlags(TextField.prototype, 'yBlurTo', 1, 0); TextField.prototype.glowTo = function () { if (typeof arguments[0] == 'object' && arguments[0] != undefined) { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurX__', '__special_glow_blurY__', '__special_glow_strength__'], [arguments[0].color, arguments[0].alpha, arguments[0].blurX, arguments[0].blurY, arguments[0].strength], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], {'__special_glow_quality__': arguments[0].quality, '__special_glow_inner__': arguments[0].inner, '__special_glow_knockout__': arguments[0].knockout}); } else { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurX__', '__special_glow_blurY__', '__special_glow_strength__'], [arguments[0], arguments[1], arguments[2], arguments[2], arguments[3]], arguments[7], arguments[8], arguments[9], arguments[10], arguments[11], arguments[12], {'__special_glow_quality__': arguments[4], '__special_glow_inner__': arguments[5], '__special_glow_knockout__': arguments[6]}); } }; MovieClip.prototype.glowTo = TextField.prototype.glowTo; ASSetPropFlags(MovieClip.prototype, 'glowTo', 1, 0); ASSetPropFlags(TextField.prototype, 'glowTo', 1, 0); TextField.prototype.xyGlowTo = function (propDest_color, propDest_alpha, propDest_blurX, propDest_blurY, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurX__', '__special_glow_blurY__', '__special_glow_strength__'], [propDest_color, propDest_alpha, propDest_blurX, propDest_blurY, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_glow_quality__': quality, '__special_glow_inner__': inner, '__special_glow_knockout__': knockout}); }; MovieClip.prototype.xyGlowTo = TextField.prototype.xyGlowTo; ASSetPropFlags(MovieClip.prototype, 'xyGlowTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xyGlowTo', 1, 0); TextField.prototype.xGlowTo = function (propDest_color, propDest_alpha, propDest_blur, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurX__', '__special_glow_strength__'], [propDest_color, propDest_alpha, propDest_blur, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_glow_quality__': quality, '__special_glow_inner__': inner, '__special_glow_knockout__': knockout}); }; MovieClip.prototype.xGlowTo = TextField.prototype.xGlowTo; ASSetPropFlags(MovieClip.prototype, 'xGlowTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xGlowTo', 1, 0); TextField.prototype.yGlowTo = function (propDest_color, propDest_alpha, propDest_blur, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurY__', '__special_glow_strength__'], [propDest_color, propDest_alpha, propDest_blur, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_glow_quality__': quality, '__special_glow_inner__': inner, '__special_glow_knockout__': knockout}); }; MovieClip.prototype.yGlowTo = TextField.prototype.yGlowTo; ASSetPropFlags(MovieClip.prototype, 'yGlowTo', 1, 0); ASSetPropFlags(TextField.prototype, 'yGlowTo', 1, 0); TextField.prototype.bevelTo = function () { if (typeof arguments[0] == 'object' && arguments[0] != undefined) { _global.$addTween(this, ['__special_bevel_distance__', '__special_bevel_angle__', '__special_bevel_highlightColor__', '__special_bevel_highlightAlpha__', '__special_bevel_shadowColor__', '__special_bevel_shadowAlpha__', '__special_bevel_blurX__', '__special_bevel_blurY__', '__special_bevel_strength__'], [arguments[0].distance, arguments[0].angle, arguments[0].highlightColor, arguments[0].highlightAlpha * 100, arguments[0].shadowColor, arguments[0].shadowAlpha * 100, arguments[0].blurX, arguments[0].blurY, arguments[0].strength], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], {'__special_bevel_quality__': arguments[0].quality, '__special_bevel_type__': arguments[0].type, '__special_bevel_knockout__': arguments[0].knockout}); } else { _global.$addTween(this, ['__special_bevel_distance__', '__special_bevel_angle__', '__special_bevel_highlightColor__', '__special_bevel_highlightAlpha__', '__special_bevel_shadowColor__', '__special_bevel_shadowAlpha__', '__special_bevel_blurX__', '__special_bevel_blurY__', '__special_bevel_strength__'], [arguments[0], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], arguments[6], arguments[7]], arguments[11], arguments[12], arguments[13], arguments[14], arguments[15], arguments[16], {'__special_bevel_quality__': arguments[8], '__special_bevel_type__': arguments[9], '__special_bevel_knockout__': arguments[10]}); } }; MovieClip.prototype.bevelTo = TextField.prototype.bevelTo; ASSetPropFlags(MovieClip.prototype, 'bevelTo', 1, 0); ASSetPropFlags(TextField.prototype, 'bevelTo', 1, 0); TextField.prototype.xyBevelTo = function (propDest_distance, propDest_angle, propDest_highlightColor, propDest_highlightAlpha, propDest_shadowColor, propDest_shadowAlpha, propDest_blurX, propDest_blurY, propDest_strength, quality, type, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_bevel_distance__', '__special_bevel_angle__', '__special_bevel_highlightColor__', '__special_bevel_highlightAlpha__', '__special_bevel_shadowColor__', '__special_bevel_shadowAlpha__', '__special_bevel_blurX__', '__special_bevel_blurY__', '__special_bevel_blurY__', '__special_bevel_strength__'], [propDest_distance, propDest_angle, propDest_highlightColor, propDest_highlightAlpha, propDest_shadowColor, propDest_shadowAlpha, propDest_blur, propDest_blur, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_bevel_quality__': quality, '__special_bevel_type__': type, '__special_bevel_knockout__': knockout}); }; MovieClip.prototype.xyBevelTo = TextField.prototype.xyBevelTo; ASSetPropFlags(MovieClip.prototype, 'xyBevelTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xyBevelTo', 1, 0); _global.findPointOnCurve = function (p1x, p1y, cx, cy, p2x, p2y, t) { return {'x': p1x + t * (2 * (1 - t) * (cx - p1x) + t * (p2x - p1x)), 'y': p1y + t * (2 * (1 - t) * (cy - p1y) + t * (p2y - p1y))}; }; ASSetPropFlags(_global, 'findPointOnCurve', 1, 0); _global.findTweenColor = function (objProp, tTime) { var v8 = objProp._propStart >> 16; var v4 = objProp._propDest >> 16; var v5 = objProp._propStart >> 8 & 255; var v6 = objProp._propDest >> 8 & 255; var v9 = objProp._propStart & 255; var v7 = objProp._propDest & 255; var v12 = Math.round(_global.findTweenValue(v8, v4, objProp._timeStart, tTime - objProp._delay * 1000, objProp._timeDest, objProp._animType, objProp._extra1, objProp._extra2)); var v10 = Math.round(_global.findTweenValue(v5, v6, objProp._timeStart, tTime - objProp._delay * 1000, objProp._timeDest, objProp._animType, objProp._extra1, objProp._extra2)); var v3 = Math.round(_global.findTweenValue(v9, v7, objProp._timeStart, tTime - objProp._delay * 1000, objProp._timeDest, objProp._animType, objProp._extra1, objProp._extra2)); return (v12 << 16) + (v10 << 8) + v3; }; _global.findTweenValue = function (_propStart, _propDest, _timeStart, _timeNow, _timeDest, _animType, _extra1, _extra2) { var v1 = _timeNow - _timeStart; var v4 = _propStart; var v2 = _propDest - _propStart; var v3 = _timeDest - _timeStart; var v6 = _extra1; var v7 = _extra2; var v5 = _extra1; switch (_animType.toLowerCase()) { trace('MC TWEEN ### Error on transition: there\'s no "' + _animType + '" animation type.'); return 0; case 'linear': return v2 * v1 / v3 + v4; case 'easeinquad': v1 /= v3; return v2 * v1 * v1 + v4; case 'easeoutquad': v1 /= v3; return -v2 * v1 * (v1 - 2) + v4; case 'easeinoutquad': v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * v1 * v1 + v4; } return (-v2 / 2) * (--v1 * (v1 - 2) - 1) + v4; case 'easeoutinquad': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutQuad') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInQuad') * 0.5 + v2 * 0.5 + v4; case 'easeincubic': v1 /= v3; return v2 * v1 * v1 * v1 + v4; case 'easeoutcubic': v1 = v1 / v3 - 1; return v2 * (v1 * v1 * v1 + 1) + v4; case 'easeinoutcubic': v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * v1 * v1 * v1 + v4; } v1 -= 2; return (v2 / 2) * (v1 * v1 * v1 + 2) + v4; case 'easeoutincubic': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutCubic') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInCubic') * 0.5 + v2 * 0.5 + v4; case 'easeinquart': v1 /= v3; return v2 * v1 * v1 * v1 * v1 + v4; case 'easeoutquart': v1 = v1 / v3 - 1; return -v2 * (v1 * v1 * v1 * v1 - 1) + v4; case 'easeinoutquart': v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * v1 * v1 * v1 * v1 + v4; } v1 -= 2; return (-v2 / 2) * (v1 * v1 * v1 * v1 - 2) + v4; case 'easeoutinquart': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutQuart') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInQuart') * 0.5 + v2 * 0.5 + v4; case 'easeinquint': v1 /= v3; return v2 * v1 * v1 * v1 * v1 * v1 + v4; case 'easeoutquint': v1 = v1 / v3 - 1; return v2 * (v1 * v1 * v1 * v1 * v1 + 1) + v4; case 'easeinoutquint': v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * v1 * v1 * v1 * v1 * v1 + v4; } v1 -= 2; return (v2 / 2) * (v1 * v1 * v1 * v1 * v1 + 2) + v4; case 'easeoutinquint': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutQuint') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInQuint') * 0.5 + v2 * 0.5 + v4; case 'easeinsine': return -v2 * Math.cos((v1 / v3) * 1.570796326794897) + v2 + v4; case 'easeoutsine': return v2 * Math.sin((v1 / v3) * 1.570796326794897) + v4; case 'easeinoutsine': return (-v2 / 2) * (Math.cos(Math.PI * v1 / v3) - 1) + v4; case 'easeoutinsine': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutSine') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInSine') * 0.5 + v2 * 0.5 + v4; case 'easeinexpo': return (v1 == 0) ? v4 : v2 * Math.pow(2, 10 * (v1 / v3 - 1)) + v4; case 'easeoutexpo': return (v1 == v3) ? v4 + v2 : v2 * (-Math.pow(2, -10 * v1 / v3) + 1) + v4; case 'easeinoutexpo': if (v1 == 0) { return v4; } if (v1 == v3) { return v4 + v2; } v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * Math.pow(2, 10 * (v1 - 1)) + v4; } return (v2 / 2) * (-Math.pow(2, -10 * --v1) + 2) + v4; case 'easeoutinexpo': if (v1 == 0) { return v4; } if (v1 == v3) { return v4 + v2; } v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * (-Math.pow(2, -10 * v1 / 1) + 1) + v4; } return (v2 / 2) * (Math.pow(2, 10 * (v1 - 2) / 1) + 1) + v4; case 'easeincirc': v1 /= v3; return -v2 * (Math.sqrt(1 - v1 * v1) - 1) + v4; case 'easeoutcirc': v1 = v1 / v3 - 1; return v2 * Math.sqrt(1 - v1 * v1) + v4; case 'easeinoutcirc': v1 /= v3 / 2; if (v1 < 1) { return (-v2 / 2) * (Math.sqrt(1 - v1 * v1) - 1) + v4; } v1 -= 2; return (v2 / 2) * (Math.sqrt(1 - v1 * v1) + 1) + v4; case 'easeoutincirc': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutCirc') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInCirc') * 0.5 + v2 * 0.5 + v4; case 'easeinelastic': if (v1 == 0) { return v4; } v1 /= v3; if (v1 == 1) { return v4 + v2; } if (!v7) { v7 = v3 * 0.3; } if (!v6 || v6 < Math.abs(v2)) { v6 = v2; v5 = v7 / 4; } else { v5 = (v7 / 6.283185307179586) * Math.asin(v2 / v6); } v1 -= 1; return -(v6 * Math.pow(2, 10 * v1) * Math.sin((v1 * v3 - v5) * 6.283185307179586 / v7)) + v4; case 'easeoutelastic': if (v1 == 0) { return v4; } v1 /= v3; if (v1 == 1) { return v4 + v2; } if (!v7) { v7 = v3 * 0.3; } if (!v6 || v6 < Math.abs(v2)) { v6 = v2; v5 = v7 / 4; } else { v5 = (v7 / 6.283185307179586) * Math.asin(v2 / v6); } return v6 * Math.pow(2, -10 * v1) * Math.sin((v1 * v3 - v5) * 6.283185307179586 / v7) + v2 + v4; case 'easeinoutelastic': if (v1 == 0) { return v4; } v1 /= v3 / 2; if (v1 == 2) { return v4 + v2; } if (!v7) { v7 = v3 * 0.45; } if (!v6 || v6 < Math.abs(v2)) { v6 = v2; v5 = v7 / 4; } else { v5 = (v7 / 6.283185307179586) * Math.asin(v2 / v6); } if (v1 < 1) { v1 -= 1; return -0.5 * (v6 * Math.pow(2, 10 * v1) * Math.sin((v1 * v3 - v5) * 6.283185307179586 / v7)) + v4; } v1 -= 1; return v6 * Math.pow(2, -10 * v1) * Math.sin((v1 * v3 - v5) * 6.283185307179586 / v7) * 0.5 + v2 + v4; case 'easeoutinelastic': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutElastic') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInElastic') * 0.5 + v2 * 0.5 + v4; case 'easeinback': if (v5 == undefined) { v5 = 1.70158; } v1 /= v3; return v2 * v1 * v1 * ((v5 + 1) * v1 - v5) + v4; case 'easeoutback': if (v5 == undefined) { v5 = 1.70158; } v1 = v1 / v3 - 1; return v2 * (v1 * v1 * ((v5 + 1) * v1 + v5) + 1) + v4; case 'easeinoutback': if (v5 == undefined) { v5 = 1.70158; } v1 /= v3 / 2; if (v1 < 1) { v5 *= 1.525; return (v2 / 2) * (v1 * v1 * ((v5 + 1) * v1 - v5)) + v4; } v1 -= 2; v5 *= 1.525; return (v2 / 2) * (v1 * v1 * ((v5 + 1) * v1 + v5) + 2) + v4; case 'easeoutinback': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutBack') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInBack') * 0.5 + v2 * 0.5 + v4; case 'easeinbounce': return v2 - findTweenValue(0, v2, 0, v3 - v1, v3, 'easeOutBounce') + v4; case 'easeoutbounce': v1 /= v3; if (v1 < 0.3636363636363637) { return v2 * (7.5625 * v1 * v1) + v4; } else { if (v1 < 0.7272727272727273) { v1 -= 0.5454545454545454; return v2 * (7.5625 * v1 * v1 + 0.75) + v4; } else { if (v1 < 0.9090909090909091) { v1 -= 0.8181818181818182; return v2 * (7.5625 * v1 * v1 + 0.9375) + v4; } else { v1 -= 0.9545454545454546; return v2 * (7.5625 * v1 * v1 + 0.984375) + v4; } } } case 'easeinoutbounce': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeInBounce') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeOutBounce') * 0.5 + v2 * 0.5 + v4; case 'easeoutinbounce': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutBounce') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInBounce') * 0.5 + v2 * 0.5 + v4; } trace('MC TWEEN ### Error on transition: there\'s no "' + _animType + '" animation type.'); return 0; }; ASSetPropFlags(_global, 'findTweenValue', 1, 0); wolke1.tween('_y', -165, 0.5, 'linear', 0); }; this.wolke1.onPress = function () { _global.$createTweenController = function () { var v3 = _root.createEmptyMovieClip('__tweenController__', 123432); v3.$_tweenPropList = new Array(); v3.$_tTime = getTimer(); v3.onEnterFrame = _global.$updateTweens; }; ASSetPropFlags(_global, '$createTweenController', 1, 0); _global.$removeTweenController = function () { delete _root.__tweenController__.$_tweenPropList; delete _root.__tweenController__.$_tTime; delete _root.__tweenController__.onEnterFrame; _root.__tweenController__.removeMovieClip(); }; ASSetPropFlags(_global, '$removeTweenController', 1, 0); _global.$addTween = function (mtarget, prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2, extras) { if (timeSeconds == undefined) { timeSeconds = 0; } if (animType == undefined || animType == '') { animType = 'easeOutExpo'; } if (delay == undefined) { delay = 0; } if (typeof prop == 'string') { var v7 = [prop]; var v11 = [mtarget[prop]]; var v9 = [propDest]; } else { var v7 = []; var v11 = []; var v9 = []; for (var v32 in prop) { v11.push(mtarget[prop[v32]]); } for (v32 in prop) { v7.push(prop[v32]); } for (v32 in propDest) { v9.push(propDest[v32]); } } var v12 = false; if (_root.__tweenController__ == undefined) { _global.$createTweenController(); } var v4 = _root.__tweenController__.$_tweenPropList; var v8 = _root.__tweenController__.$_tTime; for (v32 in v11) { if (v9[v32] != undefined && !mtarget.$_isTweenLocked) { if (mtarget.$_tweenCount > 0) { var v3 = 0; while (v3 < v4.length) { if (v4[v3]._targ == mtarget && v4[v3]._prop == v7[v32]) { if (v8 + delay * 1000 < v4[v3]._timeDest) { v4.splice(v3, 1); --v3; --mtarget.$_tweenCount; } } ++v3; } } v4.push({'_prop': v7[v32], '_targ': mtarget, '_propStart': undefined, '_propDest': v9[v32], '_timeStart': v8, '_timeDest': v8 + timeSeconds * 1000, '_animType': animType, '_extra1': extra1, '_extra2': extra2, '_extras': extras, '_delay': delay, '_isPaused': false, '_timePaused': 0, '_callback': v12 ? undefined : callback}); mtarget.$_tweenCount = mtarget.$_tweenCount > 0 ? mtarget.$_tweenCount + 1 : 1; v12 = true; } } ASSetPropFlags(mtarget, '$_tweenCount', 1, 0); }; ASSetPropFlags(_global, '$addTween', 1, 0); _global.$updateTweens = function () { this.$_tTime = getTimer(); var v8 = this.$_tTime; var v6 = 0; while (v6 < this.$_tweenPropList.length) { var v3 = this.$_tweenPropList[v6]; if (v3._targ.toString() == undefined) { this.$_tweenPropList.splice(v6, 1); --v6; } else { if (v3._timeStart + v3._delay * 1000 <= v8 && !v3._isPaused) { if (v3._propStart == undefined) { if (v3._prop.substr(0, 10) == '__special_') { if (v3._prop == '__special_mc_frame__') { v3._propStart = v3._targ._currentframe; } else { if (v3._prop == '__special_mc_ra__') { v3._propStart = ((new Color(v3._targ)).getTransform()).ra; } else { if (v3._prop == '__special_mc_rb__') { v3._propStart = ((new Color(v3._targ)).getTransform()).rb; } else { if (v3._prop == '__special_mc_ga__') { v3._propStart = ((new Color(v3._targ)).getTransform()).ga; } else { if (v3._prop == '__special_mc_gb__') { v3._propStart = ((new Color(v3._targ)).getTransform()).gb; } else { if (v3._prop == '__special_mc_ba__') { v3._propStart = ((new Color(v3._targ)).getTransform()).ba; } else { if (v3._prop == '__special_mc_bb__') { v3._propStart = ((new Color(v3._targ)).getTransform()).bb; } else { if (v3._prop == '__special_mc_aa__') { v3._propStart = ((new Color(v3._targ)).getTransform()).aa; } else { if (v3._prop == '__special_mc_ab__') { v3._propStart = ((new Color(v3._targ)).getTransform()).ab; } else { if (v3._prop == '__special_text_r__') { v3._propStart = v3._targ.textColor >> 16; } else { if (v3._prop == '__special_text_g__') { v3._propStart = (v3._targ.textColor & 65280) >> 8; } else { if (v3._prop == '__special_text_b__') { v3._propStart = v3._targ.textColor & 255; } else { if (v3._prop == '__special_sound_volume__') { v3._propStart = v3._targ.getVolume(); } else { if (v3._prop == '__special_sound_pan__') { v3._propStart = v3._targ.getPan(); } else { if (v3._prop == '__special_bst_t__') { v3._propStart = 0; v3._extras.__special_bst_ix__ = v3._targ._x; v3._extras.__special_bst_iy__ = v3._targ._y; } else { if (v3._prop == '__special_blur_x__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BlurFilter) { v3._propStart = v3._targ.filters[v5].blurX; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_blur_y__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BlurFilter) { v3._propStart = v3._targ.filters[v5].blurY; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_glow_color__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].color; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 16777215; } } else { if (v3._prop == '__special_glow_alpha__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].alpha; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { if (v3._prop == '__special_glow_blurX__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].blurX; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_glow_blurY__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].blurY; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_glow_strength__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].strength; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { if (v3._prop == '__special_bevel_distance__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].distance; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_bevel_angle__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].angle; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 45; } } else { if (v3._prop == '__special_bevel_highlightColor__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].highlightColor; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 16777215; } } else { if (v3._prop == '__special_bevel_highlightAlpha__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].highlightAlpha; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { if (v3._prop == '__special_bevel_shadowColor__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].shadowColor; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_bevel_shadowAlpha__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].shadowAlpha; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { if (v3._prop == '__special_bevel_blurX__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].blurX; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_bevel_blurY__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].blurY; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_bevel_strength__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].strength; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { v3._propStart = v3._targ[v3._prop]; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } else { v3._propStart = v3._targ[v3._prop]; } } var v10 = v3._timeDest + v3._delay * 1000; if (v10 <= v8) { var v4 = v3._propDest; } else { var v4 = _global.findTweenValue(v3._propStart, v3._propDest, v3._timeStart, v8 - v3._delay * 1000, v3._timeDest, v3._animType, v3._extra1, v3._extra2); } v3._targ[v3._prop] = v3._extras.mustRound ? Math.round(v4) : v4; if (v3._prop == '__special_mc_frame__') { v3._targ.gotoAndStop(Math.round(v4)); } else { if (v3._prop == '__special_mc_ra__') { (new Color(v3._targ)).setTransform({'ra': v4}); } else { if (v3._prop == '__special_mc_rb__') { (new Color(v3._targ)).setTransform({'rb': v4}); } else { if (v3._prop == '__special_mc_ga__') { (new Color(v3._targ)).setTransform({'ga': v4}); } else { if (v3._prop == '__special_mc_gb__') { (new Color(v3._targ)).setTransform({'gb': v4}); } else { if (v3._prop == '__special_mc_ba__') { (new Color(v3._targ)).setTransform({'ba': v4}); } else { if (v3._prop == '__special_mc_bb__') { (new Color(v3._targ)).setTransform({'bb': v4}); } else { if (v3._prop == '__special_mc_aa__') { (new Color(v3._targ)).setTransform({'aa': v4}); } else { if (v3._prop == '__special_mc_ab__') { (new Color(v3._targ)).setTransform({'ab': v4}); } } } } } } } } } if (v3._prop == '__special_bst_t__') { var v7 = v3._extras; var v9 = _global.findPointOnCurve(v7.__special_bst_ix__, v7.__special_bst_iy__, v7.__special_bst_cx__, v7.__special_bst_cy__, v7.__special_bst_dx__, v7.__special_bst_dy__, v4); if (v3._extras.mustRound) { v3._targ._x = Math.round(v9.x); v3._targ._y = Math.round(v9.y); } else { v3._targ._x = v9.x; v3._targ._y = v9.y; } } if (typeof v3._targ != 'movieclip' && v3._prop == '__special_text_b__') { v3._targ.textColor = (v3._targ.__special_text_r__ << 16) + (v3._targ.__special_text_g__ << 8) + v3._targ.__special_text_b__; } if (v3._prop == '__special_sound_volume__') { v3._targ.setVolume(v4); } if (v3._prop == '__special_sound_pan__') { v3._targ.setPan(v4); } if (v3._prop == '__special_blur_x__') { _global.$setFilterProperty(v3._targ, 'blur_blurX', v4, v3._extras); } if (v3._prop == '__special_blur_y__') { _global.$setFilterProperty(v3._targ, 'blur_blurY', v4, v3._extras); } if (v3._prop == '__special_glow_color__') { _global.$setFilterProperty(v3._targ, 'glow_color', _global.findTweenColor(v3, v8), v3._extras); } if (v3._prop == '__special_glow_alpha__') { _global.$setFilterProperty(v3._targ, 'glow_alpha', v4, v3._extras); } if (v3._prop == '__special_glow_blurX__') { _global.$setFilterProperty(v3._targ, 'glow_blurX', v4, v3._extras); } if (v3._prop == '__special_glow_blurY__') { _global.$setFilterProperty(v3._targ, 'glow_blurY', v4, v3._extras); } if (v3._prop == '__special_glow_strength__') { _global.$setFilterProperty(v3._targ, 'glow_strength', v4, v3._extras); } if (v3._prop == '__special_bevel_distance__') { _global.$setFilterProperty(v3._targ, 'bevel_distance', v4, v3._extras); } if (v3._prop == '__special_bevel_angle__') { _global.$setFilterProperty(v3._targ, 'bevel_angle', v4, v3._extras); } if (v3._prop == '__special_bevel_highlightColor__') { _global.$setFilterProperty(v3._targ, 'bevel_highlightColor', _global.findTweenColor(v3, v8), v3._extras); } if (v3._prop == '__special_bevel_highlightAlpha__') { _global.$setFilterProperty(v3._targ, 'bevel_highlightAlpha', v4, v3._extras); } if (v3._prop == '__special_bevel_shadowColor__') { _global.$setFilterProperty(v3._targ, 'bevel_shadowColor', _global.findTweenColor(v3, v8), v3._extras); } if (v3._prop == '__special_bevel_shadowAlpha__') { _global.$setFilterProperty(v3._targ, 'bevel_shadowAlpha', v4, v3._extras); } if (v3._prop == '__special_bevel_blurX__') { _global.$setFilterProperty(v3._targ, 'bevel_blurX', v4, v3._extras); } if (v3._prop == '__special_bevel_blurY__') { _global.$setFilterProperty(v3._targ, 'bevel_blurY', v4, v3._extras); } if (v3._prop == '__special_bevel_strength__') { _global.$setFilterProperty(v3._targ, 'bevel_strength', v4, v3._extras); } if (v3._targ.onTweenUpdate != undefined) { v3._targ.onTweenUpdate(v3._prop); } if (v10 <= v8) { if (v3._targ.onTweenComplete != undefined) { v3._targ.onTweenComplete(v3._prop); } _global.$stopTween(v3._targ, [v3._prop], false); --v6; if (v3._callback != undefined) { if (_global.backwardCallbackTweening) { var v11 = v3._targ.createEmptyMovieClip('__child__', 122344); v3._callback.apply(v11, null); v11.removeMovieClip(); } else { v3._callback.apply(v3._targ, null); } } } } } ++v6; } if (this.$_tweenPropList.length == 0) { _global.$removeTweenController(); } }; ASSetPropFlags(_global, '$updateTween', 1, 0); _global.$stopTween = function (mtarget, props, wipeFuture) { var v4 = _root.__tweenController__.$_tweenPropList; var v7; for (var v9 in v4) { v7 = v4[v9]._prop; var v5 = 0; for (;;) { if (!(v5 < props.length || v5 < 1 && props == undefined)) break; if (v4[v9]._targ == mtarget && (v7 == props[v5] || props == undefined) && (wipeFuture || v4[v9]._timeDest + v4[v9]._delay * 1000 <= getTimer())) { switch (v7) { case '__special_mc_frame__': case '__special_mc_ra__': case '__special_mc_rb__': case '__special_mc_ga__': case '__special_mc_gb__': case '__special_mc_ba__': case '__special_mc_bb__': case '__special_mc_aa__': case '__special_mc_ab__': case '__special_sound_volume__': case '__special_bst_t__': delete mtarget[v7]; break; case '__special_text_b__': delete mtarget.__special_text_r__; delete mtarget.__special_text_g__; delete mtarget.__special_text_b__; } v4.splice(v9, 1); } ++v5; } } if (props == undefined) { delete mtarget.$_tweenCount; } else { mtarget.$_tweenCount = 0; for (v9 in v4) { if (v4[v9]._targ == mtarget) { ++mtarget.$_tweenCount; } } if (mtarget.$_tweenCount == 0) { delete mtarget.$_tweenCount; } } if (v4.length == 0) { _global.$removeTweenController(); } }; ASSetPropFlags(_global, '$stopTween', 1, 0); _global.$setFilterProperty = function (mtarget, propName, propValue, extras) { var v1; var v7 = false; var v3 = []; v1 = 0; while (v1 < mtarget.filters.length) { v3.push(mtarget.filters[v1]); ++v1; } if (propName.substr(0, 5) == 'blur_') { v1 = 0; while (v1 < mtarget.filters.length) { if (v3[v1] instanceof flash.filters.BlurFilter) { v3[v1][propName.substr(5)] = propValue; if (extras.__special_blur_quality__ != undefined) { v3[v1].quality = extras.__special_blur_quality__; } v7 = true; break; } ++v1; } if (!v7) { var v9; var v8 = (extras.__special_blur_quality__ == undefined) ? 2 : extras.__special_blur_quality__; if (propName == 'blur_blurX') { v9 = new flash.filters.BlurFilter(propValue, 0, v8); } if (propName == 'blur_blurY') { v9 = new flash.filters.BlurFilter(0, propValue, v8); } v3.push(v9); } } else { if (propName.substr(0, 5) == 'glow_') { v1 = 0; while (v1 < mtarget.filters.length) { if (v3[v1] instanceof flash.filters.GlowFilter) { v3[v1][propName.substr(5)] = propValue; if (extras.__special_glow_quality__ != undefined) { v3[v1].quality = extras.__special_glow_quality__; } if (extras.__special_glow_inner__ != undefined) { v3[v1].inner = extras.__special_glow_inner__; } if (extras.__special_glow_knockout__ != undefined) { v3[v1].knockout = extras.__special_glow_knockout__; } v7 = true; break; } ++v1; } if (!v7) { var v8 = (extras.__special_glow_quality__ == undefined) ? 2 : extras.__special_glow_quality__; var v12 = (extras.__special_glow_inner__ == undefined) ? false : extras.__special_glow_inner__; var v10 = (extras.__special_glow_knockout__ == undefined) ? false : extras.__special_glow_knockout__; if (propName == 'glow_color') { var v9 = new flash.filters.GlowFilter(propValue, 1, 0, 0, 1, v8, v12, v10); } if (propName == 'glow_alpha') { v9 = new flash.filters.GlowFilter(16777215, propValue, 0, 0, 1, v8, v12, v10); } if (propName == 'glow_blurX') { v9 = new flash.filters.GlowFilter(16777215, 1, propValue, 0, 1, v8, v12, v10); } if (propName == 'glow_blurY') { v9 = new flash.filters.GlowFilter(16777215, 1, 0, propValue, 1, v8, v12, v10); } if (propName == 'glow_strength') { v9 = new flash.filters.GlowFilter(16777215, 1, 0, 0, propValue, v8, v12, v10); } v3.push(v9); } } else { if (propName.substr(0, 6) == 'bevel_') { v1 = 0; while (v1 < mtarget.filters.length) { if (v3[v1] instanceof flash.filters.BevelFilter) { v3[v1][propName.substr(6)] = propValue; if (extras.__special_bevel_quality__ != undefined) { v3[v1].quality = extras.__special_bevel_quality__; } if (extras.__special_bevel_type__ != undefined) { v3[v1].inner = extras.__special_bevel_type__; } if (extras.__special_bevel_knockout__ != undefined) { v3[v1].knockout = extras.__special_bevel_knockout__; } v7 = true; break; } ++v1; } if (!v7) { var v8 = (extras.__special_bevel_quality__ == undefined) ? 2 : extras.__special_bevel_quality__; var v11 = (extras.__special_bevel_type__ == undefined) ? 'inner' : extras.__special_bevel_type__; var v10 = (extras.__special_bevel_knockout__ == undefined) ? false : extras.__special_bevel_knockout__; if (propName == 'bevel_distance') { var v9 = new flash.filters.BevelFilter(propValue, 45, 16777215, 1, 0, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_angle') { v9 = new flash.filters.BevelFilter(0, propValue, 16777215, 1, 0, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_highlightColor') { v9 = new flash.filters.BevelFilter(0, 45, propValue, 1, 0, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_highlightAlpha') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, propValue, 0, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_shadowColor') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, propValue, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_shadowAlpha') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, propValue, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_blurX') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, 1, propValue, 0, 1, v8, v11, v10); } if (propName == 'bevel_blurY') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, 1, 0, propValue, 1, v8, v11, v10); } if (propName == 'bevel_strength') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, 1, 0, 0, propValue, v8, v11, v10); } v3.push(v9); } } else { return undefined; } } } mtarget.filters = v3; }; Sound.prototype.tween = function (prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2); }; TextField.prototype.tween = Sound.prototype.tween; MovieClip.prototype.tween = Sound.prototype.tween; ASSetPropFlags(MovieClip.prototype, 'tween', 1, 0); ASSetPropFlags(TextField.prototype, 'tween', 1, 0); ASSetPropFlags(Sound.prototype, 'tween', 1, 0); Sound.prototype.roundedTween = function (prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2, {'mustRound': true}); }; TextField.prototype.roundedTween = Sound.prototype.roundedTween; MovieClip.prototype.roundedTween = Sound.prototype.roundedTween; ASSetPropFlags(MovieClip.prototype, 'roundedTween', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedTween', 1, 0); ASSetPropFlags(Sound.prototype, 'roundedTween', 1, 0); Sound.prototype.stopTween = function (props) { if (typeof props == 'string') { props = [props]; } if (props != undefined) { var v4 = 1; while (v4 < arguments.length) { props.push(arguments[v4]); ++v4; } } _global.$stopTween(this, props, true); }; TextField.prototype.stopTween = Sound.prototype.stopTween; MovieClip.prototype.stopTween = Sound.prototype.stopTween; ASSetPropFlags(MovieClip.prototype, 'stopTween', 1, 0); ASSetPropFlags(TextField.prototype, 'stopTween', 1, 0); ASSetPropFlags(Sound.prototype, 'stopTween', 1, 0); Sound.prototype.pauseTween = function (props) { if (props != undefined) { if (typeof props == 'string') { props = [props]; } var v6 = 1; while (v6 < Arguments.length) { props.push(Arguments[v6]); ++v6; } } var v4 = _root.__tweenController__.$_tweenPropList; var v5; for (var v7 in v4) { if (v4[v7]._targ == this && !v4[v7]._isPaused) { if (props != undefined) { v5 = false; for (v6 in props) { if (props[v6] == v4[v7]._prop) { v5 = true; break; } } } if (props == undefined || v5) { v4[v7]._isPaused = true; v4[v7]._timePaused = _root.__tweenController__.$_tTime; } } } }; TextField.prototype.pauseTween = Sound.prototype.pauseTween; MovieClip.prototype.pauseTween = Sound.prototype.pauseTween; ASSetPropFlags(MovieClip.prototype, 'pauseTween', 1, 0); ASSetPropFlags(TextField.prototype, 'pauseTween', 1, 0); ASSetPropFlags(Sound.prototype, 'pauseTween', 1, 0); Sound.prototype.resumeTween = function (props) { if (props != undefined) { if (typeof props == 'string') { props = [props]; } var v7 = 1; while (v7 < Arguments.length) { props.push(Arguments[v7]); ++v7; } } var v3 = _root.__tweenController__.$_tweenPropList; var v5; var v6; for (var v8 in v3) { if (v3[v8]._targ == this && v3[v8]._isPaused) { if (props != undefined) { v5 = false; for (v7 in props) { if (props[v7] == v3[v8]._prop) { v5 = true; break; } } } if (props == undefined || v5) { v3[v8]._isPaused = false; v6 = _root.__tweenController__.$_tTime - v3[v8]._timePaused; v3[v8]._timeStart += v6; v3[v8]._timeDest += v6; v3[v8]._timePaused = 0; } } } }; TextField.prototype.resumeTween = Sound.prototype.resumeTween; MovieClip.prototype.resumeTween = Sound.prototype.resumeTween; ASSetPropFlags(MovieClip.prototype, 'resumeTween', 1, 0); ASSetPropFlags(TextField.prototype, 'resumeTween', 1, 0); ASSetPropFlags(Sound.prototype, 'resumeTween', 1, 0); Sound.prototype.lockTween = function () { this.$_isTweenLocked = true; ASSetPropFlags(this, 'this.$_isTweenLocked', 1, 0); }; TextField.prototype.lockTween = Sound.prototype.lockTween; MovieClip.prototype.lockTween = Sound.prototype.lockTween; ASSetPropFlags(MovieClip.prototype, 'lockTween', 1, 0); ASSetPropFlags(TextField.prototype, 'lockTween', 1, 0); ASSetPropFlags(Sound.prototype, 'lockTween', 1, 0); Sound.prototype.unlockTween = function () { delete this.$_isTweenLocked; }; TextField.prototype.unlockTween = Sound.prototype.unlockTween; MovieClip.prototype.unlockTween = Sound.prototype.unlockTween; ASSetPropFlags(MovieClip.prototype, 'unlockTween', 1, 0); ASSetPropFlags(TextField.prototype, 'unlockTween', 1, 0); ASSetPropFlags(Sound.prototype, 'unlockTween', 1, 0); Sound.prototype.getTweens = function () { return this.$_tweenCount; }; TextField.prototype.getTweens = Sound.prototype.getTweens; MovieClip.prototype.getTweens = Sound.prototype.getTweens; ASSetPropFlags(MovieClip.prototype, 'getTweens', 1, 0); ASSetPropFlags(TextField.prototype, 'getTweens', 1, 0); ASSetPropFlags(Sound.prototype, 'getTweens', 1, 0); Sound.prototype.isTweening = function () { return this.$_tweenCount > 0 ? true : false; }; TextField.prototype.isTweening = Sound.prototype.isTweening; MovieClip.prototype.isTweening = Sound.prototype.isTweening; ASSetPropFlags(MovieClip.prototype, 'isTweening', 1, 0); ASSetPropFlags(TextField.prototype, 'isTweening', 1, 0); ASSetPropFlags(Sound.prototype, 'isTweening', 1, 0); TextField.prototype.alphaTo = function (propDest_a, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_alpha', propDest_a, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.alphaTo = TextField.prototype.alphaTo; ASSetPropFlags(MovieClip.prototype, 'alphaTo', 1, 0); ASSetPropFlags(TextField.prototype, 'alphaTo', 1, 0); MovieClip.prototype.frameTo = function (propDest_frame, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_mc_frame__', propDest_frame, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(MovieClip.prototype, 'frameTo', 1, 0); TextField.prototype.resizeTo = function (propDest_width, propDest_height, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['_width', '_height'], [propDest_width, propDest_height], timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.resizeTo = TextField.prototype.resizeTo; ASSetPropFlags(MovieClip.prototype, 'resizeTo', 1, 0); ASSetPropFlags(TextField.prototype, 'resizeTo', 1, 0); TextField.prototype.rotateTo = function (propDest_rotation, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_rotation', propDest_rotation, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.rotateTo = TextField.prototype.rotateTo; ASSetPropFlags(MovieClip.prototype, 'rotateTo', 1, 0); ASSetPropFlags(TextField.prototype, 'rotateTo', 1, 0); TextField.prototype.scaleTo = function (propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['_xscale', '_yscale'], [propDest_scale, propDest_scale], timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.scaleTo = TextField.prototype.scaleTo; ASSetPropFlags(MovieClip.prototype, 'scaleTo', 1, 0); ASSetPropFlags(TextField.prototype, 'scaleTo', 1, 0); TextField.prototype.xScaleTo = function (propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_xscale', propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.xScaleTo = TextField.prototype.xScaleTo; ASSetPropFlags(MovieClip.prototype, 'xScaleTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xScaleTo', 1, 0); TextField.prototype.yScaleTo = function (propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_yscale', propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.yScaleTo = TextField.prototype.yScaleTo; ASSetPropFlags(MovieClip.prototype, 'yScaleTo', 1, 0); ASSetPropFlags(TextField.prototype, 'yScaleTo', 1, 0); TextField.prototype.scrollTo = function (propDest_scroll, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, 'scroll', propDest_scroll, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(TextField.prototype, 'scrollTo', 1, 0); TextField.prototype.slideTo = function (propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['_x', '_y'], [propDest_x, propDest_y], timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.slideTo = TextField.prototype.slideTo; ASSetPropFlags(MovieClip.prototype, 'slideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'slideTo', 1, 0); TextField.prototype.roundedSlideTo = function (propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['_x', '_y'], [propDest_x, propDest_y], timeSeconds, animType, delay, callback, extra1, extra2, {'mustRound': true}); }; MovieClip.prototype.roundedSlideTo = TextField.prototype.roundedSlideTo; ASSetPropFlags(MovieClip.prototype, 'roundedSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedSlideTo', 1, 0); TextField.prototype.xSlideTo = function (propDest_x, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_x', propDest_x, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.xSlideTo = TextField.prototype.xSlideTo; ASSetPropFlags(MovieClip.prototype, 'xSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xSlideTo', 1, 0); TextField.prototype.roundedXSlideTo = function (propDest_x, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_x', propDest_x, timeSeconds, animType, delay, callback, extra1, extra2, {'mustRound': true}); }; MovieClip.prototype.roundedXSlideTo = TextField.prototype.roundedXSlideTo; ASSetPropFlags(MovieClip.prototype, 'roundedXSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedXSlideTo', 1, 0); TextField.prototype.ySlideTo = function (propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_y', propDest_y, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.ySlideTo = TextField.prototype.ySlideTo; ASSetPropFlags(MovieClip.prototype, 'ySlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'ySlideTo', 1, 0); TextField.prototype.roundedYSlideTo = function (propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_y', propDest_y, timeSeconds, animType, delay, callback, extra1, extra2, {'mustRound': true}); }; MovieClip.prototype.roundedYSlideTo = TextField.prototype.roundedYSlideTo; ASSetPropFlags(MovieClip.prototype, 'roundedYSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedYSlideTo', 1, 0); TextField.prototype.bezierSlideTo = function (cpoint_x, cpoint_y, propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { var v3 = new Object(); v3.__special_bst_ix__ = undefined; v3.__special_bst_iy__ = undefined; v3.__special_bst_cx__ = cpoint_x; v3.__special_bst_cy__ = cpoint_y; v3.__special_bst_dx__ = propDest_x; v3.__special_bst_dy__ = propDest_y; _global.$addTween(this, '__special_bst_t__', 1, timeSeconds, animType, delay, callback, extra1, extra2, v3); }; MovieClip.prototype.bezierSlideTo = TextField.prototype.bezierSlideTo; ASSetPropFlags(MovieClip.prototype, 'bezierSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'bezierSlideTo', 1, 0); TextField.prototype.roundedBezierSlideTo = function (cpoint_x, cpoint_y, propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { var v3 = new Object(); v3.__special_bst_ix__ = undefined; v3.__special_bst_iy__ = undefined; v3.__special_bst_cx__ = cpoint_x; v3.__special_bst_cy__ = cpoint_y; v3.__special_bst_dx__ = propDest_x; v3.__special_bst_dy__ = propDest_y; v3.mustRound = true; _global.$addTween(this, '__special_bst_t__', 1, timeSeconds, animType, delay, callback, extra1, extra2, v3); }; MovieClip.prototype.roundedBezierSlideTo = TextField.prototype.roundedBezierSlideTo; ASSetPropFlags(MovieClip.prototype, 'roundedBezierSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedBezierSlideTo', 1, 0); Sound.prototype.volumeTo = function (propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_sound_volume__', propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(Sound.prototype, 'volumeTo', 1, 0); Sound.prototype.panTo = function (propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_sound_pan__', propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(Sound.prototype, 'panTo', 1, 0); MovieClip.prototype.colorTo = function (propDest_color, timeSeconds, animType, delay, callback, extra1, extra2) { if (propDest_color == null) { this.colorTransformTo(100, 0, 100, 0, 100, 0, undefined, undefined, timeSeconds, animType, delay, callback, extra1, extra2); } else { var v3 = propDest_color >> 16; var v5 = (propDest_color & 65280) >> 8; var v4 = propDest_color & 255; this.colorTransformTo(0, v3, 0, v5, 0, v4, undefined, undefined, timeSeconds, animType, delay, callback, extra1, extra2); } }; ASSetPropFlags(MovieClip.prototype, 'colorTo', 1, 0); TextField.prototype.colorTo = function (propDest_color, timeSeconds, animType, delay, callback, extra1, extra2) { var v3 = propDest_color >> 16; var v6 = (propDest_color & 65280) >> 8; var v4 = propDest_color & 255; _global.$addTween(this, ['__special_text_r__', '__special_text_g__', '__special_text_b__'], [v3, v6, v4], timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(TextField.prototype, 'colorTo', 1, 0); MovieClip.prototype.colorTransformTo = function () { if (typeof arguments[0] == 'object' && arguments[0] != undefined) { _global.$addTween(this, ['__special_mc_ra__', '__special_mc_rb__', '__special_mc_ga__', '__special_mc_gb__', '__special_mc_ba__', '__special_mc_bb__', '__special_mc_aa__', '__special_mc_ab__'], [arguments[0].ra, arguments[0].rb, arguments[0].ga, arguments[0].gb, arguments[0].ba, arguments[0].bb, arguments[0].aa, arguments[0].ab], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6]); } else { _global.$addTween(this, ['__special_mc_ra__', '__special_mc_rb__', '__special_mc_ga__', '__special_mc_gb__', '__special_mc_ba__', '__special_mc_bb__', '__special_mc_aa__', '__special_mc_ab__'], [arguments[0], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], arguments[7]], arguments[8], arguments[9], arguments[10], arguments[11], arguments[12], arguments[13]); } }; ASSetPropFlags(MovieClip.prototype, 'colorTransformTo', 1, 0); TextField.prototype.blurTo = function () { if (typeof arguments[0] == 'object' && arguments[0] != undefined) { _global.$addTween(this, ['__special_blur_x__', '__special_blur_y__'], [arguments[0].blurX, arguments[0].blurY], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], {'__special_blur_quality__': arguments[0].quality}); } else { _global.$addTween(this, ['__special_blur_x__', '__special_blur_y__'], [arguments[0], arguments[0]], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], arguments[7], {'__special_blur_quality__': arguments[1]}); } }; MovieClip.prototype.blurTo = TextField.prototype.blurTo; ASSetPropFlags(MovieClip.prototype, 'blurTo', 1, 0); ASSetPropFlags(TextField.prototype, 'blurTo', 1, 0); TextField.prototype.xyBlurTo = function (propDest_blurX, propDest_blurY, quality, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_blur_x__', '__special_blur_y__'], [propDest_blurX, propDest_blurY], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_blur_quality__': quality}); }; MovieClip.prototype.xyBlurTo = TextField.prototype.xyBlurTo; ASSetPropFlags(MovieClip.prototype, 'xyBlurTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xyBlurTo', 1, 0); TextField.prototype.xBlurTo = function (propDest_blur, quality, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_blur_x__', propDest_blur, timeSeconds, animType, delay, callback, extra1, extra2, {'__special_blur_quality__': quality}); }; MovieClip.prototype.xBlurTo = TextField.prototype.xBlurTo; ASSetPropFlags(MovieClip.prototype, 'xBlurTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xBlurTo', 1, 0); TextField.prototype.yBlurTo = function (propDest_blur, quality, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_blur_y__', propDest_blur, timeSeconds, animType, delay, callback, extra1, extra2, {'__special_blur_quality__': quality}); }; MovieClip.prototype.yBlurTo = TextField.prototype.yBlurTo; ASSetPropFlags(MovieClip.prototype, 'yBlurTo', 1, 0); ASSetPropFlags(TextField.prototype, 'yBlurTo', 1, 0); TextField.prototype.glowTo = function () { if (typeof arguments[0] == 'object' && arguments[0] != undefined) { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurX__', '__special_glow_blurY__', '__special_glow_strength__'], [arguments[0].color, arguments[0].alpha, arguments[0].blurX, arguments[0].blurY, arguments[0].strength], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], {'__special_glow_quality__': arguments[0].quality, '__special_glow_inner__': arguments[0].inner, '__special_glow_knockout__': arguments[0].knockout}); } else { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurX__', '__special_glow_blurY__', '__special_glow_strength__'], [arguments[0], arguments[1], arguments[2], arguments[2], arguments[3]], arguments[7], arguments[8], arguments[9], arguments[10], arguments[11], arguments[12], {'__special_glow_quality__': arguments[4], '__special_glow_inner__': arguments[5], '__special_glow_knockout__': arguments[6]}); } }; MovieClip.prototype.glowTo = TextField.prototype.glowTo; ASSetPropFlags(MovieClip.prototype, 'glowTo', 1, 0); ASSetPropFlags(TextField.prototype, 'glowTo', 1, 0); TextField.prototype.xyGlowTo = function (propDest_color, propDest_alpha, propDest_blurX, propDest_blurY, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurX__', '__special_glow_blurY__', '__special_glow_strength__'], [propDest_color, propDest_alpha, propDest_blurX, propDest_blurY, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_glow_quality__': quality, '__special_glow_inner__': inner, '__special_glow_knockout__': knockout}); }; MovieClip.prototype.xyGlowTo = TextField.prototype.xyGlowTo; ASSetPropFlags(MovieClip.prototype, 'xyGlowTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xyGlowTo', 1, 0); TextField.prototype.xGlowTo = function (propDest_color, propDest_alpha, propDest_blur, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurX__', '__special_glow_strength__'], [propDest_color, propDest_alpha, propDest_blur, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_glow_quality__': quality, '__special_glow_inner__': inner, '__special_glow_knockout__': knockout}); }; MovieClip.prototype.xGlowTo = TextField.prototype.xGlowTo; ASSetPropFlags(MovieClip.prototype, 'xGlowTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xGlowTo', 1, 0); TextField.prototype.yGlowTo = function (propDest_color, propDest_alpha, propDest_blur, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurY__', '__special_glow_strength__'], [propDest_color, propDest_alpha, propDest_blur, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_glow_quality__': quality, '__special_glow_inner__': inner, '__special_glow_knockout__': knockout}); }; MovieClip.prototype.yGlowTo = TextField.prototype.yGlowTo; ASSetPropFlags(MovieClip.prototype, 'yGlowTo', 1, 0); ASSetPropFlags(TextField.prototype, 'yGlowTo', 1, 0); TextField.prototype.bevelTo = function () { if (typeof arguments[0] == 'object' && arguments[0] != undefined) { _global.$addTween(this, ['__special_bevel_distance__', '__special_bevel_angle__', '__special_bevel_highlightColor__', '__special_bevel_highlightAlpha__', '__special_bevel_shadowColor__', '__special_bevel_shadowAlpha__', '__special_bevel_blurX__', '__special_bevel_blurY__', '__special_bevel_strength__'], [arguments[0].distance, arguments[0].angle, arguments[0].highlightColor, arguments[0].highlightAlpha * 100, arguments[0].shadowColor, arguments[0].shadowAlpha * 100, arguments[0].blurX, arguments[0].blurY, arguments[0].strength], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], {'__special_bevel_quality__': arguments[0].quality, '__special_bevel_type__': arguments[0].type, '__special_bevel_knockout__': arguments[0].knockout}); } else { _global.$addTween(this, ['__special_bevel_distance__', '__special_bevel_angle__', '__special_bevel_highlightColor__', '__special_bevel_highlightAlpha__', '__special_bevel_shadowColor__', '__special_bevel_shadowAlpha__', '__special_bevel_blurX__', '__special_bevel_blurY__', '__special_bevel_strength__'], [arguments[0], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], arguments[6], arguments[7]], arguments[11], arguments[12], arguments[13], arguments[14], arguments[15], arguments[16], {'__special_bevel_quality__': arguments[8], '__special_bevel_type__': arguments[9], '__special_bevel_knockout__': arguments[10]}); } }; MovieClip.prototype.bevelTo = TextField.prototype.bevelTo; ASSetPropFlags(MovieClip.prototype, 'bevelTo', 1, 0); ASSetPropFlags(TextField.prototype, 'bevelTo', 1, 0); TextField.prototype.xyBevelTo = function (propDest_distance, propDest_angle, propDest_highlightColor, propDest_highlightAlpha, propDest_shadowColor, propDest_shadowAlpha, propDest_blurX, propDest_blurY, propDest_strength, quality, type, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_bevel_distance__', '__special_bevel_angle__', '__special_bevel_highlightColor__', '__special_bevel_highlightAlpha__', '__special_bevel_shadowColor__', '__special_bevel_shadowAlpha__', '__special_bevel_blurX__', '__special_bevel_blurY__', '__special_bevel_blurY__', '__special_bevel_strength__'], [propDest_distance, propDest_angle, propDest_highlightColor, propDest_highlightAlpha, propDest_shadowColor, propDest_shadowAlpha, propDest_blur, propDest_blur, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_bevel_quality__': quality, '__special_bevel_type__': type, '__special_bevel_knockout__': knockout}); }; MovieClip.prototype.xyBevelTo = TextField.prototype.xyBevelTo; ASSetPropFlags(MovieClip.prototype, 'xyBevelTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xyBevelTo', 1, 0); _global.findPointOnCurve = function (p1x, p1y, cx, cy, p2x, p2y, t) { return {'x': p1x + t * (2 * (1 - t) * (cx - p1x) + t * (p2x - p1x)), 'y': p1y + t * (2 * (1 - t) * (cy - p1y) + t * (p2y - p1y))}; }; ASSetPropFlags(_global, 'findPointOnCurve', 1, 0); _global.findTweenColor = function (objProp, tTime) { var v8 = objProp._propStart >> 16; var v4 = objProp._propDest >> 16; var v5 = objProp._propStart >> 8 & 255; var v6 = objProp._propDest >> 8 & 255; var v9 = objProp._propStart & 255; var v7 = objProp._propDest & 255; var v12 = Math.round(_global.findTweenValue(v8, v4, objProp._timeStart, tTime - objProp._delay * 1000, objProp._timeDest, objProp._animType, objProp._extra1, objProp._extra2)); var v10 = Math.round(_global.findTweenValue(v5, v6, objProp._timeStart, tTime - objProp._delay * 1000, objProp._timeDest, objProp._animType, objProp._extra1, objProp._extra2)); var v3 = Math.round(_global.findTweenValue(v9, v7, objProp._timeStart, tTime - objProp._delay * 1000, objProp._timeDest, objProp._animType, objProp._extra1, objProp._extra2)); return (v12 << 16) + (v10 << 8) + v3; }; _global.findTweenValue = function (_propStart, _propDest, _timeStart, _timeNow, _timeDest, _animType, _extra1, _extra2) { var v1 = _timeNow - _timeStart; var v4 = _propStart; var v2 = _propDest - _propStart; var v3 = _timeDest - _timeStart; var v6 = _extra1; var v7 = _extra2; var v5 = _extra1; switch (_animType.toLowerCase()) { trace('MC TWEEN ### Error on transition: there\'s no "' + _animType + '" animation type.'); return 0; case 'linear': return v2 * v1 / v3 + v4; case 'easeinquad': v1 /= v3; return v2 * v1 * v1 + v4; case 'easeoutquad': v1 /= v3; return -v2 * v1 * (v1 - 2) + v4; case 'easeinoutquad': v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * v1 * v1 + v4; } return (-v2 / 2) * (--v1 * (v1 - 2) - 1) + v4; case 'easeoutinquad': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutQuad') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInQuad') * 0.5 + v2 * 0.5 + v4; case 'easeincubic': v1 /= v3; return v2 * v1 * v1 * v1 + v4; case 'easeoutcubic': v1 = v1 / v3 - 1; return v2 * (v1 * v1 * v1 + 1) + v4; case 'easeinoutcubic': v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * v1 * v1 * v1 + v4; } v1 -= 2; return (v2 / 2) * (v1 * v1 * v1 + 2) + v4; case 'easeoutincubic': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutCubic') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInCubic') * 0.5 + v2 * 0.5 + v4; case 'easeinquart': v1 /= v3; return v2 * v1 * v1 * v1 * v1 + v4; case 'easeoutquart': v1 = v1 / v3 - 1; return -v2 * (v1 * v1 * v1 * v1 - 1) + v4; case 'easeinoutquart': v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * v1 * v1 * v1 * v1 + v4; } v1 -= 2; return (-v2 / 2) * (v1 * v1 * v1 * v1 - 2) + v4; case 'easeoutinquart': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutQuart') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInQuart') * 0.5 + v2 * 0.5 + v4; case 'easeinquint': v1 /= v3; return v2 * v1 * v1 * v1 * v1 * v1 + v4; case 'easeoutquint': v1 = v1 / v3 - 1; return v2 * (v1 * v1 * v1 * v1 * v1 + 1) + v4; case 'easeinoutquint': v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * v1 * v1 * v1 * v1 * v1 + v4; } v1 -= 2; return (v2 / 2) * (v1 * v1 * v1 * v1 * v1 + 2) + v4; case 'easeoutinquint': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutQuint') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInQuint') * 0.5 + v2 * 0.5 + v4; case 'easeinsine': return -v2 * Math.cos((v1 / v3) * 1.570796326794897) + v2 + v4; case 'easeoutsine': return v2 * Math.sin((v1 / v3) * 1.570796326794897) + v4; case 'easeinoutsine': return (-v2 / 2) * (Math.cos(Math.PI * v1 / v3) - 1) + v4; case 'easeoutinsine': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutSine') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInSine') * 0.5 + v2 * 0.5 + v4; case 'easeinexpo': return (v1 == 0) ? v4 : v2 * Math.pow(2, 10 * (v1 / v3 - 1)) + v4; case 'easeoutexpo': return (v1 == v3) ? v4 + v2 : v2 * (-Math.pow(2, -10 * v1 / v3) + 1) + v4; case 'easeinoutexpo': if (v1 == 0) { return v4; } if (v1 == v3) { return v4 + v2; } v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * Math.pow(2, 10 * (v1 - 1)) + v4; } return (v2 / 2) * (-Math.pow(2, -10 * --v1) + 2) + v4; case 'easeoutinexpo': if (v1 == 0) { return v4; } if (v1 == v3) { return v4 + v2; } v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * (-Math.pow(2, -10 * v1 / 1) + 1) + v4; } return (v2 / 2) * (Math.pow(2, 10 * (v1 - 2) / 1) + 1) + v4; case 'easeincirc': v1 /= v3; return -v2 * (Math.sqrt(1 - v1 * v1) - 1) + v4; case 'easeoutcirc': v1 = v1 / v3 - 1; return v2 * Math.sqrt(1 - v1 * v1) + v4; case 'easeinoutcirc': v1 /= v3 / 2; if (v1 < 1) { return (-v2 / 2) * (Math.sqrt(1 - v1 * v1) - 1) + v4; } v1 -= 2; return (v2 / 2) * (Math.sqrt(1 - v1 * v1) + 1) + v4; case 'easeoutincirc': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutCirc') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInCirc') * 0.5 + v2 * 0.5 + v4; case 'easeinelastic': if (v1 == 0) { return v4; } v1 /= v3; if (v1 == 1) { return v4 + v2; } if (!v7) { v7 = v3 * 0.3; } if (!v6 || v6 < Math.abs(v2)) { v6 = v2; v5 = v7 / 4; } else { v5 = (v7 / 6.283185307179586) * Math.asin(v2 / v6); } v1 -= 1; return -(v6 * Math.pow(2, 10 * v1) * Math.sin((v1 * v3 - v5) * 6.283185307179586 / v7)) + v4; case 'easeoutelastic': if (v1 == 0) { return v4; } v1 /= v3; if (v1 == 1) { return v4 + v2; } if (!v7) { v7 = v3 * 0.3; } if (!v6 || v6 < Math.abs(v2)) { v6 = v2; v5 = v7 / 4; } else { v5 = (v7 / 6.283185307179586) * Math.asin(v2 / v6); } return v6 * Math.pow(2, -10 * v1) * Math.sin((v1 * v3 - v5) * 6.283185307179586 / v7) + v2 + v4; case 'easeinoutelastic': if (v1 == 0) { return v4; } v1 /= v3 / 2; if (v1 == 2) { return v4 + v2; } if (!v7) { v7 = v3 * 0.45; } if (!v6 || v6 < Math.abs(v2)) { v6 = v2; v5 = v7 / 4; } else { v5 = (v7 / 6.283185307179586) * Math.asin(v2 / v6); } if (v1 < 1) { v1 -= 1; return -0.5 * (v6 * Math.pow(2, 10 * v1) * Math.sin((v1 * v3 - v5) * 6.283185307179586 / v7)) + v4; } v1 -= 1; return v6 * Math.pow(2, -10 * v1) * Math.sin((v1 * v3 - v5) * 6.283185307179586 / v7) * 0.5 + v2 + v4; case 'easeoutinelastic': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutElastic') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInElastic') * 0.5 + v2 * 0.5 + v4; case 'easeinback': if (v5 == undefined) { v5 = 1.70158; } v1 /= v3; return v2 * v1 * v1 * ((v5 + 1) * v1 - v5) + v4; case 'easeoutback': if (v5 == undefined) { v5 = 1.70158; } v1 = v1 / v3 - 1; return v2 * (v1 * v1 * ((v5 + 1) * v1 + v5) + 1) + v4; case 'easeinoutback': if (v5 == undefined) { v5 = 1.70158; } v1 /= v3 / 2; if (v1 < 1) { v5 *= 1.525; return (v2 / 2) * (v1 * v1 * ((v5 + 1) * v1 - v5)) + v4; } v1 -= 2; v5 *= 1.525; return (v2 / 2) * (v1 * v1 * ((v5 + 1) * v1 + v5) + 2) + v4; case 'easeoutinback': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutBack') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInBack') * 0.5 + v2 * 0.5 + v4; case 'easeinbounce': return v2 - findTweenValue(0, v2, 0, v3 - v1, v3, 'easeOutBounce') + v4; case 'easeoutbounce': v1 /= v3; if (v1 < 0.3636363636363637) { return v2 * (7.5625 * v1 * v1) + v4; } else { if (v1 < 0.7272727272727273) { v1 -= 0.5454545454545454; return v2 * (7.5625 * v1 * v1 + 0.75) + v4; } else { if (v1 < 0.9090909090909091) { v1 -= 0.8181818181818182; return v2 * (7.5625 * v1 * v1 + 0.9375) + v4; } else { v1 -= 0.9545454545454546; return v2 * (7.5625 * v1 * v1 + 0.984375) + v4; } } } case 'easeinoutbounce': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeInBounce') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeOutBounce') * 0.5 + v2 * 0.5 + v4; case 'easeoutinbounce': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutBounce') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInBounce') * 0.5 + v2 * 0.5 + v4; } trace('MC TWEEN ### Error on transition: there\'s no "' + _animType + '" animation type.'); return 0; }; ASSetPropFlags(_global, 'findTweenValue', 1, 0); wolke1.tween('_y', -155, 0.2, 'linear', 0); }; this.wolke2.onRelease = function () { _global.$createTweenController = function () { var v3 = _root.createEmptyMovieClip('__tweenController__', 123432); v3.$_tweenPropList = new Array(); v3.$_tTime = getTimer(); v3.onEnterFrame = _global.$updateTweens; }; ASSetPropFlags(_global, '$createTweenController', 1, 0); _global.$removeTweenController = function () { delete _root.__tweenController__.$_tweenPropList; delete _root.__tweenController__.$_tTime; delete _root.__tweenController__.onEnterFrame; _root.__tweenController__.removeMovieClip(); }; ASSetPropFlags(_global, '$removeTweenController', 1, 0); _global.$addTween = function (mtarget, prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2, extras) { if (timeSeconds == undefined) { timeSeconds = 0; } if (animType == undefined || animType == '') { animType = 'easeOutExpo'; } if (delay == undefined) { delay = 0; } if (typeof prop == 'string') { var v7 = [prop]; var v11 = [mtarget[prop]]; var v9 = [propDest]; } else { var v7 = []; var v11 = []; var v9 = []; for (var v32 in prop) { v11.push(mtarget[prop[v32]]); } for (v32 in prop) { v7.push(prop[v32]); } for (v32 in propDest) { v9.push(propDest[v32]); } } var v12 = false; if (_root.__tweenController__ == undefined) { _global.$createTweenController(); } var v4 = _root.__tweenController__.$_tweenPropList; var v8 = _root.__tweenController__.$_tTime; for (v32 in v11) { if (v9[v32] != undefined && !mtarget.$_isTweenLocked) { if (mtarget.$_tweenCount > 0) { var v3 = 0; while (v3 < v4.length) { if (v4[v3]._targ == mtarget && v4[v3]._prop == v7[v32]) { if (v8 + delay * 1000 < v4[v3]._timeDest) { v4.splice(v3, 1); --v3; --mtarget.$_tweenCount; } } ++v3; } } v4.push({'_prop': v7[v32], '_targ': mtarget, '_propStart': undefined, '_propDest': v9[v32], '_timeStart': v8, '_timeDest': v8 + timeSeconds * 1000, '_animType': animType, '_extra1': extra1, '_extra2': extra2, '_extras': extras, '_delay': delay, '_isPaused': false, '_timePaused': 0, '_callback': v12 ? undefined : callback}); mtarget.$_tweenCount = mtarget.$_tweenCount > 0 ? mtarget.$_tweenCount + 1 : 1; v12 = true; } } ASSetPropFlags(mtarget, '$_tweenCount', 1, 0); }; ASSetPropFlags(_global, '$addTween', 1, 0); _global.$updateTweens = function () { this.$_tTime = getTimer(); var v8 = this.$_tTime; var v6 = 0; while (v6 < this.$_tweenPropList.length) { var v3 = this.$_tweenPropList[v6]; if (v3._targ.toString() == undefined) { this.$_tweenPropList.splice(v6, 1); --v6; } else { if (v3._timeStart + v3._delay * 1000 <= v8 && !v3._isPaused) { if (v3._propStart == undefined) { if (v3._prop.substr(0, 10) == '__special_') { if (v3._prop == '__special_mc_frame__') { v3._propStart = v3._targ._currentframe; } else { if (v3._prop == '__special_mc_ra__') { v3._propStart = ((new Color(v3._targ)).getTransform()).ra; } else { if (v3._prop == '__special_mc_rb__') { v3._propStart = ((new Color(v3._targ)).getTransform()).rb; } else { if (v3._prop == '__special_mc_ga__') { v3._propStart = ((new Color(v3._targ)).getTransform()).ga; } else { if (v3._prop == '__special_mc_gb__') { v3._propStart = ((new Color(v3._targ)).getTransform()).gb; } else { if (v3._prop == '__special_mc_ba__') { v3._propStart = ((new Color(v3._targ)).getTransform()).ba; } else { if (v3._prop == '__special_mc_bb__') { v3._propStart = ((new Color(v3._targ)).getTransform()).bb; } else { if (v3._prop == '__special_mc_aa__') { v3._propStart = ((new Color(v3._targ)).getTransform()).aa; } else { if (v3._prop == '__special_mc_ab__') { v3._propStart = ((new Color(v3._targ)).getTransform()).ab; } else { if (v3._prop == '__special_text_r__') { v3._propStart = v3._targ.textColor >> 16; } else { if (v3._prop == '__special_text_g__') { v3._propStart = (v3._targ.textColor & 65280) >> 8; } else { if (v3._prop == '__special_text_b__') { v3._propStart = v3._targ.textColor & 255; } else { if (v3._prop == '__special_sound_volume__') { v3._propStart = v3._targ.getVolume(); } else { if (v3._prop == '__special_sound_pan__') { v3._propStart = v3._targ.getPan(); } else { if (v3._prop == '__special_bst_t__') { v3._propStart = 0; v3._extras.__special_bst_ix__ = v3._targ._x; v3._extras.__special_bst_iy__ = v3._targ._y; } else { if (v3._prop == '__special_blur_x__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BlurFilter) { v3._propStart = v3._targ.filters[v5].blurX; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_blur_y__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BlurFilter) { v3._propStart = v3._targ.filters[v5].blurY; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_glow_color__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].color; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 16777215; } } else { if (v3._prop == '__special_glow_alpha__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].alpha; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { if (v3._prop == '__special_glow_blurX__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].blurX; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_glow_blurY__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].blurY; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_glow_strength__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].strength; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { if (v3._prop == '__special_bevel_distance__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].distance; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_bevel_angle__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].angle; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 45; } } else { if (v3._prop == '__special_bevel_highlightColor__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].highlightColor; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 16777215; } } else { if (v3._prop == '__special_bevel_highlightAlpha__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].highlightAlpha; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { if (v3._prop == '__special_bevel_shadowColor__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].shadowColor; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_bevel_shadowAlpha__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].shadowAlpha; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { if (v3._prop == '__special_bevel_blurX__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].blurX; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_bevel_blurY__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].blurY; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_bevel_strength__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].strength; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { v3._propStart = v3._targ[v3._prop]; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } else { v3._propStart = v3._targ[v3._prop]; } } var v10 = v3._timeDest + v3._delay * 1000; if (v10 <= v8) { var v4 = v3._propDest; } else { var v4 = _global.findTweenValue(v3._propStart, v3._propDest, v3._timeStart, v8 - v3._delay * 1000, v3._timeDest, v3._animType, v3._extra1, v3._extra2); } v3._targ[v3._prop] = v3._extras.mustRound ? Math.round(v4) : v4; if (v3._prop == '__special_mc_frame__') { v3._targ.gotoAndStop(Math.round(v4)); } else { if (v3._prop == '__special_mc_ra__') { (new Color(v3._targ)).setTransform({'ra': v4}); } else { if (v3._prop == '__special_mc_rb__') { (new Color(v3._targ)).setTransform({'rb': v4}); } else { if (v3._prop == '__special_mc_ga__') { (new Color(v3._targ)).setTransform({'ga': v4}); } else { if (v3._prop == '__special_mc_gb__') { (new Color(v3._targ)).setTransform({'gb': v4}); } else { if (v3._prop == '__special_mc_ba__') { (new Color(v3._targ)).setTransform({'ba': v4}); } else { if (v3._prop == '__special_mc_bb__') { (new Color(v3._targ)).setTransform({'bb': v4}); } else { if (v3._prop == '__special_mc_aa__') { (new Color(v3._targ)).setTransform({'aa': v4}); } else { if (v3._prop == '__special_mc_ab__') { (new Color(v3._targ)).setTransform({'ab': v4}); } } } } } } } } } if (v3._prop == '__special_bst_t__') { var v7 = v3._extras; var v9 = _global.findPointOnCurve(v7.__special_bst_ix__, v7.__special_bst_iy__, v7.__special_bst_cx__, v7.__special_bst_cy__, v7.__special_bst_dx__, v7.__special_bst_dy__, v4); if (v3._extras.mustRound) { v3._targ._x = Math.round(v9.x); v3._targ._y = Math.round(v9.y); } else { v3._targ._x = v9.x; v3._targ._y = v9.y; } } if (typeof v3._targ != 'movieclip' && v3._prop == '__special_text_b__') { v3._targ.textColor = (v3._targ.__special_text_r__ << 16) + (v3._targ.__special_text_g__ << 8) + v3._targ.__special_text_b__; } if (v3._prop == '__special_sound_volume__') { v3._targ.setVolume(v4); } if (v3._prop == '__special_sound_pan__') { v3._targ.setPan(v4); } if (v3._prop == '__special_blur_x__') { _global.$setFilterProperty(v3._targ, 'blur_blurX', v4, v3._extras); } if (v3._prop == '__special_blur_y__') { _global.$setFilterProperty(v3._targ, 'blur_blurY', v4, v3._extras); } if (v3._prop == '__special_glow_color__') { _global.$setFilterProperty(v3._targ, 'glow_color', _global.findTweenColor(v3, v8), v3._extras); } if (v3._prop == '__special_glow_alpha__') { _global.$setFilterProperty(v3._targ, 'glow_alpha', v4, v3._extras); } if (v3._prop == '__special_glow_blurX__') { _global.$setFilterProperty(v3._targ, 'glow_blurX', v4, v3._extras); } if (v3._prop == '__special_glow_blurY__') { _global.$setFilterProperty(v3._targ, 'glow_blurY', v4, v3._extras); } if (v3._prop == '__special_glow_strength__') { _global.$setFilterProperty(v3._targ, 'glow_strength', v4, v3._extras); } if (v3._prop == '__special_bevel_distance__') { _global.$setFilterProperty(v3._targ, 'bevel_distance', v4, v3._extras); } if (v3._prop == '__special_bevel_angle__') { _global.$setFilterProperty(v3._targ, 'bevel_angle', v4, v3._extras); } if (v3._prop == '__special_bevel_highlightColor__') { _global.$setFilterProperty(v3._targ, 'bevel_highlightColor', _global.findTweenColor(v3, v8), v3._extras); } if (v3._prop == '__special_bevel_highlightAlpha__') { _global.$setFilterProperty(v3._targ, 'bevel_highlightAlpha', v4, v3._extras); } if (v3._prop == '__special_bevel_shadowColor__') { _global.$setFilterProperty(v3._targ, 'bevel_shadowColor', _global.findTweenColor(v3, v8), v3._extras); } if (v3._prop == '__special_bevel_shadowAlpha__') { _global.$setFilterProperty(v3._targ, 'bevel_shadowAlpha', v4, v3._extras); } if (v3._prop == '__special_bevel_blurX__') { _global.$setFilterProperty(v3._targ, 'bevel_blurX', v4, v3._extras); } if (v3._prop == '__special_bevel_blurY__') { _global.$setFilterProperty(v3._targ, 'bevel_blurY', v4, v3._extras); } if (v3._prop == '__special_bevel_strength__') { _global.$setFilterProperty(v3._targ, 'bevel_strength', v4, v3._extras); } if (v3._targ.onTweenUpdate != undefined) { v3._targ.onTweenUpdate(v3._prop); } if (v10 <= v8) { if (v3._targ.onTweenComplete != undefined) { v3._targ.onTweenComplete(v3._prop); } _global.$stopTween(v3._targ, [v3._prop], false); --v6; if (v3._callback != undefined) { if (_global.backwardCallbackTweening) { var v11 = v3._targ.createEmptyMovieClip('__child__', 122344); v3._callback.apply(v11, null); v11.removeMovieClip(); } else { v3._callback.apply(v3._targ, null); } } } } } ++v6; } if (this.$_tweenPropList.length == 0) { _global.$removeTweenController(); } }; ASSetPropFlags(_global, '$updateTween', 1, 0); _global.$stopTween = function (mtarget, props, wipeFuture) { var v4 = _root.__tweenController__.$_tweenPropList; var v7; for (var v9 in v4) { v7 = v4[v9]._prop; var v5 = 0; for (;;) { if (!(v5 < props.length || v5 < 1 && props == undefined)) break; if (v4[v9]._targ == mtarget && (v7 == props[v5] || props == undefined) && (wipeFuture || v4[v9]._timeDest + v4[v9]._delay * 1000 <= getTimer())) { switch (v7) { case '__special_mc_frame__': case '__special_mc_ra__': case '__special_mc_rb__': case '__special_mc_ga__': case '__special_mc_gb__': case '__special_mc_ba__': case '__special_mc_bb__': case '__special_mc_aa__': case '__special_mc_ab__': case '__special_sound_volume__': case '__special_bst_t__': delete mtarget[v7]; break; case '__special_text_b__': delete mtarget.__special_text_r__; delete mtarget.__special_text_g__; delete mtarget.__special_text_b__; } v4.splice(v9, 1); } ++v5; } } if (props == undefined) { delete mtarget.$_tweenCount; } else { mtarget.$_tweenCount = 0; for (v9 in v4) { if (v4[v9]._targ == mtarget) { ++mtarget.$_tweenCount; } } if (mtarget.$_tweenCount == 0) { delete mtarget.$_tweenCount; } } if (v4.length == 0) { _global.$removeTweenController(); } }; ASSetPropFlags(_global, '$stopTween', 1, 0); _global.$setFilterProperty = function (mtarget, propName, propValue, extras) { var v1; var v7 = false; var v3 = []; v1 = 0; while (v1 < mtarget.filters.length) { v3.push(mtarget.filters[v1]); ++v1; } if (propName.substr(0, 5) == 'blur_') { v1 = 0; while (v1 < mtarget.filters.length) { if (v3[v1] instanceof flash.filters.BlurFilter) { v3[v1][propName.substr(5)] = propValue; if (extras.__special_blur_quality__ != undefined) { v3[v1].quality = extras.__special_blur_quality__; } v7 = true; break; } ++v1; } if (!v7) { var v9; var v8 = (extras.__special_blur_quality__ == undefined) ? 2 : extras.__special_blur_quality__; if (propName == 'blur_blurX') { v9 = new flash.filters.BlurFilter(propValue, 0, v8); } if (propName == 'blur_blurY') { v9 = new flash.filters.BlurFilter(0, propValue, v8); } v3.push(v9); } } else { if (propName.substr(0, 5) == 'glow_') { v1 = 0; while (v1 < mtarget.filters.length) { if (v3[v1] instanceof flash.filters.GlowFilter) { v3[v1][propName.substr(5)] = propValue; if (extras.__special_glow_quality__ != undefined) { v3[v1].quality = extras.__special_glow_quality__; } if (extras.__special_glow_inner__ != undefined) { v3[v1].inner = extras.__special_glow_inner__; } if (extras.__special_glow_knockout__ != undefined) { v3[v1].knockout = extras.__special_glow_knockout__; } v7 = true; break; } ++v1; } if (!v7) { var v8 = (extras.__special_glow_quality__ == undefined) ? 2 : extras.__special_glow_quality__; var v12 = (extras.__special_glow_inner__ == undefined) ? false : extras.__special_glow_inner__; var v10 = (extras.__special_glow_knockout__ == undefined) ? false : extras.__special_glow_knockout__; if (propName == 'glow_color') { var v9 = new flash.filters.GlowFilter(propValue, 1, 0, 0, 1, v8, v12, v10); } if (propName == 'glow_alpha') { v9 = new flash.filters.GlowFilter(16777215, propValue, 0, 0, 1, v8, v12, v10); } if (propName == 'glow_blurX') { v9 = new flash.filters.GlowFilter(16777215, 1, propValue, 0, 1, v8, v12, v10); } if (propName == 'glow_blurY') { v9 = new flash.filters.GlowFilter(16777215, 1, 0, propValue, 1, v8, v12, v10); } if (propName == 'glow_strength') { v9 = new flash.filters.GlowFilter(16777215, 1, 0, 0, propValue, v8, v12, v10); } v3.push(v9); } } else { if (propName.substr(0, 6) == 'bevel_') { v1 = 0; while (v1 < mtarget.filters.length) { if (v3[v1] instanceof flash.filters.BevelFilter) { v3[v1][propName.substr(6)] = propValue; if (extras.__special_bevel_quality__ != undefined) { v3[v1].quality = extras.__special_bevel_quality__; } if (extras.__special_bevel_type__ != undefined) { v3[v1].inner = extras.__special_bevel_type__; } if (extras.__special_bevel_knockout__ != undefined) { v3[v1].knockout = extras.__special_bevel_knockout__; } v7 = true; break; } ++v1; } if (!v7) { var v8 = (extras.__special_bevel_quality__ == undefined) ? 2 : extras.__special_bevel_quality__; var v11 = (extras.__special_bevel_type__ == undefined) ? 'inner' : extras.__special_bevel_type__; var v10 = (extras.__special_bevel_knockout__ == undefined) ? false : extras.__special_bevel_knockout__; if (propName == 'bevel_distance') { var v9 = new flash.filters.BevelFilter(propValue, 45, 16777215, 1, 0, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_angle') { v9 = new flash.filters.BevelFilter(0, propValue, 16777215, 1, 0, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_highlightColor') { v9 = new flash.filters.BevelFilter(0, 45, propValue, 1, 0, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_highlightAlpha') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, propValue, 0, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_shadowColor') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, propValue, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_shadowAlpha') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, propValue, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_blurX') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, 1, propValue, 0, 1, v8, v11, v10); } if (propName == 'bevel_blurY') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, 1, 0, propValue, 1, v8, v11, v10); } if (propName == 'bevel_strength') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, 1, 0, 0, propValue, v8, v11, v10); } v3.push(v9); } } else { return undefined; } } } mtarget.filters = v3; }; Sound.prototype.tween = function (prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2); }; TextField.prototype.tween = Sound.prototype.tween; MovieClip.prototype.tween = Sound.prototype.tween; ASSetPropFlags(MovieClip.prototype, 'tween', 1, 0); ASSetPropFlags(TextField.prototype, 'tween', 1, 0); ASSetPropFlags(Sound.prototype, 'tween', 1, 0); Sound.prototype.roundedTween = function (prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2, {'mustRound': true}); }; TextField.prototype.roundedTween = Sound.prototype.roundedTween; MovieClip.prototype.roundedTween = Sound.prototype.roundedTween; ASSetPropFlags(MovieClip.prototype, 'roundedTween', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedTween', 1, 0); ASSetPropFlags(Sound.prototype, 'roundedTween', 1, 0); Sound.prototype.stopTween = function (props) { if (typeof props == 'string') { props = [props]; } if (props != undefined) { var v4 = 1; while (v4 < arguments.length) { props.push(arguments[v4]); ++v4; } } _global.$stopTween(this, props, true); }; TextField.prototype.stopTween = Sound.prototype.stopTween; MovieClip.prototype.stopTween = Sound.prototype.stopTween; ASSetPropFlags(MovieClip.prototype, 'stopTween', 1, 0); ASSetPropFlags(TextField.prototype, 'stopTween', 1, 0); ASSetPropFlags(Sound.prototype, 'stopTween', 1, 0); Sound.prototype.pauseTween = function (props) { if (props != undefined) { if (typeof props == 'string') { props = [props]; } var v6 = 1; while (v6 < Arguments.length) { props.push(Arguments[v6]); ++v6; } } var v4 = _root.__tweenController__.$_tweenPropList; var v5; for (var v7 in v4) { if (v4[v7]._targ == this && !v4[v7]._isPaused) { if (props != undefined) { v5 = false; for (v6 in props) { if (props[v6] == v4[v7]._prop) { v5 = true; break; } } } if (props == undefined || v5) { v4[v7]._isPaused = true; v4[v7]._timePaused = _root.__tweenController__.$_tTime; } } } }; TextField.prototype.pauseTween = Sound.prototype.pauseTween; MovieClip.prototype.pauseTween = Sound.prototype.pauseTween; ASSetPropFlags(MovieClip.prototype, 'pauseTween', 1, 0); ASSetPropFlags(TextField.prototype, 'pauseTween', 1, 0); ASSetPropFlags(Sound.prototype, 'pauseTween', 1, 0); Sound.prototype.resumeTween = function (props) { if (props != undefined) { if (typeof props == 'string') { props = [props]; } var v7 = 1; while (v7 < Arguments.length) { props.push(Arguments[v7]); ++v7; } } var v3 = _root.__tweenController__.$_tweenPropList; var v5; var v6; for (var v8 in v3) { if (v3[v8]._targ == this && v3[v8]._isPaused) { if (props != undefined) { v5 = false; for (v7 in props) { if (props[v7] == v3[v8]._prop) { v5 = true; break; } } } if (props == undefined || v5) { v3[v8]._isPaused = false; v6 = _root.__tweenController__.$_tTime - v3[v8]._timePaused; v3[v8]._timeStart += v6; v3[v8]._timeDest += v6; v3[v8]._timePaused = 0; } } } }; TextField.prototype.resumeTween = Sound.prototype.resumeTween; MovieClip.prototype.resumeTween = Sound.prototype.resumeTween; ASSetPropFlags(MovieClip.prototype, 'resumeTween', 1, 0); ASSetPropFlags(TextField.prototype, 'resumeTween', 1, 0); ASSetPropFlags(Sound.prototype, 'resumeTween', 1, 0); Sound.prototype.lockTween = function () { this.$_isTweenLocked = true; ASSetPropFlags(this, 'this.$_isTweenLocked', 1, 0); }; TextField.prototype.lockTween = Sound.prototype.lockTween; MovieClip.prototype.lockTween = Sound.prototype.lockTween; ASSetPropFlags(MovieClip.prototype, 'lockTween', 1, 0); ASSetPropFlags(TextField.prototype, 'lockTween', 1, 0); ASSetPropFlags(Sound.prototype, 'lockTween', 1, 0); Sound.prototype.unlockTween = function () { delete this.$_isTweenLocked; }; TextField.prototype.unlockTween = Sound.prototype.unlockTween; MovieClip.prototype.unlockTween = Sound.prototype.unlockTween; ASSetPropFlags(MovieClip.prototype, 'unlockTween', 1, 0); ASSetPropFlags(TextField.prototype, 'unlockTween', 1, 0); ASSetPropFlags(Sound.prototype, 'unlockTween', 1, 0); Sound.prototype.getTweens = function () { return this.$_tweenCount; }; TextField.prototype.getTweens = Sound.prototype.getTweens; MovieClip.prototype.getTweens = Sound.prototype.getTweens; ASSetPropFlags(MovieClip.prototype, 'getTweens', 1, 0); ASSetPropFlags(TextField.prototype, 'getTweens', 1, 0); ASSetPropFlags(Sound.prototype, 'getTweens', 1, 0); Sound.prototype.isTweening = function () { return this.$_tweenCount > 0 ? true : false; }; TextField.prototype.isTweening = Sound.prototype.isTweening; MovieClip.prototype.isTweening = Sound.prototype.isTweening; ASSetPropFlags(MovieClip.prototype, 'isTweening', 1, 0); ASSetPropFlags(TextField.prototype, 'isTweening', 1, 0); ASSetPropFlags(Sound.prototype, 'isTweening', 1, 0); TextField.prototype.alphaTo = function (propDest_a, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_alpha', propDest_a, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.alphaTo = TextField.prototype.alphaTo; ASSetPropFlags(MovieClip.prototype, 'alphaTo', 1, 0); ASSetPropFlags(TextField.prototype, 'alphaTo', 1, 0); MovieClip.prototype.frameTo = function (propDest_frame, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_mc_frame__', propDest_frame, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(MovieClip.prototype, 'frameTo', 1, 0); TextField.prototype.resizeTo = function (propDest_width, propDest_height, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['_width', '_height'], [propDest_width, propDest_height], timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.resizeTo = TextField.prototype.resizeTo; ASSetPropFlags(MovieClip.prototype, 'resizeTo', 1, 0); ASSetPropFlags(TextField.prototype, 'resizeTo', 1, 0); TextField.prototype.rotateTo = function (propDest_rotation, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_rotation', propDest_rotation, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.rotateTo = TextField.prototype.rotateTo; ASSetPropFlags(MovieClip.prototype, 'rotateTo', 1, 0); ASSetPropFlags(TextField.prototype, 'rotateTo', 1, 0); TextField.prototype.scaleTo = function (propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['_xscale', '_yscale'], [propDest_scale, propDest_scale], timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.scaleTo = TextField.prototype.scaleTo; ASSetPropFlags(MovieClip.prototype, 'scaleTo', 1, 0); ASSetPropFlags(TextField.prototype, 'scaleTo', 1, 0); TextField.prototype.xScaleTo = function (propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_xscale', propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.xScaleTo = TextField.prototype.xScaleTo; ASSetPropFlags(MovieClip.prototype, 'xScaleTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xScaleTo', 1, 0); TextField.prototype.yScaleTo = function (propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_yscale', propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.yScaleTo = TextField.prototype.yScaleTo; ASSetPropFlags(MovieClip.prototype, 'yScaleTo', 1, 0); ASSetPropFlags(TextField.prototype, 'yScaleTo', 1, 0); TextField.prototype.scrollTo = function (propDest_scroll, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, 'scroll', propDest_scroll, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(TextField.prototype, 'scrollTo', 1, 0); TextField.prototype.slideTo = function (propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['_x', '_y'], [propDest_x, propDest_y], timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.slideTo = TextField.prototype.slideTo; ASSetPropFlags(MovieClip.prototype, 'slideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'slideTo', 1, 0); TextField.prototype.roundedSlideTo = function (propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['_x', '_y'], [propDest_x, propDest_y], timeSeconds, animType, delay, callback, extra1, extra2, {'mustRound': true}); }; MovieClip.prototype.roundedSlideTo = TextField.prototype.roundedSlideTo; ASSetPropFlags(MovieClip.prototype, 'roundedSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedSlideTo', 1, 0); TextField.prototype.xSlideTo = function (propDest_x, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_x', propDest_x, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.xSlideTo = TextField.prototype.xSlideTo; ASSetPropFlags(MovieClip.prototype, 'xSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xSlideTo', 1, 0); TextField.prototype.roundedXSlideTo = function (propDest_x, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_x', propDest_x, timeSeconds, animType, delay, callback, extra1, extra2, {'mustRound': true}); }; MovieClip.prototype.roundedXSlideTo = TextField.prototype.roundedXSlideTo; ASSetPropFlags(MovieClip.prototype, 'roundedXSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedXSlideTo', 1, 0); TextField.prototype.ySlideTo = function (propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_y', propDest_y, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.ySlideTo = TextField.prototype.ySlideTo; ASSetPropFlags(MovieClip.prototype, 'ySlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'ySlideTo', 1, 0); TextField.prototype.roundedYSlideTo = function (propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_y', propDest_y, timeSeconds, animType, delay, callback, extra1, extra2, {'mustRound': true}); }; MovieClip.prototype.roundedYSlideTo = TextField.prototype.roundedYSlideTo; ASSetPropFlags(MovieClip.prototype, 'roundedYSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedYSlideTo', 1, 0); TextField.prototype.bezierSlideTo = function (cpoint_x, cpoint_y, propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { var v3 = new Object(); v3.__special_bst_ix__ = undefined; v3.__special_bst_iy__ = undefined; v3.__special_bst_cx__ = cpoint_x; v3.__special_bst_cy__ = cpoint_y; v3.__special_bst_dx__ = propDest_x; v3.__special_bst_dy__ = propDest_y; _global.$addTween(this, '__special_bst_t__', 1, timeSeconds, animType, delay, callback, extra1, extra2, v3); }; MovieClip.prototype.bezierSlideTo = TextField.prototype.bezierSlideTo; ASSetPropFlags(MovieClip.prototype, 'bezierSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'bezierSlideTo', 1, 0); TextField.prototype.roundedBezierSlideTo = function (cpoint_x, cpoint_y, propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { var v3 = new Object(); v3.__special_bst_ix__ = undefined; v3.__special_bst_iy__ = undefined; v3.__special_bst_cx__ = cpoint_x; v3.__special_bst_cy__ = cpoint_y; v3.__special_bst_dx__ = propDest_x; v3.__special_bst_dy__ = propDest_y; v3.mustRound = true; _global.$addTween(this, '__special_bst_t__', 1, timeSeconds, animType, delay, callback, extra1, extra2, v3); }; MovieClip.prototype.roundedBezierSlideTo = TextField.prototype.roundedBezierSlideTo; ASSetPropFlags(MovieClip.prototype, 'roundedBezierSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedBezierSlideTo', 1, 0); Sound.prototype.volumeTo = function (propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_sound_volume__', propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(Sound.prototype, 'volumeTo', 1, 0); Sound.prototype.panTo = function (propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_sound_pan__', propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(Sound.prototype, 'panTo', 1, 0); MovieClip.prototype.colorTo = function (propDest_color, timeSeconds, animType, delay, callback, extra1, extra2) { if (propDest_color == null) { this.colorTransformTo(100, 0, 100, 0, 100, 0, undefined, undefined, timeSeconds, animType, delay, callback, extra1, extra2); } else { var v3 = propDest_color >> 16; var v5 = (propDest_color & 65280) >> 8; var v4 = propDest_color & 255; this.colorTransformTo(0, v3, 0, v5, 0, v4, undefined, undefined, timeSeconds, animType, delay, callback, extra1, extra2); } }; ASSetPropFlags(MovieClip.prototype, 'colorTo', 1, 0); TextField.prototype.colorTo = function (propDest_color, timeSeconds, animType, delay, callback, extra1, extra2) { var v3 = propDest_color >> 16; var v6 = (propDest_color & 65280) >> 8; var v4 = propDest_color & 255; _global.$addTween(this, ['__special_text_r__', '__special_text_g__', '__special_text_b__'], [v3, v6, v4], timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(TextField.prototype, 'colorTo', 1, 0); MovieClip.prototype.colorTransformTo = function () { if (typeof arguments[0] == 'object' && arguments[0] != undefined) { _global.$addTween(this, ['__special_mc_ra__', '__special_mc_rb__', '__special_mc_ga__', '__special_mc_gb__', '__special_mc_ba__', '__special_mc_bb__', '__special_mc_aa__', '__special_mc_ab__'], [arguments[0].ra, arguments[0].rb, arguments[0].ga, arguments[0].gb, arguments[0].ba, arguments[0].bb, arguments[0].aa, arguments[0].ab], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6]); } else { _global.$addTween(this, ['__special_mc_ra__', '__special_mc_rb__', '__special_mc_ga__', '__special_mc_gb__', '__special_mc_ba__', '__special_mc_bb__', '__special_mc_aa__', '__special_mc_ab__'], [arguments[0], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], arguments[7]], arguments[8], arguments[9], arguments[10], arguments[11], arguments[12], arguments[13]); } }; ASSetPropFlags(MovieClip.prototype, 'colorTransformTo', 1, 0); TextField.prototype.blurTo = function () { if (typeof arguments[0] == 'object' && arguments[0] != undefined) { _global.$addTween(this, ['__special_blur_x__', '__special_blur_y__'], [arguments[0].blurX, arguments[0].blurY], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], {'__special_blur_quality__': arguments[0].quality}); } else { _global.$addTween(this, ['__special_blur_x__', '__special_blur_y__'], [arguments[0], arguments[0]], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], arguments[7], {'__special_blur_quality__': arguments[1]}); } }; MovieClip.prototype.blurTo = TextField.prototype.blurTo; ASSetPropFlags(MovieClip.prototype, 'blurTo', 1, 0); ASSetPropFlags(TextField.prototype, 'blurTo', 1, 0); TextField.prototype.xyBlurTo = function (propDest_blurX, propDest_blurY, quality, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_blur_x__', '__special_blur_y__'], [propDest_blurX, propDest_blurY], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_blur_quality__': quality}); }; MovieClip.prototype.xyBlurTo = TextField.prototype.xyBlurTo; ASSetPropFlags(MovieClip.prototype, 'xyBlurTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xyBlurTo', 1, 0); TextField.prototype.xBlurTo = function (propDest_blur, quality, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_blur_x__', propDest_blur, timeSeconds, animType, delay, callback, extra1, extra2, {'__special_blur_quality__': quality}); }; MovieClip.prototype.xBlurTo = TextField.prototype.xBlurTo; ASSetPropFlags(MovieClip.prototype, 'xBlurTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xBlurTo', 1, 0); TextField.prototype.yBlurTo = function (propDest_blur, quality, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_blur_y__', propDest_blur, timeSeconds, animType, delay, callback, extra1, extra2, {'__special_blur_quality__': quality}); }; MovieClip.prototype.yBlurTo = TextField.prototype.yBlurTo; ASSetPropFlags(MovieClip.prototype, 'yBlurTo', 1, 0); ASSetPropFlags(TextField.prototype, 'yBlurTo', 1, 0); TextField.prototype.glowTo = function () { if (typeof arguments[0] == 'object' && arguments[0] != undefined) { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurX__', '__special_glow_blurY__', '__special_glow_strength__'], [arguments[0].color, arguments[0].alpha, arguments[0].blurX, arguments[0].blurY, arguments[0].strength], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], {'__special_glow_quality__': arguments[0].quality, '__special_glow_inner__': arguments[0].inner, '__special_glow_knockout__': arguments[0].knockout}); } else { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurX__', '__special_glow_blurY__', '__special_glow_strength__'], [arguments[0], arguments[1], arguments[2], arguments[2], arguments[3]], arguments[7], arguments[8], arguments[9], arguments[10], arguments[11], arguments[12], {'__special_glow_quality__': arguments[4], '__special_glow_inner__': arguments[5], '__special_glow_knockout__': arguments[6]}); } }; MovieClip.prototype.glowTo = TextField.prototype.glowTo; ASSetPropFlags(MovieClip.prototype, 'glowTo', 1, 0); ASSetPropFlags(TextField.prototype, 'glowTo', 1, 0); TextField.prototype.xyGlowTo = function (propDest_color, propDest_alpha, propDest_blurX, propDest_blurY, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurX__', '__special_glow_blurY__', '__special_glow_strength__'], [propDest_color, propDest_alpha, propDest_blurX, propDest_blurY, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_glow_quality__': quality, '__special_glow_inner__': inner, '__special_glow_knockout__': knockout}); }; MovieClip.prototype.xyGlowTo = TextField.prototype.xyGlowTo; ASSetPropFlags(MovieClip.prototype, 'xyGlowTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xyGlowTo', 1, 0); TextField.prototype.xGlowTo = function (propDest_color, propDest_alpha, propDest_blur, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurX__', '__special_glow_strength__'], [propDest_color, propDest_alpha, propDest_blur, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_glow_quality__': quality, '__special_glow_inner__': inner, '__special_glow_knockout__': knockout}); }; MovieClip.prototype.xGlowTo = TextField.prototype.xGlowTo; ASSetPropFlags(MovieClip.prototype, 'xGlowTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xGlowTo', 1, 0); TextField.prototype.yGlowTo = function (propDest_color, propDest_alpha, propDest_blur, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurY__', '__special_glow_strength__'], [propDest_color, propDest_alpha, propDest_blur, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_glow_quality__': quality, '__special_glow_inner__': inner, '__special_glow_knockout__': knockout}); }; MovieClip.prototype.yGlowTo = TextField.prototype.yGlowTo; ASSetPropFlags(MovieClip.prototype, 'yGlowTo', 1, 0); ASSetPropFlags(TextField.prototype, 'yGlowTo', 1, 0); TextField.prototype.bevelTo = function () { if (typeof arguments[0] == 'object' && arguments[0] != undefined) { _global.$addTween(this, ['__special_bevel_distance__', '__special_bevel_angle__', '__special_bevel_highlightColor__', '__special_bevel_highlightAlpha__', '__special_bevel_shadowColor__', '__special_bevel_shadowAlpha__', '__special_bevel_blurX__', '__special_bevel_blurY__', '__special_bevel_strength__'], [arguments[0].distance, arguments[0].angle, arguments[0].highlightColor, arguments[0].highlightAlpha * 100, arguments[0].shadowColor, arguments[0].shadowAlpha * 100, arguments[0].blurX, arguments[0].blurY, arguments[0].strength], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], {'__special_bevel_quality__': arguments[0].quality, '__special_bevel_type__': arguments[0].type, '__special_bevel_knockout__': arguments[0].knockout}); } else { _global.$addTween(this, ['__special_bevel_distance__', '__special_bevel_angle__', '__special_bevel_highlightColor__', '__special_bevel_highlightAlpha__', '__special_bevel_shadowColor__', '__special_bevel_shadowAlpha__', '__special_bevel_blurX__', '__special_bevel_blurY__', '__special_bevel_strength__'], [arguments[0], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], arguments[6], arguments[7]], arguments[11], arguments[12], arguments[13], arguments[14], arguments[15], arguments[16], {'__special_bevel_quality__': arguments[8], '__special_bevel_type__': arguments[9], '__special_bevel_knockout__': arguments[10]}); } }; MovieClip.prototype.bevelTo = TextField.prototype.bevelTo; ASSetPropFlags(MovieClip.prototype, 'bevelTo', 1, 0); ASSetPropFlags(TextField.prototype, 'bevelTo', 1, 0); TextField.prototype.xyBevelTo = function (propDest_distance, propDest_angle, propDest_highlightColor, propDest_highlightAlpha, propDest_shadowColor, propDest_shadowAlpha, propDest_blurX, propDest_blurY, propDest_strength, quality, type, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_bevel_distance__', '__special_bevel_angle__', '__special_bevel_highlightColor__', '__special_bevel_highlightAlpha__', '__special_bevel_shadowColor__', '__special_bevel_shadowAlpha__', '__special_bevel_blurX__', '__special_bevel_blurY__', '__special_bevel_blurY__', '__special_bevel_strength__'], [propDest_distance, propDest_angle, propDest_highlightColor, propDest_highlightAlpha, propDest_shadowColor, propDest_shadowAlpha, propDest_blur, propDest_blur, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_bevel_quality__': quality, '__special_bevel_type__': type, '__special_bevel_knockout__': knockout}); }; MovieClip.prototype.xyBevelTo = TextField.prototype.xyBevelTo; ASSetPropFlags(MovieClip.prototype, 'xyBevelTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xyBevelTo', 1, 0); _global.findPointOnCurve = function (p1x, p1y, cx, cy, p2x, p2y, t) { return {'x': p1x + t * (2 * (1 - t) * (cx - p1x) + t * (p2x - p1x)), 'y': p1y + t * (2 * (1 - t) * (cy - p1y) + t * (p2y - p1y))}; }; ASSetPropFlags(_global, 'findPointOnCurve', 1, 0); _global.findTweenColor = function (objProp, tTime) { var v8 = objProp._propStart >> 16; var v4 = objProp._propDest >> 16; var v5 = objProp._propStart >> 8 & 255; var v6 = objProp._propDest >> 8 & 255; var v9 = objProp._propStart & 255; var v7 = objProp._propDest & 255; var v12 = Math.round(_global.findTweenValue(v8, v4, objProp._timeStart, tTime - objProp._delay * 1000, objProp._timeDest, objProp._animType, objProp._extra1, objProp._extra2)); var v10 = Math.round(_global.findTweenValue(v5, v6, objProp._timeStart, tTime - objProp._delay * 1000, objProp._timeDest, objProp._animType, objProp._extra1, objProp._extra2)); var v3 = Math.round(_global.findTweenValue(v9, v7, objProp._timeStart, tTime - objProp._delay * 1000, objProp._timeDest, objProp._animType, objProp._extra1, objProp._extra2)); return (v12 << 16) + (v10 << 8) + v3; }; _global.findTweenValue = function (_propStart, _propDest, _timeStart, _timeNow, _timeDest, _animType, _extra1, _extra2) { var v1 = _timeNow - _timeStart; var v4 = _propStart; var v2 = _propDest - _propStart; var v3 = _timeDest - _timeStart; var v6 = _extra1; var v7 = _extra2; var v5 = _extra1; switch (_animType.toLowerCase()) { trace('MC TWEEN ### Error on transition: there\'s no "' + _animType + '" animation type.'); return 0; case 'linear': return v2 * v1 / v3 + v4; case 'easeinquad': v1 /= v3; return v2 * v1 * v1 + v4; case 'easeoutquad': v1 /= v3; return -v2 * v1 * (v1 - 2) + v4; case 'easeinoutquad': v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * v1 * v1 + v4; } return (-v2 / 2) * (--v1 * (v1 - 2) - 1) + v4; case 'easeoutinquad': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutQuad') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInQuad') * 0.5 + v2 * 0.5 + v4; case 'easeincubic': v1 /= v3; return v2 * v1 * v1 * v1 + v4; case 'easeoutcubic': v1 = v1 / v3 - 1; return v2 * (v1 * v1 * v1 + 1) + v4; case 'easeinoutcubic': v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * v1 * v1 * v1 + v4; } v1 -= 2; return (v2 / 2) * (v1 * v1 * v1 + 2) + v4; case 'easeoutincubic': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutCubic') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInCubic') * 0.5 + v2 * 0.5 + v4; case 'easeinquart': v1 /= v3; return v2 * v1 * v1 * v1 * v1 + v4; case 'easeoutquart': v1 = v1 / v3 - 1; return -v2 * (v1 * v1 * v1 * v1 - 1) + v4; case 'easeinoutquart': v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * v1 * v1 * v1 * v1 + v4; } v1 -= 2; return (-v2 / 2) * (v1 * v1 * v1 * v1 - 2) + v4; case 'easeoutinquart': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutQuart') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInQuart') * 0.5 + v2 * 0.5 + v4; case 'easeinquint': v1 /= v3; return v2 * v1 * v1 * v1 * v1 * v1 + v4; case 'easeoutquint': v1 = v1 / v3 - 1; return v2 * (v1 * v1 * v1 * v1 * v1 + 1) + v4; case 'easeinoutquint': v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * v1 * v1 * v1 * v1 * v1 + v4; } v1 -= 2; return (v2 / 2) * (v1 * v1 * v1 * v1 * v1 + 2) + v4; case 'easeoutinquint': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutQuint') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInQuint') * 0.5 + v2 * 0.5 + v4; case 'easeinsine': return -v2 * Math.cos((v1 / v3) * 1.570796326794897) + v2 + v4; case 'easeoutsine': return v2 * Math.sin((v1 / v3) * 1.570796326794897) + v4; case 'easeinoutsine': return (-v2 / 2) * (Math.cos(Math.PI * v1 / v3) - 1) + v4; case 'easeoutinsine': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutSine') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInSine') * 0.5 + v2 * 0.5 + v4; case 'easeinexpo': return (v1 == 0) ? v4 : v2 * Math.pow(2, 10 * (v1 / v3 - 1)) + v4; case 'easeoutexpo': return (v1 == v3) ? v4 + v2 : v2 * (-Math.pow(2, -10 * v1 / v3) + 1) + v4; case 'easeinoutexpo': if (v1 == 0) { return v4; } if (v1 == v3) { return v4 + v2; } v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * Math.pow(2, 10 * (v1 - 1)) + v4; } return (v2 / 2) * (-Math.pow(2, -10 * --v1) + 2) + v4; case 'easeoutinexpo': if (v1 == 0) { return v4; } if (v1 == v3) { return v4 + v2; } v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * (-Math.pow(2, -10 * v1 / 1) + 1) + v4; } return (v2 / 2) * (Math.pow(2, 10 * (v1 - 2) / 1) + 1) + v4; case 'easeincirc': v1 /= v3; return -v2 * (Math.sqrt(1 - v1 * v1) - 1) + v4; case 'easeoutcirc': v1 = v1 / v3 - 1; return v2 * Math.sqrt(1 - v1 * v1) + v4; case 'easeinoutcirc': v1 /= v3 / 2; if (v1 < 1) { return (-v2 / 2) * (Math.sqrt(1 - v1 * v1) - 1) + v4; } v1 -= 2; return (v2 / 2) * (Math.sqrt(1 - v1 * v1) + 1) + v4; case 'easeoutincirc': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutCirc') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInCirc') * 0.5 + v2 * 0.5 + v4; case 'easeinelastic': if (v1 == 0) { return v4; } v1 /= v3; if (v1 == 1) { return v4 + v2; } if (!v7) { v7 = v3 * 0.3; } if (!v6 || v6 < Math.abs(v2)) { v6 = v2; v5 = v7 / 4; } else { v5 = (v7 / 6.283185307179586) * Math.asin(v2 / v6); } v1 -= 1; return -(v6 * Math.pow(2, 10 * v1) * Math.sin((v1 * v3 - v5) * 6.283185307179586 / v7)) + v4; case 'easeoutelastic': if (v1 == 0) { return v4; } v1 /= v3; if (v1 == 1) { return v4 + v2; } if (!v7) { v7 = v3 * 0.3; } if (!v6 || v6 < Math.abs(v2)) { v6 = v2; v5 = v7 / 4; } else { v5 = (v7 / 6.283185307179586) * Math.asin(v2 / v6); } return v6 * Math.pow(2, -10 * v1) * Math.sin((v1 * v3 - v5) * 6.283185307179586 / v7) + v2 + v4; case 'easeinoutelastic': if (v1 == 0) { return v4; } v1 /= v3 / 2; if (v1 == 2) { return v4 + v2; } if (!v7) { v7 = v3 * 0.45; } if (!v6 || v6 < Math.abs(v2)) { v6 = v2; v5 = v7 / 4; } else { v5 = (v7 / 6.283185307179586) * Math.asin(v2 / v6); } if (v1 < 1) { v1 -= 1; return -0.5 * (v6 * Math.pow(2, 10 * v1) * Math.sin((v1 * v3 - v5) * 6.283185307179586 / v7)) + v4; } v1 -= 1; return v6 * Math.pow(2, -10 * v1) * Math.sin((v1 * v3 - v5) * 6.283185307179586 / v7) * 0.5 + v2 + v4; case 'easeoutinelastic': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutElastic') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInElastic') * 0.5 + v2 * 0.5 + v4; case 'easeinback': if (v5 == undefined) { v5 = 1.70158; } v1 /= v3; return v2 * v1 * v1 * ((v5 + 1) * v1 - v5) + v4; case 'easeoutback': if (v5 == undefined) { v5 = 1.70158; } v1 = v1 / v3 - 1; return v2 * (v1 * v1 * ((v5 + 1) * v1 + v5) + 1) + v4; case 'easeinoutback': if (v5 == undefined) { v5 = 1.70158; } v1 /= v3 / 2; if (v1 < 1) { v5 *= 1.525; return (v2 / 2) * (v1 * v1 * ((v5 + 1) * v1 - v5)) + v4; } v1 -= 2; v5 *= 1.525; return (v2 / 2) * (v1 * v1 * ((v5 + 1) * v1 + v5) + 2) + v4; case 'easeoutinback': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutBack') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInBack') * 0.5 + v2 * 0.5 + v4; case 'easeinbounce': return v2 - findTweenValue(0, v2, 0, v3 - v1, v3, 'easeOutBounce') + v4; case 'easeoutbounce': v1 /= v3; if (v1 < 0.3636363636363637) { return v2 * (7.5625 * v1 * v1) + v4; } else { if (v1 < 0.7272727272727273) { v1 -= 0.5454545454545454; return v2 * (7.5625 * v1 * v1 + 0.75) + v4; } else { if (v1 < 0.9090909090909091) { v1 -= 0.8181818181818182; return v2 * (7.5625 * v1 * v1 + 0.9375) + v4; } else { v1 -= 0.9545454545454546; return v2 * (7.5625 * v1 * v1 + 0.984375) + v4; } } } case 'easeinoutbounce': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeInBounce') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeOutBounce') * 0.5 + v2 * 0.5 + v4; case 'easeoutinbounce': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutBounce') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInBounce') * 0.5 + v2 * 0.5 + v4; } trace('MC TWEEN ### Error on transition: there\'s no "' + _animType + '" animation type.'); return 0; }; ASSetPropFlags(_global, 'findTweenValue', 1, 0); wolke2.tween('_y', -74, 0.5, 'linear', 0); }; this.wolke2.onPress = function () { _global.$createTweenController = function () { var v3 = _root.createEmptyMovieClip('__tweenController__', 123432); v3.$_tweenPropList = new Array(); v3.$_tTime = getTimer(); v3.onEnterFrame = _global.$updateTweens; }; ASSetPropFlags(_global, '$createTweenController', 1, 0); _global.$removeTweenController = function () { delete _root.__tweenController__.$_tweenPropList; delete _root.__tweenController__.$_tTime; delete _root.__tweenController__.onEnterFrame; _root.__tweenController__.removeMovieClip(); }; ASSetPropFlags(_global, '$removeTweenController', 1, 0); _global.$addTween = function (mtarget, prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2, extras) { if (timeSeconds == undefined) { timeSeconds = 0; } if (animType == undefined || animType == '') { animType = 'easeOutExpo'; } if (delay == undefined) { delay = 0; } if (typeof prop == 'string') { var v7 = [prop]; var v11 = [mtarget[prop]]; var v9 = [propDest]; } else { var v7 = []; var v11 = []; var v9 = []; for (var v32 in prop) { v11.push(mtarget[prop[v32]]); } for (v32 in prop) { v7.push(prop[v32]); } for (v32 in propDest) { v9.push(propDest[v32]); } } var v12 = false; if (_root.__tweenController__ == undefined) { _global.$createTweenController(); } var v4 = _root.__tweenController__.$_tweenPropList; var v8 = _root.__tweenController__.$_tTime; for (v32 in v11) { if (v9[v32] != undefined && !mtarget.$_isTweenLocked) { if (mtarget.$_tweenCount > 0) { var v3 = 0; while (v3 < v4.length) { if (v4[v3]._targ == mtarget && v4[v3]._prop == v7[v32]) { if (v8 + delay * 1000 < v4[v3]._timeDest) { v4.splice(v3, 1); --v3; --mtarget.$_tweenCount; } } ++v3; } } v4.push({'_prop': v7[v32], '_targ': mtarget, '_propStart': undefined, '_propDest': v9[v32], '_timeStart': v8, '_timeDest': v8 + timeSeconds * 1000, '_animType': animType, '_extra1': extra1, '_extra2': extra2, '_extras': extras, '_delay': delay, '_isPaused': false, '_timePaused': 0, '_callback': v12 ? undefined : callback}); mtarget.$_tweenCount = mtarget.$_tweenCount > 0 ? mtarget.$_tweenCount + 1 : 1; v12 = true; } } ASSetPropFlags(mtarget, '$_tweenCount', 1, 0); }; ASSetPropFlags(_global, '$addTween', 1, 0); _global.$updateTweens = function () { this.$_tTime = getTimer(); var v8 = this.$_tTime; var v6 = 0; while (v6 < this.$_tweenPropList.length) { var v3 = this.$_tweenPropList[v6]; if (v3._targ.toString() == undefined) { this.$_tweenPropList.splice(v6, 1); --v6; } else { if (v3._timeStart + v3._delay * 1000 <= v8 && !v3._isPaused) { if (v3._propStart == undefined) { if (v3._prop.substr(0, 10) == '__special_') { if (v3._prop == '__special_mc_frame__') { v3._propStart = v3._targ._currentframe; } else { if (v3._prop == '__special_mc_ra__') { v3._propStart = ((new Color(v3._targ)).getTransform()).ra; } else { if (v3._prop == '__special_mc_rb__') { v3._propStart = ((new Color(v3._targ)).getTransform()).rb; } else { if (v3._prop == '__special_mc_ga__') { v3._propStart = ((new Color(v3._targ)).getTransform()).ga; } else { if (v3._prop == '__special_mc_gb__') { v3._propStart = ((new Color(v3._targ)).getTransform()).gb; } else { if (v3._prop == '__special_mc_ba__') { v3._propStart = ((new Color(v3._targ)).getTransform()).ba; } else { if (v3._prop == '__special_mc_bb__') { v3._propStart = ((new Color(v3._targ)).getTransform()).bb; } else { if (v3._prop == '__special_mc_aa__') { v3._propStart = ((new Color(v3._targ)).getTransform()).aa; } else { if (v3._prop == '__special_mc_ab__') { v3._propStart = ((new Color(v3._targ)).getTransform()).ab; } else { if (v3._prop == '__special_text_r__') { v3._propStart = v3._targ.textColor >> 16; } else { if (v3._prop == '__special_text_g__') { v3._propStart = (v3._targ.textColor & 65280) >> 8; } else { if (v3._prop == '__special_text_b__') { v3._propStart = v3._targ.textColor & 255; } else { if (v3._prop == '__special_sound_volume__') { v3._propStart = v3._targ.getVolume(); } else { if (v3._prop == '__special_sound_pan__') { v3._propStart = v3._targ.getPan(); } else { if (v3._prop == '__special_bst_t__') { v3._propStart = 0; v3._extras.__special_bst_ix__ = v3._targ._x; v3._extras.__special_bst_iy__ = v3._targ._y; } else { if (v3._prop == '__special_blur_x__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BlurFilter) { v3._propStart = v3._targ.filters[v5].blurX; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_blur_y__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BlurFilter) { v3._propStart = v3._targ.filters[v5].blurY; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_glow_color__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].color; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 16777215; } } else { if (v3._prop == '__special_glow_alpha__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].alpha; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { if (v3._prop == '__special_glow_blurX__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].blurX; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_glow_blurY__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].blurY; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_glow_strength__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].strength; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { if (v3._prop == '__special_bevel_distance__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].distance; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_bevel_angle__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].angle; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 45; } } else { if (v3._prop == '__special_bevel_highlightColor__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].highlightColor; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 16777215; } } else { if (v3._prop == '__special_bevel_highlightAlpha__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].highlightAlpha; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { if (v3._prop == '__special_bevel_shadowColor__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].shadowColor; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_bevel_shadowAlpha__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].shadowAlpha; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { if (v3._prop == '__special_bevel_blurX__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].blurX; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_bevel_blurY__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].blurY; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_bevel_strength__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].strength; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { v3._propStart = v3._targ[v3._prop]; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } else { v3._propStart = v3._targ[v3._prop]; } } var v10 = v3._timeDest + v3._delay * 1000; if (v10 <= v8) { var v4 = v3._propDest; } else { var v4 = _global.findTweenValue(v3._propStart, v3._propDest, v3._timeStart, v8 - v3._delay * 1000, v3._timeDest, v3._animType, v3._extra1, v3._extra2); } v3._targ[v3._prop] = v3._extras.mustRound ? Math.round(v4) : v4; if (v3._prop == '__special_mc_frame__') { v3._targ.gotoAndStop(Math.round(v4)); } else { if (v3._prop == '__special_mc_ra__') { (new Color(v3._targ)).setTransform({'ra': v4}); } else { if (v3._prop == '__special_mc_rb__') { (new Color(v3._targ)).setTransform({'rb': v4}); } else { if (v3._prop == '__special_mc_ga__') { (new Color(v3._targ)).setTransform({'ga': v4}); } else { if (v3._prop == '__special_mc_gb__') { (new Color(v3._targ)).setTransform({'gb': v4}); } else { if (v3._prop == '__special_mc_ba__') { (new Color(v3._targ)).setTransform({'ba': v4}); } else { if (v3._prop == '__special_mc_bb__') { (new Color(v3._targ)).setTransform({'bb': v4}); } else { if (v3._prop == '__special_mc_aa__') { (new Color(v3._targ)).setTransform({'aa': v4}); } else { if (v3._prop == '__special_mc_ab__') { (new Color(v3._targ)).setTransform({'ab': v4}); } } } } } } } } } if (v3._prop == '__special_bst_t__') { var v7 = v3._extras; var v9 = _global.findPointOnCurve(v7.__special_bst_ix__, v7.__special_bst_iy__, v7.__special_bst_cx__, v7.__special_bst_cy__, v7.__special_bst_dx__, v7.__special_bst_dy__, v4); if (v3._extras.mustRound) { v3._targ._x = Math.round(v9.x); v3._targ._y = Math.round(v9.y); } else { v3._targ._x = v9.x; v3._targ._y = v9.y; } } if (typeof v3._targ != 'movieclip' && v3._prop == '__special_text_b__') { v3._targ.textColor = (v3._targ.__special_text_r__ << 16) + (v3._targ.__special_text_g__ << 8) + v3._targ.__special_text_b__; } if (v3._prop == '__special_sound_volume__') { v3._targ.setVolume(v4); } if (v3._prop == '__special_sound_pan__') { v3._targ.setPan(v4); } if (v3._prop == '__special_blur_x__') { _global.$setFilterProperty(v3._targ, 'blur_blurX', v4, v3._extras); } if (v3._prop == '__special_blur_y__') { _global.$setFilterProperty(v3._targ, 'blur_blurY', v4, v3._extras); } if (v3._prop == '__special_glow_color__') { _global.$setFilterProperty(v3._targ, 'glow_color', _global.findTweenColor(v3, v8), v3._extras); } if (v3._prop == '__special_glow_alpha__') { _global.$setFilterProperty(v3._targ, 'glow_alpha', v4, v3._extras); } if (v3._prop == '__special_glow_blurX__') { _global.$setFilterProperty(v3._targ, 'glow_blurX', v4, v3._extras); } if (v3._prop == '__special_glow_blurY__') { _global.$setFilterProperty(v3._targ, 'glow_blurY', v4, v3._extras); } if (v3._prop == '__special_glow_strength__') { _global.$setFilterProperty(v3._targ, 'glow_strength', v4, v3._extras); } if (v3._prop == '__special_bevel_distance__') { _global.$setFilterProperty(v3._targ, 'bevel_distance', v4, v3._extras); } if (v3._prop == '__special_bevel_angle__') { _global.$setFilterProperty(v3._targ, 'bevel_angle', v4, v3._extras); } if (v3._prop == '__special_bevel_highlightColor__') { _global.$setFilterProperty(v3._targ, 'bevel_highlightColor', _global.findTweenColor(v3, v8), v3._extras); } if (v3._prop == '__special_bevel_highlightAlpha__') { _global.$setFilterProperty(v3._targ, 'bevel_highlightAlpha', v4, v3._extras); } if (v3._prop == '__special_bevel_shadowColor__') { _global.$setFilterProperty(v3._targ, 'bevel_shadowColor', _global.findTweenColor(v3, v8), v3._extras); } if (v3._prop == '__special_bevel_shadowAlpha__') { _global.$setFilterProperty(v3._targ, 'bevel_shadowAlpha', v4, v3._extras); } if (v3._prop == '__special_bevel_blurX__') { _global.$setFilterProperty(v3._targ, 'bevel_blurX', v4, v3._extras); } if (v3._prop == '__special_bevel_blurY__') { _global.$setFilterProperty(v3._targ, 'bevel_blurY', v4, v3._extras); } if (v3._prop == '__special_bevel_strength__') { _global.$setFilterProperty(v3._targ, 'bevel_strength', v4, v3._extras); } if (v3._targ.onTweenUpdate != undefined) { v3._targ.onTweenUpdate(v3._prop); } if (v10 <= v8) { if (v3._targ.onTweenComplete != undefined) { v3._targ.onTweenComplete(v3._prop); } _global.$stopTween(v3._targ, [v3._prop], false); --v6; if (v3._callback != undefined) { if (_global.backwardCallbackTweening) { var v11 = v3._targ.createEmptyMovieClip('__child__', 122344); v3._callback.apply(v11, null); v11.removeMovieClip(); } else { v3._callback.apply(v3._targ, null); } } } } } ++v6; } if (this.$_tweenPropList.length == 0) { _global.$removeTweenController(); } }; ASSetPropFlags(_global, '$updateTween', 1, 0); _global.$stopTween = function (mtarget, props, wipeFuture) { var v4 = _root.__tweenController__.$_tweenPropList; var v7; for (var v9 in v4) { v7 = v4[v9]._prop; var v5 = 0; for (;;) { if (!(v5 < props.length || v5 < 1 && props == undefined)) break; if (v4[v9]._targ == mtarget && (v7 == props[v5] || props == undefined) && (wipeFuture || v4[v9]._timeDest + v4[v9]._delay * 1000 <= getTimer())) { switch (v7) { case '__special_mc_frame__': case '__special_mc_ra__': case '__special_mc_rb__': case '__special_mc_ga__': case '__special_mc_gb__': case '__special_mc_ba__': case '__special_mc_bb__': case '__special_mc_aa__': case '__special_mc_ab__': case '__special_sound_volume__': case '__special_bst_t__': delete mtarget[v7]; break; case '__special_text_b__': delete mtarget.__special_text_r__; delete mtarget.__special_text_g__; delete mtarget.__special_text_b__; } v4.splice(v9, 1); } ++v5; } } if (props == undefined) { delete mtarget.$_tweenCount; } else { mtarget.$_tweenCount = 0; for (v9 in v4) { if (v4[v9]._targ == mtarget) { ++mtarget.$_tweenCount; } } if (mtarget.$_tweenCount == 0) { delete mtarget.$_tweenCount; } } if (v4.length == 0) { _global.$removeTweenController(); } }; ASSetPropFlags(_global, '$stopTween', 1, 0); _global.$setFilterProperty = function (mtarget, propName, propValue, extras) { var v1; var v7 = false; var v3 = []; v1 = 0; while (v1 < mtarget.filters.length) { v3.push(mtarget.filters[v1]); ++v1; } if (propName.substr(0, 5) == 'blur_') { v1 = 0; while (v1 < mtarget.filters.length) { if (v3[v1] instanceof flash.filters.BlurFilter) { v3[v1][propName.substr(5)] = propValue; if (extras.__special_blur_quality__ != undefined) { v3[v1].quality = extras.__special_blur_quality__; } v7 = true; break; } ++v1; } if (!v7) { var v9; var v8 = (extras.__special_blur_quality__ == undefined) ? 2 : extras.__special_blur_quality__; if (propName == 'blur_blurX') { v9 = new flash.filters.BlurFilter(propValue, 0, v8); } if (propName == 'blur_blurY') { v9 = new flash.filters.BlurFilter(0, propValue, v8); } v3.push(v9); } } else { if (propName.substr(0, 5) == 'glow_') { v1 = 0; while (v1 < mtarget.filters.length) { if (v3[v1] instanceof flash.filters.GlowFilter) { v3[v1][propName.substr(5)] = propValue; if (extras.__special_glow_quality__ != undefined) { v3[v1].quality = extras.__special_glow_quality__; } if (extras.__special_glow_inner__ != undefined) { v3[v1].inner = extras.__special_glow_inner__; } if (extras.__special_glow_knockout__ != undefined) { v3[v1].knockout = extras.__special_glow_knockout__; } v7 = true; break; } ++v1; } if (!v7) { var v8 = (extras.__special_glow_quality__ == undefined) ? 2 : extras.__special_glow_quality__; var v12 = (extras.__special_glow_inner__ == undefined) ? false : extras.__special_glow_inner__; var v10 = (extras.__special_glow_knockout__ == undefined) ? false : extras.__special_glow_knockout__; if (propName == 'glow_color') { var v9 = new flash.filters.GlowFilter(propValue, 1, 0, 0, 1, v8, v12, v10); } if (propName == 'glow_alpha') { v9 = new flash.filters.GlowFilter(16777215, propValue, 0, 0, 1, v8, v12, v10); } if (propName == 'glow_blurX') { v9 = new flash.filters.GlowFilter(16777215, 1, propValue, 0, 1, v8, v12, v10); } if (propName == 'glow_blurY') { v9 = new flash.filters.GlowFilter(16777215, 1, 0, propValue, 1, v8, v12, v10); } if (propName == 'glow_strength') { v9 = new flash.filters.GlowFilter(16777215, 1, 0, 0, propValue, v8, v12, v10); } v3.push(v9); } } else { if (propName.substr(0, 6) == 'bevel_') { v1 = 0; while (v1 < mtarget.filters.length) { if (v3[v1] instanceof flash.filters.BevelFilter) { v3[v1][propName.substr(6)] = propValue; if (extras.__special_bevel_quality__ != undefined) { v3[v1].quality = extras.__special_bevel_quality__; } if (extras.__special_bevel_type__ != undefined) { v3[v1].inner = extras.__special_bevel_type__; } if (extras.__special_bevel_knockout__ != undefined) { v3[v1].knockout = extras.__special_bevel_knockout__; } v7 = true; break; } ++v1; } if (!v7) { var v8 = (extras.__special_bevel_quality__ == undefined) ? 2 : extras.__special_bevel_quality__; var v11 = (extras.__special_bevel_type__ == undefined) ? 'inner' : extras.__special_bevel_type__; var v10 = (extras.__special_bevel_knockout__ == undefined) ? false : extras.__special_bevel_knockout__; if (propName == 'bevel_distance') { var v9 = new flash.filters.BevelFilter(propValue, 45, 16777215, 1, 0, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_angle') { v9 = new flash.filters.BevelFilter(0, propValue, 16777215, 1, 0, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_highlightColor') { v9 = new flash.filters.BevelFilter(0, 45, propValue, 1, 0, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_highlightAlpha') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, propValue, 0, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_shadowColor') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, propValue, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_shadowAlpha') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, propValue, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_blurX') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, 1, propValue, 0, 1, v8, v11, v10); } if (propName == 'bevel_blurY') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, 1, 0, propValue, 1, v8, v11, v10); } if (propName == 'bevel_strength') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, 1, 0, 0, propValue, v8, v11, v10); } v3.push(v9); } } else { return undefined; } } } mtarget.filters = v3; }; Sound.prototype.tween = function (prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2); }; TextField.prototype.tween = Sound.prototype.tween; MovieClip.prototype.tween = Sound.prototype.tween; ASSetPropFlags(MovieClip.prototype, 'tween', 1, 0); ASSetPropFlags(TextField.prototype, 'tween', 1, 0); ASSetPropFlags(Sound.prototype, 'tween', 1, 0); Sound.prototype.roundedTween = function (prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2, {'mustRound': true}); }; TextField.prototype.roundedTween = Sound.prototype.roundedTween; MovieClip.prototype.roundedTween = Sound.prototype.roundedTween; ASSetPropFlags(MovieClip.prototype, 'roundedTween', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedTween', 1, 0); ASSetPropFlags(Sound.prototype, 'roundedTween', 1, 0); Sound.prototype.stopTween = function (props) { if (typeof props == 'string') { props = [props]; } if (props != undefined) { var v4 = 1; while (v4 < arguments.length) { props.push(arguments[v4]); ++v4; } } _global.$stopTween(this, props, true); }; TextField.prototype.stopTween = Sound.prototype.stopTween; MovieClip.prototype.stopTween = Sound.prototype.stopTween; ASSetPropFlags(MovieClip.prototype, 'stopTween', 1, 0); ASSetPropFlags(TextField.prototype, 'stopTween', 1, 0); ASSetPropFlags(Sound.prototype, 'stopTween', 1, 0); Sound.prototype.pauseTween = function (props) { if (props != undefined) { if (typeof props == 'string') { props = [props]; } var v6 = 1; while (v6 < Arguments.length) { props.push(Arguments[v6]); ++v6; } } var v4 = _root.__tweenController__.$_tweenPropList; var v5; for (var v7 in v4) { if (v4[v7]._targ == this && !v4[v7]._isPaused) { if (props != undefined) { v5 = false; for (v6 in props) { if (props[v6] == v4[v7]._prop) { v5 = true; break; } } } if (props == undefined || v5) { v4[v7]._isPaused = true; v4[v7]._timePaused = _root.__tweenController__.$_tTime; } } } }; TextField.prototype.pauseTween = Sound.prototype.pauseTween; MovieClip.prototype.pauseTween = Sound.prototype.pauseTween; ASSetPropFlags(MovieClip.prototype, 'pauseTween', 1, 0); ASSetPropFlags(TextField.prototype, 'pauseTween', 1, 0); ASSetPropFlags(Sound.prototype, 'pauseTween', 1, 0); Sound.prototype.resumeTween = function (props) { if (props != undefined) { if (typeof props == 'string') { props = [props]; } var v7 = 1; while (v7 < Arguments.length) { props.push(Arguments[v7]); ++v7; } } var v3 = _root.__tweenController__.$_tweenPropList; var v5; var v6; for (var v8 in v3) { if (v3[v8]._targ == this && v3[v8]._isPaused) { if (props != undefined) { v5 = false; for (v7 in props) { if (props[v7] == v3[v8]._prop) { v5 = true; break; } } } if (props == undefined || v5) { v3[v8]._isPaused = false; v6 = _root.__tweenController__.$_tTime - v3[v8]._timePaused; v3[v8]._timeStart += v6; v3[v8]._timeDest += v6; v3[v8]._timePaused = 0; } } } }; TextField.prototype.resumeTween = Sound.prototype.resumeTween; MovieClip.prototype.resumeTween = Sound.prototype.resumeTween; ASSetPropFlags(MovieClip.prototype, 'resumeTween', 1, 0); ASSetPropFlags(TextField.prototype, 'resumeTween', 1, 0); ASSetPropFlags(Sound.prototype, 'resumeTween', 1, 0); Sound.prototype.lockTween = function () { this.$_isTweenLocked = true; ASSetPropFlags(this, 'this.$_isTweenLocked', 1, 0); }; TextField.prototype.lockTween = Sound.prototype.lockTween; MovieClip.prototype.lockTween = Sound.prototype.lockTween; ASSetPropFlags(MovieClip.prototype, 'lockTween', 1, 0); ASSetPropFlags(TextField.prototype, 'lockTween', 1, 0); ASSetPropFlags(Sound.prototype, 'lockTween', 1, 0); Sound.prototype.unlockTween = function () { delete this.$_isTweenLocked; }; TextField.prototype.unlockTween = Sound.prototype.unlockTween; MovieClip.prototype.unlockTween = Sound.prototype.unlockTween; ASSetPropFlags(MovieClip.prototype, 'unlockTween', 1, 0); ASSetPropFlags(TextField.prototype, 'unlockTween', 1, 0); ASSetPropFlags(Sound.prototype, 'unlockTween', 1, 0); Sound.prototype.getTweens = function () { return this.$_tweenCount; }; TextField.prototype.getTweens = Sound.prototype.getTweens; MovieClip.prototype.getTweens = Sound.prototype.getTweens; ASSetPropFlags(MovieClip.prototype, 'getTweens', 1, 0); ASSetPropFlags(TextField.prototype, 'getTweens', 1, 0); ASSetPropFlags(Sound.prototype, 'getTweens', 1, 0); Sound.prototype.isTweening = function () { return this.$_tweenCount > 0 ? true : false; }; TextField.prototype.isTweening = Sound.prototype.isTweening; MovieClip.prototype.isTweening = Sound.prototype.isTweening; ASSetPropFlags(MovieClip.prototype, 'isTweening', 1, 0); ASSetPropFlags(TextField.prototype, 'isTweening', 1, 0); ASSetPropFlags(Sound.prototype, 'isTweening', 1, 0); TextField.prototype.alphaTo = function (propDest_a, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_alpha', propDest_a, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.alphaTo = TextField.prototype.alphaTo; ASSetPropFlags(MovieClip.prototype, 'alphaTo', 1, 0); ASSetPropFlags(TextField.prototype, 'alphaTo', 1, 0); MovieClip.prototype.frameTo = function (propDest_frame, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_mc_frame__', propDest_frame, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(MovieClip.prototype, 'frameTo', 1, 0); TextField.prototype.resizeTo = function (propDest_width, propDest_height, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['_width', '_height'], [propDest_width, propDest_height], timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.resizeTo = TextField.prototype.resizeTo; ASSetPropFlags(MovieClip.prototype, 'resizeTo', 1, 0); ASSetPropFlags(TextField.prototype, 'resizeTo', 1, 0); TextField.prototype.rotateTo = function (propDest_rotation, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_rotation', propDest_rotation, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.rotateTo = TextField.prototype.rotateTo; ASSetPropFlags(MovieClip.prototype, 'rotateTo', 1, 0); ASSetPropFlags(TextField.prototype, 'rotateTo', 1, 0); TextField.prototype.scaleTo = function (propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['_xscale', '_yscale'], [propDest_scale, propDest_scale], timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.scaleTo = TextField.prototype.scaleTo; ASSetPropFlags(MovieClip.prototype, 'scaleTo', 1, 0); ASSetPropFlags(TextField.prototype, 'scaleTo', 1, 0); TextField.prototype.xScaleTo = function (propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_xscale', propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.xScaleTo = TextField.prototype.xScaleTo; ASSetPropFlags(MovieClip.prototype, 'xScaleTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xScaleTo', 1, 0); TextField.prototype.yScaleTo = function (propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_yscale', propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.yScaleTo = TextField.prototype.yScaleTo; ASSetPropFlags(MovieClip.prototype, 'yScaleTo', 1, 0); ASSetPropFlags(TextField.prototype, 'yScaleTo', 1, 0); TextField.prototype.scrollTo = function (propDest_scroll, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, 'scroll', propDest_scroll, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(TextField.prototype, 'scrollTo', 1, 0); TextField.prototype.slideTo = function (propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['_x', '_y'], [propDest_x, propDest_y], timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.slideTo = TextField.prototype.slideTo; ASSetPropFlags(MovieClip.prototype, 'slideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'slideTo', 1, 0); TextField.prototype.roundedSlideTo = function (propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['_x', '_y'], [propDest_x, propDest_y], timeSeconds, animType, delay, callback, extra1, extra2, {'mustRound': true}); }; MovieClip.prototype.roundedSlideTo = TextField.prototype.roundedSlideTo; ASSetPropFlags(MovieClip.prototype, 'roundedSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedSlideTo', 1, 0); TextField.prototype.xSlideTo = function (propDest_x, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_x', propDest_x, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.xSlideTo = TextField.prototype.xSlideTo; ASSetPropFlags(MovieClip.prototype, 'xSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xSlideTo', 1, 0); TextField.prototype.roundedXSlideTo = function (propDest_x, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_x', propDest_x, timeSeconds, animType, delay, callback, extra1, extra2, {'mustRound': true}); }; MovieClip.prototype.roundedXSlideTo = TextField.prototype.roundedXSlideTo; ASSetPropFlags(MovieClip.prototype, 'roundedXSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedXSlideTo', 1, 0); TextField.prototype.ySlideTo = function (propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_y', propDest_y, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.ySlideTo = TextField.prototype.ySlideTo; ASSetPropFlags(MovieClip.prototype, 'ySlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'ySlideTo', 1, 0); TextField.prototype.roundedYSlideTo = function (propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_y', propDest_y, timeSeconds, animType, delay, callback, extra1, extra2, {'mustRound': true}); }; MovieClip.prototype.roundedYSlideTo = TextField.prototype.roundedYSlideTo; ASSetPropFlags(MovieClip.prototype, 'roundedYSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedYSlideTo', 1, 0); TextField.prototype.bezierSlideTo = function (cpoint_x, cpoint_y, propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { var v3 = new Object(); v3.__special_bst_ix__ = undefined; v3.__special_bst_iy__ = undefined; v3.__special_bst_cx__ = cpoint_x; v3.__special_bst_cy__ = cpoint_y; v3.__special_bst_dx__ = propDest_x; v3.__special_bst_dy__ = propDest_y; _global.$addTween(this, '__special_bst_t__', 1, timeSeconds, animType, delay, callback, extra1, extra2, v3); }; MovieClip.prototype.bezierSlideTo = TextField.prototype.bezierSlideTo; ASSetPropFlags(MovieClip.prototype, 'bezierSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'bezierSlideTo', 1, 0); TextField.prototype.roundedBezierSlideTo = function (cpoint_x, cpoint_y, propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { var v3 = new Object(); v3.__special_bst_ix__ = undefined; v3.__special_bst_iy__ = undefined; v3.__special_bst_cx__ = cpoint_x; v3.__special_bst_cy__ = cpoint_y; v3.__special_bst_dx__ = propDest_x; v3.__special_bst_dy__ = propDest_y; v3.mustRound = true; _global.$addTween(this, '__special_bst_t__', 1, timeSeconds, animType, delay, callback, extra1, extra2, v3); }; MovieClip.prototype.roundedBezierSlideTo = TextField.prototype.roundedBezierSlideTo; ASSetPropFlags(MovieClip.prototype, 'roundedBezierSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedBezierSlideTo', 1, 0); Sound.prototype.volumeTo = function (propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_sound_volume__', propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(Sound.prototype, 'volumeTo', 1, 0); Sound.prototype.panTo = function (propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_sound_pan__', propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(Sound.prototype, 'panTo', 1, 0); MovieClip.prototype.colorTo = function (propDest_color, timeSeconds, animType, delay, callback, extra1, extra2) { if (propDest_color == null) { this.colorTransformTo(100, 0, 100, 0, 100, 0, undefined, undefined, timeSeconds, animType, delay, callback, extra1, extra2); } else { var v3 = propDest_color >> 16; var v5 = (propDest_color & 65280) >> 8; var v4 = propDest_color & 255; this.colorTransformTo(0, v3, 0, v5, 0, v4, undefined, undefined, timeSeconds, animType, delay, callback, extra1, extra2); } }; ASSetPropFlags(MovieClip.prototype, 'colorTo', 1, 0); TextField.prototype.colorTo = function (propDest_color, timeSeconds, animType, delay, callback, extra1, extra2) { var v3 = propDest_color >> 16; var v6 = (propDest_color & 65280) >> 8; var v4 = propDest_color & 255; _global.$addTween(this, ['__special_text_r__', '__special_text_g__', '__special_text_b__'], [v3, v6, v4], timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(TextField.prototype, 'colorTo', 1, 0); MovieClip.prototype.colorTransformTo = function () { if (typeof arguments[0] == 'object' && arguments[0] != undefined) { _global.$addTween(this, ['__special_mc_ra__', '__special_mc_rb__', '__special_mc_ga__', '__special_mc_gb__', '__special_mc_ba__', '__special_mc_bb__', '__special_mc_aa__', '__special_mc_ab__'], [arguments[0].ra, arguments[0].rb, arguments[0].ga, arguments[0].gb, arguments[0].ba, arguments[0].bb, arguments[0].aa, arguments[0].ab], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6]); } else { _global.$addTween(this, ['__special_mc_ra__', '__special_mc_rb__', '__special_mc_ga__', '__special_mc_gb__', '__special_mc_ba__', '__special_mc_bb__', '__special_mc_aa__', '__special_mc_ab__'], [arguments[0], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], arguments[7]], arguments[8], arguments[9], arguments[10], arguments[11], arguments[12], arguments[13]); } }; ASSetPropFlags(MovieClip.prototype, 'colorTransformTo', 1, 0); TextField.prototype.blurTo = function () { if (typeof arguments[0] == 'object' && arguments[0] != undefined) { _global.$addTween(this, ['__special_blur_x__', '__special_blur_y__'], [arguments[0].blurX, arguments[0].blurY], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], {'__special_blur_quality__': arguments[0].quality}); } else { _global.$addTween(this, ['__special_blur_x__', '__special_blur_y__'], [arguments[0], arguments[0]], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], arguments[7], {'__special_blur_quality__': arguments[1]}); } }; MovieClip.prototype.blurTo = TextField.prototype.blurTo; ASSetPropFlags(MovieClip.prototype, 'blurTo', 1, 0); ASSetPropFlags(TextField.prototype, 'blurTo', 1, 0); TextField.prototype.xyBlurTo = function (propDest_blurX, propDest_blurY, quality, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_blur_x__', '__special_blur_y__'], [propDest_blurX, propDest_blurY], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_blur_quality__': quality}); }; MovieClip.prototype.xyBlurTo = TextField.prototype.xyBlurTo; ASSetPropFlags(MovieClip.prototype, 'xyBlurTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xyBlurTo', 1, 0); TextField.prototype.xBlurTo = function (propDest_blur, quality, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_blur_x__', propDest_blur, timeSeconds, animType, delay, callback, extra1, extra2, {'__special_blur_quality__': quality}); }; MovieClip.prototype.xBlurTo = TextField.prototype.xBlurTo; ASSetPropFlags(MovieClip.prototype, 'xBlurTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xBlurTo', 1, 0); TextField.prototype.yBlurTo = function (propDest_blur, quality, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_blur_y__', propDest_blur, timeSeconds, animType, delay, callback, extra1, extra2, {'__special_blur_quality__': quality}); }; MovieClip.prototype.yBlurTo = TextField.prototype.yBlurTo; ASSetPropFlags(MovieClip.prototype, 'yBlurTo', 1, 0); ASSetPropFlags(TextField.prototype, 'yBlurTo', 1, 0); TextField.prototype.glowTo = function () { if (typeof arguments[0] == 'object' && arguments[0] != undefined) { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurX__', '__special_glow_blurY__', '__special_glow_strength__'], [arguments[0].color, arguments[0].alpha, arguments[0].blurX, arguments[0].blurY, arguments[0].strength], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], {'__special_glow_quality__': arguments[0].quality, '__special_glow_inner__': arguments[0].inner, '__special_glow_knockout__': arguments[0].knockout}); } else { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurX__', '__special_glow_blurY__', '__special_glow_strength__'], [arguments[0], arguments[1], arguments[2], arguments[2], arguments[3]], arguments[7], arguments[8], arguments[9], arguments[10], arguments[11], arguments[12], {'__special_glow_quality__': arguments[4], '__special_glow_inner__': arguments[5], '__special_glow_knockout__': arguments[6]}); } }; MovieClip.prototype.glowTo = TextField.prototype.glowTo; ASSetPropFlags(MovieClip.prototype, 'glowTo', 1, 0); ASSetPropFlags(TextField.prototype, 'glowTo', 1, 0); TextField.prototype.xyGlowTo = function (propDest_color, propDest_alpha, propDest_blurX, propDest_blurY, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurX__', '__special_glow_blurY__', '__special_glow_strength__'], [propDest_color, propDest_alpha, propDest_blurX, propDest_blurY, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_glow_quality__': quality, '__special_glow_inner__': inner, '__special_glow_knockout__': knockout}); }; MovieClip.prototype.xyGlowTo = TextField.prototype.xyGlowTo; ASSetPropFlags(MovieClip.prototype, 'xyGlowTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xyGlowTo', 1, 0); TextField.prototype.xGlowTo = function (propDest_color, propDest_alpha, propDest_blur, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurX__', '__special_glow_strength__'], [propDest_color, propDest_alpha, propDest_blur, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_glow_quality__': quality, '__special_glow_inner__': inner, '__special_glow_knockout__': knockout}); }; MovieClip.prototype.xGlowTo = TextField.prototype.xGlowTo; ASSetPropFlags(MovieClip.prototype, 'xGlowTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xGlowTo', 1, 0); TextField.prototype.yGlowTo = function (propDest_color, propDest_alpha, propDest_blur, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurY__', '__special_glow_strength__'], [propDest_color, propDest_alpha, propDest_blur, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_glow_quality__': quality, '__special_glow_inner__': inner, '__special_glow_knockout__': knockout}); }; MovieClip.prototype.yGlowTo = TextField.prototype.yGlowTo; ASSetPropFlags(MovieClip.prototype, 'yGlowTo', 1, 0); ASSetPropFlags(TextField.prototype, 'yGlowTo', 1, 0); TextField.prototype.bevelTo = function () { if (typeof arguments[0] == 'object' && arguments[0] != undefined) { _global.$addTween(this, ['__special_bevel_distance__', '__special_bevel_angle__', '__special_bevel_highlightColor__', '__special_bevel_highlightAlpha__', '__special_bevel_shadowColor__', '__special_bevel_shadowAlpha__', '__special_bevel_blurX__', '__special_bevel_blurY__', '__special_bevel_strength__'], [arguments[0].distance, arguments[0].angle, arguments[0].highlightColor, arguments[0].highlightAlpha * 100, arguments[0].shadowColor, arguments[0].shadowAlpha * 100, arguments[0].blurX, arguments[0].blurY, arguments[0].strength], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], {'__special_bevel_quality__': arguments[0].quality, '__special_bevel_type__': arguments[0].type, '__special_bevel_knockout__': arguments[0].knockout}); } else { _global.$addTween(this, ['__special_bevel_distance__', '__special_bevel_angle__', '__special_bevel_highlightColor__', '__special_bevel_highlightAlpha__', '__special_bevel_shadowColor__', '__special_bevel_shadowAlpha__', '__special_bevel_blurX__', '__special_bevel_blurY__', '__special_bevel_strength__'], [arguments[0], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], arguments[6], arguments[7]], arguments[11], arguments[12], arguments[13], arguments[14], arguments[15], arguments[16], {'__special_bevel_quality__': arguments[8], '__special_bevel_type__': arguments[9], '__special_bevel_knockout__': arguments[10]}); } }; MovieClip.prototype.bevelTo = TextField.prototype.bevelTo; ASSetPropFlags(MovieClip.prototype, 'bevelTo', 1, 0); ASSetPropFlags(TextField.prototype, 'bevelTo', 1, 0); TextField.prototype.xyBevelTo = function (propDest_distance, propDest_angle, propDest_highlightColor, propDest_highlightAlpha, propDest_shadowColor, propDest_shadowAlpha, propDest_blurX, propDest_blurY, propDest_strength, quality, type, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_bevel_distance__', '__special_bevel_angle__', '__special_bevel_highlightColor__', '__special_bevel_highlightAlpha__', '__special_bevel_shadowColor__', '__special_bevel_shadowAlpha__', '__special_bevel_blurX__', '__special_bevel_blurY__', '__special_bevel_blurY__', '__special_bevel_strength__'], [propDest_distance, propDest_angle, propDest_highlightColor, propDest_highlightAlpha, propDest_shadowColor, propDest_shadowAlpha, propDest_blur, propDest_blur, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_bevel_quality__': quality, '__special_bevel_type__': type, '__special_bevel_knockout__': knockout}); }; MovieClip.prototype.xyBevelTo = TextField.prototype.xyBevelTo; ASSetPropFlags(MovieClip.prototype, 'xyBevelTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xyBevelTo', 1, 0); _global.findPointOnCurve = function (p1x, p1y, cx, cy, p2x, p2y, t) { return {'x': p1x + t * (2 * (1 - t) * (cx - p1x) + t * (p2x - p1x)), 'y': p1y + t * (2 * (1 - t) * (cy - p1y) + t * (p2y - p1y))}; }; ASSetPropFlags(_global, 'findPointOnCurve', 1, 0); _global.findTweenColor = function (objProp, tTime) { var v8 = objProp._propStart >> 16; var v4 = objProp._propDest >> 16; var v5 = objProp._propStart >> 8 & 255; var v6 = objProp._propDest >> 8 & 255; var v9 = objProp._propStart & 255; var v7 = objProp._propDest & 255; var v12 = Math.round(_global.findTweenValue(v8, v4, objProp._timeStart, tTime - objProp._delay * 1000, objProp._timeDest, objProp._animType, objProp._extra1, objProp._extra2)); var v10 = Math.round(_global.findTweenValue(v5, v6, objProp._timeStart, tTime - objProp._delay * 1000, objProp._timeDest, objProp._animType, objProp._extra1, objProp._extra2)); var v3 = Math.round(_global.findTweenValue(v9, v7, objProp._timeStart, tTime - objProp._delay * 1000, objProp._timeDest, objProp._animType, objProp._extra1, objProp._extra2)); return (v12 << 16) + (v10 << 8) + v3; }; _global.findTweenValue = function (_propStart, _propDest, _timeStart, _timeNow, _timeDest, _animType, _extra1, _extra2) { var v1 = _timeNow - _timeStart; var v4 = _propStart; var v2 = _propDest - _propStart; var v3 = _timeDest - _timeStart; var v6 = _extra1; var v7 = _extra2; var v5 = _extra1; switch (_animType.toLowerCase()) { trace('MC TWEEN ### Error on transition: there\'s no "' + _animType + '" animation type.'); return 0; case 'linear': return v2 * v1 / v3 + v4; case 'easeinquad': v1 /= v3; return v2 * v1 * v1 + v4; case 'easeoutquad': v1 /= v3; return -v2 * v1 * (v1 - 2) + v4; case 'easeinoutquad': v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * v1 * v1 + v4; } return (-v2 / 2) * (--v1 * (v1 - 2) - 1) + v4; case 'easeoutinquad': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutQuad') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInQuad') * 0.5 + v2 * 0.5 + v4; case 'easeincubic': v1 /= v3; return v2 * v1 * v1 * v1 + v4; case 'easeoutcubic': v1 = v1 / v3 - 1; return v2 * (v1 * v1 * v1 + 1) + v4; case 'easeinoutcubic': v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * v1 * v1 * v1 + v4; } v1 -= 2; return (v2 / 2) * (v1 * v1 * v1 + 2) + v4; case 'easeoutincubic': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutCubic') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInCubic') * 0.5 + v2 * 0.5 + v4; case 'easeinquart': v1 /= v3; return v2 * v1 * v1 * v1 * v1 + v4; case 'easeoutquart': v1 = v1 / v3 - 1; return -v2 * (v1 * v1 * v1 * v1 - 1) + v4; case 'easeinoutquart': v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * v1 * v1 * v1 * v1 + v4; } v1 -= 2; return (-v2 / 2) * (v1 * v1 * v1 * v1 - 2) + v4; case 'easeoutinquart': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutQuart') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInQuart') * 0.5 + v2 * 0.5 + v4; case 'easeinquint': v1 /= v3; return v2 * v1 * v1 * v1 * v1 * v1 + v4; case 'easeoutquint': v1 = v1 / v3 - 1; return v2 * (v1 * v1 * v1 * v1 * v1 + 1) + v4; case 'easeinoutquint': v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * v1 * v1 * v1 * v1 * v1 + v4; } v1 -= 2; return (v2 / 2) * (v1 * v1 * v1 * v1 * v1 + 2) + v4; case 'easeoutinquint': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutQuint') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInQuint') * 0.5 + v2 * 0.5 + v4; case 'easeinsine': return -v2 * Math.cos((v1 / v3) * 1.570796326794897) + v2 + v4; case 'easeoutsine': return v2 * Math.sin((v1 / v3) * 1.570796326794897) + v4; case 'easeinoutsine': return (-v2 / 2) * (Math.cos(Math.PI * v1 / v3) - 1) + v4; case 'easeoutinsine': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutSine') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInSine') * 0.5 + v2 * 0.5 + v4; case 'easeinexpo': return (v1 == 0) ? v4 : v2 * Math.pow(2, 10 * (v1 / v3 - 1)) + v4; case 'easeoutexpo': return (v1 == v3) ? v4 + v2 : v2 * (-Math.pow(2, -10 * v1 / v3) + 1) + v4; case 'easeinoutexpo': if (v1 == 0) { return v4; } if (v1 == v3) { return v4 + v2; } v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * Math.pow(2, 10 * (v1 - 1)) + v4; } return (v2 / 2) * (-Math.pow(2, -10 * --v1) + 2) + v4; case 'easeoutinexpo': if (v1 == 0) { return v4; } if (v1 == v3) { return v4 + v2; } v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * (-Math.pow(2, -10 * v1 / 1) + 1) + v4; } return (v2 / 2) * (Math.pow(2, 10 * (v1 - 2) / 1) + 1) + v4; case 'easeincirc': v1 /= v3; return -v2 * (Math.sqrt(1 - v1 * v1) - 1) + v4; case 'easeoutcirc': v1 = v1 / v3 - 1; return v2 * Math.sqrt(1 - v1 * v1) + v4; case 'easeinoutcirc': v1 /= v3 / 2; if (v1 < 1) { return (-v2 / 2) * (Math.sqrt(1 - v1 * v1) - 1) + v4; } v1 -= 2; return (v2 / 2) * (Math.sqrt(1 - v1 * v1) + 1) + v4; case 'easeoutincirc': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutCirc') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInCirc') * 0.5 + v2 * 0.5 + v4; case 'easeinelastic': if (v1 == 0) { return v4; } v1 /= v3; if (v1 == 1) { return v4 + v2; } if (!v7) { v7 = v3 * 0.3; } if (!v6 || v6 < Math.abs(v2)) { v6 = v2; v5 = v7 / 4; } else { v5 = (v7 / 6.283185307179586) * Math.asin(v2 / v6); } v1 -= 1; return -(v6 * Math.pow(2, 10 * v1) * Math.sin((v1 * v3 - v5) * 6.283185307179586 / v7)) + v4; case 'easeoutelastic': if (v1 == 0) { return v4; } v1 /= v3; if (v1 == 1) { return v4 + v2; } if (!v7) { v7 = v3 * 0.3; } if (!v6 || v6 < Math.abs(v2)) { v6 = v2; v5 = v7 / 4; } else { v5 = (v7 / 6.283185307179586) * Math.asin(v2 / v6); } return v6 * Math.pow(2, -10 * v1) * Math.sin((v1 * v3 - v5) * 6.283185307179586 / v7) + v2 + v4; case 'easeinoutelastic': if (v1 == 0) { return v4; } v1 /= v3 / 2; if (v1 == 2) { return v4 + v2; } if (!v7) { v7 = v3 * 0.45; } if (!v6 || v6 < Math.abs(v2)) { v6 = v2; v5 = v7 / 4; } else { v5 = (v7 / 6.283185307179586) * Math.asin(v2 / v6); } if (v1 < 1) { v1 -= 1; return -0.5 * (v6 * Math.pow(2, 10 * v1) * Math.sin((v1 * v3 - v5) * 6.283185307179586 / v7)) + v4; } v1 -= 1; return v6 * Math.pow(2, -10 * v1) * Math.sin((v1 * v3 - v5) * 6.283185307179586 / v7) * 0.5 + v2 + v4; case 'easeoutinelastic': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutElastic') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInElastic') * 0.5 + v2 * 0.5 + v4; case 'easeinback': if (v5 == undefined) { v5 = 1.70158; } v1 /= v3; return v2 * v1 * v1 * ((v5 + 1) * v1 - v5) + v4; case 'easeoutback': if (v5 == undefined) { v5 = 1.70158; } v1 = v1 / v3 - 1; return v2 * (v1 * v1 * ((v5 + 1) * v1 + v5) + 1) + v4; case 'easeinoutback': if (v5 == undefined) { v5 = 1.70158; } v1 /= v3 / 2; if (v1 < 1) { v5 *= 1.525; return (v2 / 2) * (v1 * v1 * ((v5 + 1) * v1 - v5)) + v4; } v1 -= 2; v5 *= 1.525; return (v2 / 2) * (v1 * v1 * ((v5 + 1) * v1 + v5) + 2) + v4; case 'easeoutinback': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutBack') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInBack') * 0.5 + v2 * 0.5 + v4; case 'easeinbounce': return v2 - findTweenValue(0, v2, 0, v3 - v1, v3, 'easeOutBounce') + v4; case 'easeoutbounce': v1 /= v3; if (v1 < 0.3636363636363637) { return v2 * (7.5625 * v1 * v1) + v4; } else { if (v1 < 0.7272727272727273) { v1 -= 0.5454545454545454; return v2 * (7.5625 * v1 * v1 + 0.75) + v4; } else { if (v1 < 0.9090909090909091) { v1 -= 0.8181818181818182; return v2 * (7.5625 * v1 * v1 + 0.9375) + v4; } else { v1 -= 0.9545454545454546; return v2 * (7.5625 * v1 * v1 + 0.984375) + v4; } } } case 'easeinoutbounce': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeInBounce') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeOutBounce') * 0.5 + v2 * 0.5 + v4; case 'easeoutinbounce': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutBounce') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInBounce') * 0.5 + v2 * 0.5 + v4; } trace('MC TWEEN ### Error on transition: there\'s no "' + _animType + '" animation type.'); return 0; }; ASSetPropFlags(_global, 'findTweenValue', 1, 0); wolke2.tween('_y', -64, 0.2, 'linear', 0); }; this.wolke3.onRelease = function () { _global.$createTweenController = function () { var v3 = _root.createEmptyMovieClip('__tweenController__', 123432); v3.$_tweenPropList = new Array(); v3.$_tTime = getTimer(); v3.onEnterFrame = _global.$updateTweens; }; ASSetPropFlags(_global, '$createTweenController', 1, 0); _global.$removeTweenController = function () { delete _root.__tweenController__.$_tweenPropList; delete _root.__tweenController__.$_tTime; delete _root.__tweenController__.onEnterFrame; _root.__tweenController__.removeMovieClip(); }; ASSetPropFlags(_global, '$removeTweenController', 1, 0); _global.$addTween = function (mtarget, prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2, extras) { if (timeSeconds == undefined) { timeSeconds = 0; } if (animType == undefined || animType == '') { animType = 'easeOutExpo'; } if (delay == undefined) { delay = 0; } if (typeof prop == 'string') { var v7 = [prop]; var v11 = [mtarget[prop]]; var v9 = [propDest]; } else { var v7 = []; var v11 = []; var v9 = []; for (var v32 in prop) { v11.push(mtarget[prop[v32]]); } for (v32 in prop) { v7.push(prop[v32]); } for (v32 in propDest) { v9.push(propDest[v32]); } } var v12 = false; if (_root.__tweenController__ == undefined) { _global.$createTweenController(); } var v4 = _root.__tweenController__.$_tweenPropList; var v8 = _root.__tweenController__.$_tTime; for (v32 in v11) { if (v9[v32] != undefined && !mtarget.$_isTweenLocked) { if (mtarget.$_tweenCount > 0) { var v3 = 0; while (v3 < v4.length) { if (v4[v3]._targ == mtarget && v4[v3]._prop == v7[v32]) { if (v8 + delay * 1000 < v4[v3]._timeDest) { v4.splice(v3, 1); --v3; --mtarget.$_tweenCount; } } ++v3; } } v4.push({'_prop': v7[v32], '_targ': mtarget, '_propStart': undefined, '_propDest': v9[v32], '_timeStart': v8, '_timeDest': v8 + timeSeconds * 1000, '_animType': animType, '_extra1': extra1, '_extra2': extra2, '_extras': extras, '_delay': delay, '_isPaused': false, '_timePaused': 0, '_callback': v12 ? undefined : callback}); mtarget.$_tweenCount = mtarget.$_tweenCount > 0 ? mtarget.$_tweenCount + 1 : 1; v12 = true; } } ASSetPropFlags(mtarget, '$_tweenCount', 1, 0); }; ASSetPropFlags(_global, '$addTween', 1, 0); _global.$updateTweens = function () { this.$_tTime = getTimer(); var v8 = this.$_tTime; var v6 = 0; while (v6 < this.$_tweenPropList.length) { var v3 = this.$_tweenPropList[v6]; if (v3._targ.toString() == undefined) { this.$_tweenPropList.splice(v6, 1); --v6; } else { if (v3._timeStart + v3._delay * 1000 <= v8 && !v3._isPaused) { if (v3._propStart == undefined) { if (v3._prop.substr(0, 10) == '__special_') { if (v3._prop == '__special_mc_frame__') { v3._propStart = v3._targ._currentframe; } else { if (v3._prop == '__special_mc_ra__') { v3._propStart = ((new Color(v3._targ)).getTransform()).ra; } else { if (v3._prop == '__special_mc_rb__') { v3._propStart = ((new Color(v3._targ)).getTransform()).rb; } else { if (v3._prop == '__special_mc_ga__') { v3._propStart = ((new Color(v3._targ)).getTransform()).ga; } else { if (v3._prop == '__special_mc_gb__') { v3._propStart = ((new Color(v3._targ)).getTransform()).gb; } else { if (v3._prop == '__special_mc_ba__') { v3._propStart = ((new Color(v3._targ)).getTransform()).ba; } else { if (v3._prop == '__special_mc_bb__') { v3._propStart = ((new Color(v3._targ)).getTransform()).bb; } else { if (v3._prop == '__special_mc_aa__') { v3._propStart = ((new Color(v3._targ)).getTransform()).aa; } else { if (v3._prop == '__special_mc_ab__') { v3._propStart = ((new Color(v3._targ)).getTransform()).ab; } else { if (v3._prop == '__special_text_r__') { v3._propStart = v3._targ.textColor >> 16; } else { if (v3._prop == '__special_text_g__') { v3._propStart = (v3._targ.textColor & 65280) >> 8; } else { if (v3._prop == '__special_text_b__') { v3._propStart = v3._targ.textColor & 255; } else { if (v3._prop == '__special_sound_volume__') { v3._propStart = v3._targ.getVolume(); } else { if (v3._prop == '__special_sound_pan__') { v3._propStart = v3._targ.getPan(); } else { if (v3._prop == '__special_bst_t__') { v3._propStart = 0; v3._extras.__special_bst_ix__ = v3._targ._x; v3._extras.__special_bst_iy__ = v3._targ._y; } else { if (v3._prop == '__special_blur_x__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BlurFilter) { v3._propStart = v3._targ.filters[v5].blurX; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_blur_y__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BlurFilter) { v3._propStart = v3._targ.filters[v5].blurY; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_glow_color__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].color; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 16777215; } } else { if (v3._prop == '__special_glow_alpha__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].alpha; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { if (v3._prop == '__special_glow_blurX__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].blurX; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_glow_blurY__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].blurY; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_glow_strength__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].strength; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { if (v3._prop == '__special_bevel_distance__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].distance; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_bevel_angle__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].angle; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 45; } } else { if (v3._prop == '__special_bevel_highlightColor__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].highlightColor; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 16777215; } } else { if (v3._prop == '__special_bevel_highlightAlpha__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].highlightAlpha; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { if (v3._prop == '__special_bevel_shadowColor__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].shadowColor; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_bevel_shadowAlpha__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].shadowAlpha; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { if (v3._prop == '__special_bevel_blurX__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].blurX; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_bevel_blurY__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].blurY; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_bevel_strength__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].strength; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { v3._propStart = v3._targ[v3._prop]; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } else { v3._propStart = v3._targ[v3._prop]; } } var v10 = v3._timeDest + v3._delay * 1000; if (v10 <= v8) { var v4 = v3._propDest; } else { var v4 = _global.findTweenValue(v3._propStart, v3._propDest, v3._timeStart, v8 - v3._delay * 1000, v3._timeDest, v3._animType, v3._extra1, v3._extra2); } v3._targ[v3._prop] = v3._extras.mustRound ? Math.round(v4) : v4; if (v3._prop == '__special_mc_frame__') { v3._targ.gotoAndStop(Math.round(v4)); } else { if (v3._prop == '__special_mc_ra__') { (new Color(v3._targ)).setTransform({'ra': v4}); } else { if (v3._prop == '__special_mc_rb__') { (new Color(v3._targ)).setTransform({'rb': v4}); } else { if (v3._prop == '__special_mc_ga__') { (new Color(v3._targ)).setTransform({'ga': v4}); } else { if (v3._prop == '__special_mc_gb__') { (new Color(v3._targ)).setTransform({'gb': v4}); } else { if (v3._prop == '__special_mc_ba__') { (new Color(v3._targ)).setTransform({'ba': v4}); } else { if (v3._prop == '__special_mc_bb__') { (new Color(v3._targ)).setTransform({'bb': v4}); } else { if (v3._prop == '__special_mc_aa__') { (new Color(v3._targ)).setTransform({'aa': v4}); } else { if (v3._prop == '__special_mc_ab__') { (new Color(v3._targ)).setTransform({'ab': v4}); } } } } } } } } } if (v3._prop == '__special_bst_t__') { var v7 = v3._extras; var v9 = _global.findPointOnCurve(v7.__special_bst_ix__, v7.__special_bst_iy__, v7.__special_bst_cx__, v7.__special_bst_cy__, v7.__special_bst_dx__, v7.__special_bst_dy__, v4); if (v3._extras.mustRound) { v3._targ._x = Math.round(v9.x); v3._targ._y = Math.round(v9.y); } else { v3._targ._x = v9.x; v3._targ._y = v9.y; } } if (typeof v3._targ != 'movieclip' && v3._prop == '__special_text_b__') { v3._targ.textColor = (v3._targ.__special_text_r__ << 16) + (v3._targ.__special_text_g__ << 8) + v3._targ.__special_text_b__; } if (v3._prop == '__special_sound_volume__') { v3._targ.setVolume(v4); } if (v3._prop == '__special_sound_pan__') { v3._targ.setPan(v4); } if (v3._prop == '__special_blur_x__') { _global.$setFilterProperty(v3._targ, 'blur_blurX', v4, v3._extras); } if (v3._prop == '__special_blur_y__') { _global.$setFilterProperty(v3._targ, 'blur_blurY', v4, v3._extras); } if (v3._prop == '__special_glow_color__') { _global.$setFilterProperty(v3._targ, 'glow_color', _global.findTweenColor(v3, v8), v3._extras); } if (v3._prop == '__special_glow_alpha__') { _global.$setFilterProperty(v3._targ, 'glow_alpha', v4, v3._extras); } if (v3._prop == '__special_glow_blurX__') { _global.$setFilterProperty(v3._targ, 'glow_blurX', v4, v3._extras); } if (v3._prop == '__special_glow_blurY__') { _global.$setFilterProperty(v3._targ, 'glow_blurY', v4, v3._extras); } if (v3._prop == '__special_glow_strength__') { _global.$setFilterProperty(v3._targ, 'glow_strength', v4, v3._extras); } if (v3._prop == '__special_bevel_distance__') { _global.$setFilterProperty(v3._targ, 'bevel_distance', v4, v3._extras); } if (v3._prop == '__special_bevel_angle__') { _global.$setFilterProperty(v3._targ, 'bevel_angle', v4, v3._extras); } if (v3._prop == '__special_bevel_highlightColor__') { _global.$setFilterProperty(v3._targ, 'bevel_highlightColor', _global.findTweenColor(v3, v8), v3._extras); } if (v3._prop == '__special_bevel_highlightAlpha__') { _global.$setFilterProperty(v3._targ, 'bevel_highlightAlpha', v4, v3._extras); } if (v3._prop == '__special_bevel_shadowColor__') { _global.$setFilterProperty(v3._targ, 'bevel_shadowColor', _global.findTweenColor(v3, v8), v3._extras); } if (v3._prop == '__special_bevel_shadowAlpha__') { _global.$setFilterProperty(v3._targ, 'bevel_shadowAlpha', v4, v3._extras); } if (v3._prop == '__special_bevel_blurX__') { _global.$setFilterProperty(v3._targ, 'bevel_blurX', v4, v3._extras); } if (v3._prop == '__special_bevel_blurY__') { _global.$setFilterProperty(v3._targ, 'bevel_blurY', v4, v3._extras); } if (v3._prop == '__special_bevel_strength__') { _global.$setFilterProperty(v3._targ, 'bevel_strength', v4, v3._extras); } if (v3._targ.onTweenUpdate != undefined) { v3._targ.onTweenUpdate(v3._prop); } if (v10 <= v8) { if (v3._targ.onTweenComplete != undefined) { v3._targ.onTweenComplete(v3._prop); } _global.$stopTween(v3._targ, [v3._prop], false); --v6; if (v3._callback != undefined) { if (_global.backwardCallbackTweening) { var v11 = v3._targ.createEmptyMovieClip('__child__', 122344); v3._callback.apply(v11, null); v11.removeMovieClip(); } else { v3._callback.apply(v3._targ, null); } } } } } ++v6; } if (this.$_tweenPropList.length == 0) { _global.$removeTweenController(); } }; ASSetPropFlags(_global, '$updateTween', 1, 0); _global.$stopTween = function (mtarget, props, wipeFuture) { var v4 = _root.__tweenController__.$_tweenPropList; var v7; for (var v9 in v4) { v7 = v4[v9]._prop; var v5 = 0; for (;;) { if (!(v5 < props.length || v5 < 1 && props == undefined)) break; if (v4[v9]._targ == mtarget && (v7 == props[v5] || props == undefined) && (wipeFuture || v4[v9]._timeDest + v4[v9]._delay * 1000 <= getTimer())) { switch (v7) { case '__special_mc_frame__': case '__special_mc_ra__': case '__special_mc_rb__': case '__special_mc_ga__': case '__special_mc_gb__': case '__special_mc_ba__': case '__special_mc_bb__': case '__special_mc_aa__': case '__special_mc_ab__': case '__special_sound_volume__': case '__special_bst_t__': delete mtarget[v7]; break; case '__special_text_b__': delete mtarget.__special_text_r__; delete mtarget.__special_text_g__; delete mtarget.__special_text_b__; } v4.splice(v9, 1); } ++v5; } } if (props == undefined) { delete mtarget.$_tweenCount; } else { mtarget.$_tweenCount = 0; for (v9 in v4) { if (v4[v9]._targ == mtarget) { ++mtarget.$_tweenCount; } } if (mtarget.$_tweenCount == 0) { delete mtarget.$_tweenCount; } } if (v4.length == 0) { _global.$removeTweenController(); } }; ASSetPropFlags(_global, '$stopTween', 1, 0); _global.$setFilterProperty = function (mtarget, propName, propValue, extras) { var v1; var v7 = false; var v3 = []; v1 = 0; while (v1 < mtarget.filters.length) { v3.push(mtarget.filters[v1]); ++v1; } if (propName.substr(0, 5) == 'blur_') { v1 = 0; while (v1 < mtarget.filters.length) { if (v3[v1] instanceof flash.filters.BlurFilter) { v3[v1][propName.substr(5)] = propValue; if (extras.__special_blur_quality__ != undefined) { v3[v1].quality = extras.__special_blur_quality__; } v7 = true; break; } ++v1; } if (!v7) { var v9; var v8 = (extras.__special_blur_quality__ == undefined) ? 2 : extras.__special_blur_quality__; if (propName == 'blur_blurX') { v9 = new flash.filters.BlurFilter(propValue, 0, v8); } if (propName == 'blur_blurY') { v9 = new flash.filters.BlurFilter(0, propValue, v8); } v3.push(v9); } } else { if (propName.substr(0, 5) == 'glow_') { v1 = 0; while (v1 < mtarget.filters.length) { if (v3[v1] instanceof flash.filters.GlowFilter) { v3[v1][propName.substr(5)] = propValue; if (extras.__special_glow_quality__ != undefined) { v3[v1].quality = extras.__special_glow_quality__; } if (extras.__special_glow_inner__ != undefined) { v3[v1].inner = extras.__special_glow_inner__; } if (extras.__special_glow_knockout__ != undefined) { v3[v1].knockout = extras.__special_glow_knockout__; } v7 = true; break; } ++v1; } if (!v7) { var v8 = (extras.__special_glow_quality__ == undefined) ? 2 : extras.__special_glow_quality__; var v12 = (extras.__special_glow_inner__ == undefined) ? false : extras.__special_glow_inner__; var v10 = (extras.__special_glow_knockout__ == undefined) ? false : extras.__special_glow_knockout__; if (propName == 'glow_color') { var v9 = new flash.filters.GlowFilter(propValue, 1, 0, 0, 1, v8, v12, v10); } if (propName == 'glow_alpha') { v9 = new flash.filters.GlowFilter(16777215, propValue, 0, 0, 1, v8, v12, v10); } if (propName == 'glow_blurX') { v9 = new flash.filters.GlowFilter(16777215, 1, propValue, 0, 1, v8, v12, v10); } if (propName == 'glow_blurY') { v9 = new flash.filters.GlowFilter(16777215, 1, 0, propValue, 1, v8, v12, v10); } if (propName == 'glow_strength') { v9 = new flash.filters.GlowFilter(16777215, 1, 0, 0, propValue, v8, v12, v10); } v3.push(v9); } } else { if (propName.substr(0, 6) == 'bevel_') { v1 = 0; while (v1 < mtarget.filters.length) { if (v3[v1] instanceof flash.filters.BevelFilter) { v3[v1][propName.substr(6)] = propValue; if (extras.__special_bevel_quality__ != undefined) { v3[v1].quality = extras.__special_bevel_quality__; } if (extras.__special_bevel_type__ != undefined) { v3[v1].inner = extras.__special_bevel_type__; } if (extras.__special_bevel_knockout__ != undefined) { v3[v1].knockout = extras.__special_bevel_knockout__; } v7 = true; break; } ++v1; } if (!v7) { var v8 = (extras.__special_bevel_quality__ == undefined) ? 2 : extras.__special_bevel_quality__; var v11 = (extras.__special_bevel_type__ == undefined) ? 'inner' : extras.__special_bevel_type__; var v10 = (extras.__special_bevel_knockout__ == undefined) ? false : extras.__special_bevel_knockout__; if (propName == 'bevel_distance') { var v9 = new flash.filters.BevelFilter(propValue, 45, 16777215, 1, 0, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_angle') { v9 = new flash.filters.BevelFilter(0, propValue, 16777215, 1, 0, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_highlightColor') { v9 = new flash.filters.BevelFilter(0, 45, propValue, 1, 0, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_highlightAlpha') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, propValue, 0, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_shadowColor') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, propValue, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_shadowAlpha') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, propValue, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_blurX') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, 1, propValue, 0, 1, v8, v11, v10); } if (propName == 'bevel_blurY') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, 1, 0, propValue, 1, v8, v11, v10); } if (propName == 'bevel_strength') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, 1, 0, 0, propValue, v8, v11, v10); } v3.push(v9); } } else { return undefined; } } } mtarget.filters = v3; }; Sound.prototype.tween = function (prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2); }; TextField.prototype.tween = Sound.prototype.tween; MovieClip.prototype.tween = Sound.prototype.tween; ASSetPropFlags(MovieClip.prototype, 'tween', 1, 0); ASSetPropFlags(TextField.prototype, 'tween', 1, 0); ASSetPropFlags(Sound.prototype, 'tween', 1, 0); Sound.prototype.roundedTween = function (prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2, {'mustRound': true}); }; TextField.prototype.roundedTween = Sound.prototype.roundedTween; MovieClip.prototype.roundedTween = Sound.prototype.roundedTween; ASSetPropFlags(MovieClip.prototype, 'roundedTween', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedTween', 1, 0); ASSetPropFlags(Sound.prototype, 'roundedTween', 1, 0); Sound.prototype.stopTween = function (props) { if (typeof props == 'string') { props = [props]; } if (props != undefined) { var v4 = 1; while (v4 < arguments.length) { props.push(arguments[v4]); ++v4; } } _global.$stopTween(this, props, true); }; TextField.prototype.stopTween = Sound.prototype.stopTween; MovieClip.prototype.stopTween = Sound.prototype.stopTween; ASSetPropFlags(MovieClip.prototype, 'stopTween', 1, 0); ASSetPropFlags(TextField.prototype, 'stopTween', 1, 0); ASSetPropFlags(Sound.prototype, 'stopTween', 1, 0); Sound.prototype.pauseTween = function (props) { if (props != undefined) { if (typeof props == 'string') { props = [props]; } var v6 = 1; while (v6 < Arguments.length) { props.push(Arguments[v6]); ++v6; } } var v4 = _root.__tweenController__.$_tweenPropList; var v5; for (var v7 in v4) { if (v4[v7]._targ == this && !v4[v7]._isPaused) { if (props != undefined) { v5 = false; for (v6 in props) { if (props[v6] == v4[v7]._prop) { v5 = true; break; } } } if (props == undefined || v5) { v4[v7]._isPaused = true; v4[v7]._timePaused = _root.__tweenController__.$_tTime; } } } }; TextField.prototype.pauseTween = Sound.prototype.pauseTween; MovieClip.prototype.pauseTween = Sound.prototype.pauseTween; ASSetPropFlags(MovieClip.prototype, 'pauseTween', 1, 0); ASSetPropFlags(TextField.prototype, 'pauseTween', 1, 0); ASSetPropFlags(Sound.prototype, 'pauseTween', 1, 0); Sound.prototype.resumeTween = function (props) { if (props != undefined) { if (typeof props == 'string') { props = [props]; } var v7 = 1; while (v7 < Arguments.length) { props.push(Arguments[v7]); ++v7; } } var v3 = _root.__tweenController__.$_tweenPropList; var v5; var v6; for (var v8 in v3) { if (v3[v8]._targ == this && v3[v8]._isPaused) { if (props != undefined) { v5 = false; for (v7 in props) { if (props[v7] == v3[v8]._prop) { v5 = true; break; } } } if (props == undefined || v5) { v3[v8]._isPaused = false; v6 = _root.__tweenController__.$_tTime - v3[v8]._timePaused; v3[v8]._timeStart += v6; v3[v8]._timeDest += v6; v3[v8]._timePaused = 0; } } } }; TextField.prototype.resumeTween = Sound.prototype.resumeTween; MovieClip.prototype.resumeTween = Sound.prototype.resumeTween; ASSetPropFlags(MovieClip.prototype, 'resumeTween', 1, 0); ASSetPropFlags(TextField.prototype, 'resumeTween', 1, 0); ASSetPropFlags(Sound.prototype, 'resumeTween', 1, 0); Sound.prototype.lockTween = function () { this.$_isTweenLocked = true; ASSetPropFlags(this, 'this.$_isTweenLocked', 1, 0); }; TextField.prototype.lockTween = Sound.prototype.lockTween; MovieClip.prototype.lockTween = Sound.prototype.lockTween; ASSetPropFlags(MovieClip.prototype, 'lockTween', 1, 0); ASSetPropFlags(TextField.prototype, 'lockTween', 1, 0); ASSetPropFlags(Sound.prototype, 'lockTween', 1, 0); Sound.prototype.unlockTween = function () { delete this.$_isTweenLocked; }; TextField.prototype.unlockTween = Sound.prototype.unlockTween; MovieClip.prototype.unlockTween = Sound.prototype.unlockTween; ASSetPropFlags(MovieClip.prototype, 'unlockTween', 1, 0); ASSetPropFlags(TextField.prototype, 'unlockTween', 1, 0); ASSetPropFlags(Sound.prototype, 'unlockTween', 1, 0); Sound.prototype.getTweens = function () { return this.$_tweenCount; }; TextField.prototype.getTweens = Sound.prototype.getTweens; MovieClip.prototype.getTweens = Sound.prototype.getTweens; ASSetPropFlags(MovieClip.prototype, 'getTweens', 1, 0); ASSetPropFlags(TextField.prototype, 'getTweens', 1, 0); ASSetPropFlags(Sound.prototype, 'getTweens', 1, 0); Sound.prototype.isTweening = function () { return this.$_tweenCount > 0 ? true : false; }; TextField.prototype.isTweening = Sound.prototype.isTweening; MovieClip.prototype.isTweening = Sound.prototype.isTweening; ASSetPropFlags(MovieClip.prototype, 'isTweening', 1, 0); ASSetPropFlags(TextField.prototype, 'isTweening', 1, 0); ASSetPropFlags(Sound.prototype, 'isTweening', 1, 0); TextField.prototype.alphaTo = function (propDest_a, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_alpha', propDest_a, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.alphaTo = TextField.prototype.alphaTo; ASSetPropFlags(MovieClip.prototype, 'alphaTo', 1, 0); ASSetPropFlags(TextField.prototype, 'alphaTo', 1, 0); MovieClip.prototype.frameTo = function (propDest_frame, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_mc_frame__', propDest_frame, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(MovieClip.prototype, 'frameTo', 1, 0); TextField.prototype.resizeTo = function (propDest_width, propDest_height, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['_width', '_height'], [propDest_width, propDest_height], timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.resizeTo = TextField.prototype.resizeTo; ASSetPropFlags(MovieClip.prototype, 'resizeTo', 1, 0); ASSetPropFlags(TextField.prototype, 'resizeTo', 1, 0); TextField.prototype.rotateTo = function (propDest_rotation, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_rotation', propDest_rotation, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.rotateTo = TextField.prototype.rotateTo; ASSetPropFlags(MovieClip.prototype, 'rotateTo', 1, 0); ASSetPropFlags(TextField.prototype, 'rotateTo', 1, 0); TextField.prototype.scaleTo = function (propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['_xscale', '_yscale'], [propDest_scale, propDest_scale], timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.scaleTo = TextField.prototype.scaleTo; ASSetPropFlags(MovieClip.prototype, 'scaleTo', 1, 0); ASSetPropFlags(TextField.prototype, 'scaleTo', 1, 0); TextField.prototype.xScaleTo = function (propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_xscale', propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.xScaleTo = TextField.prototype.xScaleTo; ASSetPropFlags(MovieClip.prototype, 'xScaleTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xScaleTo', 1, 0); TextField.prototype.yScaleTo = function (propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_yscale', propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.yScaleTo = TextField.prototype.yScaleTo; ASSetPropFlags(MovieClip.prototype, 'yScaleTo', 1, 0); ASSetPropFlags(TextField.prototype, 'yScaleTo', 1, 0); TextField.prototype.scrollTo = function (propDest_scroll, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, 'scroll', propDest_scroll, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(TextField.prototype, 'scrollTo', 1, 0); TextField.prototype.slideTo = function (propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['_x', '_y'], [propDest_x, propDest_y], timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.slideTo = TextField.prototype.slideTo; ASSetPropFlags(MovieClip.prototype, 'slideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'slideTo', 1, 0); TextField.prototype.roundedSlideTo = function (propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['_x', '_y'], [propDest_x, propDest_y], timeSeconds, animType, delay, callback, extra1, extra2, {'mustRound': true}); }; MovieClip.prototype.roundedSlideTo = TextField.prototype.roundedSlideTo; ASSetPropFlags(MovieClip.prototype, 'roundedSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedSlideTo', 1, 0); TextField.prototype.xSlideTo = function (propDest_x, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_x', propDest_x, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.xSlideTo = TextField.prototype.xSlideTo; ASSetPropFlags(MovieClip.prototype, 'xSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xSlideTo', 1, 0); TextField.prototype.roundedXSlideTo = function (propDest_x, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_x', propDest_x, timeSeconds, animType, delay, callback, extra1, extra2, {'mustRound': true}); }; MovieClip.prototype.roundedXSlideTo = TextField.prototype.roundedXSlideTo; ASSetPropFlags(MovieClip.prototype, 'roundedXSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedXSlideTo', 1, 0); TextField.prototype.ySlideTo = function (propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_y', propDest_y, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.ySlideTo = TextField.prototype.ySlideTo; ASSetPropFlags(MovieClip.prototype, 'ySlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'ySlideTo', 1, 0); TextField.prototype.roundedYSlideTo = function (propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_y', propDest_y, timeSeconds, animType, delay, callback, extra1, extra2, {'mustRound': true}); }; MovieClip.prototype.roundedYSlideTo = TextField.prototype.roundedYSlideTo; ASSetPropFlags(MovieClip.prototype, 'roundedYSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedYSlideTo', 1, 0); TextField.prototype.bezierSlideTo = function (cpoint_x, cpoint_y, propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { var v3 = new Object(); v3.__special_bst_ix__ = undefined; v3.__special_bst_iy__ = undefined; v3.__special_bst_cx__ = cpoint_x; v3.__special_bst_cy__ = cpoint_y; v3.__special_bst_dx__ = propDest_x; v3.__special_bst_dy__ = propDest_y; _global.$addTween(this, '__special_bst_t__', 1, timeSeconds, animType, delay, callback, extra1, extra2, v3); }; MovieClip.prototype.bezierSlideTo = TextField.prototype.bezierSlideTo; ASSetPropFlags(MovieClip.prototype, 'bezierSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'bezierSlideTo', 1, 0); TextField.prototype.roundedBezierSlideTo = function (cpoint_x, cpoint_y, propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { var v3 = new Object(); v3.__special_bst_ix__ = undefined; v3.__special_bst_iy__ = undefined; v3.__special_bst_cx__ = cpoint_x; v3.__special_bst_cy__ = cpoint_y; v3.__special_bst_dx__ = propDest_x; v3.__special_bst_dy__ = propDest_y; v3.mustRound = true; _global.$addTween(this, '__special_bst_t__', 1, timeSeconds, animType, delay, callback, extra1, extra2, v3); }; MovieClip.prototype.roundedBezierSlideTo = TextField.prototype.roundedBezierSlideTo; ASSetPropFlags(MovieClip.prototype, 'roundedBezierSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedBezierSlideTo', 1, 0); Sound.prototype.volumeTo = function (propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_sound_volume__', propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(Sound.prototype, 'volumeTo', 1, 0); Sound.prototype.panTo = function (propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_sound_pan__', propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(Sound.prototype, 'panTo', 1, 0); MovieClip.prototype.colorTo = function (propDest_color, timeSeconds, animType, delay, callback, extra1, extra2) { if (propDest_color == null) { this.colorTransformTo(100, 0, 100, 0, 100, 0, undefined, undefined, timeSeconds, animType, delay, callback, extra1, extra2); } else { var v3 = propDest_color >> 16; var v5 = (propDest_color & 65280) >> 8; var v4 = propDest_color & 255; this.colorTransformTo(0, v3, 0, v5, 0, v4, undefined, undefined, timeSeconds, animType, delay, callback, extra1, extra2); } }; ASSetPropFlags(MovieClip.prototype, 'colorTo', 1, 0); TextField.prototype.colorTo = function (propDest_color, timeSeconds, animType, delay, callback, extra1, extra2) { var v3 = propDest_color >> 16; var v6 = (propDest_color & 65280) >> 8; var v4 = propDest_color & 255; _global.$addTween(this, ['__special_text_r__', '__special_text_g__', '__special_text_b__'], [v3, v6, v4], timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(TextField.prototype, 'colorTo', 1, 0); MovieClip.prototype.colorTransformTo = function () { if (typeof arguments[0] == 'object' && arguments[0] != undefined) { _global.$addTween(this, ['__special_mc_ra__', '__special_mc_rb__', '__special_mc_ga__', '__special_mc_gb__', '__special_mc_ba__', '__special_mc_bb__', '__special_mc_aa__', '__special_mc_ab__'], [arguments[0].ra, arguments[0].rb, arguments[0].ga, arguments[0].gb, arguments[0].ba, arguments[0].bb, arguments[0].aa, arguments[0].ab], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6]); } else { _global.$addTween(this, ['__special_mc_ra__', '__special_mc_rb__', '__special_mc_ga__', '__special_mc_gb__', '__special_mc_ba__', '__special_mc_bb__', '__special_mc_aa__', '__special_mc_ab__'], [arguments[0], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], arguments[7]], arguments[8], arguments[9], arguments[10], arguments[11], arguments[12], arguments[13]); } }; ASSetPropFlags(MovieClip.prototype, 'colorTransformTo', 1, 0); TextField.prototype.blurTo = function () { if (typeof arguments[0] == 'object' && arguments[0] != undefined) { _global.$addTween(this, ['__special_blur_x__', '__special_blur_y__'], [arguments[0].blurX, arguments[0].blurY], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], {'__special_blur_quality__': arguments[0].quality}); } else { _global.$addTween(this, ['__special_blur_x__', '__special_blur_y__'], [arguments[0], arguments[0]], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], arguments[7], {'__special_blur_quality__': arguments[1]}); } }; MovieClip.prototype.blurTo = TextField.prototype.blurTo; ASSetPropFlags(MovieClip.prototype, 'blurTo', 1, 0); ASSetPropFlags(TextField.prototype, 'blurTo', 1, 0); TextField.prototype.xyBlurTo = function (propDest_blurX, propDest_blurY, quality, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_blur_x__', '__special_blur_y__'], [propDest_blurX, propDest_blurY], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_blur_quality__': quality}); }; MovieClip.prototype.xyBlurTo = TextField.prototype.xyBlurTo; ASSetPropFlags(MovieClip.prototype, 'xyBlurTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xyBlurTo', 1, 0); TextField.prototype.xBlurTo = function (propDest_blur, quality, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_blur_x__', propDest_blur, timeSeconds, animType, delay, callback, extra1, extra2, {'__special_blur_quality__': quality}); }; MovieClip.prototype.xBlurTo = TextField.prototype.xBlurTo; ASSetPropFlags(MovieClip.prototype, 'xBlurTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xBlurTo', 1, 0); TextField.prototype.yBlurTo = function (propDest_blur, quality, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_blur_y__', propDest_blur, timeSeconds, animType, delay, callback, extra1, extra2, {'__special_blur_quality__': quality}); }; MovieClip.prototype.yBlurTo = TextField.prototype.yBlurTo; ASSetPropFlags(MovieClip.prototype, 'yBlurTo', 1, 0); ASSetPropFlags(TextField.prototype, 'yBlurTo', 1, 0); TextField.prototype.glowTo = function () { if (typeof arguments[0] == 'object' && arguments[0] != undefined) { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurX__', '__special_glow_blurY__', '__special_glow_strength__'], [arguments[0].color, arguments[0].alpha, arguments[0].blurX, arguments[0].blurY, arguments[0].strength], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], {'__special_glow_quality__': arguments[0].quality, '__special_glow_inner__': arguments[0].inner, '__special_glow_knockout__': arguments[0].knockout}); } else { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurX__', '__special_glow_blurY__', '__special_glow_strength__'], [arguments[0], arguments[1], arguments[2], arguments[2], arguments[3]], arguments[7], arguments[8], arguments[9], arguments[10], arguments[11], arguments[12], {'__special_glow_quality__': arguments[4], '__special_glow_inner__': arguments[5], '__special_glow_knockout__': arguments[6]}); } }; MovieClip.prototype.glowTo = TextField.prototype.glowTo; ASSetPropFlags(MovieClip.prototype, 'glowTo', 1, 0); ASSetPropFlags(TextField.prototype, 'glowTo', 1, 0); TextField.prototype.xyGlowTo = function (propDest_color, propDest_alpha, propDest_blurX, propDest_blurY, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurX__', '__special_glow_blurY__', '__special_glow_strength__'], [propDest_color, propDest_alpha, propDest_blurX, propDest_blurY, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_glow_quality__': quality, '__special_glow_inner__': inner, '__special_glow_knockout__': knockout}); }; MovieClip.prototype.xyGlowTo = TextField.prototype.xyGlowTo; ASSetPropFlags(MovieClip.prototype, 'xyGlowTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xyGlowTo', 1, 0); TextField.prototype.xGlowTo = function (propDest_color, propDest_alpha, propDest_blur, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurX__', '__special_glow_strength__'], [propDest_color, propDest_alpha, propDest_blur, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_glow_quality__': quality, '__special_glow_inner__': inner, '__special_glow_knockout__': knockout}); }; MovieClip.prototype.xGlowTo = TextField.prototype.xGlowTo; ASSetPropFlags(MovieClip.prototype, 'xGlowTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xGlowTo', 1, 0); TextField.prototype.yGlowTo = function (propDest_color, propDest_alpha, propDest_blur, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurY__', '__special_glow_strength__'], [propDest_color, propDest_alpha, propDest_blur, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_glow_quality__': quality, '__special_glow_inner__': inner, '__special_glow_knockout__': knockout}); }; MovieClip.prototype.yGlowTo = TextField.prototype.yGlowTo; ASSetPropFlags(MovieClip.prototype, 'yGlowTo', 1, 0); ASSetPropFlags(TextField.prototype, 'yGlowTo', 1, 0); TextField.prototype.bevelTo = function () { if (typeof arguments[0] == 'object' && arguments[0] != undefined) { _global.$addTween(this, ['__special_bevel_distance__', '__special_bevel_angle__', '__special_bevel_highlightColor__', '__special_bevel_highlightAlpha__', '__special_bevel_shadowColor__', '__special_bevel_shadowAlpha__', '__special_bevel_blurX__', '__special_bevel_blurY__', '__special_bevel_strength__'], [arguments[0].distance, arguments[0].angle, arguments[0].highlightColor, arguments[0].highlightAlpha * 100, arguments[0].shadowColor, arguments[0].shadowAlpha * 100, arguments[0].blurX, arguments[0].blurY, arguments[0].strength], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], {'__special_bevel_quality__': arguments[0].quality, '__special_bevel_type__': arguments[0].type, '__special_bevel_knockout__': arguments[0].knockout}); } else { _global.$addTween(this, ['__special_bevel_distance__', '__special_bevel_angle__', '__special_bevel_highlightColor__', '__special_bevel_highlightAlpha__', '__special_bevel_shadowColor__', '__special_bevel_shadowAlpha__', '__special_bevel_blurX__', '__special_bevel_blurY__', '__special_bevel_strength__'], [arguments[0], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], arguments[6], arguments[7]], arguments[11], arguments[12], arguments[13], arguments[14], arguments[15], arguments[16], {'__special_bevel_quality__': arguments[8], '__special_bevel_type__': arguments[9], '__special_bevel_knockout__': arguments[10]}); } }; MovieClip.prototype.bevelTo = TextField.prototype.bevelTo; ASSetPropFlags(MovieClip.prototype, 'bevelTo', 1, 0); ASSetPropFlags(TextField.prototype, 'bevelTo', 1, 0); TextField.prototype.xyBevelTo = function (propDest_distance, propDest_angle, propDest_highlightColor, propDest_highlightAlpha, propDest_shadowColor, propDest_shadowAlpha, propDest_blurX, propDest_blurY, propDest_strength, quality, type, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_bevel_distance__', '__special_bevel_angle__', '__special_bevel_highlightColor__', '__special_bevel_highlightAlpha__', '__special_bevel_shadowColor__', '__special_bevel_shadowAlpha__', '__special_bevel_blurX__', '__special_bevel_blurY__', '__special_bevel_blurY__', '__special_bevel_strength__'], [propDest_distance, propDest_angle, propDest_highlightColor, propDest_highlightAlpha, propDest_shadowColor, propDest_shadowAlpha, propDest_blur, propDest_blur, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_bevel_quality__': quality, '__special_bevel_type__': type, '__special_bevel_knockout__': knockout}); }; MovieClip.prototype.xyBevelTo = TextField.prototype.xyBevelTo; ASSetPropFlags(MovieClip.prototype, 'xyBevelTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xyBevelTo', 1, 0); _global.findPointOnCurve = function (p1x, p1y, cx, cy, p2x, p2y, t) { return {'x': p1x + t * (2 * (1 - t) * (cx - p1x) + t * (p2x - p1x)), 'y': p1y + t * (2 * (1 - t) * (cy - p1y) + t * (p2y - p1y))}; }; ASSetPropFlags(_global, 'findPointOnCurve', 1, 0); _global.findTweenColor = function (objProp, tTime) { var v8 = objProp._propStart >> 16; var v4 = objProp._propDest >> 16; var v5 = objProp._propStart >> 8 & 255; var v6 = objProp._propDest >> 8 & 255; var v9 = objProp._propStart & 255; var v7 = objProp._propDest & 255; var v12 = Math.round(_global.findTweenValue(v8, v4, objProp._timeStart, tTime - objProp._delay * 1000, objProp._timeDest, objProp._animType, objProp._extra1, objProp._extra2)); var v10 = Math.round(_global.findTweenValue(v5, v6, objProp._timeStart, tTime - objProp._delay * 1000, objProp._timeDest, objProp._animType, objProp._extra1, objProp._extra2)); var v3 = Math.round(_global.findTweenValue(v9, v7, objProp._timeStart, tTime - objProp._delay * 1000, objProp._timeDest, objProp._animType, objProp._extra1, objProp._extra2)); return (v12 << 16) + (v10 << 8) + v3; }; _global.findTweenValue = function (_propStart, _propDest, _timeStart, _timeNow, _timeDest, _animType, _extra1, _extra2) { var v1 = _timeNow - _timeStart; var v4 = _propStart; var v2 = _propDest - _propStart; var v3 = _timeDest - _timeStart; var v6 = _extra1; var v7 = _extra2; var v5 = _extra1; switch (_animType.toLowerCase()) { trace('MC TWEEN ### Error on transition: there\'s no "' + _animType + '" animation type.'); return 0; case 'linear': return v2 * v1 / v3 + v4; case 'easeinquad': v1 /= v3; return v2 * v1 * v1 + v4; case 'easeoutquad': v1 /= v3; return -v2 * v1 * (v1 - 2) + v4; case 'easeinoutquad': v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * v1 * v1 + v4; } return (-v2 / 2) * (--v1 * (v1 - 2) - 1) + v4; case 'easeoutinquad': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutQuad') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInQuad') * 0.5 + v2 * 0.5 + v4; case 'easeincubic': v1 /= v3; return v2 * v1 * v1 * v1 + v4; case 'easeoutcubic': v1 = v1 / v3 - 1; return v2 * (v1 * v1 * v1 + 1) + v4; case 'easeinoutcubic': v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * v1 * v1 * v1 + v4; } v1 -= 2; return (v2 / 2) * (v1 * v1 * v1 + 2) + v4; case 'easeoutincubic': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutCubic') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInCubic') * 0.5 + v2 * 0.5 + v4; case 'easeinquart': v1 /= v3; return v2 * v1 * v1 * v1 * v1 + v4; case 'easeoutquart': v1 = v1 / v3 - 1; return -v2 * (v1 * v1 * v1 * v1 - 1) + v4; case 'easeinoutquart': v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * v1 * v1 * v1 * v1 + v4; } v1 -= 2; return (-v2 / 2) * (v1 * v1 * v1 * v1 - 2) + v4; case 'easeoutinquart': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutQuart') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInQuart') * 0.5 + v2 * 0.5 + v4; case 'easeinquint': v1 /= v3; return v2 * v1 * v1 * v1 * v1 * v1 + v4; case 'easeoutquint': v1 = v1 / v3 - 1; return v2 * (v1 * v1 * v1 * v1 * v1 + 1) + v4; case 'easeinoutquint': v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * v1 * v1 * v1 * v1 * v1 + v4; } v1 -= 2; return (v2 / 2) * (v1 * v1 * v1 * v1 * v1 + 2) + v4; case 'easeoutinquint': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutQuint') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInQuint') * 0.5 + v2 * 0.5 + v4; case 'easeinsine': return -v2 * Math.cos((v1 / v3) * 1.570796326794897) + v2 + v4; case 'easeoutsine': return v2 * Math.sin((v1 / v3) * 1.570796326794897) + v4; case 'easeinoutsine': return (-v2 / 2) * (Math.cos(Math.PI * v1 / v3) - 1) + v4; case 'easeoutinsine': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutSine') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInSine') * 0.5 + v2 * 0.5 + v4; case 'easeinexpo': return (v1 == 0) ? v4 : v2 * Math.pow(2, 10 * (v1 / v3 - 1)) + v4; case 'easeoutexpo': return (v1 == v3) ? v4 + v2 : v2 * (-Math.pow(2, -10 * v1 / v3) + 1) + v4; case 'easeinoutexpo': if (v1 == 0) { return v4; } if (v1 == v3) { return v4 + v2; } v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * Math.pow(2, 10 * (v1 - 1)) + v4; } return (v2 / 2) * (-Math.pow(2, -10 * --v1) + 2) + v4; case 'easeoutinexpo': if (v1 == 0) { return v4; } if (v1 == v3) { return v4 + v2; } v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * (-Math.pow(2, -10 * v1 / 1) + 1) + v4; } return (v2 / 2) * (Math.pow(2, 10 * (v1 - 2) / 1) + 1) + v4; case 'easeincirc': v1 /= v3; return -v2 * (Math.sqrt(1 - v1 * v1) - 1) + v4; case 'easeoutcirc': v1 = v1 / v3 - 1; return v2 * Math.sqrt(1 - v1 * v1) + v4; case 'easeinoutcirc': v1 /= v3 / 2; if (v1 < 1) { return (-v2 / 2) * (Math.sqrt(1 - v1 * v1) - 1) + v4; } v1 -= 2; return (v2 / 2) * (Math.sqrt(1 - v1 * v1) + 1) + v4; case 'easeoutincirc': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutCirc') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInCirc') * 0.5 + v2 * 0.5 + v4; case 'easeinelastic': if (v1 == 0) { return v4; } v1 /= v3; if (v1 == 1) { return v4 + v2; } if (!v7) { v7 = v3 * 0.3; } if (!v6 || v6 < Math.abs(v2)) { v6 = v2; v5 = v7 / 4; } else { v5 = (v7 / 6.283185307179586) * Math.asin(v2 / v6); } v1 -= 1; return -(v6 * Math.pow(2, 10 * v1) * Math.sin((v1 * v3 - v5) * 6.283185307179586 / v7)) + v4; case 'easeoutelastic': if (v1 == 0) { return v4; } v1 /= v3; if (v1 == 1) { return v4 + v2; } if (!v7) { v7 = v3 * 0.3; } if (!v6 || v6 < Math.abs(v2)) { v6 = v2; v5 = v7 / 4; } else { v5 = (v7 / 6.283185307179586) * Math.asin(v2 / v6); } return v6 * Math.pow(2, -10 * v1) * Math.sin((v1 * v3 - v5) * 6.283185307179586 / v7) + v2 + v4; case 'easeinoutelastic': if (v1 == 0) { return v4; } v1 /= v3 / 2; if (v1 == 2) { return v4 + v2; } if (!v7) { v7 = v3 * 0.45; } if (!v6 || v6 < Math.abs(v2)) { v6 = v2; v5 = v7 / 4; } else { v5 = (v7 / 6.283185307179586) * Math.asin(v2 / v6); } if (v1 < 1) { v1 -= 1; return -0.5 * (v6 * Math.pow(2, 10 * v1) * Math.sin((v1 * v3 - v5) * 6.283185307179586 / v7)) + v4; } v1 -= 1; return v6 * Math.pow(2, -10 * v1) * Math.sin((v1 * v3 - v5) * 6.283185307179586 / v7) * 0.5 + v2 + v4; case 'easeoutinelastic': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutElastic') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInElastic') * 0.5 + v2 * 0.5 + v4; case 'easeinback': if (v5 == undefined) { v5 = 1.70158; } v1 /= v3; return v2 * v1 * v1 * ((v5 + 1) * v1 - v5) + v4; case 'easeoutback': if (v5 == undefined) { v5 = 1.70158; } v1 = v1 / v3 - 1; return v2 * (v1 * v1 * ((v5 + 1) * v1 + v5) + 1) + v4; case 'easeinoutback': if (v5 == undefined) { v5 = 1.70158; } v1 /= v3 / 2; if (v1 < 1) { v5 *= 1.525; return (v2 / 2) * (v1 * v1 * ((v5 + 1) * v1 - v5)) + v4; } v1 -= 2; v5 *= 1.525; return (v2 / 2) * (v1 * v1 * ((v5 + 1) * v1 + v5) + 2) + v4; case 'easeoutinback': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutBack') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInBack') * 0.5 + v2 * 0.5 + v4; case 'easeinbounce': return v2 - findTweenValue(0, v2, 0, v3 - v1, v3, 'easeOutBounce') + v4; case 'easeoutbounce': v1 /= v3; if (v1 < 0.3636363636363637) { return v2 * (7.5625 * v1 * v1) + v4; } else { if (v1 < 0.7272727272727273) { v1 -= 0.5454545454545454; return v2 * (7.5625 * v1 * v1 + 0.75) + v4; } else { if (v1 < 0.9090909090909091) { v1 -= 0.8181818181818182; return v2 * (7.5625 * v1 * v1 + 0.9375) + v4; } else { v1 -= 0.9545454545454546; return v2 * (7.5625 * v1 * v1 + 0.984375) + v4; } } } case 'easeinoutbounce': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeInBounce') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeOutBounce') * 0.5 + v2 * 0.5 + v4; case 'easeoutinbounce': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutBounce') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInBounce') * 0.5 + v2 * 0.5 + v4; } trace('MC TWEEN ### Error on transition: there\'s no "' + _animType + '" animation type.'); return 0; }; ASSetPropFlags(_global, 'findTweenValue', 1, 0); wolke3.tween('_y', 50, 0.5, 'linear', 0); }; this.wolke3.onPress = function () { _global.$createTweenController = function () { var v3 = _root.createEmptyMovieClip('__tweenController__', 123432); v3.$_tweenPropList = new Array(); v3.$_tTime = getTimer(); v3.onEnterFrame = _global.$updateTweens; }; ASSetPropFlags(_global, '$createTweenController', 1, 0); _global.$removeTweenController = function () { delete _root.__tweenController__.$_tweenPropList; delete _root.__tweenController__.$_tTime; delete _root.__tweenController__.onEnterFrame; _root.__tweenController__.removeMovieClip(); }; ASSetPropFlags(_global, '$removeTweenController', 1, 0); _global.$addTween = function (mtarget, prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2, extras) { if (timeSeconds == undefined) { timeSeconds = 0; } if (animType == undefined || animType == '') { animType = 'easeOutExpo'; } if (delay == undefined) { delay = 0; } if (typeof prop == 'string') { var v7 = [prop]; var v11 = [mtarget[prop]]; var v9 = [propDest]; } else { var v7 = []; var v11 = []; var v9 = []; for (var v32 in prop) { v11.push(mtarget[prop[v32]]); } for (v32 in prop) { v7.push(prop[v32]); } for (v32 in propDest) { v9.push(propDest[v32]); } } var v12 = false; if (_root.__tweenController__ == undefined) { _global.$createTweenController(); } var v4 = _root.__tweenController__.$_tweenPropList; var v8 = _root.__tweenController__.$_tTime; for (v32 in v11) { if (v9[v32] != undefined && !mtarget.$_isTweenLocked) { if (mtarget.$_tweenCount > 0) { var v3 = 0; while (v3 < v4.length) { if (v4[v3]._targ == mtarget && v4[v3]._prop == v7[v32]) { if (v8 + delay * 1000 < v4[v3]._timeDest) { v4.splice(v3, 1); --v3; --mtarget.$_tweenCount; } } ++v3; } } v4.push({'_prop': v7[v32], '_targ': mtarget, '_propStart': undefined, '_propDest': v9[v32], '_timeStart': v8, '_timeDest': v8 + timeSeconds * 1000, '_animType': animType, '_extra1': extra1, '_extra2': extra2, '_extras': extras, '_delay': delay, '_isPaused': false, '_timePaused': 0, '_callback': v12 ? undefined : callback}); mtarget.$_tweenCount = mtarget.$_tweenCount > 0 ? mtarget.$_tweenCount + 1 : 1; v12 = true; } } ASSetPropFlags(mtarget, '$_tweenCount', 1, 0); }; ASSetPropFlags(_global, '$addTween', 1, 0); _global.$updateTweens = function () { this.$_tTime = getTimer(); var v8 = this.$_tTime; var v6 = 0; while (v6 < this.$_tweenPropList.length) { var v3 = this.$_tweenPropList[v6]; if (v3._targ.toString() == undefined) { this.$_tweenPropList.splice(v6, 1); --v6; } else { if (v3._timeStart + v3._delay * 1000 <= v8 && !v3._isPaused) { if (v3._propStart == undefined) { if (v3._prop.substr(0, 10) == '__special_') { if (v3._prop == '__special_mc_frame__') { v3._propStart = v3._targ._currentframe; } else { if (v3._prop == '__special_mc_ra__') { v3._propStart = ((new Color(v3._targ)).getTransform()).ra; } else { if (v3._prop == '__special_mc_rb__') { v3._propStart = ((new Color(v3._targ)).getTransform()).rb; } else { if (v3._prop == '__special_mc_ga__') { v3._propStart = ((new Color(v3._targ)).getTransform()).ga; } else { if (v3._prop == '__special_mc_gb__') { v3._propStart = ((new Color(v3._targ)).getTransform()).gb; } else { if (v3._prop == '__special_mc_ba__') { v3._propStart = ((new Color(v3._targ)).getTransform()).ba; } else { if (v3._prop == '__special_mc_bb__') { v3._propStart = ((new Color(v3._targ)).getTransform()).bb; } else { if (v3._prop == '__special_mc_aa__') { v3._propStart = ((new Color(v3._targ)).getTransform()).aa; } else { if (v3._prop == '__special_mc_ab__') { v3._propStart = ((new Color(v3._targ)).getTransform()).ab; } else { if (v3._prop == '__special_text_r__') { v3._propStart = v3._targ.textColor >> 16; } else { if (v3._prop == '__special_text_g__') { v3._propStart = (v3._targ.textColor & 65280) >> 8; } else { if (v3._prop == '__special_text_b__') { v3._propStart = v3._targ.textColor & 255; } else { if (v3._prop == '__special_sound_volume__') { v3._propStart = v3._targ.getVolume(); } else { if (v3._prop == '__special_sound_pan__') { v3._propStart = v3._targ.getPan(); } else { if (v3._prop == '__special_bst_t__') { v3._propStart = 0; v3._extras.__special_bst_ix__ = v3._targ._x; v3._extras.__special_bst_iy__ = v3._targ._y; } else { if (v3._prop == '__special_blur_x__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BlurFilter) { v3._propStart = v3._targ.filters[v5].blurX; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_blur_y__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BlurFilter) { v3._propStart = v3._targ.filters[v5].blurY; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_glow_color__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].color; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 16777215; } } else { if (v3._prop == '__special_glow_alpha__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].alpha; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { if (v3._prop == '__special_glow_blurX__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].blurX; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_glow_blurY__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].blurY; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_glow_strength__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.GlowFilter) { v3._propStart = v3._targ.filters[v5].strength; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { if (v3._prop == '__special_bevel_distance__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].distance; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_bevel_angle__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].angle; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 45; } } else { if (v3._prop == '__special_bevel_highlightColor__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].highlightColor; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 16777215; } } else { if (v3._prop == '__special_bevel_highlightAlpha__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].highlightAlpha; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { if (v3._prop == '__special_bevel_shadowColor__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].shadowColor; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_bevel_shadowAlpha__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].shadowAlpha; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { if (v3._prop == '__special_bevel_blurX__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].blurX; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_bevel_blurY__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].blurY; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 0; } } else { if (v3._prop == '__special_bevel_strength__') { var v5 = 0; while (v5 < v3._targ.filters.length) { if (v3._targ.filters[v5] instanceof flash.filters.BevelFilter) { v3._propStart = v3._targ.filters[v5].strength; } ++v5; } if (v3._propStart == undefined) { v3._propStart = 1; } } else { v3._propStart = v3._targ[v3._prop]; } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } else { v3._propStart = v3._targ[v3._prop]; } } var v10 = v3._timeDest + v3._delay * 1000; if (v10 <= v8) { var v4 = v3._propDest; } else { var v4 = _global.findTweenValue(v3._propStart, v3._propDest, v3._timeStart, v8 - v3._delay * 1000, v3._timeDest, v3._animType, v3._extra1, v3._extra2); } v3._targ[v3._prop] = v3._extras.mustRound ? Math.round(v4) : v4; if (v3._prop == '__special_mc_frame__') { v3._targ.gotoAndStop(Math.round(v4)); } else { if (v3._prop == '__special_mc_ra__') { (new Color(v3._targ)).setTransform({'ra': v4}); } else { if (v3._prop == '__special_mc_rb__') { (new Color(v3._targ)).setTransform({'rb': v4}); } else { if (v3._prop == '__special_mc_ga__') { (new Color(v3._targ)).setTransform({'ga': v4}); } else { if (v3._prop == '__special_mc_gb__') { (new Color(v3._targ)).setTransform({'gb': v4}); } else { if (v3._prop == '__special_mc_ba__') { (new Color(v3._targ)).setTransform({'ba': v4}); } else { if (v3._prop == '__special_mc_bb__') { (new Color(v3._targ)).setTransform({'bb': v4}); } else { if (v3._prop == '__special_mc_aa__') { (new Color(v3._targ)).setTransform({'aa': v4}); } else { if (v3._prop == '__special_mc_ab__') { (new Color(v3._targ)).setTransform({'ab': v4}); } } } } } } } } } if (v3._prop == '__special_bst_t__') { var v7 = v3._extras; var v9 = _global.findPointOnCurve(v7.__special_bst_ix__, v7.__special_bst_iy__, v7.__special_bst_cx__, v7.__special_bst_cy__, v7.__special_bst_dx__, v7.__special_bst_dy__, v4); if (v3._extras.mustRound) { v3._targ._x = Math.round(v9.x); v3._targ._y = Math.round(v9.y); } else { v3._targ._x = v9.x; v3._targ._y = v9.y; } } if (typeof v3._targ != 'movieclip' && v3._prop == '__special_text_b__') { v3._targ.textColor = (v3._targ.__special_text_r__ << 16) + (v3._targ.__special_text_g__ << 8) + v3._targ.__special_text_b__; } if (v3._prop == '__special_sound_volume__') { v3._targ.setVolume(v4); } if (v3._prop == '__special_sound_pan__') { v3._targ.setPan(v4); } if (v3._prop == '__special_blur_x__') { _global.$setFilterProperty(v3._targ, 'blur_blurX', v4, v3._extras); } if (v3._prop == '__special_blur_y__') { _global.$setFilterProperty(v3._targ, 'blur_blurY', v4, v3._extras); } if (v3._prop == '__special_glow_color__') { _global.$setFilterProperty(v3._targ, 'glow_color', _global.findTweenColor(v3, v8), v3._extras); } if (v3._prop == '__special_glow_alpha__') { _global.$setFilterProperty(v3._targ, 'glow_alpha', v4, v3._extras); } if (v3._prop == '__special_glow_blurX__') { _global.$setFilterProperty(v3._targ, 'glow_blurX', v4, v3._extras); } if (v3._prop == '__special_glow_blurY__') { _global.$setFilterProperty(v3._targ, 'glow_blurY', v4, v3._extras); } if (v3._prop == '__special_glow_strength__') { _global.$setFilterProperty(v3._targ, 'glow_strength', v4, v3._extras); } if (v3._prop == '__special_bevel_distance__') { _global.$setFilterProperty(v3._targ, 'bevel_distance', v4, v3._extras); } if (v3._prop == '__special_bevel_angle__') { _global.$setFilterProperty(v3._targ, 'bevel_angle', v4, v3._extras); } if (v3._prop == '__special_bevel_highlightColor__') { _global.$setFilterProperty(v3._targ, 'bevel_highlightColor', _global.findTweenColor(v3, v8), v3._extras); } if (v3._prop == '__special_bevel_highlightAlpha__') { _global.$setFilterProperty(v3._targ, 'bevel_highlightAlpha', v4, v3._extras); } if (v3._prop == '__special_bevel_shadowColor__') { _global.$setFilterProperty(v3._targ, 'bevel_shadowColor', _global.findTweenColor(v3, v8), v3._extras); } if (v3._prop == '__special_bevel_shadowAlpha__') { _global.$setFilterProperty(v3._targ, 'bevel_shadowAlpha', v4, v3._extras); } if (v3._prop == '__special_bevel_blurX__') { _global.$setFilterProperty(v3._targ, 'bevel_blurX', v4, v3._extras); } if (v3._prop == '__special_bevel_blurY__') { _global.$setFilterProperty(v3._targ, 'bevel_blurY', v4, v3._extras); } if (v3._prop == '__special_bevel_strength__') { _global.$setFilterProperty(v3._targ, 'bevel_strength', v4, v3._extras); } if (v3._targ.onTweenUpdate != undefined) { v3._targ.onTweenUpdate(v3._prop); } if (v10 <= v8) { if (v3._targ.onTweenComplete != undefined) { v3._targ.onTweenComplete(v3._prop); } _global.$stopTween(v3._targ, [v3._prop], false); --v6; if (v3._callback != undefined) { if (_global.backwardCallbackTweening) { var v11 = v3._targ.createEmptyMovieClip('__child__', 122344); v3._callback.apply(v11, null); v11.removeMovieClip(); } else { v3._callback.apply(v3._targ, null); } } } } } ++v6; } if (this.$_tweenPropList.length == 0) { _global.$removeTweenController(); } }; ASSetPropFlags(_global, '$updateTween', 1, 0); _global.$stopTween = function (mtarget, props, wipeFuture) { var v4 = _root.__tweenController__.$_tweenPropList; var v7; for (var v9 in v4) { v7 = v4[v9]._prop; var v5 = 0; for (;;) { if (!(v5 < props.length || v5 < 1 && props == undefined)) break; if (v4[v9]._targ == mtarget && (v7 == props[v5] || props == undefined) && (wipeFuture || v4[v9]._timeDest + v4[v9]._delay * 1000 <= getTimer())) { switch (v7) { case '__special_mc_frame__': case '__special_mc_ra__': case '__special_mc_rb__': case '__special_mc_ga__': case '__special_mc_gb__': case '__special_mc_ba__': case '__special_mc_bb__': case '__special_mc_aa__': case '__special_mc_ab__': case '__special_sound_volume__': case '__special_bst_t__': delete mtarget[v7]; break; case '__special_text_b__': delete mtarget.__special_text_r__; delete mtarget.__special_text_g__; delete mtarget.__special_text_b__; } v4.splice(v9, 1); } ++v5; } } if (props == undefined) { delete mtarget.$_tweenCount; } else { mtarget.$_tweenCount = 0; for (v9 in v4) { if (v4[v9]._targ == mtarget) { ++mtarget.$_tweenCount; } } if (mtarget.$_tweenCount == 0) { delete mtarget.$_tweenCount; } } if (v4.length == 0) { _global.$removeTweenController(); } }; ASSetPropFlags(_global, '$stopTween', 1, 0); _global.$setFilterProperty = function (mtarget, propName, propValue, extras) { var v1; var v7 = false; var v3 = []; v1 = 0; while (v1 < mtarget.filters.length) { v3.push(mtarget.filters[v1]); ++v1; } if (propName.substr(0, 5) == 'blur_') { v1 = 0; while (v1 < mtarget.filters.length) { if (v3[v1] instanceof flash.filters.BlurFilter) { v3[v1][propName.substr(5)] = propValue; if (extras.__special_blur_quality__ != undefined) { v3[v1].quality = extras.__special_blur_quality__; } v7 = true; break; } ++v1; } if (!v7) { var v9; var v8 = (extras.__special_blur_quality__ == undefined) ? 2 : extras.__special_blur_quality__; if (propName == 'blur_blurX') { v9 = new flash.filters.BlurFilter(propValue, 0, v8); } if (propName == 'blur_blurY') { v9 = new flash.filters.BlurFilter(0, propValue, v8); } v3.push(v9); } } else { if (propName.substr(0, 5) == 'glow_') { v1 = 0; while (v1 < mtarget.filters.length) { if (v3[v1] instanceof flash.filters.GlowFilter) { v3[v1][propName.substr(5)] = propValue; if (extras.__special_glow_quality__ != undefined) { v3[v1].quality = extras.__special_glow_quality__; } if (extras.__special_glow_inner__ != undefined) { v3[v1].inner = extras.__special_glow_inner__; } if (extras.__special_glow_knockout__ != undefined) { v3[v1].knockout = extras.__special_glow_knockout__; } v7 = true; break; } ++v1; } if (!v7) { var v8 = (extras.__special_glow_quality__ == undefined) ? 2 : extras.__special_glow_quality__; var v12 = (extras.__special_glow_inner__ == undefined) ? false : extras.__special_glow_inner__; var v10 = (extras.__special_glow_knockout__ == undefined) ? false : extras.__special_glow_knockout__; if (propName == 'glow_color') { var v9 = new flash.filters.GlowFilter(propValue, 1, 0, 0, 1, v8, v12, v10); } if (propName == 'glow_alpha') { v9 = new flash.filters.GlowFilter(16777215, propValue, 0, 0, 1, v8, v12, v10); } if (propName == 'glow_blurX') { v9 = new flash.filters.GlowFilter(16777215, 1, propValue, 0, 1, v8, v12, v10); } if (propName == 'glow_blurY') { v9 = new flash.filters.GlowFilter(16777215, 1, 0, propValue, 1, v8, v12, v10); } if (propName == 'glow_strength') { v9 = new flash.filters.GlowFilter(16777215, 1, 0, 0, propValue, v8, v12, v10); } v3.push(v9); } } else { if (propName.substr(0, 6) == 'bevel_') { v1 = 0; while (v1 < mtarget.filters.length) { if (v3[v1] instanceof flash.filters.BevelFilter) { v3[v1][propName.substr(6)] = propValue; if (extras.__special_bevel_quality__ != undefined) { v3[v1].quality = extras.__special_bevel_quality__; } if (extras.__special_bevel_type__ != undefined) { v3[v1].inner = extras.__special_bevel_type__; } if (extras.__special_bevel_knockout__ != undefined) { v3[v1].knockout = extras.__special_bevel_knockout__; } v7 = true; break; } ++v1; } if (!v7) { var v8 = (extras.__special_bevel_quality__ == undefined) ? 2 : extras.__special_bevel_quality__; var v11 = (extras.__special_bevel_type__ == undefined) ? 'inner' : extras.__special_bevel_type__; var v10 = (extras.__special_bevel_knockout__ == undefined) ? false : extras.__special_bevel_knockout__; if (propName == 'bevel_distance') { var v9 = new flash.filters.BevelFilter(propValue, 45, 16777215, 1, 0, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_angle') { v9 = new flash.filters.BevelFilter(0, propValue, 16777215, 1, 0, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_highlightColor') { v9 = new flash.filters.BevelFilter(0, 45, propValue, 1, 0, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_highlightAlpha') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, propValue, 0, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_shadowColor') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, propValue, 1, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_shadowAlpha') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, propValue, 0, 0, 1, v8, v11, v10); } if (propName == 'bevel_blurX') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, 1, propValue, 0, 1, v8, v11, v10); } if (propName == 'bevel_blurY') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, 1, 0, propValue, 1, v8, v11, v10); } if (propName == 'bevel_strength') { v9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, 1, 0, 0, propValue, v8, v11, v10); } v3.push(v9); } } else { return undefined; } } } mtarget.filters = v3; }; Sound.prototype.tween = function (prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2); }; TextField.prototype.tween = Sound.prototype.tween; MovieClip.prototype.tween = Sound.prototype.tween; ASSetPropFlags(MovieClip.prototype, 'tween', 1, 0); ASSetPropFlags(TextField.prototype, 'tween', 1, 0); ASSetPropFlags(Sound.prototype, 'tween', 1, 0); Sound.prototype.roundedTween = function (prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2, {'mustRound': true}); }; TextField.prototype.roundedTween = Sound.prototype.roundedTween; MovieClip.prototype.roundedTween = Sound.prototype.roundedTween; ASSetPropFlags(MovieClip.prototype, 'roundedTween', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedTween', 1, 0); ASSetPropFlags(Sound.prototype, 'roundedTween', 1, 0); Sound.prototype.stopTween = function (props) { if (typeof props == 'string') { props = [props]; } if (props != undefined) { var v4 = 1; while (v4 < arguments.length) { props.push(arguments[v4]); ++v4; } } _global.$stopTween(this, props, true); }; TextField.prototype.stopTween = Sound.prototype.stopTween; MovieClip.prototype.stopTween = Sound.prototype.stopTween; ASSetPropFlags(MovieClip.prototype, 'stopTween', 1, 0); ASSetPropFlags(TextField.prototype, 'stopTween', 1, 0); ASSetPropFlags(Sound.prototype, 'stopTween', 1, 0); Sound.prototype.pauseTween = function (props) { if (props != undefined) { if (typeof props == 'string') { props = [props]; } var v6 = 1; while (v6 < Arguments.length) { props.push(Arguments[v6]); ++v6; } } var v4 = _root.__tweenController__.$_tweenPropList; var v5; for (var v7 in v4) { if (v4[v7]._targ == this && !v4[v7]._isPaused) { if (props != undefined) { v5 = false; for (v6 in props) { if (props[v6] == v4[v7]._prop) { v5 = true; break; } } } if (props == undefined || v5) { v4[v7]._isPaused = true; v4[v7]._timePaused = _root.__tweenController__.$_tTime; } } } }; TextField.prototype.pauseTween = Sound.prototype.pauseTween; MovieClip.prototype.pauseTween = Sound.prototype.pauseTween; ASSetPropFlags(MovieClip.prototype, 'pauseTween', 1, 0); ASSetPropFlags(TextField.prototype, 'pauseTween', 1, 0); ASSetPropFlags(Sound.prototype, 'pauseTween', 1, 0); Sound.prototype.resumeTween = function (props) { if (props != undefined) { if (typeof props == 'string') { props = [props]; } var v7 = 1; while (v7 < Arguments.length) { props.push(Arguments[v7]); ++v7; } } var v3 = _root.__tweenController__.$_tweenPropList; var v5; var v6; for (var v8 in v3) { if (v3[v8]._targ == this && v3[v8]._isPaused) { if (props != undefined) { v5 = false; for (v7 in props) { if (props[v7] == v3[v8]._prop) { v5 = true; break; } } } if (props == undefined || v5) { v3[v8]._isPaused = false; v6 = _root.__tweenController__.$_tTime - v3[v8]._timePaused; v3[v8]._timeStart += v6; v3[v8]._timeDest += v6; v3[v8]._timePaused = 0; } } } }; TextField.prototype.resumeTween = Sound.prototype.resumeTween; MovieClip.prototype.resumeTween = Sound.prototype.resumeTween; ASSetPropFlags(MovieClip.prototype, 'resumeTween', 1, 0); ASSetPropFlags(TextField.prototype, 'resumeTween', 1, 0); ASSetPropFlags(Sound.prototype, 'resumeTween', 1, 0); Sound.prototype.lockTween = function () { this.$_isTweenLocked = true; ASSetPropFlags(this, 'this.$_isTweenLocked', 1, 0); }; TextField.prototype.lockTween = Sound.prototype.lockTween; MovieClip.prototype.lockTween = Sound.prototype.lockTween; ASSetPropFlags(MovieClip.prototype, 'lockTween', 1, 0); ASSetPropFlags(TextField.prototype, 'lockTween', 1, 0); ASSetPropFlags(Sound.prototype, 'lockTween', 1, 0); Sound.prototype.unlockTween = function () { delete this.$_isTweenLocked; }; TextField.prototype.unlockTween = Sound.prototype.unlockTween; MovieClip.prototype.unlockTween = Sound.prototype.unlockTween; ASSetPropFlags(MovieClip.prototype, 'unlockTween', 1, 0); ASSetPropFlags(TextField.prototype, 'unlockTween', 1, 0); ASSetPropFlags(Sound.prototype, 'unlockTween', 1, 0); Sound.prototype.getTweens = function () { return this.$_tweenCount; }; TextField.prototype.getTweens = Sound.prototype.getTweens; MovieClip.prototype.getTweens = Sound.prototype.getTweens; ASSetPropFlags(MovieClip.prototype, 'getTweens', 1, 0); ASSetPropFlags(TextField.prototype, 'getTweens', 1, 0); ASSetPropFlags(Sound.prototype, 'getTweens', 1, 0); Sound.prototype.isTweening = function () { return this.$_tweenCount > 0 ? true : false; }; TextField.prototype.isTweening = Sound.prototype.isTweening; MovieClip.prototype.isTweening = Sound.prototype.isTweening; ASSetPropFlags(MovieClip.prototype, 'isTweening', 1, 0); ASSetPropFlags(TextField.prototype, 'isTweening', 1, 0); ASSetPropFlags(Sound.prototype, 'isTweening', 1, 0); TextField.prototype.alphaTo = function (propDest_a, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_alpha', propDest_a, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.alphaTo = TextField.prototype.alphaTo; ASSetPropFlags(MovieClip.prototype, 'alphaTo', 1, 0); ASSetPropFlags(TextField.prototype, 'alphaTo', 1, 0); MovieClip.prototype.frameTo = function (propDest_frame, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_mc_frame__', propDest_frame, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(MovieClip.prototype, 'frameTo', 1, 0); TextField.prototype.resizeTo = function (propDest_width, propDest_height, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['_width', '_height'], [propDest_width, propDest_height], timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.resizeTo = TextField.prototype.resizeTo; ASSetPropFlags(MovieClip.prototype, 'resizeTo', 1, 0); ASSetPropFlags(TextField.prototype, 'resizeTo', 1, 0); TextField.prototype.rotateTo = function (propDest_rotation, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_rotation', propDest_rotation, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.rotateTo = TextField.prototype.rotateTo; ASSetPropFlags(MovieClip.prototype, 'rotateTo', 1, 0); ASSetPropFlags(TextField.prototype, 'rotateTo', 1, 0); TextField.prototype.scaleTo = function (propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['_xscale', '_yscale'], [propDest_scale, propDest_scale], timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.scaleTo = TextField.prototype.scaleTo; ASSetPropFlags(MovieClip.prototype, 'scaleTo', 1, 0); ASSetPropFlags(TextField.prototype, 'scaleTo', 1, 0); TextField.prototype.xScaleTo = function (propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_xscale', propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.xScaleTo = TextField.prototype.xScaleTo; ASSetPropFlags(MovieClip.prototype, 'xScaleTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xScaleTo', 1, 0); TextField.prototype.yScaleTo = function (propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_yscale', propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.yScaleTo = TextField.prototype.yScaleTo; ASSetPropFlags(MovieClip.prototype, 'yScaleTo', 1, 0); ASSetPropFlags(TextField.prototype, 'yScaleTo', 1, 0); TextField.prototype.scrollTo = function (propDest_scroll, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, 'scroll', propDest_scroll, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(TextField.prototype, 'scrollTo', 1, 0); TextField.prototype.slideTo = function (propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['_x', '_y'], [propDest_x, propDest_y], timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.slideTo = TextField.prototype.slideTo; ASSetPropFlags(MovieClip.prototype, 'slideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'slideTo', 1, 0); TextField.prototype.roundedSlideTo = function (propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['_x', '_y'], [propDest_x, propDest_y], timeSeconds, animType, delay, callback, extra1, extra2, {'mustRound': true}); }; MovieClip.prototype.roundedSlideTo = TextField.prototype.roundedSlideTo; ASSetPropFlags(MovieClip.prototype, 'roundedSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedSlideTo', 1, 0); TextField.prototype.xSlideTo = function (propDest_x, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_x', propDest_x, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.xSlideTo = TextField.prototype.xSlideTo; ASSetPropFlags(MovieClip.prototype, 'xSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xSlideTo', 1, 0); TextField.prototype.roundedXSlideTo = function (propDest_x, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_x', propDest_x, timeSeconds, animType, delay, callback, extra1, extra2, {'mustRound': true}); }; MovieClip.prototype.roundedXSlideTo = TextField.prototype.roundedXSlideTo; ASSetPropFlags(MovieClip.prototype, 'roundedXSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedXSlideTo', 1, 0); TextField.prototype.ySlideTo = function (propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_y', propDest_y, timeSeconds, animType, delay, callback, extra1, extra2); }; MovieClip.prototype.ySlideTo = TextField.prototype.ySlideTo; ASSetPropFlags(MovieClip.prototype, 'ySlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'ySlideTo', 1, 0); TextField.prototype.roundedYSlideTo = function (propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '_y', propDest_y, timeSeconds, animType, delay, callback, extra1, extra2, {'mustRound': true}); }; MovieClip.prototype.roundedYSlideTo = TextField.prototype.roundedYSlideTo; ASSetPropFlags(MovieClip.prototype, 'roundedYSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedYSlideTo', 1, 0); TextField.prototype.bezierSlideTo = function (cpoint_x, cpoint_y, propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { var v3 = new Object(); v3.__special_bst_ix__ = undefined; v3.__special_bst_iy__ = undefined; v3.__special_bst_cx__ = cpoint_x; v3.__special_bst_cy__ = cpoint_y; v3.__special_bst_dx__ = propDest_x; v3.__special_bst_dy__ = propDest_y; _global.$addTween(this, '__special_bst_t__', 1, timeSeconds, animType, delay, callback, extra1, extra2, v3); }; MovieClip.prototype.bezierSlideTo = TextField.prototype.bezierSlideTo; ASSetPropFlags(MovieClip.prototype, 'bezierSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'bezierSlideTo', 1, 0); TextField.prototype.roundedBezierSlideTo = function (cpoint_x, cpoint_y, propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { var v3 = new Object(); v3.__special_bst_ix__ = undefined; v3.__special_bst_iy__ = undefined; v3.__special_bst_cx__ = cpoint_x; v3.__special_bst_cy__ = cpoint_y; v3.__special_bst_dx__ = propDest_x; v3.__special_bst_dy__ = propDest_y; v3.mustRound = true; _global.$addTween(this, '__special_bst_t__', 1, timeSeconds, animType, delay, callback, extra1, extra2, v3); }; MovieClip.prototype.roundedBezierSlideTo = TextField.prototype.roundedBezierSlideTo; ASSetPropFlags(MovieClip.prototype, 'roundedBezierSlideTo', 1, 0); ASSetPropFlags(TextField.prototype, 'roundedBezierSlideTo', 1, 0); Sound.prototype.volumeTo = function (propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_sound_volume__', propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(Sound.prototype, 'volumeTo', 1, 0); Sound.prototype.panTo = function (propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_sound_pan__', propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(Sound.prototype, 'panTo', 1, 0); MovieClip.prototype.colorTo = function (propDest_color, timeSeconds, animType, delay, callback, extra1, extra2) { if (propDest_color == null) { this.colorTransformTo(100, 0, 100, 0, 100, 0, undefined, undefined, timeSeconds, animType, delay, callback, extra1, extra2); } else { var v3 = propDest_color >> 16; var v5 = (propDest_color & 65280) >> 8; var v4 = propDest_color & 255; this.colorTransformTo(0, v3, 0, v5, 0, v4, undefined, undefined, timeSeconds, animType, delay, callback, extra1, extra2); } }; ASSetPropFlags(MovieClip.prototype, 'colorTo', 1, 0); TextField.prototype.colorTo = function (propDest_color, timeSeconds, animType, delay, callback, extra1, extra2) { var v3 = propDest_color >> 16; var v6 = (propDest_color & 65280) >> 8; var v4 = propDest_color & 255; _global.$addTween(this, ['__special_text_r__', '__special_text_g__', '__special_text_b__'], [v3, v6, v4], timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(TextField.prototype, 'colorTo', 1, 0); MovieClip.prototype.colorTransformTo = function () { if (typeof arguments[0] == 'object' && arguments[0] != undefined) { _global.$addTween(this, ['__special_mc_ra__', '__special_mc_rb__', '__special_mc_ga__', '__special_mc_gb__', '__special_mc_ba__', '__special_mc_bb__', '__special_mc_aa__', '__special_mc_ab__'], [arguments[0].ra, arguments[0].rb, arguments[0].ga, arguments[0].gb, arguments[0].ba, arguments[0].bb, arguments[0].aa, arguments[0].ab], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6]); } else { _global.$addTween(this, ['__special_mc_ra__', '__special_mc_rb__', '__special_mc_ga__', '__special_mc_gb__', '__special_mc_ba__', '__special_mc_bb__', '__special_mc_aa__', '__special_mc_ab__'], [arguments[0], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], arguments[7]], arguments[8], arguments[9], arguments[10], arguments[11], arguments[12], arguments[13]); } }; ASSetPropFlags(MovieClip.prototype, 'colorTransformTo', 1, 0); TextField.prototype.blurTo = function () { if (typeof arguments[0] == 'object' && arguments[0] != undefined) { _global.$addTween(this, ['__special_blur_x__', '__special_blur_y__'], [arguments[0].blurX, arguments[0].blurY], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], {'__special_blur_quality__': arguments[0].quality}); } else { _global.$addTween(this, ['__special_blur_x__', '__special_blur_y__'], [arguments[0], arguments[0]], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], arguments[7], {'__special_blur_quality__': arguments[1]}); } }; MovieClip.prototype.blurTo = TextField.prototype.blurTo; ASSetPropFlags(MovieClip.prototype, 'blurTo', 1, 0); ASSetPropFlags(TextField.prototype, 'blurTo', 1, 0); TextField.prototype.xyBlurTo = function (propDest_blurX, propDest_blurY, quality, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_blur_x__', '__special_blur_y__'], [propDest_blurX, propDest_blurY], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_blur_quality__': quality}); }; MovieClip.prototype.xyBlurTo = TextField.prototype.xyBlurTo; ASSetPropFlags(MovieClip.prototype, 'xyBlurTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xyBlurTo', 1, 0); TextField.prototype.xBlurTo = function (propDest_blur, quality, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_blur_x__', propDest_blur, timeSeconds, animType, delay, callback, extra1, extra2, {'__special_blur_quality__': quality}); }; MovieClip.prototype.xBlurTo = TextField.prototype.xBlurTo; ASSetPropFlags(MovieClip.prototype, 'xBlurTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xBlurTo', 1, 0); TextField.prototype.yBlurTo = function (propDest_blur, quality, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, '__special_blur_y__', propDest_blur, timeSeconds, animType, delay, callback, extra1, extra2, {'__special_blur_quality__': quality}); }; MovieClip.prototype.yBlurTo = TextField.prototype.yBlurTo; ASSetPropFlags(MovieClip.prototype, 'yBlurTo', 1, 0); ASSetPropFlags(TextField.prototype, 'yBlurTo', 1, 0); TextField.prototype.glowTo = function () { if (typeof arguments[0] == 'object' && arguments[0] != undefined) { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurX__', '__special_glow_blurY__', '__special_glow_strength__'], [arguments[0].color, arguments[0].alpha, arguments[0].blurX, arguments[0].blurY, arguments[0].strength], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], {'__special_glow_quality__': arguments[0].quality, '__special_glow_inner__': arguments[0].inner, '__special_glow_knockout__': arguments[0].knockout}); } else { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurX__', '__special_glow_blurY__', '__special_glow_strength__'], [arguments[0], arguments[1], arguments[2], arguments[2], arguments[3]], arguments[7], arguments[8], arguments[9], arguments[10], arguments[11], arguments[12], {'__special_glow_quality__': arguments[4], '__special_glow_inner__': arguments[5], '__special_glow_knockout__': arguments[6]}); } }; MovieClip.prototype.glowTo = TextField.prototype.glowTo; ASSetPropFlags(MovieClip.prototype, 'glowTo', 1, 0); ASSetPropFlags(TextField.prototype, 'glowTo', 1, 0); TextField.prototype.xyGlowTo = function (propDest_color, propDest_alpha, propDest_blurX, propDest_blurY, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurX__', '__special_glow_blurY__', '__special_glow_strength__'], [propDest_color, propDest_alpha, propDest_blurX, propDest_blurY, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_glow_quality__': quality, '__special_glow_inner__': inner, '__special_glow_knockout__': knockout}); }; MovieClip.prototype.xyGlowTo = TextField.prototype.xyGlowTo; ASSetPropFlags(MovieClip.prototype, 'xyGlowTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xyGlowTo', 1, 0); TextField.prototype.xGlowTo = function (propDest_color, propDest_alpha, propDest_blur, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurX__', '__special_glow_strength__'], [propDest_color, propDest_alpha, propDest_blur, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_glow_quality__': quality, '__special_glow_inner__': inner, '__special_glow_knockout__': knockout}); }; MovieClip.prototype.xGlowTo = TextField.prototype.xGlowTo; ASSetPropFlags(MovieClip.prototype, 'xGlowTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xGlowTo', 1, 0); TextField.prototype.yGlowTo = function (propDest_color, propDest_alpha, propDest_blur, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_glow_color__', '__special_glow_alpha__', '__special_glow_blurY__', '__special_glow_strength__'], [propDest_color, propDest_alpha, propDest_blur, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_glow_quality__': quality, '__special_glow_inner__': inner, '__special_glow_knockout__': knockout}); }; MovieClip.prototype.yGlowTo = TextField.prototype.yGlowTo; ASSetPropFlags(MovieClip.prototype, 'yGlowTo', 1, 0); ASSetPropFlags(TextField.prototype, 'yGlowTo', 1, 0); TextField.prototype.bevelTo = function () { if (typeof arguments[0] == 'object' && arguments[0] != undefined) { _global.$addTween(this, ['__special_bevel_distance__', '__special_bevel_angle__', '__special_bevel_highlightColor__', '__special_bevel_highlightAlpha__', '__special_bevel_shadowColor__', '__special_bevel_shadowAlpha__', '__special_bevel_blurX__', '__special_bevel_blurY__', '__special_bevel_strength__'], [arguments[0].distance, arguments[0].angle, arguments[0].highlightColor, arguments[0].highlightAlpha * 100, arguments[0].shadowColor, arguments[0].shadowAlpha * 100, arguments[0].blurX, arguments[0].blurY, arguments[0].strength], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], {'__special_bevel_quality__': arguments[0].quality, '__special_bevel_type__': arguments[0].type, '__special_bevel_knockout__': arguments[0].knockout}); } else { _global.$addTween(this, ['__special_bevel_distance__', '__special_bevel_angle__', '__special_bevel_highlightColor__', '__special_bevel_highlightAlpha__', '__special_bevel_shadowColor__', '__special_bevel_shadowAlpha__', '__special_bevel_blurX__', '__special_bevel_blurY__', '__special_bevel_strength__'], [arguments[0], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], arguments[6], arguments[7]], arguments[11], arguments[12], arguments[13], arguments[14], arguments[15], arguments[16], {'__special_bevel_quality__': arguments[8], '__special_bevel_type__': arguments[9], '__special_bevel_knockout__': arguments[10]}); } }; MovieClip.prototype.bevelTo = TextField.prototype.bevelTo; ASSetPropFlags(MovieClip.prototype, 'bevelTo', 1, 0); ASSetPropFlags(TextField.prototype, 'bevelTo', 1, 0); TextField.prototype.xyBevelTo = function (propDest_distance, propDest_angle, propDest_highlightColor, propDest_highlightAlpha, propDest_shadowColor, propDest_shadowAlpha, propDest_blurX, propDest_blurY, propDest_strength, quality, type, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ['__special_bevel_distance__', '__special_bevel_angle__', '__special_bevel_highlightColor__', '__special_bevel_highlightAlpha__', '__special_bevel_shadowColor__', '__special_bevel_shadowAlpha__', '__special_bevel_blurX__', '__special_bevel_blurY__', '__special_bevel_blurY__', '__special_bevel_strength__'], [propDest_distance, propDest_angle, propDest_highlightColor, propDest_highlightAlpha, propDest_shadowColor, propDest_shadowAlpha, propDest_blur, propDest_blur, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {'__special_bevel_quality__': quality, '__special_bevel_type__': type, '__special_bevel_knockout__': knockout}); }; MovieClip.prototype.xyBevelTo = TextField.prototype.xyBevelTo; ASSetPropFlags(MovieClip.prototype, 'xyBevelTo', 1, 0); ASSetPropFlags(TextField.prototype, 'xyBevelTo', 1, 0); _global.findPointOnCurve = function (p1x, p1y, cx, cy, p2x, p2y, t) { return {'x': p1x + t * (2 * (1 - t) * (cx - p1x) + t * (p2x - p1x)), 'y': p1y + t * (2 * (1 - t) * (cy - p1y) + t * (p2y - p1y))}; }; ASSetPropFlags(_global, 'findPointOnCurve', 1, 0); _global.findTweenColor = function (objProp, tTime) { var v8 = objProp._propStart >> 16; var v4 = objProp._propDest >> 16; var v5 = objProp._propStart >> 8 & 255; var v6 = objProp._propDest >> 8 & 255; var v9 = objProp._propStart & 255; var v7 = objProp._propDest & 255; var v12 = Math.round(_global.findTweenValue(v8, v4, objProp._timeStart, tTime - objProp._delay * 1000, objProp._timeDest, objProp._animType, objProp._extra1, objProp._extra2)); var v10 = Math.round(_global.findTweenValue(v5, v6, objProp._timeStart, tTime - objProp._delay * 1000, objProp._timeDest, objProp._animType, objProp._extra1, objProp._extra2)); var v3 = Math.round(_global.findTweenValue(v9, v7, objProp._timeStart, tTime - objProp._delay * 1000, objProp._timeDest, objProp._animType, objProp._extra1, objProp._extra2)); return (v12 << 16) + (v10 << 8) + v3; }; _global.findTweenValue = function (_propStart, _propDest, _timeStart, _timeNow, _timeDest, _animType, _extra1, _extra2) { var v1 = _timeNow - _timeStart; var v4 = _propStart; var v2 = _propDest - _propStart; var v3 = _timeDest - _timeStart; var v6 = _extra1; var v7 = _extra2; var v5 = _extra1; switch (_animType.toLowerCase()) { trace('MC TWEEN ### Error on transition: there\'s no "' + _animType + '" animation type.'); return 0; case 'linear': return v2 * v1 / v3 + v4; case 'easeinquad': v1 /= v3; return v2 * v1 * v1 + v4; case 'easeoutquad': v1 /= v3; return -v2 * v1 * (v1 - 2) + v4; case 'easeinoutquad': v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * v1 * v1 + v4; } return (-v2 / 2) * (--v1 * (v1 - 2) - 1) + v4; case 'easeoutinquad': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutQuad') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInQuad') * 0.5 + v2 * 0.5 + v4; case 'easeincubic': v1 /= v3; return v2 * v1 * v1 * v1 + v4; case 'easeoutcubic': v1 = v1 / v3 - 1; return v2 * (v1 * v1 * v1 + 1) + v4; case 'easeinoutcubic': v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * v1 * v1 * v1 + v4; } v1 -= 2; return (v2 / 2) * (v1 * v1 * v1 + 2) + v4; case 'easeoutincubic': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutCubic') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInCubic') * 0.5 + v2 * 0.5 + v4; case 'easeinquart': v1 /= v3; return v2 * v1 * v1 * v1 * v1 + v4; case 'easeoutquart': v1 = v1 / v3 - 1; return -v2 * (v1 * v1 * v1 * v1 - 1) + v4; case 'easeinoutquart': v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * v1 * v1 * v1 * v1 + v4; } v1 -= 2; return (-v2 / 2) * (v1 * v1 * v1 * v1 - 2) + v4; case 'easeoutinquart': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutQuart') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInQuart') * 0.5 + v2 * 0.5 + v4; case 'easeinquint': v1 /= v3; return v2 * v1 * v1 * v1 * v1 * v1 + v4; case 'easeoutquint': v1 = v1 / v3 - 1; return v2 * (v1 * v1 * v1 * v1 * v1 + 1) + v4; case 'easeinoutquint': v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * v1 * v1 * v1 * v1 * v1 + v4; } v1 -= 2; return (v2 / 2) * (v1 * v1 * v1 * v1 * v1 + 2) + v4; case 'easeoutinquint': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutQuint') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInQuint') * 0.5 + v2 * 0.5 + v4; case 'easeinsine': return -v2 * Math.cos((v1 / v3) * 1.570796326794897) + v2 + v4; case 'easeoutsine': return v2 * Math.sin((v1 / v3) * 1.570796326794897) + v4; case 'easeinoutsine': return (-v2 / 2) * (Math.cos(Math.PI * v1 / v3) - 1) + v4; case 'easeoutinsine': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutSine') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInSine') * 0.5 + v2 * 0.5 + v4; case 'easeinexpo': return (v1 == 0) ? v4 : v2 * Math.pow(2, 10 * (v1 / v3 - 1)) + v4; case 'easeoutexpo': return (v1 == v3) ? v4 + v2 : v2 * (-Math.pow(2, -10 * v1 / v3) + 1) + v4; case 'easeinoutexpo': if (v1 == 0) { return v4; } if (v1 == v3) { return v4 + v2; } v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * Math.pow(2, 10 * (v1 - 1)) + v4; } return (v2 / 2) * (-Math.pow(2, -10 * --v1) + 2) + v4; case 'easeoutinexpo': if (v1 == 0) { return v4; } if (v1 == v3) { return v4 + v2; } v1 /= v3 / 2; if (v1 < 1) { return (v2 / 2) * (-Math.pow(2, -10 * v1 / 1) + 1) + v4; } return (v2 / 2) * (Math.pow(2, 10 * (v1 - 2) / 1) + 1) + v4; case 'easeincirc': v1 /= v3; return -v2 * (Math.sqrt(1 - v1 * v1) - 1) + v4; case 'easeoutcirc': v1 = v1 / v3 - 1; return v2 * Math.sqrt(1 - v1 * v1) + v4; case 'easeinoutcirc': v1 /= v3 / 2; if (v1 < 1) { return (-v2 / 2) * (Math.sqrt(1 - v1 * v1) - 1) + v4; } v1 -= 2; return (v2 / 2) * (Math.sqrt(1 - v1 * v1) + 1) + v4; case 'easeoutincirc': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutCirc') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInCirc') * 0.5 + v2 * 0.5 + v4; case 'easeinelastic': if (v1 == 0) { return v4; } v1 /= v3; if (v1 == 1) { return v4 + v2; } if (!v7) { v7 = v3 * 0.3; } if (!v6 || v6 < Math.abs(v2)) { v6 = v2; v5 = v7 / 4; } else { v5 = (v7 / 6.283185307179586) * Math.asin(v2 / v6); } v1 -= 1; return -(v6 * Math.pow(2, 10 * v1) * Math.sin((v1 * v3 - v5) * 6.283185307179586 / v7)) + v4; case 'easeoutelastic': if (v1 == 0) { return v4; } v1 /= v3; if (v1 == 1) { return v4 + v2; } if (!v7) { v7 = v3 * 0.3; } if (!v6 || v6 < Math.abs(v2)) { v6 = v2; v5 = v7 / 4; } else { v5 = (v7 / 6.283185307179586) * Math.asin(v2 / v6); } return v6 * Math.pow(2, -10 * v1) * Math.sin((v1 * v3 - v5) * 6.283185307179586 / v7) + v2 + v4; case 'easeinoutelastic': if (v1 == 0) { return v4; } v1 /= v3 / 2; if (v1 == 2) { return v4 + v2; } if (!v7) { v7 = v3 * 0.45; } if (!v6 || v6 < Math.abs(v2)) { v6 = v2; v5 = v7 / 4; } else { v5 = (v7 / 6.283185307179586) * Math.asin(v2 / v6); } if (v1 < 1) { v1 -= 1; return -0.5 * (v6 * Math.pow(2, 10 * v1) * Math.sin((v1 * v3 - v5) * 6.283185307179586 / v7)) + v4; } v1 -= 1; return v6 * Math.pow(2, -10 * v1) * Math.sin((v1 * v3 - v5) * 6.283185307179586 / v7) * 0.5 + v2 + v4; case 'easeoutinelastic': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutElastic') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInElastic') * 0.5 + v2 * 0.5 + v4; case 'easeinback': if (v5 == undefined) { v5 = 1.70158; } v1 /= v3; return v2 * v1 * v1 * ((v5 + 1) * v1 - v5) + v4; case 'easeoutback': if (v5 == undefined) { v5 = 1.70158; } v1 = v1 / v3 - 1; return v2 * (v1 * v1 * ((v5 + 1) * v1 + v5) + 1) + v4; case 'easeinoutback': if (v5 == undefined) { v5 = 1.70158; } v1 /= v3 / 2; if (v1 < 1) { v5 *= 1.525; return (v2 / 2) * (v1 * v1 * ((v5 + 1) * v1 - v5)) + v4; } v1 -= 2; v5 *= 1.525; return (v2 / 2) * (v1 * v1 * ((v5 + 1) * v1 + v5) + 2) + v4; case 'easeoutinback': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutBack') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInBack') * 0.5 + v2 * 0.5 + v4; case 'easeinbounce': return v2 - findTweenValue(0, v2, 0, v3 - v1, v3, 'easeOutBounce') + v4; case 'easeoutbounce': v1 /= v3; if (v1 < 0.3636363636363637) { return v2 * (7.5625 * v1 * v1) + v4; } else { if (v1 < 0.7272727272727273) { v1 -= 0.5454545454545454; return v2 * (7.5625 * v1 * v1 + 0.75) + v4; } else { if (v1 < 0.9090909090909091) { v1 -= 0.8181818181818182; return v2 * (7.5625 * v1 * v1 + 0.9375) + v4; } else { v1 -= 0.9545454545454546; return v2 * (7.5625 * v1 * v1 + 0.984375) + v4; } } } case 'easeinoutbounce': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeInBounce') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeOutBounce') * 0.5 + v2 * 0.5 + v4; case 'easeoutinbounce': if (v1 < v3 / 2) { return findTweenValue(0, v2, 0, v1 * 2, v3, 'easeOutBounce') * 0.5 + v4; } return findTweenValue(0, v2, 0, v1 * 2 - v3, v3, 'easeInBounce') * 0.5 + v2 * 0.5 + v4; } trace('MC TWEEN ### Error on transition: there\'s no "' + _animType + '" animation type.'); return 0; }; ASSetPropFlags(_global, 'findTweenValue', 1, 0); wolke3.tween('_y', 60, 0.2, 'linear', 0); }; } } movieClip 54 { } movieClip 57 { } movieClip 60 { } button 62 { on (release) { getURL('http://www.getmusic.de/me/pub/c/2143588/0/de/web/items.html?mdv=0&cmt=SOUND&cty=RRRINGT&ctg=15213', '_blank'); } } movieClip 63 { } movieClip 66 { } movieClip 67 { } movieClip 68 { frame 1 { stop(); } frame 2 { stop(); } } movieClip 69 { frame 32 { stop(); } } movieClip 70 { frame 100 { stop(); } } movieClip 73 { } movieClip 78 { } movieClip 79 { frame 43 { stop(); } frame 63 { this.gotoAndStop(1); } } movieClip 83 { } movieClip 86 { } movieClip 95 { frame 1 { stop(); } frame 10 { stop(); } frame 15 { this.gotoAndPlay(1); } frame 16 { stop(); } } movieClip 100 { frame 1 { stop(); } frame 10 { stop(); } frame 15 { this.gotoAndPlay(1); } frame 16 { stop(); } } movieClip 105 { frame 1 { stop(); } frame 10 { stop(); } frame 15 { this.gotoAndPlay(1); } frame 16 { stop(); } } movieClip 110 { frame 1 { stop(); } frame 10 { stop(); } frame 15 { this.gotoAndPlay(1); } frame 16 { stop(); } } movieClip 115 { frame 1 { stop(); } frame 10 { stop(); } frame 15 { this.gotoAndPlay(1); } frame 16 { stop(); } } movieClip 120 { frame 1 { stop(); } frame 10 { stop(); } frame 15 { this.gotoAndPlay(1); } frame 16 { stop(); } } movieClip 125 { frame 1 { stop(); } frame 10 { stop(); } frame 15 { this.gotoAndPlay(1); } frame 16 { stop(); } } movieClip 130 { frame 1 { stop(); } frame 10 { stop(); } frame 15 { this.gotoAndPlay(1); } frame 16 { stop(); } } movieClip 131 { frame 1 { bt01.enabled = false; bt02.enabled = true; bt03.enabled = true; bt04.enabled = true; bt05.enabled = true; bt06.enabled = true; bt07.enabled = true; bt08.enabled = true; bt01.gotoAndPlay(16); bt02.gotoAndStop(1); bt03.gotoAndStop(1); bt04.gotoAndStop(1); bt05.gotoAndStop(1); bt06.gotoAndStop(1); bt07.gotoAndStop(1); bt08.gotoAndStop(1); bt01.onRelease = function () { _root.frame_mc.content_mc.gotoAndPlay('start'); loadMovie('', _parent._parent.content_mc.container_ecard); loadMovie('', _parent._parent.content_mc.vid.container_vid); loadMovie('', _parent._parent.content_mc.container_gb); music_off(); bt01.enabled = false; bt02.enabled = true; bt03.enabled = true; bt04.enabled = true; bt05.enabled = true; bt05.enabled = true; bt06.enabled = true; bt07.enabled = true; bt08.enabled = true; bt01.gotoAndStop(16); bt02.gotoAndStop(1); bt03.gotoAndStop(1); bt04.gotoAndStop(1); bt05.gotoAndStop(1); bt06.gotoAndStop(1); bt07.gotoAndStop(1); bt08.gotoAndStop(1); }; bt01.onRollOver = function () { bt01.gotoAndPlay(2); }; bt01.onRollOut = function () { bt01.gotoAndPlay(11); }; bt02.onRelease = function () { _root.frame_mc.content_mc.gotoAndPlay('shop'); loadMovie('', _parent._parent.content_mc.container_ecard); loadMovie('', _parent._parent.content_mc.vid.container_vid); loadMovie('', _parent._parent.content_mc.container_gb); _global.music_play = 1; if (1) { music_on(); } else { _global.music_play = 3; if (3) { music_off(); } } bt01.enabled = true; bt02.enabled = false; bt03.enabled = true; bt04.enabled = true; bt05.enabled = true; bt06.enabled = true; bt07.enabled = true; bt08.enabled = true; bt01.gotoAndStop(1); bt02.gotoAndStop(16); bt03.gotoAndStop(1); bt04.gotoAndStop(1); bt05.gotoAndStop(1); bt06.gotoAndStop(1); bt07.gotoAndStop(1); bt08.gotoAndStop(1); }; bt02.onRollOver = function () { bt02.gotoAndPlay(2); }; bt02.onRollOut = function () { bt02.gotoAndPlay(11); }; bt03.onRelease = function () { _root.frame_mc.content_mc.gotoAndPlay('ecards'); loadMovie('', _parent._parent.content_mc.container_ecard); loadMovie('', _parent._parent.content_mc.vid.container_vid); loadMovie('', _parent._parent.content_mc.container_gb); _global.music_play = 1; if (1) { music_on(); } else { _global.music_play = 3; if (3) { music_off(); } } bt01.enabled = true; bt02.enabled = true; bt03.enabled = false; bt04.enabled = true; bt05.enabled = true; bt06.enabled = true; bt07.enabled = true; bt08.enabled = true; bt01.gotoAndStop(1); bt02.gotoAndStop(1); bt03.gotoAndStop(16); bt04.gotoAndStop(1); bt05.gotoAndStop(1); bt06.gotoAndStop(1); bt07.gotoAndStop(1); bt08.gotoAndStop(1); }; bt03.onRollOver = function () { bt03.gotoAndPlay(2); }; bt03.onRollOut = function () { bt03.gotoAndPlay(11); }; bt04.onRelease = function () { _root.frame_mc.content_mc.gotoAndPlay('guestbook'); loadMovie('', _parent._parent.content_mc.vid.container_vid); loadMovie('', _parent._parent.content_mc.container_gb); _global.music_play = 1; if (1) { music_on(); } else { _global.music_play = 3; if (3) { music_off(); } } bt01.enabled = true; bt02.enabled = true; bt03.enabled = true; bt04.enabled = false; bt05.enabled = true; bt06.enabled = true; bt07.enabled = true; bt08.enabled = true; bt01.gotoAndStop(1); bt02.gotoAndStop(1); bt03.gotoAndStop(1); bt04.gotoAndStop(16); bt05.gotoAndStop(1); bt06.gotoAndStop(1); bt07.gotoAndStop(1); bt08.gotoAndStop(1); }; bt04.onRollOver = function () { bt04.gotoAndPlay(2); }; bt04.onRollOut = function () { bt04.gotoAndPlay(11); }; bt05.onRelease = function () { _root.frame_mc.content_mc.gotoAndPlay('about'); loadMovie('', _parent._parent.content_mc.container_ecard); loadMovie('', _parent._parent.content_mc.container_gb); _global.music_play = 1; if (1) { music_on(); } else { _global.music_play = 3; if (3) { music_off(); } } bt01.enabled = true; bt02.enabled = true; bt03.enabled = true; bt04.enabled = true; bt05.enabled = false; bt06.enabled = true; bt07.enabled = true; bt08.enabled = true; bt01.gotoAndStop(1); bt02.gotoAndStop(1); bt03.gotoAndStop(1); bt04.gotoAndStop(1); bt05.gotoAndStop(16); bt06.gotoAndStop(1); bt07.gotoAndStop(1); bt08.gotoAndStop(1); }; bt05.onRollOver = function () { bt05.gotoAndPlay(2); }; bt05.onRollOut = function () { bt05.gotoAndPlay(11); }; bt06.onRelease = function () { _root.frame_mc.content_mc.gotoAndPlay('news'); loadMovie('', _parent._parent.content_mc.container_gb); loadMovie('', _parent._parent.content_mc.container_ecard); _global.music_play = 1; if (1) { music_on(); } else { _global.music_play = 3; if (3) { music_off(); } } bt01.enabled = true; bt02.enabled = true; bt03.enabled = true; bt04.enabled = true; bt05.enabled = true; bt06.enabled = false; bt07.enabled = true; bt08.enabled = true; bt01.gotoAndStop(1); bt02.gotoAndStop(1); bt03.gotoAndStop(1); bt04.gotoAndStop(1); bt05.gotoAndStop(1); bt06.gotoAndStop(16); bt07.gotoAndStop(1); bt08.gotoAndStop(1); }; bt06.onRollOver = function () { bt06.gotoAndPlay(2); }; bt06.onRollOut = function () { bt06.gotoAndPlay(11); }; bt07.onRelease = function () { _root.frame_mc.content_mc.gotoAndPlay('gimmick'); loadMovie('', _parent._parent.content_mc.container_ecard); loadMovie('', _parent._parent.content_mc.container_gb); _global.music_play = 1; if (1) { music_on(); } else { _global.music_play = 3; if (3) { music_off(); } } bt01.enabled = true; bt02.enabled = true; bt03.enabled = true; bt04.enabled = true; bt05.enabled = true; bt06.enabled = true; bt07.enabled = false; bt08.enabled = true; bt01.gotoAndStop(1); bt02.gotoAndStop(1); bt03.gotoAndStop(1); bt04.gotoAndStop(1); bt05.gotoAndStop(1); bt06.gotoAndStop(1); bt07.gotoAndStop(16); bt08.gotoAndStop(1); }; bt07.onRollOver = function () { bt07.gotoAndPlay(2); }; bt07.onRollOut = function () { bt07.gotoAndPlay(11); }; bt08.onRelease = function () { _root.frame_mc.content_mc.gotoAndPlay('gewinnspiel'); loadMovie('', _parent._parent.content_mc.container_gb); loadMovie('', _parent._parent.content_mc.container_ecard); _global.music_play = 1; if (1) { music_on(); } else { _global.music_play = 3; if (3) { music_off(); } } bt01.enabled = true; bt02.enabled = true; bt03.enabled = true; bt04.enabled = true; bt05.enabled = true; bt06.enabled = true; bt07.enabled = true; bt08.enabled = false; bt01.gotoAndStop(1); bt02.gotoAndStop(1); bt03.gotoAndStop(1); bt04.gotoAndStop(1); bt05.gotoAndStop(1); bt06.gotoAndStop(1); bt07.gotoAndStop(1); bt08.gotoAndStop(16); }; bt08.onRollOver = function () { bt08.gotoAndPlay(2); }; bt08.onRollOut = function () { bt08.gotoAndPlay(11); }; } } movieClip 132 { frame 41 { stop(); } instance navi_mc of movieClip 131 { onClipEvent (load) { Text = 'BUTTON 2'; FontEmbed = false; FontFamily = 'arial'; FontSize = 15; FontBold = true; FontColor = 'FFFFFF'; TextAlign = 'center'; Text_Xscale = 100; Text_Yscale = 90; Text_y_offset = 0; Text_x_offset = 0; FontBevel = false; FontShadow = true; FontShadowColor = '000000'; FontShadow_offset = 0; FontShadow_blur = 6; FontShadow_strength = 200; URL_link = ''; HandCursor = true; movieClipControl_Name = ''; movieClipControl_Action = 'play'; movieClipControl_Frame = 1; particle_Xoffset = 0; particle_Yoffset = 0; particle_Xspan = 98; particle_Yspan = 2; particle_Xvel_min = -30; particle_Xvel_max = 30; particle_Yvel_min = -50; particle_Yvel_max = 60; particle_Yaccel = 0; particle_FadeIN_rate = 80; particle_FadeOUT_rate = 80; particle_scale_MIN = 2; particle_scale_MAX = 1; particle_scale_rate = 10; particle_color_RED = 100; particle_color_GREEN = 100; particle_color_BLUE = 100; particle_blendMode = 'add'; particle_rotation_rate = 20; particle_skin = 'sparkle'; particle_Amount = 22; particle_cycleSpawn = false; effect_style = 'radial'; effect_flipX_Direction = false; effect_flipY_Direction = true; effect_Color = 'DDFFFF'; effect_Opacity = 60; effect_BlendMode = 'add'; effect_glow_color = 'AAFFFF'; effect_glow_opacity = 80; effect_glow_blur = 16; effect_glow_strength = 180; borderOuter_Thickness = 2; borderOuter_Color = '000000'; borderOuter_Opacity = 100; borderInner_Thickness = 2; borderInner_Color = '999999'; borderInner_Opacity = 90; reflection_style = 2; reflection_opacity = 70; bg_style = 7; bg_color_RED = 52; bg_color_GREEN = 68; bg_color_BLUE = 78; btn_Shadow = false; btn_Shadow_Color = '000000'; btn_Shadow_Blur = 6; btn_Shadow_offset = 0; btn_Shadow_strength = 90; } } frame 63 { this.gotoAndStop(1); } } button 134 { on (release) { this.gotoAndPlay('impressum'); _root.frame_mc.frame_top.navi_mc.bt01.enabled = true; _root.frame_mc.frame_top.navi_mc.bt02.enabled = true; _root.frame_mc.frame_top.navi_mc.bt03.enabled = true; _root.frame_mc.frame_top.navi_mc.bt04.enabled = true; _root.frame_mc.frame_top.navi_mc.bt05.enabled = true; _root.frame_mc.frame_top.navi_mc.bt06.enabled = true; _root.frame_mc.frame_top.navi_mc.bt07.enabled = true; _root.frame_mc.frame_top.navi_mc.bt08.enabled = true; _root.frame_mc.frame_top.navi_mc.bt01.gotoAndPlay(1); _root.frame_mc.frame_top.navi_mc.bt02.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt03.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt04.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt05.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt06.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt07.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt08.gotoAndStop(1); } } movieClip 139 { } movieClip 140 { } movieClip 141 { frame 1 { stop(); } frame 5 { stop(); } frame 10 { stop(); } } movieClip 144 { } movieClip 147 { } movieClip 148 { frame 1 { banner_01.onRelease = function () { _parent.gotoAndPlay('ecards'); }; banner_01.onRollOver = function () { rollover_mc.gotoAndPlay(2); }; banner_01.onRollOut = function () { rollover_mc.gotoAndPlay(6); }; banner_02.onRelease = function () { _parent.gotoAndPlay('ecards'); }; banner_02.onRollOver = function () { rollover_mc.gotoAndPlay(2); }; banner_02.onRollOut = function () { rollover_mc.gotoAndPlay(6); }; banner_03.onRelease = function () { _parent.gotoAndPlay('ecards'); }; banner_03.onRollOver = function () { rollover_mc.gotoAndPlay(2); }; banner_03.onRollOut = function () { rollover_mc.gotoAndPlay(6); }; } frame 10 { banner_01.onRelease = function () { _parent.gotoAndPlay('ecards'); }; banner_01.onRollOver = function () { rollover_mc.gotoAndPlay(2); }; banner_01.onRollOut = function () { rollover_mc.gotoAndPlay(6); }; banner_02.onRelease = function () { _parent.gotoAndPlay('ecards'); }; banner_02.onRollOver = function () { rollover_mc.gotoAndPlay(2); }; banner_02.onRollOut = function () { rollover_mc.gotoAndPlay(6); }; banner_03.onRelease = function () { _parent.gotoAndPlay('ecards'); }; banner_03.onRollOver = function () { rollover_mc.gotoAndPlay(2); }; banner_03.onRollOut = function () { rollover_mc.gotoAndPlay(6); }; } frame 47 { stop(); } frame 120 { banner_01.onRelease = function () { _parent.gotoAndPlay('ecards'); }; banner_01.onRollOver = function () { rollover_mc.gotoAndPlay(2); }; banner_01.onRollOut = function () { rollover_mc.gotoAndPlay(6); }; banner_02.onRelease = function () { getURL('http://www.getmusic.de/me/pub/c/2143588/0/de/web/items.html?mdv=0&cmt=SOUND&cty=RRRINGT&ctg=15213', '_blank'); }; banner_02.onRollOver = function () { rollover_mc.gotoAndPlay(2); }; banner_02.onRollOut = function () { rollover_mc.gotoAndPlay(6); }; banner_03.onRelease = function () { _parent.gotoAndPlay('ecards'); }; banner_03.onRollOver = function () { rollover_mc.gotoAndPlay(2); }; banner_03.onRollOut = function () { rollover_mc.gotoAndPlay(6); }; } frame 240 { banner_01.onRelease = function () { _parent.gotoAndPlay('ecards'); }; banner_01.onRollOver = function () { rollover_mc.gotoAndPlay(2); }; banner_01.onRollOut = function () { rollover_mc.gotoAndPlay(6); }; banner_02.onRelease = function () { _parent.gotoAndPlay('ecards'); }; banner_02.onRollOver = function () { rollover_mc.gotoAndPlay(2); }; banner_02.onRollOut = function () { rollover_mc.gotoAndPlay(6); }; banner_03.onRelease = function () { getURL('http://www.pussycattiger.de/newsletter.php', '_blank'); }; banner_03.onRollOver = function () { rollover_mc.gotoAndPlay(2); }; banner_03.onRollOut = function () { rollover_mc.gotoAndPlay(6); }; } frame 360 { this.gotoAndPlay(10); } } movieClip 149 { } movieClip 150 { } movieClip 151 { frame 1 { } } movieClip 162 { } button 165 { on (release) { getURL('http://www.merchstore.net/Pussycattiger/', '_blank'); } } movieClip 174 { } button 176 { on (press) { pressUp = true; } on (release, releaseOutside) { pressUp = false; } } button 178 { on (press) { _parent.pressDown = true; } on (release, releaseOutside) { _parent.pressDown = false; } } movieClip 179 { } movieClip 181 { } button 182 { on (press) { this._parent.dragging = true; startDrag(this, true, this._x, 10, this._x, this._parent.scrollText._height - 20); } on (release, releaseOutside) { this._parent.dragging = false; stopDrag(); } } movieClip 183 { frame 10 { stop(); } } movieClip 184 { } button 185 { on (release) { getURL('http://www.sonymusic.de', '_blank'); } } button 186 { on (release) { getURL('http://www.schreiberfriends.com', '_blank'); } } button 187 { on (release) { this.gotoAndPlay('impressum'); _root.frame_mc.frame_top.navi_mc.bt01.enabled = true; _root.frame_mc.frame_top.navi_mc.bt02.enabled = true; _root.frame_mc.frame_top.navi_mc.bt03.enabled = true; _root.frame_mc.frame_top.navi_mc.bt04.enabled = true; _root.frame_mc.frame_top.navi_mc.bt05.enabled = true; _root.frame_mc.frame_top.navi_mc.bt06.enabled = true; _root.frame_mc.frame_top.navi_mc.bt07.enabled = true; _root.frame_mc.frame_top.navi_mc.bt08.enabled = true; _root.frame_mc.frame_top.navi_mc.bt01.gotoAndPlay(1); _root.frame_mc.frame_top.navi_mc.bt02.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt03.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt04.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt05.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt06.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt07.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt08.gotoAndStop(1); } } movieClip 193 { } movieClip 194 { frame 1 { stop(); } frame 5 { stop(); } } movieClip 197 { } movieClip 198 { frame 1 { stop(); } frame 5 { stop(); } frame 10 { stop(); } } movieClip 201 { } movieClip 202 { frame 1 { stop(); } frame 5 { stop(); } } movieClip 208 { frame 1 { } frame 15 { loadMovie('send_vid2.swf?rand=' + (new Date()).getTime(), container_sendvid); stop(); } frame 15 { function checkPlayerLoaded() { if (ytplayer.isPlayerLoaded()) { ytplayer.addEventListener('onStateChange', onPlayerStateChange); ytplayer.addEventListener('onError', onPlayerError); clearInterval(loadInterval); } } function onPlayerStateChange(newState) { trace('New player state: ' + newState); } function onPlayerError(errorCode) { trace('An error occurred: ' + errorCode); } var ytplayer = vid.container_vid; var ytPlayerLoaderListener = {'onLoadInit': function () { loadInterval = setInterval(checkPlayerLoaded, 250); }}; var loadInterval; var ytPlayerLoader = new MovieClipLoader(); ytPlayerLoader.addListener(ytPlayerLoaderListener); ytPlayerLoader.loadClip('http://www.youtube.com/v/ganUAmDaM3A&autoplay=1', ytplayer); } frame 16 { loadMovie('dummy.swf', vid.container_vid); } frame 16 { ytplayer.destroy(); } frame 30 { stop(); } frame 31 { loadMovie('dummy.swf', vid.container_vid); } frame 31 { ytplayer.destroy(); } frame 45 { stop(); } frame 46 { loadMovie('ecards/ecards.swf?rand=' + (new Date()).getTime(), container_ecards); _root.frame_mc.frame_top.navi_mc.bt01.enabled = true; _root.frame_mc.frame_top.navi_mc.bt02.enabled = true; _root.frame_mc.frame_top.navi_mc.bt03.enabled = false; _root.frame_mc.frame_top.navi_mc.bt04.enabled = true; _root.frame_mc.frame_top.navi_mc.bt05.enabled = true; _root.frame_mc.frame_top.navi_mc.bt01.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt02.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt03.gotoAndStop(16); _root.frame_mc.frame_top.navi_mc.bt04.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt05.gotoAndStop(1); loadMovie('dummy.swf', vid.container_vid); } frame 46 { ytplayer.destroy(); } frame 60 { stop(); } frame 61 { var nouveauMenu_mc = new ContextMenu(); nouveauMenu_mc.hideBuiltInItems(); _root.menu = nouveauMenu_mc; loadMovie('gb.swf?rand=' + (new Date()).getTime(), container_gb); container_gb.swapDepths(9999); } frame 61 { ytplayer.destroy(); } frame 75 { container_gb.swapDepths(9999); stop(); } frame 76 { loadMovie('', container_gb); _root.frame_mc.frame_top.navi_mc.bt01.enabled = true; _root.frame_mc.frame_top.navi_mc.bt02.enabled = true; _root.frame_mc.frame_top.navi_mc.bt03.enabled = true; _root.frame_mc.frame_top.navi_mc.bt04.enabled = true; _root.frame_mc.frame_top.navi_mc.bt05.enabled = true; _root.frame_mc.frame_top.navi_mc.bt06.enabled = true; _root.frame_mc.frame_top.navi_mc.bt07.enabled = true; _root.frame_mc.frame_top.navi_mc.bt08.enabled = true; _root.frame_mc.frame_top.navi_mc.bt01.gotoAndPlay(1); _root.frame_mc.frame_top.navi_mc.bt02.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt03.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt04.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt05.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt06.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt07.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt08.gotoAndStop(1); } frame 76 { function FNSCROLL() { if (this.scrollText != undefined) { if (this.scrollText.maxscroll == 1) { if (this._visible) { this._visible = false; } } else { if (!this._visible) { this._visible = true; } } this.slyder.clear(); this.slyder.moveTo(0, 0); this.slyder.lineTo(0, this.scrollText._height - 1); this.rectwrapper._y = this.scrollText._height - this.rectwrapper._height; if (this.pressUp) { if (this.scrollText.scroll > 0) { this.scrollText.scroll -= 1; this.dragger._y = 10 + int((this.scrollText._height - 30) * (this.scrollText.scroll - 1) / this.scrollText.maxscroll); } } if (this.pressDown) { if (this.scrollText.scroll < this.scrollText.maxscroll) { this.scrollText.scroll += 1; this.dragger._y = 10 + int((this.scrollText._height - 30) * (this.scrollText.scroll - 1) / this.scrollText.maxscroll); } } if (this.dragging) { var v2 = this.dragger._y; var v4 = v2 - 10; var v3 = this.scrollText.maxscroll * v4 / (this.scrollText._height - 30); this.scrollText.scroll = 1 + int(v3); } } } loadVariables('impressum.txt', this); this.onData = function () { impressum_txt.html = true; impressum_txt.text = inhalt; }; var loader = new LoadVars(); loader.onLoad = function (test) { impressum_txt.html = true; if (test) { impressum_txt.htmlText = this.text5; } else { impressum_txt.htmlText = 'Textdatei kann nicht geladen werden'; } }; loader.load('impressum.txt'); } frame 76 { ytplayer.destroy(); } instance smov0 of movieClip 184 { onClipEvent (load) { scrollText = _parent.impressum_txt; onEnterFrame = _parent.FNSCROLL; } } frame 90 { stop(); } frame 91 { loadMovie('news.swf?rand=' + (new Date()).getTime(), container_news); loadMovie('', container_gb); _root.frame_mc.frame_top.navi_mc.bt01.enabled = true; _root.frame_mc.frame_top.navi_mc.bt02.enabled = true; _root.frame_mc.frame_top.navi_mc.bt03.enabled = true; _root.frame_mc.frame_top.navi_mc.bt04.enabled = true; _root.frame_mc.frame_top.navi_mc.bt05.enabled = true; _root.frame_mc.frame_top.navi_mc.bt06.enabled = false; _root.frame_mc.frame_top.navi_mc.bt07.enabled = true; _root.frame_mc.frame_top.navi_mc.bt08.enabled = true; _root.frame_mc.frame_top.navi_mc.bt01.gotoAndPlay(1); _root.frame_mc.frame_top.navi_mc.bt02.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt03.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt04.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt05.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt06.gotoAndStop(16); _root.frame_mc.frame_top.navi_mc.bt07.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt08.gotoAndStop(1); } frame 91 { ytplayer.destroy(); } frame 105 { stop(); } frame 106 { loadMovie('gb_bilder.swf?rand=' + (new Date()).getTime(), container_gb_bilder); loadMovie('', container_gb); _root.frame_mc.frame_top.navi_mc.bt01.enabled = true; _root.frame_mc.frame_top.navi_mc.bt02.enabled = true; _root.frame_mc.frame_top.navi_mc.bt03.enabled = true; _root.frame_mc.frame_top.navi_mc.bt04.enabled = true; _root.frame_mc.frame_top.navi_mc.bt05.enabled = true; _root.frame_mc.frame_top.navi_mc.bt06.enabled = true; _root.frame_mc.frame_top.navi_mc.bt07.enabled = false; _root.frame_mc.frame_top.navi_mc.bt08.enabled = true; _root.frame_mc.frame_top.navi_mc.bt01.gotoAndPlay(1); _root.frame_mc.frame_top.navi_mc.bt02.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt03.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt04.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt05.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt06.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt07.gotoAndStop(16); _root.frame_mc.frame_top.navi_mc.bt08.gotoAndStop(1); } frame 106 { ytplayer.destroy(); } frame 120 { wallpaper_01.onRelease = function () { getURL('http://www.pussycattiger.de/gimmick/pussycattiger_wall01.jpg', '_blank'); }; wallpaper_01.onRollOver = function () { wallpaper_01.gotoAndPlay(2); }; wallpaper_01.onRollOut = function () { wallpaper_01.gotoAndPlay(6); }; wallpaper_02.onRelease = function () { getURL('http://www.pussycattiger.de/gimmick/pussycattiger_wall02.jpg', '_blank'); }; wallpaper_02.onRollOver = function () { wallpaper_02.gotoAndPlay(2); }; wallpaper_02.onRollOut = function () { wallpaper_02.gotoAndPlay(6); }; wallpaper_03.onRelease = function () { getURL('http://www.pussycattiger.de/gimmick/pussycattiger_wall03.jpg', '_blank'); }; wallpaper_03.onRollOver = function () { wallpaper_03.gotoAndPlay(2); }; wallpaper_03.onRollOut = function () { wallpaper_03.gotoAndPlay(6); }; stop(); } frame 121 { loadMovie('', container_gb); _root.frame_mc.frame_top.navi_mc.bt01.enabled = true; _root.frame_mc.frame_top.navi_mc.bt02.enabled = true; _root.frame_mc.frame_top.navi_mc.bt03.enabled = true; _root.frame_mc.frame_top.navi_mc.bt04.enabled = true; _root.frame_mc.frame_top.navi_mc.bt05.enabled = true; _root.frame_mc.frame_top.navi_mc.bt06.enabled = true; _root.frame_mc.frame_top.navi_mc.bt07.enabled = true; _root.frame_mc.frame_top.navi_mc.bt08.enabled = false; _root.frame_mc.frame_top.navi_mc.bt01.gotoAndPlay(1); _root.frame_mc.frame_top.navi_mc.bt02.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt03.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt04.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt05.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt06.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt07.gotoAndStop(1); _root.frame_mc.frame_top.navi_mc.bt08.gotoAndStop(16); } frame 121 { ytplayer.destroy(); } frame 135 { stop(); } } movieClip 209 { frame 50 { stop(); } } movieClip 214 { } movieClip 215 { } movieClip 216 { frame 1 { stop(); meinSound = new Sound(this); meinSound.attachSound('snd1'); meinSound.setVolume(0); meinSound.start(-2, 9999); gotoAndPlay(2); } frame 2 { stop(); out.onRelease = function () { i = meinSound.getVolume(); _root.onEnterFrame = function () { i -= 6; meinSound.getVolume() > 0 ? meinSound.setVolume(i) : delete this.onEnterFrame; gotoAndStop(3); }; }; _global.music_play = 3; trace('music play ist = 3'); } frame 3 { stop(); inknop.onRelease = function () { i = meinSound.getVolume(); _root.onEnterFrame = function () { i += 6; meinSound.getVolume() < 100 ? meinSound.setVolume(i) : delete this.onEnterFrame; gotoAndStop(2); }; }; _global.music_play = 1; trace('music play ist = 1'); } } movieClip 217 { frame 73 { stop(); } } movieClip 218 { } movieClip 221 { } movieClip 224 { } movieClip 227 { } movieClip 230 { } movieClip 233 { } movieClip 236 { } movieClip 239 { } movieClip 242 { } movieClip 245 { } movieClip 246 { frame 1 { bt01.onRelease = function () { getURL('http://www.facebook.com/Pussycattiger', '_blank'); }; bt02.onRelease = function () { getURL('http://myspace.com/pussycattiger', '_blank'); }; bt03.onRelease = function () { getURL('http://www.youtube.com/user/ThePussycatTiger', '_blank'); }; bt04.onRelease = function () { getURL('http://twitter.com/pussycattiger', '_blank'); }; bt05.onRelease = function () { getURL('http://www.mister-wong.de/user/PCtiger', '_blank'); }; bt06.onRelease = function () { getURL('http://pussycattiger.joinr.de/', '_blank'); }; bt07.onRelease = function () { getURL('http://www.gofeminin.de/my-world/pussycattiger', '_blank'); }; bt08.onRelease = function () { getURL('http://www.kwick.de/ThePcattiger', '_blank'); }; } } movieClip 248 { } movieClip 249 { frame 1 { i = 0; onEnterFrame = function () { var cursorX = _xmouse; var cursorY = _ymouse; var limit = 1; var minScale = 30; var maxScale = 100; var maxRotation = 180; var deltaX = oldX - cursorX; var deltaY = oldY - cursorY; var distance = Math.sqrt(deltaX * deltaX + deltaY * deltaY); oldX = cursorX; oldY = cursorY; if (distance > limit) { ++i; attachMovie('star', 'star' + i, maxScale + i); with (this['star' + i]) { var randomScale = Math.random() * maxScale + minScale; var randomRotation = Math.random() * maxRotation - maxRotation / 2; _yscale = randomScale; _xscale = _yscale; _rotation = randomRotation; _x = _parent._xmouse; _y = _parent._ymouse; } } }; stop(); } }




http://swfchan.com/29/140583/info.shtml
Created: 7/10 -2018 10:54:22 Last modified: 7/10 -2018 10:54:22 Server time: 04/05 -2024 15:28:09