Frame 1
function shakestage(howlong, howbig) {
this.createEmptyMovieClip("shaker", 100);
this.shaker.counter = 0;
this.shaker.posx = this._x;
this.shaker.posy = this._y;
this.shaker.onEnterFrame = function () {
this.counter++;
this._parent._x = (this.posx + random(howbig)) - (howbig / 2);
this._parent._y = (this.posy + random(howbig)) - (howbig / 2);
if (this.counter > howlong) {
this._parent._x = this.posx;
this._parent._y = this.posy;
this.removeMovieClip();
}
};
}
if (((_root.CID == undefined) || (_root.CID == "")) || (_root.CID == null)) {
_root.CID = "76\t";
}
if (((_root.PID == undefined) || (_root.PID == "")) || (_root.PID == null)) {
_root.PID = "Weapons_Check";
}
if (((_root.EXIT_LABEL == undefined) || (_root.EXIT_LABEL == "")) || (_root.EXIT_LABEL == null)) {
_root.EXIT_LABEL = "mainClientLogo";
}
if (((_root.EXIT_LINK == undefined) || (_root.EXIT_LINK == "")) || (_root.EXIT_LINK == null)) {
_root.EXIT_LINK = "http://www.tropicthunder.com";
}
_global.exitLink = function () {
SeqTrackerAdaptor.campaignExit(_root.EXIT_LINK, _root.EXIT_LABEL);
};
_global.trackAction = function () {
SeqTrackerAdaptor.trackActionByLabel();
};
com.teamrubber.SeqTrackerAdaptor.setProjectDetails(this.tracker_comp);
com.teamrubber.SeqTrackerAdaptor.initTracker();
_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);
_root.exit_url = "http://uk.youtube.com/watch?v=TlTxeuOQpt0";
Stage.scaleMode = "noScale";
Stage.align = "T";
Frame 2
this.onEnterFrame = function () {
ifFrameLoaded (3) {
this.onEnterFrame = undefined;
gotoAndPlay ("mainload");
}
};
stop();
Frame 3
function initial_load() {
loaded_num = 0;
loadermain.percent_mc.percent = loaded_num + "%";
this.onEnterFrame = function () {
frloaded = _root.getBytesLoaded();
frtotal = _root.getBytesTotal();
if ((frloaded > 10) && (frloaded == frtotal)) {
if (testcount > 2) {
loadermain.gotoAndPlay(100);
loadermain.percent_mc.percent = "100%";
fallaway();
this.onEnterFrame = undefined;
} else {
this.onEnterFrame = undefined;
autoloader();
}
} else {
testcount++;
loaded_num = int((frloaded / frtotal) * 100);
loadermain.gotoAndStop(loaded_num);
loadermain.percent_mc.percent = loaded_num + "%";
}
};
}
function autoloader() {
percenttoload = 0;
loadermain.percent_mc.percent = percenttoload + "%";
this.onEnterFrame = function () {
percenttoload = percenttoload + 1;
loadermain.gotoAndStop(percenttoload);
loadermain.percent_mc.percent = percenttoload + "%";
if (percenttoload >= 100) {
loadermain.percent_mc.percent = "100%";
loadermain.gotoAndPlay(100);
fallaway();
this.onEnterFrame = undefined;
}
};
}
function fallaway() {
play();
}
testcount = 0;
initial_load();
stop();
Frame 4
function disable_site() {
disabledsite = "true";
cover_mc._y = -21;
video_mc.stopvid();
bgmusic_byte.volumeTo(0, 1, "linear", 0, function () {
bgmusic_byte.stop();
});
loadingpage = "true";
if (sfxvol > 0) {
sfxkill();
sfxvol = 0;
}
cover_mc.onPress = function () {
cover_mc._y = -1000;
startup_site();
};
}
function startup_site() {
disabledsite = "false";
loadingpage = "false";
if (video_flag == 0) {
if (sfxstate == "on") {
sfxvol = 80;
sfxstart();
}
if (soundstate == "on") {
bgmusic_byte.stop();
bgmusic_byte.setVolume(globalvol);
bgmusic_byte.start(0, 2000);
}
}
}
function loadsound() {
bgmusic_byte.volumeTo(0, 0.4, "linear", 0, function () {
bgmusic_byte.stop();
});
bgmusic_load_byte.stop();
bgmusic_load_byte.setVolume(0);
bgmusic_load_byte.start(0, 2000);
bgmusic_load_byte.volumeTo(globalvol, 0.4, "linear", 0, function () {
});
}
function bgmusic_home_start() {
bgmusic_byte.stop();
bgmusic_byte.setVolume(0);
bgmusic_byte.start(0, 2000);
bgmusic_byte.volumeTo(globalvol, 3, "linear", 0, function () {
});
bgmusic_load_byte.volumeTo(0, 0.6, "linear", 0, function () {
bgmusic_load_byte.stop();
});
}
function sfxkill() {
fireloop_byte.volumeTo(0, 1, "linear", 0, function () {
fireloop_byte.stop();
});
warsfx.onEnterFrame = undefined;
warloop_byte.volumeTo(0, 1, "linear", 0, function () {
warloop_byte.stop();
});
}
function sfxstart() {
if (firsttime_fireball == 0) {
firsttime_fireball = 1;
fireball_byte.start(0, 0);
}
fireloop_byte.stop();
fireloop_byte.setVolume(0);
fireloop_byte.start(0, 2000);
fireloop_byte.volumeTo(sfxvol, 1, "linear", 0, function () {
});
}
function warstart() {
incoming_attack();
warloop_byte.stop();
warloop_byte.setVolume(0);
warloop_byte.start(0, 2000);
warloop_byte.volumeTo(sfxvol, 1, "linear", 0, function () {
});
}
function warstop() {
warsfx.onEnterFrame = undefined;
warloop_byte.volumeTo(0, 4, "linear", 0, function () {
warloop_byte.stop();
});
tempsarge.volumeTo(0, 0.3, "linear", 0, function () {
tempsarge.stop();
sargeflag = 0;
});
}
function incoming_attack() {
sarge6_byte.setVolume(sfxvol);
sarge6_byte.start(0, 0);
sarge6_byte.onSoundComplete = function () {
explosionflag = 1;
which = random(4) + 1;
incomingbyte = random(2) + 1;
whichincoming = eval (("incoming" + incomingbyte) + "_explosion_byte");
whichincoming.setVolume(sfxvol);
whichincoming.start(0, 0);
whichincoming.onSoundComplete = function () {
whichone = eval (("explosion" + which) + "_byte");
whichone.setVolume(sfxvol);
whichone.start(0, 0);
shakestage(20, 30);
game_module.scatterpieces();
whichone.onSoundComplete = function () {
explosionflag = 0;
warsounds();
};
};
};
}
function warsounds() {
init_phrases();
sargecount = 0;
warsfx.onEnterFrame = function () {
helivar = random(150);
if (helivar == 33) {
if (heliflag == 0) {
heliflag = 1;
helicopter_byte.stop();
helicopter_byte.setVolume(sfxvol);
helicopter_byte.start(0, 0);
helicopter_byte.onSoundComplete = function () {
heliflag = 0;
};
}
}
explosionvar = random(40);
if (explosionvar == 3) {
if (explosionflag == 0) {
explosionflag = 1;
which = random(4) + 1;
incomingbyte = random(2) + 1;
whichincoming = eval (("incoming" + incomingbyte) + "_explosion_byte");
whichincoming.setVolume(sfxvol);
whichincoming.start(0, 0);
whichincoming.onSoundComplete = function () {
whichone = eval (("explosion" + which) + "_byte");
whichone.setVolume(sfxvol);
whichone.start(0, 0);
shakestage(20, 30);
game_module.scatterpieces();
whichone.onSoundComplete = function () {
explosionflag = 0;
};
};
}
}
sargevar = random(45);
if (sargevar == 3) {
if (sargeflag == 0) {
sargeflag = 1;
if (sargecount > 8) {
sargecount = 0;
}
whichsarge = phrasearray[sargecount];
sargecount++;
if (whichsarge == sargeflag2) {
sargeflag = 0;
} else {
tempsarge = eval (("sargesting" + whichsarge) + "_byte");
tempsarge.setVolume(sfxvol);
tempsarge.start(0, 0);
tempsarge.onSoundComplete = function () {
sargeflag = 0;
sargeflag2 = whichsarge;
};
}
}
}
};
}
function init_phrases() {
temp_phrase_list = [];
i = 1;
while (i <= 9) {
temp_phrase_list.push(i);
i++;
}
phrasearray = [];
while (temp_phrase_list.length > 0) {
r = int(Math.random() * temp_phrase_list.length);
phrasearray.push(temp_phrase_list[r]);
temp_phrase_list.splice(r, 1);
}
}
function private_end() {
whichprivate++;
if (whichprivate > 8) {
whichprivate = 1;
}
tempprivate = eval (("private" + whichprivate) + "_byte");
tempprivate.setVolume(sfxvol);
tempprivate.start(0, 0);
tempprivate.onSoundComplete = function () {
bgmusic_byte.volumeTo(globalvol, 0.7, "linear", 0, function () {
});
};
}
globalvol = 100;
sfxvol = 85;
soundstate = "on";
sfxstate = "on";
this.createEmptyMovieClip("bgmusic_mc", this.getNextHighestDepth());
bgmusic_byte = new Sound(bgmusic_mc);
bgmusic_byte.attachSound("bgmusic");
this.createEmptyMovieClip("sfxcontrol_mc", this.getNextHighestDepth());
fireball_byte = new Sound(sfxcontrol_mc);
fireball_byte.attachSound("fireball");
this.createEmptyMovieClip("sfxcontrol_mc2", this.getNextHighestDepth());
fireloop_byte = new Sound(sfxcontrol_mc2);
fireloop_byte.attachSound("fireloop");
this.createEmptyMovieClip("sfxcontrol_mc3", this.getNextHighestDepth());
machinegun_byte = new Sound(sfxcontrol_mc3);
machinegun_byte.attachSound("machinegun");
this.createEmptyMovieClip("sfxcontrol_mc4", this.getNextHighestDepth());
gunfire_byte1 = new Sound(sfxcontrol_mc4);
gunfire_byte1.attachSound("gunfire");
this.createEmptyMovieClip("sfxcontrol_mc5", this.getNextHighestDepth());
machinegunfire_stiller_byte = new Sound(sfxcontrol_mc5);
machinegunfire_stiller_byte.attachSound("machinegunfire_stiller");
this.createEmptyMovieClip("sfxcontrol_mc6", this.getNextHighestDepth());
singleshot_AR15_byte = new Sound(sfxcontrol_mc6);
singleshot_AR15_byte.attachSound("singleshot_AR15");
this.createEmptyMovieClip("sfxcontrol_mc7", this.getNextHighestDepth());
warloop_byte = new Sound(sfxcontrol_mc7);
warloop_byte.attachSound("warloop");
this.createEmptyMovieClip("sfxcontrol_mc8", this.getNextHighestDepth());
explosion1_byte = new Sound(sfxcontrol_mc8);
explosion1_byte.attachSound("explosion1");
this.createEmptyMovieClip("sfxcontrol_mc9", this.getNextHighestDepth());
explosion2_byte = new Sound(sfxcontrol_mc9);
explosion2_byte.attachSound("explosion2");
this.createEmptyMovieClip("sfxcontrol_mc10", this.getNextHighestDepth());
explosion3_byte = new Sound(sfxcontrol_mc10);
explosion3_byte.attachSound("explosion3");
this.createEmptyMovieClip("sfxcontrol_mc11", this.getNextHighestDepth());
explosion4_byte = new Sound(sfxcontrol_mc11);
explosion4_byte.attachSound("explosion4");
this.createEmptyMovieClip("sfxcontrol_mc12", this.getNextHighestDepth());
helicopter_byte = new Sound(sfxcontrol_mc12);
helicopter_byte.attachSound("helicopter");
this.createEmptyMovieClip("sfxcontrol_mc20", this.getNextHighestDepth());
helicopter_crash1_byte = new Sound(sfxcontrol_mc20);
helicopter_crash1_byte.attachSound("helicopter_crash1");
this.createEmptyMovieClip("sfxcontrol_mc21", this.getNextHighestDepth());
helicopter_crash2_byte = new Sound(sfxcontrol_mc21);
helicopter_crash2_byte.attachSound("helicopter_crash2");
this.createEmptyMovieClip("sfxcontrol_mc22", this.getNextHighestDepth());
mcbride_explosion_byte = new Sound(sfxcontrol_mc22);
mcbride_explosion_byte.attachSound("mcbride_explosion");
this.createEmptyMovieClip("sfxcontrol_mc32", this.getNextHighestDepth());
incoming1_explosion_byte = new Sound(sfxcontrol_mc32);
incoming1_explosion_byte.attachSound("incoming1");
this.createEmptyMovieClip("sfxcontrol_mc33", this.getNextHighestDepth());
incoming2_explosion_byte = new Sound(sfxcontrol_mc33);
incoming2_explosion_byte.attachSound("incoming2");
this.createEmptyMovieClip("sfxcontrol_mc34", this.getNextHighestDepth());
beepslow_byte = new Sound(sfxcontrol_mc34);
beepslow_byte.attachSound("beepslow");
this.createEmptyMovieClip("sfxcontrol_mc35", this.getNextHighestDepth());
beepfast_byte = new Sound(sfxcontrol_mc35);
beepfast_byte.attachSound("beepfast");
this.createEmptyMovieClip("sfxcontrol_mc40", this.getNextHighestDepth());
sarge1_byte = new Sound(sfxcontrol_mc40);
sarge1_byte.attachSound("sarge1");
this.createEmptyMovieClip("sfxcontrol_mc41", this.getNextHighestDepth());
sarge2_byte = new Sound(sfxcontrol_mc41);
sarge2_byte.attachSound("sarge2");
this.createEmptyMovieClip("sfxcontrol_mc42", this.getNextHighestDepth());
sarge3_byte = new Sound(sfxcontrol_mc42);
sarge3_byte.attachSound("sarge3");
this.createEmptyMovieClip("sfxcontrol_mc43", this.getNextHighestDepth());
sarge4_byte = new Sound(sfxcontrol_mc43);
sarge4_byte.attachSound("sarge4");
this.createEmptyMovieClip("sfxcontrol_mc44", this.getNextHighestDepth());
sarge5_byte = new Sound(sfxcontrol_mc44);
sarge5_byte.attachSound("sarge5");
this.createEmptyMovieClip("sfxcontrol_mc45", this.getNextHighestDepth());
sarge6_byte = new Sound(sfxcontrol_mc45);
sarge6_byte.attachSound("sarge6");
this.createEmptyMovieClip("sfxcontrol_mc46", this.getNextHighestDepth());
sargesting1_byte = new Sound(sfxcontrol_mc46);
sargesting1_byte.attachSound("sargesting1");
this.createEmptyMovieClip("sfxcontrol_mc47", this.getNextHighestDepth());
sargesting2_byte = new Sound(sfxcontrol_mc47);
sargesting2_byte.attachSound("sargesting2");
this.createEmptyMovieClip("sfxcontrol_mc48", this.getNextHighestDepth());
sargesting3_byte = new Sound(sfxcontrol_mc48);
sargesting3_byte.attachSound("sargesting3");
this.createEmptyMovieClip("sfxcontrol_mc49", this.getNextHighestDepth());
sargesting4_byte = new Sound(sfxcontrol_mc49);
sargesting4_byte.attachSound("sargesting4");
this.createEmptyMovieClip("sfxcontrol_mc50", this.getNextHighestDepth());
sargesting5_byte = new Sound(sfxcontrol_mc50);
sargesting5_byte.attachSound("sargesting5");
this.createEmptyMovieClip("sfxcontrol_mc51", this.getNextHighestDepth());
sargesting6_byte = new Sound(sfxcontrol_mc51);
sargesting6_byte.attachSound("sargesting6");
this.createEmptyMovieClip("sfxcontrol_mc52", this.getNextHighestDepth());
sargesting7_byte = new Sound(sfxcontrol_mc52);
sargesting7_byte.attachSound("sargesting7");
this.createEmptyMovieClip("sfxcontrol_mc53", this.getNextHighestDepth());
sargesting8_byte = new Sound(sfxcontrol_mc53);
sargesting8_byte.attachSound("sargesting8");
this.createEmptyMovieClip("sfxcontrol_mc54", this.getNextHighestDepth());
sargesting9_byte = new Sound(sfxcontrol_mc54);
sargesting9_byte.attachSound("sargesting9");
this.createEmptyMovieClip("sfxcontrol_mc55", this.getNextHighestDepth());
sarge_startwith_byte = new Sound(sfxcontrol_mc55);
sarge_startwith_byte.attachSound("sarge_startwith");
this.createEmptyMovieClip("sfxcontrol_mc56", this.getNextHighestDepth());
winner_L_byte = new Sound(sfxcontrol_mc56);
winner_L_byte.attachSound("winner_L");
this.createEmptyMovieClip("sfxcontrol_mc57", this.getNextHighestDepth());
winner_S_byte = new Sound(sfxcontrol_mc57);
winner_S_byte.attachSound("winner_S");
this.createEmptyMovieClip("sfxcontrol_mc58", this.getNextHighestDepth());
private1_byte = new Sound(sfxcontrol_mc58);
private1_byte.attachSound("private1");
this.createEmptyMovieClip("sfxcontrol_mc59", this.getNextHighestDepth());
private2_byte = new Sound(sfxcontrol_mc59);
private2_byte.attachSound("private2");
this.createEmptyMovieClip("sfxcontrol_mc60", this.getNextHighestDepth());
private3_byte = new Sound(sfxcontrol_mc60);
private3_byte.attachSound("private3");
this.createEmptyMovieClip("sfxcontrol_mc61", this.getNextHighestDepth());
private4_byte = new Sound(sfxcontrol_mc61);
private4_byte.attachSound("private4");
this.createEmptyMovieClip("sfxcontrol_mc62", this.getNextHighestDepth());
private5_byte = new Sound(sfxcontrol_mc62);
private5_byte.attachSound("private5");
this.createEmptyMovieClip("sfxcontrol_mc63", this.getNextHighestDepth());
private6_byte = new Sound(sfxcontrol_mc63);
private6_byte.attachSound("private6");
this.createEmptyMovieClip("sfxcontrol_mc64", this.getNextHighestDepth());
private7_byte = new Sound(sfxcontrol_mc64);
private7_byte.attachSound("private7");
this.createEmptyMovieClip("sfxcontrol_mc65", this.getNextHighestDepth());
private8_byte = new Sound(sfxcontrol_mc65);
private8_byte.attachSound("private8");
this.createEmptyMovieClip("sfxcontrol_mc66", this.getNextHighestDepth());
guncock_byte = new Sound(sfxcontrol_mc66);
guncock_byte.attachSound("guncock");
disabledsite = "false";
soundbtn.onPress = function () {
if (soundstate == "on") {
this.gotoAndStop(2);
soundstate = "off";
globalvol = 0;
bgmusic_byte.stopTween();
bgmusic_byte.volumeTo(0, 0.5, "linear", 0, function () {
bgmusic_byte.stop();
});
musicoff_tracking();
} else {
this.gotoAndStop(1);
globalvol = 100;
soundstate = "on";
bgmusic_byte.stopTween();
bgmusic_byte.stop();
bgmusic_byte.setVolume(0);
bgmusic_byte.start(0, 2000);
bgmusic_byte.volumeTo(globalvol, 0.5, "linear", 0, function () {
});
musicon_tracking();
}
};
sfxbtn.onPress = function () {
if (sfxstate == "on") {
this.gotoAndStop(2);
sfxstate = "off";
sfxvol = 0;
sfxkill();
soundoff_tracking();
} else {
this.gotoAndStop(1);
sfxvol = 80;
sfxstate = "on";
sfxstart();
soundon_tracking();
}
};
this.createEmptyMovieClip("warsfx", this.getNextHighestDepth());
firsttime_fireball = 0;
bgmusic_home_start();
sargeflag = 0;
sargeflag2 = 0;
heliflag = 0;
explosionflag = 0;
sargecount = 0;
whichprivate = 0;
Frame 5
function complete_success_tracking() {
ExternalInterface.call("weapons_checkTracker._trackEvent", "WeaponsCheck", "Completion:Success");
}
function complete_fail_tracking() {
ExternalInterface.call("weapons_checkTracker._trackEvent", "WeaponsCheck", "Completion:Fail");
}
function playagian_tracking() {
ExternalInterface.call("weapons_checkTracker._trackEvent", "WeaponsCheck", "PlayAgain");
}
function showbg() {
bgmain._alpha = 100;
fireloop._alpha = 100;
legal.alphaTo(100, 0.7, "linear", 0, function () {
});
title_mc.alphaTo(100, 0.7, "linear", 0, function () {
});
weaponscheck_text.alphaTo(100, 0.1, "linear", 1, function () {
});
weaponscheck_text.scaleTo(100, 1, "easeOutElastic", 1, function () {
});
asterick1.alphaTo(100, 0.1, "linear", 1.5, function () {
});
asterick1.rotateTo(0, 1, "easeOutExpo", 1.6, function () {
});
asterick2.alphaTo(100, 0.1, "linear", 1.5, function () {
});
asterick2.rotateTo(0, 1, "easeOutExpo", 1.6, function () {
});
intro();
}
function intro() {
stiller_mc._x = -500;
nolte_mc._x = -500;
stiller_mc._y = 387;
nolte_mc._y = 405;
stiller_mc.slideTo(239, 387, 0.7, "easeOutExpo", 1.4, function () {
});
nolte_mc.slideTo(376, 405, 0.7, "easeOutExpo", 1.2, function () {
});
intro_text.gotoAndPlay("show");
begin_btn._alpha = 0;
begin_btn._x = 640;
begin_btn._y = 514;
begin_btn.alphaTo(100, 0.4, "linear", 1.6, function () {
});
}
function startgame() {
bgmusic_byte.volumeTo(30, 3, "linear", 0, function () {
});
stiller_mc.slideTo(-500, 387, 0.6, "easeInExpo", 0, function () {
});
nolte_mc.slideTo(-500, 405, 0.6, "easeInExpo", 0.2, function () {
});
intro_text.gotoAndPlay(1);
game_module._x = 900;
game_module._y = 61;
noltegame_mc._x = 1000;
noltegame_mc._y = 615;
timer_mc._x = -40;
timer_mc._y = 1000;
reset_btn._x = 290;
reset_btn._y = 463;
reset_btn._alpha = 0;
timer_mc.gotoAndPlay(1);
game_module.gotoAndPlay(1);
game_module.slideTo(-32, 61, 0.8, "easeOutExpo", 0.6, function () {
this.gotoAndPlay("start");
});
noltegame_mc.slideTo(746, 615, 0.8, "easeOutExpo", 1, function () {
});
timer_mc.slideTo(-40, 401, 0.8, "easeOutExpo", 1.4, function () {
});
reset_text.gotoAndPlay("show");
reset_btn.alphaTo(100, 0.4, "linear", 1.7, function () {
});
}
function finished() {
warstop();
game_module.slideTo(-1000, 61, 0.6, "easeInExpo", 0, function () {
this.gotoAndPlay(1);
});
noltegame_mc.slideTo(1150, 615, 0.8, "easeInExpo", 0.4, function () {
});
timer_mc.slideTo(-40, 800, 0.8, "easeInExpo", 0.2, function () {
});
reset_btn.alphaTo(0, 0.4, "linear", 0.1, function () {
});
reset_text._y = 800;
stiller_mc_end._x = 1200;
stiller_mc_end._y = 417;
stiller_mc_end.slideTo(753, 417, 0.4, "easeOutExpo", 0.7, function () {
});
if (timer_mc.realtime > 25) {
complete_success_tracking();
badge_mc.gotoAndStop(3);
endtext_mc.gotoAndStop(3);
winner_L_byte.setVolume(sfxvol);
winner_L_byte.start(0, 0);
winner_L_byte.onSoundComplete = function () {
bgmusic_byte.volumeTo(globalvol, 0.7, "linear", 0, function () {
});
};
} else if (timer_mc.realtime > 0.1) {
complete_success_tracking();
badge_mc.gotoAndStop(2);
endtext_mc.gotoAndStop(2);
winner_S_byte.setVolume(sfxvol);
winner_S_byte.start(0, 0);
winner_S_byte.onSoundComplete = function () {
bgmusic_byte.volumeTo(globalvol, 0.7, "linear", 0, function () {
});
};
} else {
complete_fail_tracking();
badge_mc.gotoAndStop(1);
endtext_mc.gotoAndStop(1);
private_end();
}
badge_mc._x = 227;
badge_mc._y = 262;
badge_mc._xscale = 0;
badge_mc._yscale = 0;
badge_mc.scaleTo(100, 1, "easeOutElastic", 1, function () {
});
endtext_mc._alpha = 0;
endtext_mc._x = 6;
endtext_mc._y = 413;
endtext_mc.alphaTo(100, 0.4, "linear", 0.7, function () {
});
tryagain_btn._alpha = 0;
tryagain_btn._x = -21;
tryagain_btn._y = 553;
tryagain_btn.alphaTo(100, 0.4, "linear", 0.8, function () {
});
youtube_btn._alpha = 0;
youtube_btn._x = 228;
youtube_btn._y = 557.5;
youtube_btn.alphaTo(100, 0.4, "linear", 0.8, function () {
});
}
function go_again() {
badge_mc.scaleTo(0, 0.5, "linear", 0, function () {
this._x = -500;
});
endtext_mc.alphaTo(0, 0.4, "linear", 0, function () {
this._x = -500;
});
tryagain_btn._x = -500;
youtube_btn._x = -500;
stiller_mc_end.slideTo(1200, 417, 0.5, "easeInExpo", 0, function () {
});
startgame();
}
getURL ("javascript:pageTracker._trackPageview('/section/weaponscheck/');");
introboom._x = 0;
introboom._y = 0;
introboom._width = Stage.width;
introboom._height = Stage.height;
bgmain._alpha = 0;
fireloop._alpha = 0;
legal._alpha = 0;
title_mc._alpha = 0;
asterick1._alpha = 0;
asterick2._alpha = 0;
asterick1._rotation = 1024;
asterick2._rotation = 1024;
begin_btn._alpha = 0;
begin_btn._y = -200;
game_module._x = 900;
reset_btn._alpha = 0;
reset_btn._y = -200;
noltegame_mc._x = 1000;
timer_mc._y = 1000;
stiller_mc_end._x = 1200;
badge_mc._x = -500;
endtext_mc._x = -500;
tryagain_btn._x = -300;
youtube_btn._x = -300;
weaponscheck_text._alpha = 0;
weaponscheck_text._xscale = 0;
weaponscheck_text._yscale = 0;
reset_btn.hitArea = reset_btn.hit;
begin_btn.hitArea = begin_btn.hit;
tryagain_btn.hitArea = tryagain_btn.hit;
youtube_btn.hitArea = youtube_btn.hit;
begin_btn.onRollOver = (reset_btn.onRollOver = (tryagain_btn.onRollOver = (youtube_btn.onRollOver = function () {
this.gotoAndStop(2);
})));
begin_btn.onRollOut = (reset_btn.onRollOut = (tryagain_btn.onRollOut = (youtube_btn.onRollOut = function () {
this.gotoAndStop(1);
})));
begin_btn.onPress = function () {
this.gotoAndStop(1);
begin_btn._y = -200;
startgame();
};
reset_btn.onPress = function () {
game_module.restartgame();
this.gotoAndStop(1);
};
tryagain_btn.onPress = function () {
playagian_tracking();
go_again();
this.gotoAndStop(1);
};
youtube_btn.onPress = function () {
com.teamrubber.SeqTrackerAdaptor.campaignExit("http://uk.youtube.com/watch?v=TlTxeuOQpt0", "exitLink");
this.gotoAndStop(1);
};
sfxstart();
stop();
Frame 34
shakestage(20);
Symbol 4 MovieClip [tracker_] Frame 1
#initclip 5
Object.registerClass("tracker_", com.rubberductions.Tracker);
#endinitclip
Symbol 269 MovieClip [__Packages.com.teamrubber.SeqTrackerAdaptor] Frame 0
class com.teamrubber.SeqTrackerAdaptor
{
static var CAMPAIGN_ID, PROJECT_ID, instance;
function SeqTrackerAdaptor () {
init();
setup();
}
function init() {
}
function setup() {
}
static function initTracker() {
if (active) {
getInstance().comp.setVerbose(true);
getInstance().comp.setBaseURL(BASE_URL);
getInstance().comp.setCampaignID(CAMPAIGN_ID);
getInstance().comp.setProjectID(PROJECT_ID);
getInstance().comp.initialise(doLoad);
getInstance().comp._visible = false;
}
}
static function doLoad() {
getInstance().comp.load();
}
static function campaignExit(link, from) {
var _local1;
var _local3;
trace("TRACKER : " + from);
if ((from == undefined) || (from == "")) {
_local1 = "exitLink";
} else {
_local1 = from;
}
if ((link == undefined) || (link == "")) {
_local3 = "http://www.teamrubber.com";
} else {
_local3 = link;
}
if (active) {
getInstance().comp.exit(_local3, _local1, "_blank");
}
}
static function sendToFriendConversion() {
if (active) {
getInstance().comp.conversion("n/a", "sendToFriend");
}
}
static function trackActionByLabel(label) {
if (active) {
if ((label == undefined) || (label == "")) {
label = ACTION_LABEL;
}
getInstance().comp.view(label);
}
}
static function setComponentReference(comp) {
if (active) {
getInstance().comp = comp;
}
}
static function setProjectDetails(comp) {
setComponentReference(comp);
if (((_root.CID == undefined) || (_root.CID == "")) || (_root.CID == null)) {
_root.CID = undefined;
}
if (((_root.PID == undefined) || (_root.PID == "")) || (_root.PID == null)) {
_root.PID = "not_defined";
}
if (active) {
CAMPAIGN_ID = _root.CID;
PROJECT_ID = _root.PID;
}
}
static function getInstance() {
if (!instance) {
instance = new com.teamrubber.SeqTrackerAdaptor();
}
return(instance);
}
static var BASE_URL = "http://tracking.viralmanager.com/tracking/";
static var ACTION_LABEL = "play";
static var active = true;
static var projectViewed = false;
}
Symbol 1 MovieClip [__Packages.com.rubberductions.Tracker] Frame 0
class com.rubberductions.Tracker extends MovieClip
{
var lvID, lvs, sessionID, referrer, flashMinorVersion, flashMajorVersion, debug, CID, baseURL, userID, projectID, getIDFunc, userLV, getURL;
function Tracker () {
super();
initVars();
}
function initVars() {
lvID = 0;
lvs = [];
sessionID = "-1";
referrer = ((_root.referrer == undefined) ? "" : (_root.referrer));
var _local3 = com.rubberductions.Utils.getFlashVersion();
flashMinorVersion = (_local3.result ? (_local3.minor) : -1);
flashMajorVersion = (_local3.result ? (_local3.major) : -1);
}
function getNextLvID() {
return(++lvID);
}
function getALoadVars(label) {
var _local2 = new LoadVars();
_local2.__arrID = getNextLvID();
_local2.__label = label;
_local2.__cb = this;
_local2.onLoad = function (success) {
if (success) {
this.__cb.checkRequest(this);
} else {
this.__cb.badRequest(this);
}
};
lvs[_local2.__arrID] = _local2;
return(_local2);
}
function badRequest(lv) {
output(("request " + lv.__label) + " failed");
delete lvs[lv.__arrID];
}
function checkRequest(lv) {
if (lv.ok == "1") {
output(("request " + lv.__label) + " returned ok");
} else {
output(("request " + lv.__label) + " failed on the server");
}
if (lv.sessionID != undefined) {
sessionID = lv.sessionID;
}
delete lvs[lv.__arrID];
}
function output(str) {
if (debug) {
trace("TRACKER: " + str);
}
}
function checkReady() {
if ((((CID != undefined) && (baseURL != undefined)) && (userID != undefined)) && (projectID != undefined)) {
return(true);
}
output("prerequisits haven't been defined, check you have made calls to setBaseURL() ,setCampaignID(), setProjectID() and initialise() and that they returned correctly");
return(false);
}
function initialise(cbFunction) {
if (typeof(cbFunction) == "function") {
getIDFunc = cbFunction;
var _local2 = com.rubberductions.Utils.readLSO(projectID, "id");
if (_local2 != "") {
userID = _local2;
output("cookie found... letting you know");
getIDFunc(true);
} else {
output("cookie not found...");
requestUserID();
}
} else {
output("check the passed function");
}
}
function requestUserID() {
if (CID != undefined) {
output(("asking the server for a new user id from: " + baseURL) + GETID);
userLV = new LoadVars();
userLV.CID = CID;
userLV.onLoad = mx.utils.Delegate.create(this, userIDRequestResponse);
userLV.sendAndLoad(baseURL + GETID, userLV, "POST");
} else {
output("define the campaign id first before calling requestUserID");
}
}
function userIDRequestResponse(success) {
if (success) {
if (userLV.id != undefined) {
output("server provided a user id: " + userLV.id);
userID = userLV.id;
com.rubberductions.Utils.writeLSO(projectID, "id", userID);
output("wrote the coookie");
getIDFunc(true);
} else {
output("server didn't provide a user id");
getIDFunc(false);
}
} else {
output("request for the user id failed");
getIDFunc(false);
}
delete userLV;
}
function setBaseURL(u) {
if (typeof(u) == "string") {
baseURL = u;
return(true);
}
output("check the URL you passed to setBaseURL()");
return(false);
}
function setProjectID(id) {
if (typeof(id) == "string") {
projectID = id;
output("project id set: " + projectID);
return(true);
}
output("project id was not a string");
return(false);
}
function setCampaignID(id) {
if (typeof(id) == "string") {
CID = id;
output("campaign id set: " + CID);
return(true);
}
output("campaign id was not a number");
return(false);
}
function load() {
if (checkReady()) {
var _local2 = getALoadVars("load");
_local2.CID = CID;
_local2.flversionmajor = flashMajorVersion;
_local2.flversionminor = flashMinorVersion;
_local2.referrer = referrer;
_local2.UID = userID;
_local2.sendAndLoad(baseURL + LOAD, _local2, "POST");
return(true);
}
return(false);
}
function startSession() {
sessionID = "0";
if (checkReady()) {
var _local2 = getALoadVars("start session");
_local2.CID = CID;
_local2.UID = userID;
_local2.currentTime = new Date().getTime();
_local2.sendAndLoad(baseURL + START_SESSION, _local2, "POST");
return(true);
}
return(false);
}
function endSession() {
if (checkReady()) {
var _local2 = getALoadVars("end session");
_local2.CID = CID;
_local2.UID = userID;
_local2.currentTime = new Date().getTime();
_local2.sessionID = sessionID;
_local2.sendAndLoad(baseURL + END_SESSION, _local2, "POST");
return(true);
}
return(false);
}
function exit(link, exitLabel, window) {
if (typeof(link) == "string") {
if (typeof(exitLabel) == "string") {
if (typeof(window) == "string") {
if (checkReady()) {
var _local2 = getALoadVars("exit");
_local2.UID = userID;
_local2.CID = CID;
_local2.label = exitLabel;
_local2.link = link;
_local2.sendAndLoad(baseURL + EXIT, _local2, "POST");
}
(getURL(link, window));// not popped
return(true);
}
output("check the window you passed");
} else {
output("check the exitLabel you passed");
}
} else {
output("check the link you passed");
}
return(false);
}
function conversion(label, type) {
if (typeof(label) == "string") {
if (typeof(type) == "string") {
if (checkReady()) {
var _local2 = getALoadVars("conversion");
_local2.UID = userID;
_local2.CID = CID;
_local2.label = label;
_local2.type = type;
_local2.sendAndLoad(baseURL + CONVERSION, _local2, "POST");
return(true);
}
return(false);
}
output("check the type you passed");
} else {
output("check the label you passed");
}
return(false);
}
function exitPass(toSplit) {
if (checkReady()) {
if (typeof(toSplit) == "string") {
var _local2 = toSplit.split("|");
exit(unescape(_local2[1]), _local2[0]);
return(true);
}
return(false);
}
}
function view(label) {
if (typeof(label) == "string") {
if (checkReady()) {
var _local2 = getALoadVars("view");
_local2.UID = userID;
_local2.CID = CID;
_local2.label = label;
_local2.sendAndLoad(baseURL + VIEW, _local2, "POST");
return(true);
}
} else {
output("check the label you passed");
return(false);
}
}
function custom(path, obj, id) {
if (typeof(path) == "string") {
if (typeof(obj) == "object") {
if (typeof(id) == "string") {
if (checkReady()) {
var _local3 = getALoadVars(id);
_local3.UID = userID;
_local3.CID = CID;
for (var _local4 in obj) {
_local3[_local4] = obj[_local4];
}
_local3.sendAndLoad(baseURL + path, _local3, "POST");
return(true);
}
return(false);
}
// unexpected jump
}
output("check the supplied data obj - doesn't seem to be a Object");
return(false);
}
output("check the supplied path - doesn't seem to be a string");
return(false);
}
function setVerbose(val) {
if (typeof(val) == "boolean") {
debug = val;
output("setVerbose: " + val);
return(true);
}
trace("TRACKER: setVerbose: param is not a boolean");
return(false);
}
static var GETID = "getUID";
static var LOAD = "load";
static var START_SESSION = "startSession";
static var END_SESSION = "endSession";
static var EXIT = "exit";
static var VIEW = "view";
static var CONVERSION = "conversion";
}
Symbol 5 MovieClip [__Packages.com.rubberductions.Utils] Frame 0
class com.rubberductions.Utils
{
function Utils () {
}
static function readLSO(lsoName, prop) {
if (lsoName != undefined) {
var _local1 = SharedObject.getLocal(lsoName);
if (_local1.data[prop] == undefined) {
return("");
}
return(_local1.data[prop]);
}
}
static function writeLSO(lsoName, prop, stuff) {
var _local1 = SharedObject.getLocal(lsoName);
_local1.data[prop] = stuff;
_local1.data.flush();
}
static function getFlashVersion() {
var _local1 = System.capabilities.version;
var _local2 = _local1.indexOf(" ");
if (_local2 != -1) {
_local1 = _local1.substr(_local2 + 1, _local1.length);
_local1 = _local1.split(",");
var _local5 = _local1[0];
var _local4 = _local1[1];
return({major:_local5, minor:_local4, result:true});
}
return({major:-1, minor:-1, result:false});
}
}
Symbol 6 MovieClip [__Packages.mx.utils.Delegate] Frame 0
class mx.utils.Delegate extends Object
{
var func;
function Delegate (f) {
super();
func = f;
}
static function create(obj, func) {
var _local2 = function () {
var _local2 = arguments.callee.target;
var _local3 = arguments.callee.func;
return(_local3.apply(_local2, arguments));
};
_local2.target = obj;
_local2.func = func;
return(_local2);
}
function createDelegate(obj) {
return(create(obj, func));
}
}
Symbol 17 MovieClip [sparks] Frame 4
stop();
Symbol 32 MovieClip Frame 1
this.createEmptyMovieClip("pow1_mc", this.getNextHighestDepth());
this.createEmptyMovieClip("pow2_mc", this.getNextHighestDepth());
this.createEmptyMovieClip("gunfire_mc", this.getNextHighestDepth());
gunfire_byte = new Sound(gunfire_mc);
gunfire_byte.attachSound("loading_machinegun");
this.createEmptyMovieClip("gunfire2_mc", this.getNextHighestDepth());
gunfirestop_byte = new Sound(gunfire2_mc);
gunfirestop_byte.attachSound("loading_machinegun_lastshot");
this.createEmptyMovieClip("ricochet1_mc", this.getNextHighestDepth());
ricochet1_byte = new Sound(ricochet1_mc);
ricochet1_byte.attachSound("ricochet1");
this.createEmptyMovieClip("ricochet2_mc", this.getNextHighestDepth());
ricochet2_byte = new Sound(ricochet2_mc);
ricochet2_byte.attachSound("ricochet2");
this.createEmptyMovieClip("ricochet3_mc", this.getNextHighestDepth());
ricochet3_byte = new Sound(ricochet3_mc);
ricochet3_byte.attachSound("ricochet3");
xpos = 0;
ypos = 0;
infoflag = 0;
Mouse.hide();
reticle.swapDepths(100000);
pow2_mc.onEnterFrame = function () {
if (infoflag == 0) {
infotext._x = _xmouse;
infotext._y = _ymouse - 30;
} else {
infotext._x = 500;
infotext._y = -1000;
}
reticle._x = _xmouse;
reticle._y = _ymouse;
};
this.onMouseDown = function () {
infoflag = 1;
powdepth = -1000;
powdelay = 4;
soundflag = 0;
pow1_mc.onEnterFrame = function () {
powdelay++;
if (powdelay > 2) {
powdepth++;
xpos = _xmouse;
ypos = _ymouse;
if (soundflag == 0) {
soundflag = 1;
gunfire_byte.start(0, 2000);
}
if ((((xpos > 28) and (xpos < 311)) and (ypos > -8)) and (ypos < 65)) {
twang = random(3) + 1;
eval (("ricochet" + twang) + "_byte").start(0, 0);
this.attachMovie("sparks", "sparks" + powdepth, this.getNextHighestDepth(), {_x:xpos, _y:ypos, _rotation:random(360)});
powdelay = 0;
} else {
this.attachMovie("bullethole", "bullet" + powdepth, this.getNextHighestDepth(), {_x:xpos, _y:ypos, _rotation:random(360)});
powdelay = 0;
}
}
};
};
this.onMouseUp = function () {
soundflag = 0;
gunfire_byte.stop();
gunfirestop_byte.start(0, 0);
pow1_mc.onEnterFrame = undefined;
};
stop();
Symbol 32 MovieClip Frame 100
Mouse.show();
pow2_mc.onEnterFrame = undefined;
reticle._y = -1000;
infotext._y = -1000;
pow1_mc.onEnterFrame = undefined;
gunfire_byte.stop();
Symbol 32 MovieClip Frame 102
Mouse.show();
pow2_mc.onEnterFrame = undefined;
reticle._y = -1000;
infotext._y = -1000;
pow1_mc.onEnterFrame = undefined;
gunfire_byte.stop();
Symbol 32 MovieClip Frame 103
stop();
Symbol 82 MovieClip Frame 1
function in_theaters() {
today_date = new Date();
current_month = today_date.getMonth();
current_day = today_date.getDate();
current_year = today_date.getFullYear();
if ((current_month >= 7) && (current_day >= 13)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
if (current_year >= 2009) {
this.gotoAndStop(2);
}
}
in_theaters();
stop();
Symbol 84 MovieClip Frame 54
gotoAndPlay (1);
Symbol 112 MovieClip Frame 3
stop();
Symbol 112 MovieClip Frame 63
stop();
Symbol 119 MovieClip Frame 1
stop();
Symbol 125 MovieClip Frame 3
stop();
Symbol 125 MovieClip Frame 193
gotoAndPlay ("show");
Symbol 136 MovieClip Frame 1
stop();
Symbol 137 MovieClip Frame 2
cleanup();
stop();
Symbol 137 MovieClip Frame 4
intro_text1._alpha = 100;
finalgun._alpha = 0;
finalgun.alphaTo(100, 0.3, "linear", 0.6, function () {
});
finalgun._x = 86;
finalgun._y = 118;
finalgun.glowTo(16750080, 0, 10, 1, 2, false, false, 0.1);
cleanup();
_parent.warstop();
_parent.timer_mc.reset_timer();
_parent.sarge1_byte.setVolume(_parent.sfxvol);
_parent.sarge1_byte.start(0, 0);
gunoutline_mc.gotoAndPlay(1);
Symbol 137 MovieClip Frame 22
intro_text1.alphaTo(0, 1, "linear", 3, function () {
play();
});
finalgun.alphaTo(0, 0.5, "linear", 2.9, function () {
});
stop();
Symbol 137 MovieClip Frame 23
intro_text2._alpha = 100;
intro_text2.x = 59;
intro_text2.y = 186;
intro_text2.gotoAndStop(1);
_parent.sarge_startwith_byte.setVolume(_parent.sfxvol);
_parent.sarge_startwith_byte.start(0, 0);
Symbol 137 MovieClip Frame 42
function randomstartpiece() {
piece = random(11) + 1;
if (piece == 7) {
piece = 2;
}
eval ("gun" + piece).gotoAndPlay("anchored");
eval ("gun" + piece).swapDepths(pawn);
gunoutline_mc.gotoAndPlay("show");
pawn.alphaTo(0, 3, "linear", 0, function () {
countstart();
});
}
function throwoutpieces() {
i = 0;
while (i < 11) {
g = i + 1;
tempMC = eval ("gun" + g);
if (tempMC.anchorflag == false) {
tempMC._x = random(700) + 100;
tempMC._y = random(220) + 100;
tempMC.gotoAndPlay("bounce");
}
i++;
}
pawn.alphaTo(0, 2, "linear", 0, function () {
});
}
function scatterpieces() {
b = 0;
while (b < 11) {
n = b + 1;
tempMC2 = eval ("gun" + n);
if ((tempMC2.anchorflag == false) and (tempMC2.dragflag == 0)) {
tempMC2.gotoAndPlay("bounce");
}
b++;
}
}
function countstart() {
_parent.countdown.gotoAndStop(1);
_parent.countdown._alpha = 0;
_parent.countdown._x = 22;
_parent.countdown._y = 240;
_parent.countdown.alphaTo(100, 0.2, "linear", 0, function () {
});
_parent.countdown.alphaTo(0, 0.2, "linear", 0.7, function () {
countstart2();
});
_parent.sarge2_byte.setVolume(_parent.sfxvol);
_parent.sarge2_byte.start(0, 0);
}
function countstart2() {
_parent.countdown.gotoAndStop(2);
_parent.countdown.alphaTo(100, 0.2, "linear", 0, function () {
});
_parent.countdown.alphaTo(0, 0.2, "linear", 0.7, function () {
countstart3();
});
_parent.sarge3_byte.setVolume(_parent.sfxvol);
_parent.sarge3_byte.start(0, 0);
}
function countstart3() {
_parent.countdown.gotoAndStop(3);
_parent.countdown.alphaTo(100, 0.2, "linear", 0, function () {
});
_parent.countdown.alphaTo(0, 0.2, "linear", 0.7, function () {
countstart4();
throwoutpieces();
});
_parent.sarge4_byte.setVolume(_parent.sfxvol);
_parent.sarge4_byte.start(0, 0);
}
function countstart4() {
_parent.countdown.gotoAndStop(4);
_parent.countdown.alphaTo(100, 0.2, "linear", 0, function () {
_parent.timer_mc.start_timer();
});
_parent.countdown.alphaTo(0, 0.2, "linear", 0.7, function () {
_parent.countdown._y = -160;
});
_parent.sarge5_byte.setVolume(_parent.sfxvol);
_parent.sarge5_byte.start(0, 0);
}
function restartgame() {
cleanup();
gotoAndPlay ("start");
}
function cleanup() {
gun1.removeMovieClip();
gun2.removeMovieClip();
gun3.removeMovieClip();
gun4.removeMovieClip();
gun5.removeMovieClip();
gun6.removeMovieClip();
gun7.removeMovieClip();
gun8.removeMovieClip();
gun9.removeMovieClip();
gun10.removeMovieClip();
gun11.removeMovieClip();
gun1_pawn.removeMovieClip();
gun2_pawn.removeMovieClip();
gun3_pawn.removeMovieClip();
gun4_pawn.removeMovieClip();
gun5_pawn.removeMovieClip();
gun6_pawn.removeMovieClip();
gun7_pawn.removeMovieClip();
gun8_pawn.removeMovieClip();
gun9_pawn.removeMovieClip();
gun10_pawn.removeMovieClip();
gun11_pawn.removeMovieClip();
pawn.removeMovieClip();
}
function completed_gun() {
_parent.guncock_byte.setVolume(_parent.sfxvol);
_parent.guncock_byte.start(0, 0);
guncount++;
if (guncount == 11) {
gun1.removeMovieClip();
gun2.removeMovieClip();
gun3.removeMovieClip();
gun4.removeMovieClip();
gun5.removeMovieClip();
gun6.removeMovieClip();
gun7.removeMovieClip();
gun8.removeMovieClip();
gun9.removeMovieClip();
gun10.removeMovieClip();
gun11.removeMovieClip();
gun1_pawn.removeMovieClip();
gun2_pawn.removeMovieClip();
gun3_pawn.removeMovieClip();
gun4_pawn.removeMovieClip();
gun5_pawn.removeMovieClip();
gun6_pawn.removeMovieClip();
gun7_pawn.removeMovieClip();
gun8_pawn.removeMovieClip();
gun9_pawn.removeMovieClip();
gun10_pawn.removeMovieClip();
gun11_pawn.removeMovieClip();
finalgun._alpha = 100;
finalgun._x = 86;
finalgun._y = 88;
finalgun.glowTo(16750080, 1, 10, 1, 2, false, false, 1);
_parent.timer_mc.stop_timer();
pawn.alphaTo(0, 1.5, "linear", 0, function () {
_parent.finished();
});
}
}
intro_text2.alphaTo(0, 1, "linear", 1.6, function () {
this._y = -500;
});
tolerance = 15;
this.createEmptyMovieClip("pawn", this.getNextHighestDepth());
this.createEmptyMovieClip("gun1_pawn", this.getNextHighestDepth());
this.createEmptyMovieClip("gun2_pawn", this.getNextHighestDepth());
this.createEmptyMovieClip("gun3_pawn", this.getNextHighestDepth());
this.createEmptyMovieClip("gun4_pawn", this.getNextHighestDepth());
this.createEmptyMovieClip("gun5_pawn", this.getNextHighestDepth());
this.createEmptyMovieClip("gun6_pawn", this.getNextHighestDepth());
this.createEmptyMovieClip("gun7_pawn", this.getNextHighestDepth());
this.createEmptyMovieClip("gun8_pawn", this.getNextHighestDepth());
this.createEmptyMovieClip("gun9_pawn", this.getNextHighestDepth());
this.createEmptyMovieClip("gun10_pawn", this.getNextHighestDepth());
this.createEmptyMovieClip("gun11_pawn", this.getNextHighestDepth());
pawn.alphaTo(0, 1.2, "linear", 0, function () {
randomstartpiece();
});
this.attachMovie("gun1", "gun1", this.getNextHighestDepth(), {_x:100, _y:-150});
this.attachMovie("gun2", "gun2", this.getNextHighestDepth(), {_x:100, _y:-150});
this.attachMovie("gun3", "gun3", this.getNextHighestDepth(), {_x:100, _y:-150});
this.attachMovie("gun4", "gun4", this.getNextHighestDepth(), {_x:100, _y:-150});
this.attachMovie("gun5", "gun5", this.getNextHighestDepth(), {_x:100, _y:-150});
this.attachMovie("gun6", "gun6", this.getNextHighestDepth(), {_x:100, _y:-150});
this.attachMovie("gun7", "gun7", this.getNextHighestDepth(), {_x:100, _y:-150});
this.attachMovie("gun8", "gun8", this.getNextHighestDepth(), {_x:100, _y:-150});
this.attachMovie("gun9", "gun9", this.getNextHighestDepth(), {_x:100, _y:-150});
this.attachMovie("gun10", "gun10", this.getNextHighestDepth(), {_x:100, _y:-150});
this.attachMovie("gun11", "gun11", this.getNextHighestDepth(), {_x:100, _y:-150});
gun1.hitArea = gun1.hit;
gun2.hitArea = gun2.hit;
gun3.hitArea = gun3.hit;
gun4.hitArea = gun4.hit;
gun5.hitArea = gun5.hit;
gun6.hitArea = gun6.hit;
gun7.hitArea = gun7.hit;
gun8.hitArea = gun8.hit;
gun9.hitArea = gun9.hit;
gun10.hitArea = gun10.hit;
gun11.hitArea = gun11.hit;
gun1.dragflag = 0;
gun2.dragflag = 0;
gun3.dragflag = 0;
gun4.dragflag = 0;
gun5.dragflag = 0;
gun6.dragflag = 0;
gun7.dragflag = 0;
gun8.dragflag = 0;
gun9.dragflag = 0;
gun10.dragflag = 0;
gun11.dragflag = 0;
gun1.onRollOver = (gun2.onRollOver = (gun3.onRollOver = (gun4.onRollOver = (gun5.onRollOver = (gun6.onRollOver = (gun7.onRollOver = (gun8.onRollOver = (gun9.onRollOver = (gun10.onRollOver = (gun11.onRollOver = function () {
if (this.anchorflag == false) {
this.useHandCursor = true;
} else {
this.useHandCursor = false;
}
}))))))))));
gun1.onPress = function () {
if (this.anchorflag == false) {
this.dragflag = 1;
startDrag (this, true, 96, 72, 800, 375);
this.swapDepths(_parent.getNextHighestDepth());
this.stopTween();
this.rotateTo(0, 0.4, "linear", 0, function () {
});
this.useHandCursor = true;
} else {
this.useHandCursor = false;
}
};
gun1.onRelease = (gun1.onReleaseOutside = function () {
if (this.anchorflag == false) {
this.dragflag = 0;
this.stopDrag();
if ((gun2.anchorflag == true) or (gun11.anchorflag == true)) {
if ((((this._x > (177 - tolerance)) and (this._x < (177 + tolerance))) and (this._y > (174 - tolerance))) and (this._y < (174 + tolerance))) {
this.swapDepths(gun1_pawn);
this.gotoAndPlay("anchored");
completed_gun();
}
}
}
});
gun2.onPress = function () {
if (this.anchorflag == false) {
this.dragflag = 1;
startDrag (this, true, 96, 72, 800, 375);
this.swapDepths(_parent.getNextHighestDepth());
this.stopTween();
this.rotateTo(0, 0.4, "linear", 0, function () {
});
this.useHandCursor = true;
} else {
this.useHandCursor = false;
}
};
gun2.onRelease = (gun2.onReleaseOutside = function () {
if (this.anchorflag == false) {
this.dragflag = 0;
this.stopDrag();
if ((((((gun1.anchorflag == true) or (gun8.anchorflag == true)) or (gun5.anchorflag == true)) or (gun4.anchorflag == true)) or (gun7.anchorflag == true)) or (gun3.anchorflag == true)) {
if ((((this._x > (335 - tolerance)) and (this._x < (335 + tolerance))) and (this._y > (161 - tolerance))) and (this._y < (161 + tolerance))) {
this.swapDepths(gun2_pawn);
this.gotoAndPlay("anchored");
completed_gun();
}
}
}
});
gun3.onPress = function () {
if (this.anchorflag == false) {
this.dragflag = 1;
startDrag (this, true, 96, 72, 800, 375);
this.swapDepths(_parent.getNextHighestDepth());
this.stopTween();
this.rotateTo(0, 0.4, "linear", 0, function () {
});
this.useHandCursor = true;
} else {
this.useHandCursor = false;
}
};
gun3.onRelease = (gun3.onReleaseOutside = function () {
if (this.anchorflag == false) {
this.dragflag = 0;
this.stopDrag();
if ((gun4.anchorflag == true) or (gun2.anchorflag == true)) {
if ((((this._x > (285 - tolerance)) and (this._x < (285 + tolerance))) and (this._y > (222 - tolerance))) and (this._y < (222 + tolerance))) {
this.swapDepths(gun3_pawn);
this.gotoAndPlay("anchored");
completed_gun();
}
}
}
});
gun4.onPress = function () {
if (this.anchorflag == false) {
this.dragflag = 1;
startDrag (this, true, 96, 72, 800, 375);
this.swapDepths(_parent.getNextHighestDepth());
this.stopTween();
this.rotateTo(0, 0.4, "linear", 0, function () {
});
this.useHandCursor = true;
} else {
this.useHandCursor = false;
}
};
gun4.onRelease = (gun4.onReleaseOutside = function () {
if (this.anchorflag == false) {
this.dragflag = 0;
this.stopDrag();
if (((gun2.anchorflag == true) or (gun3.anchorflag == true)) or (gun5.anchorflag == true)) {
if ((((this._x > (335 - tolerance)) and (this._x < (335 + tolerance))) and (this._y > (199 - tolerance))) and (this._y < (199 + tolerance))) {
this.swapDepths(gun4_pawn);
this.gotoAndPlay("anchored");
completed_gun();
}
}
}
});
gun5.onPress = function () {
if (this.anchorflag == false) {
this.dragflag = 1;
startDrag (this, true, 96, 72, 800, 375);
this.swapDepths(_parent.getNextHighestDepth());
this.stopTween();
this.rotateTo(0, 0.4, "linear", 0, function () {
});
this.useHandCursor = true;
} else {
this.useHandCursor = false;
}
};
gun5.onRelease = (gun5.onReleaseOutside = function () {
if (this.anchorflag == false) {
this.dragflag = 0;
this.stopDrag();
if ((((gun8.anchorflag == true) or (gun2.anchorflag == true)) or (gun4.anchorflag == true)) or (gun6.anchorflag == true)) {
if ((((this._x > (378 - tolerance)) and (this._x < (378 + tolerance))) and (this._y > (176 - tolerance))) and (this._y < (176 + tolerance))) {
this.swapDepths(gun5_pawn);
this.gotoAndPlay("anchored");
completed_gun();
}
}
}
});
gun6.onPress = function () {
if (this.anchorflag == false) {
this.dragflag = 1;
startDrag (this, true, 96, 72, 800, 375);
this.swapDepths(_parent.getNextHighestDepth());
this.stopTween();
this.rotateTo(0, 0.4, "linear", 0, function () {
});
this.useHandCursor = true;
} else {
this.useHandCursor = false;
}
};
gun6.onRelease = (gun6.onReleaseOutside = function () {
if (this.anchorflag == false) {
this.dragflag = 0;
this.stopDrag();
if (gun5.anchorflag == true) {
if ((((this._x > (384 - tolerance)) and (this._x < (384 + tolerance))) and (this._y > (245 - tolerance))) and (this._y < (245 + tolerance))) {
this.swapDepths(gun6_pawn);
this.gotoAndPlay("anchored");
completed_gun();
}
}
}
});
gun7.onPress = function () {
if (this.anchorflag == false) {
this.dragflag = 1;
startDrag (this, true, 96, 72, 800, 375);
this.swapDepths(_parent.getNextHighestDepth());
this.stopTween();
this.rotateTo(0, 0.4, "linear", 0, function () {
});
this.useHandCursor = true;
} else {
this.useHandCursor = false;
}
};
gun7.onRelease = (gun7.onReleaseOutside = function () {
if (this.anchorflag == false) {
this.dragflag = 0;
this.stopDrag();
if ((gun2.anchorflag == true) or (gun8.anchorflag == true)) {
if ((((this._x > (345 - tolerance)) and (this._x < (345 + tolerance))) and (this._y > (121 - tolerance))) and (this._y < (121 + tolerance))) {
this.swapDepths(gun7_pawn);
this.gotoAndPlay("anchored");
completed_gun();
}
}
}
});
gun8.onPress = function () {
if (this.anchorflag == false) {
this.dragflag = 1;
startDrag (this, true, 96, 72, 800, 375);
this.swapDepths(_parent.getNextHighestDepth());
this.stopTween();
this.rotateTo(0, 0.4, "linear", 0, function () {
});
this.useHandCursor = true;
} else {
this.useHandCursor = false;
}
};
gun8.onRelease = (gun8.onReleaseOutside = function () {
if (this.anchorflag == false) {
this.dragflag = 0;
this.stopDrag();
if ((((gun9.anchorflag == true) or (gun10.anchorflag == true)) or (gun2.anchorflag == true)) or (gun5.anchorflag == true)) {
if ((((this._x > (535 - tolerance)) and (this._x < (535 + tolerance))) and (this._y > (150 - tolerance))) and (this._y < (150 + tolerance))) {
this.swapDepths(gun8_pawn);
this.gotoAndPlay("anchored");
completed_gun();
}
}
}
});
gun9.onPress = function () {
if (this.anchorflag == false) {
this.dragflag = 1;
startDrag (this, true, 96, 72, 800, 375);
this.swapDepths(_parent.getNextHighestDepth());
this.stopTween();
this.rotateTo(0, 0.4, "linear", 0, function () {
});
this.useHandCursor = true;
} else {
this.useHandCursor = false;
}
};
gun9.onRelease = (gun9.onReleaseOutside = function () {
if (this.anchorflag == false) {
this.dragflag = 0;
this.stopDrag();
if (((gun10.anchorflag == true) or (gun8.anchorflag == true)) or (gun11.anchorflag == true)) {
if ((((this._x > (677 - tolerance)) and (this._x < (677 + tolerance))) and (this._y > (135 - tolerance))) and (this._y < (135 + tolerance))) {
this.swapDepths(gun9_pawn);
this.gotoAndPlay("anchored");
completed_gun();
}
}
}
});
gun10.onPress = function () {
if (this.anchorflag == false) {
this.dragflag = 1;
startDrag (this, true, 96, 72, 800, 375);
this.swapDepths(_parent.getNextHighestDepth());
this.stopTween();
this.rotateTo(0, 0.4, "linear", 0, function () {
});
this.useHandCursor = true;
} else {
this.useHandCursor = false;
}
};
gun10.onRelease = (gun10.onReleaseOutside = function () {
if (this.anchorflag == false) {
this.dragflag = 0;
this.stopDrag();
if ((gun9.anchorflag == true) or (gun8.anchorflag == true)) {
if ((((this._x > (738 - tolerance)) and (this._x < (738 + tolerance))) and (this._y > (148 - tolerance))) and (this._y < (148 + tolerance))) {
this.swapDepths(gun10_pawn);
this.gotoAndPlay("anchored");
completed_gun();
}
}
}
});
gun11.onPress = function () {
if (this.anchorflag == false) {
this.dragflag = 1;
startDrag (this, false, 96, 72, 800, 375);
this.swapDepths(_parent.getNextHighestDepth());
this.stopTween();
this.rotateTo(0, 0.4, "linear", 0, function () {
});
this.useHandCursor = true;
} else {
this.useHandCursor = false;
}
};
gun11.onRelease = (gun11.onReleaseOutside = function () {
if (this.anchorflag == false) {
this.dragflag = 0;
this.stopDrag();
if ((gun9.anchorflag == true) or (gun1.anchorflag == true)) {
if ((((this._x > (380 - tolerance)) and (this._x < (380 + tolerance))) and (this._y > (297 - tolerance))) and (this._y < (297 + tolerance))) {
this.swapDepths(gun11_pawn);
this.gotoAndPlay("anchored");
completed_gun();
}
}
}
});
guncount = 1;
stop();
Symbol 142 MovieClip Frame 2
stop();
Symbol 142 MovieClip Frame 12
gotoAndPlay ("red");
Symbol 145 MovieClip Frame 2
stop();
Symbol 145 MovieClip Frame 32
gotoAndPlay ("move");
Symbol 155 MovieClip Frame 1
function reset_timer() {
_parent.beepslow_byte.stop();
_parent.beepfast_byte.stop();
seconds_text.text = 60;
hundreths_text.text = "00";
countdown.onEnterFrame = undefined;
boxes.gotoAndPlay(1);
redface.gotoAndPlay(1);
}
function start_timer() {
boxes.gotoAndPlay("move");
redfaceflag = 0;
attackflag = 0;
begintime = getTimer();
_parent.beepslow_byte.setVolume(_parent.sfxvol);
_parent.beepslow_byte.start(0, 2000);
countdown.onEnterFrame = function () {
realtime = 60 - ((getTimer() - begintime) / 1000);
temp1 = Math.floor(60 - ((getTimer() - begintime) / 1000));
temp2 = int(((60 - ((getTimer() - begintime) / 1000)) - temp1) * 100);
if (realtime < 0) {
stop_timer();
seconds_text.text = "00";
hundreths_text.text = "00";
redface.gotoAndPlay(1);
_parent.finished();
} else {
if (temp1 < 10) {
seconds_text.text = "0" + temp1;
} else {
seconds_text.text = temp1;
}
if (temp2 < 10) {
hundreths_text.text = "0" + temp2;
} else {
hundreths_text.text = temp2;
}
}
if (realtime < 10) {
if (redfaceflag == 0) {
_parent.beepslow_byte.stop();
_parent.beepfast_byte.setVolume(_parent.sfxvol);
_parent.beepfast_byte.start(0, 2000);
redfaceflag = 1;
redface.gotoAndPlay("red");
}
}
if (realtime < 56) {
if (attackflag == 0) {
attackflag = 1;
_parent.warstart();
}
}
};
}
function stop_timer() {
_parent.beepslow_byte.stop();
_parent.beepfast_byte.stop();
countdown.onEnterFrame = undefined;
boxes.gotoAndPlay(1);
redface.gotoAndPlay(1);
}
this.createEmptyMovieClip("clockanddate", this.getNextHighestDepth());
this.createEmptyMovieClip("countdown", this.getNextHighestDepth());
reset_timer();
clockanddate.onEnterFrame = function () {
now = new Date();
hour = now.getHours();
minute = now.getMinutes();
second = now.getSeconds();
dayofweek = now.getDay();
if (minute < 10) {
minutenew = "0" + minute;
} else {
minutenew = minute;
}
if (second < 10) {
secondnew = "0" + second;
} else {
secondnew = second;
}
if (hour > 12) {
hour = hour - 12;
ampm = "PM";
} else {
ampm = "AM";
}
if (hour < 10) {
hournew = "0" + hour;
} else {
hournew = hour;
}
current_time_hour.text = hournew;
current_time_min.text = minutenew;
hourAngle = (360 * hour) / 12;
minuteAngle = (360 * minute) / 60;
secondAngle = (360 * second) / 60;
_root["hour hand"]._rotation = hourAngle;
_root["minute hand"]._rotation = minuteAngle;
_root["second hand"]._rotation = secondAngle;
if (dayofweek == 0) {
dayofweek1.text = "Sunday";
}
if (dayofweek == 1) {
dayofweek1.text = "Monday";
}
if (dayofweek == 2) {
dayofweek1.text = "Tuesday";
}
if (dayofweek == 3) {
dayofweek1.text = "Wednesday";
}
if (dayofweek == 4) {
dayofweek1.text = "Thursday";
}
if (dayofweek == 5) {
dayofweek1.text = "Friday";
}
if (dayofweek == 6) {
dayofweek1.text = "Saturday";
}
};
Symbol 162 MovieClip Frame 1
stop();
Symbol 170 MovieClip Frame 3
stop();
Symbol 170 MovieClip Frame 6
stop();
Symbol 170 MovieClip Frame 41
stop();
Symbol 175 MovieClip Frame 1
stop();
Symbol 180 MovieClip [gun1] Frame 3
if ((this._y > 250) and (this._x > 640)) {
gotoAndPlay ("bounce");
} else {
anchorflag = false;
stop();
}
Symbol 180 MovieClip [gun1] Frame 9
xdir = random(80) - 40;
ydir = random(80) - 40;
rotationspeed = random(50) - 25;
anchorflag = true;
this.onEnterFrame = function () {
thisr = this._rotation;
thisx = this._x;
thisy = this._y;
thisx = thisx + xdir;
thisy = thisy + ydir;
thisr = thisr + rotationspeed;
if (thisy > 372) {
thisy = 372;
ydir = ydir * -1;
}
if (thisy < 72) {
thisy = 72;
ydir = ydir * -1;
}
if (thisx > 800) {
thisx = 800;
xdir = xdir * -1;
}
if (thisx < 96) {
thisx = 96;
xdir = xdir * -1;
}
xdir = xdir * 0.9;
ydir = ydir * 0.9;
rotationspeed = rotationspeed * 0.9;
this._rotation = thisr;
this._x = thisx;
this._y = thisy;
if ((xdir > -1) and (xdir < 1)) {
this.onEnterFrame = undefined;
gotoAndPlay ("hold");
}
};
stop();
Symbol 180 MovieClip [gun1] Frame 17
this.colorTo(16763904, 0.2, "linear", 0, function () {
});
this.colorTo(null, 0.2, "linear", 0.2, function () {
});
this._x = 177;
this._y = 174;
anchorflag = true;
stop();
Symbol 185 MovieClip [gun10] Frame 3
if ((this._y > 250) and (this._x > 640)) {
gotoAndPlay ("bounce");
} else {
anchorflag = false;
stop();
}
Symbol 185 MovieClip [gun10] Frame 9
xdir = random(80) - 40;
ydir = random(80) - 40;
rotationspeed = random(50) - 25;
anchorflag = true;
this.onEnterFrame = function () {
thisr = this._rotation;
thisx = this._x;
thisy = this._y;
thisx = thisx + xdir;
thisy = thisy + ydir;
thisr = thisr + rotationspeed;
if (thisy > 372) {
thisy = 372;
ydir = ydir * -1;
}
if (thisy < 72) {
thisy = 72;
ydir = ydir * -1;
}
if (thisx > 800) {
thisx = 800;
xdir = xdir * -1;
}
if (thisx < 96) {
thisx = 96;
xdir = xdir * -1;
}
xdir = xdir * 0.9;
ydir = ydir * 0.9;
rotationspeed = rotationspeed * 0.9;
this._rotation = thisr;
this._x = thisx;
this._y = thisy;
if ((xdir > -1) and (xdir < 1)) {
this.onEnterFrame = undefined;
gotoAndPlay ("hold");
}
};
stop();
Symbol 185 MovieClip [gun10] Frame 17
this.colorTo(16763904, 0.2, "linear", 0, function () {
});
this.colorTo(null, 0.2, "linear", 0.2, function () {
});
this._x = 738;
this._y = 148;
anchorflag = true;
stop();
Symbol 190 MovieClip [gun11] Frame 3
if ((this._y > 250) and (this._x > 640)) {
gotoAndPlay ("bounce");
} else {
anchorflag = false;
stop();
}
Symbol 190 MovieClip [gun11] Frame 9
xdir = random(80) - 40;
ydir = random(20) - 10;
rotationspeed = random(50) - 25;
anchorflag = true;
this.onEnterFrame = function () {
thisr = this._rotation;
thisx = this._x;
thisy = this._y;
thisx = thisx + xdir;
thisy = thisy + ydir;
thisr = thisr + rotationspeed;
if (thisy > 372) {
thisy = 372;
ydir = ydir * -1;
}
if (thisy < 72) {
thisy = 72;
ydir = ydir * -1;
}
if (thisx > 800) {
thisx = 800;
xdir = xdir * -1;
}
if (thisx < 96) {
thisx = 96;
xdir = xdir * -1;
}
xdir = xdir * 0.9;
ydir = ydir * 0.9;
rotationspeed = rotationspeed * 0.9;
this._x = thisx;
this._y = thisy;
if ((xdir > -1) and (xdir < 1)) {
this.onEnterFrame = undefined;
gotoAndPlay ("hold");
}
};
stop();
Symbol 190 MovieClip [gun11] Frame 17
this.colorTo(16763904, 0.2, "linear", 0, function () {
});
this.colorTo(null, 0.2, "linear", 0.2, function () {
});
this._x = 380;
this._y = 297;
anchorflag = true;
stop();
Symbol 195 MovieClip [gun2] Frame 3
if ((this._y > 250) and (this._x > 640)) {
gotoAndPlay ("bounce");
} else {
anchorflag = false;
stop();
}
Symbol 195 MovieClip [gun2] Frame 9
xdir = random(80) - 40;
ydir = random(80) - 40;
rotationspeed = random(50) - 25;
anchorflag = true;
this.onEnterFrame = function () {
thisr = this._rotation;
thisx = this._x;
thisy = this._y;
thisx = thisx + xdir;
thisy = thisy + ydir;
thisr = thisr + rotationspeed;
if (thisy > 372) {
thisy = 372;
ydir = ydir * -1;
}
if (thisy < 72) {
thisy = 72;
ydir = ydir * -1;
}
if (thisx > 800) {
thisx = 800;
xdir = xdir * -1;
}
if (thisx < 96) {
thisx = 96;
xdir = xdir * -1;
}
xdir = xdir * 0.9;
ydir = ydir * 0.9;
rotationspeed = rotationspeed * 0.9;
this._rotation = thisr;
this._x = thisx;
this._y = thisy;
if ((xdir > -1) and (xdir < 1)) {
this.onEnterFrame = undefined;
gotoAndPlay ("hold");
}
};
stop();
Symbol 195 MovieClip [gun2] Frame 17
this.colorTo(16763904, 0.2, "linear", 0, function () {
});
this.colorTo(null, 0.2, "linear", 0.2, function () {
});
this._x = 335;
this._y = 161;
anchorflag = true;
stop();
Symbol 200 MovieClip [gun3] Frame 3
if ((this._y > 250) and (this._x > 640)) {
gotoAndPlay ("bounce");
} else {
anchorflag = false;
stop();
}
Symbol 200 MovieClip [gun3] Frame 9
xdir = random(80) - 40;
ydir = random(80) - 40;
rotationspeed = random(50) - 25;
anchorflag = true;
this.onEnterFrame = function () {
thisr = this._rotation;
thisx = this._x;
thisy = this._y;
thisx = thisx + xdir;
thisy = thisy + ydir;
thisr = thisr + rotationspeed;
if (thisy > 372) {
thisy = 372;
ydir = ydir * -1;
}
if (thisy < 72) {
thisy = 72;
ydir = ydir * -1;
}
if (thisx > 800) {
thisx = 800;
xdir = xdir * -1;
}
if (thisx < 96) {
thisx = 96;
xdir = xdir * -1;
}
xdir = xdir * 0.9;
ydir = ydir * 0.9;
rotationspeed = rotationspeed * 0.9;
this._rotation = thisr;
this._x = thisx;
this._y = thisy;
if ((xdir > -1) and (xdir < 1)) {
this.onEnterFrame = undefined;
gotoAndPlay ("hold");
}
};
stop();
Symbol 200 MovieClip [gun3] Frame 17
this.colorTo(16763904, 0.2, "linear", 0, function () {
});
this.colorTo(null, 0.2, "linear", 0.2, function () {
});
this._x = 285;
this._y = 222;
anchorflag = true;
stop();
Symbol 205 MovieClip [gun4] Frame 3
if ((this._y > 250) and (this._x > 640)) {
gotoAndPlay ("bounce");
} else {
anchorflag = false;
stop();
}
Symbol 205 MovieClip [gun4] Frame 9
xdir = random(80) - 40;
ydir = random(80) - 40;
rotationspeed = random(50) - 25;
anchorflag = true;
this.onEnterFrame = function () {
thisr = this._rotation;
thisx = this._x;
thisy = this._y;
thisx = thisx + xdir;
thisy = thisy + ydir;
thisr = thisr + rotationspeed;
if (thisy > 372) {
thisy = 372;
ydir = ydir * -1;
}
if (thisy < 72) {
thisy = 72;
ydir = ydir * -1;
}
if (thisx > 800) {
thisx = 800;
xdir = xdir * -1;
}
if (thisx < 96) {
thisx = 96;
xdir = xdir * -1;
}
xdir = xdir * 0.9;
ydir = ydir * 0.9;
rotationspeed = rotationspeed * 0.9;
this._rotation = thisr;
this._x = thisx;
this._y = thisy;
if ((xdir > -1) and (xdir < 1)) {
this.onEnterFrame = undefined;
gotoAndPlay ("hold");
}
};
stop();
Symbol 205 MovieClip [gun4] Frame 17
this.colorTo(16763904, 0.2, "linear", 0, function () {
});
this.colorTo(null, 0.2, "linear", 0.2, function () {
});
this._x = 335;
this._y = 199;
anchorflag = true;
stop();
Symbol 210 MovieClip [gun5] Frame 3
if ((this._y > 250) and (this._x > 640)) {
gotoAndPlay ("bounce");
} else {
anchorflag = false;
stop();
}
Symbol 210 MovieClip [gun5] Frame 9
xdir = random(80) - 40;
ydir = random(80) - 40;
rotationspeed = random(50) - 25;
anchorflag = true;
this.onEnterFrame = function () {
thisr = this._rotation;
thisx = this._x;
thisy = this._y;
thisx = thisx + xdir;
thisy = thisy + ydir;
thisr = thisr + rotationspeed;
if (thisy > 372) {
thisy = 372;
ydir = ydir * -1;
}
if (thisy < 72) {
thisy = 72;
ydir = ydir * -1;
}
if (thisx > 800) {
thisx = 800;
xdir = xdir * -1;
}
if (thisx < 96) {
thisx = 96;
xdir = xdir * -1;
}
xdir = xdir * 0.9;
ydir = ydir * 0.9;
rotationspeed = rotationspeed * 0.9;
this._rotation = thisr;
this._x = thisx;
this._y = thisy;
if ((xdir > -1) and (xdir < 1)) {
this.onEnterFrame = undefined;
gotoAndPlay ("hold");
}
};
stop();
Symbol 210 MovieClip [gun5] Frame 17
this.colorTo(16763904, 0.2, "linear", 0, function () {
});
this.colorTo(null, 0.2, "linear", 0.2, function () {
});
this._x = 378;
this._y = 176;
anchorflag = true;
stop();
Symbol 215 MovieClip [gun6] Frame 3
if ((this._y > 250) and (this._x > 640)) {
gotoAndPlay ("bounce");
} else {
anchorflag = false;
stop();
}
Symbol 215 MovieClip [gun6] Frame 9
xdir = random(80) - 40;
ydir = random(80) - 40;
rotationspeed = random(50) - 25;
anchorflag = true;
this.onEnterFrame = function () {
thisr = this._rotation;
thisx = this._x;
thisy = this._y;
thisx = thisx + xdir;
thisy = thisy + ydir;
thisr = thisr + rotationspeed;
if (thisy > 372) {
thisy = 372;
ydir = ydir * -1;
}
if (thisy < 72) {
thisy = 72;
ydir = ydir * -1;
}
if (thisx > 800) {
thisx = 800;
xdir = xdir * -1;
}
if (thisx < 96) {
thisx = 96;
xdir = xdir * -1;
}
xdir = xdir * 0.9;
ydir = ydir * 0.9;
rotationspeed = rotationspeed * 0.9;
this._rotation = thisr;
this._x = thisx;
this._y = thisy;
if ((xdir > -1) and (xdir < 1)) {
this.onEnterFrame = undefined;
gotoAndPlay ("hold");
}
};
stop();
Symbol 215 MovieClip [gun6] Frame 17
this.colorTo(16763904, 0.2, "linear", 0, function () {
});
this.colorTo(null, 0.2, "linear", 0.2, function () {
});
this._x = 384;
this._y = 245;
anchorflag = true;
stop();
Symbol 220 MovieClip [gun7] Frame 3
if ((this._y > 250) and (this._x > 640)) {
gotoAndPlay ("bounce");
} else {
anchorflag = false;
stop();
}
Symbol 220 MovieClip [gun7] Frame 9
xdir = random(80) - 40;
ydir = random(80) - 40;
rotationspeed = random(50) - 25;
anchorflag = true;
this.onEnterFrame = function () {
thisr = this._rotation;
thisx = this._x;
thisy = this._y;
thisx = thisx + xdir;
thisy = thisy + ydir;
thisr = thisr + rotationspeed;
if (thisy > 372) {
thisy = 372;
ydir = ydir * -1;
}
if (thisy < 72) {
thisy = 72;
ydir = ydir * -1;
}
if (thisx > 800) {
thisx = 800;
xdir = xdir * -1;
}
if (thisx < 96) {
thisx = 96;
xdir = xdir * -1;
}
xdir = xdir * 0.9;
ydir = ydir * 0.9;
rotationspeed = rotationspeed * 0.9;
this._rotation = thisr;
this._x = thisx;
this._y = thisy;
if ((xdir > -1) and (xdir < 1)) {
this.onEnterFrame = undefined;
gotoAndPlay ("hold");
}
};
stop();
Symbol 220 MovieClip [gun7] Frame 17
this.colorTo(16763904, 0.2, "linear", 0, function () {
});
this.colorTo(null, 0.2, "linear", 0.2, function () {
});
this._x = 345;
this._y = 121;
anchorflag = true;
stop();
Symbol 225 MovieClip [gun8] Frame 3
if ((this._y > 250) and (this._x > 640)) {
gotoAndPlay ("bounce");
} else {
anchorflag = false;
stop();
}
Symbol 225 MovieClip [gun8] Frame 9
xdir = random(80) - 40;
ydir = random(80) - 40;
rotationspeed = random(50) - 25;
anchorflag = true;
this.onEnterFrame = function () {
thisr = this._rotation;
thisx = this._x;
thisy = this._y;
thisx = thisx + xdir;
thisy = thisy + ydir;
thisr = thisr + rotationspeed;
if (thisy > 372) {
thisy = 372;
ydir = ydir * -1;
}
if (thisy < 72) {
thisy = 72;
ydir = ydir * -1;
}
if (thisx > 800) {
thisx = 800;
xdir = xdir * -1;
}
if (thisx < 96) {
thisx = 96;
xdir = xdir * -1;
}
xdir = xdir * 0.9;
ydir = ydir * 0.9;
rotationspeed = rotationspeed * 0.9;
this._rotation = thisr;
this._x = thisx;
this._y = thisy;
if ((xdir > -1) and (xdir < 1)) {
this.onEnterFrame = undefined;
gotoAndPlay ("hold");
}
};
stop();
Symbol 225 MovieClip [gun8] Frame 17
this.colorTo(16763904, 0.2, "linear", 0, function () {
});
this.colorTo(null, 0.2, "linear", 0.2, function () {
});
this._x = 535;
this._y = 150;
anchorflag = true;
stop();
Symbol 230 MovieClip [gun9] Frame 3
if ((this._y > 250) and (this._x > 640)) {
gotoAndPlay ("bounce");
} else {
anchorflag = false;
stop();
}
Symbol 230 MovieClip [gun9] Frame 9
xdir = random(80) - 40;
ydir = random(80) - 40;
rotationspeed = random(50) - 25;
anchorflag = true;
this.onEnterFrame = function () {
thisr = this._rotation;
thisx = this._x;
thisy = this._y;
thisx = thisx + xdir;
thisy = thisy + ydir;
thisr = thisr + rotationspeed;
if (thisy > 372) {
thisy = 372;
ydir = ydir * -1;
}
if (thisy < 72) {
thisy = 72;
ydir = ydir * -1;
}
if (thisx > 800) {
thisx = 800;
xdir = xdir * -1;
}
if (thisx < 96) {
thisx = 96;
xdir = xdir * -1;
}
xdir = xdir * 0.9;
ydir = ydir * 0.9;
rotationspeed = rotationspeed * 0.9;
this._rotation = thisr;
this._x = thisx;
this._y = thisy;
if ((xdir > -1) and (xdir < 1)) {
this.onEnterFrame = undefined;
gotoAndPlay ("hold");
}
};
stop();
Symbol 230 MovieClip [gun9] Frame 17
this.colorTo(16763904, 0.2, "linear", 0, function () {
});
this.colorTo(null, 0.2, "linear", 0.2, function () {
});
this._x = 677;
this._y = 135;
anchorflag = true;
stop();
Symbol 237 MovieClip Frame 1
stop();
Symbol 244 MovieClip Frame 1
stop();
Symbol 251 MovieClip Frame 1
stop();
Symbol 257 MovieClip Frame 1
stop();
Symbol 268 MovieClip Frame 15
_parent.showbg();
Symbol 268 MovieClip Frame 33
this._y = -3000;
stop();