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

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

Snowboard.swf

This is the info page for
Flash #48301

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


Text
M

L

LOADING

MULTI-BREAK!

SUPER-BREAK!

WILD-BREAK!

AWESOME-BREAK!

MEGA-BREAK!

LEGENDARY!

MADNESS!

INSANE!

EXTRA LIFE!

LEVEL

1

<p align="center"><font face="Eurostile Bold" size="16" color="#ff0000" letterSpacing="0.000000" kerning="1">000</font></p>

CLICK TO
START

PLAY MORE
FREE GAMES

at terrypaton.com

CLICK TO

HOLDER

SNOWBOARD

SNOWBOARD

www.terrypaton.com presents

8

control

Your Highest Score:

-

RESET SCORE

RESET SCORE

PLAY

PLAY

snowboard

FEB 2007

how to play

?

Collect  the flags for points

Hitting trees with hurt the dood

Collect the med-paks for more health

Use the mouse to steer the boarder

Press space while jumping for bonus points!

vnum

backGroundHolder

collectHolder

pointsHolder

6

STAGE

0

SCORE

0

FINAL
SCORE:

STAGE:

453456

0

GAME OVER

<p align="center"><font face="Standard_10pt_st" size="10" color="#000000" letterSpacing="1.000000" kerning="0">Game Over</font></p>

<p align="center"><font face="Standard_10pt_st" size="10" color="#000000" letterSpacing="1.000000" kerning="0">Game Over</font></p>

453456

GAME COMPLETE!

WELL DONE

ActionScript [AS1/AS2]

Frame 1
Security.allowDomain("*"); MochiAd.showPreGameAd({id:"c6f64dff9b497a64", res:"640x480"});
Frame 2
function gameMenu(menu, obj) { getURL (_root.webSite, "_blank"); } function qualityHigh() { _quality = "high"; } function qualityLow() { _quality = "low"; } this._lockroot = true; var gameName = "snowboard"; vNum = "1.01"; gameQuality = "AUTO"; _quality = "HIGH"; authorsSite = "http://www.terrypaton.com"; var menu_cm = new ContextMenu(); menu_cm.customItems.push(new ContextMenuItem(authorsSite, gameMenu)); menu_cm.customItems.push(new ContextMenuItem("HIGH Quality", qualityHigh)); menu_cm.customItems.push(new ContextMenuItem("LOW Quality", qualityLow)); menu_cm.hideBuiltInItems(); _root.menu = menu_cm; legalDomain = "http://www.terrypaton.com"; gameLocation = _root._url.substr(0, legalDomain.length); if (gameLocation != legalDomain) { }
Frame 3
gameLoadingName = "snowboard"; loadingClip.onEnterFrame = function () { pL = Math.floor((this._parent.getBytesLoaded() / this._parent.getBytesTotal()) * 100); if (pL < 100) { this.mask._xscale = (pL / 100) * 100; this._parent.stop(); } else { i = 0; while (i < stringLength) { removeMovieClip(eval ("loadingHolder.l" + i)); i++; } this._parent.play(); } }; stringLength = gameLoadingName.length; wordOffset = (stringLength * 20) / 2; this.createEmptyMovieClip("loadingHolder", 1); loadingHolder._x = (320 - wordOffset) + 10; loadingHolder._y = 160; i = 0; while (i < stringLength) { t = loadingHolder.attachMovie("letter", "l" + i, i); t._x = i * 20; t.angle = i; t.Lvar.text = gameLoadingName.charAt(i); t._xscale = (t._yscale = 200); i++; } stop();
Frame 4
function findKerningValue(tempLetterToKern, letterSpacing) { tempVal = 0; switch (tempLetterToKern) { case "i" : letterSpacing = letterSpacing * 0.7; tempVal = letterSpacing; break; case "l" : letterSpacing = letterSpacing * 0.7; tempVal = letterSpacing; break; default : tempVal = letterSpacing; } trace(tempVal); return(tempVal); } _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); _global.showWord = function (theWord, animationType, theX, theY, theTime, theClip, removeWhenFinished, textColour, letterSpacing, wordScale) { if (wordScale == undefined) { wordScale = 100; } if (letterSpacing == undefined) { trace("letter spacing is undefined"); var letterSpacing = 30; } if (theX == undefined) { theX = Stage.width / 2; } if (theY == undefined) { theY = Stage.height / 2; } if (removeWhenFinished == undefined) { removeWhenFinished = true; } if ((animationType == undefined) || (animationType == "undefined")) { animationType = "slide down"; } if (theTime == undefined) { theTime = 1; } if (theClip == undefined) { theClip = _root; } if (textColour == undefined) { textColour = 16777215 /* 0xFFFFFF */; } trace("textColour = " + textColour); if (kerningValue == undefined) { kerningValue = 0; } tempHolder = theClip.createEmptyMovieClip("wordHolder" + (Math.random() * 100), theClip.getNextHighestDepth()); wordScaleFactor = wordScale / 100; i = 0; while (i < theWord.length) { t = tempHolder.attachMovie("showWordLetter", "l" + i, i); i++; } letterSpacing = letterSpacing * wordScaleFactor; timeDelay = 0; timeIncrease = theTime / theWord.length; totalSentenceWidth = 0; baseLetterSize = letterSpacing; theKerningArray = new Array(); i = 0; while (i < theWord.length) { tempLetter = theWord.charAt(i); trace(tempLetter); tempVal = letterSpacing; switch (theWord.charAt(i)) { case "i" : tempVal = tempVal * 0.8; break; case "l" : tempVal = tempVal * 0.8; break; case "m" : tempVal = tempVal * 1.1; break; } switch (theWord.charAt(i + 1)) { case "i" : tempVal = tempVal * 0.8; break; case "l" : tempVal = tempVal * 0.8; break; case "m" : tempVal = tempVal * 1.1; break; } totalSentenceWidth = totalSentenceWidth + tempVal; theKerningArray.push(tempVal); i++; } xOffset = theX - ((totalSentenceWidth - tempVal) / 2); trace("the x = " + theX); trace(theKerningArray); totalLetterTime = theWord.length * timeIncrease; currentLetterPosition = xOffset; i = 0; while (i < theWord.length) { t = eval ("tempHolder.l" + i); t.textBox.text = theWord.charAt(i); t.textBox.colorTo(textColour); t._xscale = (t._yscale = wordScale); theXpos = currentLetterPosition; trace("theXpos = " + theXpos); currentLetterPosition = currentLetterPosition + theKerningArray[i]; t._x = theXpos; t._y = theY; switch (animationType) { case "horizon" : t._x = theX; t._y = theY - 60; t._xscale = (t._yscale = 10); t.scaleTo(100, theTime, "easeOutBack", timeDelay); t.slideTo(theXpos, theY, theTime, "", timeDelay); break; case "reverse" : t._alpha = 0; t.alphaTo(100, theTime, "", totalLetterTime - timeDelay); break; case "x letter scale" : t._alpha = 0; t.alphaTo(100, theTime, "", timeDelay); t._xscale = 1; t.xScaleTo(100, theTime, "", timeDelay); break; case "zoom rotate scale back" : t._rotation = 180; t.rotateTo(0, 0.5, "", timeDelay); t._alpha = 0; t.alphaTo(100, theTime, "easeOutBack", timeDelay); t._xscale = (t._yscale = 500); t.scaleTo(100, theTime, "easeOutBack", timeDelay); t.textBox.text = theWord.charAt(i); break; case "zoom rotate" : t._rotation = 190; t.rotateTo(0, theTime, "easeOutBack", timeDelay); t._alpha = 0; t.slideTo(theXpos, theY, theTime, "", timeDelay); t.alphaTo(100, theTime / 2, "", timeDelay); break; case "slide random smooth" : t._x = Math.random() * Stage.width; t._y = Math.random() * Stage.height; t._alpha = 0; t.slideTo(theXpos, theY, theTime, "", timeDelay); t.alphaTo(100, theTime / 2, "", timeDelay); break; case "slide random bounce" : t._x = Math.random() * Stage.width; t._y = Math.random() * Stage.height; t._alpha = 0; t.slideTo(theXpos, theY, theTime, "easeOutElastic", timeDelay); t.alphaTo(100, theTime / 2, "", timeDelay); break; case "slide zoom 3" : t._x = Stage.width / 2; t._alpha = 0; t.slideTo(theXpos, theY, theTime, "easeOutBack", timeDelay); t.alphaTo(100, theTime, "", timeDelay + 0.2); t._yscale = (t._xscale = 10); t.scaleTo(100, theTime); break; case "slide zoom 1" : t._x = Stage.width / 2; t._alpha = 0; t.slideTo(theXpos, theY, theTime); t.alphaTo(100, theTime / 2); t._yscale = (t._xscale = 10); t.scaleTo(100, theTime); break; case "slide zoom 2" : t._x = (theX - (theWord.length * letterSpacing)) + ((i * letterSpacing) * 2); t._alpha = 0; t._yscale = 500; t._xscale = 500; t.slideTo(theXpos, theY, theTime); t.alphaTo(100, theTime / 2); t.scaleTo(100, theTime); break; case "scale 1" : t._alpha = 0; t.alphaTo(100, theTime, "", timeDelay); t._yscale = 1500; t._xscale = 5; t.scaleTo(100, theTime, "", timeDelay); break; case "scale 2" : t._alpha = 0; t.alphaTo(100, theTime, "", timeDelay); t._yscale = 10; t._xscale = 500; t.scaleTo(100, theTime, "", timeDelay); break; case "scale 3" : t._x = theXpos; t._y = theY; t._alpha = 0; t.alphaTo(100, theTime, "", timeDelay); t._yscale = Math.random() * 500; t._xscale = Math.random() * 500; t.scaleTo(100, theTime, "", timeDelay); break; case "scale 4" : t._x = theXpos; t._y = theY; t._alpha = 0; t.alphaTo(100, theTime, "", timeDelay); t._yscale = 1500; t._xscale = 5; t.scaleTo(100, theTime, "easeOutBounce", timeDelay); break; case "scale 5" : t._x = theXpos; t._y = theY; t._alpha = 0; t.alphaTo(100, theTime, "", timeDelay); t._yscale = 1500; t._xscale = 5; t.scaleTo(100, theTime, "easeOutElastic", timeDelay); break; case "scale 6" : t._x = theXpos; t._y = theY; t._alpha = 0; t.alphaTo(100, theTime, "", timeDelay); t._yscale = 1500; t._xscale = 1500; t.scaleTo(100, theTime, "easeOutBounce", timeDelay); break; case "scale up" : t._x = theXpos; t._y = theY; t._alpha = 0; t.alphaTo(100, theTime, "", timeDelay); t._yscale = (t._xscale = 10); t.scaleTo(100, theTime, "", timeDelay); break; case "slide random" : t._x = Math.random() * Stage.width; t._y = Math.random() * Stage.height; t._alpha = 0; t.slideTo(xOffset + (i * letterSpacing), theY, theTime); t.alphaTo(100, theTime / 2); break; case "scale down rotate" : t._x = theXpos; t._y = theY; t._alpha = 0; t.alphaTo(100, theTime, "", timeDelay); t._yscale = (t._xscale = 500); t.scaleTo(100, theTime, "", timeDelay); t._rotation = 180; t.rotateTo(0, theTime, "", timeDelay); break; case "slide down" : t = eval ("tempHolder.l" + i); t._x = theXpos; t._y = -20; t.ySlideTo(theY, theTime, undefined, timeDelay); t.textBox.text = theWord.charAt(i); break; case "scale down" : t._x = theXpos; t._y = theY; t._alpha = 0; t.alphaTo(100, theTime, "", timeDelay); t._yscale = (t._xscale = 500); t.scaleTo(100, theTime, "", timeDelay); break; case "scale up" : t._x = theXpos; t._y = theY; t._alpha = 0; t.alphaTo(100, theTime, "", timeDelay); t._yscale = (t._xscale = 500); t.scaleTo(100, theTime, "", timeDelay); t.textBox.text = theWord.charAt(i); break; case "slide down bounce" : t._x = theXpos; t._y = -20; t.ySlideTo(theY, theTime, "easeOutBounce", timeDelay); t.textBox.text = theWord.charAt(i); break; case "slide down elastic" : t._x = theXpos; t._y = -20; t.ySlideTo(theY, theTime, "easeOutElastic", timeDelay); t.textBox.text = theWord.charAt(i); break; case "slide down back" : t._x = theXpos; t._y = -20; t.ySlideTo(theY, theTime, "easeOutBack", timeDelay); t.textBox.text = theWord.charAt(i); break; case "leap up" : t._x = theXpos; t._y = Stage.height + 50; t.ySlideTo(theY, theTime, "easeOutBack", timeDelay); t.textBox.text = theWord.charAt(i); break; case "scale back" : t._x = theXpos; t._y = theY; t.scaleTo(100, theTime, "easeOutBack", timeDelay); t.textBox.text = theWord.charAt(i); } trace(theXpos); timeDelay = timeDelay + timeIncrease; i++; } if (removeWhenFinished) { tempHolder.alphaTo(0, 2, undefined, theTime * 2, function () { removeMovieClip(this); }); } tempScale.scaleTo(wordScale, 1, "", 1); trace("wordScale = " + wordScale); };
Frame 6
function playSound(temp) { trace("playSound(temp) = " + temp); switch (temp) { case "points1" : pointsSnd.start(); break; case "points2" : points2Snd.start(); break; case "spin" : spinSnd.start(); break; case "energy" : energySnd.start(); break; case "jump" : jumpSnd.start(); break; case "mouseOver" : mouseOverSnd.start(); break; case "mouseDown" : mouseDownSnd.start(); break; case "hurt" : hurtSnd.start(); break; case "game complete" : gameCompleteSnd.start(); break; case "game over" : gameOverSnd.start(); break; case "ramp" : rampSnd.start(); break; case "snow" : snowSnd.start(); break; case "snow landing" : snowLandingSnd.start(); break; case "level complete" : levelCompleteSnd.start(); } } function attachSoundFromLibrary(idname) { var _local2 = new Sound(this); _local2.attachSound(idname); return(_local2); } function addPoints(addtoscore) { trace("add points"); tempPoints = addtoscore; t = pointsHolder.attachMovie("points", "p" + pointsCount, pointsCount); pointsCount++; score = score + tempPoints; trace(t); t.alphaTo(0, 1.5, "linear"); t.ySlideTo(py - 80, 1.5, "linear"); t.scaleTo(120, 1.5, "linear"); t.onTweenComplete = function () { removeMovieClip(this); }; t._x = px; t._y = py - 40; t.textBox.text = tempPoints; } function playingFunction() { if (playerJumping < 1) { player.wake._visible = true; playerHasSpun = false; } else { player.wake._visible = false; } if (playerDamageDelay > 0) { playerDamageDelay--; px = px + movepx; movepx = movepx * 0.9; positionPlayer(); if (playerDamageDelay < 1) { movepx = 0; } } else { distanceTraveled++; if (distanceTraveled > levelDistance) { level++; endOfLevelShown = false; distanceTraveledClip.ySlideTo(travelLineClip._y + 183, 0.5); tellPlayer("level announce"); levelDelayCount = 60; if (level == 2) { nextLevelSpeed = 11; levelDistance = 1500; } if (level == 3) { nextLevelSpeed = 14; levelDistance = 2000; } if (level == 4) { nextLevelSpeed = 17; levelDistance = 3000; } if (level == 5) { nextLevelSpeed = 19; levelDistance = 2000; } if (level > 5) { gameState = "game complete"; } playSound("level complete"); gameState = "next level delay"; } score++; movepx = (mouseClip._x - px) * 0.1; movepy = ((mouseClip._y - py) + 50) * 0.1; px = px + movepx; py = py + movepy; distanceTraveledClip._y = (travelLineClip._y + 183) - ((distanceTraveled / levelDistance) * 183); if (!endOfLevelShown) { if ((levelDistance - distanceTraveled) < 120) { endOfLevelShown = true; cc = attachMovie("collectable", "finishLine", 10000); cc.objectType = 4; cc._y = -100; cc._x = 240; collectNum++; trace("show exit"); cc.gotoAndStop(cc.objectType); } } if ((levelDistance - distanceTraveled) > 150) { collectableCount--; if (collectableCount < 1) { collectableCount = 30 + (Math.random() * (40 - (level * 5))); cc = collectHolder.attachMovie("collectable", "c" + collectNum, collectNum); collectNum++; cc.objectType = Math.floor(Math.random() * 3) + 1; cc._y = -100; if (cc.objectType == 2) { if ((lastEnemyLoc == "left") || (lastEnemyLoc == undefined)) { cc._x = 324; lastEnemyLoc = "right"; } else { cc._x = 155; lastEnemyLoc = "left"; } } else if ((lastEnemyLoc == "left") || (lastEnemyLoc == undefined)) { cc._x = ((Math.random() * 120) + 100) + 160; lastEnemyLoc = "right"; } else { cc._x = (Math.random() * 120) + 100; lastEnemyLoc = "left"; } cc.gotoAndStop(cc.objectType); cc.clip.gotoAndStop(Math.floor(Math.random() * 4) + 1); } enemyCount--; if (enemyCount < 1) { enemyCount = 12 + (Math.random() * (15 - (level * 5))); t = enemyHolder.attachMovie("enemy", "e" + enemyNum, enemyNum); enemyNum++; t.objectType = Math.floor(Math.random() * 12) + 1; t.stop(); t._visible = false; if ((lastEnemyLoc == "left") || (lastEnemyLoc == undefined)) { t._x = (Math.random() * 220) + 260; lastEnemyLoc = "right"; } else { t._x = Math.random() * 220; lastEnemyLoc = "left"; } t._y = -100; var _local1 = new flash.geom.Matrix(); var _local2 = new flash.geom.Matrix(); bmpy = t._y + 480; _local2.translate(t._x, bmpy); _local1.concat(_local2); enemiesClip.gotoAndStop(t.objectType); enemiesClip.clip.gotoAndStop(Math.floor(Math.random() * 4) + 1); myBitmapData.draw(enemiesClip, _local1); } } } positionPlayer(); drawWater(); } storage = SharedObject.getLocal(gameName + "storage"); level = storage.data.uptolevel; if (level == undefined) { storage.data.uptolevel = 1; level = 1; } yourhigh = storage.data.myhighscore; if (yourhigh == undefined) { storage.data.myhighscore = 0; yourhigh = 0; } mouseOverSnd = attachSoundFromLibrary("mouseOver.wav"); mouseDownSnd = attachSoundFromLibrary("mouseDownSnd.wav"); hurtSnd = attachSoundFromLibrary("tap.wav"); pointsSnd = attachSoundFromLibrary("points2.wav"); points2Snd = attachSoundFromLibrary("points3.wav"); energySnd = attachSoundFromLibrary("energySnd.wav"); jumpSnd = attachSoundFromLibrary("jumpSnd.wav"); gameCompleteSnd = attachSoundFromLibrary("gameComplete.wav"); gameOverSnd = attachSoundFromLibrary("gameOver.wav"); spinSnd = attachSoundFromLibrary("spin.wav"); rampSnd = attachSoundFromLibrary("ramp1.wav"); snowSnd = attachSoundFromLibrary("snow1.wav"); snowLandingSnd = attachSoundFromLibrary("snowLanding.wav"); levelCompleteSnd = attachSoundFromLibrary("levelComplete.wav"); gameState = "null"; onEnterFrame = function () { fpsCounter++; mouseClip._x = _xmouse; mouseClip._y = _ymouse; if (mouseClip._y > 400) { mouseClip._y = 400; } else if (mouseClip._y < 50) { mouseClip._y = 50; } if (mouseClip._x > 420) { mouseClip._x = 420; } else if (mouseClip._x < 50) { mouseClip._x = 50; } switch (gameState) { case "playing" : playingFunction(); break; case "wait for players click" : gameState = "wait for players click loop"; clickToStartClip = attachMovie("clickToStart", "clickToStart", 9000); clickToStartClip._y = -50; clickToStartClip._x = 240; positionPlayer(); clickToStartClip.ySlideTo(240, 1); clickToStartClip.onPress = function () { clickToStartClip.ySlideTo(500, 1, "linear"); clickToStartClip.onTweenComplete = function () { removeMovieClip(clickToStartClip); }; tellPlayer("level announce"); gameState = "playing"; }; break; case "wait for players click loop" : break; case "next level delay" : if (scrollYSpeed < nextLevelSpeed) { scrollYSpeed++; drawDelay = Math.abs(480 / scrollYSpeed); } drawWater(); positionPlayer(); levelDelayCount--; if (levelDelayCount < 1) { distanceTraveled = 0; gameState = "playing"; } break; case "game over wait 1" : px = px + movepx; py = py + _root.scrollYSpeed; movepx = movepx * 0.9; positionPlayer(); drawWater(); gameOverDelay--; if (gameOverDelay < 1) { gameOverDelay = 30; gameState = "game over wait 2"; } break; case "game over wait 2" : py = py + _root.scrollYSpeed; positionPlayer(); drawWater(); gameOverDelay--; if (gameOverDelay < 1) { gameState = "game over"; } break; case "game over" : exitGameCleanUp(); trace("game over"); gotoAndPlay (33); gameState = "game ended"; break; case "setup" : setup(); } }; mainLoopInterval = setInterval(this, "mainloop", 20); var keyListener_obj = new Object(); keyListener_obj.onKeyDown = function () { if (gameState == "playing") { if (Key.getCode() == 32) { if (playerJumping > 0) { if (!playerHasSpun) { playSound("spin"); addPoints(1000); trace("playerJumping = " + playerJumping); jumpAngle = jumpAngle - 30; if (jumpAngle < 0) { jumpAngle = 0; } trace("playerJumping AFTER = " + playerJumping); pointsHolder.player.gotoAndPlay("playerSpinFrame"); playerHasSpun = true; } } } } }; Key.addListener(keyListener_obj);
Frame 7
function snowClass() { } _quality = "HIGH"; playBtnClip.playBtn.onRelease = function () { gotoAndPlay (23); playSound("mouseDown"); }; playBtnClip.playBtn.onRollOver = function () { playSound("mouseOver"); playBtnClip.xSlideTo(530, 0.25); }; playBtnClip.playBtn.onRollOut = function () { playBtnClip.xSlideTo(545, 0.25); }; this.yourHighClip.reset_btn.onRelease = function () { playSound("mouseDown"); _root.yourhigh = 0; trace(yourhigh); yourHighClip.resetclip.gotoAndPlay(2); storage.data.myhighscore = 0; storage.flush(); yourHighClip.reset_btn._visible = false; yourHighClip.yourhighText.text = _root.yourhigh; }; yourHighClip.yourhighText.text = _root.yourhigh; if (_root.yourhigh == 0) { yourHighClip.reset_btn._visible = false; } this.yourHighClip.reset_btn.onRollOver = function () { playSound("mouseOver"); }; helpBtn.onRollOver = function () { howToPlayClip.ySlideTo(174, 1); }; helpBtn.onRollOut = function () { howToPlayClip.ySlideTo(0, 1); }; playBtnClip._x = 780.5; playBtnClip._y = 417.8; playBtnClip.ySlideTo(417.8, 1.5, "", 0.2); playBtnClip.xSlideTo(545, 1, "easeOutBack", 0.5); snowClass.prototype = new MovieClip(); snowClass.prototype.onLoad = function () { this.i = 1 + (Math.random() * 1); this.k = -3.14159265358979 + (Math.random() * Math.PI); this._x = 10 + random(620); this._y = -5; this.rad = 0; }; snowClass.prototype.onEnterFrame = function () { this._y = this._y + this.i; if (((this._x > 640) || (this._x < -5)) || (this._y > 480)) { removeMovieClip(this); } this.dx = _xmouse - this._x; this.dy = _ymouse - this._y; this.dist = Math.sqrt((this.dx * this.dx) + (this.dy * this.dy)); if (this.dist < 50) { if (this.dx > 0) { this._x = this._x - (5 - (this.dist / 10)); } else { this._x = this._x + (5 - (this.dist / 10)); } } this.rad = this.rad + ((this.k / 180) * 3.1415); this._x = this._x - Math.cos(this.rad); }; Object.registerClass("snow", snowClass); snowholder = snowholder; snowholder.c = 0; snowholder.d = 3 + random(5); snowholder.snowNum = 1; snowholder.onEnterFrame = function () { this.c++; if (this.c > this.d) { this.c = 0; this.d = 3 + random(5); st = this.attachMovie("snow", "s" + this.snowNum, this.snowNum); st._alpha = 50 + random(50); st.scaleTo(random(50) + 50); this.snowNum++; if (this.snowNum > 150) { this.snowNum = 1; } } };
Frame 22
stop();
Frame 23
function launchFireWorks(cx, cy, gDir) { trace(fireWorkS); launchObject.fxNum = this.fireWorksClip.getNextHighestDepth(); this.fireWorksClip.createEmptyMovieClip("fxholder" + launchObject.fxNum, launchObject.fxNum); i = 0; while (i < 5) { n = eval ("fireWorksClip.fxholder" + launchObject.fxNum).attachMovie("snowSprayParticle", "launchObject.fx" + i, i + (100 * launchObject.fxNum)); n._x = cx; n._y = cy; n.gotoAndStop(1); n.rot = ((Math.random() * 90) - 45) + gDir; n.fxtype = 1; i++; } } function fpsReport() { fps = "fps: " + fpsCounter; fpsCounter = 0; } function exitGameCleanUp() { removeMovieClip(enemiesClip); removeMovieClip(enemiesClip); removeMovieClip(mouseClip); } function drawTrail() { playerTrail.clip._rotation = movepx * 4; var _local1 = new flash.geom.Matrix(); var _local2 = new flash.geom.Matrix(); _local2.translate(px, 480 + py); _local1.concat(_local2); myBitmapData.draw(playerTrail, _local1); } function setup() { enemiesClip = attachMovie("enemyBitmapSource", "enemiesClip", 1001); playerTrail = attachMovie("playerTrail", "playerTrail", 1002); playerTrail._x = -200; enemiesClip._x = -200; mouseClip = attachMovie("mouseClip", "mClip", 5000); enemiesClip.stop(); levelDistance = 1000; distanceTraveled = 0; enemyNum = 1; enemyCount = 60; enemyDelay = 30; collectNum = 1; playerHealth = 100; collectableCount = 80; playerJumping = 0; playerDamageDelay = 0; level = 1; _quality = "LOW"; lives = 2; score = 0; gameState = "begin"; drawCounter = 0; scrollXSpeed = 0; scrollYSpeed = 8; drawDelay = Math.abs(480 / scrollYSpeed); backGroundHolder._y = -480; px = 240; py = 320; attachMovie("sourceClip", "sourceClip", 20); sourceClip._x = 650; sourceClip.gotoAndStop(1); var _local5 = new flash.geom.Rectangle(0, 0, stageXSize, stageYSize); var _local1 = new flash.geom.Matrix(); var _local2 = new flash.geom.Matrix(); _local2.translate(0, 480 - scrollYSpeed); _local1.concat(_local2); var _local4 = new flash.geom.ColorTransform(1, 1, 1, 1, 0, 0, 0, 0); var _local3 = "normal"; myBitmapData.draw(sourceClip, _local1, _local4, _local3, _local5); _local5 = new flash.geom.Rectangle(0, 0, stageXSize, 480); _local1 = new flash.geom.Matrix(); _local2 = new flash.geom.Matrix(); _local2.translate(0, 0); _local1.concat(_local2); myBitmapData.draw(sourceClip, _local1, undefined, undefined, _local5); playerClipRef = pointsHolder.attachMovie("player", "player", 10); pointsHolder.player.sparkRight._alpha = 0; pointsHolder.player.sparkLeft._alpha = 0; gameState = "wait for players click"; } function tellPlayer(temp) { attachMovie("tellPlayer", "tellPlayer", 2000); if (temp == "level announce") { tellPlayerText = level; } } function enemyClass() { } function collectClass() { } function testHitEnemy(tempClip, tempObjectType) { if (playerJumping < 1) { p1x = px; p1y = py; p2x = tempClip._x; p2y = tempClip._y; dx = p1x - p2x; dy = p1y - p2y; dist = Math.abs(Math.floor(Math.sqrt((dx * dx) + (dy * dy)))); if (dist < 50) { tempClip.touched = true; trace("player damaged!"); playSound("hurt"); playerDamageDelay = 20; trace("dx = " + dx); if (dx < 0) { movepx = -10; new mx.transitions.Tween(pointsHolder.player.sparkRight, "_alpha", mx.transitions.easing.Regular.easeIn, 100, 0, 0.5, true); pointsHolder.player.sparkRight.gotoAndPlay(1); } else { movepx = 10; new mx.transitions.Tween(pointsHolder.player.sparkLeft, "_alpha", mx.transitions.easing.Regular.easeIn, 100, 0, 0.5, true); pointsHolder.player.sparkLeft.gotoAndPlay(1); } playerHealth = playerHealth - 30; if (playerHealth < 1) { playerHealth = 0; tellPlayer("game over"); gameState = "game over wait 1"; gameOverDelay = 30; } healthSize = (playerHealth / 100) * 142; healthTop = healthMeter._y - healthSize; new mx.transitions.Tween(healthMeterTop, "_y", mx.transitions.easing.Regular.easeOut, healthMeterTop._y, healthTop, 0.25, true); new mx.transitions.Tween(healthMeter, "_yscale", mx.transitions.easing.Regular.easeOut, healthMeter._yscale, playerHealth, 0.25, true); } } } function testCollectPeice(tempClip, tempObjectType) { if (playerJumping < 1) { p1x = px; p1y = py; p2x = tempClip._x; p2y = tempClip._y; dx = p1x - p2x; dy = p1y - p2y; dist = Math.abs(Math.floor(Math.sqrt((dx * dx) + (dy * dy)))); if (tempObjectType == 2) { if (dist < 80) { playSound("ramp"); trace("RAMP"); playerJumping = 30; tempPoints = 250; jumpAngle = 0; score = score + tempPoints; t = pointsHolder.attachMovie("points", "p" + pointsCount, pointsCount); pointsCount++; theTween = new mx.transitions.Tween(t, "_y", mx.transitions.easing.Regular.easeIn, py - 30, py - 60, 1.5, true); t._x = px; new mx.transitions.Tween(t, "_alpha", mx.transitions.easing.Regular.easeIn, 100, 0, 1.5, true); t.textBox.text = tempPoints; theTween.clipName = t; theTween.onMotionFinished = function () { removeMovieClip(this.clipName); }; } } if ((tempObjectType != 2) && (tempObjectType != 4)) { if (dist < 50) { tempClip.touched = true; trace("touched object type " + tempObjectType); trace("touched object " + tempClip); switch (tempObjectType) { case 1 : tempPoints = 200; playSound("points1"); break; case 3 : playSound("points2"); tempPoints = 400; playerHealth = playerHealth + 5; if (playerHealth > 100) { playerHealth = 100; } healthMeter.yScaleTo(playerHealth, 0.25); break; case 3 : playSound("level complete"); tempPoints = 2000; } tempClip.alphaTo(0, 0.5, "EaseInQuint"); tempClip.scaleTo(10, 0.5, "EaseInQuint", 0, function () { removeMovieClip(this); }); addPoints(tempPoints); } } } } function drawWater() { myBitmapData.scroll(0, scrollYSpeed); drawCounter--; if (drawCounter < 1) { sourceClip.gotoAndStop(random(4) + 1); drawCounter = drawDelay; var _local3 = new flash.geom.Rectangle(0, 0, stageXSize, 240); var _local1 = new flash.geom.Matrix(); var _local2 = new flash.geom.Matrix(); _local2.translate(0, 0); _local1.concat(_local2); myBitmapData.draw(sourceClip, _local1, undefined, undefined, _local3); } } function positionPlayer() { if (px > 457) { px = 457; movepx = 0; } else if (px < 20) { px = 20; movepx = 0; } else if ((py > 400) && (gameState != "game over wait 2")) { py = 400; movepy = 0; } else if (py < 80) { py = 80; movepy = 0; } pointsHolder.player._x = px; playerShadow._x = px - 10; playerShadow.sparkRight._visible = (playerShadow.sparkLeft._visible = false); playerShadow.clip.gotoAndStop(5 + Math.floor(movepx / 3)); pointsHolder.player._y = py; if (!playerHasSpun) { pointsHolder.player.gotoAndStop(5 + Math.floor(movepx / 3)); } if (playerJumping == 0) { playerShadow._y = py + 20; if ((Math.random() * 10) < 8) { drawTrail(); } if ((movepx * 2) > 30) { if ((Math.random() * 10) < 5) { playSound("snow"); } launchFireWorks(px - 20, py + 30, 270); } if ((movepx * 2) < -30) { if ((Math.random() * 10) < 5) { playSound("snow"); } launchFireWorks(px - 20, py + 30, 90); } } else { jumpAngle = jumpAngle + 0.1; trace(jumpAngle); jumpAngleTest = (jumpAngle * 180) / Math.PI; if (jumpAngleTest < 181) { jumpMath = Math.sin(jumpAngle); playerShadow._y = (pointsHolder.player._y + 20) + (jumpMath * 50); playerShadow._xscale = (playerShadow._yscale = 100 - (jumpMath * 30)); pointsHolder.player._yscale = (pointsHolder.player._xscale = 100 + (jumpMath * 50)); } else { playerShadow._y = pointsHolder.player._y + 20; playerShadow._yscale = (playerShadow._xscale = 100); pointsHolder.player._yscale = (pointsHolder.player._yscale = 100); pointsHolder.attachMovie("splash", "splash", 8); pointsHolder.splash._x = px; pointsHolder.splash._rotation = Math.random() * 360; pointsHolder.splash._y = py; playSound("snow landing"); pointsHolder.splash.onEnterFrame = function () { this._y = this._y + _root.scrollYSpeed; this._alpha = this._alpha - 3; if (this._alpha < 10) { removeMovieClip(this); } }; playerJumping = 0; } } } launchObject = new Object(); c = 10; this.createEmptyMovieClip("fireWorksClip", this.getNextHighestDepth()); stageXSize = 480; stageYSize = 960; pointsCount = 100; var myBitmapData = (new flash.display.BitmapData(stageXSize, stageYSize, false, 16777215)); backGroundHolder.attachBitmap(myBitmapData, this.getNextHighestDepth()); fpsCounter = 0; var intervalId; var duration = 1000; positionPlayer(); intervalId = setInterval(this, "fpsReport", duration); stop(); enemyClass.prototype = new MovieClip(); enemyClass.prototype.onLoad = function () { this.y = this._y; this.xSpeed = 0; this.touched = false; }; enemyClass.prototype.onEnterFrame = function () { if (this.objectType != undefined) { if (_root.gameState == "playing") { this.y = this.y + _root.scrollYSpeed; if (this.y > 550) { removeMovieClip(this); } hitResult = _root.hitTestPlayer(this); if (!this.touched) { _root.testHitEnemy(this, this.objectType); } this._y = this.y; } else if (((_root.gameState == "next level delay") || (_root.gameState == "game over wait 2")) || (_root.gameState == "game over wait 1")) { this._alpha = this._alpha - 5; this.y = this.y + _root.scrollYSpeed; if ((this.y > 550) || (this._alpha < 3)) { removeMovieClip(this); } this._y = this.y; } } }; Object.registerClass("enemy", enemyClass); collectClass.prototype = new MovieClip(); collectClass.prototype.onLoad = function () { this.y = this._y; this.touched = false; this.clip.gotoAndStop(Math.floor(Math.random() * 4) + 1); }; collectClass.prototype.onEnterFrame = function () { if (_root.gameState == "playing") { this.y = this.y + _root.scrollYSpeed; if (this.y > 550) { removeMovieClip(this); } if ((!this.touched) && (this.objectType != 4)) { testCollectPeice(this, this.objectType); } } else if (((_root.gameState == "next level delay") || (_root.gameState == "game over wait 2")) || (_root.gameState == "game over wait 1")) { this.y = this.y + _root.scrollYSpeed; if ((this.y > 550) || (this._alpha < 3)) { removeMovieClip(this); } } this._y = this.y; }; Object.registerClass("collectable", collectClass); gameState = "setup";
Frame 32
setup(); stop(); showWord("begin"); stageLocation = this;
Frame 33
if (false) { }
Frame 34
_quality = "high"; if (score > yourhigh) { yourhigh = score; storage.data.myhighscore = score; } storage.flush(); gamescene = "game over"; playmusic(); this.okBtn.onRelease = function () { gotoAndPlay (7); }; this.okBtn.onRollOver = function () { playSound("mouseOver"); }; _quality = "HIGH"; playBtnClip._x = 780.5; playBtnClip._y = 400; playBtnClip.ySlideTo(400, 1.5, "", 0.2); playBtnClip.xSlideTo(545, 1, "easeOutBack", 0.5); playBtnClip.playBtn.onRelease = function () { removeMovieClip(highHolder); gotoAndPlay (23); playSound("mouseDown"); }; playBtnClip.playBtn.onRollOver = function () { playSound("mouseOver"); playBtnClip.xSlideTo(530, 0.25); }; playBtnClip.playBtn.onRollOut = function () { playBtnClip.xSlideTo(545, 0.25); }; if (score > 1000) { highHolder = this.createEmptyMovieClip("highHolder", 1000); loadMovie ("http://www.terrypaton.com/highscores/highscoreSubmit.swf", highHolder); highHolder._x = 116; highHolder._y = 320; } if (yourhigh != undefined) { yourHighestTextBox.text = "YOUR HIGHEST SCORE: " + yourhigh; } else { yourHighestTextBox.text = " "; } storage.flush(); playSound("game over");
Frame 41
stop();
Frame 42
function snowClass() { } _quality = "HIGH"; playSound("game complete"); getURL (("javascript:urchinTracker('/gameCompleted/" + gameName) + "');"); _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); playBtnClip._x = 780.5; playBtnClip._y = 400; playBtnClip.ySlideTo(400, 1.5, "", 0.2); playBtnClip.xSlideTo(545, 1, "easeOutBack", 0.5); playBtnClip.playBtn.onRelease = function () { removeMovieClip(highHolder); gotoAndPlay (23); playSound("mouseDown"); }; playBtnClip.playBtn.onRollOver = function () { playSound("mouseOver"); playBtnClip.xSlideTo(530, 0.25); }; playBtnClip.playBtn.onRollOut = function () { playBtnClip.xSlideTo(545, 0.25); }; delay = 0.25; step = 1; scoreTextBox._alpha = 0; titleClip._alpha = 0; wellDone._alpha = 0; gameCompleteClip._alpha = 0; finalScore._alpha = 0; scoreTextBox.alphaTo(100, 3, "linear", delay); delay = delay + step; titleClip.alphaTo(100, 3, "linear", delay); delay = delay + step; wellDone.alphaTo(100, 6, "linear", delay); delay = delay + step; gameCompleteClip.alphaTo(100, 3, "linear", delay); delay = delay + step; finalScore.alphaTo(100, 3, "linear", delay); if (score > 1000) { highHolder = this.createEmptyMovieClip("highHolder", 1000); loadMovie ("http://www.terrypaton.com/highscores/highscoreSubmit.swf", highHolder); highHolder._x = 116; highHolder._y = 320; } if (yourhigh != undefined) { yourHighestTextBox.text = "YOUR HIGHEST SCORE: " + yourhigh; } else { yourHighestTextBox.text = " "; } storage.flush(); snowholder = snowholder; snowholder.c = 0; snowholder.d = 3 + random(5); snowholder.snowNum = 1; snowholder.onEnterFrame = function () { this.c++; if (this.c > this.d) { this.c = 0; this.d = 1 + random(5); st = this.attachMovie("snow", "s" + this.snowNum, this.snowNum); st._alpha = 50 + random(50); st.scaleTo(random(50) + 50); this.snowNum++; if (this.snowNum > 150) { this.snowNum = 1; } } }; snowClass.prototype = new MovieClip(); snowClass.prototype.onLoad = function () { this.i = 1 + (Math.random() * 1); this.k = -3.14159265358979 + (Math.random() * Math.PI); this._x = 10 + random(620); this._y = -5; this.rad = 0; }; snowClass.prototype.onEnterFrame = function () { this._y = this._y + this.i; if (((this._x > 640) || (this._x < -5)) || (this._y > 480)) { removeMovieClip(this); } this.dx = _xmouse - this._x; this.dy = _ymouse - this._y; this.dist = Math.sqrt((this.dx * this.dx) + (this.dy * this.dy)); if (this.dist < 50) { if (this.dx > 0) { this._x = this._x - (5 - (this.dist / 10)); } else { this._x = this._x + (5 - (this.dist / 10)); } } this.rad = this.rad + ((this.k / 180) * 3.1415); this._x = this._x - Math.cos(this.rad); }; Object.registerClass("snow", snowClass);
Frame 50
stop();
Symbol 3 MovieClip [snowSprayParticle] Frame 1
#initclip 11 Object.registerClass("snowSprayParticle", snowSprayClass); #endinitclip
Symbol 308 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd { function MochiAd () { } static function getVersion() { return("2.3"); } static function showPreGameAd(options) { var _local27 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, ad_started:function () { this.clip.stop(); }, ad_finished:function () { this.clip.play(); }, ad_failed:function () { trace("[MochAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_loaded:function (width, height) { }}; options = _parseOptions(options, _local27); if ("5cc6f7dfb67f2f08341c831480f7c2a7".length == 0) { options.ad_started(); options.ad_finished(); return(undefined); } var clip = options.clip; var _local23 = 11000; var _local26 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!load(options)) { options.ad_failed(); options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var _local14 = _getRes(options); var _local4 = _local14[0]; var _local13 = _local14[1]; mc._x = _local4 * 0.5; mc._y = _local13 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk._x = _local4 * -0.5; chk._y = _local13 * -0.5; var _local7 = chk.createEmptyMovieClip("_mochiad_bar", 4); _local7._x = 10; _local7._y = _local13 - 20; var _local22 = options.color; delete options.color; var _local19 = options.background; delete options.background; var _local24 = options.outline; delete options.outline; var _local5 = _local7.createEmptyMovieClip("_outline", 1); _local5.beginFill(_local19); _local5.moveTo(0, 0); _local5.lineTo(_local4 - 20, 0); _local5.lineTo(_local4 - 20, 10); _local5.lineTo(0, 10); _local5.lineTo(0, 0); _local5.endFill(); var _local3 = _local7.createEmptyMovieClip("_inside", 2); _local3.beginFill(_local22); _local3.moveTo(0, 0); _local3.lineTo(_local4 - 20, 0); _local3.lineTo(_local4 - 20, 10); _local3.lineTo(0, 10); _local3.lineTo(0, 0); _local3.endFill(); _local3._xscale = 0; var _local6 = _local7.createEmptyMovieClip("_outline", 3); _local6.lineStyle(0, _local24, 100); _local6.moveTo(0, 0); _local6.lineTo(_local4 - 20, 0); _local6.lineTo(_local4 - 20, 10); _local6.lineTo(0, 10); _local6.lineTo(0, 0); chk.ad_msec = _local23; chk.ad_timeout = _local26; chk.started = getTimer(); chk.showing = false; chk.last_pcnt = 0; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; MochiAd.unload(_local3); delete this.onEnterFrame; } }; mc.lc.adLoaded = options.ad_loaded; mc.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec; }; chk.onEnterFrame = function () { var _local6 = this._parent._parent; var _local12 = this._parent._mochiad_ctr; var _local5 = getTimer() - this.started; var _local3 = false; var _local4 = _local6.getBytesTotal(); var _local8 = _local6.getBytesLoaded(); var _local10 = (100 * _local8) / _local4; var _local11 = (100 * _local5) / chk.ad_msec; var _local9 = this._mochiad_bar._inside; var _local2 = Math.min(100, Math.min(_local10 || 0, _local11)); _local2 = Math.max(this.last_pcnt, _local2); this.last_pcnt = _local2; _local9._xscale = _local2; if (!chk.showing) { var _local7 = _local12.getBytesTotal(); if ((_local7 > 0) || (typeof(_local7) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if (_local5 > chk.ad_timeout) { options.ad_failed(); _local3 = true; } } if (_local5 > chk.ad_msec) { _local3 = true; } if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = chk.fadeFunction; } } }; } static function showInterLevelAd(options) { var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () { this.clip.stop(); }, ad_finished:function () { this.clip.play(); }, ad_failed:function () { trace("[MochAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software"); }, ad_loaded:function (width, height) { }}; options = _parseOptions(options, _local13); var clip = options.clip; var _local10 = 11000; var _local12 = options.ad_timeout; delete options.ad_timeout; var fadeout_time = options.fadeout_time; delete options.fadeout_time; if (!load(options)) { options.ad_failed(); options.ad_finished(); return(undefined); } options.ad_started(); var mc = clip._mochiad; mc.onUnload = function () { options.ad_finished(); }; var _local5 = _getRes(options); var _local14 = _local5[0]; var _local11 = _local5[1]; mc._x = _local14 * 0.5; mc._y = _local11 * 0.5; var chk = mc.createEmptyMovieClip("_mochiad_wait", 3); chk.ad_msec = _local10; chk.ad_timeout = _local12; chk.started = getTimer(); chk.showing = false; chk.fadeout_time = fadeout_time; chk.fadeFunction = function () { var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time)); if (_local2 > 0) { this._parent._alpha = _local2; } else { var _local3 = this._parent._parent; MochiAd.unload(_local3); delete this.onEnterFrame; } }; mc.lc.adLoaded = options.ad_loaded; mc.lc.adjustProgress = function (msec) { var _local2 = this.mc._mochiad_wait; _local2.server_control = true; _local2.started = getTimer(); _local2.ad_msec = msec - 250; }; chk.onEnterFrame = function () { var _local5 = this._parent._mochiad_ctr; var _local4 = getTimer() - this.started; var _local2 = false; if (!chk.showing) { var _local3 = _local5.getBytesTotal(); if ((_local3 > 0) || (typeof(_local3) == "undefined")) { chk.showing = true; chk.started = getTimer(); } else if (_local4 > chk.ad_timeout) { options.ad_failed(); _local2 = true; } } if (_local4 > chk.ad_msec) { _local2 = true; } if (_local2) { if (this.server_control) { delete this.onEnterFrame; } else { this.fadeout_start = getTimer(); this.onEnterFrame = this.fadeFunction; } } }; } static function showTimedAd(options) { trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0"); showInterLevelAd(options); } static function showPreloaderAd(options) { trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0"); showPreGameAd(options); } static function _allowDomains(server) { var _local1 = server.split("/")[2].split(":")[0]; if (System.security) { if (System.security.allowDomain) { System.security.allowDomain("*"); System.security.allowDomain(_local1); } if (System.security.allowInsecureDomain) { System.security.allowInsecureDomain("*"); System.security.allowInsecureDomain(_local1); } } return(_local1); } static function _loadCommunicator(options) { var _local26 = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"}; options = _parseOptions(options, _local26); options.swfv = options.clip.getSWFVersion() || 6; options.mav = getVersion(); var _local18 = options.clip; var _local20 = "_mochiad_com_" + options.id; if (!_isNetworkAvailable()) { return(null); } if (_local18[_local20]) { return(_local18[_local20].lc); } var _local21 = options.com_server + options.id; _allowDomains(_local21); delete options.id; delete options.com_server; var _local25 = options.depth; delete options.depth; var _local17 = _local18.createEmptyMovieClip(_local20, _local25); var _local11 = _local17.createEmptyMovieClip("_mochiad_com", 1); for (var _local15 in options) { _local11[_local15] = options[_local15]; } var _local6 = new LocalConnection(); var _local16 = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); _local6.mc = _local17; _local6.name = _local16; _local6.allowDomain = function (d) { return(true); }; _local6.allowInsecureDomain = _local6.allowDomain; _local6.connect(_local16); _local17.lc = _local6; _local11.lc = _local16; _local6._id = 0; _local6._queue = []; _local6.rpcResult = function (cb_arg) { var _local8 = parseInt(cb_arg); var _local4 = this._callbacks[_local8]; if (!_local4) { return(undefined); } delete this._callbacks[_local8]; var _local5 = []; var _local3 = 2; while (_local3 < _local4.length) { _local5.push(_local4[_local3]); _local3++; } _local3 = 1; while (_local3 < arguments.length) { _local5.push(arguments[_local3]); _local3++; } var _local6 = _local4[1]; var _local7 = _local4[0]; if (_local7 && (typeof(_local6) == "string")) { _local6 = _local7[_local6]; } if (_local6) { _local6.apply(_local7, _local5); } }; _local6._didConnect = function (endpoint) { this._endpoint = endpoint; var _local4 = this._queue; delete this._queue; var _local5 = this.doSend; var _local2 = 0; while (_local2 < _local4.length) { var _local3 = _local4[_local2]; _local5.apply(this, _local3); _local2++; } }; _local6.doSend = function (args, cbobj, cbfn) { if (this._endpoint == null) { var _local4 = []; var _local3 = 0; while (_local3 < arguments.length) { _local4.push(arguments[_local3]); _local3++; } this._queue.push(_local4); return(undefined); } this._id = this._id + 1; var _local5 = this._id; if ((cbfn === undefined) || (cbfn === null)) { cbfn = cbobj; } this._callbacks[_local5] = [cbobj, cbfn]; var _local7 = new LocalConnection(); var _local9 = _local7.send(this._endpoint, "rpc", _local5, args); }; _local6._callbacks = {}; _local6._callbacks[0] = [_local6, "_didConnect"]; _local11.st = getTimer(); _local11.loadMovie(_local21 + ".swf", "POST"); return(_local6); } static function fetchHighScores(options, callbackObj, callbackMethod) { var _local1 = _loadCommunicator({id:options.id}); if (!_local1) { return(false); } var _local4 = ["fetchHighScores", options]; _local1.doSend(["fetchHighScores", options], callbackObj, callbackMethod); return(true); } static function sendHighScore(options, callbackObj, callbackMethod) { var _local1 = _loadCommunicator({id:options.id}); if (!_local1) { return(false); } var _local4 = ["sendHighScore", options]; _local1.doSend(["sendHighScore", options], callbackObj, callbackMethod); return(true); } static function load(options) { var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"}; options = _parseOptions(options, _local13); options.swfv = options.clip.getSWFVersion() || 6; options.mav = getVersion(); var _local9 = options.clip; if (!_isNetworkAvailable()) { return(null); } if (_local9._mochiad_loaded) { return(null); } var _local12 = options.depth; delete options.depth; var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12); var _local11 = _getRes(options); options.res = (_local11[0] + "x") + _local11[1]; options.server = options.server + options.id; delete options.id; _local9._mochiad_loaded = true; var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1); for (var _local7 in options) { _local4[_local7] = options[_local7]; } var _local10 = _local4.server; delete _local4.server; var _local14 = _allowDomains(_local10); _local6.onEnterFrame = function () { if (this._mochiad_ctr._url != this._url) { this.onEnterFrame = function () { if (!this._mochiad_ctr) { delete this.onEnterFrame; MochiAd.unload(this._parent); } }; } }; var _local5 = new LocalConnection(); var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_"); _local5.mc = _local6; _local5.name = _local8; _local5.hostname = _local14; _local5.allowDomain = function (d) { return(true); }; _local5.allowInsecureDomain = _local5.allowDomain; _local5.connect(_local8); _local6.lc = _local5; _local4.lc = _local8; _local4.st = getTimer(); _local4.loadMovie(_local10 + ".swf", "POST"); return(_local6); } static function unload(clip) { if (typeof(clip) == "undefined") { clip = _root; } if (clip.clip && (clip.clip._mochiad)) { clip = clip.clip; } if (!clip._mochiad) { return(false); } clip._mochiad.removeMovieClip(); delete clip._mochiad_loaded; delete clip._mochiad; return(true); } static function _isNetworkAvailable() { if (System.security) { var _local1 = System.security; if (_local1.sandboxType == "localWithFile") { return(false); } } return(true); } static function _getRes(options) { var _local3 = options.clip.getBounds(); var _local2 = 0; var _local1 = 0; if (typeof(options.res) != "undefined") { var _local4 = options.res.split("x"); _local2 = parseFloat(_local4[0]); _local1 = parseFloat(_local4[1]); } else { _local2 = _local3.xMax - _local3.xMin; _local1 = _local3.yMax - _local3.yMin; } if ((_local2 == 0) || (_local1 == 0)) { _local2 = Stage.width; _local1 = Stage.height; } return([_local2, _local1]); } static function _parseOptions(options, defaults) { var _local4 = {}; for (var _local8 in defaults) { _local4[_local8] = defaults[_local8]; } if (options) { for (var _local8 in options) { _local4[_local8] = options[_local8]; } } if (_root.mochiad_options) { var _local5 = _root.mochiad_options.split("&"); var _local2 = 0; while (_local2 < _local5.length) { var _local3 = _local5[_local2].split("="); _local4[unescape(_local3[0])] = unescape(_local3[1]); _local2++; } } if (_local4.id == "test") { trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!"); } return(_local4); } }
Symbol 309 MovieClip [__Packages.snowSprayClass] Frame 0
class snowSprayClass extends MovieClip { var x, _x, y, _y, xCenter, yCenter, depth, fall, _rotation, speed, _xscale, _yscale, _alpha, removeMovieClip, temprot, rot; function snowSprayClass () { super(); } function onLoad() { x = _x; y = _y; xCenter = _x; yCenter = _y; depth = 1; fall = Math.random(0.2) + 0.5; _rotation = random(360); speed = random(3) + 3; _xscale = (_yscale = (Math.random() * 50) + 50); } function onEnterFrame() { depth = depth + speed; speed = speed * 0.95; if (speed < 3) { yCenter = yCenter + fall; fall = fall * 1.1; _alpha = _alpha - 3; if (_alpha < 10) { removeMovieClip(); } } temprot = (rot / 180) * Math.PI; x = xCenter + (depth * Math.sin(temprot)); y = yCenter + (depth * Math.cos(temprot)); _x = x; _y = y; if ((((x < 0) || (x > 640)) || (y < 0)) || (y > 480)) { removeMovieClip(); } } }
Symbol 310 MovieClip [__Packages.letterClass] Frame 0
class letterClass extends MovieClip { var centerY, radiusY, speed, y, _y, x, _x, angle; function letterClass () { super(); } function onLoad() { centerY = 48; radiusY = 5; speed = 0.05; y = _y; x = _x; } function onEnterFrame() { if (angle != undefined) { y = centerY + (Math.sin(angle) * radiusY); angle = angle + speed; _x = x; _y = y; } } }
Symbol 311 MovieClip [__Packages.tellPlayerClass] Frame 0
class tellPlayerClass extends MovieClip { var _x, _y, l, _xscale, _yscale, _alpha, removeMovieClip; function tellPlayerClass () { super(); } function onLoad() { _x = 240; _y = 240; l = 230; _xscale = (_yscale = 50); _alpha = 50; } function onEnterFrame() { if (_xscale > 130) { _alpha = _alpha - 2; } else if (_alpha < 100) { _alpha = _alpha + 5; } _xscale = (_yscale = _yscale + 2); l--; if (l < 1) { removeMovieClip(); } } }
Symbol 312 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon { function OnEnterFrameBeacon () { } static function init() { var _local4 = _global.MovieClip; if (!_root.__OnEnterFrameBeacon) { mx.transitions.BroadcasterMX.initialize(_local4); var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876); _local3.onEnterFrame = function () { _global.MovieClip.broadcastMessage("onEnterFrame"); }; } } static var version = "1.1.0.52"; }
Symbol 313 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX { var _listeners; function BroadcasterMX () { } static function initialize(o, dontCreateArray) { if (o.broadcastMessage != undefined) { delete o.broadcastMessage; } o.addListener = mx.transitions.BroadcasterMX.prototype.addListener; o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener; if (!dontCreateArray) { o._listeners = new Array(); } } function addListener(o) { removeListener(o); if (broadcastMessage == undefined) { broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage; } return(_listeners.push(o)); } function removeListener(o) { var _local2 = _listeners; var _local3 = _local2.length; while (_local3--) { if (_local2[_local3] == o) { _local2.splice(_local3, 1); if (!_local2.length) { broadcastMessage = undefined; } return(true); } } return(false); } function broadcastMessage() { var _local5 = String(arguments.shift()); var _local4 = _listeners.concat(); var _local6 = _local4.length; var _local3 = 0; while (_local3 < _local6) { _local4[_local3][_local5].apply(_local4[_local3], arguments); _local3++; } } static var version = "1.1.0.52"; }
Symbol 314 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween { var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime; function Tween (obj, prop, func, begin, finish, duration, useSeconds) { mx.transitions.OnEnterFrameBeacon.init(); if (!arguments.length) { return; } this.obj = obj; this.prop = prop; this.begin = begin; position = (begin); this.duration = (duration); this.useSeconds = useSeconds; if (func) { this.func = func; } this.finish = (finish); _listeners = []; addListener(this); start(); } function set time(t) { prevTime = _time; if (t > duration) { if (looping) { rewind(t - _duration); update(); broadcastMessage("onMotionLooped", this); } else { if (useSeconds) { _time = _duration; update(); } stop(); broadcastMessage("onMotionFinished", this); } } else if (t < 0) { rewind(); update(); } else { _time = t; update(); } //return(time); } function get time() { return(_time); } function set duration(d) { _duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d)); //return(duration); } function get duration() { return(_duration); } function set FPS(fps) { var _local2 = isPlaying; stopEnterFrame(); _fps = fps; if (_local2) { startEnterFrame(); } //return(FPS); } function get FPS() { return(_fps); } function set position(p) { setPosition(p); //return(position); } function setPosition(p) { prevPos = _pos; obj[prop] = (_pos = p); broadcastMessage("onMotionChanged", this, _pos); updateAfterEvent(); } function get position() { return(getPosition()); } function getPosition(t) { if (t == undefined) { t = _time; } return(func(t, begin, change, _duration)); } function set finish(f) { change = f - begin; //return(finish); } function get finish() { return(begin + change); } function continueTo(finish, duration) { begin = position; this.finish = (finish); if (duration != undefined) { this.duration = (duration); } start(); } function yoyo() { continueTo(begin, time); } function startEnterFrame() { if (_fps == undefined) { _global.MovieClip.addListener(this); } else { _intervalID = setInterval(this, "onEnterFrame", 1000 / _fps); } isPlaying = true; } function stopEnterFrame() { if (_fps == undefined) { _global.MovieClip.removeListener(this); } else { clearInterval(_intervalID); } isPlaying = false; } function start() { rewind(); startEnterFrame(); broadcastMessage("onMotionStarted", this); } function stop() { stopEnterFrame(); broadcastMessage("onMotionStopped", this); } function resume() { fixTime(); startEnterFrame(); broadcastMessage("onMotionResumed", this); } function rewind(t) { _time = ((t == undefined) ? 0 : (t)); fixTime(); update(); } function fforward() { time = (_duration); fixTime(); } function nextFrame() { if (useSeconds) { time = ((getTimer() - _startTime) / 1000); } else { time = (_time + 1); } } function onEnterFrame() { nextFrame(); } function prevFrame() { if (!useSeconds) { time = (_time - 1); } } function toString() { return("[Tween]"); } function fixTime() { if (useSeconds) { _startTime = getTimer() - (_time * 1000); } } function update() { position = (getPosition(_time)); } static var version = "1.1.0.52"; static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init(); static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true); function func(t, b, c, d) { return(((c * t) / d) + b); } }
Symbol 315 MovieClip [__Packages.mx.transitions.easing.Strong] Frame 0
class mx.transitions.easing.Strong { function Strong () { } static function easeIn(t, b, c, d) { t = t / d; return((((((c * t) * t) * t) * t) * t) + b); } static function easeOut(t, b, c, d) { t = (t / d) - 1; return((c * (((((t * t) * t) * t) * t) + 1)) + b); } static function easeInOut(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 var version = "1.1.0.52"; }
Symbol 316 MovieClip [__Packages.mx.transitions.easing.Bounce] Frame 0
class mx.transitions.easing.Bounce { function Bounce () { } static function easeOut(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 easeIn(t, b, c, d) { return((c - easeOut(d - t, 0, c, d)) + b); } static function easeInOut(t, b, c, d) { if (t < (d / 2)) { return((easeIn(t * 2, 0, c, d) * 0.5) + b); } return(((easeOut((t * 2) - d, 0, c, d) * 0.5) + (c * 0.5)) + b); } static var version = "1.1.0.52"; }
Symbol 317 MovieClip [__Packages.mx.transitions.easing.Regular] Frame 0
class mx.transitions.easing.Regular { function Regular () { } static function easeIn(t, b, c, d) { t = t / d; return(((c * t) * t) + b); } static function easeOut(t, b, c, d) { t = t / d; return((((-c) * t) * (t - 2)) + b); } static function easeInOut(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 var version = "1.1.0.52"; }
Symbol 16 MovieClip [letter] Frame 1
#initclip 12 Object.registerClass("letter", letterClass); #endinitclip
Symbol 35 MovieClip Frame 1
stop();
Symbol 36 MovieClip [tell_player] Frame 65
removeMovieClip(this);
Symbol 42 MovieClip [tellPlayer] Frame 1
#initclip 13 Object.registerClass("tellPlayer", tellPlayerClass); #endinitclip
Symbol 105 MovieClip [player] Frame 5
stop();
Symbol 105 MovieClip [player] Frame 30
this.gotoAndStop(5);
Symbol 198 MovieClip Frame 1
stop();
Symbol 203 MovieClip Frame 1
_root.stop(); new mx.transitions.Tween(this.head, "_rotation", mx.transitions.easing.Bounce.easeOut, 0, 180, 0.7, true); new mx.transitions.Tween(this.head, "_y", mx.transitions.easing.Bounce.easeOut, this.head._y - 200, this.head._y, 1, true); new mx.transitions.Tween(this.head, "_x", mx.transitions.easing.Strong.easeOut, (Math.random() * 640) - 320, 0, 1, true); www._y = 500; www.ySlideTo(61.5, 1);
Symbol 203 MovieClip Frame 131
head.scaleTo(200, 0.5); head.alphaTo(0, 0.5); head.blurTo(20, 1);
Symbol 203 MovieClip Frame 141
_root.play();
Symbol 218 MovieClip Frame 1
this.onPress = function () { getURL ("http://www.terrypaton.com", "_blank"); }; this.onRollOver = function () { this.gotoAndStop(2); }; this.onRollOut = function () { this.gotoAndStop(1); }; this.stop();
Symbol 233 MovieClip Frame 1
stop();
Symbol 274 MovieClip Frame 5
stop();

Library Items

Symbol 1 BitmapUsed by:2
Symbol 2 GraphicUses:1Used by:3
Symbol 3 MovieClip [snowSprayParticle]Uses:2Used by:198
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClip [snow]Uses:4Used by:198  Timeline
Symbol 6 GraphicUsed by:7
Symbol 7 MovieClip [mouseClip]Uses:6Used by:198
Symbol 8 FontUsed by:9 230
Symbol 9 EditableTextUses:8Used by:10
Symbol 10 MovieClip [showWordLetter]Uses:9Used by:198
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClipUses:11Used by:Timeline
Symbol 308 MovieClip [__Packages.MochiAd]
Symbol 309 MovieClip [__Packages.snowSprayClass]
Symbol 310 MovieClip [__Packages.letterClass]
Symbol 311 MovieClip [__Packages.tellPlayerClass]
Symbol 312 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon]
Symbol 313 MovieClip [__Packages.mx.transitions.BroadcasterMX]
Symbol 314 MovieClip [__Packages.mx.transitions.Tween]
Symbol 315 MovieClip [__Packages.mx.transitions.easing.Strong]
Symbol 316 MovieClip [__Packages.mx.transitions.easing.Bounce]
Symbol 317 MovieClip [__Packages.mx.transitions.easing.Regular]
Symbol 13 GraphicUsed by:24
Symbol 14 FontUsed by:15 26 27 28 29 30 31 32 33 34
Symbol 15 EditableTextUses:14Used by:16
Symbol 16 MovieClip [letter]Uses:15Used by:24
Symbol 17 FontUsed by:18
Symbol 18 TextUses:17Used by:24
Symbol 19 GraphicUsed by:20
Symbol 20 MovieClipUses:19Used by:24
Symbol 21 GraphicUsed by:23
Symbol 22 GraphicUsed by:23
Symbol 23 MovieClipUses:21 22Used by:24
Symbol 24 MovieClipUses:13 16 18 20 23Used by:Timeline
Symbol 25 GraphicUsed by:198
Symbol 26 TextUses:14Used by:35
Symbol 27 TextUses:14Used by:35
Symbol 28 TextUses:14Used by:35
Symbol 29 TextUses:14Used by:35
Symbol 30 TextUses:14Used by:35
Symbol 31 TextUses:14Used by:35
Symbol 32 TextUses:14Used by:35
Symbol 33 TextUses:14Used by:35
Symbol 34 TextUses:14Used by:35
Symbol 35 MovieClipUses:26 27 28 29 30 31 32 33 34Used by:36
Symbol 36 MovieClip [tell_player]Uses:35Used by:198
Symbol 37 GraphicUsed by:38
Symbol 38 MovieClipUses:37Used by:42 173
Symbol 39 FontUsed by:40 41 172 184 234 235 236 237 243 244 258 259 260 261 262 263 289 291 294 295 296 297 298 303 304 306
Symbol 40 TextUses:39Used by:42
Symbol 41 EditableTextUses:39Used by:42
Symbol 42 MovieClip [tellPlayer]Uses:38 40 41Used by:198
Symbol 43 BitmapUsed by:44
Symbol 44 GraphicUses:43Used by:105 274
Symbol 45 GraphicUsed by:46
Symbol 46 MovieClip [spark]Uses:45Used by:105
Symbol 47 BitmapUsed by:48
Symbol 48 GraphicUses:47Used by:105 274
Symbol 49 BitmapUsed by:50
Symbol 50 GraphicUses:49Used by:105 274
Symbol 51 BitmapUsed by:52
Symbol 52 GraphicUses:51Used by:105 274
Symbol 53 BitmapUsed by:54
Symbol 54 GraphicUses:53Used by:105 274
Symbol 55 BitmapUsed by:56
Symbol 56 GraphicUses:55Used by:105 274
Symbol 57 BitmapUsed by:58
Symbol 58 GraphicUses:57Used by:105 274
Symbol 59 BitmapUsed by:60
Symbol 60 GraphicUses:59Used by:105 274
Symbol 61 BitmapUsed by:62
Symbol 62 GraphicUses:61Used by:105 274
Symbol 63 BitmapUsed by:64
Symbol 64 GraphicUses:63Used by:105 274
Symbol 65 BitmapUsed by:66
Symbol 66 GraphicUses:65Used by:105
Symbol 67 BitmapUsed by:68
Symbol 68 GraphicUses:67Used by:105
Symbol 69 BitmapUsed by:70
Symbol 70 GraphicUses:69Used by:105
Symbol 71 BitmapUsed by:72
Symbol 72 GraphicUses:71Used by:105
Symbol 73 BitmapUsed by:74
Symbol 74 GraphicUses:73Used by:105
Symbol 75 BitmapUsed by:76
Symbol 76 GraphicUses:75Used by:105
Symbol 77 BitmapUsed by:78
Symbol 78 GraphicUses:77Used by:105
Symbol 79 BitmapUsed by:80
Symbol 80 GraphicUses:79Used by:105
Symbol 81 BitmapUsed by:82
Symbol 82 GraphicUses:81Used by:105
Symbol 83 BitmapUsed by:84
Symbol 84 GraphicUses:83Used by:105
Symbol 85 BitmapUsed by:86
Symbol 86 GraphicUses:85Used by:105
Symbol 87 BitmapUsed by:88
Symbol 88 GraphicUses:87Used by:105
Symbol 89 BitmapUsed by:90
Symbol 90 GraphicUses:89Used by:105
Symbol 91 BitmapUsed by:92
Symbol 92 GraphicUses:91Used by:105
Symbol 93 BitmapUsed by:94
Symbol 94 GraphicUses:93Used by:105
Symbol 95 BitmapUsed by:96
Symbol 96 GraphicUses:95Used by:105
Symbol 97 BitmapUsed by:98
Symbol 98 GraphicUses:97Used by:105
Symbol 99 BitmapUsed by:100
Symbol 100 GraphicUses:99Used by:105
Symbol 101 BitmapUsed by:102
Symbol 102 GraphicUses:101Used by:105
Symbol 103 BitmapUsed by:104
Symbol 104 GraphicUses:103Used by:105
Symbol 105 MovieClip [player]Uses:44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98 100 102 104Used by:198
Symbol 106 BitmapUsed by:107
Symbol 107 GraphicUses:106Used by:139 181
Symbol 108 BitmapUsed by:109
Symbol 109 GraphicUses:108Used by:139 181
Symbol 110 BitmapUsed by:111
Symbol 111 GraphicUses:110Used by:139 181
Symbol 112 BitmapUsed by:113
Symbol 113 GraphicUses:112Used by:139 181
Symbol 114 BitmapUsed by:115
Symbol 115 GraphicUses:114Used by:139 181
Symbol 116 BitmapUsed by:117
Symbol 117 GraphicUses:116Used by:139 181
Symbol 118 BitmapUsed by:119
Symbol 119 GraphicUses:118Used by:139 181
Symbol 120 BitmapUsed by:121
Symbol 121 GraphicUses:120Used by:128
Symbol 122 BitmapUsed by:123
Symbol 123 GraphicUses:122Used by:128
Symbol 124 BitmapUsed by:125
Symbol 125 GraphicUses:124Used by:128
Symbol 126 BitmapUsed by:127
Symbol 127 GraphicUses:126Used by:128
Symbol 128 MovieClipUses:121 123 125 127Used by:139 181
Symbol 129 BitmapUsed by:130
Symbol 130 GraphicUses:129Used by:139 181
Symbol 131 BitmapUsed by:132
Symbol 132 GraphicUses:131Used by:139 181
Symbol 133 BitmapUsed by:134
Symbol 134 GraphicUses:133Used by:139 181
Symbol 135 BitmapUsed by:136
Symbol 136 GraphicUses:135Used by:139 181
Symbol 137 BitmapUsed by:138
Symbol 138 GraphicUses:137Used by:139 181
Symbol 139 MovieClip [enemy]Uses:107 109 111 113 115 117 119 128 130 132 134 136 138Used by:198  Timeline
Symbol 140 BitmapUsed by:141
Symbol 141 GraphicUses:140Used by:148
Symbol 142 BitmapUsed by:143
Symbol 143 GraphicUses:142Used by:148
Symbol 144 BitmapUsed by:145
Symbol 145 GraphicUses:144Used by:148
Symbol 146 BitmapUsed by:147
Symbol 147 GraphicUses:146Used by:148
Symbol 148 MovieClip [source]Uses:141 143 145 147Used by:198  Timeline
Symbol 149 BitmapUsed by:150 252
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:150 152 154 156Used by:171
Symbol 158 BitmapUsed by:159
Symbol 159 GraphicUses:158Used by:171
Symbol 160 BitmapUsed by:161
Symbol 161 GraphicUses:160Used by:168
Symbol 162 BitmapUsed by:163
Symbol 163 GraphicUses:162Used by:168
Symbol 164 BitmapUsed by:165
Symbol 165 GraphicUses:164Used by:168
Symbol 166 BitmapUsed by:167 252
Symbol 167 GraphicUses:166Used by:168
Symbol 168 MovieClipUses:161 163 165 167Used by:171
Symbol 169 BitmapUsed by:170
Symbol 170 GraphicUses:169Used by:171
Symbol 171 MovieClip [collectable]Uses:157 159 168 170Used by:198  Timeline
Symbol 172 EditableTextUses:39Used by:173
Symbol 173 MovieClip [points]Uses:38 172Used by:198
Symbol 174 BitmapUsed by:175
Symbol 175 GraphicUses:174Used by:176
Symbol 176 MovieClip [splash]Uses:175Used by:198
Symbol 177 BitmapUsed by:178
Symbol 178 GraphicUses:177Used by:179
Symbol 179 MovieClipUses:178Used by:180
Symbol 180 MovieClip [playerTrail]Uses:179Used by:198
Symbol 181 MovieClip [enemyBitmapSource]Uses:107 109 111 113 115 117 119 128 130 132 134 136 138Used by:198
Symbol 182 GraphicUsed by:183
Symbol 183 MovieClipUses:182Used by:186
Symbol 184 TextUses:39Used by:185
Symbol 185 MovieClipUses:184Used by:186
Symbol 186 MovieClip [clickToStart]Uses:183 185Used by:198
Symbol 187 Sound [gameCompleteWav]Used by:198
Symbol 188 Sound [tap.wav]Used by:198
Symbol 189 Sound [ramp1.wav]Used by:198
Symbol 190 Sound [snow1.wav]Used by:198
Symbol 191 Sound [hurtPlayer.wav]Used by:198
Symbol 192 Sound [points2.wav]Used by:198
Symbol 193 Sound [snowLanding.wav]Used by:198
Symbol 194 Sound [spin.wav]Used by:198
Symbol 195 Sound [levelComplete.wav]Used by:198
Symbol 196 Sound [points3.wav]Used by:198
Symbol 197 Sound [extralife_snd]Used by:198
Symbol 198 MovieClipUses:25 36 42 105 139 148 171 173 176 10 180 7 5 181 3 186 187 188 189 190 191 192 193 194 195 196 197Used by:Timeline
Symbol 199 GraphicUsed by:200
Symbol 200 MovieClipUses:199Used by:203
Symbol 201 GraphicUsed by:202 203
Symbol 202 MovieClipUses:201Used by:203
Symbol 203 MovieClipUses:200 202 201 SS1Used by:Timeline
Symbol 204 GraphicUsed by:Timeline
Symbol 205 BitmapUsed by:206
Symbol 206 GraphicUses:205Used by:207
Symbol 207 MovieClipUses:206Used by:Timeline
Symbol 208 GraphicUsed by:209  Timeline
Symbol 209 ButtonUses:208Used by:Timeline
Symbol 210 GraphicUsed by:211
Symbol 211 MovieClipUses:210Used by:218
Symbol 212 FontUsed by:213 214 215
Symbol 213 TextUses:212Used by:218
Symbol 214 TextUses:212Used by:218
Symbol 215 TextUses:212Used by:218
Symbol 216 GraphicUsed by:217
Symbol 217 MovieClipUses:216Used by:218
Symbol 218 MovieClipUses:211 213 214 215 217Used by:Timeline
Symbol 219 FontUsed by:220
Symbol 220 EditableTextUses:219Used by:221
Symbol 221 MovieClipUses:220Used by:Timeline
Symbol 222 FontUsed by:223 224
Symbol 223 TextUses:222Used by:225
Symbol 224 TextUses:222Used by:225
Symbol 225 MovieClipUses:223 224Used by:Timeline
Symbol 226 FontUsed by:227 256 264 266 290 292 293
Symbol 227 TextUses:226Used by:265  Timeline
Symbol 228 FontUsed by:229
Symbol 229 TextUses:228Used by:231
Symbol 230 TextUses:8Used by:231
Symbol 231 MovieClipUses:229 230Used by:Timeline
Symbol 232 GraphicUsed by:233
Symbol 233 MovieClipUses:232Used by:240
Symbol 234 TextUses:39Used by:240
Symbol 235 EditableTextUses:39Used by:240
Symbol 236 TextUses:39Used by:239
Symbol 237 TextUses:39Used by:239
Symbol 238 GraphicUsed by:239
Symbol 239 ButtonUses:236 237 238Used by:240
Symbol 240 MovieClipUses:233 234 235 239Used by:Timeline
Symbol 241 BitmapUsed by:242 285
Symbol 242 GraphicUses:241Used by:248
Symbol 243 TextUses:39Used by:248
Symbol 244 TextUses:39Used by:248
Symbol 245 GraphicUsed by:248
Symbol 246 Sound [mouseOver.wav]Used by:248
Symbol 247 Sound [mouseDown.wav]Used by:248
Symbol 248 ButtonUses:242 243 244 245 246 247Used by:249
Symbol 249 MovieClipUses:248Used by:Timeline
Symbol 250 BitmapUsed by:251 280
Symbol 251 GraphicUses:250Used by:265
Symbol 252 GraphicUses:166 149Used by:253
Symbol 253 MovieClipUses:252Used by:265
Symbol 254 FontUsed by:255
Symbol 255 TextUses:254Used by:265
Symbol 256 TextUses:226Used by:265
Symbol 257 GraphicUsed by:265
Symbol 258 TextUses:39Used by:265
Symbol 259 TextUses:39Used by:265
Symbol 260 TextUses:39Used by:265
Symbol 261 TextUses:39Used by:265
Symbol 262 TextUses:39Used by:265
Symbol 263 TextUses:39Used by:265
Symbol 264 TextUses:226Used by:265
Symbol 265 MovieClipUses:251 253 227 255 256 257 258 259 260 261 262 263 264Used by:Timeline
Symbol 266 EditableTextUses:226Used by:Timeline
Symbol 267 SoundUsed by:Timeline
Symbol 268 GraphicUsed by:Timeline
Symbol 269 FontUsed by:270 276 278
Symbol 270 TextUses:269Used by:271
Symbol 271 MovieClipUses:270Used by:Timeline
Symbol 272 GraphicUsed by:273
Symbol 273 MovieClipUses:272Used by:Timeline
Symbol 274 MovieClipUses:44 48 50 52 54 56 58 60 62 64Used by:275
Symbol 275 MovieClipUses:274Used by:Timeline
Symbol 276 TextUses:269Used by:277
Symbol 277 MovieClipUses:276Used by:Timeline
Symbol 278 TextUses:269Used by:279
Symbol 279 MovieClipUses:278Used by:Timeline
Symbol 280 GraphicUses:250Used by:Timeline
Symbol 281 GraphicUsed by:282
Symbol 282 MovieClipUses:281Used by:Timeline
Symbol 283 GraphicUsed by:284
Symbol 284 MovieClipUses:283Used by:Timeline
Symbol 285 GraphicUses:241Used by:286
Symbol 286 MovieClipUses:285Used by:Timeline
Symbol 287 GraphicUsed by:288
Symbol 288 MovieClipUses:287Used by:Timeline
Symbol 289 EditableTextUses:39Used by:Timeline
Symbol 290 TextUses:226Used by:Timeline
Symbol 291 EditableTextUses:39Used by:Timeline
Symbol 292 TextUses:226Used by:Timeline
Symbol 293 EditableTextUses:226Used by:Timeline
Symbol 294 TextUses:39Used by:302  Timeline
Symbol 295 TextUses:39Used by:Timeline
Symbol 296 EditableTextUses:39Used by:Timeline
Symbol 297 EditableTextUses:39Used by:Timeline
Symbol 298 TextUses:39Used by:Timeline
Symbol 299 FontUsed by:300 301
Symbol 300 EditableTextUses:299Used by:Timeline
Symbol 301 EditableTextUses:299Used by:Timeline
Symbol 302 MovieClipUses:294Used by:Timeline
Symbol 303 EditableTextUses:39Used by:Timeline
Symbol 304 TextUses:39Used by:305
Symbol 305 MovieClipUses:304Used by:Timeline
Symbol 306 TextUses:39Used by:307
Symbol 307 MovieClipUses:306Used by:Timeline
Streaming Sound 1Used by:Symbol 203 MovieClip

Instance Names

"loadingClip"Frame 3Symbol 24 MovieClip
"helpBtn"Frame 7Symbol 209 Button
"snowholder"Frame 7Symbol 221 MovieClip
"mouseIcon"Frame 7Symbol 231 MovieClip
"yourHighClip"Frame 7Symbol 240 MovieClip
"playBtnClip"Frame 7Symbol 249 MovieClip
"howToPlayClip"Frame 7Symbol 265 MovieClip
"sourceClip"Frame 23Symbol 148 MovieClip [source]
"backGroundHolder"Frame 23Symbol 271 MovieClip
"enemyHolder"Frame 23Symbol 273 MovieClip
"playerShadow"Frame 23Symbol 275 MovieClip
"collectHolder"Frame 23Symbol 277 MovieClip
"pointsHolder"Frame 23Symbol 279 MovieClip
"travelLineClip"Frame 23Symbol 282 MovieClip
"distanceTraveledClip"Frame 23Symbol 284 MovieClip
"healthMeter"Frame 23Symbol 288 MovieClip
"enemiesClip"Frame 32Symbol 139 MovieClip [enemy]
"collectables"Frame 32Symbol 171 MovieClip [collectable]
"playBtnClip"Frame 33Symbol 249 MovieClip
"yourHighestTextBox"Frame 33Symbol 300 EditableText
"title"Frame 33Symbol 225 MovieClip
"playBtnClip"Frame 42Symbol 249 MovieClip
"yourHighestTextBox"Frame 42Symbol 301 EditableText
"finalScore"Frame 42Symbol 302 MovieClip
"scoreTextBox"Frame 42Symbol 303 EditableText
"snowholder"Frame 42Symbol 221 MovieClip
"titleClip"Frame 42Symbol 225 MovieClip
"gameCompleteClip"Frame 42Symbol 305 MovieClip
"wellDone"Frame 42Symbol 307 MovieClip
"textBox"Symbol 10 MovieClip [showWordLetter] Frame 1Symbol 9 EditableText
"Lvar"Symbol 16 MovieClip [letter] Frame 1Symbol 15 EditableText
"mask"Symbol 24 MovieClip Frame 1Symbol 20 MovieClip
"clip"Symbol 36 MovieClip [tell_player] Frame 1Symbol 35 MovieClip
"sparkRight"Symbol 105 MovieClip [player] Frame 1Symbol 46 MovieClip [spark]
"sparkLeft"Symbol 105 MovieClip [player] Frame 1Symbol 46 MovieClip [spark]
"clip"Symbol 139 MovieClip [enemy] Frame 8Symbol 128 MovieClip
"clip"Symbol 171 MovieClip [collectable] Frame 1Symbol 157 MovieClip
"clip"Symbol 171 MovieClip [collectable] Frame 3Symbol 168 MovieClip
"textBox"Symbol 173 MovieClip [points] Frame 1Symbol 172 EditableText
"clip"Symbol 180 MovieClip [playerTrail] Frame 1Symbol 179 MovieClip
"clip"Symbol 181 MovieClip [enemyBitmapSource] Frame 8Symbol 128 MovieClip
"playerTrail"Symbol 198 MovieClip Frame 2Symbol 180 MovieClip [playerTrail]
"head"Symbol 203 MovieClip Frame 1Symbol 200 MovieClip
"www"Symbol 203 MovieClip Frame 1Symbol 202 MovieClip
"resetclip"Symbol 240 MovieClip Frame 1Symbol 233 MovieClip
"yourhighText"Symbol 240 MovieClip Frame 1Symbol 235 EditableText
"reset_btn"Symbol 240 MovieClip Frame 1Symbol 239 Button
"playBtn"Symbol 249 MovieClip Frame 1Symbol 248 Button
"clip"Symbol 275 MovieClip Frame 1Symbol 274 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 3 as "snowSprayParticle"
ExportAssets (56)Timeline Frame 1Symbol 5 as "snow"
ExportAssets (56)Timeline Frame 1Symbol 7 as "mouseClip"
ExportAssets (56)Timeline Frame 1Symbol 10 as "showWordLetter"
ExportAssets (56)Timeline Frame 1Symbol 308 as "__Packages.MochiAd"
ExportAssets (56)Timeline Frame 1Symbol 309 as "__Packages.snowSprayClass"
ExportAssets (56)Timeline Frame 1Symbol 310 as "__Packages.letterClass"
ExportAssets (56)Timeline Frame 1Symbol 311 as "__Packages.tellPlayerClass"
ExportAssets (56)Timeline Frame 1Symbol 312 as "__Packages.mx.transitions.OnEnterFrameBeacon"
ExportAssets (56)Timeline Frame 1Symbol 313 as "__Packages.mx.transitions.BroadcasterMX"
ExportAssets (56)Timeline Frame 1Symbol 314 as "__Packages.mx.transitions.Tween"
ExportAssets (56)Timeline Frame 1Symbol 315 as "__Packages.mx.transitions.easing.Strong"
ExportAssets (56)Timeline Frame 1Symbol 316 as "__Packages.mx.transitions.easing.Bounce"
ExportAssets (56)Timeline Frame 1Symbol 317 as "__Packages.mx.transitions.easing.Regular"
ExportAssets (56)Timeline Frame 3Symbol 16 as "letter"
ExportAssets (56)Timeline Frame 4Symbol 36 as "tell_player"
ExportAssets (56)Timeline Frame 4Symbol 42 as "tellPlayer"
ExportAssets (56)Timeline Frame 4Symbol 46 as "spark"
ExportAssets (56)Timeline Frame 4Symbol 105 as "player"
ExportAssets (56)Timeline Frame 4Symbol 139 as "enemy"
ExportAssets (56)Timeline Frame 4Symbol 148 as "source"
ExportAssets (56)Timeline Frame 4Symbol 171 as "collectable"
ExportAssets (56)Timeline Frame 4Symbol 173 as "points"
ExportAssets (56)Timeline Frame 4Symbol 176 as "splash"
ExportAssets (56)Timeline Frame 4Symbol 180 as "playerTrail"
ExportAssets (56)Timeline Frame 4Symbol 181 as "enemyBitmapSource"
ExportAssets (56)Timeline Frame 4Symbol 186 as "clickToStart"
ExportAssets (56)Timeline Frame 4Symbol 187 as "gameCompleteWav"
ExportAssets (56)Timeline Frame 4Symbol 188 as "tap.wav"
ExportAssets (56)Timeline Frame 4Symbol 189 as "ramp1.wav"
ExportAssets (56)Timeline Frame 4Symbol 190 as "snow1.wav"
ExportAssets (56)Timeline Frame 4Symbol 191 as "hurtPlayer.wav"
ExportAssets (56)Timeline Frame 4Symbol 192 as "points2.wav"
ExportAssets (56)Timeline Frame 4Symbol 193 as "snowLanding.wav"
ExportAssets (56)Timeline Frame 4Symbol 194 as "spin.wav"
ExportAssets (56)Timeline Frame 4Symbol 195 as "levelComplete.wav"
ExportAssets (56)Timeline Frame 4Symbol 196 as "points3.wav"
ExportAssets (56)Timeline Frame 4Symbol 197 as "extralife_snd"
ExportAssets (56)Timeline Frame 7Symbol 246 as "mouseOver.wav"
ExportAssets (56)Timeline Frame 7Symbol 247 as "mouseDown.wav"
Tag 0x0FF (255)Timeline Frame 11 bytes "."

Labels

"playerSpinFrame"Symbol 105 MovieClip [player] Frame 11

Dynamic Text Variables

_root.tellPlayerTextSymbol 41 EditableText"1"
_root.vNumSymbol 266 EditableText"vnum"
_root.levelSymbol 289 EditableText"6"
_root.scoreSymbol 291 EditableText"0"
_root.fpsSymbol 293 EditableText"0"
_root.scoreSymbol 296 EditableText"453456"
_root.levelSymbol 297 EditableText"0"
_root.scoreSymbol 303 EditableText"453456"




http://swfchan.com/10/48301/info.shtml
Created: 30/4 -2019 05:57:10 Last modified: 30/4 -2019 05:57:10 Server time: 01/11 -2024 00:05:10