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

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

Game - Anthony's slot machine.swf

This is the info page for
Flash #138555

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


Text
presenter_button

<p align="left"><font face="Wingdings 2" size="14" color="#000000" letterSpacing="0.000000" kerning="0"></font></p>

<p align="center"><font face="_sans" size="15" color="#ffffff" letterSpacing="0.000000" kerning="0"> Dieses Programm benötigt den Flash Player 8++</font></p><p align="center"><font face="_sans" size="15" color="#ffffff" letterSpacing="0.000000" kerning="0">Bitte laden Sie die neuste Version des Flash-Players.</font></p><p align="center"></p><p align="center"><font face="_sans" size="15" color="#ffffff" letterSpacing="0.000000" kerning="0">This programm needs the Flash-Player 8++</font></p><p align="center"><font face="_sans" size="15" color="#ffffff" letterSpacing="0.000000" kerning="0">Please download the new Player</font></p>

<p align="center"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="0">download Flash-Player</font></p>

<p align="left"><font face="Verdana" size="12" color="#ff8500" letterSpacing="0.000000" kerning="0">0 %</font></p>

<p align="left"><font face="Verdana" size="45" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>slotmachine</b></font></p>

<p align="left"><font face="Wingdings 2" size="14" color="#000000" letterSpacing="0.000000" kerning="0"></font></p>

¥

CLICK
HERE

Runde 0/0 Score:0

<p align="center"><font face="Verdana" size="16" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>spiel beendet</b></font></p>

<p align="left"><font face="Verdana" size="21" color="#ffffff" letterSpacing="0.000000" kerning="0"><b>slotmachine</b></font></p>

www.furaffinity.net/user/anthony2008

<p align="center"><font face="_sans" size="15" color="#000000" letterSpacing="0.000000" kerning="0"> Dieses Programm benötigt den Flash Player 8++</font></p><p align="center"><font face="_sans" size="15" color="#000000" letterSpacing="0.000000" kerning="0">Bitte laden Sie die neuste Version des Flash-Players.</font></p><p align="center"></p><p align="center"><font face="_sans" size="15" color="#000000" letterSpacing="0.000000" kerning="0">This programm needs the Flash-Player 8++</font></p><p align="center"><font face="_sans" size="15" color="#000000" letterSpacing="0.000000" kerning="0">Please downlaod the new Player</font></p>

<p align="center"><font face="_sans" size="10" color="#000000" letterSpacing="0.000000" kerning="0">download Flash-Player</font></p>

ActionScript [AS1/AS2]

Frame 1
function randomNumbers(startNummer, anzahl) { var _local5 = new Array(); var _local4 = new Array(); var _local2 = 0; while (_local2 < startNummer) { _local5[_local2] = _local2 + 1; var _local3 = true; while (_local3) { var _local1 = int(random(startNummer)); if (_local4[_local1] == undefined) { _local4[_local1] = _local5[_local2]; _local3 = false; } } _local2++; } _local4 = _local4.slice(0, anzahl); return(_local4); } com.mosesSupposes.fuse.ZigoEngine.simpleSetup(com.mosesSupposes.fuse.Shortcuts, com.mosesSupposes.fuse.PennerEasing); ch.mda.core.PresenterSounds.initialize(); var p_hauptschrift = "Verdana"; var p_fontEinbetten = false; var s_embedFonts = false; var p_colorButtons = {}; p_colorButtons.click = "#CC0000"; p_colorButtons.disabled = "#999999"; p_colorButtons.disabled_G = "#000000"; p_colorButtons.heightLight = "#CC0000"; p_colorButtons.norm = "#FFCC00"; p_colorButtons.norm_G = "#CC0000"; p_colorButtons.over = "#FF9900"; p_colorButtons.over_G = "#CC0000"; p_colorButtons.press = "#CC0000"; var p_colorButtonsFont = {}; p_colorButtonsFont.border = "#333333"; p_colorButtonsFont.click = "#FFFFFF"; p_colorButtonsFont.disabled = "#666666"; p_colorButtonsFont.fontSize = "10"; p_colorButtonsFont.heightLight = "#FFFFFF"; p_colorButtonsFont.norm = "#990000"; p_colorButtonsFont.over = "#FFFFFF"; p_colorButtonsFont.press = "#FFFFFF"; var p_mainColors = {}; p_mainColors.background = "#333333"; p_mainColors.backgroundAround = "#000000"; p_mainColors.border = "#999999"; p_mainColors.colorDark = "#990000"; p_mainColors.colorLight = "#444444"; p_mainColors.colorMiddle = "#333333"; p_mainColors.heightLight = "#CC0000"; p_mainColors.line = "#CCCCCC"; p_mainColors.linkColor = "#CC0000"; p_mainColors.linkColorOver = "#FF0000"; p_mainColors.message = "#FFFFFF"; stop(); var ver = System.capabilities.version.split(" ").join(",").split(","); stop(); test = false; if (Number(ver[1] > 7)) { test = true; this.onEnterFrame = function () { var _local2 = Math.floor((this.getBytesLoaded() / this.getBytesTotal()) * 100); this.balken_mc._xscale = _local2; this.prozent_txt.text = _local2 + " %"; if (_local2 > 99) { delete this.onEnterFrame; play(); } }; if (test) { infoText_txt._visible = false; d_txt._visible = false; download__mc._visible = false; } } download__mc.onRelease = function () { getURL ("http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"); }; var a = {}; a.text = "<A HREF=\"http://www.anthony-art.ch/\" target=\"_blank\">anthony-art.ch</A>"; a.fontSize = 11; a.textDecoration = "none"; a.linkColor = "#FF8500"; a_txt.setTextObject(a);
Frame 5
stop();
Frame 6
stop(); download__mc.onRelease = function () { getURL ("http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"); };
Symbol 18 MovieClip Frame 1
dragger_mc.onPress = function () { this.startDrag(false, 0, 0, 100, 0); this.onEnterFrame = function () { _parent.onEnvent(this._x); }; }; dragger_mc.onRelease = function () { stopDrag(); delete this.onEnterFrame; this._parent._visible = false; _global.playSound(_root, "switsch.AIFF", 100, false, false); };
Symbol 19 MovieClip [simpleSlider_mc] Frame 1
#initclip 23 function simpleSlider() { this.value = 80; this.hit_mc.onRollOver = function () { this._parent.leiste_mc._visible = true; this.onEnterFrame = function () { if (!this._parent.leiste_mc.hitTest(_root._xmouse, _root._ymouse, false)) { this._parent.leiste_mc._visible = false; delete this.onEnterFrame; } }; }; this.t = {}; this.t.fontSize = 9; this.t.text = 80; this.t.species = "plainText"; this.t.selectable = false; this.volume_txt = this.attachMovie("freeText_mc", "v_mc", 100); this.volume_txt._y = 3; this.volume_txt.setTextObject(this.t); } simpleSlider.prototype = new MovieClip(); simpleSlider.prototype.hideLeiste = function () { this.leiste_mc._visible = false; }; simpleSlider.prototype.getValue = function () { return(this.value); }; simpleSlider.prototype.setValue = function (v) { this.value = v; this.volume_txt.text = this.value; this.leiste_mc._x = value; }; simpleSlider.prototype.setChangeHandler = function (handler, mc) { this.changeHandler = handler; this.ClickObj = ((arguments.length < 2) ? _parent : (mc)); }; simpleSlider.prototype.onEnvent = function (v) { this.value = v; this.volume_txt.text = this.value; this.ClickObj[this.changeHandler](this); }; Object.registerClass("simpleSlider_mc", simpleSlider); #endinitclip ASSetPropFlags(simpleSlider, ["", ""], 7);
Symbol 19 MovieClip [simpleSlider_mc] Frame 2
this.leiste_mc._visible = false; stop();
Symbol 24 MovieClip [sound_pb] Frame 1
#initclip 17 Object.registerClass("sound_pb", ch.mda.FreeButton); #endinitclip this.setColorObject(_root.p_colorButtons, _root.p_colorButtonsFont); deco_mc._width = this.back_mc._width; deco_mc._height = this.back_mc._height / 2; deco_mc._y = this.back_mc._height / 2; deco_mc.swapDepths(2); this.setSymbolMovie(this.pfeil_mc);
Symbol 24 MovieClip [sound_pb] Frame 2
stop();
Symbol 27 MovieClip [soundControl_mc] Frame 1
#initclip 18 Object.registerClass("soundControl_mc", ch.mda.core.SoundControl); #endinitclip this.sound_pb.setSize(20, 20, 3, 0);
Symbol 30 MovieClip [presenter_pb] Frame 1
#initclip 19 Object.registerClass("presenter_pb", ch.mda.FreeButton); #endinitclip this.setColorObject(_root.p_colorButtons, _root.p_colorButtonsFont); this.setButtonSound("click");
Symbol 30 MovieClip [presenter_pb] Frame 2
stop(); this.pfeil_mc._visible = false;
Symbol 34 MovieClip [kleiner_pb] Frame 1
#initclip 20 Object.registerClass("kleiner_pb", ch.mda.FreeButton); #endinitclip stop();
Symbol 38 MovieClip Frame 1
stop();
Symbol 38 MovieClip Frame 2
stop();
Symbol 41 MovieClip [smiley_parade] Frame 1
stop();
Symbol 41 MovieClip [smiley_parade] Frame 2
stop();
Symbol 41 MovieClip [smiley_parade] Frame 3
stop();
Symbol 41 MovieClip [smiley_parade] Frame 4
stop();
Symbol 41 MovieClip [smiley_parade] Frame 5
Symbol 42 MovieClip [smiley_mc] Frame 1
#initclip 21 function smiley() { trace("smiley init"); this.weite = this.parade_mc._width + 5; this.parade_mc._visible = false; this.tiefe = 1; this.alleS_array = new Array(); this.alleS_arrayBack = new Array(); this.zahler = 0; } smiley.prototype = new MovieClip(); smiley.prototype.loeschAlles = function () { i = 0; while (i < this.alleS_array.length) { trace(this.alleS_array[i]); this.alleS_array[i].removeMovieClip(); i++; } this.alleS_array = new Array(); this.zahler = 0; }; smiley.prototype.zeigMich = function (wert) { this.tiefe++; var _local3 = {_x:this.weite * this.zahler, _xscale:this.parade_mc._xscale, _yscale:this.parade_mc._yscale}; var _local2 = this.attachMovie("smiley_parade", "s" + this.tiefe, this.tiefe, _local3); this.alleS_array.push(_local2); _local2.gotoAndStop(wert); this.zahler++; }; smiley.prototype.zeigAnzahl = function (anzahl) { i = 0; while (i < anzahl) { this.tiefe++; var _local3 = {_x:this.weite * i, _xscale:this.parade_mc._xscale, _yscale:this.parade_mc._yscale}; var _local2 = this.attachMovie("smiley_back", "s" + this.tiefe, this.tiefe, _local3); this.alleS_arrayBack.push(_local2); i++; } }; smiley.prototype.loeschAnzahl = function () { i = 0; while (i < this.alleS_arrayBack.length) { this.alleS_arrayBack[i].removeMovieClip(); i++; } this.alleS_arrayBack = new Array(); this.zahler = 0; }; smiley.prototype.showFunctions = function () { var _local2 = new Array(); var _local5 = "smiley"; var _local3 = "-------------------------------------------------------------------"; trace(((substring(_local3, 1, 20 - (_local5.length * 0.5))) + _local5) + (substring(_local3, 1, 20 - (_local5.length * 0.5)))); trace(" new methods:"); trace(substring(_local3, 0, 40)); for (var _local4 in this) { if (typeof(this[_local4]) == "function") { _local2.push(" " + _local4); } } _local2.sort(); _local2 = _local2.join(newline); trace(_local2); trace(substring(_local3, 0, 40)); }; smiley.prototype.toString = function () { return("[smiley Instance]"); }; Object.registerClass("smiley_mc", smiley); #endinitclip ASSetPropFlags(smiley, ["", ""], 7);
Symbol 45 MovieClip [freeText_mc] Frame 1
#initclip 22 Object.registerClass("freeText_mc", ch.mda.FreeText); #endinitclip
Symbol 175 MovieClip [__Packages.com.mosesSupposes.fuse.Shortcuts] Frame 0
class com.mosesSupposes.fuse.Shortcuts { function Shortcuts () { } static function initialize() { if (shortcuts == null) { initShortcuts(); } } static function doShortcut(obj, methodName) { initialize(); var _local5 = shortcuts[methodName]; if (_local5 == undefined) { if (typeof(obj) == "movieclip") { _local5 = mcshortcuts[methodName]; } } if (_local5 == undefined) { return(null); } obj = arguments.shift(); methodName = String(arguments.shift()); if (!(obj instanceof Array)) { obj = [obj]; } var _local3 = ""; for (var _local6 in obj) { var _local2 = String(_local5.apply(obj[_local6], arguments)); if ((_local2 != null) && (_local2.length > 0)) { if (_local3.length > 0) { _local3 = (_local2 + "|") + _local3; } else { _local3 = _local2; } } } return(((_local3 == "") ? null : (_local3))); } static function addShortcutsTo() { initialize(); var _local5 = function (o, so) { for (var _local5 in so) { var _local2 = so[_local5]; if (_local2.getter || (_local2.setter)) { o.addProperty(_local5, _local2.getter, _local2.setter); _global.ASSetPropFlags(o, _local5, 3, 1); } else { o[_local5] = _local2; _global.ASSetPropFlags(o, _local5, 7, 1); } } }; for (var _local7 in arguments) { var _local4 = arguments[_local7]; if ((_local4 == MovieClip.prototype) || (typeof(_local4) == "movieclip")) { _local5(_local4, mcshortcuts); } _local5(_local4, shortcuts); } } static function removeShortcutsFrom() { initialize(); var _local5 = function (o, so) { for (var _local5 in so) { _global.ASSetPropFlags(o, _local5, 0, 2); var _local2 = so[_local5]; if (_local2.getter || (_local2.setter)) { o.addProperty(_local5, null, null); } delete o[_local5]; } }; for (var _local7 in arguments) { var _local3 = arguments[_local7]; if ((_local3 == MovieClip.prototype) || (typeof(_local3) == "movieclip")) { _local5(_local3, mcshortcuts); } _local5(_local3, shortcuts); } } static function parseStringTypeCallback(callbackStr) { var evaluate = function (val) { var first = val.charAt(0); if ((first == val.slice(-1)) && ((first == "\"") || (first == "'"))) { return(val.slice(1, -1)); } if (val == "true") { return(Object(true)); } if (val == "false") { return(Object(false)); } if (val == "null") { return(Object(null)); } if (_global.isNaN(Number(val)) == false) { return(Object(Number(val))); } return(Object(eval (val))); }; var trimWhite = function (str) { while (str.charAt(0) == " ") { str = str.slice(1); } while (str.slice(-1) == " ") { str = str.slice(0, -1); } return(str); }; var evaluateList = function (list) { var _local11 = []; var _local4 = 0; while (_local4 < list.length) { var _local3 = list[_local4]; _local3 = trimWhite(_local3); var _local5 = (_local3.charAt(0) == "{") && ((_local3.indexOf("}") > -1) || (_local3.indexOf(":") > -1)); var _local10 = _local3.charAt(0) == "["; if ((_local5 || (_local10)) == true) { var _local6 = ((_local5 == true) ? ({}) : ([])); var _local2 = _local4; while (_local2 < list.length) { if (_local2 == _local4) { _local3 = _local3.slice(1); } var _local1; var _local8 = (_local1.slice(-1) == ((_local5 == true) ? "}" : "]")) || (_local2 == (list.length - 1)); if (_local8 == true) { _local1 = _local1.slice(0, -1); } if ((_local5 == true) && (_local1.indexOf(":") > -1)) { var _local7 = _local1.split(":"); _local6[trimWhite(_local7[0])] = evaluate(trimWhite(_local7[1])); } else if (_local10 == true) { _local6.push(evaluate(trimWhite(_local1))); } if (_local8 == true) { _local11.push(_local6); _local4 = _local2; break; } _local2++; } } else { _local11.push(evaluate(trimWhite(_local3))); } _local4++; } return(_local11); }; var parts = callbackStr.split("("); var p0 = parts[0]; var p1 = parts[1]; return({func:p0.slice(p0.lastIndexOf(".") + 1), scope:eval (p0.slice(0, p0.lastIndexOf("."))), args:evaluateList(p1.slice(0, p1.lastIndexOf(")")).split(","))}); } static function initShortcuts() { shortcuts = new Object(); var methods = {alphaTo:"_alpha", scaleTo:"_scale", sizeTo:"_size", rotateTo:"_rotation", brightnessTo:"_brightness", brightOffsetTo:"_brightOffset", contrastTo:"_contrast", colorTo:"_tint", tintPercentTo:"_tintPercent", colorResetTo:"_colorReset", invertColorTo:"_invertColor"}; var _local4 = _global.com.mosesSupposes.fuse.FuseFMP.getAllShortcuts(); var _local7 = {blur:1, blurX:1, blurY:1, strength:1, shadowAlpha:1, highlightAlpha:1, angle:1, distance:1, alpha:1, color:1}; for (var _local9 in _local4) { if (_local7[_local4[_local9].split("_")[1]] === 1) { methods[_local4[_local9] + "To"] = _local4[_local9]; } } var _local8 = {__resolve:function (name) { var propName = methods[name]; return(function () { var _local4 = _global.com.mosesSupposes.fuse.ZigoEngine.doTween.apply(com.mosesSupposes.fuse.ZigoEngine, new Array(this, propName).concat(arguments)); return(_local4); }); }}; var _local5 = {__resolve:function (name) { var _local3 = {setter:function (v) { _global.com.mosesSupposes.fuse.ZigoEngine.doTween(this, ((name == "_tintString") ? "_tint" : (name)), v, 0); }}; switch (name) { case "_colorReset" : _local3.getter = function () { return(100 - _global.com.mosesSupposes.fuse.ZigoEngine.getColorKeysObj(this).tintPercent); }; break; case "_colorTransform" : _local3.getter = function () { return(Color(new Color(this)).getTransform()); }; break; case "_fade" : _local3.getter = function () { return(this._alpha); }; break; case "_size" : _local3.getter = function () { return(((this._width == this._height) ? (this._width) : null)); }; break; case "_scale" : _local3.getter = function () { return(((this._xscale == this._yscale) ? (this._xscale) : null)); }; break; default : _local3.getter = function () { return(_global.com.mosesSupposes.fuse.ZigoEngine.getColorKeysObj(this)[name.slice(1)]); }; } return(_local3); }}; for (var _local9 in methods) { shortcuts[_local9] = _local8[_local9]; if ((_local9 != "alphaTo") && (_local9 != "rotateTo")) { shortcuts[methods[_local9]] = _local5[methods[_local9]]; } } shortcuts._tintString = _local5._tintString; shortcuts._colorTransform = _local5._colorTransform; shortcuts._fade = _local5._fade; shortcuts.tween = function (props, endVals, seconds, ease, delay, callback) { if ((arguments.length == 1) && (typeof(props) == "object")) { return(com.mosesSupposes.fuse.ZigoEngine.doTween({target:this, action:props})); } return(com.mosesSupposes.fuse.ZigoEngine.doTween(this, props, endVals, seconds, ease, delay, callback)); }; shortcuts.removeTween = (shortcuts.stopTween = function (props) { com.mosesSupposes.fuse.ZigoEngine.removeTween(this, props); }); shortcuts.removeAllTweens = (shortcuts.stopAllTweens = function () { com.mosesSupposes.fuse.ZigoEngine.removeTween("ALL"); }); shortcuts.isTweening = function (prop) { return(com.mosesSupposes.fuse.ZigoEngine.isTweening(this, prop)); }; shortcuts.getTweens = function () { return(com.mosesSupposes.fuse.ZigoEngine.getTweens(this)); }; shortcuts.lockTween = function () { com.mosesSupposes.fuse.ZigoEngine.lockTween(this, true); }; shortcuts.unlockTween = function () { com.mosesSupposes.fuse.ZigoEngine.lockTween(this, false); }; shortcuts.isTweenLocked = function () { return(com.mosesSupposes.fuse.ZigoEngine.isTweenLocked(this)); }; shortcuts.isTweenPaused = function (prop) { return(com.mosesSupposes.fuse.ZigoEngine.isTweenPaused(this, prop)); }; shortcuts.pauseTween = function (props) { com.mosesSupposes.fuse.ZigoEngine.pauseTween(this, props); }; shortcuts.resumeTween = (shortcuts.unpauseTween = function (props) { com.mosesSupposes.fuse.ZigoEngine.unpauseTween(this, props); }); shortcuts.pauseAllTweens = function () { com.mosesSupposes.fuse.ZigoEngine.pauseTween("ALL"); }; shortcuts.resumeAllTweens = (shortcuts.unpauseAllTweens = function () { com.mosesSupposes.fuse.ZigoEngine.unpauseTween("ALL"); }); shortcuts.ffTween = function (props) { com.mosesSupposes.fuse.ZigoEngine.ffTween(this, props); }; shortcuts.rewTween = function (props, suppressStartEvents) { com.mosesSupposes.fuse.ZigoEngine.rewTween(this, props, false, suppressStartEvents); }; shortcuts.rewAndPauseTween = function (props, suppressStartEvents) { com.mosesSupposes.fuse.ZigoEngine.rewTween(this, props, true, suppressStartEvents); }; shortcuts.skipTweenTo = function (seconds, props) { com.mosesSupposes.fuse.ZigoEngine.skipTweenTo(seconds, this, props); }; shortcuts.bezierTo = function (destX, destY, controlX, controlY, seconds, ease, delay, callback) { return(com.mosesSupposes.fuse.ZigoEngine.doTween(this, "_bezier_", {x:destX, y:destY, controlX:controlX, controlY:controlY}, seconds, ease, delay, callback)); }; shortcuts.colorTransformTo = function (ra, rb, ga, gb, ba, bb, aa, ab, seconds, ease, delay, callback) { return(com.mosesSupposes.fuse.ZigoEngine.doTween(this, "_colorTransform", {ra:ra, rb:rb, ga:ga, gb:gb, ba:ba, bb:bb, aa:aa, ab:ab}, seconds, ease, delay, callback)); }; shortcuts.tintTo = function (rgb, percent, seconds, ease, delay, callback) { return(com.mosesSupposes.fuse.ZigoEngine.doTween(this, "_tint", {tint:rgb, percent:percent}, seconds, ease, delay, callback)); }; shortcuts.slideTo = function (destX, destY, seconds, ease, delay, callback) { return(com.mosesSupposes.fuse.ZigoEngine.doTween(this, "_x,_y", [destX, destY], seconds, ease, delay, callback)); }; shortcuts.fadeIn = function (seconds, ease, delay, callback) { return(com.mosesSupposes.fuse.ZigoEngine.doTween(this, "_fade", 100, seconds, ease, delay, callback)); }; shortcuts.fadeOut = function (seconds, ease, delay, callback) { return(com.mosesSupposes.fuse.ZigoEngine.doTween(this, "_fade", 0, seconds, ease, delay, callback)); }; mcshortcuts = new Object(); mcshortcuts._frame = {getter:function () { return(this._currentframe); }, setter:function (v) { this.gotoAndStop(Math.round(v)); }}; mcshortcuts.frameTo = function (endframe, seconds, ease, delay, callback) { return(com.mosesSupposes.fuse.ZigoEngine.doTween(this, "_frame", ((endframe != undefined) ? (endframe) : (this._totalframes)), seconds, ease, delay, callback)); }; } static var registryKey = "shortcuts"; static var shortcuts = null; static var mcshortcuts = null; }
Symbol 176 MovieClip [__Packages.com.mosesSupposes.fuse.FuseKitCommon] Frame 0
class com.mosesSupposes.fuse.FuseKitCommon { static var logOutput; function FuseKitCommon () { } static function _cts() { return("|_tint|_tintPercent|_brightness|_brightOffset|_contrast|_invertColor|_colorReset|_colorTransform|"); } static function _resetTo100() { return("|_alpha|_contrast|_invertColor|_tintPercent|_xscale|_yscale|_scale|"); } static function _resetTo0() { return("|_brightness|_brightOffset|_colorReset|_rotation|"); } static function _underscoreable() { return(_cts() + "_frame|_x|_y|_xscale|_yscale|_scale|_width|_height|_size|_rotation|_alpha|_fade|_visible|"); } static function _cbprops() { return("|skipLevel|cycles|roundResults|extra1|extra2|func|scope|args|startfunc|startscope|startargs|updfunc|updscope|updargs|"); } static function _fuseEvents() { return("|onStart|onStop|onPause|onResume|onAdvance|onComplete|"); } static function _fuseprops() { return("|command|label|delay|event|eventparams|target|addTarget|trigger|startAt|ease|easing|seconds|duration|time|"); } static function _validateFuseCommand(c, inGroup, hasArg, outputLevel, simple) { var _local1 = false; var _local2 = false; switch (c) { case "start" : case "stop" : case "pause" : case "resume" : case "setStartProps" : if (inGroup != true) { _local1 = true; } break; case "delay" : case "trigger" : if (simple == true) { if (hasArg == true) { _local1 = true; } } else { _local2 = true; } inGroup = false; break; case "skipTo" : if (!((hasArg == true) && (inGroup != true))) { break; } _local1 = true; } if ((outputLevel > 0) && (_local1 == false)) { error("109", c, inGroup, _local2); } return(_local1); } static function output(s) { if (typeof(logOutput) == "function") { logOutput(s); } else { trace(s); } } static function error(errorCode) { var _local3 = arguments[1]; var _local4 = arguments[2]; var _local6 = arguments[3]; if (VERBOSE != true) { output(("[FuseKitCommon#" + errorCode) + "]"); return(undefined); } var _local2 = ""; var _local5 = newline; switch (errorCode) { case "001" : _local2 = _local2 + "** ERROR: When using simpleSetup to extend prototypes, you must pass the Shortcuts class. **"; _local2 = _local2 + (_local5 + " import com.mosesSupposes.fuse.*;"); _local2 = _local2 + ((_local5 + " ZigoEngine.simpleSetup(Shortcuts);") + _local5); break; case "002" : _local2 = _local2 + "** ZigoEngine.doShortcut: shortcuts missing. Use the setup commands: import com.mosesSupposes.fuse.*; ZigoEngine.register(Shortcuts); **"; break; case "003" : _local2 = _local2 + ((_local5 + "*** Error: DO NOT use #include \"lmc_tween.as\" with this version of ZigoEngine! ***") + _local5); break; case "004" : _local2 = _local2 + (("** ZigoEngine.doTween - too few arguments [" + _local3) + "]."); if (Boolean(_local4) == true) { _local2 = _local2 + " If you are trying to use Object Syntax without Fuse, pass FuseItem in your register() or simpleSetup() call. **"; } else { _local2 = _local2 + " Object syntax call failed. **"; } break; case "005" : _local2 = _local2 + (((("** ZigoEngine.doTween - missing targets[" + _local3) + "] and/or props[") + _local4) + "] **"); break; case "006" : _local2 = _local2 + (("** Error: easing shortcut string not recognized (\"" + _local3) + "\"). You may need to pass the in PennerEasing class during register or simpleSetup. **"); break; case "007" : _local2 = _local2 + (((("- ZigoEngine: Target locked [" + _local3) + "], ignoring tween call [") + _local4) + "]"); break; case "008" : _local2 = _local2 + "** You must register the Shortcuts class in order to use easy string-type callback parsing. **"; break; case "009" : _local2 = _local2 + (("** ZigoEngine: A callback parameter \"" + _local3) + "\" was not recognized. **"); break; case "010" : _local2 = _local2 + ((((("** " + ((_local3 == true) ? "ZigoEngine" : "FuseItem")) + " unable to parse ") + ((_local4 == 1) ? "callback[" : (String(_local4) + " callbacks["))) + _local6) + "]. Try using the syntax {scope:this, func:\"myFunction\"} **"); break; case "011" : _local2 = _local2 + (((("- ZigoEngine: Callbacks discarded via skipLevel 2 option [" + _local3) + "|") + _local4) + "]."); break; case "012" : _local2 = _local2 + (((((("- Engine set props or ignored no-change tween on: " + _local3) + ", props passed:[") + _local4) + "], endvals passed:[") + _local6) + "]"); break; case "013" : _local2 = _local2 + (((((("- Engine added tween on:\n\ttargets:[" + _local3) + "]\n\tprops:[") + _local4) + "]\n\tendvals:[") + _local6) + "]"); break; case "014" : _local2 = _local2 + "** Error: easing function passed is not usable with this engine. Functions need to follow the Robert Penner model. **"; break; case "015" : _local2 = _local2 + "** Error: The CustomEasing class must be passed during setup (register or simpleSetup) to use custom easing Arrays. **"; break; case "016" : _local2 = _local2 + (("[ ZigoEngine.TIME_MULTIPLIER: " + String(Number(Number(_local3) * 100))) + "% ]"); break; case "101" : _local2 = _local2 + "** ERROR: Fuse simpleSetup was removed in version 2.0! **"; _local2 = _local2 + (_local5 + " You must now use the following commands:"); _local2 = _local2 + ((_local5 + _local5) + "\timport com.mosesSupposes.fuse.*;"); _local2 = _local2 + (_local5 + "\tZigoEngine.simpleSetup(Shortcuts, PennerEasing, Fuse);"); _local2 = _local2 + ((_local5 + "Note that PennerEasing is optional, and FuseFMP is also accepted. (FuseFMP.simpleSetup is run automatically if included.)") + _local5); break; case "102" : _local2 = _local2 + (((("** Fuse " + _local3) + " index or label not found (") + _local4) + ") or out of range. **"); break; case "103" : _local2 = _local2 + (((("** Fuse skipTo (" + _local3) + ") ignored - targets the current index (") + _local4) + "). **"); break; case "104" : _local2 = _local2 + (("** Fuse fastForward index out of play range (" + _local3) + ") - skipTo has been called instead. **"); break; case "105" : _local2 = _local2 + "** An unsupported Array method was called on Fuse. **"; break; case "106" : _local2 = _local2 + "** ERROR: You have not set up Fuse correctly. **"; _local2 = _local2 + (_local5 + "You must now use the following commands (PennerEasing is optional)."); _local2 = _local2 + (_local5 + "\timport com.mosesSupposes.fuse.*;"); _local2 = _local2 + ((_local5 + "\tZigoEngine.simpleSetup(Shortcuts, PennerEasing, Fuse);") + _local5); break; case "107" : _local2 = _local2 + "** Fuse :: id not found - Aborting open(). **"; break; case "108" : _local2 = _local2 + "** Fuse.startRecent: No recent Fuse found to start! **"; break; case "109" : _local2 = _local2 + (("** Command \"" + _local3) + "\" discarded. "); if (_local4 == true) { _local2 = _local2 + "Not allowed within a group. **"; } else if (_local6 == true) { _local2 = _local2 + (("Not supported in Object Syntax, use the " + _local3) + " property instead. **"); } else { _local2 = _local2 + "The command may be unrecognized or missing an argument. **"; } break; case "110" : _local2 = _local2 + (((("** " + _local3) + " illegal Fuse property discarded:\"") + _local4) + "\". Bezier keywords other than x and y cannot be set as start values. **"); break; case "112" : _local2 = _local2 + "** Fuse: missing com.mosesSupposes.fuse.ZigoEngine! Cannot tween. **"; break; case "113" : _local2 = _local2 + "** FuseItem: A callback has been discarded. Actions with a command may only contain: label, delay, scope, args. **"; break; case "115" : _local2 = _local2 + ((_local3 + " overlapping prop discarded: ") + _local4); break; case "116" : _local2 = _local2 + ("** FuseItem Error: Delays within groups (arrays) and start/update callbacks are not supported when using Fuse without ZigoEngine. Although you need to restructure your Fuse, it should be possible to achieve the same results. **" + _local5); break; case "117" : _local2 = _local2 + (("** " + _local3) + ": infinite cycles are not allowed within Fuses - discarded. **"); break; case "118" : _local2 = _local2 + ((("** " + _local3) + ": No targets found!") + ((_local4 == true) ? " [Unable to set start props] **" : " [Skipping tween parameters in this action] **")); break; case "119" : _local2 = _local2 + ((((("** " + _local3) + ": ") + ((_local4 == 1) ? "" : (_local4 + " actions in the group"))) + " missing targets") + ((_local6 == true) ? " during setStartProps **" : " **")); break; case "120" : _local2 = _local2 + (((("** " + _local3) + ": conflict with \"") + _local4) + "\". Property might be doubled within a grouped-action array. **"); break; case "121" : _local2 = _local2 + "** Fuse timecode formatting requires \"00:\" formatting (example:\"01:01:33\" yields 61.33 seconds.) **"; break; case "122" : _local2 = _local2 + (("** Event \"" + _local3) + "\" reserved by Fuse. **"); break; case "123" : _local2 = _local2 + (("** A Fuse event parameter failed in " + _local3) + " **"); break; case "124" : _local2 = _local2 + (((("** " + _local3) + ": trigger:") + _local4) + " ignored - only one trigger is allowed per action **"); break; case "125" : _local2 = _local2 + (_local3 + " Warning - fastForward hit an item during its tween cycle, may malfunction."); break; case "201" : _local2 = _local2 + (("**** FuseFMP cannot initialize argument " + _local3) + " (BitmapFilters cannot be applied to this object type) ****"); break; case "202" : _local2 = _local2 + (((("** FuseFMP error: A " + _local3) + " could not be created for ") + _local4) + " **"); break; case "203" : _local2 = _local2 + (("** FuseFMP.setFilterProps - too few arguments passed (" + _local3) + ") - minimum 2 required. **"); break; case "204" : _local2 = _local2 + (("** FuseFMP.setFilterProps could not locate the filter passed. (" + _local3) + ") **"); } output(_local2); } static function parseCallback(callback, targets, outputLevel, callerIsEngine, addprefix) { if (callback._vcb == true) { return(callback); } var validCBs = {_vcb:true, skipLevel:_global.com.mosesSupposes.fuse.ZigoEngine.SKIP_LEVEL, cycles:1}; if (callback == undefined) { return(validCBs); } var cbErrors = []; if (typeof(callback) == "object") { if (((callback.skipLevel != undefined) && (typeof(callback.skipLevel) == "number")) && (callback.skipLevel != _global.com.mosesSupposes.fuse.ZigoEngine.SKIP_LEVEL)) { if ((callback.skipLevel >= 0) && (callback.skipLevel <= 2)) { validCBs.skipLevel = callback.skipLevel; } } if (callback.cycles != undefined) { if ((typeof(callback.cycles) == "number") && (callback.cycles > -1)) { validCBs.cycles = callback.cycles; } else if (callback.cycles.toUpperCase() == "LOOP") { validCBs.cycles = 0; } } if (callback.extra1 != undefined) { validCBs.extra1 = callback.extra1; } if (callback.extra2 != undefined) { validCBs.extra2 = callback.extra2; } if ((callback.roundResults === true) || (callback.roundResults === false)) { validCBs.roundResults = callback.roundResults; } } else { callback = {func:callback}; } var prefixes = ["start", "upd", ""]; var easyfuncparse = _global.com.mosesSupposes.fuse.Shortcuts.parseStringTypeCallback; for (var i in prefixes) { var prefix = prefixes[i]; var fstr = callback[prefix + "func"]; if (((fstr != undefined) && (typeof(fstr) == "string")) && (fstr.indexOf("(") > -1)) { if (easyfuncparse != undefined) { var efc = easyfuncparse(fstr); if (efc.func != undefined) { callback[prefix + "scope"] = efc.scope; callback[prefix + "func"] = efc.func; callback[prefix + "args"] = efc.args; } } else if (outputLevel > 0) { error("008"); } } } var basescope = callback.scope; for (var i in callback) { var fi = i.toLowerCase().indexOf("func"); if (fi > -1) { var prefix = i.slice(0, fi); var func = callback[i]; var args = callback[prefix + "args"]; var scope = ((callback[prefix + "scope"] == undefined) ? (basescope) : (callback[prefix + "scope"])); if ((typeof(func) == "string") && (scope[func] == undefined)) { for (var j in targets) { var targ = targets[j]; if (typeof(targ[func]) == "function") { scope = targ; break; } if (typeof(targ._parent[func]) == "function") { scope = targ._parent; break; } } if ((scope == undefined) && (_level0[func] != undefined)) { scope = _level0; } if ((scope == undefined) && (_global[func] != undefined)) { scope = _global; } } if (typeof(func) != "function") { if (typeof(scope[String(func)]) == "function") { func = scope[String(func)]; } else { func = eval (String(func)); } } if (func == undefined) { cbErrors.push(String((((((((addprefix == null) ? (i) : (addprefix + i)) + ":") + ((typeof(callback[i]) == "string") ? (("\"" + callback[i]) + "\"") : (callback[i]))) + "/") + prefix) + "scope:") + scope)); } else { if ((args != undefined) && (!(args instanceof Array))) { args = [args]; } if (prefix == "") { prefix = "end"; } validCBs[prefix] = {s:scope, f:func, a:args}; if (callerIsEngine == true) { validCBs[prefix].id = ++cbTicker; } if (prefix == "start") { validCBs.start.fired = false; } } } else if (_cbprops().indexOf(("|" + i) + "|") == -1) { error("009", i); } } if ((cbErrors.length > 0) && (outputLevel > 0)) { if (outputLevel > 0) { error("010", callerIsEngine, cbErrors.length, cbErrors.toString()); } } return(validCBs); } static var VERSION = "Fuse Kit 2.1.3r1 Copyright (c) 2006 Moses Gunesch, MosesSupposes.com under MIT Open Source License"; static var VERBOSE = true; static var ALL = "ALL"; static var ALLCOLOR = "ALLCOLOR"; static var cbTicker = 0; }
Symbol 177 MovieClip [__Packages.com.mosesSupposes.fuse.ZigoEngine] Frame 0
class com.mosesSupposes.fuse.ZigoEngine { static var extensions, updateTime, tweenHolder, instance, _listeners, broadcastMessage, updateIntId; function ZigoEngine () { } static function addListener(handler) { AsBroadcaster.initialize(com.mosesSupposes.fuse.ZigoEngine); addListener(handler); } static function removeListener(handler) { } static function isPlaying() { return(_playing); } static function simpleSetup(shortcutsClass) { if (arguments.length > 0) { register.apply(com.mosesSupposes.fuse.ZigoEngine, arguments); } _global.ZigoEngine = com.mosesSupposes.fuse.ZigoEngine; if (extensions.fuse != undefined) { _global.Fuse = extensions.fuse; } if (extensions.fuseFMP != undefined) { extensions.fuseFMP.simpleSetup(); } initialize(MovieClip.prototype, Button.prototype, TextField.prototype); if (extensions.shortcuts == undefined) { com.mosesSupposes.fuse.FuseKitCommon.error("001"); } } static function register(classReference) { if (extensions == undefined) { extensions = {}; } var _local3 = "|fuse|fuseItem|fuseFMP|shortcuts|pennerEasing|customEasing|"; for (var _local4 in arguments) { var _local2 = arguments[_local4].registryKey; if ((extensions[_local2] == undefined) && (_local3.indexOf(("|" + _local2) + "|") > -1)) { extensions[_local2] = arguments[_local4]; if ((_local2 == "fuseFMP") || (_local2 == "shortcuts")) { Object(extensions[_local2]).initialize(); } } } } static function initialize(target) { if (arguments.length > 0) { initializeTargets.apply(com.mosesSupposes.fuse.ZigoEngine, arguments); if (extensions.shortcuts != undefined) { extensions.shortcuts.addShortcutsTo.apply(extensions.shortcuts, arguments); } } } static function deinitialize(target) { if ((arguments.length == 0) || (target == null)) { arguments.push(MovieClip.prototype, Button.prototype, TextField.prototype); } deinitializeTargets.apply(com.mosesSupposes.fuse.ZigoEngine, arguments); if (extensions.shortcuts != undefined) { extensions.shortcuts.removeShortcutsFrom.apply(extensions.shortcuts, arguments); } } static function getUpdateInterval() { return(updateTime); } static function setUpdateInterval(time) { if (_playing) { setup(true); updateTime = time; setup(); } else { updateTime = time; } } static function getControllerDepth() { return(tweenHolder.getDepth()); } static function setControllerDepth(depth) { if ((depth == null) || (_global.isNaN(depth) == true)) { depth = 6789; } if (Object(tweenHolder).proof != null) { tweenHolder.swapDepths(depth); } else { tweenHolder = _root.createEmptyMovieClip("ZigoEnginePulse", depth); } } static function doShortcut(targets, methodName) { if (extensions.shortcuts == undefined) { if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("002"); } return(null); } return(extensions.shortcuts.doShortcut.apply(extensions.shortcuts, arguments)); } static function doTween(targets, props, endvals, seconds, ease, delay, callback) { if (extensions.fuse.addBuildItem(arguments) == true) { return(null); } if (TIME_MULTIPLIER != prevTimeMult) { TIME_MULTIPLIER = Math.abs(TIME_MULTIPLIER); if (_global.isNaN(TIME_MULTIPLIER) == true) { TIME_MULTIPLIER = 1; } if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("016", TIME_MULTIPLIER); } prevTimeMult = TIME_MULTIPLIER; } if ((instance == undefined) || ((Object(tweenHolder).proof == undefined) && (updateTime == undefined))) { if ((MovieClip.prototype.tween != null) && (typeof(_global.$tweenManager) == "object")) { com.mosesSupposes.fuse.FuseKitCommon.error("003"); } instance = new com.mosesSupposes.fuse.ZManager(); _playing = false; } var _local4 = instance.paramsObj(targets, props, endvals, true); var _local7 = (((_local4.tg[0] == null) || (_local4.tg.length == 0)) ? undefined : (_local4.tg)); if (((_local4.pa == undefined) || (_local7 == undefined)) || (arguments.length < 3)) { if (((extensions.fuseItem != null) && (arguments.length == 1)) && (typeof(arguments[0]) == "object")) { return(extensions.fuseItem.doTween(arguments[0])); } if (OUTPUT_LEVEL > 0) { if (arguments.length < 3) { com.mosesSupposes.fuse.FuseKitCommon.error("004", (((arguments.length == 1) && (arguments[0] == null)) ? "1 (null)" : (String(arguments.length))), Boolean(extensions.fuseItem == null)); } else { com.mosesSupposes.fuse.FuseKitCommon.error("005", _local7.toString(), _local4.pa.toString()); } } return(null); } if (_playing != true) { setup(); } if ((seconds == null) || (_global.isNaN(seconds) == true)) { seconds = DURATION || 1; } else if (seconds < 0.01) { seconds = 0; } seconds = seconds * TIME_MULTIPLIER; if (((delay < 0.01) || (delay == null)) || (_global.isNaN(delay) == true)) { delay = 0; } delay = delay * TIME_MULTIPLIER; var _local12 = com.mosesSupposes.fuse.FuseKitCommon.parseCallback(callback, _local7, OUTPUT_LEVEL, true); var _local9; if (typeof(ease) == "function") { if (typeof(Function(ease).call(null, 1, 1, 1, 1)) == "number") { _local9 = Function(ease); } else if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("014", ease); } } else if ((ease == null) || (ease == "")) { if (EASING instanceof Function) { _local9 = Function(EASING); } else if (extensions.pennerEasing != undefined) { ease = EASING; } } if ((typeof(ease) == "string") && (ease != "")) { if (extensions.pennerEasing[ease] != undefined) { _local9 = extensions.pennerEasing[ease]; } else if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("006", ease); } } else if (ease instanceof Array) { if (extensions.customEasing != undefined) { _local12.extra1 = ease; if (typeof(ease[0]) == "number") { _local9 = extensions.customEasing.precalced; } else { _local9 = extensions.customEasing.fromCurve; } } else if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("015", ease); } } if (typeof(_local9) != "function") { _local9 = function (t, b, c, d) { t = (t / d) - 1; return((c * (((((t * t) * t) * t) * t) + 1)) + b); }; } if (_listeners.length > 0) { broadcastMessage.call(com.mosesSupposes.fuse.ZigoEngine, "onTweenAdd", _local7, _local4.pa, _local4.va, seconds, _local9, delay, _local12); } var _local6 = ""; for (var _local13 in _local7) { var _local3 = _local7[_local13]; if (_local3.__zigoID__ == null) { initializeTargets(_local3); } else if (instance.getStatus("locked", _local3) == true) { if (OUTPUT_LEVEL > 0) { com.mosesSupposes.fuse.FuseKitCommon.error("007", ((_local3._name != undefined) ? (_local3._name) : (_local3.toString())), _local4.pa.toString()); } continue; } var _local5 = instance.addTween(_local3, _local4.pa, _local4.va, seconds, _local9, delay, _local12); _local6 = ((_local5 == null) ? "|" : (_local5 + "|")) + _local6; } _local6 = _local6.slice(0, -1); return((((_local6 == "") || (_local6 == "|")) ? null : (_local6))); } static function removeTween(targs, props) { instance.removeTween(targs, props); } static function isTweening(targ, prop) { return(Boolean(instance.getStatus("active", targ, prop))); } static function getTweens(targ) { if (instance == undefined) { return(0); } return(Number(instance.getStatus("count", targ))); } static function lockTween(targ, setLocked) { instance.alterTweens("lock", targ, setLocked == true); } static function isTweenLocked(targ) { return(Boolean(instance.getStatus("locked", targ))); } static function ffTween(targs, props, suppressEndEvents) { instance.alterTweens("ff", targs, props, null, suppressEndEvents); } static function skipTweenTo(seconds, targs, props) { instance.alterTweens("skipTo", targs, props, false, false, seconds); } static function rewTween(targs, props, pauseFlag, suppressStartEvents) { instance.alterTweens("rewind", targs, props, pauseFlag, suppressStartEvents); } static function isTweenPaused(targ, prop) { return(Boolean(instance.getStatus("paused", targ, prop))); } static function pauseTween(targs, props) { instance.alterTweens("pause", targs, props); } static function unpauseTween(targs, props) { instance.alterTweens("unpause", targs, props); } static function resumeTween(targs, props) { instance.alterTweens("unpause", targs, props); } static function setColorByKey(targetObj, type, amt, rgb) { new Color(targetObj).setTransform(getColorTransObj(type, amt, rgb)); } static function getColorTransObj(type, amt, rgb) { switch (type) { case "brightness" : var _local3 = 100 - Math.abs(amt); var _local4 = ((amt > 0) ? (255 * (amt / 100)) : 0); return({ra:_local3, rb:_local4, ga:_local3, gb:_local4, ba:_local3, bb:_local4}); case "brightOffset" : return({ra:100, rb:255 * (amt / 100), ga:100, gb:255 * (amt / 100), ba:100, bb:255 * (amt / 100)}); case "contrast" : return({ra:amt, rb:128 - (1.28 * amt), ga:amt, gb:128 - (1.28 * amt), ba:amt, bb:128 - (1.28 * amt)}); case "invertColor" : return({ra:100 - (2 * amt), rb:amt * 2.55, ga:100 - (2 * amt), gb:amt * 2.55, ba:100 - (2 * amt), bb:amt * 2.55}); case "tint" : if (rgb == null) { break; } var _local5; if (typeof(rgb) == "string") { if (rgb.charAt(0) == "#") { rgb = rgb.slice(1); } rgb = ((rgb.charAt(1).toLowerCase() != "x") ? ("0x" + rgb) : (rgb)); } _local5 = Number(rgb); return({ra:100 - amt, rb:(_local5 >> 16) * (amt / 100), ga:100 - amt, gb:((_local5 >> 8) & 255) * (amt / 100), ba:100 - amt, bb:(_local5 & 255) * (amt / 100)}); } return({rb:0, ra:100, gb:0, ga:100, bb:0, ba:100}); } static function getColorKeysObj(targOrTransObj) { var _local1 = ((targOrTransObj.ra != undefined) ? (targOrTransObj) : (new Color(targOrTransObj).getTransform())); var _local6 = (_local1.ra == _local1.ga) && (_local1.ga == _local1.ba); var _local8 = (_local1.rb == _local1.gb) && (_local1.gb == _local1.bb); var _local3 = {tintPercent:Number(((_local6 == true) ? (100 - _local1.ra) : 0))}; if (_local3.tintPercent != 0) { var _local5 = 100 / _local3.tintPercent; _local3.tint = (((_local1.rb * _local5) << 16) | ((_local1.gb * _local5) << 8)) | (_local1.bb * _local5); var _local2 = _local3.tint.toString(16); var _local4 = 6 - _local2.length; while ((_local4--) > 0) { _local2 = "0" + _local2; } _local3.tintString = "0x" + _local2.toUpperCase(); } if ((_local6 == true) && (_local8 == true)) { if (_local1.ra < 0) { _local3.invertColor = _local1.rb * 0.392156862745098; } else if ((_local1.ra == 100) && (_local1.rb != 0)) { _local3.brightOffset = _local1.rb * 0.392156862745098; } if (_local1.ra != 100) { if ((_local1.rb == 0) || ((_local1.rb != 0) && (((255 * ((100 - _local1.ra) / 100)) - _local1.rb) <= 1))) { _local3.brightness = ((_local1.rb != 0) ? (100 - _local1.ra) : (_local1.ra - 100)); } if (((128 - (1.28 * _local1.ra)) - _local1.rb) <= 1) { _local3.contrast = _local1.ra; } } } return(_local3); } static function initializeTargets() { for (var _local5 in arguments) { var _local4 = arguments[_local5]; if ((((_local4 == MovieClip.prototype) || (_local4 == Button.prototype)) || (_local4 == TextField.prototype)) || (_local4 == Object.prototype)) { if (_local4.oldAddListener == undefined) { if (_local4 == TextField.prototype) { _local4.oldAddListener = _local4.addListener; _global.ASSetPropFlags(_local4, "oldAddListener", 7, 1); } _local4.addListener = function (o) { if (this.__zigoID__ == undefined) { com.mosesSupposes.fuse.ZigoEngine.initializeTargets(this); } if (this instanceof TextField) { Function(this.oldAddListener).call(this, o); } else { this.addListener(o); } }; if (_local4 == MovieClip.prototype) { _global.ASSetPropFlags(_local4, "addListener", 7, 1); } } } else if (_local4.__zigoID__ == undefined) { _local4.__zigoID__ = zigoIDs; _global.ASSetPropFlags(_local4, "__zigoID__", 7, 1); zigoIDs++; if ((_local4._listeners == null) || (_local4.addListener == null)) { AsBroadcaster.initialize(_local4); } } } } static function deinitializeTargets() { for (var _local4 in arguments) { var _local3 = arguments[_local4]; if (_local3.__zigoID__ != undefined) { _global.ASSetPropFlags(_local3, "__zigoID__,_listeners,broadcastMessage,addListener,removeListener", 0, 2); delete _local3.__zigoID__; delete _local3._listeners; delete _local3.broadcastMessage; delete _local3.addListener; delete _local3.removeListener; } if (_local3.oldAddListener != undefined) { _global.ASSetPropFlags(_local3, "oldAddListener", 0, 2); _local3.addListener = _local3.oldAddListener; delete _local3.oldAddListener; } } } static function __mgrRelay(inst, method, args) { if (inst == instance) { Function(com.mosesSupposes.fuse.ZigoEngine[method]).apply(com.mosesSupposes.fuse.ZigoEngine, args); } } static function setup(deinitFlag) { if (deinitFlag == true) { _playing = false; clearInterval(updateIntId); delete tweenHolder.onEnterFrame; return(undefined); } instance.cleanUp(); clearInterval(updateIntId); delete updateIntId; if ((updateTime != null) && (updateTime > 0)) { updateIntId = setInterval(instance, "update", updateTime); } else { if (Object(tweenHolder).proof == null) { setControllerDepth(6789); Object(tweenHolder).proof = 1; } var _inst = instance; tweenHolder.onEnterFrame = function () { _inst.update.call(_inst); }; } _playing = true; instance.now = getTimer(); } static var VERSION = com.mosesSupposes.fuse.FuseKitCommon.VERSION + ", ZigoEngine based on concepts by L.Zigo"; static var EASING = "easeOutQuint"; static var DURATION = 1; static var TIME_MULTIPLIER = 1; static var ROUND_RESULTS = false; static var OUTPUT_LEVEL = 1; static var AUTOSTOP = false; static var SKIP_LEVEL = 0; static var _playing = false; static var zigoIDs = 0; static var prevTimeMult = 1; }
Symbol 178 MovieClip [__Packages.com.mosesSupposes.fuse.ZManager] Frame 0
class com.mosesSupposes.fuse.ZManager { var tweens, now; function ZManager () { tweens = {}; numTweens = 0; } function addTween(obj, props, endvals, seconds, ease, delay, callback) { var _local24 = ((callback.skipLevel == undefined) ? 0 : (callback.skipLevel)); var _local44 = ((callback.cycles == undefined) ? 1 : (callback.cycles)); var _local30 = callback.extra1; var _local29 = callback.extra2; var _local23 = []; var _local14 = _global.com.mosesSupposes.fuse.FuseFMP; var _local43 = String(("|" + _local14.getAllShortcuts().join("|")) + "|"); var _local42 = com.mosesSupposes.fuse.FuseKitCommon._cts(); var _local25 = ""; var _local28 = ""; var _local22 = obj.__zigoID__; var _local7 = tweens[String(_local22)]; if ((_local7 != undefined) && (com.mosesSupposes.fuse.ZigoEngine.AUTOSTOP == true)) { if (obj._listeners.length > 0) { for (var _local40 in _local7.props) { _local23.unshift(_local40); } } _local7.numProps = 0; cleanUp(true); } for (var _local47 in props) { var _local5 = props[_local47]; var _local4 = endvals[_local47]; var _local15 = 0; if (_local5 == "_fade") { _local5 = "_alpha"; _local15 = ((_local4 < 50) ? -1 : 1); } var _local16 = _local42.indexOf(("|" + _local5) + "|") > -1; var _local18 = _local7.colorProp; if (_local7 != undefined) { if ((_local16 == true) && (_local18 != undefined)) { _local23.unshift(_local18); delete _local7.props[_local18]; delete _local7.colorProp; _local7.numProps--; } else if (_local7.props[_local5] != undefined) { _local23.unshift(_local5); delete _local7[_local5]; _local7.numProps--; } } var _local3 = {c:-1, fmp:-1, complex:-1}; var _local11 = ((_local24 == 0) && ((seconds + delay) == 0)) || ((_local24 > 0) && (seconds == 0)); var _local10 = false; var _local13 = (_local14 != undefined) && (_local43.indexOf(("|" + _local5) + "|") > -1); var _local19 = (_local5.toLowerCase().indexOf("colors") > -1) && (_local4 instanceof Array); var _local27 = ((_local13 == true) && (_local5.indexOf("lor") > -1)) && (_local5.charAt(2) != "l"); if (_local13 == true) { _local3.fmp = _local14; _local3.ps = _local14.getFilterProp(obj, _local5, true); _local3.special = true; } if (((_local16 == true) || (_local19 == true)) || (_local27 && (_local11 == false))) { _local3.complex = 1; if (_local16 == true) { _local3.c = new Color(obj); _local3.ps = Color(_local3.c).getTransform(); var _local17 = ((((_local5 == "_tint") || (_local5 == "_tintPercent")) || (_local5 == "_colorReset")) ? "tint" : (_local5.slice(1))); var _local9 = null; var _local12 = null; if (_local5 != "_colorTransform") { if (_local17 == "tint") { if (typeof(_local4) == "object") { _local12 = _local4.tint; _local9 = ((_global.isNaN(_local4.percent) == true) ? 100 : (_local4.percent)); } else if ((_local5 == "_tintPercent") || (_local5 == "_colorReset")) { var _local20 = com.mosesSupposes.fuse.ZigoEngine.getColorKeysObj(obj).tintPercent; if (_local5 == "_colorReset") { _local9 = Math.min(_local20, 100 - Math.abs(Number(_local4))); } else { _local9 = ((typeof(_local4) == "string") ? ((_local20 || 0) + Number(_local4)) : Number(_local4)); } _local9 = Math.max(0, Math.min(_local9, 100)); _local12 = com.mosesSupposes.fuse.ZigoEngine.getColorKeysObj(obj).tint || 0; } else { _local12 = _local4; _local9 = 100; } } else { _local9 = ((typeof(_local4) == "string") ? ((com.mosesSupposes.fuse.ZigoEngine.getColorKeysObj(obj)[_local17] || 0) + Number(_local4)) : (_local4)); } _local4 = com.mosesSupposes.fuse.ZigoEngine.getColorTransObj(_local17, _local9, _local12); } if (_local11 == true) { if (_local5 == "_colorTransform") { Color(_local3.c).setTransform(_local4); } else { com.mosesSupposes.fuse.ZigoEngine.setColorByKey(obj, _local17, _local9, _local12); } } else { var _local21 = getChangeObj(_local3.ps, _local4, false, false); _local3.ch = _local21.map; if (_local21.changed == true) { _local10 = true; } } } else if (_local11 == true) { _local14.setFilterProp(obj, _local5, _local4); } else if (_local19 == true) { _local3.c = 2; _local3.ch = []; for (var _local40 in _local4) { if (_local4[_local40] != null) { if (_local3.ps == null) { _local3.ps = []; } _local3.ps[_local40] = com.mosesSupposes.fuse.ZigoEngine.getColorTransObj("tint", 100, ((_local3.ps[_local40] == null) ? obj[_local5][_local40] : _local3.ps[_local40])); var _local21 = getChangeObj(_local3.ps[_local40], com.mosesSupposes.fuse.ZigoEngine.getColorTransObj("tint", 100, _local4[_local40]), true, false); _local3.ch[_local40] = _local21.map; if (_local21.changed == true) { _local10 = true; } } } } else { _local3.c = 1; _local3.ps = com.mosesSupposes.fuse.ZigoEngine.getColorTransObj("tint", 100, _local3.ps); var _local21 = getChangeObj(_local3.ps, com.mosesSupposes.fuse.ZigoEngine.getColorTransObj("tint", 100, _local4), true, false); _local3.ch = _local21.map; if (_local21.changed == true) { _local10 = true; } } } else if (_local5 == "_bezier_") { removeTween(obj, "_x,_y", true); if (_local11 == true) { if ((_local4.x != null) && (_global.isNaN(Number(_local4.x)) == false)) { obj._x = ((typeof(_local4.x) == "string") ? (obj._x + Number(_local4.x)) : (_local4.x)); } if ((_local4.y != null) && (_global.isNaN(Number(_local4.y)) == false)) { obj._y = ((typeof(_local4.y) == "string") ? (obj._y + Number(_local4.y)) : (_local4.y)); } } else { _local3.special = true; _local3.ps = 0; _local3.ch = 1; _local3.bz = {sx:obj._x, sy:obj._y}; if ((_local4.x == null) || (_global.isNaN(Number(_local4.x)))) { _local4.x = _local3.bz.sx; } if ((_local4.y == null) || (_global.isNaN(Number(_local4.y)))) { _local4.y = _local3.bz.sy; } _local3.bz.chx = ((typeof(_local4.x) == "string") ? (Number(_local4.x)) : (_local4.x - _local3.bz.sx)); if (_global.isNaN(_local3.bz.chx) == true) { _local3.bx.chx = 0; } _local3.bz.chy = ((typeof(_local4.y) == "string") ? (Number(_local4.y)) : (_local4.y - _local3.bz.sy)); if (_global.isNaN(_local3.bz.chy) == true) { _local3.bx.chy = 0; } if ((_local4.controlX == null) || (_global.isNaN(Number(_local4.controlX)))) { _local3.bz.ctrlx = _local3.bz.sx + (_local3.bz.chx / 2); } else { _local3.bz.ctrlx = ((typeof(_local4.controlX) == "string") ? (_local3.bz.sx + Number(_local4.controlX)) : (_local4.controlX)); } if ((_local4.controlY == null) || (_global.isNaN(Number(_local4.controlY)))) { _local3.bz.ctrly = _local3.bz.sy + (_local3.bz.chy / 2); } else { _local3.bz.ctrly = ((typeof(_local4.controlY) == "string") ? (_local3.bz.sy + Number(_local4.controlY)) : (_local4.controlY)); } _local3.bz.ctrlx = _local3.bz.ctrlx - _local3.bz.sx; _local3.bz.ctrly = _local3.bz.ctrly - _local3.bz.sy; _local10 = (_local3.bz.chx + _local3.bz.chy) != 0; } } else { if (typeof(_local4) == "object") { _local3.complex = ((_local4 instanceof Array) ? 0 : 1); } if ((_local5 == "_x") || (_local5 == "_y")) { removeTween(obj, "_bezier_", true); } if ((_local5 == "_frame") && (typeof(obj) == "movieclip")) { _local3.ps = obj._currentframe; _local3.special = true; } else if (_local13 == false) { if (_local3.complex > -1) { _local3.ps = ((_local3.complex == 0) ? ([]) : ({})); for (var _local40 in _local4) { _local3.ps[_local40] = obj[_local5][_local40]; } } else { _local3.ps = obj[_local5]; } } if (_local11 == true) { if (_local13 == true) { _local14.setFilterProp(obj, _local5, ((typeof(_local4) == "string") ? (_local3.ps + Number(_local4)) : (_local4))); } else if (_local3.complex > -1) { for (var _local40 in _local4) { if ((_local4[_local40] != null) && (_global.isNaN(Number(_local4[_local40])) == false)) { obj[_local5][_local40] = ((typeof(_local4[_local40]) == "string") ? (_local3.ps[_local40] + Number(_local4[_local40])) : _local4[_local40]); if (_global.isNaN(obj[_local5][_local40]) == true) { obj[_local5][_local40] = 0; } } } } else { obj[_local5] = ((typeof(_local4) == "string") ? (_local3.ps + Number(_local4)) : (_local4)); if (_local15 == 1) { obj._visible = true; } else if (_local15 == -1) { obj._visible = false; } } } else if (_local3.complex > -1) { var _local21 = getChangeObj(_local3.ps, _local4, _local13, _local3.complex == 0); _local3.ch = _local21.map; if (_local21.changed == true) { _local10 = true; } } else { if ((_local4 == null) || (_global.isNaN(Number(_local4)))) { _local4 = _local3.ps; } _local3.ch = ((typeof(_local4) == "string") ? (Number(_local4)) : (Number(_local4) - _local3.ps)); if (_global.isNaN(_local3.ch) == true) { _local3.ch = 0; } _local10 = _local3.ch != 0; } } if (((_local24 == 0) && ((_local10 == true) || (_local11 == false))) || ((_local10 == true) && (_local11 == false))) { if ((_local3.complex > -1) && (!(_local3.c === 2))) { _local3.ps = [_local3.ps]; _local3.ch = [_local3.ch]; } _local3.ts = now + (delay * 1000); _local3.pt = -1; _local3.d = seconds * 1000; _local3.ef = ease; _local3.sf = false; _local3.cycles = _local44; if (_local30 != undefined) { _local3.e1 = _local30; } if (_local29 != undefined) { _local3.e2 = _local29; } _local3.v = _local15; if (callback.start != undefined) { _local3.scb = callback.start; } if (callback.upd != undefined) { _local3.ucb = callback.upd; } if (callback.end != undefined) { _local3.ecb = callback.end; } if (callback.roundResults != undefined) { _local3.rr = callback.roundResults; } if (tweens[String(_local22)] == undefined) { _local7 = (tweens[String(_local22)] = {numProps:0, locked:false, targ:obj, targID:String(("\"" + ((obj._name != undefined) ? (obj._name) : (obj.toString()))) + "\""), targZID:_local22, props:{}}); numTweens++; } if (_local16 == true) { _local7.colorProp = _local5; } _local7.props[_local5] = _local3; _local7.numProps++; _local25 = (_local5 + ",") + _local25; _local28 = (((typeof(_local4) == "string") ? (("\"" + _local4) + "\"") : (_local4)) + ",") + _local28; } _local3 = undefined; } if ((_local7 == undefined) || (_local7.numProps <= 0)) { cleanUp(); } if ((_local23.length > 0) && (com.mosesSupposes.fuse.ZigoEngine._listeners.length > 0)) { com.mosesSupposes.fuse.ZigoEngine.broadcastMessage("onTweenInterrupt", {target:obj, props:_local23, __zigoID__:_local22, during:"add"}); } if (_local25 == "") { if (_local24 == 2) { if (com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL == 2) { com.mosesSupposes.fuse.FuseKitCommon.error("011", ((obj._name != undefined) ? (obj._name) : (obj.toString())), props.toString()); } } else { var _local48 = obj._listeners.length > 0; if (_local48 == true) { obj.broadcastMessage("onTweenStart", {target:obj, props:props}); } if (callback.start != undefined) { callback.start.f.apply(callback.start.s, callback.start.a); } if (_local48 == true) { obj.broadcastMessage("onTweenUpdate", {target:obj, props:props}); } if (callback.upd != undefined) { callback.upd.f.apply(callback.upd.s, callback.upd.a); } if (_local48 == true) { obj.broadcastMessage("onTweenEnd", {target:obj, props:props}); } if (callback.end != undefined) { callback.end.f.apply(callback.end.s, callback.end.a); } } cleanUp(); } if (com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL == 2) { if (_local25 == "") { com.mosesSupposes.fuse.FuseKitCommon.error("012", ((obj._name != undefined) ? (obj._name) : (obj.toString())), props.toString(), endvals.toString()); } else { com.mosesSupposes.fuse.FuseKitCommon.error("013", ((obj._name != undefined) ? (obj._name) : (obj.toString())), _local25.slice(0, -1), _local28.slice(0, -1)); } } return(((_local25 == "") ? null : (_local25.slice(0, -1)))); } function removeTween(targs, props, noInit) { var _local4 = {}; var _local12 = paramsObj(targs, props); if (_local12.none == true) { return(undefined); } var _local16 = _local12.all; var _local17 = _local12.allprops; var _local9 = ((_local16 == true) ? (tweens) : (Object(_local12.tg))); var _local8 = false; for (var _local20 in _local9) { var _local3 = ((_local16 == true) ? (_local20) : (String(_local9[_local20].__zigoID__))); var _local2 = tweens[_local3]; var _local6 = ((_local17 == true) ? (_local2.props) : (_local12.props)); for (var _local14 in _local6) { var _local5 = (_local14 == com.mosesSupposes.fuse.FuseKitCommon.ALLCOLOR) && (_local2.colorProp != undefined); if ((_local2.props[_local14] != undefined) || (_local5 == true)) { if (_local4[_local3] == null) { _local4[_local3] = []; } _local4[_local3].unshift(_local14); if ((_local14 == _local2.colorProp) || (_local5 == true)) { delete _local2.props[_local2.colorProp]; delete _local2.colorProp; } else { delete _local2.props[_local14]; } _local2.numProps--; if (_local2.numProps <= 0) { _local8 = true; break; } } } } if (com.mosesSupposes.fuse.ZigoEngine._listeners.length > 0) { for (var _local19 in _local4) { var _local7 = tweens[_local19].targ; com.mosesSupposes.fuse.ZigoEngine.broadcastMessage("onTweenInterrupt", {target:((typeof(_local7.addProperty) == "function") ? (_local7) : (("[MISSING(\"" + tweens[_local19].targID) + "\")]")), props:_local4[_local19], __zigoID__:tweens[_local19].targZID, during:((noInit == true) ? "add" : "remove")}); } } if (_local8 == true) { cleanUp(noInit); } } function alterTweens(type, targs, props, pauseFlag, noEvents, skipTo) { if (type == "lock") { tweens[String(targs.__zigoID__)].locked = props; return(undefined); } var _local11 = paramsObj(targs, props); if (_local11.none == true) { return(undefined); } var _local14 = _local11.all; var _local15 = _local11.allprops; var _local9 = ((_local14 == true) ? (tweens) : (Object(_local11.tg))); var _local8 = 0; for (var _local16 in _local9) { var _local7 = ((_local14 == true) ? (_local16) : (String(_local9[_local16].__zigoID__))); var _local5 = tweens[_local7]; var _local4 = ((_local15 == true) ? (_local5.props) : (_local11.props)); if (_local4.ALLCOLOR == true) { _local4[_local5.colorProp] = true; delete _local4.ALLCOLOR; } for (var _local10 in _local4) { _local8++; var _local2 = _local5.props[_local10]; if (type == "rewind") { if (pauseFlag == true) { _local2.pt = now; } _local2.ts = now; if (noEvents != true) { _local2.sf = false; if (_local2.scb != undefined) { _local2.scb.fired = false; } } } else if (type == "ff") { if (noEvents == true) { _local2.suppressEnd = true; } _local2.o = true; _local2.pt = -1; _local2.ts = now - _local2.d; } else if (type == "skipTo") { _local2.ts = Math.min(now, (_local2.ts + (now - _local2.ts)) - (skipTo * 1000)); } else if (type == "pause") { if (_local2.pt == -1) { _local2.pt = now; } } else if (type == "unpause") { if (_local2.pt != -1) { _local2.ts = now - (_local2.pt - _local2.ts); _local2.pt = -1; } } } } if ((type == "ff") && (_local8 > 0)) { update(); } else if ((type == "rewind") && (_local8 > 0)) { update(true); } } function getStatus(type, targ, param) { if (targ == null) { return(null); } var _local8 = String(targ).toUpperCase() == com.mosesSupposes.fuse.FuseKitCommon.ALL; var _local4 = tweens[String(targ.__zigoID__)]; switch (type) { case "paused" : var _local2 = _local4.props; if (param != null) { if (_local2[String(param)] == undefined) { return(false); } return(Boolean(_local2[String(param)].pt != -1)); } for (var _local6 in _local2) { if (_local2[_local6].pt != -1) { return(true); } } return(false); case "active" : if (param == null) { return(Boolean(_local4 != undefined)); } if (String(param).toUpperCase() == com.mosesSupposes.fuse.FuseKitCommon.ALLCOLOR) { return(Boolean(_local4.colorProp != undefined)); } return(Boolean(_local4.props[String(param)] != undefined)); case "count" : if (!_local8) { return(_local4.numProps); } var _local3 = 0; for (var _local6 in tweens) { _local3 = _local3 + tweens[_local6].numProps; } return(_local3); case "locked" : return(_local4.locked); } } function update(force) { var _local22 = {}; var _local24 = {}; var _local23 = {}; var _local15 = {}; var _local13 = {}; var _local14 = {}; var _local26 = false; var _local20 = com.mosesSupposes.fuse.ZigoEngine.ROUND_RESULTS; for (var _local35 in tweens) { var _local12 = tweens[_local35]; var _local5 = _local12.targ; var _local34 = _local12.props; var _local21 = _local5._listeners.length > 0; if (_local5.__zigoID__ == undefined) { _local26 = true; if (com.mosesSupposes.fuse.ZigoEngine._listeners.length > 0) { var _local25 = []; for (var _local30 in _local34) { _local25.unshift(_local30); } com.mosesSupposes.fuse.ZigoEngine.broadcastMessage("onTweenInterrupt", {target:((typeof(_local5.addProperty) == "function") ? (_local5) : (("[MISSING:" + _local12.targID) + "]")), props:_local25, __zigoID__:_local12.targZID, during:"update"}); } continue; } for (var _local30 in _local34) { var _local3 = _local34[_local30]; if (((_local3.ts > now) || (_local3.pt != -1)) && (force != true)) { continue; } var _local9 = now >= (_local3.ts + _local3.d); if (_local3.complex == -1) { var _local6; if (_local9 == true) { _local6 = _local3.ps + _local3.ch; if ((_local3.cycles > 1) || (_local3.cycles == 0)) { if (_local3.cycles > 1) { _local3.cycles--; } _local3.ps = _local6; _local3.ch = -_local3.ch; _local3.ts = now; _local9 = false; } } else { _local6 = _local3.ef(now - _local3.ts, _local3.ps, _local3.ch, _local3.d, _local3.e1, _local3.e2); } if (_global.isNaN(_local6) == false) { if ((_local30 != "_bezier_") && ((_local3.rr == true) || ((_local20 == true) && (!(_local3.rr === false))))) { _local6 = Math.round(Number(_local6)); } if (_local3.special != true) { _local5[_local30] = _local6; } else if (_local3.fmp != -1) { _local3.fmp.setFilterProp(_local5, _local30, _local6); } else if (_local30 == "_bezier_") { var _local10 = _local3.bz; var _local18 = _local10.sx + (_local6 * (((2 * (1 - _local6)) * _local10.ctrlx) + (_local6 * _local10.chx))); var _local17 = _local10.sy + (_local6 * (((2 * (1 - _local6)) * _local10.ctrly) + (_local6 * _local10.chy))); if ((_local3.rr == true) || ((_local20 == true) && (!(_local3.rr === false)))) { _local18 = Math.round(Number(_local18)); _local17 = Math.round(Number(_local17)); } _local5._x = _local18; _local5._y = _local17; } else if (_local30 == "_frame") { MovieClip(_local5).gotoAndStop(Math.ceil(_local6)); } } } else { var _local16 = (_local9 == true) && ((_local3.cycles > 1) || (_local3.cycles == 0)); var _local7 = []; for (var _local27 in _local3.ch) { var _local4 = ((_local3.complex == 0) ? ([]) : ({})); for (var _local28 in _local3.ch[_local27]) { var _local8 = _local3.ch[_local27][_local28]; var _local11 = _local3.ps[_local27][_local28]; if (_local9 == true) { _local4[_local28] = _local11 + _local8; if (_local16 == true) { _local3.ch[_local27][_local28] = -_local8; } } else { _local4[_local28] = _local3.ef(now - _local3.ts, _local11, _local8, _local3.d, _local3.e1, _local3.e2); } if (_global.isNaN(_local4[_local28]) == false) { if ((_local3.rr == true) || ((_local20 == true) && (!(_local3.rr === false)))) { _local4[_local28] = Math.round(_local4[_local28]); } } if ((_local3.fmp == -1) && (_local3.c == -1)) { _local5[_local30][_local28] = _local4[_local28]; } } _local7.push(_local4); if ((_local3.fmp == -1) && (_local3.c == 2)) { _local5[_local30][_local27] = Number(((_local4.rb << 16) | (_local4.gb << 8)) | _local4.bb); } } if (_local3.fmp != -1) { if (_local3.c == 1) { _local3.fmp.setFilterProp(_local5, _local30, ((_local7[0].rb << 16) | (_local7[0].gb << 8)) | _local7[0].bb); } else if (_local3.c == 2) { var _local19 = []; for (var _local28 in _local7) { _local19.unshift(((_local7[_local28].rb << 16) | (_local7[_local28].gb << 8)) | _local7[_local28].bb); } _local3.fmp.setFilterProp(_local5, _local30, _local19); } } else if (_local3.c != -1) { _local3.c.setTransform(_local7[0]); } if (_local16 == true) { if (_local3.cycles > 1) { _local3.cycles--; } _local9 = false; _local3.ts = now; _local3.ps = _local7; } } if (_local3.sf == false) { if (_local3.v != 0) { _local5._visible = true; } if (_local21 == true) { if (_local15[_local35] == undefined) { _local15[_local35] = [_local5, []]; } _local15[_local35][1].unshift(_local30); } _local3.sf = true; } if (_local3.scb.fired == false) { _local22[String(_local3.scb.id)] = _local3.scb; _local3.scb.fired = true; } if (_local21 == true) { if (_local13[_local35] == undefined) { _local13[_local35] = [_local5, []]; } _local13[_local35][1].unshift(_local30); } if (_local3.ucb != undefined) { _local24[String(_local3.ucb.id)] = _local3.ucb; } if (_local9 == true) { if (_local3.v === -1) { _local5._visible = false; } if (_local3.suppressEnd != true) { if (_local21 == true) { if (_local14[_local35] == undefined) { _local14[_local35] = [_local5, []]; } _local14[_local35][1].unshift(_local30); } if (_local3.ecb != undefined) { _local23[String(_local3.ecb.id)] = _local3.ecb; } } delete _local34[_local30]; if (_local30 == _local12.colorProp) { delete _local12.colorProp; } _local12.numProps--; if (_local12.numProps <= 0) { _local26 = true; } } delete _local3.suppressEnd; } } for (var _local35 in _local15) { _local15[_local35][0].broadcastMessage("onTweenStart", {target:_local15[_local35][0], props:_local15[_local35][1]}); } for (var _local35 in _local22) { _local22[_local35].f.apply(_local22[_local35].s, _local22[_local35].a); } for (var _local35 in _local13) { _local13[_local35][0].broadcastMessage("onTweenUpdate", {target:_local13[_local35][0], props:_local13[_local35][1]}); } for (var _local35 in _local24) { _local24[_local35].f.apply(_local24[_local35].s, _local24[_local35].a); } for (var _local35 in _local14) { _local14[_local35][0].broadcastMessage("onTweenEnd", {target:_local14[_local35][0], props:_local14[_local35][1]}); } for (var _local35 in _local23) { _local23[_local35].f.apply(_local23[_local35].s, _local23[_local35].a); } if (_local26) { cleanUp(); } now = getTimer(); } function cleanUp(noInit) { for (var _local4 in tweens) { var _local2 = tweens[_local4].targ; if ((tweens[_local4].numProps <= 0) || (_local2.__zigoID__ == undefined)) { if ((((_local2 != undefined) && (_local2.tween == undefined)) && (noInit != true)) && (_local2._listeners.length <= 0)) { com.mosesSupposes.fuse.ZigoEngine.deinitializeTargets(_local2); } delete tweens[_local4]; numTweens--; } } if (numTweens <= 0) { numTweens = 0; delete tweens; tweens = {}; if (noInit != true) { com.mosesSupposes.fuse.ZigoEngine.__mgrRelay(this, "setup", [true]); } } } function paramsObj(targs, props, endvals, retainFade) { var _local6 = {}; _local6.all = String(targs).toUpperCase() == com.mosesSupposes.fuse.FuseKitCommon.ALL; _local6.none = Boolean(targs == null); if (_local6.all == true) { _local6.tg = [null]; } else { _local6.tg = ((targs instanceof Array) ? (targs) : ([targs])); for (var _local11 in _local6.tg) { var _local7 = _local6.tg[_local11]; if ((_local7 == null) || (!((typeof(_local7) == "object") || (typeof(_local7) == "movieclip")))) { _local6.tg.splice(Number(_local11), 1); } } } _local6.allprops = props == null; var _local1; var _local4; var _local3 = {}; if (_local6.allprops == false) { if ((typeof(props) == "string") && ((String(props).indexOf(" ") > -1) || (String(props).indexOf(",") > -1))) { props = String(props.split(" ").join("")).split(","); } _local1 = ((props instanceof Array) ? (props.slice()) : ([props])); if (endvals != undefined) { if ((typeof(endvals) == "string") && ((String(endvals).indexOf(" ") > -1) || (String(endvals).indexOf(",") > -1))) { endvals = String(endvals.split(" ").join("")).split(","); } _local4 = ((endvals instanceof Array) ? (endvals.slice()) : ([endvals])); while (_local4.length < _local1.length) { _local4.push(_local4[_local4.length - 1]); } _local4.splice(_local1.length, _local4.length - _local1.length); } for (var _local11 in _local1) { var _local2 = Number(_local11); if ((_local1[_local11] != "_scale") && (_local1[_local11] != "_size")) { if (_local3[_local1[_local11]] == undefined) { if ((_local1[_local11] == "_fade") && (retainFade != true)) { _local1[_local11] = "_alpha"; } if (String(_local1[_local11]).toUpperCase() == com.mosesSupposes.fuse.FuseKitCommon.ALLCOLOR) { _local1[_local11] = com.mosesSupposes.fuse.FuseKitCommon.ALLCOLOR; } _local3[_local1[_local11]] = true; } else { _local1.splice(_local2, 1); _local4.splice(_local2, 1); } } else { var _local8 = String(_local1.splice(_local2, 1)[0]); var _local5 = _local4.splice(_local2, 1)[0]; if (_local8 == "_scale") { if (_local3._xscale == undefined) { _local1.splice(_local2, 0, "_xscale"); _local4.splice(_local2, 0, _local5); _local3._xscale = true; _local2++; } if (_local3._yscale == undefined) { _local1.splice(_local2, 0, "_yscale"); _local4.splice(_local2, 0, _local5); _local3._yscale = true; } } if (_local8 == "_size") { if (_local3._width == undefined) { _local1.splice(_local2, 0, "_width"); _local4.splice(_local2, 0, _local5); _local3._width = true; _local2++; } if (_local3._yscale == undefined) { _local1.splice(_local2, 0, "_height"); _local4.splice(_local2, 0, _local5); _local3._height = true; } } } } for (var _local11 in _local1) { if (((_local1[_local11] == "_xscale") && (_local3._width == true)) || ((_local1[_local11] == "_yscale") && (_local3._height == true))) { _local1.splice(Number(_local11), 1); _local4.splice(Number(_local11), 1); delete _local3[_local1[_local11]]; } } } _local6.pa = _local1; _local6.va = _local4; _local6.props = _local3; return(_local6); } function getChangeObj(ps, ep, isFMP, useArray) { var _local3 = {map:((useArray == true) ? ([]) : ({})), changed:false}; for (var _local7 in ep) { if ((((((isFMP == true) && (_local7.charAt(1) == "b")) || (ep[_local7] != ps[_local7])) || (useArray == true)) && (ep[_local7] != null)) && (_global.isNaN(Number(ep[_local7])) == false)) { _local3.map[_local7] = ((typeof(ep[_local7]) == "string") ? (Number(ep[_local7])) : (ep[_local7] - ps[_local7])); if (_global.isNaN(_local3.map[_local7]) == true) { _local3.map[_local7] = 0; } else if (_local3.map[_local7] != 0) { _local3.changed = true; } } } return(_local3); } var numTweens = 0; }
Symbol 179 MovieClip [__Packages.ch.mda.core.PresenterSounds] Frame 0
class ch.mda.core.PresenterSounds { function PresenterSounds () { } static function initialize() { _global.playSound = playSound; _global.soundClick = soundClick; _global.soundAlert = soundAlert; _global.soundGood = soundGood; _global.soundFlop = soundFlop; trace("init core [ch.mda.core.PresenterSounds]"); } static function playSound(wo, song, lautstark, loop, merken, machstop) { if (_global.soundzustand) { _root.soundControl_mc.meinVol = _root.soundControl_mc.slider_mc.getValue(); if (lautstark == undefined) { lautstark = _root.soundControl_mc.meinVol; } if (loop == undefined) { loop = 1; } if (merken == undefined) { merken = false; } if (machstop == undefined) { machstop = false; } if (machstop) { stopAllSounds(); _root.soundControl_mc.letzterSound.stop(); } if (wo.tiefe == undefined) { wo.tiefe = 10000; } wo.tiefe++; var _local3 = wo.createEmptyMovieClip("s" + wo.tiefe, wo.tiefe); _local3.meinSound = new Sound(_local3); _local3.meinSound.attachSound(song); var _local4 = _root.soundControl_mc.meinVol / 100; _local3.meinSound.setVolume(lautstark * _local4); _local3.meinSound.start(0, loop); trace((((((("soundClass: " + song) + " laut: ") + (lautstark * _local4)) + " mc: ") + _local3) + " tiefe: ") + wo.tiefe); if (merken) { _root.soundControl_mc.behalt = {wo:wo, song:song, lautstark:lautstark, loop:loop}; } _root.soundControl_mc.letzterSound = _root.soundControl_mc.meinSound; return(_local3.meinSound); } } static function soundClick(laut) { if (laut == undefined) { laut = 100; } playSound(_root.soundHalter_mc, "click", laut, 1); } static function soundAlert(laut) { if (laut == undefined) { laut = 100; } playSound(_root.soundHalter_mc, "alert", laut, 1); } static function soundGood(laut) { if (laut == undefined) { laut = 100; } playSound(_root.soundHalter_mc, "harfe", laut, 1); } static function soundFlop(laut) { if (laut == undefined) { laut = 100; } playSound(_root.soundHalter_mc, "flopp", laut, 1); } }
Symbol 180 MovieClip [__Packages.com.mosesSupposes.fuse.PennerEasing] Frame 0
class com.mosesSupposes.fuse.PennerEasing { function PennerEasing () { } static function linear(t, b, c, d) { return(((c * t) / d) + b); } static function easeInQuad(t, b, c, d) { t = t / d; return(((c * t) * t) + b); } static function easeOutQuad(t, b, c, d) { t = t / d; return((((-c) * t) * (t - 2)) + b); } static function easeInOutQuad(t, b, c, d) { t = t / (d / 2); if (t < 1) { return((((c / 2) * t) * t) + b); } t--; return((((-c) / 2) * ((t * (t - 2)) - 1)) + b); } static function easeInExpo(t, b, c, d) { return(((t == 0) ? (b) : ((c * Math.pow(2, 10 * ((t / d) - 1))) + b))); } static function easeOutExpo(t, b, c, d) { return(((t == d) ? (b + c) : ((c * ((-Math.pow(2, (-10 * t) / d)) + 1)) + b))); } static function easeInOutExpo(t, b, c, d) { if (t == 0) { return(b); } if (t == d) { return(b + c); } t = t / (d / 2); if (t < 1) { return(((c / 2) * Math.pow(2, 10 * (t - 1))) + b); } t--; return(((c / 2) * ((-Math.pow(2, -10 * t)) + 2)) + b); } static function easeOutInExpo(t, b, c, d) { if (t == 0) { return(b); } if (t == d) { return(b + c); } t = t / (d / 2); if (t < 1) { return(((c / 2) * ((-Math.pow(2, -10 * t)) + 1)) + b); } return(((c / 2) * (Math.pow(2, 10 * (t - 2)) + 1)) + b); } static function easeInElastic(t, b, c, d, a, p) { var _local5; if (t == 0) { return(b); } t = t / d; if (t == 1) { return(b + c); } if (!p) { p = d * 0.3; } if ((!a) || (a < Math.abs(c))) { a = c; _local5 = p / 4; } else { _local5 = (p / (Math.PI*2)) * Math.asin(c / a); } t = t - 1; return((-((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p))) + b); } static function easeOutElastic(t, b, c, d, a, p) { var _local5; if (t == 0) { return(b); } t = t / d; if (t == 1) { return(b + c); } if (!p) { p = d * 0.3; } if ((!a) || (a < Math.abs(c))) { a = c; _local5 = p / 4; } else { _local5 = (p / (Math.PI*2)) * Math.asin(c / a); } return((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p)) + c) + b); } static function easeInOutElastic(t, b, c, d, a, p) { var _local5; if (t == 0) { return(b); } t = t / (d / 2); if (t == 2) { return(b + c); } if (!p) { p = d * 0.45; } if ((!a) || (a < Math.abs(c))) { a = c; _local5 = p / 4; } else { _local5 = (p / (Math.PI*2)) * Math.asin(c / a); } if (t < 1) { t = t - 1; return((-0.5 * ((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p))) + b); } t = t - 1; return(((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p)) * 0.5) + c) + b); } static function easeOutInElastic(t, b, c, d, a, p) { var _local5; if (t == 0) { return(b); } t = t / (d / 2); if (t == 2) { return(b + c); } if (!p) { p = d * 0.45; } if ((!a) || (a < Math.abs(c))) { a = c; _local5 = p / 4; } else { _local5 = (p / (Math.PI*2)) * Math.asin(c / a); } if (t < 1) { return(((0.5 * ((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p))) + (c / 2)) + b); } return(((c / 2) + (0.5 * ((a * Math.pow(2, 10 * (t - 2))) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p)))) + b); } static function easeInBack(t, b, c, d, s) { if (s == undefined) { s = 1.70158; } t = t / d; return((((c * t) * t) * (((s + 1) * t) - s)) + b); } static function easeOutBack(t, b, c, d, s) { if (s == undefined) { s = 1.70158; } t = (t / d) - 1; return((c * (((t * t) * (((s + 1) * t) + s)) + 1)) + b); } static function easeInOutBack(t, b, c, d, s) { if (s == undefined) { s = 1.70158; } t = t / (d / 2); if (t < 1) { s = s * 1.525; return(((c / 2) * ((t * t) * (((s + 1) * t) - s))) + b); } t = t - 2; s = s * 1.525; return(((c / 2) * (((t * t) * (((s + 1) * t) + s)) + 2)) + b); } static function easeOutInBack(t, b, c, d, s) { if (s == undefined) { s = 1.70158; } t = t / (d / 2); if (t < 1) { t--; s = s * 1.525; return(((c / 2) * (((t * t) * (((s + 1) * t) + s)) + 1)) + b); } t--; s = s * 1.525; return(((c / 2) * (((t * t) * (((s + 1) * t) - s)) + 1)) + b); } static function easeOutBounce(t, b, c, d) { t = t / d; if (t < 0.363636363636364) { return((c * ((7.5625 * t) * t)) + b); } if (t < 0.727272727272727) { t = t - 0.545454545454545; return((c * (((7.5625 * t) * t) + 0.75)) + b); } if (t < 0.909090909090909) { t = t - 0.818181818181818; return((c * (((7.5625 * t) * t) + 0.9375)) + b); } t = t - 0.954545454545455; return((c * (((7.5625 * t) * t) + 0.984375)) + b); } static function easeInBounce(t, b, c, d) { return((c - easeOutBounce(d - t, 0, c, d)) + b); } static function easeInOutBounce(t, b, c, d) { if (t < (d / 2)) { return((easeInBounce(t * 2, 0, c, d) * 0.5) + b); } return(((easeOutBounce((t * 2) - d, 0, c, d) * 0.5) + (c * 0.5)) + b); } static function easeOutInBounce(t, b, c, d) { if (t < (d / 2)) { return((easeOutBounce(t * 2, 0, c, d) * 0.5) + b); } return(((easeInBounce((t * 2) - d, 0, c, d) * 0.5) + (c * 0.5)) + b); } static function easeInCubic(t, b, c, d) { t = t / d; return((((c * t) * t) * t) + b); } static function easeOutCubic(t, b, c, d) { t = (t / d) - 1; return((c * (((t * t) * t) + 1)) + b); } static function easeInOutCubic(t, b, c, d) { t = t / (d / 2); if (t < 1) { return(((((c / 2) * t) * t) * t) + b); } t = t - 2; return(((c / 2) * (((t * t) * t) + 2)) + b); } static function easeOutInCubic(t, b, c, d) { t = t / (d / 2); t--; return(((c / 2) * (((t * t) * t) + 1)) + b); } static function easeInQuart(t, b, c, d) { t = t / d; return(((((c * t) * t) * t) * t) + b); } static function easeOutQuart(t, b, c, d) { t = (t / d) - 1; return(((-c) * ((((t * t) * t) * t) - 1)) + b); } static function easeInOutQuart(t, b, c, d) { t = t / (d / 2); if (t < 1) { return((((((c / 2) * t) * t) * t) * t) + b); } t = t - 2; return((((-c) / 2) * ((((t * t) * t) * t) - 2)) + b); } static function easeOutInQuart(t, b, c, d) { t = t / (d / 2); if (t < 1) { t--; return((((-c) / 2) * ((((t * t) * t) * t) - 1)) + b); } t--; return(((c / 2) * ((((t * t) * t) * t) + 1)) + b); } static function easeInQuint(t, b, c, d) { t = t / d; return((((((c * t) * t) * t) * t) * t) + b); } static function easeOutQuint(t, b, c, d) { t = (t / d) - 1; return((c * (((((t * t) * t) * t) * t) + 1)) + b); } static function easeInOutQuint(t, b, c, d) { t = t / (d / 2); if (t < 1) { return(((((((c / 2) * t) * t) * t) * t) * t) + b); } t = t - 2; return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b); } static function easeOutInQuint(t, b, c, d) { t = t / (d / 2); t--; return(((c / 2) * (((((t * t) * t) * t) * t) + 1)) + b); } static function easeInSine(t, b, c, d) { return((((-c) * Math.cos((t / d) * (Math.PI/2))) + c) + b); } static function easeOutSine(t, b, c, d) { return((c * Math.sin((t / d) * (Math.PI/2))) + b); } static function easeInOutSine(t, b, c, d) { return((((-c) / 2) * (Math.cos((Math.PI * t) / d) - 1)) + b); } static function easeOutInSine(t, b, c, d) { t = t / (d / 2); if (t < 1) { return(((c / 2) * Math.sin((Math.PI * t) / 2)) + b); } t--; return((((-c) / 2) * (Math.cos((Math.PI * t) / 2) - 2)) + b); } static function easeInCirc(t, b, c, d) { t = t / d; return(((-c) * (Math.sqrt(1 - (t * t)) - 1)) + b); } static function easeOutCirc(t, b, c, d) { t = (t / d) - 1; return((c * Math.sqrt(1 - (t * t))) + b); } static function easeInOutCirc(t, b, c, d) { t = t / (d / 2); if (t < 1) { return((((-c) / 2) * (Math.sqrt(1 - (t * t)) - 1)) + b); } t = t - 2; return(((c / 2) * (Math.sqrt(1 - (t * t)) + 1)) + b); } static function easeOutInCirc(t, b, c, d) { t = t / (d / 2); if (t < 1) { t--; return(((c / 2) * Math.sqrt(1 - (t * t))) + b); } t--; return(((c / 2) * (2 - Math.sqrt(1 - (t * t)))) + b); } static var registryKey = "pennerEasing"; }
Symbol 181 MovieClip [__Packages.ch.mda.FreeButton] Frame 0
class ch.mda.FreeButton extends MovieClip { var container_mc, tiefe, breite, isEnabled, setColorObject, noAnimation, hatShine, visit, back_mc, rand_mc, hoehe, hatCustomFace, clickHandler, ClickObj, _parent, rollHandler, RollObj, rollOutHandler, RollOutObj, pressHandler, PressObj, myListener, label_txt, normColor, overColor, pressColor, clickColor, disabledColor, normFontColor, overFontColor, pressFontColor, clickFontColor, disabledFontColor, heightLightColor, heightLightFontColor, BehaltNormColor, BehaltNormFontColor, borderColor, meinAlpha, hatShadow, shadowColor, normColor_G, overColor_G, pressColor_G, clickColor_G, disabledColor_G, heightLightColor_G, BehaltNormColor_G, gradient, label, myFontSize, myBold, fontEmbed, myAlign, customFont, symbolMovie, hatSymbolMovie, hatTip, meinTip, shineBisClick, ButtonData, hatHightLight, meinSound, meinSoundPfad, meinePosition, visit_mc; function FreeButton () { super(); container_mc = this; container_mc.fake_txt._visible = false; container_mc.tabChildren = false; var _local5 = container_mc._width; container_mc._xscale = 100; var _local4 = container_mc._height; container_mc._yscale = 100; tiefe = 100; if (breite == undefined) { setSize(_local5, _local4, 0, undefined, false); } isEnabled = true; setColor("0xF1F1F1", "0x666666", "0x333333", "0xCC0000", "0xF4FCFF", "0x333333", "0xFFFFFF", "0xFFFFFF", "0xFFFFFF", "0xCCCCCC", "0x999999"); setColorObject = setColorObj; if (container_mc.colorTo == undefined) { noAnimation = false; } var _local3 = "init ch.mda.FreeButton: " + this; if (System.capabilities.playerType == "External") { trace(_local3); } hatShine = false; container_mc.setPostion = setPosition; visit = false; } function setSize(b, h, corner, line, wert) { if (ch.mda.util.DrawUtil.drawRectFill == undefined) { container_mc.b_mc._width = b; container_mc.b_mc._height = h; container_mc.r_mc._width = b; container_mc.r_mc._height = h; back_mc = container_mc.b_mc; rand_mc = container_mc.r_mc; } else { container_mc.b_mc._visible = false; container_mc.r_mc._visible = false; } if (container_mc.face_mc == undefined) { if (back_mc._visible) { back_mc.removeMovieClip(); } if (rand_mc._visible) { rand_mc.removeMovieClip(); } container_mc.createEmptyMovieClip("back_mc", 1); tiefe++; container_mc.createEmptyMovieClip("rand_mc", tiefe); breite = b; hoehe = h; if ((corner == undefined) || (corner == 0)) { ch.mda.util.DrawUtil.drawRectFill(back_mc, breite, hoehe); ch.mda.util.DrawUtil.drawRectLine(rand_mc, breite, hoehe); } else { ch.mda.util.DrawUtil.drawRectCorner(back_mc, 0, 0, breite, hoehe, corner, "fill"); if (line == undefined) { line = 1; } ch.mda.util.DrawUtil.drawRectCorner(rand_mc, 0, 0, breite, hoehe, corner, "line", line); } } else { hatCustomFace = true; } init(); if (wert != false) { initFarben(); } } function setClickHandler(handler, mc) { clickHandler = handler; ClickObj = ((arguments.length < 2) ? (_parent) : (mc)); } function setRollHandler(handler, mc) { rollHandler = handler; RollObj = ((arguments.length < 2) ? (container_mc._parent) : (mc)); } function setOutHandler(handler, mc) { rollOutHandler = handler; RollOutObj = ((arguments.length < 2) ? (container_mc._parent) : (mc)); } function setPressHandler(handler, mc) { pressHandler = handler; PressObj = ((arguments.length < 2) ? (container_mc._parent) : (mc)); } function removeClickHandler() { clickHandler = undefined; ClickObj = undefined; } function removeOutHandler() { rollOutHandler = undefined; RollOutObj = undefined; } function removeRollHandler() { rollHandler = undefined; RollObj = undefined; } function removePressHandler() { pressHandler = undefined; PressObj = undefined; } function addListener(listener) { myListener = listener; } function removeListener() { myListener = undefined; } function setEnabled(wert) { delete container_mc.onEnterFrame; back_mc.stopTween(); label_txt.stopTween(); isEnabled = wert; container_mc.enabled = wert; if (wert == false) { setColorDisabled(); } else { var _local2 = noAnimation; noAnimation = true; setColorNorm(); noAnimation = _local2; } } function getEnabled() { return(isEnabled); } function setFocusEnabled(wert) { container_mc.tabChildren = wert; } function setColor(norm, over, pressC, clickC, disabled, normFont, overFont, pressFont, clickFont, disabledFont, borderColor) { if (norm == undefined) { return(undefined); } normColor = ch.mda.util.StringUtil.replaceString(norm, "#", "0x"); overColor = ch.mda.util.StringUtil.replaceString(over, "#", "0x"); pressColor = ch.mda.util.StringUtil.replaceString(pressC, "#", "0x"); clickColor = ch.mda.util.StringUtil.replaceString(clickC, "#", "0x"); disabledColor = ch.mda.util.StringUtil.replaceString(disabled, "#", "0x"); normFontColor = ch.mda.util.StringUtil.replaceString(normFont, "#", "0x"); overFontColor = ch.mda.util.StringUtil.replaceString(overFont, "#", "0x"); pressFontColor = ch.mda.util.StringUtil.replaceString(pressFont, "#", "0x"); clickFontColor = ch.mda.util.StringUtil.replaceString(clickFont, "#", "0x"); disabledFontColor = ch.mda.util.StringUtil.replaceString(disabledFont, "#", "0x"); borderColor = ch.mda.util.StringUtil.replaceString(borderColor, "#", "0x"); heightLightColor = "0xCC0000"; heightLightFontColor = "0xFFFFFF"; BehaltNormColor = normColor; BehaltNormFontColor = normFontColor; initFarben(); } function setColorObj(back, font) { if (back == undefined) { return(undefined); } normColor = ch.mda.util.StringUtil.replaceString(back.norm, "#", "0x"); overColor = ch.mda.util.StringUtil.replaceString(back.over, "#", "0x"); pressColor = ch.mda.util.StringUtil.replaceString(back.press, "#", "0x"); clickColor = ch.mda.util.StringUtil.replaceString(back.click, "#", "0x"); disabledColor = ch.mda.util.StringUtil.replaceString(back.disabled, "#", "0x"); normFontColor = ch.mda.util.StringUtil.replaceString(font.norm, "#", "0x"); overFontColor = ch.mda.util.StringUtil.replaceString(font.over, "#", "0x"); pressFontColor = ch.mda.util.StringUtil.replaceString(font.press, "#", "0x"); clickFontColor = ch.mda.util.StringUtil.replaceString(font.click, "#", "0x"); disabledFontColor = ch.mda.util.StringUtil.replaceString(font.disabled, "#", "0x"); borderColor = ch.mda.util.StringUtil.replaceString(font.border, "#", "0x"); if (back.heightLight != undefined) { heightLightColor = ch.mda.util.StringUtil.replaceString(back.heightLight, "#", "0x"); } if (font.heightLight != undefined) { heightLightFontColor = ch.mda.util.StringUtil.replaceString(font.heightLight, "#", "0x"); } BehaltNormColor = normColor; BehaltNormFontColor = normFontColor; if (back.alpha != undefined) { meinAlpha = Number(back.alpha); } if (font.alpha != undefined) { meinAlpha = Number(font.alpha); } if (font.shadow != undefined) { hatShadow = true; shadowColor = font.shadow; } if (back.norm_G != undefined) { normColor_G = ch.mda.util.StringUtil.replaceString(back.norm_G, "#", "0x"); if (back.over_G != undefined) { overColor_G = ch.mda.util.StringUtil.replaceString(back.over_G, "#", "0x"); } else { overColor_G = overColor; } if (back.press_G != undefined) { pressColor_G = ch.mda.util.StringUtil.replaceString(back.press_G, "#", "0x"); } else { pressColor_G = pressColor; } if (back.click_G != undefined) { clickColor_G = ch.mda.util.StringUtil.replaceString(back.click_G, "#", "0x"); } else { clickColor_G = clickColor; } if (back.disabled_G != undefined) { disabledColor_G = ch.mda.util.StringUtil.replaceString(back.disabled_G, "#", "0x"); } else { disabledColor_G = disabledColor; } if (back.heightLight_G != undefined) { heightLightColor_G = ch.mda.util.StringUtil.replaceString(back.heightLight_G, "#", "0x"); } else { heightLightColor_G = heightLightColor; } BehaltNormColor_G = normColor_G; gradient = true; } else { gradient = null; } initFarben(); } function setColorObjFertig(back, font) { if (back == undefined) { return(undefined); } normColor = back.norm; overColor = back.over; pressColor = back.press; clickColor = back.click; disabledColor = back.disabled; normFontColor = font.norm; overFontColor = font.over; pressFontColor = font.press; clickFontColor = font.click; disabledFontColor = font.disabled; borderColor = font.border; if (back.heightLight != undefined) { heightLightColor = back.heightLight; } if (font.heightLight != undefined) { heightLightFontColor = font.heightLight; } if (back.alpha != undefined) { meinAlpha = Number(back.alpha); } if (font.alpha != undefined) { meinAlpha = Number(font.alpha); } BehaltNormColor = normColor; BehaltNormFontColor = normFontColor; if (font.shadow != undefined) { hatShadow = true; shadowColor = font.shadow; } if (back.norm_G != undefined) { normColor_G = back.norm_G; if (back.over_G != undefined) { overColor_G = back.over_G; } else { overColor_G = overColor; } if (back.press_G != undefined) { pressColor_G = back.press_G; } else { pressColor_G = pressColor; } if (back.click_G != undefined) { clickColor_G = back.click_G; } else { clickColor_G = clickColor; } if (back.disabled_G != undefined) { disabledColor_G = back.disabled_G; } else { disabledColor_G = disabledColor; } if (back.heightLight_G != undefined) { heightLightColor_G = back.heightLight_G; } else { heightLightColor_G = heightLightColor; } BehaltNormColor_G = normColor_G; gradient = true; } else { gradient = null; } initFarben(); } function setLabel(l, s, b, align, $fontEmbed) { label = l; if (s != undefined) { var _local3 = Number(s); } else { var _local3 = 14; } if (b != undefined) { var _local10 = b; } else { var _local10 = false; } myFontSize = _local3; myBold = _local10; if (container_mc.l_txt != undefined) { container_mc.l_txt.removeTextField(); if (container_mc.s_txt != undefined) { container_mc.s_txt.removeTextField(); } } fontEmbed = true; if ($fontEmbed == false) { fontEmbed = false; } if (((_root.p_fontEinbetten == false) || (_root.p_fontEinbetten == undefined)) || (_root.s_embedFonts == "false")) { fontEmbed = false; } if (fontEmbed == undefined) { if ((_root.p_fontEinbetten == false) || (_root.p_fontEinbetten == undefined)) { fontEmbed = false; } } var _local7 = breite - 10; var _local8 = 5; var _local5 = "<p>"; if (align == undefined) { _local5 = "<p align=\"CENTER\">"; _local7 = breite; _local8 = 0; } else if (align == "RIGHT") { _local5 = "<p align=\"RIGHT\">"; } else if (align == "LEFT") { _local5 = "<p>"; } else { _local5 = "<p align=\"CENTER\">"; } myAlign = _local5; var _local11 = _local3 + Math.floor(_local3 / 2); if (!fontEmbed) { _local11 = _local3 + _local3; } container_mc.createTextField("l_txt", 100078, _local8, 5, _local7, _local11); label_txt = container_mc.l_txt; label_txt.autoSize = "none"; label_txt.background = false; if (fontEmbed == false) { var _local6 = "Verdana"; if (_root.p_fontErsatz != undefined) { _local6 = _root.p_fontErsatz; } label_txt.embedFonts = false; } else { var _local6 = _root.p_hauptschrift; if (customFont != undefined) { _local6 = customFont; } label_txt.embedFonts = true; } if (_local10 == false) { var _local9 = ((((((_local5 + "<font face=\"") + _local6) + "\" size=\"") + _local3) + "\">") + label) + "</font></p>"; } else { var _local9 = ((((((_local5 + "<font face=\"") + _local6) + "\" size=\"") + _local3) + "\"><b>") + label) + "</b></font></p>"; } label_txt.html = true; label_txt.htmlText = _local9; s = Math.round((hoehe - label_txt._height) / 2); if (!fontEmbed) { s = s + Math.round(_local3 / 3); } label_txt._y = s; if (hatShadow) { container_mc.createTextField("s_txt", 100077, _local8 + 1, label_txt._y + 1, _local7, label_txt._height); container_mc.s_txt.embedFonts = label_txt.embedFonts; container_mc.s_txt.html = true; container_mc.s_txt.autoSize = false; container_mc.s_txt.htmlText = _local9; container_mc.s_txt._y = s + 1; if (container_mc.s_txt.embedFonts) { ch.mda.util.TextFieldUtil.textRendering(container_mc.s_txt); } } ch.mda.util.TextFieldUtil.textRendering(label_txt); initFarben(); } function getLabel() { return(label); } function setSymbolMovie(mc) { var _local3; if (mc._parent.tiefe == undefined) { mc._parent.tiefe = 100; } mc._parent.tiefe++; _local3 = mc._parent.tiefe; mc.duplicateMovieClip("sm" + _local3, _local3); symbolMovie = mc._parent["sm" + _local3]; mc._visible = false; hatSymbolMovie = true; initFarben(); } function removeSymbolMovie() { symbolMovie.removeMovieClip(); hatSymbolMovie = false; } function setTip(tip, tipOjb) { hatTip = true; meinTip = tip; } function removeTip() { hatTip = false; meinTip = "$"; } function setCustomFont(font, $fontEmbed) { customFont = font; if ($fontEmbed != false) { fontEmbed = true; } } function removeCustomFont(font) { customFont = undefined; } function shine(value) { if (!hatShine) { if (value != undefined) { shineBisClick = true; } hatShine = true; doShine(); } } function doShine() { var mc = container_mc; var shineOut = function () { mc.back_mc.colorTo(mc.normColor, 4, "easeOutSine", 1, shineOn); if (mc.label_txt != undefined) { mc.label_txt.colorTo(mc.normFontColor, 2, "easeOutSine", 1); } if (mc.hatSymbolMovie) { mc.symbolMovie.colorTo(mc.normFontColor, 2, "easeOutSine", 1); } }; var shineOn = function () { mc.back_mc.colorTo(mc.heightLightColor, 4, "easeOutSine", 1, shineOut); if (mc.label_txt != undefined) { mc.label_txt.colorTo(mc.heightLightFontColor, 2, "easeOutSine", 1); } if (mc.hatSymbolMovie) { mc.symbolMovie.colorTo(mc.heightLightFontColor, 2, "easeOutSine", 1); } }; shineOn(); } function stopShine() { if (shineBisClick) { shineBisClick = undefined; } back_mc.stopTween(); if (label_txt != undefined) { label_txt.stopTween(); } if (hatSymbolMovie) { symbolMovie.stopTween(); } hatShine = false; initFarben(); } function setData(data) { ButtonData = data; } function getData() { return(ButtonData); } function setHightLight(farbe, farbe2, farbe_G) { if (farbe == undefined) { normColor = heightLightColor; normFontColor = heightLightFontColor; } else { normColor = ch.mda.util.StringUtil.replaceString(farbe, "#", "0x"); normFontColor = ch.mda.util.StringUtil.replaceString(farbe2, "#", "0x"); } if (gradient) { if (farbe_G != undefined) { heightLightColor_G = farbe_G; } normColor_G = heightLightColor_G; } hatHightLight = true; initFarben(); } function removeHightlight() { if (hatHightLight) { hatHightLight = undefined; normColor = BehaltNormColor; normFontColor = BehaltNormFontColor; normColor_G = BehaltNormColor_G; initFarben(); } hatHightLight = undefined; } function setButtonSound(sound, pfad, volume) { meinSound = sound; meinSoundPfad = pfad; if (meinSound == "click") { meinSoundPfad = _root.soundHalter_mc; } if (volume != undefined) { soundVolume = volume; } } function setPosition(position) { if (position != undefined) { if (typeof(position) == "string") { var _local3 = position.split("*"); meinePosition = {x:Number(_local3[0]), y:Number(_local3[1])}; } else if (position instanceof MovieClip) { getPosition(position); } else if (position instanceof TextField) { getPosition(position); } else if (position.x != undefined) { meinePosition = position; } } container_mc._x = meinePosition.x; container_mc._y = meinePosition.y; } function setAnimations(wert) { if ((wert == "false") || (wert == false)) { noAnimation = false; } else if ((wert == "true") || (wert == true)) { noAnimation = undefined; } } function getPosition(ref_mc) { var _local2 = {}; if (ref_mc != undefined) { _local2.x = Math.floor(ref_mc._x); _local2.y = Math.floor((ref_mc._y + ref_mc._height) + abstandHohe); return(_local2); } return({x:container_mc._x, y:container_mc._y}); } function setVisit(value, frame) { visit = value; if (visit) { tiefe++; if (visit_mc == undefined) { tiefe++; visit_mc = container_mc.attachMovie("symbol_visit_mc", "v_mc", tiefe); visit_mc.gotoAndStop(frame); visit_mc._x = (breite - visit_mc._width) - 2; visit_mc._y = 2; } visit_mc._visible = true; initFarben(); } else if (visit_mc != undefined) { visit_mc._visible = false; } } function initFarben() { delete container_mc.onEnterFrame; if (hatCustomFace) { container_mc.face_mc.gotoAndStop(1); } else { if (gradient) { ch.mda.util.ColorUtil.clearRGB(back_mc); ch.mda.util.MovieUtil.removeMc(back_mc.norm_mc); ch.mda.util.MovieUtil.removeMc(back_mc.over_mc); ch.mda.util.MovieUtil.removeMc(back_mc.press_mc); ch.mda.util.MovieUtil.removeMc(back_mc.click_mc); ch.mda.util.MovieUtil.removeMc(back_mc.disable_mc); ch.mda.util.MovieUtil.removeMc(back_mc.hight_mc); back_mc.tiefe = 100; var _local2 = back_mc.createEmptyMovieClip("norm_mc", back_mc.tiefe); ch.mda.util.ColorUtil.simpleGradient(_local2, normColor, normColor_G, breite, hoehe, "linear"); _local2 = back_mc.createEmptyMovieClip("over_mc", ++back_mc.tiefe); ch.mda.util.ColorUtil.simpleGradient(_local2, overColor, overColor_G, breite, hoehe, "linear"); _local2 = back_mc.createEmptyMovieClip("press_mc", ++back_mc.tiefe); ch.mda.util.ColorUtil.simpleGradient(_local2, pressColor, pressColor_G, breite, hoehe, "linear"); _local2 = back_mc.createEmptyMovieClip("click_mc", ++back_mc.tiefe); ch.mda.util.ColorUtil.simpleGradient(_local2, clickColor, clickColor_G, breite, hoehe, "linear"); _local2 = back_mc.createEmptyMovieClip("disable_mc", ++back_mc.tiefe); ch.mda.util.ColorUtil.simpleGradient(_local2, disabledColor, disabledColor_G, breite, hoehe, "linear"); _local2 = back_mc.createEmptyMovieClip("hight_mc", ++back_mc.tiefe); ch.mda.util.ColorUtil.simpleGradient(_local2, heightLightColor, heightLightColor_G, breite, hoehe, "linear"); back_mc.norm_mc.swapDepths(++back_mc.tiefe); } else { buttfarbMc(back_mc, normColor); } buttfarbMc(rand_mc, borderColor); if (meinAlpha != undefined) { back_mc._alpha = meinAlpha; } if (hatHightLight) { back_mc._alpha = 100; } } if (label_txt != undefined) { buttfarbMc(label_txt, normFontColor); } if (hatSymbolMovie) { buttfarbMc(symbolMovie, normFontColor); } if (isEnabled == false) { setEnabled(false); } if (hatShadow) { container_mc.s_txt._visible = true; buttfarbMc(container_mc.s_txt, shadowColor); } if (visit) { buttfarbMc(visit_mc, normFontColor); } } function setColorNorm() { if (hatCustomFace) { container_mc.face_mc.gotoAndStop(1); } else { if (shineBisClick) { return(undefined); } back_mc.stopTween(); label_txt.stopTween(); if (noAnimation == undefined) { if (gradient) { back_mc.norm_mc.swapDepths(++back_mc.tiefe); back_mc.norm_mc._alpha = 0; back_mc.norm_mc.alphaTo(100, 0.5, "easeOutSine"); } else { back_mc.colorTo(normColor, 0.5, "easeOutSine"); } if (label_txt != undefined) { label_txt.colorTo(normFontColor, 0.5, "easeOutSine"); } if (hatSymbolMovie) { symbolMovie.colorTo(normFontColor, 0.5, "easeOutSine"); } if (visit) { visit_mc.colorTo(normFontColor, 0.5, "easeOutSine"); } } else { if (gradient) { back_mc.norm_mc.swapDepths(++back_mc.tiefe); } else { buttfarbMc(back_mc, normColor); } if (label_txt != undefined) { buttfarbMc(label_txt, normFontColor); } if (hatSymbolMovie) { buttfarbMc(symbolMovie, normFontColor); } if (visit) { buttfarbMc(visit_mc, normFontColor); } } if (meinAlpha != undefined) { back_mc._alpha = Number(meinAlpha); } } } function setAlpha(wert) { if (wert) { meinAlpha = Number(wert); } else { meinAlpha = undefined; } } function setColorOver() { if (hatCustomFace) { container_mc.face_mc.gotoAndStop(2); } else { if (shineBisClick) { return(undefined); } back_mc.stopTween(); label_txt.stopTween(); if (noAnimation == undefined) { if (gradient) { back_mc.over_mc.swapDepths(++back_mc.tiefe); back_mc.over_mc._alpha = 0; back_mc.over_mc.alphaTo(100, 0.5, "easeOutSine"); } else { back_mc.colorTo(overColor, 0.5, "easeOutSine"); } if (label_txt != undefined) { label_txt.colorTo(overFontColor, 0.5, "easeOutSine"); } if (hatSymbolMovie) { symbolMovie.colorTo(overFontColor, 0.5, "easeOutSine"); } if (visit) { visit_mc.colorTo(overFontColor, 0.5, "easeOutSine"); } } else { if (gradient) { back_mc.over_mc.swapDepths(++back_mc.tiefe); } else { buttfarbMc(back_mc, overColor); } if (label_txt != undefined) { buttfarbMc(label_txt, overFontColor); } if (hatSymbolMovie) { buttfarbMc(symbolMovie, overFontColor); } } back_mc._alpha = 100; } } function setColorPress() { if (shineBisClick) { return(undefined); } back_mc.stopTween(); label_txt.stopTween(); if (hatCustomFace) { container_mc.face_mc.gotoAndStop(3); } else { back_mc.stopTween(); if (gradient) { back_mc.press_mc.swapDepths(++back_mc.tiefe); } else { buttfarbMc(back_mc, pressColor); } } if (label_txt != undefined) { label_txt.stopTween(); buttfarbMc(label_txt, pressFontColor); } if (hatSymbolMovie) { symbolMovie.stopTween(); buttfarbMc(symbolMovie, pressFontColor); } if (visit) { visit_mc.stopTween(); buttfarbMc(visit_mc, pressFontColor); } } function setColorClick() { if (shineBisClick) { shineBisClick = undefined; } back_mc.stopTween(); label_txt.stopTween(); if (gradient) { back_mc.click_mc.swapDepths(++back_mc.tiefe); } else { buttfarbMc(back_mc, clickColor); } if (label_txt != undefined) { buttfarbMc(label_txt, clickFontColor); } if (hatSymbolMovie) { buttfarbMc(symbolMovie, clickFontColor); } if (visit) { visit_mc.stopTween(); buttfarbMc(visit_mc, clickFontColor); } var z = 0; container_mc.onEnterFrame = function () { z++; if (z > 5) { if (this.hatCustomFace) { this.container_mc.face_mc.gotoAndStop(1); } else { if (this.gradient) { this.back_mc.norm_mc.swapDepths(++this.back_mc.tiefe); } else { this.buttfarbMc(this.back_mc, this.normColor); } if (this.label_txt != undefined) { this.buttfarbMc(this.label_txt, this.normFontColor); } if (this.hatSymbolMovie) { this.buttfarbMc(this.symbolMovie, this.normFontColor); } } delete this.container_mc.onEnterFrame; } }; } function setColorDisabled() { back_mc.stopTween(); label_txt.stopTween(); if (hatCustomFace) { container_mc.face_mc.gotoAndStop(5); } else { back_mc.stopTween(); if (gradient) { back_mc.disable_mc.swapDepths(++back_mc.tiefe); } else { buttfarbMc(back_mc, disabledColor); } } if (label_txt != undefined) { label_txt.stopTween(); buttfarbMc(label_txt, disabledFontColor); } if (hatSymbolMovie) { symbolMovie.stopTween(); buttfarbMc(symbolMovie, disabledFontColor); } if (visit) { visit_mc.stopTween(); buttfarbMc(visit_mc, disabledFontColor); } } function init() { container_mc.onPress = function () { if (this.hatHightLight == undefined) { this.setColorPress(); } if (this.pressHandler != undefined) { this.PressObj[this.pressHandler](this.container_mc); } if (this.myListener.press != undefined) { this.myListener.press(this.container_mc); } }; container_mc.onRelease = function () { this.setColorClick(); _global.removeTip(); if (this.clickHandler != undefined) { this.ClickObj[this.clickHandler](this.container_mc); } if (this.meinSound != undefined) { _global.playSound(this.meinSoundPfad, this.meinSound, this.soundVolume, 1); } if (this.myListener.click != undefined) { this.myListener.click(this.container_mc); } }; container_mc.onRollOver = function () { if (this.hatHightLight == undefined) { this.setColorOver(); } if (this.rollHandler != undefined) { this.RollObj[this.rollHandler](this.container_mc); } this._parent.aktiverButton = this.container_mc; if (this.hatTip) { _global.setTip(this.container_mc, this.meinTip, this.tipOjb); } else if (this.myListener.tip != undefined) { _global.setTip(this.container_mc, this.myListener.tip, this.tipOjb); } if (this.myListener.rollOver != undefined) { this.myListener.rollOver(this.container_mc); } }; container_mc.onRollOut = function () { if (this.hatHightLight == undefined) { this.setColorNorm(); } if (this.rollOutHandler != undefined) { this.RollOutObj[this.rollOutHandler](this.container_mc); } if (this.myListener.rollOut != undefined) { this.myListener.rollOut(this.container_mc); } _global.removeTip(); }; } var soundVolume = 100; var abstandHohe = 10; var classMember = "Button"; function buttfarbMc(mc, farbe) { if (farbe == undefined) { return(undefined); } var _local1 = new Color(mc); _local1.setRGB(farbe); } }
Symbol 182 MovieClip [__Packages.ch.mda.util.DrawUtil] Frame 0
class ch.mda.util.DrawUtil { function DrawUtil () { } static function initialize() { _root.drawRectCorner = drawRectCorner; _root.drawRectLine = drawRectLine; _root.drawRectLine1 = drawRectLine1; _root.drawRectFill = drawRectFill; _root.drawRectFillPos = drawRectFillPos; _root.drawOvalFill = drawOvalFill; _root.goldenerSchnitt = goldenerSchnitt; _root.doGoldenRatio = doGoldenRatio; trace("init util [ch.mda.util.DrawUtil]"); } static function drawRectLine(mc, w, h) { var _local2 = 0; var _local1 = 0; mc.lineStyle(0); mc.moveTo(_local2, _local1); mc.lineTo(_local2 + w, _local1); mc.lineTo(_local2 + w, _local1 + h); mc.lineTo(_local2, _local1 + h); mc.lineTo(_local2, _local1); } static function drawRectLine1(mc, w, h) { var _local2 = 0; var _local1 = 0; mc.lineStyle(1); mc.moveTo(_local2, _local1); mc.lineTo(_local2 + w, _local1); mc.lineTo(_local2 + w, _local1 + h); mc.lineTo(_local2, _local1 + h); mc.lineTo(_local2, _local1); } static function drawRectFill(mc, w, h) { var _local3 = 0; var _local2 = 0; mc.lineStyle(0); mc.moveTo(_local3, _local2); mc.beginFill(0); mc.lineTo(_local3 + w, _local2); mc.lineTo(_local3 + w, _local2 + h); mc.lineTo(_local3, _local2 + h); mc.lineTo(_local3, _local2); mc.endFill(); } static function drawRectFillPos(mc, w, h, x, y) { mc.lineStyle(0); mc.moveTo(x, y); mc.beginFill(0); mc.lineTo(x + w, y); mc.lineTo(x + w, y + h); mc.lineTo(x, y + h); mc.lineTo(x, y); mc.endFill(); } static function drawOvalFill(mc, radius, yRadius) { var _local7 = 0; var _local6 = 0; if (arguments.length < 3) { return(undefined); } var _local5; var _local16; var _local15; var _local2; var _local4; var _local11; var _local10; var _local9; var _local8; if (yRadius == undefined) { yRadius = radius; } _local5 = (Math.PI/4); _local16 = radius / Math.cos(_local5 / 2); _local15 = yRadius / Math.cos(_local5 / 2); _local2 = 0; mc.moveTo(_local7 + radius, _local6); mc.beginFill(0); var _local3 = 0; while (_local3 < 8) { _local2 = _local2 + _local5; _local4 = _local2 - (_local5 / 2); _local9 = _local7 + (Math.cos(_local4) * _local16); _local8 = _local6 + (Math.sin(_local4) * _local15); _local11 = _local7 + (Math.cos(_local2) * radius); _local10 = _local6 + (Math.sin(_local2) * yRadius); mc.curveTo(_local9, _local8, _local11, _local10); _local3++; } mc.endFill(); } static function drawOval(mc, radius, yRadius, line) { var _local7 = 0; var _local6 = 0; if (line == undefined) { line = 0; } if (arguments.length < 3) { return(undefined); } var _local5; var _local16; var _local15; var _local2; var _local4; var _local11; var _local10; var _local9; var _local8; if (yRadius == undefined) { yRadius = radius; } _local5 = (Math.PI/4); _local16 = radius / Math.cos(_local5 / 2); _local15 = yRadius / Math.cos(_local5 / 2); _local2 = 0; mc.lineStyle(line); mc.moveTo(_local7 + radius, _local6); var _local3 = 0; while (_local3 < 8) { _local2 = _local2 + _local5; _local4 = _local2 - (_local5 / 2); _local9 = _local7 + (Math.cos(_local4) * _local16); _local8 = _local6 + (Math.sin(_local4) * _local15); _local11 = _local7 + (Math.cos(_local2) * radius); _local10 = _local6 + (Math.sin(_local2) * yRadius); mc.curveTo(_local9, _local8, _local11, _local10); _local3++; } } static function drawStarFill(mc, points, innerRadius, outerRadius, angle) { var _local9 = 0; var _local8 = 0; if (arguments.length < 3) { return(undefined); } if (angle == undefined) { angle = 0; } var _local13 = Math.abs(points); if (_local13 > 2) { var _local4; var _local11; var _local3; var _local2; var _local6; var _local5; _local4 = (Math.PI*2) / points; _local11 = _local4 / 2; _local3 = (angle / 180) * Math.PI; trace(_local3); mc.moveTo(_local9 + (Math.cos(_local3) * outerRadius), _local8 - (Math.sin(_local3) * outerRadius)); mc.beginFill(0); _local2 = 1; while (_local2 <= _local13) { _local6 = _local9 + (Math.cos((_local3 + (_local4 * _local2)) - _local11) * innerRadius); _local5 = _local8 - (Math.sin((_local3 + (_local4 * _local2)) - _local11) * innerRadius); mc.lineTo(_local6, _local5); trace(_local3); _local6 = _local9 + (Math.cos(_local3 + (_local4 * _local2)) * outerRadius); _local5 = _local8 - (Math.sin(_local3 + (_local4 * _local2)) * outerRadius); mc.lineTo(_local6, _local5); _local2++; } mc.endFill(); } } static function drawStarLine(mc, points, innerRadius, outerRadius, angle, line) { var _local8 = 0; var _local7 = 0; if (line == undefined) { line = 0; } if (arguments.length < 3) { return(undefined); } if (angle == undefined) { angle = 0; } var _local13 = Math.abs(points); if (_local13 > 2) { var _local4; var _local11; var _local3; var _local2; var _local6; var _local5; _local4 = (Math.PI*2) / points; _local11 = _local4 / 2; _local3 = (angle / 180) * Math.PI; trace(_local3); mc.lineStyle(line); mc.moveTo(_local8 + (Math.cos(_local3) * outerRadius), _local7 - (Math.sin(_local3) * outerRadius)); _local2 = 1; while (_local2 <= _local13) { _local6 = _local8 + (Math.cos((_local3 + (_local4 * _local2)) - _local11) * innerRadius); _local5 = _local7 - (Math.sin((_local3 + (_local4 * _local2)) - _local11) * innerRadius); mc.lineTo(_local6, _local5); trace(_local3); _local6 = _local8 + (Math.cos(_local3 + (_local4 * _local2)) * outerRadius); _local5 = _local7 - (Math.sin(_local3 + (_local4 * _local2)) * outerRadius); mc.lineTo(_local6, _local5); _local2++; } } } static function drawRectCorner(mc, x, y, w, h, cornerRadius, modus, line) { if (modus == "fill") { mc.beginFill(0); } else { mc.lineStyle(line); } if (arguments.length < 4) { return(undefined); } if (cornerRadius > 0) { var _local3; var _local4; var _local9; var _local8; var _local11; var _local10; if (cornerRadius > (Math.min(w, h) / 2)) { cornerRadius = Math.min(w, h) / 2; } _local3 = (Math.PI/4); mc.moveTo(x + cornerRadius, y); mc.lineTo((x + w) - cornerRadius, y); _local4 = -1.5707963267949; _local9 = ((x + w) - cornerRadius) + ((Math.cos(_local4 + (_local3 / 2)) * cornerRadius) / Math.cos(_local3 / 2)); _local8 = (y + cornerRadius) + ((Math.sin(_local4 + (_local3 / 2)) * cornerRadius) / Math.cos(_local3 / 2)); _local11 = ((x + w) - cornerRadius) + (Math.cos(_local4 + _local3) * cornerRadius); _local10 = (y + cornerRadius) + (Math.sin(_local4 + _local3) * cornerRadius); mc.curveTo(_local9, _local8, _local11, _local10); _local4 = _local4 + _local3; _local9 = ((x + w) - cornerRadius) + ((Math.cos(_local4 + (_local3 / 2)) * cornerRadius) / Math.cos(_local3 / 2)); _local8 = (y + cornerRadius) + ((Math.sin(_local4 + (_local3 / 2)) * cornerRadius) / Math.cos(_local3 / 2)); _local11 = ((x + w) - cornerRadius) + (Math.cos(_local4 + _local3) * cornerRadius); _local10 = (y + cornerRadius) + (Math.sin(_local4 + _local3) * cornerRadius); mc.curveTo(_local9, _local8, _local11, _local10); mc.lineTo(x + w, (y + h) - cornerRadius); _local4 = _local4 + _local3; _local9 = ((x + w) - cornerRadius) + ((Math.cos(_local4 + (_local3 / 2)) * cornerRadius) / Math.cos(_local3 / 2)); _local8 = ((y + h) - cornerRadius) + ((Math.sin(_local4 + (_local3 / 2)) * cornerRadius) / Math.cos(_local3 / 2)); _local11 = ((x + w) - cornerRadius) + (Math.cos(_local4 + _local3) * cornerRadius); _local10 = ((y + h) - cornerRadius) + (Math.sin(_local4 + _local3) * cornerRadius); mc.curveTo(_local9, _local8, _local11, _local10); _local4 = _local4 + _local3; _local9 = ((x + w) - cornerRadius) + ((Math.cos(_local4 + (_local3 / 2)) * cornerRadius) / Math.cos(_local3 / 2)); _local8 = ((y + h) - cornerRadius) + ((Math.sin(_local4 + (_local3 / 2)) * cornerRadius) / Math.cos(_local3 / 2)); _local11 = ((x + w) - cornerRadius) + (Math.cos(_local4 + _local3) * cornerRadius); _local10 = ((y + h) - cornerRadius) + (Math.sin(_local4 + _local3) * cornerRadius); mc.curveTo(_local9, _local8, _local11, _local10); mc.lineTo(x + cornerRadius, y + h); _local4 = _local4 + _local3; _local9 = (x + cornerRadius) + ((Math.cos(_local4 + (_local3 / 2)) * cornerRadius) / Math.cos(_local3 / 2)); _local8 = ((y + h) - cornerRadius) + ((Math.sin(_local4 + (_local3 / 2)) * cornerRadius) / Math.cos(_local3 / 2)); _local11 = (x + cornerRadius) + (Math.cos(_local4 + _local3) * cornerRadius); _local10 = ((y + h) - cornerRadius) + (Math.sin(_local4 + _local3) * cornerRadius); mc.curveTo(_local9, _local8, _local11, _local10); _local4 = _local4 + _local3; _local9 = (x + cornerRadius) + ((Math.cos(_local4 + (_local3 / 2)) * cornerRadius) / Math.cos(_local3 / 2)); _local8 = ((y + h) - cornerRadius) + ((Math.sin(_local4 + (_local3 / 2)) * cornerRadius) / Math.cos(_local3 / 2)); _local11 = (x + cornerRadius) + (Math.cos(_local4 + _local3) * cornerRadius); _local10 = ((y + h) - cornerRadius) + (Math.sin(_local4 + _local3) * cornerRadius); mc.curveTo(_local9, _local8, _local11, _local10); mc.lineTo(x, y + cornerRadius); _local4 = _local4 + _local3; _local9 = (x + cornerRadius) + ((Math.cos(_local4 + (_local3 / 2)) * cornerRadius) / Math.cos(_local3 / 2)); _local8 = (y + cornerRadius) + ((Math.sin(_local4 + (_local3 / 2)) * cornerRadius) / Math.cos(_local3 / 2)); _local11 = (x + cornerRadius) + (Math.cos(_local4 + _local3) * cornerRadius); _local10 = (y + cornerRadius) + (Math.sin(_local4 + _local3) * cornerRadius); mc.curveTo(_local9, _local8, _local11, _local10); _local4 = _local4 + _local3; _local9 = (x + cornerRadius) + ((Math.cos(_local4 + (_local3 / 2)) * cornerRadius) / Math.cos(_local3 / 2)); _local8 = (y + cornerRadius) + ((Math.sin(_local4 + (_local3 / 2)) * cornerRadius) / Math.cos(_local3 / 2)); _local11 = (x + cornerRadius) + (Math.cos(_local4 + _local3) * cornerRadius); _local10 = (y + cornerRadius) + (Math.sin(_local4 + _local3) * cornerRadius); mc.curveTo(_local9, _local8, _local11, _local10); } else { mc.moveTo(x, y); mc.lineTo(x + w, y); mc.lineTo(x + w, y + h); mc.lineTo(x, y + h); mc.lineTo(x, y); } if (modus == "fill") { mc.endFill(); } } static function goldenerSchnitt(wert) { var _local3 = Math.floor(wert / 1.618); var _local1 = wert - _local3; return({minor:_local1, major:_local3}); } static function doGoldenRatio(breite, hohe, mc1, m2, mc3) { var _local4 = goldenerSchnitt(breite).minor; var _local7 = goldenerSchnitt(breite).major; var _local1 = goldenerSchnitt(hohe).minor; var _local3 = goldenerSchnitt(hohe).major; mc1._width = breite; mc1._height = _local1; m2._y = _local1; m2._width = _local4; m2._height = _local3; mc3._y = _local1; mc3._x = _local4; mc3._width = _local7; mc3._height = _local3; } static function drawCross(mc, w, h) { var _local1; if (w < h) { _local1 = w / 4; } else { _local1 = h / 4; } var _local3 = 3 * _local1; var _local2 = _local1; var _local7 = (-(1.5 * _local1)) + _local1; var _local5 = (-(_local1 / 2)) - _local1; drawRectFillPos(mc, _local2, _local3, _local7, _local5); var _local6 = (-(_local1 / 2)) - _local1; var _local4 = (-(1.5 * _local1)) + _local1; drawRectFillPos(mc, _local3, _local2, _local6, _local4); } }
Symbol 183 MovieClip [__Packages.ch.mda.util.StringUtil] Frame 0
class ch.mda.util.StringUtil { function StringUtil () { } static function initialize() { _global.replaceString = replaceString; _global.stringToBoolean = stringToBoolean; _global.checkStringToNumber = checkStringToNumber; _root.removeHTML = removeHTML; _root.testHTML = testHTML; _root.hasHTML = hasHTML; _root.rTrim = rTrim; _root.lTrim = lTrim; _root.Trim = Trim; _root.trim = Trim; trace("init util [ch.mda.util.StringUtil]"); } static function replaceString(texto) { if (typeof(texto) != "string") { _root.traceMessage(texto + " ist kein string [replaceString]"); return(texto); } var _local4; var _local7; var _local5; var _local3 = ""; var _local6 = ""; var _local8 = ""; _local4 = arguments[1]; if (_local4 == undefined) { return(texto); } _local7 = arguments[2]; if (_local7 == undefined) { return(texto); } if (_local4.length == 1) { return(texto.split(_local4).join(_local7)); } _local5 = texto.indexOf(_local4); if (_local5 == -1) { return(texto); } _local3 = texto; do { _local5 = _local3.indexOf(_local4); _local6 = _local3.substring(0, _local5); _local3 = _local3.substring(_local5 + _local4.length); _local8 = _local8 + (_local6 + _local7); } while (_local3.indexOf(_local4) != -1); _local8 = _local8 + _local3; return(_local8); } static function stringToBoolean(s) { if (s == "true") { return(true); } if (s == "false") { return(false); } if (typeof(s) == "boolean") { return(s); } return(undefined); } static function checkStringToNumber(z) { if (z == undefined) { return(false); } if (isNaN(z)) { return(false); } if (typeof(z) == "number") { return(true); } if (typeof(z) == "boolean") { return(false); } if (typeof(z) == "object") { return(false); } if (typeof(z) == "movieclip") { return(false); } var _local2 = Number(z); if (_local2.toString() == "NaN") { return(false); } return(true); } static function removeHTML(htmlCode) { if (htmlCode == undefined) { return(""); } if (typeof(htmlCode) != "string") { return(htmlCode); } if (testHTML(htmlCode) == false) { return(htmlCode); } var _local3 = htmlCode.indexOf("<"); var _local4 = htmlCode.indexOf(">"); var _local2 = ""; _local2 = _local2 + htmlCode.substr(0, _local3); htmlCode = htmlCode.substr(_local4 + 1); _local2 = _local2 + removeHTML(htmlCode); return(_local2); } static function testHTML(htmlCode) { if (htmlCode == undefined) { return(false); } if (typeof(htmlCode) != "string") { return(true); } var _local4 = new Array("font", "b", "i", "u", "a", "p", "br", "li", "img"); var _local12 = htmlCode.split("<"); var _local14 = htmlCode.split(">"); var _local9; if (_local12.length != _local14.length) { _local9 = true; } else if (_local12.length == 1) { return(false); } var _local10 = htmlCode.indexOf("<"); var _local8 = htmlCode.indexOf(">"); var _local7 = htmlCode.indexOf("/"); if (_local7 <= _local8) { if ((_local7 != -1) && (htmlCode.charAt(_local7 - 1) == "<")) { var _local11 = htmlCode.indexOf(" ", _local7); if ((_local11 != -1) && (_local11 < _local8)) { _local9 = true; } } } var _local3 = htmlCode.substr(_local10 + 1, _local8 - (_local10 + 1)); _local3 = _local3.toLowerCase(); if (_local3.indexOf("/") == -1) { if (_local3.indexOf(" ") != -1) { _local3 = _local3.substr(0, _local3.indexOf(" ")); } var _local6 = false; var _local2 = 0; while (_local2 < _local4.length) { if (_local4[_local2] == _local3) { _local6 = true; } _local2++; } if (!_local6) { _local9 = true; } } if (_local9) { var _local13 = ("Alert: HTML Tag incorrect: " + htmlCode) + "\n\n"; trace(_local13); _root.traceObject(_local13); return(false); } return(true); } static function hasHTML(htmlCode) { if (htmlCode == undefined) { return(false); } if (typeof(htmlCode) != "string") { return(false); } var _local1 = (Number = htmlCode.indexOf("<")); if (_local1 == -1) { trace("kein Html"); return(false); } return(true); } static function rTrim(input) { var _local3 = input.length; var _local1 = _local3; while (_local1 > 0) { if (input.charCodeAt(_local1 - 1) > 32) { return(input.substring(0, _local1)); } _local1--; } return(""); } static function lTrim(input) { var _local3 = input.length; var _local1 = 0; while (_local1 < _local3) { if (input.charCodeAt(_local1) > 32) { return(input.substring(_local1)); } _local1++; } return(""); } static function Trim(input) { var _local1 = input; _local1 = lTrim(_local1); _local1 = rTrim(_local1); return(_local1); } }
Symbol 184 MovieClip [__Packages.ch.mda.util.TextFieldUtil] Frame 0
class ch.mda.util.TextFieldUtil { function TextFieldUtil () { } static function initialize() { _root.machFontDisplay = machFontDisplay; _global.typewriter = typewriter; _root.textRendering = textRendering; _root.showInput = showInput; _root.dropTextShadow = dropTextShadow; trace("init util [ch.mda.util.TextFieldUtil]"); } static function machFontDisplay(textfield_txt) { var _local2 = textfield_txt.getTextFormat(); if (_root.p_fontEinbetten == false) { textfield_txt.embedFonts = false; _local2.font = _root.p_fontReplace; textfield_txt.setTextFormat(_local2); } else { textfield_txt.embedFonts = true; _local2.font = _root.p_hauptschrift; textfield_txt.setTextFormat(_local2); textRendering(); } } static function showInput(tf, mc, killhandler, changeHandler) { tf.background = true; tf.border = true; tf.onSetFocus = function () { this.backgroundColor = "OxFFFFCC"; }; tf.onKillFocus = function () { this.backgroundColor = "OxFFFFFF"; if (mc != undefined) { if (killhandler != undefined) { mc[killhandler](); } } }; if (changeHandler != undefined) { tf.onChanged = function () { mc[changeHandler](); }; } } static function typewriter(movie, texto, textfield, zahl, func, song) { movie.fertig = false; var introZahl = 0; textfield.htmlText = ""; if (zahl == undefined) { zahl = 6; } var la = (texto.length + 1); var soundZahl = 0; textfield.html = true; movie.onEnterFrame = function () { if (introZahl < la) { textfield.htmlText = texto.substr(0, introZahl); introZahl = introZahl + zahl; if (song != undefined) { if (soundZahl == 0) { _global.playSound(movie, song, 100); } soundZahl++; if (soundZahl > 6) { soundZahl = 0; } } } if (introZahl >= la) { textfield.htmlText = texto; delete movie.onEnterFrame; movie.fertig = true; if (func != undefined) { movie[func](); } } }; } static function textRendering(textField_txt) { textField_txt.antiAliasType = "advanced"; textField_txt.gridFitType = "subpixel"; } static function dropTextShadow(txtField, color, value) { ch.mda.util.ColorUtil.dropShadow(txtField, color, value); } }
Symbol 185 MovieClip [__Packages.ch.mda.util.ColorUtil] Frame 0
class ch.mda.util.ColorUtil { function ColorUtil () { } static function initialize() { _global.farbMc = farbMc; _global.clearRGB = clearRGB; _root.dropShadow = dropShadow; _root.testHex = testHex; trace("init util [ch.mda.util.StringUtil]"); } static function farbMc(mc, dieFarbe) { if (dieFarbe == undefined) { _root.traceMessage(mc + ": farbe nicht definiert[farbMc]"); return(undefined); } if (mc == undefined) { _root.traceMessage(dieFarbe + ": mc nicht definiert[farbMc]"); return(undefined); } var _local3 = changeToNumber(dieFarbe); var _local5 = new Color(mc); _local5.setRGB(_local3); } static function changeToNumber(dieFarbe) { var _local1 = Number(dieFarbe); var _local4 = _local1.toString(); if (_local4 != "NaN") { var _local2 = dieFarbe; } else { var _local2 = ch.mda.util.StringUtil.replaceString(dieFarbe, "#", "0x"); } return(_local2); } static function clearRGB(mc) { var _local1 = new Color(mc); _local1.setTransform({ra:100, ga:100, ba:100, rb:0, gb:0, bb:0}); } static function toHExNumber(color) { var _local1 = ch.mda.util.StringUtil.replaceString(color, "#", "0x"); var _local2 = parseInt(_local1, 16); return(_local2); } static function RGBtoHEX(farbe) { if (_root.tiefe == undefined) { _root.tiefe = 100; } _root.tiefe++; var _local4 = _root.createEmptyMovieClip("prov_mc" + _root.tiefe, _root.tiefe); var _local5 = new Color(_local4); _local5.setRGB(farbe); var _local3 = _local5.getTransform(); var _local2 = {r:_local3.rb, g:_local3.gb, b:_local3.bb}; _local4.removeMovieClip(); if (_local2.r < 0) { _local2.r = 0; } if (_local2.g < 0) { _local2.g = 0; } if (_local2.b < 0) { _local2.b = 0; } var _local7 = ((_local2.r.toString(16).length < 2) ? ("0" + _local2.r.toString(16).toUpperCase()) : (_local2.r.toString(16).toUpperCase())); var _local8 = ((_local2.g.toString(16).length < 2) ? ("0" + _local2.g.toString(16).toUpperCase()) : (_local2.g.toString(16).toUpperCase())); var _local6 = ((_local2.b.toString(16).length < 2) ? ("0" + _local2.b.toString(16).toUpperCase()) : (_local2.b.toString(16).toUpperCase())); return((("#" + _local7) + _local8) + _local6); } static function dropShadow(mc, color, value) { if (value == undefined) { value = 3; } if (color == undefined) { color = 3355443 /* 0x333333 */; } color = Number(changeToNumber(color)); var _local1 = new flash.filters.DropShadowFilter(); _local1.blurX = value; _local1.blurY = value; _local1.distance = value; _local1.angle = 35; _local1.quality = 3; _local1.alpha = 0.5; _local1.color = color; _local1.strength = 1; mc.filters = [_local1]; } static function removeShadow(mc) { mc.filters = []; } static function testHex(test) { var _local1 = test.substring(0, 1); if (_local1 == "#") { return(true); } return(false); } static function simpleGradient(mc, f1, f2, wSize, hSize, fype) { if (mc == undefined) { _root.traceMessage("mc undefined [simpleGradient]"); return(undefined); } if (f1 == undefined) { _root.traceMessage(mc + " f1 undefined [simpleGradient]"); } if (f2 == undefined) { _root.traceMessage(mc + " f2 undefined [simpleGradient]"); } clearRGB(mc); mc.clear(); var _local3 = "linear"; if (fype != undefined) { _local3 = fype; } var _local8 = [changeToNumber(f1), changeToNumber(f2)]; var _local4 = [100, 100]; var _local9 = [0, 255]; var _local6 = {matrixType:"box", x:0, y:0, w:wSize, h:hSize, r:(Math.PI/2)}; mc.lineStyle(0, 16777215, 0); mc.beginGradientFill(_local3, _local8, _local4, _local9, _local6); mc.lineTo(wSize, 0); mc.lineTo(wSize, hSize); mc.lineTo(0, hSize); mc.lineTo(0, 0); mc.endFill(); } }
Symbol 186 MovieClip [__Packages.ch.mda.util.MovieUtil] Frame 0
class ch.mda.util.MovieUtil { function MovieUtil () { } static function initialize() { _root.toLocal = toLocal; _root.toGlobal = toGlobal; _root.removeMc = removeMc; _root.testMc = testMc; _root.stopMc = stopMc; _root.playMc = playMc; _root.stopOrPlay = stopOrPlay; _root.makeBitmapSmoothed = makeBitmapSmoothed; trace("init util [ch.mda.util.MovieUtil]"); } function orientar(mc, x, y) { mc.difx = mc._x - x; mc.dify = mc._y - y; var _local2 = Math.atan2(mc.dify, mc.difx); _local2 = (_local2 * 180) / Math.PI; _local2 = _local2 - 90; mc._rotation = _local2; } static function toLocal(clip, x, y) { var _local1 = {}; _local1.x = x; _local1.y = y; clip.globalToLocal(_local1); return({x:_local1.x, y:_local1.y}); } static function toGlobal(clip, x, y) { var _local1 = {}; _local1.x = x; _local1.y = y; clip.localToGlobal(_local1); return({x:_local1.x, y:_local1.y}); } static function removeMc(o_mc) { if (testMc(o_mc)) { o_mc.removeMovieClip(); } return(undefined); } static function testMc(o_mc) { if (o_mc._totalframes == undefined) { return(false); } return(true); } static function stopMc(mc) { for (var _local2 in mc) { if (typeof(mc[_local2]) == "movieclip") { mc[_local2].stop(); stopMc(mc[_local2]); } } } static function playMc(mc) { for (var _local2 in mc) { if (typeof(mc[_local2]) == "movieclip") { mc[_local2].play(); playMc(mc[_local2]); } } } static function stopOrPlay(mc, command) { if (command) { playMc(mc); } else { stopMc(mc); } } static function makeBitmapSmoothed(source_mc, target_mc, $tiefe, $fillColor) { if ($fillColor == undefined) { $fillColor = 0; } var _local3 = new flash.display.BitmapData(source_mc._width, source_mc._height, true, $fillColor); if ($tiefe == undefined) { $tiefe = target_mc.getNextHighestDepth(); } var _local1 = target_mc.createEmptyMovieClip("bmc" + $tiefe, $tiefe); _local1.attachBitmap(_local3, _local1.getNextHighestDepth(), "auto", true); _local3.draw(source_mc); return(_local1); } }
Symbol 187 MovieClip [__Packages.ch.mda.core.SoundControl] Frame 0
class ch.mda.core.SoundControl extends MovieClip { var oberSound, meinVol, lister_array, stop, slider_mc, behalt, durchstreich_mc, sound_pb; function SoundControl () { super(); _root.soundControl_mc = this; _global.soundzustand = true; oberSound = new Sound(); meinVol = 80; lister_array = new Array(); var _local5 = "ch.mda.core.SoundControl: " + this; if (System.capabilities.playerType == "External") { trace(_local5); } (stop());// not popped } function machLaut() { meinVol = slider_mc.getValue(); oberSound.setVolume(meinVol); } function mikro() { if (_global.soundzustand) { setSoundState(false); } else { setSoundState(true); } if (_global.soundzustand) { _global.soundClick(100); if (behalt != undefined) { ch.mda.core.PresenterSounds.playSound(_root.soundControl_mc.behalt.wo, _root.soundControl_mc.behalt.song, _root.soundControl_mc.behalt.lautstark, _root.soundControl_mc.behalt.loop, true); } } else if (!_global.soundzustand) { var _local4 = 0; while (_local4 < lister_array.length) { lister_array[_local4].setSoundState(false); _local4++; } } } function setSoundState(value) { _global.soundzustand = value; if (_global.soundzustand) { slider_mc.setEnabled(true); durchstreich_mc._visible = false; } else { slider_mc.setEnabled(false); durchstreich_mc._visible = true; stopAllSounds(); } } function addListener(mc) { lister_array.push(mc); } function removeListener(mc) { var _local2 = 0; while (_local2 < lister_array.length) { if (lister_array[_local2] == mc) { lister_array.splice(_local2, 1); break; } _local2++; } } function onLoad() { sound_pb.setClickHandler("mikro", this); sound_pb.setTip(_root.t_soundinfo); durchstreich_mc._visible = false; slider_mc.setChangeHandler("machLaut", this); } }
Symbol 188 MovieClip [__Packages.ch.mda.FreeText] Frame 0
class ch.mda.FreeText extends MovieClip { var container_mc, fake_mc, myFontErsatz, scrollerBreite, tiefe, boxAbstand, linkColorOver, linkColor, id, obj, meinePositions, species, hatBox, textFarbe, boxTextFarbe, hatBorder, meinSize, borderFarbe, meineBreite, fontEinbetten, fontPlain, meinText, myFont, hatScroll, $hoehe, winText_mc, meinTextfeld_txt, my_styleSheet, textShadow, hatLabel, labelColor, labelWinText_mc, createEmptyMovieClip, meinLabel_txt, label_styleSheet, labelBack_mc, $randLabel_mc, backFarbe, $back_mc, $rand_mc, myScrollBar, hatDelay, hatTween, dInterval, meinTextFormat, c_btn, sInterval, abstandHohe, label; function FreeText () { super(); container_mc = this; resettMich(); fake_mc._visible = false; container_mc.back_mc._visible = false; container_mc.rand_mc._visible = false; myFontErsatz = "Verdana"; scrollerBreite = 15; tiefe = 100; boxAbstand = 8; var _local3 = "init ch.mda.FreeText: " + container_mc; if (System.capabilities.playerType == "External") { trace(_local3); } linkColorOver = "#FF0000"; linkColor = "#0000FF"; } function setText(content, breite, position, c_species, fontSize, textColor, backColor, borderColor, maxHoehe, minHoehe, fontEinbinden, selectable, animation, typewriter, label, $labelColor, delay, window, $obj) { resettMich(); id = obj.id; obj = $obj; var _local26; if (content == "$") { return(undefined); } if (content == undefined) { trace(container_mc + ": kein Text"); return(undefined); } if (obj.boxSpace != undefined) { boxAbstand = Number(obj.boxSpace); } container_mc._visible = true; if (position != undefined) { if (typeof(position) == "string") { var _local18 = position.split("*"); meinePositions = {x:Number(_local18[0]), y:Number(_local18[1])}; } else if (position instanceof MovieClip) { meinePositions = getPosition(position); } else if (position instanceof TextField) { meinePositions = getPosition(position); } else if (position.x != undefined) { meinePositions = position; } container_mc._x = meinePositions.x; container_mc._y = meinePositions.y; } else { meinePositions = {x:container_mc._x, y:container_mc._y}; } if (c_species != undefined) { species = c_species; } if (species == "plainText") { hatBox = false; } if (species == "box") { hatBox = true; textFarbe = boxTextFarbe; } if (species == "boxWithBorder") { hatBox = true; hatBorder = true; } if (fontSize != undefined) { meinSize = Number(fontSize); } if (obj.textSize != undefined) { meinSize = Number(obj.textSize); } if (textColor != undefined) { textFarbe = textColor; } if (borderColor != undefined) { borderFarbe = borderColor; } var _local33 = 0; var _local30 = 0; if (breite != undefined) { meineBreite = Number(breite); } if (hatBox) { var _local11 = meineBreite - boxAbstand; } else { var _local11 = meineBreite; } if ((_root.p_fontEinbetten == false) || (_root.p_fontEinbetten == undefined)) { fontEinbetten = false; } if (_root.s_embedFonts == false) { fontEinbetten = false; } else if (_root.s_embedFonts == true) { fontEinbetten = true; } if (fontEinbinden == "false") { fontEinbetten = false; } else if (fontEinbinden == "true") { fontEinbetten = true; } if (_root.p_fontErsatz != undefined) { myFontErsatz = _root.p_fontErsatz; } if (_root.s_fontReplacement != undefined) { myFontErsatz = _root.s_fontReplacement; } fontPlain = _root.p_hauptschrift; if (obj.fontReplacement != undefined) { myFontErsatz = obj.fontReplacement; fontPlain = obj.fontReplacement; } meinText = content; if (fontEinbetten) { myFont = fontPlain; } else { myFont = myFontErsatz; } if (maxHoehe != undefined) { hatScroll = true; $hoehe = Number(maxHoehe); var _local11 = _local11 - scrollerBreite; } else { hatScroll = false; $hoehe = 24; } tiefe++; winText_mc = container_mc.createEmptyMovieClip("w", tiefe); winText_mc.jump = function (wert) { var _local2 = wert.split("*"); if (_local2[1] == undefined) { _local2 = wert.split("|"); } _global.jumpChapter(_local2[0], Number(_local2[1])); }; var _local22 = 10; winText_mc.createTextField("t_txt", 2, 0, 0, _local11, _local22); meinTextfeld_txt = winText_mc.t_txt; if (hatScroll) { meinTextfeld_txt.autoSize = "left"; } else { meinTextfeld_txt.autoSize = "left"; } meinTextfeld_txt.multiline = true; meinTextfeld_txt.wordWrap = true; meinTextfeld_txt.html = true; if (_root.s_selectable == "false") { meinTextfeld_txt.selectable = false; } else if (selectable == false) { meinTextfeld_txt.selectable = false; } else if (selectable == "false") { meinTextfeld_txt.selectable = false; } meinTextFormat = new TextFormat(); meinTextFormat.leading = 2; if (obj.leading != undefined) { meinTextFormat.leading = Number(obj.leading); } if (fontEinbetten) { meinTextfeld_txt.embedFonts = true; ch.mda.util.TextFieldUtil.textRendering(meinTextfeld_txt); } else if (fontEinbetten == false) { meinTextfeld_txt.embedFonts = false; } if (obj.html == "false") { meinTextFormat.font = fontPlain; meinTextFormat.size = Number(meinSize); meinTextFormat.color = Number(ch.mda.util.StringUtil.replaceString(textFarbe, "#", "0x")); meinTextfeld_txt.html = false; meinTextfeld_txt.text = content; meinTextfeld_txt.setTextFormat(meinTextFormat); } else { if (_root.p_mainColors.linkColorOver != undefined) { linkColorOver = _root.p_mainColors.linkColorOver; } if (obj.linkColorOver != undefined) { linkColorOver = obj.linkColorOver; } if (_root.p_mainColors.linkColor != undefined) { linkColor = _root.p_mainColors.linkColor; } if (obj.linkColor != undefined) { linkColor = obj.linkColor; } my_styleSheet = new TextField.StyleSheet(); var _local7 = ("a:hover{ color: " + linkColorOver) + ";}"; var _local19 = "underline"; if ((obj.textDecoration == "none") || (obj.textDecoration == "false")) { _local19 = "none"; } _local7 = _local7 + (((("a{ color: " + linkColor) + "; text-decoration: ") + _local19) + ";}"); _local7 = _local7 + "body {"; _local7 = _local7 + (("font-family: " + myFont) + ";"); _local7 = _local7 + (("fontSize: " + meinSize) + ";"); _local7 = _local7 + (("color: " + textFarbe) + ";"); if (obj.textAlign != undefined) { _local7 = _local7 + (("text-align: " + obj.textAlign) + ";"); } _local7 = _local7 + "}"; if (my_styleSheet.parseCSS(_local7)) { meinTextfeld_txt.styleSheet = my_styleSheet; meinText = ("<body>" + content) + "</body>"; } meinTextfeld_txt.htmlText = meinText; meinTextfeld_txt.setTextFormat(meinTextFormat); } if (ch.mda.util.ColorUtil.testHex(obj.shadow)) { if (obj.shadowBlur == undefined) { winText_mc.createTextField("t1_txt", 1, 1, 1, _local11, $hoehe); winText_mc.t1_txt.selectable = false; winText_mc.t1_txt.multiline = true; winText_mc.t1_txt.wordWrap = true; winText_mc.t1_txt.html = true; winText_mc.t1_txt.autoSize = "left"; winText_mc.t1_txt.setTextFormat(meinTextFormat); if (fontEinbetten) { winText_mc.t1_txt.embedFonts = true; } else if (fontEinbetten == false) { winText_mc.t1_txt.embedFonts = false; } winText_mc.t1_txt.styleSheet = my_styleSheet; winText_mc.t1_txt.htmlText = meinText; ch.mda.util.TextFieldUtil.textRendering(winText_mc.t1_txt); ch.mda.util.ColorUtil.farbMc(winText_mc.t1_txt, obj.shadow); var _local24 = true; textShadow = winText_mc.t1_txt; } else { v = Number(obj.shadowBlur); ch.mda.util.ColorUtil.dropShadow(meinTextfeld_txt, obj.shadow, v); } } var _local15 = Math.round(winText_mc._height); if (typewriter != undefined) { if (typewriter != false) { if (typewriter != "false") { meinTextfeld_txt.htmlText = ""; } } } var _local6 = 0; if (label != undefined) { if (label != "undefined") { if (label != "$") { hatLabel = true; if (ch.mda.util.ColorUtil.testHex($labelColor)) { labelColor = $labelColor; } if (obj.species == "boxWithBorder") { } labelWinText_mc = createEmptyMovieClip("w1", 1000); labelWinText_mc.createTextField("l_txt", 20, 6, 1, meineBreite - 4, 11); meinLabel_txt = labelWinText_mc.l_txt; meinLabel_txt.autoSize = "left"; meinLabel_txt.multiline = true; meinLabel_txt.wordWrap = true; meinLabel_txt.html = true; if (_root.s_selectable == "false") { meinLabel_txt.selectable = false; } else if (selectable == false) { meinLabel_txt.selectable = false; } var meinTextFormat = new TextFormat(); meinTextFormat.leading = 2; meinLabel_txt.setTextFormat(meinTextFormat); if (fontEinbetten) { meinLabel_txt.embedFonts = true; } else if (fontEinbetten == false) { meinLabel_txt.embedFonts = false; } label_styleSheet = new TextField.StyleSheet(); var _local7 = "body {"; _local7 = _local7 + (("font-family: " + myFont) + ";"); _local7 = _local7 + (("fontSize: " + meinSize) + ";"); _local7 = _local7 + (("color: " + labelColor) + ";"); _local7 = _local7 + "}"; if (label_styleSheet.parseCSS(_local7)) { meinLabel_txt.styleSheet = label_styleSheet; var _local25 = ("<body>" + label) + "</body>"; } meinLabel_txt.htmlText = _local25; ch.mda.util.TextFieldUtil.textRendering(meinLabel_txt); if (ch.mda.util.ColorUtil.testHex(obj.labelShadow)) { if (obj.shadowBlur == undefined) { labelWinText_mc.createTextField("l2_txt", 1, 7, 2, meineBreite - 4, 11); labelWinText_mc.l2_txt.autoSize = "left"; labelWinText_mc.l2_txt.multiline = true; labelWinText_mc.l2_txt.wordWrap = true; labelWinText_mc.l2_txt.html = true; labelWinText_mc.l2_txt.selectable = false; if (fontEinbetten) { labelWinText_mc.l2_txt.embedFonts = true; } else if (fontEinbetten == false) { labelWinText_mc.l2_txt.embedFonts = false; } labelWinText_mc.l2_txt.styleSheet = label_styleSheet; labelWinText_mc.l2_txt.htmlText = label; labelWinText_mc.l2_txt.setTextFormat(meinTextFormat); ch.mda.util.TextFieldUtil.textRendering(labelWinText_mc.l2_txt); ch.mda.util.ColorUtil.farbMc(labelWinText_mc.l2_txt, obj.labelShadow); } else { v = Number(obj.shadowBlur); ch.mda.util.ColorUtil.dropShadow(meinLabel_txt, obj.labelShadow, v); } } _local6 = Math.round(labelWinText_mc._height); meinTextfeld_txt._y = 2; winText_mc._y = _local6; winText_mc.lineStyle(1, 0, 0); winText_mc.lineTo(0, 10); tiefe++; container_mc.createEmptyMovieClip("labelBack_mc", tiefe); ch.mda.util.DrawUtil.drawRectFill(labelBack_mc, meineBreite, _local6); var _local16 = borderFarbe; if (obj.backColorLabel != undefined) { ch.mda.util.ColorUtil.farbMc(labelBack_mc, obj.backColorLabel); $randLabel_mc = labelWinText_mc.createEmptyMovieClip("rand_mc", 10); ch.mda.util.DrawUtil.drawRectLine($randLabel_mc, meineBreite, _local6); ch.mda.util.ColorUtil.farbMc($randLabel_mc, borderFarbe); _local16 = obj.backColorLabel; } else { ch.mda.util.ColorUtil.farbMc(labelBack_mc, borderFarbe); } if (obj.backColorLabel_G != undefined) { ch.mda.util.ColorUtil.simpleGradient(labelBack_mc, _local16, obj.backColorLabel_G, meineBreite, _local6); } } } } if (hatBox) { if (backColor != undefined) { backFarbe = backColor; } var _local27 = boxAbstand / 2; if (_local15 > 30) { _local27 = (boxAbstand / 2) + boxAbstand; } container_mc.createEmptyMovieClip("$back_mc", 1); ch.mda.util.DrawUtil.drawRectFill($back_mc, meineBreite, _local15 + _local27); ch.mda.util.ColorUtil.farbMc($back_mc, backFarbe); if (obj.alpha != undefined) { var _local28 = ch.mda.util.StringUtil.checkStringToNumber(obj.alpha); if (_local28) { $back_mc._alpha = Number(obj.alpha); } } if (minHoehe != undefined) { minHoehe = Number(minHoehe); if ($back_mc._height < minHoehe) { $back_mc._height = minHoehe; } } meinTextfeld_txt._x = boxAbstand / 2; meinTextfeld_txt._y = boxAbstand / 2; if (_local24) { winText_mc.t1_txt._x = (boxAbstand / 2) + 1; winText_mc.t1_txt._y = (boxAbstand / 2) + 1; } if (ch.mda.util.ColorUtil.testHex(obj.shadowBox)) { var v = 5; if (obj.shadowBoxBlur != undefined) { v = Number(obj.shadowBoxBlur); } ch.mda.util.ColorUtil.dropShadow(container_mc, obj.shadowBox, v); } } if (hatScroll) { $back_mc._height = $hoehe; } if (obj.backColor_G != undefined) { ch.mda.util.ColorUtil.simpleGradient($back_mc, backFarbe, obj.backColor_G, $back_mc._width, $back_mc._height); } if (hatBorder) { container_mc.createEmptyMovieClip("$rand_mc", 98765543); ch.mda.util.DrawUtil.drawRectLine($rand_mc, $back_mc._width, $back_mc._height); ch.mda.util.ColorUtil.farbMc($rand_mc, borderFarbe); if (hatLabel) { if (obj.species == "boxWithBorder") { $back_mc._y = _local6; $rand_mc._y = _local6; } } } if (hatScroll) { if (meinTextfeld_txt._height > $hoehe) { trace(container_mc + " scoller wird gesetzt"); if (myScrollBar == undefined) { tiefe++; myScrollBar = container_mc.attachMovie("ultimateScroller", "scroller", tiefe); } else { tiefe++; myScrollBar._visible = true; myScrollBar.swapDepths(tiefe); } myScrollBar._y = $back_mc._y; myScrollBar._x = meineBreite - (scrollerBreite - 1); myScrollBar.scrollWidth = scrollerBreite; myScrollBar.face = 15658734 /* 0xEEEEEE */; myScrollBar.scrollTrack = 16053492 /* 0xF4F4F4 */; var h = $back_mc._height; if (h == undefined) { h = $hoehe; } if ($back_mc._height < 60) { $back_mc._height = 60; $rand_mc._height = $back_mc._height; } myScrollBar.size = h; myScrollBar.useMask = true; myScrollBar.scrollTarget = winText_mc; } } container_mc._alpha = 100; if (delay != undefined) { if (delay != "undefined") { if (delay != "false") { if (delay != false) { var _local17 = ch.mda.util.StringUtil.checkStringToNumber(delay); if (_local17) { hatDelay = true; } } } } } if (animation != undefined) { if (animation != false) { if (animation != "false") { if (animation != "undefined") { container_mc._visible = false; var _local17 = ch.mda.util.StringUtil.checkStringToNumber(animation); if (_local17) { var _local20 = Number(animation); } else { var _local20 = 2; } if (hatDelay == false) { if (obj.displayOnEvent != "true") { machTween(_local20); } } else { hatTween = _local20; } } } } } if (typewriter != undefined) { if (typewriter != false) { if (typewriter != "false") { if (typewriter != "undefined") { var _local17 = ch.mda.util.StringUtil.checkStringToNumber(typewriter); if (_local17) { var _local20 = Number(typewriter); if (_local17 == 0) { _local20 = 1; } } else { var _local20 = 1; } if (hatDelay == false) { machTypeWriter(_local20); } else { _local26 = _local20; } } } } } if (hatDelay) { if (obj.displayOnEvent != "true") { container_mc._visible = false; var mc = container_mc; var d = Number(delay); var c = 0; var h = hatTween; var t = _local26; var _local23 = function () { c = c + 500; if ((c / 1000) >= d) { clearInterval(dInt); mc._visible = true; if (h != undefined) { mc.machTween(h); } if (t != undefined) { mc.machTypeWriter(t); } } }; dInterval = setInterval(_local23, 500); var dInt = dInterval; } } if ((window == "true") || (window == true)) { if (label != undefined) { treatAsWindow(true); } } if (obj.rotation != undefined) { container_mc._rotation = Number(obj.rotation); } if (obj.displayOnEvent == "true") { container_mc._alpha = 0; _root.content_mc.buildDisplayList(container_mc, "displayOnEvent"); _root.navigations_mc.navi_pb.stopShine(); _root.navigations_mc.navi_pb.shine(); } else { moreTweens(); } } function setTextObject(s) { var _local6 = ch.mda.util.StringUtil.checkStringToNumber(s.width); if (_local6) { var _local5 = Number(s.width); } _local6 = ch.mda.util.StringUtil.checkStringToNumber(s.height); if (_local6) { var _local8 = Number(s.height); } _local6 = ch.mda.util.StringUtil.checkStringToNumber(s.heightAbs); if (_local6) { var _local7 = Number(s.heightAbs); } var _local4 = ch.mda.util.StringUtil.stringToBoolean(s.selectable); for (var _local3 in s) { if (s[_local3] == "") { delete s[_local3]; } if (s[_local3] == "undefined") { s[_local3] = undefined; } } setText(s.text, _local5, s.position, s.species, s.fontSize, s.textColor, s.backColor, s.borderColor, _local8, _local7, s.embedFonts, _local4, s.animation, s.typeWriter, s.label, s.labelColor, s.delay, s.window, s); } function setTextFormat(t) { setTextObject(t); container_mc._visible = false; } function changeText(content, label) { if (obj.html == "false") { meinTextfeld_txt.text = content; meinTextfeld_txt.setTextFormat(meinTextFormat); } else { meinText = ("<body>" + content) + "</body>"; meinTextfeld_txt.htmlText = meinText; } if (label != undefined) { if (label != "$") { var _local3 = ("<body>" + label) + "</body>"; meinLabel_txt.htmlText = _local3; } } } function set text(content) { changeText(content); //return(text); } function setInput(wert) { if (wert) { meinTextfeld_txt.type = "input"; meinTextfeld_txt.selectable = true; } else { meinTextfeld_txt.type = "dynamic"; } } function setSelectable(wert) { meinTextfeld_txt.selectable = wert; } function getText() { return(meinTextfeld_txt.text); } function get text() { var _local2 = getText(); return(_local2); } function getTextfeld() { return(meinTextfeld_txt); } function getHTMLText() { return(meinTextfeld_txt.htmlText); } function treatAsWindow(wert) { meinLabel_txt.selectable = false; var _local4 = Math.floor((labelBack_mc._height - 14) / 2); var _local3 = {_x:container_mc._width - 20, _y:_local4}; var _local2 = labelBack_mc.getDepth() + 100; c_btn = container_mc.attachMovie("closeSmall_pb", "close_btn", _local2, _local3); c_btn.setClickHandler("removeMich", container_mc); if ((wert == false) || (wert == undefined)) { } else { labelBack_mc.onPress = function () { this._parent.startDrag(false, 160, 100, 1022 - this._parent._width, 600); this._parent._parent.tiefe++; this._parent.swapDepths(this._parent._parent.tiefe); }; labelBack_mc.onRelease = function () { (this.stopDrag());// not popped }; labelBack_mc.onReleaseOutside = function () { (this.stopDrag());// not popped }; } } function removeMich() { container_mc._visible = false; container_mc._x = meinePositions.x; container_mc._y = meinePositions.y; container_mc.removeMovieClip(); } function displayOnEvent() { var _local2 = 1; if (obj.animation != undefined) { if (obj.animation != "true") { if (obj.animation != "false") { _local2 = Number(obj.animation); } } } machTween(_local2); moreTweens(); } function resettMich() { if (sInterval != undefined) { clearInterval(sInterval); } if (dInterval != undefined) { clearInterval(dInterval); } meinText = undefined; $back_mc.removeMovieClip(); $rand_mc.removeMovieClip(); delete my_styleSheet; delete label_styleSheet; meinePositions = {x:container_mc._x, y:container_mc._y}; meineBreite = 280; ch.mda.core.componentStandarts.makeToStandard(container_mc, "meineBreite", _root.s_secondColumWidth); textFarbe = "#000000"; ch.mda.core.componentStandarts.makeToStandard(container_mc, "textFarbe", _root.s_textColor); boxTextFarbe = "#000000"; ch.mda.core.componentStandarts.makeToStandard(container_mc, "boxTextFarbe", _root.s_boxTextColor); backFarbe = "#F4F4F4"; ch.mda.core.componentStandarts.makeToStandard(container_mc, "backFarbe", _root.s_boxColor); borderFarbe = "#666666"; ch.mda.core.componentStandarts.makeToStandard(container_mc, "borderFarbe", _root.s_boxBorderColor); meinSize = 15; ch.mda.core.componentStandarts.makeToStandard(container_mc, "meinSize", _root.s_fontSize); species = "plainText"; abstandHohe = 10; ch.mda.core.componentStandarts.makeToStandard(container_mc, "abstandHohe", _root.s_spacing); $hoehe = 24; container_mc._visible = false; fontEinbetten = true; hatDelay = false; labelColor = "#FFFFFF"; ch.mda.core.componentStandarts.makeToStandard(container_mc, "labelColor", _root.s_boxLabelColor); if (hatLabel) { labelBack_mc.removeMovieClip(); labelWinText_mc.removeMovieClip(); c_btn.removeMovieClip(); } label = undefined; hatLabel = undefined; if (hatScroll) { if (myScrollBar != undefined) { trace("mache weg " + myScrollBar); myScrollBar.targetClip.setMask(null); myScrollBar.borderObj.removeMovieClip(); myScrollBar._visible = false; } } hatScroll = false; winText_mc.removeMovieClip(); textShadow = undefined; container_mc._rotation = 0; hatTween = undefined; } function getPosition(ref_mc) { var _local2 = {}; if (ref_mc != undefined) { _local2.x = Math.round(ref_mc._x); _local2.y = Math.round((ref_mc._y + ref_mc._height) + abstandHohe); return(_local2); } return({x:container_mc._x, y:container_mc._y}); } function machTween(zahl) { container_mc._visible = true; container_mc._alpha = 0; container_mc.alphaTo(100, zahl, "easeInOutQuad"); } function machTypeWriter(zahler) { if (textShadow != undefined) { textShadow._visible = false; var sh = textShadow; } var _local2 = function () { ti_txt.htmlText = texto.substring(0, count); count = count + zahler; if (count > texto.length) { clearInterval(sInt); ti_txt.htmlText = texto; sh._visible = true; } trace(count); }; var count = 6; var zahler = zahler; var ti_txt = meinTextfeld_txt; var texto = meinText; sInterval = setInterval(_local2, 100); var sInt = sInterval; } function moreTweens() { ch.mda.util.tweenUtils.moreTweens(container_mc, obj, meinePositions); delete container_mc.onEnterFrame; } function onUnload() { clearInterval(sInterval); clearInterval(dInterval); delete my_styleSheet; delete label_styleSheet; container_mc.stopTween(); } }
Symbol 189 MovieClip [__Packages.ch.mda.core.componentStandarts] Frame 0
class ch.mda.core.componentStandarts { function componentStandarts () { } static function makeToStandard(customer, variable, zielwert) { if ((zielwert != undefined) && (zielwert != "undefined")) { customer[variable] = zielwert; } } }
Symbol 190 MovieClip [__Packages.ch.mda.util.tweenUtils] Frame 0
class ch.mda.util.tweenUtils { function tweenUtils () { } static function machTween(container_mc, obj) { if (obj.animation != undefined) { if (obj.animation != "false") { if (obj.animation == "true") { var _local3 = ch.mda.util.StringUtil.checkStringToNumber(obj.animation); if (_local3) { var _local5 = Number(obj.animation); } else { var _local5 = 3; } if (obj.delay == undefined) { var _local4 = 0.2; } else { var _local4 = Number(obj.delay); } container_mc._visible = true; container_mc._alpha = 0; container_mc.alphaTo(100, _local5, "easeInQuad", _local4); } } } } static function moreTweens(container_mc, obj, meinePosition) { if (obj.delay == undefined) { var _local3 = 0.2; } else { var _local3 = Number(obj.delay); } if (obj.tweenX != undefined) { if (obj.tweenXStart == undefined) { var _local6 = 1022 + container_mc._width; } else { var _local6 = Number(obj.tweenXStart); } var _local8 = meinePosition.x; container_mc._x = _local6; container_mc.tween("_x", _local8, Number(obj.tweenX), "easeInQuad", _local3); } if (obj.tweenY != undefined) { if (obj.tweenYStart == undefined) { var _local5 = 700 + container_mc._height; } else { var _local5 = Number(obj.tweenYStart); } var _local7 = meinePosition.y; container_mc._y = _local5; container_mc.tween("_y", _local7, Number(obj.tweenY), "easeInQuad", _local3); } if (obj.tweenScale != undefined) { if (obj.tweenScaleStart == undefined) { var _local4 = 0; } else { var _local4 = Number(obj.tweenScaleStart); } var _local8 = 100; container_mc._xscale = _local4; container_mc._yscale = _local4; container_mc.scaleTo(_local8, Number(obj.tweenScale), "easeInQuad", _local3); } if (obj.tweenRotate != undefined) { if (obj.tweenRotateStart == undefined) { var _local9 = -90; } else { var _local9 = Number(obj.tweenRotateStart); } var _local8 = 0; container_mc._rotation = _local9; container_mc.tween("_rotation", _local8, Number(obj.tweenRotate), "easeInQuad", _local3); } } static function doDelay(container_mc, obj) { var mc = container_mc; if (obj.delay != undefined) { if (obj.delay != "undefined") { if (obj.delay != "false") { if (obj.delay != false) { var _local4 = ch.mda.util.StringUtil.checkStringToNumber(obj.delay); if (_local4) { container_mc._visible = false; var d = Number(obj.delay); var c = 0; var _local3 = function () { c = c + 500; if ((c / 1000) >= d) { mc._visible = true; clearInterval(dasInterval); } }; var dasInterval = setInterval(_local3, 500); container_mc.onUnload = function () { clearInterval(dasInterval); }; return(dasInterval); } } } } } } }
Symbol 71 MovieClip Frame 1
stop();
Symbol 109 MovieClip Frame 1
stop();
Symbol 109 MovieClip Frame 2
stop();
Symbol 109 MovieClip Frame 3
stop();
Symbol 109 MovieClip Frame 4
stop();
Symbol 109 MovieClip Frame 5
stop();
Symbol 109 MovieClip Frame 6
stop();
Symbol 109 MovieClip Frame 7
stop();
Symbol 109 MovieClip Frame 8
stop();
Symbol 109 MovieClip Frame 9
stop();
Symbol 109 MovieClip Frame 10
stop();
Symbol 109 MovieClip Frame 11
stop();
Symbol 109 MovieClip Frame 12
stop();
Symbol 109 MovieClip Frame 13
stop();
Symbol 109 MovieClip Frame 14
stop();
Symbol 109 MovieClip Frame 15
stop();
Symbol 109 MovieClip Frame 16
stop();
Symbol 109 MovieClip Frame 17
stop();
Symbol 110 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 1
function down() { machFrameArray(); dauer = 20; fininsh = true; up = true; slotLauf = true; machBut = false; if (_root.slotSound == undefined) { _root.slotSound = _global.playSound(this._parent._parent, "laufsound", 50, 3000, false, false); } this.onEnterFrame = function () { if (fininsh) { karte_mc.k2.gotoAndStop(karte_mc.k1._currentframe); karte_mc._y = 0; karte_mc.k1.gotoAndStop(meineFrames_array[0]); meineFrames_array.shift(); if (meineFrames_array.length < 1) { machFrameArray(); } if (up) { if (dauer > 3) { dauer = dauer - 5; if (dauer < 4) { dauer = 3; } } else if (machBut == false) { but_1_pb.setEnabled(true); _global.playSound(this, "Dididup", 30); machBut = true; } } if (!up) { if (dauer < 50) { dauer = dauer + 10; if (dauer > 30) { karte_mc.k1.gotoAndStop(zielframe); onMotionFinished = function () { slotLauf = false; _parent.checkGame(); _global.playSoundd(slot_mc, "Dididup", 50, 1, false, false); }; karte_mc.tween("_y", intanz_mc._y, dauer / 20, "easeInQuad", 0, onMotionFinished); delete this.onEnterFrame; fininsh = false; return(undefined); } } } machTween(karte_mc._y, intanz_mc._y, dauer / 10); } }; } function machFrameArray() { var _local2 = karte_mc.k1._totalframes; meineFrames_array = _root.randomNumbers(_local2, totalbilder); } function machTween(startY, zielY, dauer) { fininsh = false; onMotionFinished = function () { fininsh = true; }; karte_mc.tween("_y", zielY, dauer, "easeInQuad", 0, onMotionFinished); } function stopMySlot() { _root.traceObject("hallo"); up = false; but_1_pb.setEnabled(false); status_txt.text = _parent.slotNeutral; _global.playSound(this, "endsoundi", 80, 1, false, false); } function startSlot() { but_1_pb.setEnabled(false); status_txt.text = _parent.slotFrageZeichen; if (up) { return(undefined); } down(); } function machAktiv() { but_1_pb.setEnabled(true); } function machPassiv() { but_1_pb.setEnabled(false); } stop(); slot_mc = this; but_1_pb.setClickHandler("stopMySlot"); buttonColor = {}; buttonColor.norm = "#ffa30a"; buttonColor.over = "#FFFFFF"; buttonColor.press = "#D5D5D5"; buttonColor.click = "#CC0000"; buttonColor.disabled = "#F1F1F1"; buttonColor.heightLight = "#006600"; buttonColorText = {}; buttonColorText.norm = "#FFFFFF"; buttonColorText.over = "#ffa30a"; buttonColorText.press = "#CCCCCC"; buttonColorText.click = "#CCCCCC"; buttonColorText.disabled = "#CCCCCC"; buttonColorText.heightLight = "#FFFFFF"; buttonColorText.border = "#ffa30a"; but_1_pb.setColorObj(buttonColor, buttonColorText); but_1_pb.setSize(80, 26, 15, 2); but_1_pb.setLabel("STOP", 15, true); but_1_pb.setEnabled(false);
Symbol 122 MovieClip Frame 1
stop();
Symbol 122 MovieClip Frame 3
stop();
Symbol 123 MovieClip Frame 1
moveMe = function () { this._x = this._x + this.dx; this._y = this._y + this.dy; this.dy = this.dy + 0.5; this._alpha = this._alpha - 2; if (this._y > 400) { this.dx = (Math.random() * 10) - 5; this.dy = (Math.random() * -10) - 10; this._alpha = 100; this._x = 0; this._y = 80; } }; i = 0; while (i < 120) { nm = "star" + i; mainstar.duplicateMovieClip(nm, i); this[nm].dx = (Math.random() * 10) - 5; this[nm].dy = (Math.random() * -10) - 10; this[nm].onEnterFrame = moveMe; this[nm]._x = 0; this[nm]._y = 80; this[nm].gotoAndStop(_parent.frame); i++; } mainstar.onEnterFrame = moveMe;
Symbol 124 MovieClip Frame 1
fake_mc._visible = false;
Symbol 124 MovieClip Frame 29
gotoAndPlay (2);
Symbol 132 MovieClip Frame 1
stop();
Symbol 132 MovieClip Frame 2
stop();
Symbol 157 MovieClip Frame 1
stop();
Symbol 162 MovieClip Frame 1
function mehr(anzahl) { i = 0; while (i < anzahl) { tiefe = tiefe + 1; mundzahl++; trace((this + "mundzahl") + mundzahl); if (mundzahl > 0) { newMov = this.attachMovie("money_mc", "m" + mundzahl, tiefe); newMov._y = dead_munz._y - (6 * mundzahl); alle_munzen_array.push(newMov); } i++; } schatten_mc._visible = true; } function weg(anzahl) { trace("mundzahl " + mundzahl); if (mundzahl == 0) { return(undefined); } i = 0; while (i < anzahl) { if (mundzahl > 0) { removeMovieClip(eval ("m" + mundzahl)); mundzahl--; trace("mundzahl neu: " + mundzahl); } i++; } var z = eval ("m" + mundzahl); } function alleWeg() { i = 0; while (i < alle_munzen_array.length) { alle_munzen_array[i].removeMovieClip(); i++; } alle_munzen_array = new Array(); mundzahl = 0; schatten_mc._visible = false; } tiefe = 10; mundzahl = 0; dead_munz._visible = false; alle_munzen_array = new Array(); schatten_mc._visible = false; stop();
Symbol 165 MovieClip Frame 1
this._visible = false; stop();
Symbol 170 MovieClip Frame 1
faki_mc._visible = false;
Symbol 170 MovieClip Frame 2
function startRunde(id) { var _local4 = slot1.karte_mc.k1._totalframes; dreiSlots_array = new Array(slot1, slot2, slot3); var _local3 = _root.randomNumbers(_local4, _local4); text_txt.text = _local3; trace("z_array[0] " + _local3[0]); trace("z_array[1] " + _local3[1]); var _local2; i = 0; while (i < 3) { _local2 = random(dreiSlots_array.length); dreiSlots_array[_local2].karte_mc.k1.gotoAndStop(_local3[i]); dreiSlots_array[_local2].karte_mc.k2.gotoAndStop(_local3[i]); dreiSlots_array[_local2].machAktiv(); dreiSlots_array.splice(_local2, 1); i++; } _local3 = _root.randomNumbers(_local4, _local4); text_txt.text = text_txt.text + ("\r\r" + _local3); slot1.zielframe = _local3[0]; slot2.zielframe = _local3[1]; slot3.zielframe = _local3[2]; slot1.status_txt.text = slotBeginn; slot2.status_txt.text = slotBeginn; slot3.status_txt.text = slotBeginn; var _local5 = random(2); gewonnen = false; if (_local5 == 1) { slot1.zielframe = _local3[2]; slot2.zielframe = _local3[2]; slot3.zielframe = _local3[2]; gewonnen = true; } } function checkGame() { if (slot1.karte_mc.k1._currentframe == slot2.karte_mc.k1._currentframe) { if ((!slot1.slotLauf) && (!slot2.slotLauf)) { slot1.status_txt.text = slotSmily; slot2.status_txt.text = slotSmily; } } if (slot1.karte_mc.k1._currentframe == slot3.karte_mc.k1._currentframe) { if ((!slot1.slotLauf) && (!slot3.slotLauf)) { slot3.status_txt.text = slotSmily; slot2.status_txt.text = slotSmily; } } if (slot2.karte_mc.k1._currentframe == slot2.karte_mc.k1._currentframe) { if ((!slot2.slotLauf) && (!slot2.slotLauf)) { slot2.status_txt.text = slotSmily; slot2.status_txt.text = slotSmily; } } if (!slot1.slotLauf) { if (!slot2.slotLauf) { if (!slot3.slotLauf) { trace("runde fertig"); _root.slotSound.stop(); _root.slotSound = undefined; if (gewonnen) { leuchti_mc.gotoAndStop(2); leuchti_mc.leucht_mc.play(); slot1.status_txt.text = slotSmily; slot2.status_txt.text = slotSmily; slot3.status_txt.text = slotSmily; smiley_mc.zeigMich("god"); score = score + 50; geld_mc.mehr(5); _global.soundGood(80); } else { leuchti_mc.gotoAndStop(1); leuchti_mc.leucht_mc.play(); slot1.status_txt.text = slotUnSmily; slot2.status_txt.text = slotUnSmily; slot3.status_txt.text = slotUnSmily; smiley_mc.zeigMich("bad"); _global.soundAlert(50); } if (level > 0) { hebel_mc.enabled = true; } else { hebel_mc.enabled = false; this.leuchti_mc.leucht_mc.leucht_mc._visible = false; fertig_mc._visible = true; fertig_mc.message_txt.text = ("Game over: You got " + score) + " Hits. "; _parent.but_1_pb.setEnabled(true); } message_txt.text = (((("Level " + runde) + "/") + level) + " Score: ") + score; } } } } function neueRunde() { startRunde(); level--; runde++; message_txt.text = (((("Level " + runde) + "/") + level) + " Score: ") + score; } function newGame() { fertig_mc._visible = false; level = 5; smiley_mc.loeschAlles(); smiley_mc.zeigAnzahl(level); hebel_mc.enabled = true; score = 0; message_txt.text = ("Level 0/" + level) + " Score: 0"; runde = 0; geld_mc.alleWeg(); _global.playSound(this, "startBut", 80, 1, false, false); this._parent.but_1_pb.setEnabled(false); } hebel_mc.stop(); slotFrageZeichen = "\u00A1"; slotSmily = "J"; slotUnSmily = "L"; slotNeutral = "K"; slotBeginn = "\u2022"; level = 5;
Symbol 170 MovieClip Frame 3
function goLos() { hebel_mc.enabled = false; leuchti_mc.gotoAndStop(1); leuchti_mc.leucht_mc.stop(); hebel_mc.play(); neueRunde(); fristRun = false; _parent.but_1_pb.setEnabled(false); zahlMich = 0; faki_mc.onEnterFrame = function () { zahlMich++; if (zahlMich > 1) { slot1.machAktiv(); slot1.startSlot(); } if (zahlMich > 10) { slot2.machAktiv(); slot2.startSlot(); } if (zahlMich > 15) { slot3.machAktiv(); slot3.startSlot(); delete faki_mc.onEnterFrame; } }; } newGame(); slot1.machPassiv(); slot2.machPassiv(); slot3.machPassiv(); slot1.karte_mc.k2.gotoAndStop(random(slot1.karte_mc.k1._totalframes)); slot2.karte_mc.k2.gotoAndStop(random(slot1.karte_mc.k1._totalframes)); slot3.karte_mc.k2.gotoAndStop(random(slot1.karte_mc.k1._totalframes)); _parent.but_1_pb.setLabel(_root.t_start, 10, true); _parent.but_1_pb.setClickHandler("newGame", this); _parent.but_1_pb.setLabel("New Game", 12, true); _parent.but_1_pb.setEnabled(false); hebel_mc.onRelease = function () { goLos(); }; fristRun = true; stop(); leuchti_mc.gotoAndStop(1);

Library Items

Symbol 1 Sound [startBut]
Symbol 2 Sound [click]
Symbol 3 Sound [laufsound]
Symbol 4 Sound [harfe]
Symbol 5 Sound [flopp]
Symbol 6 Sound [endsoundi]
Symbol 7 Sound [Dididup]
Symbol 8 Sound [blubby.aiff]
Symbol 9 Sound [alert]
Symbol 10 GraphicUsed by:11 17
Symbol 11 MovieClip [_back_mc]Uses:10Used by:18 19 24 30 34 45 50 114 124 170  Timeline
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClip [_rand_mc]Uses:12Used by:19 24 30 34 45
Symbol 14 GraphicUsed by:15
Symbol 15 MovieClipUses:14Used by:19 30
Symbol 16 GraphicUsed by:18
Symbol 17 MovieClipUses:10Used by:18
Symbol 18 MovieClipUses:11 16 17Used by:19
Symbol 19 MovieClip [simpleSlider_mc]Uses:11 13 15 18Used by:27
Symbol 20 GraphicUsed by:21
Symbol 21 MovieClipUses:20Used by:24
Symbol 22 GraphicUsed by:23
Symbol 23 MovieClipUses:22Used by:24
Symbol 24 MovieClip [sound_pb]Uses:11 13 21 23Used by:27
Symbol 25 GraphicUsed by:26
Symbol 26 MovieClipUses:25Used by:27
Symbol 27 MovieClip [soundControl_mc]Uses:24 19 26Used by:Timeline
Symbol 28 FontUsed by:29 51 54 173 174
Symbol 29 EditableTextUses:28Used by:30
Symbol 30 MovieClip [presenter_pb]Uses:11 13 29 15Used by:Timeline
Symbol 31 GraphicUsed by:32
Symbol 32 MovieClipUses:31Used by:33
Symbol 33 MovieClip [money_mc]Uses:32Used by:162
Symbol 34 MovieClip [kleiner_pb]Uses:11 13Used by:114 165
Symbol 35 GraphicUsed by:36
Symbol 36 MovieClip [smiley_back]Uses:35Used by:41
Symbol 37 GraphicUsed by:38
Symbol 38 MovieClipUses:37Used by:41
Symbol 39 GraphicUsed by:40
Symbol 40 MovieClipUses:39Used by:41
Symbol 41 MovieClip [smiley_parade]Uses:36 38 40Used by:42
Symbol 42 MovieClip [smiley_mc]Uses:41Used by:170
Symbol 43 GraphicUsed by:44
Symbol 44 MovieClipUses:43Used by:45
Symbol 45 MovieClip [freeText_mc]Uses:11 13 44Used by:Timeline
Symbol 46 FontUsed by:47 60
Symbol 47 EditableTextUses:46Used by:Timeline
Symbol 48 BitmapUsed by:49
Symbol 49 GraphicUses:48Used by:50
Symbol 50 MovieClipUses:11 49Used by:Timeline
Symbol 51 EditableTextUses:28Used by:Timeline
Symbol 52 GraphicUsed by:53
Symbol 53 MovieClipUses:52Used by:Timeline
Symbol 54 EditableTextUses:28Used by:Timeline
Symbol 55 FontUsed by:56 172
Symbol 56 EditableTextUses:55Used by:Timeline
Symbol 57 GraphicUsed by:Timeline
Symbol 58 FontUsed by:59 117 158 163 171
Symbol 59 EditableTextUses:58Used by:Timeline
Symbol 175 MovieClip [__Packages.com.mosesSupposes.fuse.Shortcuts]
Symbol 176 MovieClip [__Packages.com.mosesSupposes.fuse.FuseKitCommon]
Symbol 177 MovieClip [__Packages.com.mosesSupposes.fuse.ZigoEngine]
Symbol 178 MovieClip [__Packages.com.mosesSupposes.fuse.ZManager]
Symbol 179 MovieClip [__Packages.ch.mda.core.PresenterSounds]
Symbol 180 MovieClip [__Packages.com.mosesSupposes.fuse.PennerEasing]
Symbol 181 MovieClip [__Packages.ch.mda.FreeButton]
Symbol 182 MovieClip [__Packages.ch.mda.util.DrawUtil]
Symbol 183 MovieClip [__Packages.ch.mda.util.StringUtil]
Symbol 184 MovieClip [__Packages.ch.mda.util.TextFieldUtil]
Symbol 185 MovieClip [__Packages.ch.mda.util.ColorUtil]
Symbol 186 MovieClip [__Packages.ch.mda.util.MovieUtil]
Symbol 187 MovieClip [__Packages.ch.mda.core.SoundControl]
Symbol 188 MovieClip [__Packages.ch.mda.FreeText]
Symbol 189 MovieClip [__Packages.ch.mda.core.componentStandarts]
Symbol 190 MovieClip [__Packages.ch.mda.util.tweenUtils]
Symbol 60 EditableTextUses:46Used by:Timeline
Symbol 61 BitmapUsed by:62
Symbol 62 GraphicUses:61Used by:170
Symbol 63 GraphicUsed by:64
Symbol 64 MovieClipUses:63Used by:170
Symbol 65 GraphicUsed by:71
Symbol 66 GraphicUsed by:71
Symbol 67 BitmapUsed by:69
Symbol 68 BitmapUsed by:69
Symbol 69 GraphicUses:67 68Used by:71
Symbol 70 GraphicUsed by:71
Symbol 71 MovieClipUses:65 66 69 70Used by:72
Symbol 72 MovieClipUses:71Used by:170
Symbol 73 GraphicUsed by:114
Symbol 74 GraphicUsed by:109
Symbol 75 BitmapUsed by:76
Symbol 76 GraphicUses:75Used by:109
Symbol 77 BitmapUsed by:78
Symbol 78 GraphicUses:77Used by:109
Symbol 79 BitmapUsed by:80
Symbol 80 GraphicUses:79Used by:109
Symbol 81 BitmapUsed by:82
Symbol 82 GraphicUses:81Used by:109
Symbol 83 BitmapUsed by:84
Symbol 84 GraphicUses:83Used by:109
Symbol 85 BitmapUsed by:86
Symbol 86 GraphicUses:85Used by:109
Symbol 87 BitmapUsed by:88
Symbol 88 GraphicUses:87Used by:109
Symbol 89 BitmapUsed by:90
Symbol 90 GraphicUses:89Used by:109
Symbol 91 BitmapUsed by:92
Symbol 92 GraphicUses:91Used by:109
Symbol 93 BitmapUsed by:94
Symbol 94 GraphicUses:93Used by:109
Symbol 95 BitmapUsed by:96
Symbol 96 GraphicUses:95Used by:109
Symbol 97 BitmapUsed by:98
Symbol 98 GraphicUses:97Used by:109
Symbol 99 BitmapUsed by:100
Symbol 100 GraphicUses:99Used by:109
Symbol 101 BitmapUsed by:102
Symbol 102 GraphicUses:101Used by:109
Symbol 103 BitmapUsed by:104
Symbol 104 GraphicUses:103Used by:109
Symbol 105 BitmapUsed by:106
Symbol 106 GraphicUses:105Used by:109
Symbol 107 BitmapUsed by:108
Symbol 108 GraphicUses:107Used by:109
Symbol 109 MovieClipUses:74 76 78 80 82 84 86 88 90 92 94 96 98 100 102 104 106 108Used by:110
Symbol 110 MovieClipUses:109Used by:114
Symbol 111 GraphicUsed by:114
Symbol 112 FontUsed by:113
Symbol 113 EditableTextUses:112Used by:114
Symbol 114 MovieClipUses:73 11 110 111 34 113Used by:170
Symbol 115 GraphicUsed by:116 130
Symbol 116 MovieClipUses:115Used by:124
Symbol 117 TextUses:58Used by:124
Symbol 118 GraphicUsed by:124
Symbol 119 GraphicUsed by:122
Symbol 120 GraphicUsed by:122
Symbol 121 GraphicUsed by:122
Symbol 122 MovieClipUses:119 120 121Used by:123
Symbol 123 MovieClipUses:122Used by:124
Symbol 124 MovieClipUses:11 116 117 118 123Used by:131 132
Symbol 125 GraphicUsed by:126
Symbol 126 MovieClipUses:125Used by:131
Symbol 127 GraphicUsed by:128
Symbol 128 MovieClipUses:127Used by:131
Symbol 129 GraphicUsed by:131
Symbol 130 MovieClipUses:115Used by:131
Symbol 131 MovieClipUses:126 128 129 124 130Used by:132
Symbol 132 MovieClipUses:124 131Used by:170
Symbol 133 BitmapUsed by:134
Symbol 134 GraphicUses:133Used by:157
Symbol 135 BitmapUsed by:136
Symbol 136 GraphicUses:135Used by:157
Symbol 137 BitmapUsed by:138
Symbol 138 GraphicUses:137Used by:157
Symbol 139 BitmapUsed by:140
Symbol 140 GraphicUses:139Used by:157
Symbol 141 BitmapUsed by:142
Symbol 142 GraphicUses:141Used by:157
Symbol 143 BitmapUsed by:144
Symbol 144 GraphicUses:143Used by:157
Symbol 145 BitmapUsed by:146
Symbol 146 GraphicUses:145Used by:157
Symbol 147 BitmapUsed by:148
Symbol 148 GraphicUses:147Used by:157
Symbol 149 BitmapUsed by:150
Symbol 150 GraphicUses:149Used by:157
Symbol 151 BitmapUsed by:152
Symbol 152 GraphicUses:151Used by:157
Symbol 153 BitmapUsed by:154
Symbol 154 GraphicUses:153Used by:157
Symbol 155 BitmapUsed by:156
Symbol 156 GraphicUses:155Used by:157
Symbol 157 MovieClipUses:134 136 138 140 142 144 146 148 150 152 154 156Used by:170
Symbol 158 EditableTextUses:58Used by:170
Symbol 159 GraphicUsed by:170
Symbol 160 GraphicUsed by:161
Symbol 161 MovieClipUses:160Used by:162
Symbol 162 MovieClipUses:161 33Used by:170
Symbol 163 EditableTextUses:58Used by:165
Symbol 164 GraphicUsed by:165
Symbol 165 MovieClipUses:163 164 34Used by:170
Symbol 166 GraphicUsed by:169
Symbol 167 GraphicUsed by:168
Symbol 168 MovieClipUses:167Used by:169
Symbol 169 MovieClipUses:166 168Used by:170
Symbol 170 MovieClipUses:11 62 64 42 72 114 132 157 158 159 162 165 169Used by:Timeline
Symbol 171 EditableTextUses:58Used by:Timeline
Symbol 172 TextUses:55Used by:Timeline
Symbol 173 EditableTextUses:28Used by:Timeline
Symbol 174 EditableTextUses:28Used by:Timeline

Instance Names

"soundHalter_mc"Frame 1Symbol 11 MovieClip [_back_mc]
"webding_txt"Frame 1Symbol 47 EditableText
"titel_mc"Frame 1Symbol 45 MovieClip [freeText_mc]
"infoText_txt"Frame 1Symbol 51 EditableText
"download__mc"Frame 1Symbol 53 MovieClip
"d_txt"Frame 1Symbol 54 EditableText
"s_mc"Frame 1Symbol 53 MovieClip
"prozent_txt"Frame 1Symbol 56 EditableText
"balken_mc"Frame 1Symbol 53 MovieClip
"a_txt"Frame 1Symbol 45 MovieClip [freeText_mc]
"webding_txt"Frame 5Symbol 60 EditableText
"game2_mc"Frame 5Symbol 170 MovieClip
"but_1_pb"Frame 5Symbol 30 MovieClip [presenter_pb]
"soundControl_mc"Frame 5Symbol 27 MovieClip [soundControl_mc]
"infoText_txt"Frame 6Symbol 173 EditableText
"download__mc"Frame 6Symbol 53 MovieClip
"d_txt"Frame 6Symbol 174 EditableText
"back2_mc"Symbol 18 MovieClip Frame 1Symbol 11 MovieClip [_back_mc]
"back_mc"Symbol 18 MovieClip Frame 1Symbol 11 MovieClip [_back_mc]
"lin_mc"Symbol 18 MovieClip Frame 1Symbol 11 MovieClip [_back_mc]
"dragger_mc"Symbol 18 MovieClip Frame 1Symbol 17 MovieClip
"b_mc"Symbol 19 MovieClip [simpleSlider_mc] Frame 1Symbol 11 MovieClip [_back_mc]
"hit_mc"Symbol 19 MovieClip [simpleSlider_mc] Frame 1Symbol 11 MovieClip [_back_mc]
"r_mc"Symbol 19 MovieClip [simpleSlider_mc] Frame 1Symbol 13 MovieClip [_rand_mc]
"pfeil_mc"Symbol 19 MovieClip [simpleSlider_mc] Frame 1Symbol 15 MovieClip
"leiste_mc"Symbol 19 MovieClip [simpleSlider_mc] Frame 2Symbol 18 MovieClip
"b_mc"Symbol 24 MovieClip [sound_pb] Frame 1Symbol 11 MovieClip [_back_mc]
"r_mc"Symbol 24 MovieClip [sound_pb] Frame 1Symbol 13 MovieClip [_rand_mc]
"deco_mc"Symbol 24 MovieClip [sound_pb] Frame 1Symbol 21 MovieClip
"pfeil_mc"Symbol 24 MovieClip [sound_pb] Frame 1Symbol 23 MovieClip
"sound_pb"Symbol 27 MovieClip [soundControl_mc] Frame 1Symbol 24 MovieClip [sound_pb]
"slider_mc"Symbol 27 MovieClip [soundControl_mc] Frame 1Symbol 19 MovieClip [simpleSlider_mc]
"durchstreich_mc"Symbol 27 MovieClip [soundControl_mc] Frame 1Symbol 26 MovieClip
"b_mc"Symbol 30 MovieClip [presenter_pb] Frame 1Symbol 11 MovieClip [_back_mc]
"r_mc"Symbol 30 MovieClip [presenter_pb] Frame 1Symbol 13 MovieClip [_rand_mc]
"fake_txt"Symbol 30 MovieClip [presenter_pb] Frame 1Symbol 29 EditableText
"unter_mc"Symbol 30 MovieClip [presenter_pb] Frame 2Symbol 11 MovieClip [_back_mc]
"pfeil_mc"Symbol 30 MovieClip [presenter_pb] Frame 2Symbol 15 MovieClip
"b_mc"Symbol 34 MovieClip [kleiner_pb] Frame 1Symbol 11 MovieClip [_back_mc]
"r_mc"Symbol 34 MovieClip [kleiner_pb] Frame 1Symbol 13 MovieClip [_rand_mc]
"neutrum_mc"Symbol 41 MovieClip [smiley_parade] Frame 1Symbol 36 MovieClip [smiley_back]
"parade_mc"Symbol 42 MovieClip [smiley_mc] Frame 1Symbol 41 MovieClip [smiley_parade]
"back_mc"Symbol 45 MovieClip [freeText_mc] Frame 1Symbol 11 MovieClip [_back_mc]
"rand_mc"Symbol 45 MovieClip [freeText_mc] Frame 1Symbol 13 MovieClip [_rand_mc]
"fake_mc"Symbol 45 MovieClip [freeText_mc] Frame 1Symbol 44 MovieClip
"back_mc"Symbol 50 MovieClip Frame 1Symbol 11 MovieClip [_back_mc]
"k2"Symbol 110 MovieClip Frame 1Symbol 109 MovieClip
"k1"Symbol 110 MovieClip Frame 1Symbol 109 MovieClip
"intanz_mc"Symbol 114 MovieClip Frame 1Symbol 11 MovieClip [_back_mc]
"karte_mc"Symbol 114 MovieClip Frame 1Symbol 110 MovieClip
"but_1_pb"Symbol 114 MovieClip Frame 1Symbol 34 MovieClip [kleiner_pb]
"status_txt"Symbol 114 MovieClip Frame 1Symbol 113 EditableText
"mainstar"Symbol 123 MovieClip Frame 1Symbol 122 MovieClip
"fake_mc"Symbol 124 MovieClip Frame 1Symbol 11 MovieClip [_back_mc]
"leucht2_mc"Symbol 131 MovieClip Frame 1Symbol 124 MovieClip
"leucht_mc"Symbol 132 MovieClip Frame 1Symbol 124 MovieClip
"leucht_mc"Symbol 132 MovieClip Frame 2Symbol 131 MovieClip
"schatten_mc"Symbol 162 MovieClip Frame 1Symbol 161 MovieClip
"dead_munz"Symbol 162 MovieClip Frame 1Symbol 33 MovieClip [money_mc]
"message_txt"Symbol 165 MovieClip Frame 1Symbol 163 EditableText
"kleiner_pb"Symbol 165 MovieClip Frame 2Symbol 34 MovieClip [kleiner_pb]
"faki_mc"Symbol 170 MovieClip Frame 1Symbol 11 MovieClip [_back_mc]
"smiley_mc"Symbol 170 MovieClip Frame 2Symbol 42 MovieClip [smiley_mc]
"slot_mach_mc"Symbol 170 MovieClip Frame 2Symbol 72 MovieClip
"slot1"Symbol 170 MovieClip Frame 2Symbol 114 MovieClip
"slot2"Symbol 170 MovieClip Frame 2Symbol 114 MovieClip
"slot3"Symbol 170 MovieClip Frame 2Symbol 114 MovieClip
"leuchti_mc"Symbol 170 MovieClip Frame 2Symbol 132 MovieClip
"hebel_mc"Symbol 170 MovieClip Frame 2Symbol 157 MovieClip
"message_txt"Symbol 170 MovieClip Frame 2Symbol 158 EditableText
"geld_mc"Symbol 170 MovieClip Frame 2Symbol 162 MovieClip
"fertig_mc"Symbol 170 MovieClip Frame 2Symbol 165 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
Protect (24)Timeline Frame 10 bytes ""
ExportAssets (56)Timeline Frame 1Symbol 1 as "startBut"
ExportAssets (56)Timeline Frame 1Symbol 2 as "click"
ExportAssets (56)Timeline Frame 1Symbol 3 as "laufsound"
ExportAssets (56)Timeline Frame 1Symbol 4 as "harfe"
ExportAssets (56)Timeline Frame 1Symbol 5 as "flopp"
ExportAssets (56)Timeline Frame 1Symbol 6 as "endsoundi"
ExportAssets (56)Timeline Frame 1Symbol 7 as "Dididup"
ExportAssets (56)Timeline Frame 1Symbol 8 as "blubby.aiff"
ExportAssets (56)Timeline Frame 1Symbol 9 as "alert"
ExportAssets (56)Timeline Frame 1Symbol 11 as "_back_mc"
ExportAssets (56)Timeline Frame 1Symbol 13 as "_rand_mc"
ExportAssets (56)Timeline Frame 1Symbol 19 as "simpleSlider_mc"
ExportAssets (56)Timeline Frame 1Symbol 24 as "sound_pb"
ExportAssets (56)Timeline Frame 1Symbol 27 as "soundControl_mc"
ExportAssets (56)Timeline Frame 1Symbol 30 as "presenter_pb"
ExportAssets (56)Timeline Frame 1Symbol 33 as "money_mc"
ExportAssets (56)Timeline Frame 1Symbol 34 as "kleiner_pb"
ExportAssets (56)Timeline Frame 1Symbol 36 as "smiley_back"
ExportAssets (56)Timeline Frame 1Symbol 41 as "smiley_parade"
ExportAssets (56)Timeline Frame 1Symbol 42 as "smiley_mc"
ExportAssets (56)Timeline Frame 1Symbol 45 as "freeText_mc"
ExportAssets (56)Timeline Frame 1Symbol 175 as "__Packages.com.mosesSupposes.fuse.Shortcuts"
ExportAssets (56)Timeline Frame 1Symbol 176 as "__Packages.com.mosesSupposes.fuse.FuseKitCommon"
ExportAssets (56)Timeline Frame 1Symbol 177 as "__Packages.com.mosesSupposes.fuse.ZigoEngine"
ExportAssets (56)Timeline Frame 1Symbol 178 as "__Packages.com.mosesSupposes.fuse.ZManager"
ExportAssets (56)Timeline Frame 1Symbol 179 as "__Packages.ch.mda.core.PresenterSounds"
ExportAssets (56)Timeline Frame 1Symbol 180 as "__Packages.com.mosesSupposes.fuse.PennerEasing"
ExportAssets (56)Timeline Frame 1Symbol 181 as "__Packages.ch.mda.FreeButton"
ExportAssets (56)Timeline Frame 1Symbol 182 as "__Packages.ch.mda.util.DrawUtil"
ExportAssets (56)Timeline Frame 1Symbol 183 as "__Packages.ch.mda.util.StringUtil"
ExportAssets (56)Timeline Frame 1Symbol 184 as "__Packages.ch.mda.util.TextFieldUtil"
ExportAssets (56)Timeline Frame 1Symbol 185 as "__Packages.ch.mda.util.ColorUtil"
ExportAssets (56)Timeline Frame 1Symbol 186 as "__Packages.ch.mda.util.MovieUtil"
ExportAssets (56)Timeline Frame 1Symbol 187 as "__Packages.ch.mda.core.SoundControl"
ExportAssets (56)Timeline Frame 1Symbol 188 as "__Packages.ch.mda.FreeText"
ExportAssets (56)Timeline Frame 1Symbol 189 as "__Packages.ch.mda.core.componentStandarts"
ExportAssets (56)Timeline Frame 1Symbol 190 as "__Packages.ch.mda.util.tweenUtils"

Labels

"game"Frame 5
"wrong"Frame 6
"good"Symbol 41 MovieClip [smiley_parade] Frame 1
"neutrum"Symbol 41 MovieClip [smiley_parade] Frame 2
"bad"Symbol 41 MovieClip [smiley_parade] Frame 3
"middle"Symbol 41 MovieClip [smiley_parade] Frame 4
"nix"Symbol 41 MovieClip [smiley_parade] Frame 5
"w10"Symbol 162 MovieClip Frame 1




http://swfchan.com/28/138555/info.shtml
Created: 8/2 -2019 13:04:10 Last modified: 8/2 -2019 13:04:10 Server time: 22/12 -2024 07:34:49