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

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

Alvin and the Chipmunks Harmonica.swf

This is the info page for
Flash #46801

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


Text
MISSED!

<p align="center"><font face="GillSans ExtraBold" size="26" color="#000000" letterSpacing="0.000000" kerning="1">Congratulations!</font></p><p align="center"><font face="GillSans ExtraBold" size="26" color="#000000" letterSpacing="0.000000" kerning="1">Your rating is SOLID</font></p><p align="center"></p><p align="center"><font face="GillSans ExtraBold" size="26" color="#000000" letterSpacing="0.000000" kerning="1">You&apos;re munk-tastic playing gets you into the club!</font></p>

<p align="center"><font face="GillSans ExtraBold" size="26" color="#000000" letterSpacing="0.000000" kerning="1"><i>Congratulations!</i></font></p><p align="center"><font face="GillSans ExtraBold" size="26" color="#000000" letterSpacing="0.000000" kerning="1"><i>Your rating is SOLID</i></font></p><p align="center"></p><p align="center"><font face="GillSans ExtraBold" size="26" color="#000000" letterSpacing="0.000000" kerning="1"><i>You&apos;re munk-tastic playing gets you into the club!</i></font></p>

play again

play again

Hard

Hard

Choose your difficulty level

Medium

Medium

Easy

Easy

L

O

A

D

I

N

G

.

ALVIN'S HARMONICA

start game

start game

Alvin is recording a new
song and he needs your
help to play his part.
Just press the left and
right arrow keys to move
Alvin's harmonica
over the right notes.

Press the left and right arrow keys to move Alvin's harmonica. To win,
match the colors of the notes with the colors of the harmonica.

ActionScript [AS1/AS2]

Frame 1
_global.$createTweenController = function () { var _local3 = _root.createEmptyMovieClip("__tweenController__", 123432); _local3.$_tweenPropList = new Array(); _local3.$_tTime = getTimer(); _local3.onEnterFrame = _global.$updateTweens; }; ASSetPropFlags(_global, "$createTweenController", 1, 0); _global.$removeTweenController = function () { delete _root.__tweenController__.$_tweenPropList; delete _root.__tweenController__.$_tTime; delete _root.__tweenController__.onEnterFrame; _root.__tweenController__.removeMovieClip(); }; ASSetPropFlags(_global, "$removeTweenController", 1, 0); _global.$addTween = function (mtarget, prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2, extras) { if (timeSeconds == undefined) { timeSeconds = 0; } if ((animType == undefined) || (animType == "")) { animType = "easeOutExpo"; } if (delay == undefined) { delay = 0; } if (typeof(prop) == "string") { var _local7 = [prop]; var _local11 = [mtarget[prop]]; var _local9 = [propDest]; } else { var _local7 = []; var _local11 = []; var _local9 = []; for (var _local32 in prop) { _local11.push(mtarget[prop[_local32]]); } for (var _local32 in prop) { _local7.push(prop[_local32]); } for (var _local32 in propDest) { _local9.push(propDest[_local32]); } } var _local12 = false; if (_root.__tweenController__ == undefined) { _global.$createTweenController(); } var _local4 = _root.__tweenController__.$_tweenPropList; var _local8 = _root.__tweenController__.$_tTime; for (var _local32 in _local11) { if ((_local9[_local32] != undefined) && (!mtarget.$_isTweenLocked)) { if (mtarget.$_tweenCount > 0) { var _local3 = 0; while (_local3 < _local4.length) { if ((_local4[_local3]._targ == mtarget) && (_local4[_local3]._prop == _local7[_local32])) { if ((_local8 + (delay * 1000)) < _local4[_local3]._timeDest) { _local4.splice(_local3, 1); _local3--; mtarget.$_tweenCount--; } } _local3++; } } _local4.push({_prop:_local7[_local32], _targ:mtarget, _propStart:undefined, _propDest:_local9[_local32], _timeStart:_local8, _timeDest:_local8 + (timeSeconds * 1000), _animType:animType, _extra1:extra1, _extra2:extra2, _extras:extras, _delay:delay, _isPaused:false, _timePaused:0, _callback:(_local12 ? undefined : (callback))}); mtarget.$_tweenCount = ((mtarget.$_tweenCount > 0) ? (mtarget.$_tweenCount + 1) : 1); _local12 = true; } } ASSetPropFlags(mtarget, "$_tweenCount", 1, 0); }; ASSetPropFlags(_global, "$addTween", 1, 0); _global.$updateTweens = function () { var _local8 = (this.$_tTime = getTimer()); var _local6 = 0; while (_local6 < this.$_tweenPropList.length) { var _local3 = this.$_tweenPropList[_local6]; if (_local3._targ.toString() == undefined) { this.$_tweenPropList.splice(_local6, 1); _local6--; } else if (((_local3._timeStart + (_local3._delay * 1000)) <= _local8) && (!_local3._isPaused)) { if (_local3._propStart == undefined) { if (_local3._prop.substr(0, 10) == "__special_") { if (_local3._prop == "__special_mc_frame__") { _local3._propStart = _local3._targ._currentframe; } else if (_local3._prop == "__special_mc_ra__") { _local3._propStart = new Color(_local3._targ).getTransform().ra; } else if (_local3._prop == "__special_mc_rb__") { _local3._propStart = new Color(_local3._targ).getTransform().rb; } else if (_local3._prop == "__special_mc_ga__") { _local3._propStart = new Color(_local3._targ).getTransform().ga; } else if (_local3._prop == "__special_mc_gb__") { _local3._propStart = new Color(_local3._targ).getTransform().gb; } else if (_local3._prop == "__special_mc_ba__") { _local3._propStart = new Color(_local3._targ).getTransform().ba; } else if (_local3._prop == "__special_mc_bb__") { _local3._propStart = new Color(_local3._targ).getTransform().bb; } else if (_local3._prop == "__special_mc_aa__") { _local3._propStart = new Color(_local3._targ).getTransform().aa; } else if (_local3._prop == "__special_mc_ab__") { _local3._propStart = new Color(_local3._targ).getTransform().ab; } else if (_local3._prop == "__special_text_r__") { _local3._propStart = _local3._targ.textColor >> 16; } else if (_local3._prop == "__special_text_g__") { _local3._propStart = (_local3._targ.textColor & 65280) >> 8; } else if (_local3._prop == "__special_text_b__") { _local3._propStart = _local3._targ.textColor & 255; } else if (_local3._prop == "__special_sound_volume__") { _local3._propStart = _local3._targ.getVolume(); } else if (_local3._prop == "__special_sound_pan__") { _local3._propStart = _local3._targ.getPan(); } else if (_local3._prop == "__special_bst_t__") { _local3._propStart = 0; _local3._extras.__special_bst_ix__ = _local3._targ._x; _local3._extras.__special_bst_iy__ = _local3._targ._y; } else if (_local3._prop == "__special_blur_x__") { var _local5 = 0; while (_local5 < _local3._targ.filters.length) { if (_local3._targ.filters[_local5] instanceof flash.filters.BlurFilter) { _local3._propStart = _local3._targ.filters[_local5].blurX; } _local5++; } if (_local3._propStart == undefined) { _local3._propStart = 0; } } else if (_local3._prop == "__special_blur_y__") { var _local5 = 0; while (_local5 < _local3._targ.filters.length) { if (_local3._targ.filters[_local5] instanceof flash.filters.BlurFilter) { _local3._propStart = _local3._targ.filters[_local5].blurY; } _local5++; } if (_local3._propStart == undefined) { _local3._propStart = 0; } } else if (_local3._prop == "__special_glow_color__") { var _local5 = 0; while (_local5 < _local3._targ.filters.length) { if (_local3._targ.filters[_local5] instanceof flash.filters.GlowFilter) { _local3._propStart = _local3._targ.filters[_local5].color; } _local5++; } if (_local3._propStart == undefined) { _local3._propStart = 16777215 /* 0xFFFFFF */; } } else if (_local3._prop == "__special_glow_alpha__") { var _local5 = 0; while (_local5 < _local3._targ.filters.length) { if (_local3._targ.filters[_local5] instanceof flash.filters.GlowFilter) { _local3._propStart = _local3._targ.filters[_local5].alpha; } _local5++; } if (_local3._propStart == undefined) { _local3._propStart = 1; } } else if (_local3._prop == "__special_glow_blurX__") { var _local5 = 0; while (_local5 < _local3._targ.filters.length) { if (_local3._targ.filters[_local5] instanceof flash.filters.GlowFilter) { _local3._propStart = _local3._targ.filters[_local5].blurX; } _local5++; } if (_local3._propStart == undefined) { _local3._propStart = 0; } } else if (_local3._prop == "__special_glow_blurY__") { var _local5 = 0; while (_local5 < _local3._targ.filters.length) { if (_local3._targ.filters[_local5] instanceof flash.filters.GlowFilter) { _local3._propStart = _local3._targ.filters[_local5].blurY; } _local5++; } if (_local3._propStart == undefined) { _local3._propStart = 0; } } else if (_local3._prop == "__special_glow_strength__") { var _local5 = 0; while (_local5 < _local3._targ.filters.length) { if (_local3._targ.filters[_local5] instanceof flash.filters.GlowFilter) { _local3._propStart = _local3._targ.filters[_local5].strength; } _local5++; } if (_local3._propStart == undefined) { _local3._propStart = 1; } } else if (_local3._prop == "__special_bevel_distance__") { var _local5 = 0; while (_local5 < _local3._targ.filters.length) { if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) { _local3._propStart = _local3._targ.filters[_local5].distance; } _local5++; } if (_local3._propStart == undefined) { _local3._propStart = 0; } } else if (_local3._prop == "__special_bevel_angle__") { var _local5 = 0; while (_local5 < _local3._targ.filters.length) { if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) { _local3._propStart = _local3._targ.filters[_local5].angle; } _local5++; } if (_local3._propStart == undefined) { _local3._propStart = 45; } } else if (_local3._prop == "__special_bevel_highlightColor__") { var _local5 = 0; while (_local5 < _local3._targ.filters.length) { if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) { _local3._propStart = _local3._targ.filters[_local5].highlightColor; } _local5++; } if (_local3._propStart == undefined) { _local3._propStart = 16777215 /* 0xFFFFFF */; } } else if (_local3._prop == "__special_bevel_highlightAlpha__") { var _local5 = 0; while (_local5 < _local3._targ.filters.length) { if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) { _local3._propStart = _local3._targ.filters[_local5].highlightAlpha; } _local5++; } if (_local3._propStart == undefined) { _local3._propStart = 1; } } else if (_local3._prop == "__special_bevel_shadowColor__") { var _local5 = 0; while (_local5 < _local3._targ.filters.length) { if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) { _local3._propStart = _local3._targ.filters[_local5].shadowColor; } _local5++; } if (_local3._propStart == undefined) { _local3._propStart = 0; } } else if (_local3._prop == "__special_bevel_shadowAlpha__") { var _local5 = 0; while (_local5 < _local3._targ.filters.length) { if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) { _local3._propStart = _local3._targ.filters[_local5].shadowAlpha; } _local5++; } if (_local3._propStart == undefined) { _local3._propStart = 1; } } else if (_local3._prop == "__special_bevel_blurX__") { var _local5 = 0; while (_local5 < _local3._targ.filters.length) { if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) { _local3._propStart = _local3._targ.filters[_local5].blurX; } _local5++; } if (_local3._propStart == undefined) { _local3._propStart = 0; } } else if (_local3._prop == "__special_bevel_blurY__") { var _local5 = 0; while (_local5 < _local3._targ.filters.length) { if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) { _local3._propStart = _local3._targ.filters[_local5].blurY; } _local5++; } if (_local3._propStart == undefined) { _local3._propStart = 0; } } else if (_local3._prop == "__special_bevel_strength__") { var _local5 = 0; while (_local5 < _local3._targ.filters.length) { if (_local3._targ.filters[_local5] instanceof flash.filters.BevelFilter) { _local3._propStart = _local3._targ.filters[_local5].strength; } _local5++; } if (_local3._propStart == undefined) { _local3._propStart = 1; } } else { _local3._propStart = _local3._targ[_local3._prop]; } } else { _local3._propStart = _local3._targ[_local3._prop]; } } var _local10 = _local3._timeDest + (_local3._delay * 1000); if (_local10 <= _local8) { var _local4 = _local3._propDest; } else { var _local4 = _global.findTweenValue(_local3._propStart, _local3._propDest, _local3._timeStart, _local8 - (_local3._delay * 1000), _local3._timeDest, _local3._animType, _local3._extra1, _local3._extra2); } _local3._targ[_local3._prop] = (_local3._extras.mustRound ? (Math.round(_local4)) : (_local4)); if (_local3._prop == "__special_mc_frame__") { _local3._targ.gotoAndStop(Math.round(_local4)); } else if (_local3._prop == "__special_mc_ra__") { new Color(_local3._targ).setTransform({ra:_local4}); } else if (_local3._prop == "__special_mc_rb__") { new Color(_local3._targ).setTransform({rb:_local4}); } else if (_local3._prop == "__special_mc_ga__") { new Color(_local3._targ).setTransform({ga:_local4}); } else if (_local3._prop == "__special_mc_gb__") { new Color(_local3._targ).setTransform({gb:_local4}); } else if (_local3._prop == "__special_mc_ba__") { new Color(_local3._targ).setTransform({ba:_local4}); } else if (_local3._prop == "__special_mc_bb__") { new Color(_local3._targ).setTransform({bb:_local4}); } else if (_local3._prop == "__special_mc_aa__") { new Color(_local3._targ).setTransform({aa:_local4}); } else if (_local3._prop == "__special_mc_ab__") { new Color(_local3._targ).setTransform({ab:_local4}); } if (_local3._prop == "__special_bst_t__") { var _local7 = _local3._extras; var _local9 = _global.findPointOnCurve(_local7.__special_bst_ix__, _local7.__special_bst_iy__, _local7.__special_bst_cx__, _local7.__special_bst_cy__, _local7.__special_bst_dx__, _local7.__special_bst_dy__, _local4); if (_local3._extras.mustRound) { _local3._targ._x = Math.round(_local9.x); _local3._targ._y = Math.round(_local9.y); } else { _local3._targ._x = _local9.x; _local3._targ._y = _local9.y; } } if ((typeof(_local3._targ) != "movieclip") && (_local3._prop == "__special_text_b__")) { _local3._targ.textColor = ((_local3._targ.__special_text_r__ << 16) + (_local3._targ.__special_text_g__ << 8)) + _local3._targ.__special_text_b__; } if (_local3._prop == "__special_sound_volume__") { _local3._targ.setVolume(_local4); } if (_local3._prop == "__special_sound_pan__") { _local3._targ.setPan(_local4); } if (_local3._prop == "__special_blur_x__") { _global.$setFilterProperty(_local3._targ, "blur_blurX", _local4, _local3._extras); } if (_local3._prop == "__special_blur_y__") { _global.$setFilterProperty(_local3._targ, "blur_blurY", _local4, _local3._extras); } if (_local3._prop == "__special_glow_color__") { _global.$setFilterProperty(_local3._targ, "glow_color", _global.findTweenColor(_local3, _local8), _local3._extras); } if (_local3._prop == "__special_glow_alpha__") { _global.$setFilterProperty(_local3._targ, "glow_alpha", _local4, _local3._extras); } if (_local3._prop == "__special_glow_blurX__") { _global.$setFilterProperty(_local3._targ, "glow_blurX", _local4, _local3._extras); } if (_local3._prop == "__special_glow_blurY__") { _global.$setFilterProperty(_local3._targ, "glow_blurY", _local4, _local3._extras); } if (_local3._prop == "__special_glow_strength__") { _global.$setFilterProperty(_local3._targ, "glow_strength", _local4, _local3._extras); } if (_local3._prop == "__special_bevel_distance__") { _global.$setFilterProperty(_local3._targ, "bevel_distance", _local4, _local3._extras); } if (_local3._prop == "__special_bevel_angle__") { _global.$setFilterProperty(_local3._targ, "bevel_angle", _local4, _local3._extras); } if (_local3._prop == "__special_bevel_highlightColor__") { _global.$setFilterProperty(_local3._targ, "bevel_highlightColor", _global.findTweenColor(_local3, _local8), _local3._extras); } if (_local3._prop == "__special_bevel_highlightAlpha__") { _global.$setFilterProperty(_local3._targ, "bevel_highlightAlpha", _local4, _local3._extras); } if (_local3._prop == "__special_bevel_shadowColor__") { _global.$setFilterProperty(_local3._targ, "bevel_shadowColor", _global.findTweenColor(_local3, _local8), _local3._extras); } if (_local3._prop == "__special_bevel_shadowAlpha__") { _global.$setFilterProperty(_local3._targ, "bevel_shadowAlpha", _local4, _local3._extras); } if (_local3._prop == "__special_bevel_blurX__") { _global.$setFilterProperty(_local3._targ, "bevel_blurX", _local4, _local3._extras); } if (_local3._prop == "__special_bevel_blurY__") { _global.$setFilterProperty(_local3._targ, "bevel_blurY", _local4, _local3._extras); } if (_local3._prop == "__special_bevel_strength__") { _global.$setFilterProperty(_local3._targ, "bevel_strength", _local4, _local3._extras); } if (_local3._targ.onTweenUpdate != undefined) { _local3._targ.onTweenUpdate(_local3._prop); } if (_local10 <= _local8) { if (_local3._targ.onTweenComplete != undefined) { _local3._targ.onTweenComplete(_local3._prop); } _global.$stopTween(_local3._targ, [_local3._prop], false); _local6--; if (_local3._callback != undefined) { if (_global.backwardCallbackTweening) { var _local11 = _local3._targ.createEmptyMovieClip("__child__", 122344); _local3._callback.apply(_local11, null); _local11.removeMovieClip(); } else { _local3._callback.apply(_local3._targ, null); } } } } _local6++; } if (this.$_tweenPropList.length == 0) { _global.$removeTweenController(); } }; ASSetPropFlags(_global, "$updateTween", 1, 0); _global.$stopTween = function (mtarget, props, wipeFuture) { var _local4 = _root.__tweenController__.$_tweenPropList; var _local7; for (var _local9 in _local4) { _local7 = _local4[_local9]._prop; var _local5 = 0; while ((_local5 < props.length) || ((_local5 < 1) && (props == undefined))) { if (((_local4[_local9]._targ == mtarget) && ((_local7 == props[_local5]) || (props == undefined))) && (wipeFuture || ((_local4[_local9]._timeDest + (_local4[_local9]._delay * 1000)) <= getTimer()))) { switch (_local7) { case "__special_mc_frame__" : case "__special_mc_ra__" : case "__special_mc_rb__" : case "__special_mc_ga__" : case "__special_mc_gb__" : case "__special_mc_ba__" : case "__special_mc_bb__" : case "__special_mc_aa__" : case "__special_mc_ab__" : case "__special_sound_volume__" : case "__special_bst_t__" : delete mtarget[_local7]; break; case "__special_text_b__" : delete mtarget.__special_text_r__; delete mtarget.__special_text_g__; delete mtarget.__special_text_b__; } _local4.splice(_local9, 1); } _local5++; } } if (props == undefined) { delete mtarget.$_tweenCount; } else { mtarget.$_tweenCount = 0; for (var _local9 in _local4) { if (_local4[_local9]._targ == mtarget) { mtarget.$_tweenCount++; } } if (mtarget.$_tweenCount == 0) { delete mtarget.$_tweenCount; } } if (_local4.length == 0) { _global.$removeTweenController(); } }; ASSetPropFlags(_global, "$stopTween", 1, 0); _global.$setFilterProperty = function (mtarget, propName, propValue, extras) { var _local1; var _local7 = false; var _local3 = []; _local1 = 0; while (_local1 < mtarget.filters.length) { _local3.push(mtarget.filters[_local1]); _local1++; } if (propName.substr(0, 5) == "blur_") { _local1 = 0; while (_local1 < mtarget.filters.length) { if (_local3[_local1] instanceof flash.filters.BlurFilter) { _local3[_local1][propName.substr(5)] = propValue; if (extras.__special_blur_quality__ != undefined) { _local3[_local1].quality = extras.__special_blur_quality__; } _local7 = true; break; } _local1++; } if (!_local7) { var _local9; var _local8 = ((extras.__special_blur_quality__ == undefined) ? 2 : (extras.__special_blur_quality__)); if (propName == "blur_blurX") { _local9 = new flash.filters.BlurFilter(propValue, 0, _local8); } if (propName == "blur_blurY") { _local9 = new flash.filters.BlurFilter(0, propValue, _local8); } _local3.push(_local9); } } else if (propName.substr(0, 5) == "glow_") { _local1 = 0; while (_local1 < mtarget.filters.length) { if (_local3[_local1] instanceof flash.filters.GlowFilter) { _local3[_local1][propName.substr(5)] = propValue; if (extras.__special_glow_quality__ != undefined) { _local3[_local1].quality = extras.__special_glow_quality__; } if (extras.__special_glow_inner__ != undefined) { _local3[_local1].inner = extras.__special_glow_inner__; } if (extras.__special_glow_knockout__ != undefined) { _local3[_local1].knockout = extras.__special_glow_knockout__; } _local7 = true; break; } _local1++; } if (!_local7) { var _local8 = ((extras.__special_glow_quality__ == undefined) ? 2 : (extras.__special_glow_quality__)); var _local12 = ((extras.__special_glow_inner__ == undefined) ? false : (extras.__special_glow_inner__)); var _local10 = ((extras.__special_glow_knockout__ == undefined) ? false : (extras.__special_glow_knockout__)); if (propName == "glow_color") { var _local9 = new flash.filters.GlowFilter(propValue, 1, 0, 0, 1, _local8, _local12, _local10); } if (propName == "glow_alpha") { var _local9 = new flash.filters.GlowFilter(16777215, propValue, 0, 0, 1, _local8, _local12, _local10); } if (propName == "glow_blurX") { var _local9 = new flash.filters.GlowFilter(16777215, 1, propValue, 0, 1, _local8, _local12, _local10); } if (propName == "glow_blurY") { var _local9 = new flash.filters.GlowFilter(16777215, 1, 0, propValue, 1, _local8, _local12, _local10); } if (propName == "glow_strength") { var _local9 = new flash.filters.GlowFilter(16777215, 1, 0, 0, propValue, _local8, _local12, _local10); } _local3.push(_local9); } } else if (propName.substr(0, 6) == "bevel_") { _local1 = 0; while (_local1 < mtarget.filters.length) { if (_local3[_local1] instanceof flash.filters.BevelFilter) { _local3[_local1][propName.substr(6)] = propValue; if (extras.__special_bevel_quality__ != undefined) { _local3[_local1].quality = extras.__special_bevel_quality__; } if (extras.__special_bevel_type__ != undefined) { _local3[_local1].inner = extras.__special_bevel_type__; } if (extras.__special_bevel_knockout__ != undefined) { _local3[_local1].knockout = extras.__special_bevel_knockout__; } _local7 = true; break; } _local1++; } if (!_local7) { var _local8 = ((extras.__special_bevel_quality__ == undefined) ? 2 : (extras.__special_bevel_quality__)); var _local11 = ((extras.__special_bevel_type__ == undefined) ? "inner" : (extras.__special_bevel_type__)); var _local10 = ((extras.__special_bevel_knockout__ == undefined) ? false : (extras.__special_bevel_knockout__)); if (propName == "bevel_distance") { var _local9 = new flash.filters.BevelFilter(propValue, 45, 16777215, 1, 0, 1, 0, 0, 1, _local8, _local11, _local10); } if (propName == "bevel_angle") { var _local9 = new flash.filters.BevelFilter(0, propValue, 16777215, 1, 0, 1, 0, 0, 1, _local8, _local11, _local10); } if (propName == "bevel_highlightColor") { var _local9 = new flash.filters.BevelFilter(0, 45, propValue, 1, 0, 1, 0, 0, 1, _local8, _local11, _local10); } if (propName == "bevel_highlightAlpha") { var _local9 = new flash.filters.BevelFilter(0, 45, 16777215, propValue, 0, 1, 0, 0, 1, _local8, _local11, _local10); } if (propName == "bevel_shadowColor") { var _local9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, propValue, 1, 0, 0, 1, _local8, _local11, _local10); } if (propName == "bevel_shadowAlpha") { var _local9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, propValue, 0, 0, 1, _local8, _local11, _local10); } if (propName == "bevel_blurX") { var _local9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, 1, propValue, 0, 1, _local8, _local11, _local10); } if (propName == "bevel_blurY") { var _local9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, 1, 0, propValue, 1, _local8, _local11, _local10); } if (propName == "bevel_strength") { var _local9 = new flash.filters.BevelFilter(0, 45, 16777215, 1, 0, 1, 0, 0, propValue, _local8, _local11, _local10); } _local3.push(_local9); } } else { return(undefined); } mtarget.filters = _local3; }; MovieClip.prototype.tween = (TextField.prototype.tween = (Sound.prototype.tween = function (prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2); })); ASSetPropFlags(MovieClip.prototype, "tween", 1, 0); ASSetPropFlags(TextField.prototype, "tween", 1, 0); ASSetPropFlags(Sound.prototype, "tween", 1, 0); MovieClip.prototype.roundedTween = (TextField.prototype.roundedTween = (Sound.prototype.roundedTween = function (prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, prop, propDest, timeSeconds, animType, delay, callback, extra1, extra2, {mustRound:true}); })); ASSetPropFlags(MovieClip.prototype, "roundedTween", 1, 0); ASSetPropFlags(TextField.prototype, "roundedTween", 1, 0); ASSetPropFlags(Sound.prototype, "roundedTween", 1, 0); MovieClip.prototype.stopTween = (TextField.prototype.stopTween = (Sound.prototype.stopTween = function (props) { if (typeof(props) == "string") { props = [props]; } if (props != undefined) { var _local4 = 1; while (_local4 < arguments.length) { props.push(arguments[_local4]); _local4++; } } _global.$stopTween(this, props, true); })); ASSetPropFlags(MovieClip.prototype, "stopTween", 1, 0); ASSetPropFlags(TextField.prototype, "stopTween", 1, 0); ASSetPropFlags(Sound.prototype, "stopTween", 1, 0); MovieClip.prototype.pauseTween = (TextField.prototype.pauseTween = (Sound.prototype.pauseTween = function (props) { if (props != undefined) { if (typeof(props) == "string") { props = [props]; } var _local6 = 1; while (_local6 < Arguments.length) { props.push(Arguments[_local6]); _local6++; } } var _local4 = _root.__tweenController__.$_tweenPropList; var _local5; for (var _local7 in _local4) { if ((_local4[_local7]._targ == this) && (!_local4[_local7]._isPaused)) { if (props != undefined) { _local5 = false; for (var _local6 in props) { if (props[_local6] == _local4[_local7]._prop) { _local5 = true; break; } } } if ((props == undefined) || (_local5)) { _local4[_local7]._isPaused = true; _local4[_local7]._timePaused = _root.__tweenController__.$_tTime; } } } })); ASSetPropFlags(MovieClip.prototype, "pauseTween", 1, 0); ASSetPropFlags(TextField.prototype, "pauseTween", 1, 0); ASSetPropFlags(Sound.prototype, "pauseTween", 1, 0); MovieClip.prototype.resumeTween = (TextField.prototype.resumeTween = (Sound.prototype.resumeTween = function (props) { if (props != undefined) { if (typeof(props) == "string") { props = [props]; } var _local7 = 1; while (_local7 < Arguments.length) { props.push(Arguments[_local7]); _local7++; } } var _local3 = _root.__tweenController__.$_tweenPropList; var _local5; var _local6; for (var _local8 in _local3) { if ((_local3[_local8]._targ == this) && (_local3[_local8]._isPaused)) { if (props != undefined) { _local5 = false; for (var _local7 in props) { if (props[_local7] == _local3[_local8]._prop) { _local5 = true; break; } } } if ((props == undefined) || (_local5)) { _local3[_local8]._isPaused = false; _local6 = _root.__tweenController__.$_tTime - _local3[_local8]._timePaused; _local3[_local8]._timeStart = _local3[_local8]._timeStart + _local6; _local3[_local8]._timeDest = _local3[_local8]._timeDest + _local6; _local3[_local8]._timePaused = 0; } } } })); ASSetPropFlags(MovieClip.prototype, "resumeTween", 1, 0); ASSetPropFlags(TextField.prototype, "resumeTween", 1, 0); ASSetPropFlags(Sound.prototype, "resumeTween", 1, 0); MovieClip.prototype.lockTween = (TextField.prototype.lockTween = (Sound.prototype.lockTween = function () { this.$_isTweenLocked = true; ASSetPropFlags(this, "this.$_isTweenLocked", 1, 0); })); ASSetPropFlags(MovieClip.prototype, "lockTween", 1, 0); ASSetPropFlags(TextField.prototype, "lockTween", 1, 0); ASSetPropFlags(Sound.prototype, "lockTween", 1, 0); MovieClip.prototype.unlockTween = (TextField.prototype.unlockTween = (Sound.prototype.unlockTween = function () { delete this.$_isTweenLocked; })); ASSetPropFlags(MovieClip.prototype, "unlockTween", 1, 0); ASSetPropFlags(TextField.prototype, "unlockTween", 1, 0); ASSetPropFlags(Sound.prototype, "unlockTween", 1, 0); MovieClip.prototype.getTweens = (TextField.prototype.getTweens = (Sound.prototype.getTweens = function () { return(this.$_tweenCount); })); ASSetPropFlags(MovieClip.prototype, "getTweens", 1, 0); ASSetPropFlags(TextField.prototype, "getTweens", 1, 0); ASSetPropFlags(Sound.prototype, "getTweens", 1, 0); MovieClip.prototype.isTweening = (TextField.prototype.isTweening = (Sound.prototype.isTweening = function () { return(((this.$_tweenCount > 0) ? true : false)); })); ASSetPropFlags(MovieClip.prototype, "isTweening", 1, 0); ASSetPropFlags(TextField.prototype, "isTweening", 1, 0); ASSetPropFlags(Sound.prototype, "isTweening", 1, 0); MovieClip.prototype.alphaTo = (TextField.prototype.alphaTo = function (propDest_a, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, "_alpha", propDest_a, timeSeconds, animType, delay, callback, extra1, extra2); }); ASSetPropFlags(MovieClip.prototype, "alphaTo", 1, 0); ASSetPropFlags(TextField.prototype, "alphaTo", 1, 0); MovieClip.prototype.frameTo = function (propDest_frame, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, "__special_mc_frame__", propDest_frame, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(MovieClip.prototype, "frameTo", 1, 0); MovieClip.prototype.resizeTo = (TextField.prototype.resizeTo = function (propDest_width, propDest_height, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ["_width", "_height"], [propDest_width, propDest_height], timeSeconds, animType, delay, callback, extra1, extra2); }); ASSetPropFlags(MovieClip.prototype, "resizeTo", 1, 0); ASSetPropFlags(TextField.prototype, "resizeTo", 1, 0); MovieClip.prototype.rotateTo = (TextField.prototype.rotateTo = function (propDest_rotation, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, "_rotation", propDest_rotation, timeSeconds, animType, delay, callback, extra1, extra2); }); ASSetPropFlags(MovieClip.prototype, "rotateTo", 1, 0); ASSetPropFlags(TextField.prototype, "rotateTo", 1, 0); MovieClip.prototype.scaleTo = (TextField.prototype.scaleTo = function (propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ["_xscale", "_yscale"], [propDest_scale, propDest_scale], timeSeconds, animType, delay, callback, extra1, extra2); }); ASSetPropFlags(MovieClip.prototype, "scaleTo", 1, 0); ASSetPropFlags(TextField.prototype, "scaleTo", 1, 0); MovieClip.prototype.xScaleTo = (TextField.prototype.xScaleTo = function (propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, "_xscale", propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2); }); ASSetPropFlags(MovieClip.prototype, "xScaleTo", 1, 0); ASSetPropFlags(TextField.prototype, "xScaleTo", 1, 0); MovieClip.prototype.yScaleTo = (TextField.prototype.yScaleTo = function (propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, "_yscale", propDest_scale, timeSeconds, animType, delay, callback, extra1, extra2); }); ASSetPropFlags(MovieClip.prototype, "yScaleTo", 1, 0); ASSetPropFlags(TextField.prototype, "yScaleTo", 1, 0); TextField.prototype.scrollTo = function (propDest_scroll, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, "scroll", propDest_scroll, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(TextField.prototype, "scrollTo", 1, 0); MovieClip.prototype.slideTo = (TextField.prototype.slideTo = function (propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ["_x", "_y"], [propDest_x, propDest_y], timeSeconds, animType, delay, callback, extra1, extra2); }); ASSetPropFlags(MovieClip.prototype, "slideTo", 1, 0); ASSetPropFlags(TextField.prototype, "slideTo", 1, 0); MovieClip.prototype.roundedSlideTo = (TextField.prototype.roundedSlideTo = function (propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ["_x", "_y"], [propDest_x, propDest_y], timeSeconds, animType, delay, callback, extra1, extra2, {mustRound:true}); }); ASSetPropFlags(MovieClip.prototype, "roundedSlideTo", 1, 0); ASSetPropFlags(TextField.prototype, "roundedSlideTo", 1, 0); MovieClip.prototype.xSlideTo = (TextField.prototype.xSlideTo = function (propDest_x, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, "_x", propDest_x, timeSeconds, animType, delay, callback, extra1, extra2); }); ASSetPropFlags(MovieClip.prototype, "xSlideTo", 1, 0); ASSetPropFlags(TextField.prototype, "xSlideTo", 1, 0); MovieClip.prototype.roundedXSlideTo = (TextField.prototype.roundedXSlideTo = function (propDest_x, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, "_x", propDest_x, timeSeconds, animType, delay, callback, extra1, extra2, {mustRound:true}); }); ASSetPropFlags(MovieClip.prototype, "roundedXSlideTo", 1, 0); ASSetPropFlags(TextField.prototype, "roundedXSlideTo", 1, 0); MovieClip.prototype.ySlideTo = (TextField.prototype.ySlideTo = function (propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, "_y", propDest_y, timeSeconds, animType, delay, callback, extra1, extra2); }); ASSetPropFlags(MovieClip.prototype, "ySlideTo", 1, 0); ASSetPropFlags(TextField.prototype, "ySlideTo", 1, 0); MovieClip.prototype.roundedYSlideTo = (TextField.prototype.roundedYSlideTo = function (propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, "_y", propDest_y, timeSeconds, animType, delay, callback, extra1, extra2, {mustRound:true}); }); ASSetPropFlags(MovieClip.prototype, "roundedYSlideTo", 1, 0); ASSetPropFlags(TextField.prototype, "roundedYSlideTo", 1, 0); MovieClip.prototype.bezierSlideTo = (TextField.prototype.bezierSlideTo = function (cpoint_x, cpoint_y, propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { var _local3 = new Object(); _local3.__special_bst_ix__ = undefined; _local3.__special_bst_iy__ = undefined; _local3.__special_bst_cx__ = cpoint_x; _local3.__special_bst_cy__ = cpoint_y; _local3.__special_bst_dx__ = propDest_x; _local3.__special_bst_dy__ = propDest_y; _global.$addTween(this, "__special_bst_t__", 1, timeSeconds, animType, delay, callback, extra1, extra2, _local3); }); ASSetPropFlags(MovieClip.prototype, "bezierSlideTo", 1, 0); ASSetPropFlags(TextField.prototype, "bezierSlideTo", 1, 0); MovieClip.prototype.roundedBezierSlideTo = (TextField.prototype.roundedBezierSlideTo = function (cpoint_x, cpoint_y, propDest_x, propDest_y, timeSeconds, animType, delay, callback, extra1, extra2) { var _local3 = new Object(); _local3.__special_bst_ix__ = undefined; _local3.__special_bst_iy__ = undefined; _local3.__special_bst_cx__ = cpoint_x; _local3.__special_bst_cy__ = cpoint_y; _local3.__special_bst_dx__ = propDest_x; _local3.__special_bst_dy__ = propDest_y; _local3.mustRound = true; _global.$addTween(this, "__special_bst_t__", 1, timeSeconds, animType, delay, callback, extra1, extra2, _local3); }); ASSetPropFlags(MovieClip.prototype, "roundedBezierSlideTo", 1, 0); ASSetPropFlags(TextField.prototype, "roundedBezierSlideTo", 1, 0); Sound.prototype.volumeTo = function (propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, "__special_sound_volume__", propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(Sound.prototype, "volumeTo", 1, 0); Sound.prototype.panTo = function (propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, "__special_sound_pan__", propDest_volume, timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(Sound.prototype, "panTo", 1, 0); MovieClip.prototype.colorTo = function (propDest_color, timeSeconds, animType, delay, callback, extra1, extra2) { if (propDest_color == null) { this.colorTransformTo(100, 0, 100, 0, 100, 0, undefined, undefined, timeSeconds, animType, delay, callback, extra1, extra2); } else { var _local3 = propDest_color >> 16; var _local5 = (propDest_color & 65280) >> 8; var _local4 = propDest_color & 255; this.colorTransformTo(0, _local3, 0, _local5, 0, _local4, undefined, undefined, timeSeconds, animType, delay, callback, extra1, extra2); } }; ASSetPropFlags(MovieClip.prototype, "colorTo", 1, 0); TextField.prototype.colorTo = function (propDest_color, timeSeconds, animType, delay, callback, extra1, extra2) { var _local3 = propDest_color >> 16; var _local6 = (propDest_color & 65280) >> 8; var _local4 = propDest_color & 255; _global.$addTween(this, ["__special_text_r__", "__special_text_g__", "__special_text_b__"], [_local3, _local6, _local4], timeSeconds, animType, delay, callback, extra1, extra2); }; ASSetPropFlags(TextField.prototype, "colorTo", 1, 0); MovieClip.prototype.colorTransformTo = function () { if ((typeof(arguments[0]) == "object") && (arguments[0] != undefined)) { _global.$addTween(this, ["__special_mc_ra__", "__special_mc_rb__", "__special_mc_ga__", "__special_mc_gb__", "__special_mc_ba__", "__special_mc_bb__", "__special_mc_aa__", "__special_mc_ab__"], [arguments[0].ra, arguments[0].rb, arguments[0].ga, arguments[0].gb, arguments[0].ba, arguments[0].bb, arguments[0].aa, arguments[0].ab], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6]); } else { _global.$addTween(this, ["__special_mc_ra__", "__special_mc_rb__", "__special_mc_ga__", "__special_mc_gb__", "__special_mc_ba__", "__special_mc_bb__", "__special_mc_aa__", "__special_mc_ab__"], [arguments[0], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], arguments[7]], arguments[8], arguments[9], arguments[10], arguments[11], arguments[12], arguments[13]); } }; ASSetPropFlags(MovieClip.prototype, "colorTransformTo", 1, 0); MovieClip.prototype.blurTo = (TextField.prototype.blurTo = function () { if ((typeof(arguments[0]) == "object") && (arguments[0] != undefined)) { _global.$addTween(this, ["__special_blur_x__", "__special_blur_y__"], [arguments[0].blurX, arguments[0].blurY], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], {__special_blur_quality__:arguments[0].quality}); } else { _global.$addTween(this, ["__special_blur_x__", "__special_blur_y__"], [arguments[0], arguments[0]], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], arguments[7], {__special_blur_quality__:arguments[1]}); } }); ASSetPropFlags(MovieClip.prototype, "blurTo", 1, 0); ASSetPropFlags(TextField.prototype, "blurTo", 1, 0); MovieClip.prototype.xyBlurTo = (TextField.prototype.xyBlurTo = function (propDest_blurX, propDest_blurY, quality, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ["__special_blur_x__", "__special_blur_y__"], [propDest_blurX, propDest_blurY], timeSeconds, animType, delay, callback, extra1, extra2, {__special_blur_quality__:quality}); }); ASSetPropFlags(MovieClip.prototype, "xyBlurTo", 1, 0); ASSetPropFlags(TextField.prototype, "xyBlurTo", 1, 0); MovieClip.prototype.xBlurTo = (TextField.prototype.xBlurTo = function (propDest_blur, quality, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, "__special_blur_x__", propDest_blur, timeSeconds, animType, delay, callback, extra1, extra2, {__special_blur_quality__:quality}); }); ASSetPropFlags(MovieClip.prototype, "xBlurTo", 1, 0); ASSetPropFlags(TextField.prototype, "xBlurTo", 1, 0); MovieClip.prototype.yBlurTo = (TextField.prototype.yBlurTo = function (propDest_blur, quality, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, "__special_blur_y__", propDest_blur, timeSeconds, animType, delay, callback, extra1, extra2, {__special_blur_quality__:quality}); }); ASSetPropFlags(MovieClip.prototype, "yBlurTo", 1, 0); ASSetPropFlags(TextField.prototype, "yBlurTo", 1, 0); MovieClip.prototype.glowTo = (TextField.prototype.glowTo = function () { if ((typeof(arguments[0]) == "object") && (arguments[0] != undefined)) { _global.$addTween(this, ["__special_glow_color__", "__special_glow_alpha__", "__special_glow_blurX__", "__special_glow_blurY__", "__special_glow_strength__"], [arguments[0].color, arguments[0].alpha, arguments[0].blurX, arguments[0].blurY, arguments[0].strength], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], {__special_glow_quality__:arguments[0].quality, __special_glow_inner__:arguments[0].inner, __special_glow_knockout__:arguments[0].knockout}); } else { _global.$addTween(this, ["__special_glow_color__", "__special_glow_alpha__", "__special_glow_blurX__", "__special_glow_blurY__", "__special_glow_strength__"], [arguments[0], arguments[1], arguments[2], arguments[2], arguments[3]], arguments[7], arguments[8], arguments[9], arguments[10], arguments[11], arguments[12], {__special_glow_quality__:arguments[4], __special_glow_inner__:arguments[5], __special_glow_knockout__:arguments[6]}); } }); ASSetPropFlags(MovieClip.prototype, "glowTo", 1, 0); ASSetPropFlags(TextField.prototype, "glowTo", 1, 0); MovieClip.prototype.xyGlowTo = (TextField.prototype.xyGlowTo = function (propDest_color, propDest_alpha, propDest_blurX, propDest_blurY, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ["__special_glow_color__", "__special_glow_alpha__", "__special_glow_blurX__", "__special_glow_blurY__", "__special_glow_strength__"], [propDest_color, propDest_alpha, propDest_blurX, propDest_blurY, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {__special_glow_quality__:quality, __special_glow_inner__:inner, __special_glow_knockout__:knockout}); }); ASSetPropFlags(MovieClip.prototype, "xyGlowTo", 1, 0); ASSetPropFlags(TextField.prototype, "xyGlowTo", 1, 0); MovieClip.prototype.xGlowTo = (TextField.prototype.xGlowTo = function (propDest_color, propDest_alpha, propDest_blur, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ["__special_glow_color__", "__special_glow_alpha__", "__special_glow_blurX__", "__special_glow_strength__"], [propDest_color, propDest_alpha, propDest_blur, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {__special_glow_quality__:quality, __special_glow_inner__:inner, __special_glow_knockout__:knockout}); }); ASSetPropFlags(MovieClip.prototype, "xGlowTo", 1, 0); ASSetPropFlags(TextField.prototype, "xGlowTo", 1, 0); MovieClip.prototype.yGlowTo = (TextField.prototype.yGlowTo = function (propDest_color, propDest_alpha, propDest_blur, propDest_strength, quality, inner, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ["__special_glow_color__", "__special_glow_alpha__", "__special_glow_blurY__", "__special_glow_strength__"], [propDest_color, propDest_alpha, propDest_blur, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {__special_glow_quality__:quality, __special_glow_inner__:inner, __special_glow_knockout__:knockout}); }); ASSetPropFlags(MovieClip.prototype, "yGlowTo", 1, 0); ASSetPropFlags(TextField.prototype, "yGlowTo", 1, 0); MovieClip.prototype.bevelTo = (TextField.prototype.bevelTo = function () { if ((typeof(arguments[0]) == "object") && (arguments[0] != undefined)) { _global.$addTween(this, ["__special_bevel_distance__", "__special_bevel_angle__", "__special_bevel_highlightColor__", "__special_bevel_highlightAlpha__", "__special_bevel_shadowColor__", "__special_bevel_shadowAlpha__", "__special_bevel_blurX__", "__special_bevel_blurY__", "__special_bevel_strength__"], [arguments[0].distance, arguments[0].angle, arguments[0].highlightColor, arguments[0].highlightAlpha * 100, arguments[0].shadowColor, arguments[0].shadowAlpha * 100, arguments[0].blurX, arguments[0].blurY, arguments[0].strength], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], {__special_bevel_quality__:arguments[0].quality, __special_bevel_type__:arguments[0].type, __special_bevel_knockout__:arguments[0].knockout}); } else { _global.$addTween(this, ["__special_bevel_distance__", "__special_bevel_angle__", "__special_bevel_highlightColor__", "__special_bevel_highlightAlpha__", "__special_bevel_shadowColor__", "__special_bevel_shadowAlpha__", "__special_bevel_blurX__", "__special_bevel_blurY__", "__special_bevel_strength__"], [arguments[0], arguments[1], arguments[2], arguments[3], arguments[4], arguments[5], arguments[6], arguments[6], arguments[7]], arguments[11], arguments[12], arguments[13], arguments[14], arguments[15], arguments[16], {__special_bevel_quality__:arguments[8], __special_bevel_type__:arguments[9], __special_bevel_knockout__:arguments[10]}); } }); ASSetPropFlags(MovieClip.prototype, "bevelTo", 1, 0); ASSetPropFlags(TextField.prototype, "bevelTo", 1, 0); MovieClip.prototype.xyBevelTo = (TextField.prototype.xyBevelTo = function (propDest_distance, propDest_angle, propDest_highlightColor, propDest_highlightAlpha, propDest_shadowColor, propDest_shadowAlpha, propDest_blurX, propDest_blurY, propDest_strength, quality, type, knockout, timeSeconds, animType, delay, callback, extra1, extra2) { _global.$addTween(this, ["__special_bevel_distance__", "__special_bevel_angle__", "__special_bevel_highlightColor__", "__special_bevel_highlightAlpha__", "__special_bevel_shadowColor__", "__special_bevel_shadowAlpha__", "__special_bevel_blurX__", "__special_bevel_blurY__", "__special_bevel_blurY__", "__special_bevel_strength__"], [propDest_distance, propDest_angle, propDest_highlightColor, propDest_highlightAlpha, propDest_shadowColor, propDest_shadowAlpha, propDest_blur, propDest_blur, propDest_strength], timeSeconds, animType, delay, callback, extra1, extra2, {__special_bevel_quality__:quality, __special_bevel_type__:type, __special_bevel_knockout__:knockout}); }); ASSetPropFlags(MovieClip.prototype, "xyBevelTo", 1, 0); ASSetPropFlags(TextField.prototype, "xyBevelTo", 1, 0); _global.findPointOnCurve = function (p1x, p1y, cx, cy, p2x, p2y, t) { return({x:p1x + (t * (((2 * (1 - t)) * (cx - p1x)) + (t * (p2x - p1x)))), y:p1y + (t * (((2 * (1 - t)) * (cy - p1y)) + (t * (p2y - p1y))))}); }; ASSetPropFlags(_global, "findPointOnCurve", 1, 0); _global.findTweenColor = function (objProp, tTime) { var _local8 = objProp._propStart >> 16; var _local4 = objProp._propDest >> 16; var _local5 = (objProp._propStart >> 8) & 255; var _local6 = (objProp._propDest >> 8) & 255; var _local9 = objProp._propStart & 255; var _local7 = objProp._propDest & 255; var _local12 = Math.round(_global.findTweenValue(_local8, _local4, objProp._timeStart, tTime - (objProp._delay * 1000), objProp._timeDest, objProp._animType, objProp._extra1, objProp._extra2)); var _local10 = Math.round(_global.findTweenValue(_local5, _local6, objProp._timeStart, tTime - (objProp._delay * 1000), objProp._timeDest, objProp._animType, objProp._extra1, objProp._extra2)); var _local3 = Math.round(_global.findTweenValue(_local9, _local7, objProp._timeStart, tTime - (objProp._delay * 1000), objProp._timeDest, objProp._animType, objProp._extra1, objProp._extra2)); return(((_local12 << 16) + (_local10 << 8)) + _local3); }; _global.findTweenValue = function (_propStart, _propDest, _timeStart, _timeNow, _timeDest, _animType, _extra1, _extra2) { var _local1 = _timeNow - _timeStart; var _local4 = _propStart; var _local2 = _propDest - _propStart; var _local3 = _timeDest - _timeStart; var _local6 = _extra1; var _local7 = _extra2; var _local5 = _extra1; switch (_animType.toLowerCase()) { case "linear" : return(((_local2 * _local1) / _local3) + _local4); case "easeinquad" : _local1 = _local1 / _local3; return(((_local2 * _local1) * _local1) + _local4); case "easeoutquad" : _local1 = _local1 / _local3; return((((-_local2) * _local1) * (_local1 - 2)) + _local4); case "easeinoutquad" : _local1 = _local1 / (_local3 / 2); if (_local1 < 1) { return((((_local2 / 2) * _local1) * _local1) + _local4); } _local1--; return((((-_local2) / 2) * ((_local1 * (_local1 - 2)) - 1)) + _local4); case "easeoutinquad" : if (_local1 < (_local3 / 2)) { return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutQuad") * 0.5) + _local4); } return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInQuad") * 0.5) + (_local2 * 0.5)) + _local4); case "easeincubic" : _local1 = _local1 / _local3; return((((_local2 * _local1) * _local1) * _local1) + _local4); case "easeoutcubic" : _local1 = (_local1 / _local3) - 1; return((_local2 * (((_local1 * _local1) * _local1) + 1)) + _local4); case "easeinoutcubic" : _local1 = _local1 / (_local3 / 2); if (_local1 < 1) { return(((((_local2 / 2) * _local1) * _local1) * _local1) + _local4); } _local1 = _local1 - 2; return(((_local2 / 2) * (((_local1 * _local1) * _local1) + 2)) + _local4); case "easeoutincubic" : if (_local1 < (_local3 / 2)) { return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutCubic") * 0.5) + _local4); } return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInCubic") * 0.5) + (_local2 * 0.5)) + _local4); case "easeinquart" : _local1 = _local1 / _local3; return(((((_local2 * _local1) * _local1) * _local1) * _local1) + _local4); case "easeoutquart" : _local1 = (_local1 / _local3) - 1; return(((-_local2) * ((((_local1 * _local1) * _local1) * _local1) - 1)) + _local4); case "easeinoutquart" : _local1 = _local1 / (_local3 / 2); if (_local1 < 1) { return((((((_local2 / 2) * _local1) * _local1) * _local1) * _local1) + _local4); } _local1 = _local1 - 2; return((((-_local2) / 2) * ((((_local1 * _local1) * _local1) * _local1) - 2)) + _local4); case "easeoutinquart" : if (_local1 < (_local3 / 2)) { return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutQuart") * 0.5) + _local4); } return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInQuart") * 0.5) + (_local2 * 0.5)) + _local4); case "easeinquint" : _local1 = _local1 / _local3; return((((((_local2 * _local1) * _local1) * _local1) * _local1) * _local1) + _local4); case "easeoutquint" : _local1 = (_local1 / _local3) - 1; return((_local2 * (((((_local1 * _local1) * _local1) * _local1) * _local1) + 1)) + _local4); case "easeinoutquint" : _local1 = _local1 / (_local3 / 2); if (_local1 < 1) { return(((((((_local2 / 2) * _local1) * _local1) * _local1) * _local1) * _local1) + _local4); } _local1 = _local1 - 2; return(((_local2 / 2) * (((((_local1 * _local1) * _local1) * _local1) * _local1) + 2)) + _local4); case "easeoutinquint" : if (_local1 < (_local3 / 2)) { return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutQuint") * 0.5) + _local4); } return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInQuint") * 0.5) + (_local2 * 0.5)) + _local4); case "easeinsine" : return((((-_local2) * Math.cos((_local1 / _local3) * (Math.PI/2))) + _local2) + _local4); case "easeoutsine" : return((_local2 * Math.sin((_local1 / _local3) * (Math.PI/2))) + _local4); case "easeinoutsine" : return((((-_local2) / 2) * (Math.cos((Math.PI * _local1) / _local3) - 1)) + _local4); case "easeoutinsine" : if (_local1 < (_local3 / 2)) { return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutSine") * 0.5) + _local4); } return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInSine") * 0.5) + (_local2 * 0.5)) + _local4); case "easeinexpo" : return(((_local1 == 0) ? (_local4) : ((_local2 * Math.pow(2, 10 * ((_local1 / _local3) - 1))) + _local4))); case "easeoutexpo" : return(((_local1 == _local3) ? (_local4 + _local2) : ((_local2 * ((-Math.pow(2, (-10 * _local1) / _local3)) + 1)) + _local4))); case "easeinoutexpo" : if (_local1 == 0) { return(_local4); } if (_local1 == _local3) { return(_local4 + _local2); } _local1 = _local1 / (_local3 / 2); if (_local1 < 1) { return(((_local2 / 2) * Math.pow(2, 10 * (_local1 - 1))) + _local4); } _local1--; return(((_local2 / 2) * ((-Math.pow(2, -10 * _local1)) + 2)) + _local4); case "easeoutinexpo" : if (_local1 == 0) { return(_local4); } if (_local1 == _local3) { return(_local4 + _local2); } _local1 = _local1 / (_local3 / 2); if (_local1 < 1) { return(((_local2 / 2) * ((-Math.pow(2, (-10 * _local1) / 1)) + 1)) + _local4); } return(((_local2 / 2) * (Math.pow(2, (10 * (_local1 - 2)) / 1) + 1)) + _local4); case "easeincirc" : _local1 = _local1 / _local3; return(((-_local2) * (Math.sqrt(1 - (_local1 * _local1)) - 1)) + _local4); case "easeoutcirc" : _local1 = (_local1 / _local3) - 1; return((_local2 * Math.sqrt(1 - (_local1 * _local1))) + _local4); case "easeinoutcirc" : _local1 = _local1 / (_local3 / 2); if (_local1 < 1) { return((((-_local2) / 2) * (Math.sqrt(1 - (_local1 * _local1)) - 1)) + _local4); } _local1 = _local1 - 2; return(((_local2 / 2) * (Math.sqrt(1 - (_local1 * _local1)) + 1)) + _local4); case "easeoutincirc" : if (_local1 < (_local3 / 2)) { return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutCirc") * 0.5) + _local4); } return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInCirc") * 0.5) + (_local2 * 0.5)) + _local4); case "easeinelastic" : if (_local1 == 0) { return(_local4); } _local1 = _local1 / _local3; if (_local1 == 1) { return(_local4 + _local2); } if (!_local7) { _local7 = _local3 * 0.3; } if ((!_local6) || (_local6 < Math.abs(_local2))) { _local6 = _local2; _local5 = _local7 / 4; } else { _local5 = (_local7 / (Math.PI*2)) * Math.asin(_local2 / _local6); } _local1 = _local1 - 1; return((-((_local6 * Math.pow(2, 10 * _local1)) * Math.sin((((_local1 * _local3) - _local5) * (Math.PI*2)) / _local7))) + _local4); case "easeoutelastic" : if (_local1 == 0) { return(_local4); } _local1 = _local1 / _local3; if (_local1 == 1) { return(_local4 + _local2); } if (!_local7) { _local7 = _local3 * 0.3; } if ((!_local6) || (_local6 < Math.abs(_local2))) { _local6 = _local2; _local5 = _local7 / 4; } else { _local5 = (_local7 / (Math.PI*2)) * Math.asin(_local2 / _local6); } return((((_local6 * Math.pow(2, -10 * _local1)) * Math.sin((((_local1 * _local3) - _local5) * (Math.PI*2)) / _local7)) + _local2) + _local4); case "easeinoutelastic" : if (_local1 == 0) { return(_local4); } _local1 = _local1 / (_local3 / 2); if (_local1 == 2) { return(_local4 + _local2); } if (!_local7) { _local7 = _local3 * 0.45; } if ((!_local6) || (_local6 < Math.abs(_local2))) { _local6 = _local2; _local5 = _local7 / 4; } else { _local5 = (_local7 / (Math.PI*2)) * Math.asin(_local2 / _local6); } if (_local1 < 1) { _local1 = _local1 - 1; return((-0.5 * ((_local6 * Math.pow(2, 10 * _local1)) * Math.sin((((_local1 * _local3) - _local5) * (Math.PI*2)) / _local7))) + _local4); } _local1 = _local1 - 1; return(((((_local6 * Math.pow(2, -10 * _local1)) * Math.sin((((_local1 * _local3) - _local5) * (Math.PI*2)) / _local7)) * 0.5) + _local2) + _local4); case "easeoutinelastic" : if (_local1 < (_local3 / 2)) { return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutElastic") * 0.5) + _local4); } return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInElastic") * 0.5) + (_local2 * 0.5)) + _local4); case "easeinback" : if (_local5 == undefined) { _local5 = 1.70158; } _local1 = _local1 / _local3; return((((_local2 * _local1) * _local1) * (((_local5 + 1) * _local1) - _local5)) + _local4); case "easeoutback" : if (_local5 == undefined) { _local5 = 1.70158; } _local1 = (_local1 / _local3) - 1; return((_local2 * (((_local1 * _local1) * (((_local5 + 1) * _local1) + _local5)) + 1)) + _local4); case "easeinoutback" : if (_local5 == undefined) { _local5 = 1.70158; } _local1 = _local1 / (_local3 / 2); if (_local1 < 1) { _local5 = _local5 * 1.525; return(((_local2 / 2) * ((_local1 * _local1) * (((_local5 + 1) * _local1) - _local5))) + _local4); } _local1 = _local1 - 2; _local5 = _local5 * 1.525; return(((_local2 / 2) * (((_local1 * _local1) * (((_local5 + 1) * _local1) + _local5)) + 2)) + _local4); case "easeoutinback" : if (_local1 < (_local3 / 2)) { return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutBack") * 0.5) + _local4); } return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInBack") * 0.5) + (_local2 * 0.5)) + _local4); case "easeinbounce" : return((_local2 - findTweenValue(0, _local2, 0, _local3 - _local1, _local3, "easeOutBounce")) + _local4); case "easeoutbounce" : _local1 = _local1 / _local3; if (_local1 < 0.363636363636364) { return((_local2 * ((7.5625 * _local1) * _local1)) + _local4); } if (_local1 < 0.727272727272727) { _local1 = _local1 - 0.545454545454545; return((_local2 * (((7.5625 * _local1) * _local1) + 0.75)) + _local4); } if (_local1 < 0.909090909090909) { _local1 = _local1 - 0.818181818181818; return((_local2 * (((7.5625 * _local1) * _local1) + 0.9375)) + _local4); } _local1 = _local1 - 0.954545454545455; return((_local2 * (((7.5625 * _local1) * _local1) + 0.984375)) + _local4); case "easeinoutbounce" : if (_local1 < (_local3 / 2)) { return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeInBounce") * 0.5) + _local4); } return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeOutBounce") * 0.5) + (_local2 * 0.5)) + _local4); case "easeoutinbounce" : if (_local1 < (_local3 / 2)) { return((findTweenValue(0, _local2, 0, _local1 * 2, _local3, "easeOutBounce") * 0.5) + _local4); } return(((findTweenValue(0, _local2, 0, (_local1 * 2) - _local3, _local3, "easeInBounce") * 0.5) + (_local2 * 0.5)) + _local4); } trace(("MC TWEEN ### Error on transition: there's no \"" + _animType) + "\" animation type."); return(0); }; ASSetPropFlags(_global, "findTweenValue", 1, 0);
Frame 2
function initial_load() { this.onEnterFrame = function () { frloaded = _root.getBytesLoaded(); frtotal = _root.getBytesTotal(); if ((frloaded > 10) && (frloaded == frtotal)) { if (testcount > 3) { loader.loadbar._xscale = 100; loader.scaleTo(0, 0.5, "easeInBack", 0, function () { this._y = -100; play(); }); this.onEnterFrame = undefined; } else { this.onEnterFrame = undefined; autoloader(); } } else { testcount++; loader.loadbar._xscale = (frloaded / frtotal) * 100; } }; } function autoloader() { percenttoload = 0; this.onEnterFrame = function () { percenttoload = percenttoload + 1; loader.loadbar._xscale = percenttoload; percent.text = percenttoload + "%"; if (percenttoload >= 100) { loader.loadbar._xscale = 100; loader.scaleTo(0, 0.5, "easeInBack", 0, function () { this._y = -100; play(); }); this.onEnterFrame = undefined; } }; } testcount = 0; loader._alpha = 0; loader._x = Stage.width / 2; loader._y = Stage.height / 2; loader._xscale = 1; loader._yscale = 1; loader._alpha = 100; loader.scaleTo(100, 0.5, "easeOutBack", 0, function () { }); loader.bufferClip.gotoAndPlay("loop"); initial_load(); stop();
Frame 10
function introMusicFade() { new VolumeTo(introMusic_snd, 100, 0, 500); } stop(); var introMusic_snd; var introMusic_mc; var depth = this.getNextHighestDepth(); introMusic_mc = this.createEmptyMovieClip("clip" + depth, depth); introMusic_snd = new Sound(introMusic_mc); introMusic_snd.attachSound("intro_music"); introMusic_snd.start(0, 20);
Frame 15
stop();
Symbol 43 MovieClip [missed] Frame 20
callBack();
Symbol 58 MovieClip [results] Frame 16
stop(); playAgain_btn.onPress = function () { play(); }; results_txt.htmlText = resultsHtmlTxt;
Symbol 58 MovieClip [results] Frame 24
stop(); callBack();
Symbol 73 MovieClip [difficulty] Frame 10
stop(); easy_btn.onPress = function () { this._parent.HarmonicaGameController.setDifficultyLevel("easy"); play(); }; medium_btn.onPress = function () { this._parent.HarmonicaGameController.setDifficultyLevel("medium"); play(); }; hard_btn.onPress = function () { this._parent.HarmonicaGameController.setDifficultyLevel("hard"); play(); };
Symbol 73 MovieClip [difficulty] Frame 20
callBack();
Symbol 142 MovieClip [__Packages.VolumeTo] Frame 0
class VolumeTo { var target_snd, startVolume, currentVolume, endVolume, duration, intervalIncrement, soundIncrement, intervalID; function VolumeTo (target, startVol, endVol, dur) { target_snd = target; startVolume = (currentVolume = startVol); endVolume = endVol; duration = dur; intervalIncrement = 25; soundIncrement = (endVolume - startVolume) / (duration / intervalIncrement); target_snd.setVolume(startVolume); intervalID = setInterval(this, "updateVolume", intervalIncrement); } function updateVolume() { duration = duration - intervalIncrement; currentVolume = currentVolume + soundIncrement; target_snd.setVolume(currentVolume); if (!duration) { destroy(); } } function destroy() { clearInterval(intervalID); } }
Symbol 143 MovieClip [__Packages.HarmonicaGameController] Frame 0
class HarmonicaGameController { var target_mc, alvin_mc, harmonica_mc, harmonicaXmax, harmonicaXmin, harmonicaYmax, harmonicaYmin, harmonicaXpos, harmonicaXmid, armRotationMaxDegrees, armRotationRatio, harmonicaYincrement, noteHoles_arr, notesIndexMax, notesSpawnX, notesSpawnY, notes_arr, notesYmin, buzzerSound_mc, buzzer_snd, alvin_snd, buzzKill_snd, dialogueCount, musicSound_mc, music_snd, numberOfMusicLoops, triangle_arr, resultsSound_mc, results_snd, keyObj, arrowKeysStatus, updateLoop_mc, score, musicIntervalID, intervalID, intervalLength, notesSequence_arr; function HarmonicaGameController (target, harmonica, alvin) { target_mc = target; alvin_mc = alvin; harmonica_mc = harmonica; harmonicaXmax = 618; harmonicaXmin = 325; harmonicaYmax = 260; harmonicaYmin = 200; harmonicaXpos = harmonica_mc._x; harmonicaXmid = ((harmonicaXmax - harmonicaXmin) / 2) + harmonicaXmin; armRotationMaxDegrees = 20; armRotationRatio = (harmonicaXmax - harmonicaXmid) / armRotationMaxDegrees; harmonicaYincrement = (harmonicaYmax - harmonicaYmin) / (harmonicaXmax - harmonicaXmin); noteHoles_arr = new Array(harmonica_mc.note0_mc, harmonica_mc.note1_mc, harmonica_mc.note2_mc, harmonica_mc.note3_mc, harmonica_mc.note4_mc, harmonica_mc.note5_mc, harmonica_mc.note6_mc, harmonica_mc.note7_mc, harmonica_mc.note8_mc, harmonica_mc.note9_mc); notesIndexMax = noteHoles_arr.length - 1; notesSpawnX = 450; notesSpawnY = 590; notes_arr = new Array(); notesYmin = 390; setNotesSequenceArray(); var _local3 = target_mc.getNextHighestDepth(); buzzerSound_mc = target_mc.createEmptyMovieClip("clip" + _local3, _local3); buzzer_snd = new Sound(buzzerSound_mc); buzzer_snd.attachSound("buzzer"); alvin_snd = new Sound(buzzerSound_mc); alvin_snd.attachSound("alvin"); buzzKill_snd = new Sound(buzzerSound_mc); buzzKill_snd.attachSound("buzz_kill"); dialogueCount = 0; _local3 = target_mc.getNextHighestDepth(); musicSound_mc = target_mc.createEmptyMovieClip("clip" + _local3, _local3); music_snd = new Sound(musicSound_mc); music_snd.attachSound("witchdoctor"); numberOfMusicLoops = 2; triangle_arr = new Array(); var _local2 = 0; while (_local2 < noteHoles_arr.length) { triangle_arr[_local2] = new Sound(buzzerSound_mc); triangle_arr[_local2].attachSound("triangle" + _local2); _local2++; } _local3 = target_mc.getNextHighestDepth(); resultsSound_mc = target_mc.createEmptyMovieClip("clip" + _local3, _local3); results_snd = new Sound(resultsSound_mc); keyObj = new Object(); arrowKeysStatus = new ArrowKeys(keyObj); _local3 = target_mc.getNextHighestDepth(); updateLoop_mc = target_mc.createEmptyMovieClip("clip" + _local3, _local3); updateLoop_mc.HarmonicaGameController = new Object(); updateLoop_mc.HarmonicaGameController = this; } function startGame() { var _local3 = target_mc.getNextHighestDepth(); var _local2 = target_mc.attachMovie("difficulty", "difficulty" + _local3, _local3); _local2._x = Stage.width / 2; _local2._y = Stage.height / 2; _local2.HarmonicaGameController = new Object(); _local2.HarmonicaGameController = this; _local2.callBack = function () { this.HarmonicaGameController.reset(); this.removeMovieClip(); }; } function reset() { score = 0; updateScore(score); musicIntervalID = setInterval(this, "gameOver", music_snd.duration * numberOfMusicLoops); music_snd.start(0, numberOfMusicLoops); intervalID = setInterval(this, "intervalUpdate", 2000); updateLoop_mc.onEnterFrame = function () { this.HarmonicaGameController.update(); }; } function gameOver() { target_mc.alvin_mc.stop(); delete updateLoop_mc.onEnterFrame; clearInterval(intervalID); clearInterval(musicIntervalID); var _local2 = notes_arr.length - 1; while (_local2 >= 0) { notes_arr[_local2].removeMovieClip(); _local2--; } notes_arr = []; harmonica_mc.helpArrow_mc._x = -1000; var _local4 = target_mc.getNextHighestDepth(); var _local3 = target_mc.attachMovie("results", "results" + _local4, _local4); _local3._x = Stage.width / 2; _local3._y = Stage.height / 2; if (score >= 10) { results_snd.attachSound("win"); results_snd.start(); _local3.resultsHtmlTxt = "Congratulations! Your rating is <i>GREAT</i>.\n\nYou can jam with the Chipmunks any time!"; } else if (score >= 0) { results_snd.attachSound("win"); results_snd.start(); _local3.resultsHtmlTxt = "Well done! Your rating is <i>SOLID</i>.\n\nYou are on your way to being a munk-tastic musician!"; } else if (score > -10) { results_snd.attachSound("lose"); results_snd.start(); _local3.resultsHtmlTxt = "Good try! Your rating is <i>DECENT</i>.\n\nWith a little more practice, you'll be ready for the big time!"; } else { results_snd.attachSound("lose"); results_snd.start(); _local3.resultsHtmlTxt = "Sorry, Your harmonica skills need work."; } _local3.HarmonicaGameController = new Object(); _local3.HarmonicaGameController = this; _local3.callBack = function () { this.HarmonicaGameController.results_snd.stop(); this.HarmonicaGameController.startGame(); this.removeMovieClip(); }; } function update() { arrowKeysStatus.pollArrowKeys(); updateHarmonica(); updateNotes(); checkNotePlaying(); updateHelpArrow(); } function intervalUpdate() { clearInterval(intervalID); spawnNotes(); var _local2; _local2 = (Math.random() * 250) + intervalLength; intervalID = setInterval(this, "intervalUpdate", _local2); } function setNotesSequenceArray() { notesSequence_arr = new Array(4, -1, 2, -1, 3, -1, 4, -1, 5, -1, 1, -1, 8, -1, 5, -1, 7, -1, 4, -1, 5, -1, 7, -1, 9, -1, 8, -1, 6, -1); } function spawnNotes() { if (notesSequence_arr[0] == -1) { notesSequence_arr.shift(); } else { var _local2; var _local3 = target_mc.notesAnchor_mc.getNextHighestDepth(); _local2 = target_mc.notesAnchor_mc.attachMovie("note", "note" + _local3, _local3); _local2.noteIndex = notesSequence_arr.shift(); _local2.gotoAndStop(_local2.noteIndex + 1); _local2._x = notesSpawnX; _local2._y = notesSpawnY; notes_arr.push(_local2); } if (!notesSequence_arr.length) { setNotesSequenceArray(); } } function updateNotes() { var _local3; var _local2 = notes_arr.length - 1; while (_local2 >= 0) { _local3 = notes_arr[_local2]; _local3._y = _local3._y - 2; _local2--; } } function checkNotePlaying() { var _local2; var _local3; var _local4; _local2 = notes_arr[0]; if ((_local2._y != undefined) && (_local2._y <= notesYmin)) { _local3 = noteHoles_arr[_local2.noteIndex]; if (_local2.hitTest(_local3)) { updateScore(1); triangle_arr[_local2.noteIndex].start(); _local4 = new NotesFly(target_mc.notesFlyAnchor_mc, _local2.noteIndex, _local2._x, _local2._y); } else { updateScore(-1); buzzer_snd.start(); if ((dialogueCount++) % 2) { alvin_snd.stop(); buzzKill_snd.start(); } else { buzzKill_snd.stop(); alvin_snd.start(); } new VolumeTo(music_snd, 0, 100, 1000); new Missed(target_mc, _local2._x, _local2._y - 20); new ShakeMovie(target_mc); } _local2.removeMovieClip(); notes_arr.shift(); } } function updateHarmonica() { harmonicaXpos = harmonicaXpos + (keyObj.vx * 6); if (harmonicaXpos > harmonicaXmax) { harmonicaXpos = harmonicaXmax; } else if (harmonicaXpos < harmonicaXmin) { harmonicaXpos = harmonicaXmin; } var _local2; _local2 = (harmonicaXpos - harmonica_mc._x) * 0.25; harmonica_mc._x = harmonica_mc._x + _local2; harmonica_mc._y = ((harmonica_mc._x - harmonicaXmin) * harmonicaYincrement) + harmonicaYmin; } function updateHelpArrow() { var _local3 = notes_arr[0]; var _local2 = noteHoles_arr[_local3.noteIndex]; harmonica_mc.helpArrow_mc._x = _local2._x + 23; harmonica_mc.helpArrow_mc._y = _local2._y - 20; } function updateScore(increment) { score = score + increment; if (score > 20) { score = 20; } else if (score < -20) { score = -20; } target_mc.meter_mc.meterArrow_mc._rotation = -90 + (score * 4); } function setDifficultyLevel(difficultyLevel) { if (difficultyLevel == "easy") { intervalLength = 1000; } else if (difficultyLevel == "medium") { intervalLength = 750; } else { intervalLength = 500; } } }
Symbol 144 MovieClip [__Packages.ArrowKeys] Frame 0
class ArrowKeys { var keyObj, leftKeyLastPressed, rightKeyLastPressed, upKeyLastPressed, downKeyLastPressed; function ArrowKeys (keys) { keyObj = keys; keyObj.vx = 0; keyObj.vy = 0; } function pollArrowKeys() { if (Key.isDown(37)) { if (!leftKeyLastPressed) { leftKeyLastPressed = getTimer(); } } else { leftKeyLastPressed = 0; } if (Key.isDown(39)) { if (!rightKeyLastPressed) { rightKeyLastPressed = getTimer(); } } else { rightKeyLastPressed = 0; } if (leftKeyLastPressed > rightKeyLastPressed) { keyObj.vx = -1; } else if (leftKeyLastPressed < rightKeyLastPressed) { keyObj.vx = 1; } else { keyObj.vx = 0; } if (Key.isDown(38)) { if (!upKeyLastPressed) { upKeyLastPressed = getTimer(); } } else { upKeyLastPressed = 0; } if (Key.isDown(40)) { if (!downKeyLastPressed) { downKeyLastPressed = getTimer(); } } else { downKeyLastPressed = 0; } if (upKeyLastPressed > downKeyLastPressed) { keyObj.vy = 1; } else if (upKeyLastPressed < downKeyLastPressed) { keyObj.vy = -1; } else { keyObj.vy = 0; } } }
Symbol 145 MovieClip [__Packages.NotesFly] Frame 0
class NotesFly { var notesFlyAnchor_mc, radians, i, depth, tempMC; function NotesFly (notesFlyAchor, noteIndex, xPos, yPos) { notesFlyAnchor_mc = notesFlyAchor; radians = (Math.PI/180) * (-90 + (Math.random() * 10)); i = 0; while (i < 20) { depth = notesFlyAnchor_mc.getNextHighestDepth(); tempMC = notesFlyAnchor_mc.attachMovie("flyingNote", "clip" + depth, depth); tempMC.gotoAndStop(noteIndex + 1); tempMC._xscale = 100 + (Math.random() * 50); tempMC._yscale = 100 + (Math.random() * 50); tempMC._x = xPos; tempMC._y = yPos; tempMC.vx = Math.cos(radians) * ((5 * Math.random()) * i); tempMC.vy = Math.sin(radians) * (10 + (i / 2)); tempMC.rt = 5 + (Math.random() * 10); tempMC.counter = 0; tempMC.onEnterFrame = function () { this._y = this._y + this.vy; this._x = this._x + this.vx; this.vy = this.vy + 0.5; this._rotation = this._rotation + this.rt; if ((this.counter++) > 50) { this.removeMovieClip(); } }; i++; } } }
Symbol 146 MovieClip [__Packages.Missed] Frame 0
class Missed { var target_mc, missed_mc; function Missed (target, xPos, yPos) { target_mc = target; var _local2 = target_mc.getNextHighestDepth(); missed_mc = target_mc.attachMovie("missed", "missed" + _local2, _local2); missed_mc._x = xPos; missed_mc._y = yPos; missed_mc.callBack = function () { this.removeMovieClip(); }; destroy(); } function destroy() { } }
Symbol 147 MovieClip [__Packages.ShakeMovie] Frame 0
class ShakeMovie { var target_mc, enterFrame_mc, homeY, shake_arr; function ShakeMovie (target) { target_mc = target; var _local2 = target.getNextHighestDepth(); enterFrame_mc = target.createEmptyMovieClip("clip" + _local2, _local2); homeY = 0; shake_arr = new Array(5, -5, 4, -4, 3, -3, 1, 0); enterFrame_mc.ShakeMovie = new Object(); enterFrame_mc.ShakeMovie = this; enterFrame_mc.onEnterFrame = function () { this.ShakeMovie.shake(); }; } function shake() { var _local2 = Number(shake_arr.shift()); target_mc._y = homeY + _local2; if (!shake_arr.length) { enterFrame_mc.removeMovieClip(); } } }
Symbol 94 MovieClip Frame 2
stop();
Symbol 94 MovieClip Frame 68
gotoAndPlay ("loop");
Symbol 97 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 108
stop(); start_btn.onPress = function () { play(); _parent.introMusicFade(); };
Symbol 115 MovieClip Frame 117
stop(); _parent.play();
Symbol 141 MovieClip Frame 36
var myHarmonicaGameController = new HarmonicaGameController(this, harmonica_mc, alvin_mc); myHarmonicaGameController.startGame(); stop();

Library Items

Symbol 1 Sound [witchdoctor]Used by:Timeline
Symbol 2 Sound [triangle9]
Symbol 3 Sound [triangle8]
Symbol 4 Sound [triangle7]
Symbol 5 Sound [triangle6]
Symbol 6 Sound [triangle0]
Symbol 7 Sound [triangle1]
Symbol 8 Sound [triangle2]
Symbol 9 Sound [triangle3]
Symbol 10 Sound [triangle4]
Symbol 11 Sound [triangle5]
Symbol 12 Sound [alvin]
Symbol 13 Sound [intro_music]Used by:Timeline
Symbol 14 Sound [win]
Symbol 15 Sound [buzz_kill]
Symbol 16 Sound [buzzer]
Symbol 17 Sound [lose]
Symbol 18 GraphicUsed by:28
Symbol 19 GraphicUsed by:28
Symbol 20 GraphicUsed by:28
Symbol 21 GraphicUsed by:28
Symbol 22 GraphicUsed by:28
Symbol 23 GraphicUsed by:28
Symbol 24 GraphicUsed by:28
Symbol 25 GraphicUsed by:28
Symbol 26 GraphicUsed by:28
Symbol 27 GraphicUsed by:28
Symbol 28 MovieClip [note]Uses:18 19 20 21 22 23 24 25 26 27
Symbol 29 GraphicUsed by:39
Symbol 30 GraphicUsed by:39
Symbol 31 GraphicUsed by:39
Symbol 32 GraphicUsed by:39
Symbol 33 GraphicUsed by:39
Symbol 34 GraphicUsed by:39
Symbol 35 GraphicUsed by:39
Symbol 36 GraphicUsed by:39
Symbol 37 GraphicUsed by:39
Symbol 38 GraphicUsed by:39
Symbol 39 MovieClip [flyingNote]Uses:29 30 31 32 33 34 35 36 37 38
Symbol 40 GraphicUsed by:43
Symbol 41 FontUsed by:42
Symbol 42 TextUses:41Used by:43
Symbol 43 MovieClip [missed]Uses:40 42
Symbol 44 GraphicUsed by:58 141
Symbol 45 GraphicUsed by:58 73
Symbol 46 FontUsed by:47 49 55 56 109 110 114 132
Symbol 47 EditableTextUses:46 48Used by:58
Symbol 48 FontUsed by:47 49
Symbol 49 EditableTextUses:46 48Used by:58
Symbol 50 BitmapUsed by:51
Symbol 51 GraphicUses:50Used by:58
Symbol 52 BitmapUsed by:53
Symbol 53 GraphicUses:52Used by:54 57 111
Symbol 54 MovieClipUses:53Used by:57 111
Symbol 55 TextUses:46Used by:57
Symbol 56 TextUses:46Used by:57
Symbol 57 ButtonUses:54 55 56 53Used by:58
Symbol 58 MovieClip [results]Uses:44 45 47 49 51 57
Symbol 59 BitmapUsed by:60
Symbol 60 GraphicUses:59Used by:63 65 69 72
Symbol 61 FontUsed by:62 64 66 67 68 70 71 78 80 82 84 86 88 90 92 104
Symbol 62 TextUses:61Used by:65
Symbol 63 MovieClipUses:60Used by:65 69 72
Symbol 64 TextUses:61Used by:65
Symbol 65 ButtonUses:60 62 63 64Used by:73
Symbol 66 TextUses:61Used by:73
Symbol 67 TextUses:61Used by:69
Symbol 68 TextUses:61Used by:69
Symbol 69 ButtonUses:60 67 63 68Used by:73
Symbol 70 TextUses:61Used by:72
Symbol 71 TextUses:61Used by:72
Symbol 72 ButtonUses:63 70 71 60Used by:73
Symbol 73 MovieClip [difficulty]Uses:45 65 66 69 72
Symbol 142 MovieClip [__Packages.VolumeTo]
Symbol 143 MovieClip [__Packages.HarmonicaGameController]
Symbol 144 MovieClip [__Packages.ArrowKeys]
Symbol 145 MovieClip [__Packages.NotesFly]
Symbol 146 MovieClip [__Packages.Missed]
Symbol 147 MovieClip [__Packages.ShakeMovie]
Symbol 74 GraphicUsed by:75
Symbol 75 MovieClipUses:74Used by:97
Symbol 76 GraphicUsed by:77
Symbol 77 MovieClipUses:76Used by:97
Symbol 78 TextUses:61Used by:79
Symbol 79 MovieClipUses:78Used by:94
Symbol 80 TextUses:61Used by:81
Symbol 81 MovieClipUses:80Used by:94
Symbol 82 TextUses:61Used by:83
Symbol 83 MovieClipUses:82Used by:94
Symbol 84 TextUses:61Used by:85
Symbol 85 MovieClipUses:84Used by:94
Symbol 86 TextUses:61Used by:87
Symbol 87 MovieClipUses:86Used by:94
Symbol 88 TextUses:61Used by:89
Symbol 89 MovieClipUses:88Used by:94
Symbol 90 TextUses:61Used by:91
Symbol 91 MovieClipUses:90Used by:94
Symbol 92 TextUses:61Used by:93
Symbol 93 MovieClipUses:92Used by:94
Symbol 94 MovieClipUses:79 81 83 85 87 89 91 93Used by:97
Symbol 95 GraphicUsed by:96
Symbol 96 MovieClipUses:95Used by:97
Symbol 97 MovieClipUses:75 77 94 96Used by:Timeline
Symbol 98 BitmapUsed by:99
Symbol 99 GraphicUses:98Used by:Timeline
Symbol 100 BitmapUsed by:101
Symbol 101 GraphicUses:100Used by:115
Symbol 102 BitmapUsed by:103
Symbol 103 GraphicUses:102Used by:115
Symbol 104 TextUses:61Used by:115
Symbol 105 BitmapUsed by:106
Symbol 106 GraphicUses:105Used by:115
Symbol 107 BitmapUsed by:108
Symbol 108 GraphicUses:107Used by:115
Symbol 109 TextUses:46Used by:111
Symbol 110 TextUses:46Used by:111
Symbol 111 ButtonUses:54 109 110 53Used by:115
Symbol 112 BitmapUsed by:113
Symbol 113 GraphicUses:112Used by:115
Symbol 114 TextUses:46Used by:115
Symbol 115 MovieClipUses:101 103 104 106 108 111 113 114Used by:Timeline
Symbol 116 BitmapUsed by:117
Symbol 117 GraphicUses:116Used by:122
Symbol 118 GraphicUsed by:119
Symbol 119 MovieClipUses:118Used by:122
Symbol 120 GraphicUsed by:121
Symbol 121 MovieClipUses:120Used by:122
Symbol 122 MovieClipUses:117 119 121Used by:141
Symbol 123 BitmapUsed by:124
Symbol 124 GraphicUses:123Used by:129
Symbol 125 GraphicUsed by:126
Symbol 126 MovieClipUses:125Used by:129
Symbol 127 BitmapUsed by:128
Symbol 128 GraphicUses:127Used by:129
Symbol 129 MovieClipUses:124 126 128Used by:141
Symbol 130 BitmapUsed by:131
Symbol 131 GraphicUses:130Used by:141
Symbol 132 TextUses:46Used by:141
Symbol 133 SoundUsed by:141
Symbol 134 BitmapUsed by:135
Symbol 135 GraphicUses:134Used by:136
Symbol 136 MovieClipUses:135Used by:141
Symbol 137 GraphicUsed by:139
Symbol 138 GraphicUsed by:139
Symbol 139 MovieClipUses:137 138Used by:141
Symbol 140 MovieClipUsed by:141
Symbol 141 MovieClipUses:122 129 131 44 132 133 136 139 140Used by:Timeline

Instance Names

"loader"Frame 2Symbol 97 MovieClip
"results_txt"Symbol 58 MovieClip [results] Frame 16Symbol 47 EditableText
"results_txt"Symbol 58 MovieClip [results] Frame 16Symbol 49 EditableText
"playAgain_btn"Symbol 58 MovieClip [results] Frame 16Symbol 57 Button
"hard_btn"Symbol 73 MovieClip [difficulty] Frame 10Symbol 65 Button
"medium_btn"Symbol 73 MovieClip [difficulty] Frame 10Symbol 69 Button
"easy_btn"Symbol 73 MovieClip [difficulty] Frame 10Symbol 72 Button
"loadbar"Symbol 97 MovieClip Frame 1Symbol 77 MovieClip
"bufferClip"Symbol 97 MovieClip Frame 1Symbol 94 MovieClip
"loadbar"Symbol 97 MovieClip Frame 2Symbol 96 MovieClip
"start_btn"Symbol 115 MovieClip Frame 87Symbol 111 Button
"note0_mc"Symbol 122 MovieClip Frame 1Symbol 119 MovieClip
"note1_mc"Symbol 122 MovieClip Frame 1Symbol 119 MovieClip
"note2_mc"Symbol 122 MovieClip Frame 1Symbol 119 MovieClip
"note3_mc"Symbol 122 MovieClip Frame 1Symbol 119 MovieClip
"note4_mc"Symbol 122 MovieClip Frame 1Symbol 119 MovieClip
"note5_mc"Symbol 122 MovieClip Frame 1Symbol 119 MovieClip
"note6_mc"Symbol 122 MovieClip Frame 1Symbol 119 MovieClip
"note7_mc"Symbol 122 MovieClip Frame 1Symbol 119 MovieClip
"note8_mc"Symbol 122 MovieClip Frame 1Symbol 119 MovieClip
"note9_mc"Symbol 122 MovieClip Frame 1Symbol 119 MovieClip
"helpArrow_mc"Symbol 122 MovieClip Frame 1Symbol 121 MovieClip
"meterArrow_mc"Symbol 129 MovieClip Frame 1Symbol 126 MovieClip
"harmonica_mc"Symbol 141 MovieClip Frame 1Symbol 122 MovieClip
"meter_mc"Symbol 141 MovieClip Frame 1Symbol 129 MovieClip
"notesAnchor_mc"Symbol 141 MovieClip Frame 36Symbol 140 MovieClip
"notesFlyAnchor_mc"Symbol 141 MovieClip Frame 36Symbol 140 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "witchdoctor"
ExportAssets (56)Timeline Frame 1Symbol 2 as "triangle9"
ExportAssets (56)Timeline Frame 1Symbol 3 as "triangle8"
ExportAssets (56)Timeline Frame 1Symbol 4 as "triangle7"
ExportAssets (56)Timeline Frame 1Symbol 5 as "triangle6"
ExportAssets (56)Timeline Frame 1Symbol 6 as "triangle0"
ExportAssets (56)Timeline Frame 1Symbol 7 as "triangle1"
ExportAssets (56)Timeline Frame 1Symbol 8 as "triangle2"
ExportAssets (56)Timeline Frame 1Symbol 9 as "triangle3"
ExportAssets (56)Timeline Frame 1Symbol 10 as "triangle4"
ExportAssets (56)Timeline Frame 1Symbol 11 as "triangle5"
ExportAssets (56)Timeline Frame 1Symbol 12 as "alvin"
ExportAssets (56)Timeline Frame 1Symbol 13 as "intro_music"
ExportAssets (56)Timeline Frame 1Symbol 14 as "win"
ExportAssets (56)Timeline Frame 1Symbol 15 as "buzz_kill"
ExportAssets (56)Timeline Frame 1Symbol 16 as "buzzer"
ExportAssets (56)Timeline Frame 1Symbol 17 as "lose"
ExportAssets (56)Timeline Frame 1Symbol 28 as "note"
ExportAssets (56)Timeline Frame 1Symbol 39 as "flyingNote"
ExportAssets (56)Timeline Frame 1Symbol 43 as "missed"
ExportAssets (56)Timeline Frame 1Symbol 58 as "results"
ExportAssets (56)Timeline Frame 1Symbol 73 as "difficulty"
ExportAssets (56)Timeline Frame 1Symbol 142 as "__Packages.VolumeTo"
ExportAssets (56)Timeline Frame 1Symbol 143 as "__Packages.HarmonicaGameController"
ExportAssets (56)Timeline Frame 1Symbol 144 as "__Packages.ArrowKeys"
ExportAssets (56)Timeline Frame 1Symbol 145 as "__Packages.NotesFly"
ExportAssets (56)Timeline Frame 1Symbol 146 as "__Packages.Missed"
ExportAssets (56)Timeline Frame 1Symbol 147 as "__Packages.ShakeMovie"

Labels

"load"Frame 1
"intro"Frame 10
"game"Frame 15
"start"Symbol 94 MovieClip Frame 12
"loop"Symbol 94 MovieClip Frame 32




http://swfchan.com/10/46801/info.shtml
Created: 3/5 -2019 01:22:17 Last modified: 3/5 -2019 01:22:17 Server time: 17/05 -2024 10:38:26