Frame 1
function security_ok() {
var _local2 = _root.attachMovie("preLoader", "preLoader" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local2.gotoAndPlay(1);
}
function security_fail() {
securityText.text = "Security Failed";
}
var globals = new GlobalStuff();
globals.init();
var siteLock = _url.indexOf("http://www.flashgamelicense.com");
if (_global.ADDICTING_GAMES) {
var myString = _url;
myString = myString.toLowerCase();
if ((myString.indexOf("addictinggames.com") != -1) || (myString.indexOf("shockwave.com") != -1)) {
siteLock = 0;
}
}
if (_global.SITE_LOCK == false) {
siteLock = 0;
}
if ((((_url != "file:///C|/Documents%20and%20Settings/Administrator.NEW1/Desktop/flash/shotgunv1.5/shotgunFun2.swf") && (_url != "file:///C|/Documents%20and%20Settings/Administrator.NEW1/Desktop/flash/shotgunv1.5/shotgunFun2AG.swf")) && (_url != "file:///C|/Documents%20and%20Settings/Administrator.NEW1/Desktop/flash/shotgunv1.5/shotgunFun2AG2.swf")) && (siteLock != 0)) {
gotoAndStop ("locked");
} else {
var _mochiads_game_id = "e110c81e57b35d93";
if (_global.MINDJOLT_SCORE == true) {
_lockroot = true;
}
if (_global.GAME_JACKET != true) {
var preLoader = _root.attachMovie("preLoader", "preLoader" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
preLoader.gotoAndPlay(1);
}
}
stop();
Frame 7
txtURL.text = _url;
stop();
Frame 20
if (_global.ag != true) {
gotoAndStop(_currentframe + 1);
}
stop();
Instance of Symbol 535 MovieClip "ag_mouse" in Frame 20
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 21
stop();
var mainMenu = _root.attachMovie("mainMenu", "mainMenu" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
if (_global.MOCHI_SCORES == true) {
mochi.MochiServices.connect(_global.MOCHI_LEADERBOARD_ID);
}
stop();
Symbol 23 MovieClip [gameOptions] Frame 1
#initclip 39
Object.registerClass("gameOptions", GameOptions);
#endinitclip
buttonQuit.onPress = function () {
_parent.gameOptions.quit();
};
buttonSound.onPress = function () {
_parent.gameOptions.toggleSound();
};
buttonMusic.onPress = function () {
_parent.gameOptions.toggleMusic();
};
buttonContinueGame.onPress = function () {
_parent.gameOptions.continueGame();
};
Symbol 29 MovieClip [confirmDialog] Frame 1
#initclip 22
Object.registerClass("confirmDialog", ConfirmDialog);
#endinitclip
buttonYes.onPress = function () {
_parent.confirmDialog.confirm = true;
};
buttonNo.onPress = function () {
_parent.confirmDialog.confirm = false;
};
Symbol 56 MovieClip [btnReload] Frame 1
#initclip 23
Object.registerClass("btnReload", MyButtons);
#endinitclip
stop();
Symbol 56 MovieClip [btnReload] Frame 2
stop();
Symbol 56 MovieClip [btnReload] Frame 3
stop();
Symbol 63 MovieClip [btnOptions] Frame 1
#initclip 24
Object.registerClass("btnOptions", MyButtons);
#endinitclip
stop();
Symbol 63 MovieClip [btnOptions] Frame 2
stop();
Symbol 63 MovieClip [btnOptions] Frame 3
stop();
Symbol 64 MovieClip [playarea] Frame 1
#initclip 25
Object.registerClass("playarea", Playarea);
#endinitclip
Symbol 65 MovieClip [shotgunReload] Frame 1
var mySound = new Sound();
mySound.attachSound("reload");
mySound.start();
Symbol 65 MovieClip [shotgunReload] Frame 3
if (reloadTime == _currentframe) {
_parent.addCartridge();
stop();
}
Symbol 65 MovieClip [shotgunReload] Frame 4
if (reloadTime == _currentframe) {
_parent.addCartridge();
stop();
}
Symbol 65 MovieClip [shotgunReload] Frame 5
if (reloadTime == _currentframe) {
_parent.addCartridge();
stop();
}
Symbol 65 MovieClip [shotgunReload] Frame 10
_parent.addCartridge();
Symbol 89 MovieClip Frame 1
if (_global.MOCHI_SCORES != true) {
btnLeaderBoard._visible = false;
}
btnLeaderBoard.onPress = function () {
_parent.gotoAndStop("leaderBoard");
};
btnShowAwards.onPress = function () {
_parent.gotoAndStop("awards");
};
btnShowStats.onPress = function () {
_parent.gotoAndStop("stats");
};
btnInstructions.onPress = function () {
_parent.gotoAndStop("instructions");
};
btnNewInThisVersion.onPress = function () {
_parent.gotoAndStop("newInThisVersion");
};
btnPlayEasy.onPress = function () {
_global.difficultyLevel = _global.DIFFICULTY_LEVEL_EASY;
_parent.startGame();
};
btnPlayMedium.onPress = function () {
_global.difficultyLevel = _global.DIFFICULTY_LEVEL_MEDIUM;
_parent.startGame();
};
btnPlayHard.onPress = function () {
_global.difficultyLevel = _global.DIFFICULTY_LEVEL_HARD;
_parent.startGame();
};
Symbol 102 MovieClip Frame 1
stop();
Symbol 102 MovieClip Frame 30
var myFunction = new myFunctions();
_global.arrayTargets = myFunction.removeValueFromArray(_parent, _global.arrayTargets);
_parent.removeMovieClip();
Symbol 123 MovieClip [infiniteAmmo] Frame 1
stop();
Symbol 123 MovieClip [infiniteAmmo] Frame 20
gotoAndPlay ("runningLow");
Symbol 135 MovieClip Frame 1
btnMore.onPress = function () {
gotoAndStop(_currentframe + 1);
};
stop();
Symbol 135 MovieClip Frame 2
btnMore.onPress = function () {
gotoAndStop(_currentframe + 1);
};
stop();
Symbol 135 MovieClip Frame 3
btnMore.onPress = function () {
gotoAndStop(_currentframe + 1);
};
stop();
Symbol 135 MovieClip Frame 4
btnMore.onPress = function () {
gotoAndStop(_currentframe + 1);
};
stop();
Symbol 135 MovieClip Frame 5
btnMore.onPress = function () {
gotoAndStop(_currentframe + 1);
};
stop();
Symbol 135 MovieClip Frame 8
btnMore.onPress = function () {
gotoAndStop (1);
};
stop();
Symbol 151 Button
on (press) {
getURL ("http://www.addictinggames.com", blank);
}
Symbol 174 MovieClip [mochiLeaderBoard] Frame 1
stop();
if (_global.MOCHI_SCORES == true) {
mochi.MochiScores.showLeaderboard({boardID:_global.MOCHI_LEADERBOARD_ID, clip:this, onClose:function () {
_parent.gotoAndStop(1);
}});
}
stop();
Symbol 176 MovieClip [mainMenu] Frame 1
#initclip 26
Object.registerClass("mainMenu", MainMenu);
#endinitclip
btnEmail.onPress = function () {
};
if (_global.ag != true) {
agButton_btn._visible = false;
}
stop();
Symbol 176 MovieClip [mainMenu] Frame 2
showStats();
Symbol 176 MovieClip [mainMenu] Frame 3
btnEmail.onPress = function () {
getURL ("mailto:shotgunfun@toolshed.co.uk");
};
showAwards();
Symbol 176 MovieClip [mainMenu] Frame 5
stop();
Symbol 176 MovieClip [mainMenu] Frame 6
stop();
Symbol 178 MovieClip [cloud1] Frame 1
#initclip 27
Object.registerClass("cloud1", Senery);
#endinitclip
Symbol 223 MovieClip [endOfLevel] Frame 10
Mouse.show();
_parent.gun.sights._visible = false;
_parent.levelOverStats();
if (_global.MOCHI == true) {
if ((_global.levelNumber / 4) == Math.round(_global.levelNumber / 4)) {
MochiAd.showInterLevelAd({id:_global.MOCHI_ID, res:"550x550", clip:this});
stop();
}
}
Symbol 223 MovieClip [endOfLevel] Frame 11
stop();
btnContinue.onPress = function () {
_parent.newLevel();
_parent.endOfLevel.removeMovieClip();
};
Mouse.show();
_parent.gun.sights._visible = false;
_parent.levelOverStats();
stop();
Symbol 223 MovieClip [endOfLevel] Frame 25
Mouse.show();
_parent.gun.sights._visible = false;
_parent.levelOverStats();
if (_global.MOCHI == true) {
MochiAd.showInterLevelAd({id:_global.MOCHI_ID, res:"550x550", clip:this});
}
if (_global.MOCHI_SCORES == true) {
mochi.MochiScores.showLeaderboard({boardID:_global.MOCHI_LEADERBOARD_ID, score:_global.score, clip:this});
} else {
this.gotoAndStop(_currentframe + 1);
}
stop();
Symbol 223 MovieClip [endOfLevel] Frame 26
stop();
if (_global.MINDJOLT_SCORE == true) {
var mindjolt = new Mindjolt();
mindjolt.submitScore(_global.score, _global.difficultyLevel);
}
btnContinue.onPress = function () {
_root.attachMovie("mainmenu", "mainMenu_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_parent.removeMovieClip();
};
Symbol 223 MovieClip [endOfLevel] Frame 40
Mouse.show();
_parent.gun.sights._visible = false;
_parent.levelOverStats();
stop();
if (_global.MOCHI_SCORES == true) {
mochi.MochiScores.showLeaderboard({boardID:_global.MOCHI_LEADERBOARD_ID, score:_global.score, clip:this});
} else {
this.gotoAndStop(_currentframe + 1);
}
stop();
Symbol 223 MovieClip [endOfLevel] Frame 41
if (_global.MINDJOLT_SCORE == true) {
var mindjolt = new Mindjolt();
mindjolt.submitScore(_global.score, _global.difficultyLevel);
}
onPress = function () {
_root.attachMovie("mainmenu", "mainMenu_" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_parent.removeMovieClip();
};
stop();
Instance of Symbol 231 MovieClip [wallPart2] in Symbol 233 MovieClip [wallPart2Stump] Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 244 MovieClip [preLoader] Frame 1
play();
var _mochiads_game_id = "e110c81e57b35d93";
if (_global.MOCHI == true) {
MochiAd.showPreGameAd({id:_global.MOCHI_ID, res:"550x550", clip:this});
}
var myBytesTotal = _root.getBytesTotal();
var myPercentLoaded = ((_root.getBytesLoaded() / myBytesTotal) * (loadingBar.outLineLoading._width - 1));
myPercentLoaded = Math.floor(myPercentLoaded);
txtPercentLoaded.text = myPercentLoaded + "%";
var myformat = new TextFormat();
myformat.font = "Comic Sans MS,Arial,helvetica";
myformat.bold = true;
txtPercentLoaded.setTextFormat(myformat);
loadingBar.loadingIndicator._width = myPercentLoaded;
if (myBytesTotal == _root.getBytesLoaded()) {
_root.gotoAndStop("start");
this.removeMovieClip();
stop();
}
Symbol 244 MovieClip [preLoader] Frame 2
this.gotoAndPlay(1);
Symbol 246 MovieClip [cloud2] Frame 1
#initclip 28
Object.registerClass("cloud2", Senery);
#endinitclip
Symbol 248 MovieClip [cloud3] Frame 1
#initclip 29
Object.registerClass("cloud3", Senery);
#endinitclip
Symbol 250 MovieClip [cloud4] Frame 1
#initclip 30
Object.registerClass("cloud4", Senery);
#endinitclip
Symbol 252 MovieClip [tree3] Frame 1
#initclip 31
Object.registerClass("tree3", Senery);
#endinitclip
Symbol 254 MovieClip [bush1] Frame 1
#initclip 32
Object.registerClass("bush1", Senery);
#endinitclip
Symbol 256 MovieClip [bush2] Frame 1
#initclip 33
Object.registerClass("bush2", Senery);
#endinitclip
Symbol 258 MovieClip [treeFir1] Frame 1
#initclip 34
Object.registerClass("treeFir1", Senery);
#endinitclip
Symbol 260 MovieClip [snowMound2] Frame 1
#initclip 35
Object.registerClass("snowMound2", Senery);
#endinitclip
Symbol 262 MovieClip [snowMound1] Frame 1
#initclip 36
Object.registerClass("snowMound1", Senery);
#endinitclip
Symbol 275 MovieClip Frame 1
stop();
Symbol 277 MovieClip [levelStart] Frame 1
#initclip 37
Object.registerClass("levelStart", LevelStart);
#endinitclip
stop();
Symbol 280 MovieClip [whammyExplosion] Frame 1
play();
Symbol 280 MovieClip [whammyExplosion] Frame 10
this.removeMovieClip();
Symbol 284 MovieClip [levelJumpToButton] Frame 1
#initclip 38
Object.registerClass("levelJumpToButton", MyButtons);
#endinitclip
stop();
Symbol 284 MovieClip [levelJumpToButton] Frame 2
stop();
Symbol 284 MovieClip [levelJumpToButton] Frame 3
stop();
Symbol 536 MovieClip [__Packages.myFunctions] Frame 0
class myFunctions
{
function myFunctions () {
}
function randomNumber(min, max) {
var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min;
return(_local1);
}
function randomNumberFloat(min, max) {
var _local1 = (Math.random() * (max - min)) + min;
_local1 = Math.random() * max;
return(_local1);
}
function removeValueFromArray(myValue, myArray) {
var _local3 = new Array();
var _local1 = 0;
while (_local1 <= (myArray.length - 1)) {
if (myArray[_local1] != myValue) {
_local3.push(myArray[_local1]);
}
_local1++;
}
return(_local3);
}
function formatText(obj, fontSize, isBold) {
var _local1 = new TextFormat();
_local1.font = "Arial,helvetica";
_local1.bold = isBold;
_local1.size = fontSize;
obj.selectable = false;
obj.setTextFormat(_local1);
}
}
Symbol 537 MovieClip [__Packages.mochi.MochiScores] Frame 0
class mochi.MochiScores
{
static var boardID, onClose, onError;
function MochiScores () {
}
static function setBoardID(boardID) {
mochi.MochiScores.boardID = boardID;
mochi.MochiServices.send("scores_setBoardID", {boardID:boardID});
}
static function showLeaderboard(options) {
if ((options.clip == null) || (options.clip == undefined)) {
options.clip = mochi.MochiServices.clip;
}
if ((options.clip != mochi.MochiServices.__get__clip()) || (mochi.MochiServices.__get__childClip()._target == undefined)) {
mochi.MochiServices.disconnect();
mochi.MochiServices.connect(mochi.MochiServices.__get__id(), options.clip);
}
delete options.clip;
if (options.name != null) {
if (typeof(options.name) == "object") {
if (options.name.text != undefined) {
options.name = options.name.text;
}
}
}
if (options.score != null) {
if (options.score instanceof TextField) {
if (options.score.text != undefined) {
options.score = options.score.text;
}
} else if (options.score instanceof mochi.MochiDigits) {
options.score = options.score.value;
}
var _local1 = Number(options.score);
if (isNaN(_local1)) {
} else if ((_local1 == Number.NEGATIVE_INFINITY) || (_local1 == Number.POSITIVE_INFINITY)) {
} else {
if (Math.floor(_local1) != _local1) {
}
options.score = _local1;
}
}
if (options.onDisplay != null) {
options.onDisplay();
} else {
mochi.MochiServices.__get__clip().stop();
}
if (options.onClose != null) {
onClose = options.onClose;
} else {
onClose = function () {
mochi.MochiServices.__get__clip().play();
};
}
if (options.onError != null) {
onError = options.onError;
} else {
onError = onClose;
}
if (options.boardID == null) {
if (boardID != null) {
options.boardID = boardID;
}
}
mochi.MochiServices.send("scores_showLeaderboard", {options:options}, null, doClose);
}
static function closeLeaderboard() {
mochi.MochiServices.send("scores_closeLeaderboard");
}
static function getPlayerInfo(callbackObj, callbackMethod) {
mochi.MochiServices.send("scores_getPlayerInfo", null, callbackObj, callbackMethod);
}
static function submit(score, name, callbackObj, callbackMethod) {
score = Number(score);
if (isNaN(score)) {
} else if ((score == Number.NEGATIVE_INFINITY) || (score == Number.POSITIVE_INFINITY)) {
} else {
if (Math.floor(score) != score) {
}
score = Number(score);
}
mochi.MochiServices.send("scores_submit", {score:score, name:name}, callbackObj, callbackMethod);
}
static function requestList(callbackObj, callbackMethod) {
mochi.MochiServices.send("scores_requestList", null, callbackObj, callbackMethod);
}
static function scoresArrayToObjects(scores) {
var _local5 = {};
var _local1;
var _local4;
var _local2;
var _local6;
for (var _local8 in scores) {
if (typeof(scores[_local8]) == "object") {
if ((scores[_local8].cols != null) && (scores[_local8].rows != null)) {
_local5[_local8] = [];
_local2 = scores[_local8];
_local4 = 0;
while (_local4 < _local2.rows.length) {
_local6 = {};
_local1 = 0;
while (_local1 < _local2.cols.length) {
_local6[_local2.cols[_local1]] = _local2.rows[_local4][_local1];
_local1++;
}
_local5[_local8].push(_local6);
_local4++;
}
} else {
_local5[_local8] = {};
for (var _local7 in scores[_local8]) {
_local5[_local8][_local7] = scores[_local8][_local7];
}
}
} else {
_local5[_local8] = scores[_local8];
}
}
return(_local5);
}
static function doClose(args) {
if (args.error == true) {
if (args.errorCode == undefined) {
args.errorCode = "IOError";
}
onError.apply(null, [args.errorCode]);
} else {
onClose.apply();
}
}
}
Symbol 538 MovieClip [__Packages.mochi.MochiServices] Frame 0
class mochi.MochiServices
{
static var _id, _container, _clip, _sendChannelName, __get__comChannelName, onError, _listenChannel, _loader, _loaderListener, _sendChannel;
function MochiServices () {
}
static function get id() {
return(_id);
}
static function get clip() {
return(_container);
}
static function get childClip() {
return(_clip);
}
static function getVersion() {
return("1.43");
}
static function allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function get isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function set comChannelName(val) {
if (val != undefined) {
if (val.length > 3) {
_sendChannelName = val + "_fromgame";
initComChannels();
}
}
//return(__get__comChannelName());
}
static function get connected() {
return(_connected);
}
static function connect(id, clip, onError) {
if ((!_connected) && (_clip == undefined)) {
_connecting = true;
init(id, clip);
}
if (onError != undefined) {
mochi.MochiServices.onError = onError;
} else if (mochi.MochiServices.onError == undefined) {
mochi.MochiServices.onError = function (errorCode) {
};
}
}
static function disconnect() {
if (_connected || (_connecting)) {
_connecting = (_connected = false);
flush(true);
if (_clip != undefined) {
_clip.removeMovieClip();
delete _clip;
}
_listenChannel.close();
}
}
static function init(id, clip) {
_id = id;
if (clip != undefined) {
_container = clip;
} else {
_container = _root;
}
loadCommunicator(id, _container);
}
static function loadCommunicator(id, clip) {
var _local3 = "_mochiservices_com_" + id;
if (_clip != null) {
return(_clip);
}
if (!isNetworkAvailable) {
return(null);
}
if (urlOptions().servicesURL != undefined) {
_servicesURL = urlOptions().servicesURL;
}
allowDomains(_servicesURL);
_clip = clip.createEmptyMovieClip(_local3, 10336, false);
_listenChannelName = _listenChannelName + ((Math.floor(new Date().getTime()) + "_") + Math.floor(Math.random() * 99999));
_loader = new MovieClipLoader();
if (_loaderListener.waitInterval != null) {
clearInterval(_loaderListener.waitInterval);
}
_loaderListener = {};
_loaderListener.onLoadError = function (target_mc, errorCode, httpStatus) {
mochi.MochiServices.disconnect();
mochi.MochiServices.onError.apply(null, [errorCode]);
};
_loaderListener.onLoadStart = function (target_mc) {
this.isLoading = true;
};
_loaderListener.startTime = getTimer();
_loaderListener.wait = function () {
if ((getTimer() - this.startTime) > 10000) {
if (!this.isLoading) {
mochi.MochiServices.disconnect();
mochi.MochiServices.onError.apply(null, ["IOError"]);
}
clearInterval(this.waitInterval);
}
};
_loaderListener.waitInterval = setInterval(_loaderListener, "wait", 1000);
_loader.addListener(_loaderListener);
_loader.loadClip((((_servicesURL + "?listenLC=") + _listenChannelName) + "&mochiad_options=") + escape(_root.mochiad_options), _clip);
_sendChannel = new LocalConnection();
_sendChannel._queue = [];
listen();
return(_clip);
}
static function onStatus(infoObject) {
if (!(infoObject.level === "error")) {
} else {
_connected = false;
_listenChannel.connect(_listenChannelName);
}
}
static function listen() {
_listenChannel = new LocalConnection();
_listenChannel.handshake = function (args) {
mochi.MochiServices.__set__comChannelName(args.newChannel);
};
_listenChannel.allowDomain = function (d) {
return(true);
};
_listenChannel.allowInsecureDomain = _listenChannel.allowDomain;
_listenChannel._nextcallbackID = 0;
_listenChannel._callbacks = {};
_listenChannel.connect(_listenChannelName);
}
static function initComChannels() {
if (!_connected) {
_sendChannel.onStatus = function (infoObject) {
mochi.MochiServices.onStatus(infoObject);
};
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, clip:_clip, version:getVersion()});
_listenChannel.onStatus = function (infoObject) {
mochi.MochiServices.onStatus(infoObject);
};
_listenChannel.onReceive = function (pkg) {
var _local5 = pkg.callbackID;
var _local4 = this._callbacks[_local5];
if (!_local4) {
return(undefined);
}
var _local2 = _local4.callbackMethod;
var _local3 = _local4.callbackObject;
if (_local3 && (typeof(_local2) == "string")) {
_local2 = _local3[_local2];
}
if (_local2 != undefined) {
_local2.apply(_local3, pkg.args);
}
delete this._callbacks[_local5];
};
_listenChannel.onError = function () {
mochi.MochiServices.onError.apply(null, ["IOError"]);
};
_connecting = false;
_connected = true;
while (_sendChannel._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift());
}
}
}
static function flush(error) {
var _local1;
var _local2;
while (_sendChannel._queue.length > 0) {
_local1 = _sendChannel._queue.shift();
if (_local1.callbackID != null) {
_local2 = _listenChannel._callbacks[_local1.callbackID];
}
delete _listenChannel._callbacks[_local1.callbackID];
if (error) {
handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod);
}
}
}
static function handleError(args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError.apply(null, ["NotConnected"]);
}
if ((args.options != null) && (args.options.onError != null)) {
args.options.onError.apply(null, ["NotConnected"]);
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = "NotConnected";
if ((callbackObject != null) && (typeof(callbackMethod) == "string")) {
callbackObject[callbackMethod](args);
} else if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
static function send(methodName, args, callbackObject, callbackMethod) {
if (_connected) {
_sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
} else {
if ((_clip == undefined) || (!_connecting)) {
onError.apply(null, ["NotConnected"]);
handleError(args, callbackObject, callbackMethod);
flush(true);
return(undefined);
}
_sendChannel._queue.push({methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
}
_listenChannel._callbacks[_listenChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_listenChannel._nextcallbackID++;
}
static function urlOptions() {
var _local5 = {};
if (_root.mochiad_options) {
var _local4 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2].split("=");
_local5[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local5);
}
static function addLinkEvent(url, burl, btn, onClick) {
var timeout = 1500;
var t0 = getTimer();
var _local2 = new Object();
_local2.mav = getVersion();
_local2.swfv = btn.getSWFVersion() || 6;
_local2.swfurl = btn._url;
_local2.fv = System.capabilities.version;
_local2.os = System.capabilities.os;
_local2.lang = System.capabilities.language;
_local2.scres = (System.capabilities.screenResolutionX + "x") + System.capabilities.screenResolutionY;
var s = "?";
var _local3 = 0;
for (var _local6 in _local2) {
if (_local3 != 0) {
s = s + "&";
}
_local3++;
s = ((s + _local6) + "=") + escape(_local2[_local6]);
}
if (!(netupAttempted || (_connected))) {
var ping = btn.createEmptyMovieClip("ping", 777);
var _local7 = btn.createEmptyMovieClip("nettest", 778);
netupAttempted = true;
ping.loadMovie("http://x.mochiads.com/linkping.swf?t=" + getTimer());
_local7.onEnterFrame = function () {
if ((ping._totalframes > 0) && (ping._totalframes == ping._framesloaded)) {
delete this.onEnterFrame;
} else if ((getTimer() - t0) > timeout) {
delete this.onEnterFrame;
mochi.MochiServices.netup = false;
}
};
}
var _local4 = btn.createEmptyMovieClip("clk", 1001);
_local4._alpha = 0;
_local4.beginFill(1044735);
_local4.moveTo(0, 0);
_local4.lineTo(0, btn._height);
_local4.lineTo(btn._width, btn._height);
_local4.lineTo(btn._width, 0);
_local4.lineTo(0, 0);
_local4.endFill();
_local4.onRelease = function () {
if (mochi.MochiServices.netup) {
getURL (url + s, "_blank");
} else {
getURL (burl, "_blank");
}
if (onClick != undefined) {
onClick();
}
};
}
static var _servicesURL = "http://www.mochiads.com/static/lib/services/services.swf";
static var _listenChannelName = "__ms_";
static var _connecting = false;
static var _connected = false;
static var netup = true;
static var netupAttempted = false;
}
Symbol 539 MovieClip [__Packages.mochi.MochiDigits] Frame 0
class mochi.MochiDigits
{
var Encoder, Fragment, Sibling;
function MochiDigits (digit, index) {
Encoder = 0;
setValue(digit, index);
}
function get value() {
return(Number(toString()));
}
function set value(v) {
setValue(v);
//return(value);
}
function addValue(v) {
value = value + v;
}
function setValue(digit, index) {
var _local3 = digit.toString();
if ((index == undefined) || (isNaN(index))) {
index = 0;
}
Fragment = _local3.charCodeAt(index++) ^ Encoder;
if (index < _local3.length) {
Sibling = new mochi.MochiDigits(digit, index);
} else {
Sibling = null;
}
reencode();
}
function reencode() {
var _local2 = int(2147483647 * Math.random());
Fragment = Fragment ^ (_local2 ^ Encoder);
Encoder = _local2;
}
function toString() {
var _local2 = String.fromCharCode(Fragment ^ Encoder);
return(((Sibling != null) ? (_local2.concat(Sibling.toString())) : (_local2)));
}
}
Symbol 540 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("2.7");
}
static function showPreGameAd(options) {
var _local26 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}, ad_progress:function (percent) {
}};
options = _parseOptions(options, _local26);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local22 = 11000;
var _local25 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local6 = chk.createEmptyMovieClip("_mochiad_bar", 4);
if (options.no_progress_bar) {
_local6._visible = false;
delete options.no_progress_bar;
} else {
_local6._x = 10;
_local6._y = _local13 - 20;
}
var _local21 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local23 = options.outline;
delete options.outline;
var _local5 = _local6.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local6.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local21);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local7 = _local6.createEmptyMovieClip("_outline", 3);
_local7.lineStyle(0, _local23, 100);
_local7.moveTo(0, 0);
_local7.lineTo(_local4 - 20, 0);
_local7.lineTo(_local4 - 20, 10);
_local7.lineTo(0, 10);
_local7.lineTo(0, 0);
chk.ad_msec = _local22;
chk.ad_timeout = _local25;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
return(s);
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local11 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local2 = (100 * _local8) / _local4;
var _local10 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local13 = Math.min(100, Math.min(_local2 || 0, _local10));
_local13 = Math.max(this.last_pcnt, _local13);
this.last_pcnt = _local13;
_local9._xscale = _local13;
options.ad_progress(_local13);
if (sendHostProgress) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local2});
if (_local2 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var _local7 = _local11.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if ((_local5 > chk.ad_timeout) && (_local2 == 100)) {
options.ad_failed();
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showClickAwayAd(options) {
var _local9 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () {
}, ad_finished:function () {
}, ad_loaded:function (width, height) {
}, ad_failed:function () {
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local9);
var clip = options.clip;
var _local8 = options.ad_timeout;
delete options.ad_timeout;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local4 = _getRes(options);
var _local10 = _local4[0];
var _local7 = _local4[1];
mc._x = _local10 * 0.5;
mc._y = _local7 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = _local8;
chk.started = getTimer();
chk.showing = false;
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
return(s);
};
var _local20 = false;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
_local2 = true;
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local2) {
delete this.onEnterFrame;
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
return(s);
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showPreloaderAd(options) {
showPreGameAd(options);
}
static function showTimedAd(options) {
showInterLevelAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local9 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local9._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local9._mochiad_loaded = true;
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local7 in options) {
_local4[_local7] = options[_local7];
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new LocalConnection();
var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local8;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local8);
_local6.lc = _local5;
_local4.lc = _local8;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
if (clip._mochiad._containerLCName != undefined) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"unload"});
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
}
return(_local4);
}
static function rpc(clip, callbackID, arg) {
switch (arg.id) {
case "setValue" :
setValue(clip, arg.objectName, arg.value);
break;
case "getValue" :
var _local4 = getValue(clip, arg.objectName);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local4);
break;
case "runMethod" :
var _local3 = runMethod(clip, arg.method, arg.args);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local3);
}
}
static function setValue(base, objectName, value) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
base[_local2[_local1]] = value;
}
static function getValue(base, objectName) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
return(base[_local2[_local1]]);
}
static function runMethod(base, methodName, argsArray) {
var _local2 = methodName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
if (typeof(base[_local2[_local1]]) == "function") {
return(base[_local2[_local1]].apply(base, argsArray));
}
return(undefined);
}
}
Symbol 541 MovieClip [__Packages.Mindjolt] Frame 0
class Mindjolt
{
function Mindjolt () {
}
function submitScore(myScore, myDifficulty) {
var _local3 = new LocalConnection();
switch (myDifficulty) {
case _global.DIFFICULTY_LEVEL_EASY :
_local3.send(_root.com_mindjolt_api, "submitScore", myScore, "easy");
break;
case _global.DIFFICULTY_LEVEL_MEDIUM :
_local3.send(_root.com_mindjolt_api, "submitScore", myScore, "medium");
break;
case _global.DIFFICULTY_LEVEL_HARD :
_local3.send(_root.com_mindjolt_api, "submitScore", myScore, "hard");
}
}
}
Symbol 542 MovieClip [__Packages.GlobalStuff] Frame 0
class GlobalStuff
{
function GlobalStuff () {
}
function init() {
_global.SHARED_OBJECT = "_shotgunFun";
_global.SITE_LOCK = false;
_global.GAME_JACKET = false;
_global.MOCHI = false;
_global.MOCHI_SCORES = false;
_global.MINDJOLT_SCORE = false;
_global.KONG = false;
_global.MOCHI_ID = "e110c81e57b35d93";
_global.MOCHI_LEADERBOARD_ID = "b8e9685b0509c81b";
_global.ADDICTING_GAMES = true;
_global.ag = true;
Stage.scaleMode = "noBorder";
_global.LEVEL_COMBAT = 10;
_global.LEVEL_PUMP = 5;
_global.framesPerSecond = 30;
_global.TARGETS_PER_LEVEL_DEFAULT = 25;
_global.MAX_LEVEL = 15;
var _local4 = SharedObject.getLocal(_global.SHARED_OBJECT);
_global.levelProgress = new Array();
_global.difficultyLevel;
_global.DIFFICULTY_LEVEL_EASY = 65;
_global.DIFFICULTY_LEVEL_MEDIUM = 75;
_global.DIFFICULTY_LEVEL_HARD = 85;
_global.INFINITE_AMMO_TIME = 7;
if (_local4.data.levelProgress == null) {
_global.levelProgress = new Object();
_global.levelProgress[_global.DIFFICULTY_LEVEL_EASY] = 0;
_global.levelProgress[_global.DIFFICULTY_LEVEL_MEDIUM] = 0;
_global.levelProgress[_global.DIFFICULTY_LEVEL_HARD] = 0;
_local4.data.levelProgress = _global.levelProgress;
} else {
_global.levelProgress = _local4.data.levelProgress;
if (_global.levelProgress[_global.DIFFICULTY_LEVEL_HARD] == null) {
_global.levelProgress[_global.DIFFICULTY_LEVEL_HARD] = _local4.data.levelProgress[90];
}
}
_global.TARGET_PLATE1 = "targetPlate1";
_global.TARGET_PLATE2 = "targetPlate2";
_global.TARGET_BIRD1 = "targetBird1";
_global.TARGET_BIRD2 = "targetBird2";
_global.TARGET_STATUE1 = "targetStatue1";
_global.TARGET_GNOME1 = "targetGardenGnome1";
_global.TARGET_GNOME_FLYING1 = "targetGnomeFlying1";
_global.TARGET_SNOWMAN1 = "targetSnowMan1";
_global.TARGET_SAUCER1 = "targetSaucer1";
_global.TARGET_SAUCER2 = "targetSaucer2";
_global.TARGET_BONUS_SCORE_100 = "targetBonusScore100";
_global.TARGET_INFINITE_AMMO = "targetInfiniteAmmo";
_global.TARGET_BONUS_SCORE_50 = "targetBonusScore50";
_global.TARGET_TYPE_PLATE = 1;
_global.TARGET_TYPE_BIRD = 2;
_global.TARGET_TYPE_STATUE = 3;
_global.TARGET_TYPE_BONUS = 4;
_global.TARGET_PLATE = 1;
_global.TARGET_BIRD = 2;
_global.TARGET_STATIC = 3;
_global.TERRAIN_TYPE_GRASS = "grass";
_global.TERRAIN_TYPE_DESERT = "desert";
_global.TERRAIN_TYPE_SNOW = "snow";
_global.SENERY_SKY = 1;
_global.SENERY_GROUND = 2;
_global.SENERY_HILL = 3;
_global.arrayHillName = new Array();
_global.arraySeneryName = new Array();
_global.arraySeneryGrassName = new Array();
_global.arraySeneryGrassName.push(["cloud1", _global.SENERY_SKY]);
_global.arraySeneryGrassName.push(["cloud2", _global.SENERY_SKY]);
_global.arraySeneryGrassName.push(["cloud3", _global.SENERY_SKY]);
_global.arraySeneryGrassName.push(["cloud4", _global.SENERY_SKY]);
_global.arraySeneryGrassName.push(["tree1", _global.SENERY_GROUND]);
_global.arraySeneryGrassName.push(["tree2", _global.SENERY_GROUND]);
_global.arraySeneryGrassName.push(["treeFir1", _global.SENERY_GROUND]);
_global.arraySeneryGrassName.push(["tree3", _global.SENERY_GROUND]);
_global.arraySeneryGrassName.push(["bush1", _global.SENERY_GROUND]);
_global.arraySeneryGrassName.push(["bush2", _global.SENERY_GROUND]);
_global.arraySeneryDesertName = new Array();
_global.arraySeneryDesertName.push(["cloud2", _global.SENERY_SKY]);
_global.arraySeneryDesertName.push(["cloud4", _global.SENERY_SKY]);
_global.arraySeneryDesertName.push(["cactus1", _global.SENERY_GROUND]);
_global.arraySeneryDesertName.push(["cactus2", _global.SENERY_GROUND]);
_global.arraySeneryDesertName.push(["cactus1", _global.SENERY_GROUND]);
_global.arraySeneryDesertName.push(["brush1", _global.SENERY_GROUND]);
_global.arraySeneryDesertName.push(["brush2", _global.SENERY_GROUND]);
_global.arraySenerySnowName = new Array();
_global.arraySenerySnowName.push(["cloud1", _global.SENERY_SKY]);
_global.arraySenerySnowName.push(["cloud2", _global.SENERY_SKY]);
_global.arraySenerySnowName.push(["cloud3", _global.SENERY_SKY]);
_global.arraySenerySnowName.push(["cloud4", _global.SENERY_SKY]);
_global.arraySenerySnowName.push(["tree1", _global.SENERY_GROUND]);
_global.arraySenerySnowName.push(["treeFir1", _global.SENERY_GROUND]);
_global.arraySenerySnowName.push(["iceHole1", _global.SENERY_GROUND]);
_global.arraySenerySnowName.push(["snowMound1", _global.SENERY_GROUND]);
_global.arraySenerySnowName.push(["snowMound1", _global.SENERY_GROUND]);
_global.arrayHillGrassName = new Array();
_global.arrayHillGrassName.push(["hill1", _global.SENERY_HILL]);
_global.arrayHillGrassName.push(["hill2", _global.SENERY_HILL]);
_global.arrayHillGrassName.push(["hill3", _global.SENERY_HILL]);
_global.arrayHillDesertName = new Array();
_global.arrayHillDesertName.push(["hillDesert1", _global.SENERY_HILL]);
_global.arrayHillDesertName.push(["hillDesert2", _global.SENERY_HILL]);
_global.arrayHillDesertName.push(["hillDesert3", _global.SENERY_HILL]);
_global.arrayHillSnowName = new Array();
_global.arrayHillSnowName.push(["hillSnow1", _global.SENERY_HILL]);
_global.arrayHillSnowName.push(["hillSnow2", _global.SENERY_HILL]);
_global.arrayHillSnowName.push(["hillSnow3", _global.SENERY_HILL]);
_global.NEXT_SENERY_IN_DEFAULT = 4;
_global.STATIC_MOVE_SPEED = 1;
_global.SENERY_MOVE_SPEED = 0.5;
_global.TARGET_SIZE_MODIFIER_MIN = _global.SENERY_MOVE_SPEED;
_global.SENERY_SIZE_MODIFIER_MIN = 0.4;
_global.SENERY_HILL_SPEED_MODIFIER = 0.2;
_global.SENERY_START_X = Stage.width;
_global.SENERY_SKY_Y_MIN = 80;
_global.WALL_START_X = Stage.width;
_global.WALL_MOVE_SPEED = 2;
_global.WALL_START_Y = 120;
_global.WALL_MAX_HEIGHT = 5;
_global.MAN_MOVE_SPEED = 0;
_global.STEP_HEIGHT_MAX = 10;
_global.musicIsOn = _local4.data.musicIsOn;
if (_global.musicIsOn == null) {
_global.musicIsOn = true;
}
_global.soundIsOn = _local4.data.soundIsOn;
if (_global.soundIsOn == null) {
_global.soundIsOn = true;
}
_global.gnomesHit = _local4.data.gnomesHit;
if (_global.gnomesHit == null) {
_global.gnomesHit = 0;
}
_global.SHOTGUN_AUTO_RELOAD_TIME = 0.75;
_global.arrayTargets = new Array();
_global.gameComplete = 0;
_global.targetsEscaped = 0;
_global.shotsFired = 0;
_global.targetsHit = 0;
_global.score = 0;
_global.levelNumber = 0;
_global.hitsInARow = 0;
_global.hitsInARowBest = 0;
_global.isPaused = false;
_global.arrayInGameMusic = new Array();
_global.arrayInGameMusic.push("ingameMusic1");
_global.arrayInGameMusic.push("ingameMusic3");
_global._TARGETS_FOR_HIT_STREAK = 150;
_global.AWARD_Y_POS = 305;
_global.arrayAwardName = new Array();
_global.arrayAwardName.push((_global.AWARD_KILLER_GOLD = "awardKillerGold"));
_global.arrayAwardName.push((_global.AWARD_SNIPER_GOLD = "awardSniperGold"));
_global.arrayAwardName.push((_global.AWARD_PROFESSIONAL_GOLD = "awardProfessionalGold"));
_global.arrayAwardName.push((_global.AWARD_SNIPER_SILVER = "awardSniperSilver"));
_global.arrayAwardName.push((_global.AWARD_KILLER_SILVER = "awardKillerSilver"));
_global.arrayAwardName.push((_global.AWARD_PROFESSIONAL_SILVER = "awardProfessionalSilver"));
_global.arrayAwardName.push((_global.AWARD_KILLER_BRONZE = "awardKillerBronze"));
_global.arrayAwardName.push((_global.AWARD_SNIPER_BRONZE = "awardSniperBronze"));
_global.arrayAwardName.push((_global.AWARD_PROFESSIONAL_BRONZE = "awardProfessionalBronze"));
_global.arrayAwardName.push((_global.AWARD_GNOME_KILLER = "awardGnomeKiller"));
_global.arrayAwardName.push((_global.AWARD_GAME_COMPLETE = "awardGameComplete"));
_global.arrayAwards = new Array();
var _local3;
var _local2 = 0;
while (_local2 <= (_global.arrayAwardName.length - 1)) {
_local3 = new AwardRequirements();
_local3.setRequirements(_global.arrayAwardName[_local2]);
_global.arrayAwards.push([_global.arrayAwardName[_local2], _local3]);
_local2++;
}
}
}
Symbol 543 MovieClip [__Packages.AwardRequirements] Frame 0
class AwardRequirements
{
var gnomesHit, levelTargetsHitPercent, levelAcuracy, hitsInARow, gameComplete;
function AwardRequirements () {
}
function setRequirements(awardName) {
gnomesHit = 0;
switch (awardName) {
case _global.AWARD_SNIPER_BRONZE :
levelTargetsHitPercent = 60;
levelAcuracy = 100;
hitsInARow = 0;
gameComplete = 0;
gnomesHit = 0;
break;
case _global.AWARD_SNIPER_SILVER :
levelTargetsHitPercent = 60;
levelAcuracy = 120;
hitsInARow = 0;
gameComplete = 0;
gnomesHit = 0;
break;
case _global.AWARD_SNIPER_GOLD :
levelTargetsHitPercent = 60;
levelAcuracy = 140;
hitsInARow = 0;
gameComplete = 0;
break;
case _global.AWARD_KILLER_BRONZE :
levelTargetsHitPercent = 90;
levelAcuracy = 60;
hitsInARow = 0;
gameComplete = 0;
break;
case _global.AWARD_KILLER_SILVER :
levelTargetsHitPercent = 95;
levelAcuracy = 60;
hitsInARow = (gameComplete = 0);
break;
case _global.AWARD_KILLER_GOLD :
levelTargetsHitPercent = 100;
levelAcuracy = 60;
hitsInARow = 40;
gameComplete = 0;
break;
case _global.AWARD_PROFESSIONAL_BRONZE :
levelTargetsHitPercent = 0;
levelAcuracy = 0;
hitsInARow = _global._TARGETS_FOR_HIT_STREAK * 0.6;
gameComplete = 0;
break;
case _global.AWARD_PROFESSIONAL_SILVER :
levelTargetsHitPercent = 0;
levelAcuracy = 0;
hitsInARow = _global._TARGETS_FOR_HIT_STREAK * 0.8;
gameComplete = 0;
break;
case _global.AWARD_PROFESSIONAL_GOLD :
levelTargetsHitPercent = 0;
levelAcuracy = 0;
hitsInARow = _global._TARGETS_FOR_HIT_STREAK * 1;
gameComplete = 0;
break;
case _global.AWARD_GNOME_KILLER :
levelTargetsHitPercent = 0;
levelAcuracy = 0;
hitsInARow = 0;
gameComplete = 0;
gnomesHit = 100;
break;
case _global.AWARD_GAME_COMPLETE :
levelTargetsHitPercent = 0;
levelAcuracy = 0;
hitsInARow = 0;
gameComplete = 1;
}
}
}
Symbol 544 MovieClip [__Packages.ConfirmDialog] Frame 0
class ConfirmDialog extends MovieClip
{
function ConfirmDialog () {
super();
}
}
Symbol 545 MovieClip [__Packages.MyButtons] Frame 0
class MyButtons extends MovieClip
{
var gotoAndStop, downFrame, _currentframe, hitTest;
function MyButtons () {
super();
}
function onLoad() {
}
function onPress() {
gotoAndStop("down");
downFrame = _currentframe;
}
function onEnterFrame() {
if ((hitTest(_root._xmouse, _root._ymouse, true) == true) && (_currentframe != downFrame)) {
gotoAndStop("over");
} else {
gotoAndStop("up");
}
}
function onRelease() {
gotoAndStop("over");
}
}
Symbol 546 MovieClip [__Packages.Playarea] Frame 0
class Playarea extends MovieClip
{
var grassArea, _name, _parent, arrayWhammy, holderWhammy, gun, level, timeTillNextWall, wallCounter, wallPartLength, arrayWall, timeTillNextSenery, seneryTimer, seneryLayer, timeTillNextHill, hillTimer, hillLayer, targetLayer, useReloadKey, useWhammy, attachMovie, getNextHighestDepth, endOfLevel, createEmptyMovieClip, wallLayer, ammoLayer, launchTimer, inGameMusic, steppingUp;
function Playarea () {
super();
}
function onLoad() {
_global.targetsEscaped = 0;
_global.shotsFired = 0;
_global.targetsHit = 0;
_global.score = 0;
_global.hitsInARow = 0;
_global.hitsInARowBest = 0;
_global.isPaused = false;
grassArea = _parent[_name].grassArea;
arrayWhammy = new Array();
var _local3 = 0;
while (_local3 <= _global.totalWhammies) {
arrayWhammy.push(holderWhammy.attachMovie("whammy", "whammy_" + holderWhammy.getNextHighestDepth(), holderWhammy.getNextHighestDepth()));
arrayWhammy[arrayWhammy.length - 1]._x = ((arrayWhammy[arrayWhammy.length - 1]._width / 2) * arrayWhammy.length) - 1;
arrayWhammy[arrayWhammy.length - 1]._y = -arrayWhammy[arrayWhammy.length - 1]._height;
_local3++;
}
newLevel();
}
function onEnterFrame() {
if (_global.isPaused) {
return(false);
}
var _local3 = new myFunctions();
gun.sights._visible = true;
updateInfoBox();
if (level.useWall == true) {
if (wallCounter >= timeTillNextWall) {
timeTillNextWall = Math.abs(wallPartLength / _global.WALL_MOVE_SPEED);
var _local4 = isEven(arrayWall.length + 1);
var _local5 = _local3.randomNumber(0, _global.WALL_MAX_HEIGHT);
makeWall(_local5, _local4, level.wallPartToUse);
wallCounter = 0;
}
moveWall();
wallCounter = wallCounter + 1;
}
if (seneryTimer >= (timeTillNextSenery * _global.framesPerSecond)) {
seneryTimer = 0;
if (_global.levelMovingX != 0) {
timeTillNextSenery = _global.NEXT_SENERY_IN_DEFAULT + _local3.randomNumber(0, _global.NEXT_SENERY_IN_DEFAULT * 0.4);
placeSeneryItem(makeRandomSenery(_global.arraySeneryName, seneryLayer));
}
}
if (hillTimer >= timeTillNextHill) {
placeSeneryItem(makeRandomSenery(_global.arrayHillName, hillLayer));
timeTillNextHill = (400 / _global.SENERY_MOVE_SPEED) / _global.SENERY_HILL_SPEED_MODIFIER;
hillTimer = 0;
}
hillTimer = hillTimer + 1;
seneryTimer = seneryTimer + 1;
if ((level.totalTargetsLaunched >= level.numberOfTargets) && (_global.arrayTargets.length <= 0)) {
doEndOfLevel();
} else {
level.doLaunchCheck(targetLayer);
}
if ((Key.isDown(82) == true) && (gun.reloadDisabled != true)) {
if (useReloadKey == true) {
useReloadKey = false;
gun.reload();
}
}
if (Key.isDown(83) != true) {
useReloadKey = true;
}
if (Key.isDown(87) == true) {
if (useWhammy == true) {
doWhammy();
}
}
if (Key.isDown(87) != true) {
useWhammy = true;
}
}
function onMouseDown() {
if (_global.isPaused) {
return(false);
}
if (_parent[_name].btnReload.hitTest(_root._xmouse, _root._ymouse, true)) {
gun.reload();
return(false);
}
if (_parent[_name].btnReload2.hitTest(_root._xmouse, _root._ymouse, true)) {
gun.reload();
return(false);
}
if (_parent[_name].btnOptions.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_global.isPaused == false) {
Mouse.show();
gun.sights._visible = false;
var _local4 = attachMovie("gameOptions", "gameOptions", getNextHighestDepth());
}
return(false);
}
gun.fire();
}
function doEndOfLevel() {
_global.isPaused = true;
playInGameMusic(false);
endOfLevel = attachMovie("endOfLevel", "endOfLevel", getNextHighestDepth());
if ((_global.quit != true) && ((_global.targetsHit >= _global.targetHitsRequired) && (getLevelAcuracy() >= _global.difficultyLevel))) {
if (_global.levelNumber == _global.MAX_LEVEL) {
_global.gameComplete = 1;
endOfLevel.gotoAndPlay("gameComplete");
} else {
if (_global.levelProgress[_global.difficultyLevel] <= _global.levelNumber) {
_global.levelProgress[_global.difficultyLevel] = _global.levelNumber;
var _local14 = SharedObject.getLocal(_global.SHARED_OBJECT);
_local14.data.levelProgress = _global.levelProgress;
}
endOfLevel.gotoAndPlay("wellDone");
}
} else {
endOfLevel.gotoAndPlay("gameOver");
}
var _local8 = new Array();
var _local16;
var _local15 = 0;
var _local10 = 30;
var _local12 = 0;
var _local7;
var _local4 = new Array();
var _local3 = 0;
while (_local3 <= (_global.arrayAwards.length - 1)) {
_local8.push(checkAward(_global.arrayAwards[_local3][1]));
_local3++;
}
updateGameStats();
var _local5 = endOfLevel.createEmptyMovieClip("awardLayer" + endOfLevel.getNextHighestDepth(), endOfLevel.getNExtHighestDepth());
if (_global.KONG == true) {
var _local11 = new KongFunctions();
}
var _local6;
_local3 = 0;
while (_local3 <= (_global.arrayAwards.length - 1)) {
_local6 = checkAward(_global.arrayAwards[_local3][1]);
if ((_local8[_local3] != true) && (_local6 == true)) {
_local7 = _local5.attachMovie(_global.arrayAwards[_local3][0], _global.arrayAwards[_local3][0] + _local5.getNextHighestDepth(), _local5.getNextHighestDepth());
_local12 = _local12 + (_local7._width + _local10);
_local4.push(_local7);
if ((_global.KONG == true) && (_local6 == true)) {
_local11.submitAwardEarned(_global.arrayAwards[_local3][0], 1);
}
}
_local3++;
}
var _local9 = 0;
_local3 = 0;
while (_local3 <= (_local4.length - 1)) {
_local4[_local3]._x = _local9;
_local4[_local3]._y = _global.AWARD_Y_POS;
_local9 = _local9 + (_local4[_local3]._width + _local10);
_local3++;
}
_local5._x = Math.abs(Stage.width / 2) - (_local5._width / 2);
if (_global.KONG == true) {
var _local13 = _global.difficultyLevel;
_local11.submitLevel(_global.levelNumber, _local13);
_local11.submitScore(_global.score, _local13);
_local11.submitGameComplete(_global.gameComplete, _local13);
}
}
function getLevelTargetsHitPercent() {
return((_global.targetsHit / level.numberOfTargets) * 100);
}
function getLevelAcuracy() {
if (_global.shotsFired == 0) {
return(0);
}
return(Math.round((_global.targetsHit / _global.shotsFired) * 100));
}
function levelOverStats() {
var _local3;
var _local6 = 16;
var _local4 = true;
var _local5 = new myFunctions();
_local3 = endOfLevel.endOfLevelInfoBox.txtHitsInARow;
_local3.text = _global.hitsInARow;
_local5.formatText(_local3, _local6, _local4);
_local3 = endOfLevel.endOfLevelInfoBox.txtAcuracy;
_local3.text = getLevelAcuracy() + "%";
_local5.formatText(_local3, _local6, _local4);
_local3 = endOfLevel.endOfLevelInfoBox.txtTargetsHit;
_local3.text = _global.targetsHit;
_local5.formatText(_local3, _local6, _local4);
_local3 = endOfLevel.endOfLevelInfoBox.txtLevel;
_local3.text = _global.levelNumber;
_local5.formatText(_local3, _local6, _local4);
_local3 = endOfLevel.endOfLevelInfoBox.txtScore;
_local3.text = _global.score;
_local5.formatText(_local3, _local6, _local4);
}
function updateInfoBox() {
var _local5 = new myFunctions();
var _local3;
var _local6 = 14;
var _local4 = true;
_local3 = _parent[_name].infoBox.txtScore;
_local3.text = _global.score;
_local5.formatText(_local3, _local6, _local4);
_local3 = _parent[_name].infoBox.txtLevel;
_local3.text = _global.levelNumber;
_local5.formatText(_local3, _local6, _local4);
_local3 = _parent[_name].infoBox.txtHitsInARow;
_local3.text = _global.hitsInARow;
_local5.formatText(_local3, _local6, _local4);
_local3 = _parent[_name].infoBox.txtAcuracy;
_local3.text = getLevelAcuracy() + "%";
_local5.formatText(_local3, _local6, _local4);
_local3 = _parent[_name].infoBox.txtTargetsLeft;
var _local7 = level.numberOfTargets - level.totalTargetsLaunched;
_local3.text = _local7.toString();
_local5.formatText(_local3, _local6, _local4);
_local3 = _parent[_name].infoBox.txtTargetsHit;
_local3.text = _global.targetsHit;
_local5.formatText(_local3, _local6, _local4);
_local3 = _parent[_name].infoBox.txtTargetHitsRequired;
_local3.text = _global.targetHitsRequired;
_local5.formatText(_local3, _local6, _local4);
}
function updateGameStats() {
var _local3 = SharedObject.getLocal(_global.SHARED_OBJECT);
if (_local3.data.gnomesHit == null) {
_local3.data.gnomesHit = 0;
}
_local3.data.gnomesHit = _global.gnomesHit;
if (_local3.data.levelNumber == null) {
_local3.data.levelNumber = 0;
}
if (_local3.data.levelNumber < _global.levelNumber) {
_local3.data.levelNumber = _global.levelNumber;
}
if (_local3.data.levelAcuracy == null) {
_local3.data.levelAcuracy = 0;
}
if (_local3.data.levelAcuracy < getLevelAcuracy()) {
_local3.data.levelAcuracy = getLevelAcuracy();
}
if (_local3.data.levelTargetsHitPercent == null) {
_local3.data.levelTargetsHitPercent = 0;
}
if (_local3.data.levelTargetsHitPercent < getLevelTargetsHitPercent()) {
_local3.data.levelTargetsHitPercent = getLevelTargetsHitPercent();
}
if (_local3.data.hitsInARow == null) {
_local3.data.hitsInARow = 0;
}
if (_local3.data.hitsInARow < _global.hitsInARow) {
_local3.data.hitsInARow = _global.hitsInARow;
}
if (_local3.data.score == null) {
_local3.data.score = 0;
}
if (_local3.data.score < _global.score) {
_local3.data.score = _global.score;
}
if (_local3.data.level == null) {
_local3.data.level = 0;
}
if (_local3.data.score < _global.level) {
_local3.data.score = _global.score;
}
if (_local3.data.gameComplete == null) {
_local3.data.gameComplete = 0;
}
_local3.data.gameComplete = _global.gameComplete;
}
function newLevel() {
_global.quit = false;
var _local5 = new myFunctions();
_global.levelNumber = _global.levelNumber + 1;
_global.ammoInfinite = 0;
level = new Level();
level.makeLevel(_global.levelNumber);
grassArea.gotoAndStop(level.terrainType);
_global.targetHitsRequired = Math.ceil(level.numberOfTargets * (_global.difficultyLevel / 100));
useReloadKey = true;
useWhammy = true;
hillLayer.removeMovieClip();
hillLayer = createEmptyMovieClip("hillLayer" + getNextHighestDepth(), getNextHighestDepth());
var _local6 = makeRandomSenery(_global.arrayHillName, hillLayer);
_local6.placeSeneryY();
_local6._x = -50;
_local6 = makeRandomSenery(_global.arrayHillName, hillLayer);
_local6.placeSeneryY();
_local6._x = Stage.width / 2;
timeTillNextHill = 400;
timeTillNextWall = 0;
seneryLayer.removeMovieClip();
seneryLayer = createEmptyMovieClip("sceneryLayer", getNextHighestDepth());
var _local3;
var _local4 = 0;
while (_local4 <= _local5.randomNumber(6, 10)) {
_local3 = makeRandomSenery(_global.arraySeneryName, seneryLayer);
_local3.placeSeneryY();
_local3.placeSeneryXRandom(0, Stage.width - _local3._width);
_local4++;
}
timeTillNextSenery = 0;
targetLayer.removeMovieClip();
targetLayer = createEmptyMovieClip("targetLayer", getNextHighestDepth());
wallLayer.removeMovieClip();
wallLayer = createEmptyMovieClip("wallLayer", getNextHighestDepth());
if (gun != null) {
_local4 = 0;
while (_local4 <= (gun.arrayAmmo.length - 1)) {
gun.arrayAmmo[gun.arrayAmmo.length - 1].removeMovieClip();
gun.arrayAmmo.pop();
_local4++;
}
}
var _local7;
_local7 = "shotgunDoubleBarrel";
if ((_global.levelNumber >= 5) && (_global.levelNumber < 10)) {
_local7 = "shotgunPumpAction";
gun.ammoMax = 5;
}
if (_global.levelNumber >= 10) {
_local7 = "shotgunCombat";
gun.ammoMax = 5;
}
_global.ammoInfinite = 0;
gun.infiniteAmmo.removeMovieClip();
gun.removeMovieClip();
gun = attachMovie(_local7, _local7 + getNextHighestDepth(), getNextHighestDepth());
gun._y = Stage.height;
gun._x = Stage.width / 2;
gun.ammoMax = 2;
if ((_global.levelNumber >= _global.LEVEL_PUMP) && (_global.levelNumber < _global.LEVEL_COMBAT)) {
gun.ammoMax = 5;
gun.reloadTime = 4;
}
if (_global.levelNumber >= _global.LEVEL_COMBAT) {
gun.ammoMax = 5;
gun.reloadTime = 3;
}
gun.ammoRemaining = 0;
ammoLayer.removeMovieClip();
ammoLayer = createEmptyMovieClip("ammoLayer", getNextHighestDepth());
gun.sights = attachMovie("shotgunSights", "shotgunSights" + getNextHighestDepth(), getNextHighestDepth());
gun.sights.gotoAndStop("normal");
if (_global.levelNumber >= _global.LEVEL_COMBAT) {
gun.sights.gotoAndStop("combat");
}
_global.isPaused = false;
launchTimer = 0;
_global.shotsFired = 0;
_global.targetsHit = 0;
_global.targetsEscaped = 0;
playInGameMusic(_global.arrayInGameMusic[_local5.randomNumber(0, _global.arrayInGameMusic.length - 1)]);
playInGameMusic(_global.musicIsOn);
var _local8 = attachMovie(level.wallPartToUse, level.wallPartToUse, getNextHighestDepth());
wallPartLength = _local8._width;
_local8.removeMovieClip();
wallCounter = 0;
_global.levelMovingX = level.levelMovingX;
attachMovie("levelStart", "levelStart_" + getNextHighestDepth(), getNextHighestDepth());
}
function makeRandomSenery(myArray, objLayer) {
var _local7 = new myFunctions();
var _local2 = _local7.randomNumber(0, myArray.length - 1);
var _local3 = myArray[_local2][0];
var _local6 = myArray[_local2][1];
var _local4 = objLayer.attachMovie(_local3, (_local3 + "_") + objLayer.getNextHighestDepth(), objLayer.getNextHighestDepth());
_local4.seneryType = _local6;
return(placeSeneryItem(_local4));
}
function placeSeneryItem(objSenery) {
objSenery.placeSeneryY();
objSenery.placeSeneryX();
return(objSenery);
}
function playInGameMusic(sound) {
switch (sound) {
case false :
inGameMusic.stop();
break;
case true :
inGameMusic.start(0, 99999);
break;
default :
inGameMusic = new Sound(this);
inGameMusic.attachSound(sound);
inGameMusic.start(0, 99999);
}
}
function makeWall(wallHeightInRows, faceLeft, wallPartToUse) {
var _local3;
var _local2 = 1;
while (_local2 <= wallHeightInRows) {
_local3 = _local2;
makeBrickRow(_local3, faceLeft, wallPartToUse);
_local2++;
}
}
function makeBrickRow(rowNumber, faceLeft, wallPartToUse) {
var _local4;
var _local3 = 1;
if (faceLeft == true) {
_local3 = -1;
}
if (isEven(rowNumber) == true) {
_local3 = _local3 * -1;
}
if (_local3 == 1) {
_local3 = "Right";
} else {
_local3 = "Left";
}
_local3 = "";
if (rowNumber == 1) {
_local4 = wallLayer.attachMovie(wallPartToUse + "Stump", ((wallPartToUse + "Stump") + "_") + wallLayer.getNextHighestDepth(), wallLayer.getNextHighestDepth());
} else {
_local4 = wallLayer.attachMovie(wallPartToUse, (wallPartToUse + "_") + wallLayer.getNextHighestDepth(), wallLayer.getNextHighestDepth());
}
_local4._x = _global.WALL_START_X;
_local4._y = (_global.WALL_START_Y + _parent[_name].sky._height) - ((_local4._height - 20) * (rowNumber - 1));
return(_local4);
}
function moveWall() {
var _local4 = new _local4[undefined]();
for (var _local3 in wallLayer) {
wallLayer[_local3]._x = wallLayer[_local3]._x + (_global.WALL_MOVE_SPEED * level.levelMovingX);
if ((wallLayer[_local3]._x <= (-wallLayer[_local3]._width)) && (level.levelMovingX < 0)) {
wallLayer[_local3].removeMovieClip();
}
if ((wallLayer[_local3]._x >= Stage.width) && (level.levelMovingX > 0)) {
wallLayer[_local3].removeMovieClip();
}
}
}
function checkAward(awardToCheck) {
var _local2 = SharedObject.getLocal(_global.SHARED_OBJECT);
var _local4 = true;
for (var _local5 in awardToCheck) {
if ((_local2.data[_local5] < awardToCheck[_local5]) || (_local2.data[_local5] == null)) {
_local4 = false;
}
}
return(_local4);
}
function isEven(myNumber) {
if ((myNumber / 2) == Math.round(myNumber / 2)) {
return(true);
}
return(false);
}
function doMoveMan() {
if (_global.MAN_MOVE_SPEED != 0) {
level.levelMovingX = 0;
if (Key.isDown(68)) {
if (gun._x <= Stage.width) {
level.levelMovingX = 1;
gun._x = gun._x + (level.levelMovingX * _global.MAN_MOVE_SPEED);
}
}
if (Key.isDown(65)) {
if (gun._x >= 0) {
level.levelMovingX = -1;
gun._x = gun._x + (level.levelMovingX * _global.MAN_MOVE_SPEED);
}
}
}
}
function doStep() {
var _local3 = Math.abs(level.levelMovingX);
if (steppingUp == false) {
gun._y = gun._y - _local3;
gun.sights._y = gun.sights._y - _local3;
} else {
gun._y = gun._y + _local3;
gun.sights._y = gun.sights._y + _local3;
}
if (gun._y <= Stage.height) {
steppingUp = true;
}
if (gun._y >= (_global.STEP_HEIGHT_MAX + Stage.height)) {
steppingUp = false;
}
}
function doWhammy() {
if (((arrayWhammy.length - 1) >= 0) && (useWhammy == true)) {
useWhammy = false;
arrayWhammy[arrayWhammy.length - 1].removeMovieClip();
arrayWhammy.pop();
var _local5 = attachMovie("whammyExplosion", "whammyExplosion_" + getNextHighestDepth(), getNextHighestDepth());
_local5._y = Stage.height / 2;
_local5._x = Stage.width / 2;
var _local4 = 0;
var _local3 = 0;
while (_local3 <= (_global.arrayTargets.length - 1)) {
_global.arrayTargets[_local3].isHit();
_local4 = _local4 + 1;
gun.doScore(_local4);
_local3++;
}
}
}
}
Symbol 547 MovieClip [__Packages.Level] Frame 0
class Level
{
var numberOfTargets, arrayTargetLaunchers, totalTargetsLaunched, levelMovingY, levelMovingX, seneryStartX, wallPartToUse, terrainType, useWall;
function Level () {
}
function makeLevel(levelNumber) {
numberOfTargets = _global.TARGETS_PER_LEVEL_DEFAULT;
arrayTargetLaunchers = new Array();
totalTargetsLaunched = 0;
var _local3;
levelMovingY = 0;
levelMovingX = 0;
seneryStartX = _global.SENERY_START_X;
wallPartToUse = "wallFirTree";
levelMovingX = -1;
terrainType = _global.TERRAIN_TYPE_GRASS;
_global.arrayHillName = _global.arrayHillGrassName;
_global.arraySeneryName = _global.arraySeneryGrassName;
switch (levelNumber) {
case 100 :
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_INFINITE_AMMO);
_local3.launchIn = 2;
_local3.launchInMin = 2;
_local3.launchInMax = 2;
_local3.launchAmountMin = 2;
_local3.launchAmountMax = 2;
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_SAUCER2);
_local3.launchIn = 2;
_local3.launchInMin = 2;
_local3.launchInMax = 2;
_local3.launchAmountMin = 2;
_local3.launchAmountMax = 2;
arrayTargetLaunchers.push(_local3);
useWall = true;
levelMovingX = -1;
break;
case 1 :
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_PLATE2);
_local3.launchIn = 1;
_local3.launchAmountMin = 2;
_local3.launchAmountMax = 2;
arrayTargetLaunchers.push(_local3);
if (_global.difficultyLevel != _global.DIFFICULTY_LEVEL_EASY) {
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_BIRD1);
_local3.launchIn = 15;
if (_global.difficultyLevel == _global.DIFFICULTY_LEVEL_HARD) {
_local3.launchIn = 10;
}
_local3.launchInMin = 6;
_local3.launchInMax = 7;
_local3.launchAmountMax = 1;
_local3.launchAmountMin = 1;
arrayTargetLaunchers.push(_local3);
}
useWall = false;
terrainType = _global.TERRAIN_TYPE_DESERT;
_global.arraySeneryName = _global.arraySeneryDesertName;
_global.arrayHillName = _global.arrayHillDesertName;
wallPartToUse = "wallDesert";
levelMovingX = -1;
break;
case 2 :
numberOfTargets = numberOfTargets + 10;
if (_global.difficultyLevel == _global.DIFFICULTY_LEVEL_EASY) {
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_BIRD1);
_local3.launchAmountMin = 2;
_local3.launchAmountMax = 2;
arrayTargetLaunchers.push(_local3);
}
if (_global.difficultyLevel == _global.DIFFICULTY_LEVEL_MEDIUM) {
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_SAUCER1);
_local3.launchAmountMin = 2;
_local3.launchAmountMax = 2;
arrayTargetLaunchers.push(_local3);
}
if (_global.difficultyLevel == _global.DIFFICULTY_LEVEL_HARD) {
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_SAUCER2);
_local3.launchAmountMin = 2;
_local3.launchAmountMax = 2;
arrayTargetLaunchers.push(_local3);
}
useWall = false;
if (_global.difficultyLevel != _global.DIFFICULTY_LEVEL_EASY) {
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_PLATE1);
_local3.launchAmountMax = 1;
_local3.launchAmountMin = 1;
_local3.launchIn = 3;
_local3.launchInMin = 10;
_local3.launchInMax = 10;
arrayTargetLaunchers.push(_local3);
}
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_BONUS_SCORE_50);
arrayTargetLaunchers.push(_local3);
break;
case 3 :
numberOfTargets = numberOfTargets + 20;
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_PLATE1);
_local3.launchAmountMin = 1;
if (_global.difficultyLevel != _global.DIFFICULTY_LEVEL_EASY) {
_local3.launchAmountMin = 2;
}
_local3.launchAmountMax = 2;
if (_global.difficultyLevel == _global.DIFFICULTY_LEVEL_HARD) {
}
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_BIRD1);
_local3.launchIn = 3;
_local3.launchInMin = 3;
_local3.launchInMax = 8;
_local3.launchAmountMax = 2;
if (_global.difficultyLevel != _global.DIFFICULTY_LEVEL_EASY) {
_local3.launchInMin = 2;
_local3.launchInMax = 5;
}
arrayTargetLaunchers.push(_local3);
useWall = true;
if (_global.difficultyLevel == _global.DIFFICULTY_LEVEL_EASY) {
useWall = false;
}
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_BONUS_SCORE_50);
arrayTargetLaunchers.push(_local3);
terrainType = _global.TERRAIN_TYPE_DESERT;
_global.arraySeneryName = _global.arraySeneryDesertName;
_global.arrayHillName = _global.arrayHillDesertName;
wallPartToUse = "wallDesert";
break;
case 4 :
numberOfTargets = numberOfTargets + 25;
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_PLATE1);
_local3.launchAmountMin = 1;
_local3.launchAmountMax = 2;
if (_global.difficultyLevel == _global.DIFFICULTY_LEVEL_HARD) {
_local3.launchAmountMax = 3;
}
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_BIRD2);
_local3.launchIn = 4;
_local3.launchInMin = 2;
_local3.launchInMax = 3;
_local3.launchAmountMin = 1;
_local3.launchAmountMax = 2;
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_SNOWMAN1);
_local3.launchAmountMin = 1;
_local3.launchAmountMax = 1;
arrayTargetLaunchers.push(_local3);
useWall = true;
if (_global.difficultyLevel == _global.DIFFICULTY_LEVEL_EASY) {
useWall = false;
}
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_BONUS_SCORE_50);
arrayTargetLaunchers.push(_local3);
terrainType = _global.TERRAIN_TYPE_SNOW;
_global.arraySeneryName = _global.arraySenerySnowName;
_global.arrayHillName = _global.arrayHillSnowName;
wallPartToUse = "wallSnow";
break;
case 5 :
numberOfTargets = numberOfTargets + 25;
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_BIRD1);
_local3.launchInMin = 2;
_local3.launchInMax = 3;
_local3.launchAmountMin = 2;
_local3.launchAmountMax = 3;
if (_global.difficultyLevel == _global.DIFFICULTY_LEVEL_EASY) {
_local3.launchAmountMax = 2;
}
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_PLATE1);
_local3.launchAmountMin = 1;
_local3.launchAmountMax = 1;
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_STATUE1);
_local3.launchAmountMin = 1;
_local3.launchAmountMax = 1;
arrayTargetLaunchers.push(_local3);
useWall = true;
numberOfTargets = numberOfTargets + 20;
if (_global.difficultyLevel == _global.DIFFICULTY_LEVEL_EASY) {
useWall = false;
}
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_BONUS_SCORE_100);
arrayTargetLaunchers.push(_local3);
break;
case 6 :
numberOfTargets = numberOfTargets + 30;
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_BIRD1);
_local3.launchInMin = 2;
_local3.launchInMax = 3;
_local3.launchAmountMin = 2;
_local3.launchAmountMax = 3;
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_GNOME_FLYING1);
_local3.launchAmountMin = 2;
_local3.launchAmountMax = 2;
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_SNOWMAN1);
_local3.launchAmountMin = 1;
_local3.launchAmountMax = 1;
arrayTargetLaunchers.push(_local3);
terrainType = _global.TERRAIN_TYPE_SNOW;
_global.arraySeneryName = _global.arraySenerySnowName;
_global.arrayHillName = _global.arrayHillSnowName;
wallPartToUse = "wallFirTree";
useWall = true;
levelMovingX = -1;
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_BONUS_SCORE_100);
arrayTargetLaunchers.push(_local3);
break;
case 7 :
numberOfTargets = numberOfTargets + 30;
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_BIRD1);
_local3.launchInMin = 2;
_local3.launchInMax = 3;
_local3.launchAmountMin = 1;
_local3.launchAmountMax = 2;
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_PLATE1);
_local3.launchAmountMin = 1;
_local3.launchAmountMax = 1;
_local3.launchIn = 5;
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_GNOME_FLYING1);
_local3.launchAmountMin = 2;
_local3.launchAmountMax = 2;
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_STATUE1);
_local3.launchAmountMin = 1;
_local3.launchAmountMax = 1;
arrayTargetLaunchers.push(_local3);
useWall = false;
terrainType = _global.TERRAIN_TYPE_DESERT;
_global.arraySeneryName = _global.arraySeneryDesertName;
_global.arrayHillName = _global.arrayHillDesertName;
wallPartToUse = "wallDesert";
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_INFINITE_AMMO);
arrayTargetLaunchers.push(_local3);
break;
case 8 :
numberOfTargets = numberOfTargets + 40;
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_BIRD2);
_local3.launchInMin = 2;
_local3.launchInMax = 3;
_local3.launchAmountMin = 1;
_local3.launchAmountMax = 2;
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_PLATE1);
arrayTargetLaunchers.push(_local3);
_local3.launchAmountMin = 2;
_local3.launchAmountMax = 2;
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_GNOME1);
_local3.launchAmountMin = 1;
_local3.launchAmountMax = 1;
arrayTargetLaunchers.push(_local3);
useWall = true;
break;
case 9 :
numberOfTargets = numberOfTargets + 50;
_local3 = new TargetLauncher();
if (_global.difficultyLevel == _global.DIFFICULTY_LEVEL_HARD) {
_local3.make(_global.TARGET_SAUCER2);
} else {
_local3.make(_global.TARGET_SAUCER1);
}
_local3.launchInMin = 2;
_local3.launchInMax = 3;
_local3.launchAmountMin = 1;
_local3.launchAmountMax = 2;
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_PLATE1);
arrayTargetLaunchers.push(_local3);
_local3.launchAmountMin = 2;
_local3.launchAmountMax = 2;
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_STATUE1);
_local3.launchAmountMin = 1;
_local3.launchAmountMax = 2;
arrayTargetLaunchers.push(_local3);
terrainType = _global.TERRAIN_TYPE_SNOW;
_global.arraySeneryName = _global.arraySenerySnowName;
_global.arrayHillName = _global.arrayHillSnowName;
wallPartToUse = "wallFirTree";
useWall = true;
levelMovingX = -1;
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_INFINITE_AMMO);
arrayTargetLaunchers.push(_local3);
break;
case 10 :
numberOfTargets = numberOfTargets + 50;
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_SAUCER1);
_local3.launchInMin = 2;
_local3.launchInMax = 3;
_local3.launchAmountMin = 1;
_local3.launchAmountMax = 2;
if (_global.difficultyLevel != _global.DIFFICULTY_LEVEL_EASY) {
_local3.launchAmountMax = 3;
}
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_BIRD2);
_local3.launchInMin = 2;
_local3.launchInMax = 3;
_local3.launchAmountMin = 1;
_local3.launchAmountMax = 3;
arrayTargetLaunchers.push(_local3);
if (_global.difficultyLevel != _global.DIFFICULTY_LEVEL_EASY) {
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_PLATE1);
arrayTargetLaunchers.push(_local3);
_local3.launchAmountMin = 1;
_local3.launchAmountMax = 2;
if (_global.difficultyLevel == _global.DIFFICULTY_LEVEL_HARD) {
_local3.launchAmountMax = 3;
}
arrayTargetLaunchers.push(_local3);
}
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_GNOME_FLYING1);
arrayTargetLaunchers.push(_local3);
_local3.launchAmountMin = 1;
_local3.launchAmountMax = 2;
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_STATUE1);
_local3.launchAmountMin = 1;
_local3.launchAmountMax = 1;
arrayTargetLaunchers.push(_local3);
terrainType = _global.TERRAIN_TYPE_DESERT;
_global.arraySeneryName = _global.arraySeneryDesertName;
_global.arrayHillName = _global.arrayHillDesertName;
wallPartToUse = "wallDesert";
useWall = true;
levelMovingX = -1;
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_INFINITE_AMMO);
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_BONUS_SCORE_50);
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_BONUS_SCORE_100);
arrayTargetLaunchers.push(_local3);
break;
case 11 :
numberOfTargets = numberOfTargets + 50;
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_BIRD1);
_local3.launchInMin = 2;
_local3.launchInMax = 4;
_local3.launchAmountMin = 1;
_local3.launchAmountMax = 3;
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_GNOME_FLYING1);
arrayTargetLaunchers.push(_local3);
_local3.launchInMin = 2;
_local3.launchInMax = 4;
_local3.launchAmountMin = 1;
_local3.launchAmountMax = 3;
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_BIRD2);
_local3.launchInMin = 2;
_local3.launchInMax = 3;
_local3.launchAmountMin = 1;
_local3.launchAmountMax = 2;
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_INFINITE_AMMO);
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_BONUS_SCORE_50);
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_BONUS_SCORE_100);
arrayTargetLaunchers.push(_local3);
break;
case 12 :
numberOfTargets = numberOfTargets + 50;
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_SAUCER1);
_local3.launchInMin = 2;
_local3.launchInMax = 3;
_local3.launchAmountMin = 1;
_local3.launchAmountMax = 3;
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_PLATE2);
arrayTargetLaunchers.push(_local3);
_local3.launchAmountMin = 1;
_local3.launchAmountMax = 2;
_local3.launchInMin = 1;
_local3.launchInMax = 3;
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_STATUE1);
_local3.launchAmountMin = 1;
_local3.launchAmountMax = 1;
arrayTargetLaunchers.push(_local3);
if (_global.difficultyLevel != _global.DIFFICULTY_LEVEL_EASY) {
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_SAUCER2);
_local3.launchInMin = 2;
_local3.launchInMax = 3;
_local3.launchAmountMin = 1;
_local3.launchAmountMax = 3;
arrayTargetLaunchers.push(_local3);
}
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_INFINITE_AMMO);
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_BONUS_SCORE_50);
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_BONUS_SCORE_100);
arrayTargetLaunchers.push(_local3);
terrainType = _global.TERRAIN_TYPE_DESERT;
_global.arraySeneryName = _global.arraySeneryDesertName;
_global.arrayHillName = _global.arrayHillDesertName;
useWall = true;
wallPartToUse = "wallDesert";
break;
case 13 :
numberOfTargets = numberOfTargets + 60;
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_BIRD1);
_local3.launchInMin = 2;
_local3.launchInMax = 3;
_local3.launchAmountMin = 1;
_local3.launchAmountMax = 3;
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_GNOME_FLYING1);
arrayTargetLaunchers.push(_local3);
_local3.launchAmountMin = 1;
_local3.launchAmountMax = 2;
_local3.launchInMin = 1;
_local3.launchInMax = 3;
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_PLATE1);
arrayTargetLaunchers.push(_local3);
_local3.launchAmountMin = 2;
_local3.launchAmountMax = 2;
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_SNOWMAN1);
_local3.launchAmountMin = 1;
_local3.launchAmountMax = 1;
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_INFINITE_AMMO);
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_BONUS_SCORE_50);
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_BONUS_SCORE_100);
arrayTargetLaunchers.push(_local3);
terrainType = _global.TERRAIN_TYPE_SNOW;
_global.arraySeneryName = _global.arraySenerySnowName;
_global.arrayHillName = _global.arrayHillSnowName;
if (_global.difficultyLevel != _global.DIFFICULTY_LEVEL_EASY) {
useWall = true;
}
wallPartToUse = "wallFirTree";
break;
case 14 :
numberOfTargets = numberOfTargets + 70;
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_BIRD2);
_local3.launchInMin = 2;
_local3.launchInMax = 3;
_local3.launchAmountMin = 1;
_local3.launchAmountMax = 3;
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_PLATE2);
arrayTargetLaunchers.push(_local3);
_local3.launchAmountMin = 2;
_local3.launchAmountMax = 2;
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_GNOME_FLYING1);
arrayTargetLaunchers.push(_local3);
_local3.launchAmountMin = 1;
_local3.launchAmountMax = 2;
_local3.launchInMin = 1;
_local3.launchInMax = 3;
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_INFINITE_AMMO);
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_BONUS_SCORE_50);
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_BONUS_SCORE_100);
arrayTargetLaunchers.push(_local3);
break;
case 15 :
numberOfTargets = numberOfTargets + 80;
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_BIRD1);
_local3.launchInMin = 2;
_local3.launchInMax = 5;
_local3.launchAmountMin = 1;
_local3.launchAmountMax = 3;
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
if (_global.difficultyLevel != _global.DIFFICULTY_LEVEL_EASY) {
_local3.make(_global.TARGET_SAUCER2);
} else {
_local3.make(_global.TARGET_SAUCER1);
}
_local3.launchInMin = 2;
_local3.launchInMax = 4;
_local3.launchAmountMin = 1;
_local3.launchAmountMax = 2;
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_GNOME_FLYING1);
arrayTargetLaunchers.push(_local3);
_local3.launchInMin = 2;
_local3.launchInMax = 5;
_local3.launchAmountMin = 1;
_local3.launchAmountMax = 3;
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_PLATE1);
arrayTargetLaunchers.push(_local3);
_local3.launchAmountMin = 2;
_local3.launchAmountMax = 2;
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_GNOME1);
_local3.launchAmountMin = 1;
_local3.launchAmountMax = 1;
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_INFINITE_AMMO);
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_BONUS_SCORE_50);
arrayTargetLaunchers.push(_local3);
_local3 = new TargetLauncher();
_local3.make(_global.TARGET_BONUS_SCORE_100);
arrayTargetLaunchers.push(_local3);
terrainType = _global.TERRAIN_TYPE_DESERT;
_global.arraySeneryName = _global.arraySeneryDesertName;
_global.arrayHillName = _global.arrayHillDesertName;
wallPartToUse = "wallDesert";
}
}
function doLaunchCheck(objLayer) {
var _local5 = new myFunctions();
for (var _local7 in arrayTargetLaunchers) {
if (arrayTargetLaunchers[_local7].launchTimer >= (arrayTargetLaunchers[_local7].launchIn * _global.framesPerSecond)) {
arrayTargetLaunchers[_local7].launchIn = _local5.randomNumber(arrayTargetLaunchers[_local7].launchInMin, arrayTargetLaunchers[_local7].launchInMax);
arrayTargetLaunchers[_local7].launchTimer = 0;
var _local4 = _local5.randomNumber(arrayTargetLaunchers[_local7].launchAmountMin, arrayTargetLaunchers[_local7].launchAmountMax);
var _local3 = 0;
while (_local3 <= (_local4 - 1)) {
launchTarget(arrayTargetLaunchers[_local7], objLayer);
_local3++;
}
}
arrayTargetLaunchers[_local7].launchTimer = arrayTargetLaunchers[_local7].launchTimer + 1;
}
}
function launchTarget(objTargetLauncher, objLayer) {
if (totalTargetsLaunched < numberOfTargets) {
var _local4 = objTargetLauncher.targetName;
var _local3 = objLayer.attachMovie(_local4, _local4 + objLayer.getNextHighestDepth(), objLayer.getNextHighestDepth());
_local3.targetType = objTargetLauncher.targetType;
if (_local3.targetType != _global.TARGET_TYPE_BONUS) {
totalTargetsLaunched = totalTargetsLaunched + 1;
}
_global.arrayTargets.push(_local3);
}
}
}
Symbol 548 MovieClip [__Packages.TargetLauncher] Frame 0
class TargetLauncher
{
var targetName, launchInMin, launchInMax, launchTimer, launchIn, launchAmountMin, launchAmountMax, targetType;
function TargetLauncher () {
}
function make(targetLauncherName) {
targetName = targetLauncherName;
switch (targetLauncherName) {
case _global.TARGET_PLATE1 :
launchInMin = 3;
launchInMax = 3;
launchTimer = 0;
launchIn = 1;
launchAmountMin = 2;
launchAmountMax = 2;
targetType = _global.TARGET_TYPE_PLATE;
break;
case _global.TARGET_PLATE2 :
launchInMin = 3;
launchInMax = 3;
launchTimer = 0;
launchIn = 1;
launchAmountMin = 2;
launchAmountMax = 2;
targetType = _global.TARGET_TYPE_PLATE;
break;
case _global.TARGET_GNOME_FLYING1 :
launchInMin = 3;
launchInMax = 3;
launchTimer = 0;
launchIn = 1;
launchAmountMin = 2;
launchAmountMax = 2;
targetType = _global.TARGET_TYPE_PLATE;
break;
case _global.TARGET_BIRD1 :
launchInMin = 2;
launchInMax = 2;
launchTimer = 0;
launchAmountMin = 1;
launchAmountMax = 3;
launchIn = 1;
targetType = _global.TARGET_TYPE_BIRD;
break;
case _global.TARGET_BIRD2 :
launchInMin = 2;
launchInMax = 2;
launchTimer = 0;
launchAmountMin = 2;
launchAmountMax = 3;
launchIn = 1;
targetType = _global.TARGET_TYPE_BIRD;
break;
case _global.TARGET_SAUCER1 :
launchInMin = 2;
launchInMax = 2;
launchTimer = 0;
launchAmountMin = 2;
launchAmountMax = 3;
launchIn = 1;
targetType = _global.TARGET_TYPE_BIRD;
break;
case _global.TARGET_SAUCER2 :
launchInMin = 2;
launchInMax = 2;
launchTimer = 0;
launchAmountMin = 2;
launchAmountMax = 3;
launchIn = 1;
targetType = _global.TARGET_TYPE_BIRD;
break;
case _global.TARGET_STATUE1 :
launchInMin = 5;
launchInMax = 10;
launchTimer = 0;
launchIn = 2;
launchAmountMax = 1;
launchAmountMin = 1;
targetType = _global.TARGET_TYPE_STATIC;
break;
case _global.TARGET_GNOME1 :
launchInMin = 5;
launchInMax = 10;
launchTimer = 0;
launchIn = 2;
launchAmountMax = 1;
launchAmountMin = 1;
targetType = _global.TARGET_TYPE_STATIC;
break;
case _global.TARGET_SNOWMAN1 :
launchInMin = 5;
launchInMax = 10;
launchTimer = 0;
launchIn = 2;
launchAmountMax = 1;
launchAmountMin = 1;
targetType = _global.TARGET_TYPE_STATIC;
break;
case _global.TARGET_BONUS_SCORE_100 :
launchInMin = 8;
launchInMax = 18;
launchTimer = 0;
launchIn = 13;
launchAmountMax = 1;
launchAmountMin = 1;
targetType = _global.TARGET_TYPE_BONUS;
break;
case _global.TARGET_BONUS_SCORE_50 :
launchInMin = 7;
launchInMax = 18;
launchTimer = 0;
launchIn = 7;
launchAmountMax = 1;
launchAmountMin = 1;
targetType = _global.TARGET_TYPE_BONUS;
break;
case _global.TARGET_INFINITE_AMMO :
launchInMin = 10;
launchInMax = 20;
launchTimer = 0;
launchIn = 11;
launchAmountMax = 1;
launchAmountMin = 1;
targetType = _global.TARGET_TYPE_BONUS;
}
}
}
Symbol 549 MovieClip [__Packages.KongFunctions] Frame 0
class KongFunctions
{
function KongFunctions () {
}
function submitGameComplete(gameComplete, myDifficulty) {
_root.kongregateServices.connect();
switch (myDifficulty) {
case _global.DIFFICULTY_LEVEL_EASY :
_root.kongregateStats.submit("gameCompleteEasy", 1);
break;
case _global.DIFFICULTY_LEVEL_MEDIUM :
_root.kongregateStats.submit("gameCompleteMedium", 1);
break;
case _global.DIFFICULTY_LEVEL_HARD :
_root.kongregateStats.submit("gameCompleteHard", 1);
}
}
function submitAwardEarned(myAward, myNumber) {
if ((((myAward == _global.AWARD_KILLER_GOLD) || (myAward == _global.AWARD_SNIPER_GOLD)) || (myAward == _global.AWARD_PROFESSIONAL_GOLD)) || (myAward == "awardGnomeKiller")) {
_root.kongregateServices.connect();
_root.kongregateStats.submit(myAward, myNumber);
}
}
function submitLevel(myLevel, myDifficulty) {
_root.kongregateServices.connect();
switch (myDifficulty) {
case _global.DIFFICULTY_LEVEL_EASY :
_root.kongregateScores.submit("levelEasy", myLevel);
break;
case _global.DIFFICULTY_LEVEL_MEDIUM :
_root.kongregateScores.submit("levelMedium", myLevel);
break;
case _global.DIFFICULTY_LEVEL_HARD :
_root.kongregateScores.submit("levelHard", myLevel);
}
}
function submitScore(myScore, myDifficulty) {
_root.kongregateServices.connect();
switch (myDifficulty) {
case _global.DIFFICULTY_LEVEL_EASY :
_root.kongregateScores.setMode("Easy");
break;
case _global.DIFFICULTY_LEVEL_MEDIUM :
_root.kongregateScores.setMode("Medium");
break;
case _global.DIFFICULTY_LEVEL_HARD :
_root.kongregateScores.setMode("Hard");
}
_root.kongregateScores.submit(myScore);
}
}
Symbol 550 MovieClip [__Packages.MainMenu] Frame 0
class MainMenu extends MovieClip
{
var _name, _parent, removeMovieClip;
function MainMenu () {
super();
}
function showAwards() {
var _local11 = SharedObject.getLocal(_global.SHARED_OBJECT);
var _local10 = new Playarea();
var _local3;
var _local12;
var _local7 = 10;
var _local8 = 45;
var _local6 = 0;
var _local9 = 4;
var _local5 = _local7;
var _local4 = 0;
while (_local4 <= (_global.arrayAwards.length - 1)) {
if (_local10.checkAward(_global.arrayAwards[_local4][1]) == true) {
_local3 = _parent[_name].holderAwards.attachMovie(_global.arrayAwards[_local4][0], _global.arrayAwards[_local4][0], _parent[_name].holderAwards.getNextHighestDepth());
if ((_local5 + _local3._width) > _parent[_name].holderAwards._width) {
_local8 = _local8 + (_local6 + _local9);
_local5 = _local7;
}
_local3._y = _local8;
_local3._x = _local5;
_local5 = _local5 + (_local3._width + _local7);
if (_local3._height > _local6) {
_local6 = _local3._height;
}
}
_local4++;
}
}
function showStats() {
var _local5 = SharedObject.getLocal(_global.SHARED_OBJECT);
var _local4;
var _local3;
_local4 = _parent[_name].infoStats.txtHitsInARow;
_local3 = _local5.data.hitsInARow;
showStatText(_local4, _local3);
_local4 = _parent[_name].infoStats.txtAcuracy;
_local3 = _local5.data.levelAcuracy;
if (_local3 == null) {
_local3 = 0;
}
_local3 = _local3 + "%";
showStatText(_local4, _local3);
_local4 = _parent[_name].infoStats.txtTargetsHit;
_local3 = _local5.data.levelTargetsHitPercent;
if (_local3 == null) {
_local3 = 0;
}
_local3 = _local3 + "%";
showStatText(_local4, _local3);
_local4 = _parent[_name].infoStats.txtScore;
_local3 = _local5.data.score;
showStatText(_local4, _local3);
_local4 = _parent[_name].infoStats.txtLevelNumber;
_local3 = _local5.data.levelNumber;
showStatText(_local4, _local3);
}
function showStatText(obj, myText) {
var _local2 = new myFunctions();
var _local3 = 16;
if (myText == null) {
myText = 0;
}
obj.text = myText;
_local2.formatText(obj, _local3, true);
}
function startGame() {
_global.levelNumber = 0;
var _local3 = _parent.attachMovie("levelStart", "levelStart_" + _parent.getNextHighestDepth(), _parent.getNextHighestDepth());
removeMovieClip();
}
}
Symbol 551 MovieClip [__Packages.Senery] Frame 0
class Senery extends MovieClip
{
var cacheAsBitmap, seneryType, _y, _height, fromTheLeft, _yscale, _xscale, _x, _width, removeMovieClip, _parent;
function Senery () {
super();
}
function onLoad() {
cacheAsBitmap = true;
}
function placeSeneryY() {
var _local6 = getPlayarea();
var _local7 = _local6.sky._height;
var _local9 = _local7 - 50;
var _local8 = new myFunctions();
var _local3;
var _local5;
switch (seneryType) {
case _global.SENERY_SKY :
_local3 = _global.SENERY_SKY_Y_MIN;
_local5 = _local9;
_y = _local8.randomNumber(_local3, _local5);
break;
case _global.SENERY_GROUND :
_local3 = _local7;
_local5 = _local6.sky._height + 55;
_y = _local8.randomNumber(_local3, _local5);
break;
case _global.SENERY_HILL :
_y = _local7 - (_height - 2);
}
fromTheLeft = _local6.level.levelMovingX;
if (seneryType == _global.SENERY_HILL) {
} else {
var _local4 = (_y - _local3) / (_local5 - _local3);
if (_local4 < _global.SENERY_SIZE_MODIFIER_MIN) {
_local4 = _global.SENERY_SIZE_MODIFIER_MIN;
}
var _local10 = _height;
_yscale = _yscale * _local4;
_xscale = _yscale;
fromTheLeft = 1;
if (_global.SENERY_START_X >= Stage.width) {
}
fromTheLeft = fromTheLeft * _local4;
}
}
function placeSeneryX() {
var _local3 = new myFunctions();
var _local2 = getPlayarea();
if (_local2.level.levelMovingX == 0) {
_x = _local3.randomNumber(-(_width / 2), Stage.width - (_width / 2));
} else {
_x = _local2.level.seneryStartX;
}
}
function onEnterFrame() {
if (_global.isPaused) {
return(false);
}
var _local3 = getPlayarea();
if (_global.levelMovingX != 0) {
switch (seneryType) {
case _global.SENERY_SKY :
_x = _x + ((_global.SENERY_MOVE_SPEED * 0.5) * _local3.level.levelMovingX);
break;
case _global.SENERY_GROUND :
_x = _x + ((_global.SENERY_MOVE_SPEED * fromTheLeft) * _local3.level.levelMovingX);
break;
case _global.SENERY_HILL :
_x = _x + ((_global.SENERY_MOVE_SPEED * _local3.level.levelMovingX) * _global.SENERY_HILL_SPEED_MODIFIER);
}
if (((fromTheLeft > 0) && (_x > (Stage.width + _width))) || ((fromTheLeft < 0) && (_x < (-(_width * 2))))) {
removeMovieClip();
}
}
}
function placeSeneryXRandom(min, max) {
var _local2 = new myFunctions();
_x = _local2.randomNumber(min, max);
}
function placeSeneryYRandom(min, max) {
var _local2 = new myFunctions();
_y = _local2.randomNumber(min, max);
}
function getPlayarea() {
return(_parent._parent);
}
}
Symbol 552 MovieClip [__Packages.LevelStart] Frame 0
class LevelStart extends MovieClip
{
var gotoAndStop, levelJumpTo, txtLevelNumber, txtNumberOfTargets, txtAcuracyTarget, txtShotGunMessage, _parent, removeMovieClip, onPress;
function LevelStart () {
super();
}
function onLoad() {
_global.isPaused = true;
if (_global.levelNumber == 0) {
(gotoAndStop("gameStart"));// not popped
makeButtons();
} else {
makePress();
levelJumpTo._visible = false;
}
var _local5 = _global.levelNumber;
if (_local5 == 0) {
_local5 = 1;
}
var _local6 = new Level();
_local6.makeLevel(_local5);
var _local4 = new myFunctions();
var _local3 = txtLevelNumber;
_local3.text = _local5;
_local4.formatText(_local3, 60, true);
_global.targetHitsRequired = Math.ceil(_local6.numberOfTargets * (_global.difficultyLevel / 100));
_local3 = txtNumberOfTargets;
_local3.text = _global.targetHitsRequired;
_local4.formatText(_local3, 24, true);
_local3 = txtAcuracyTarget;
_local3.text = _global.difficultyLevel + "%";
_local4.formatText(_local3, 24, true);
if ((_global.levelNumber >= _global.LEVEL_PUMP) && (_global.levelNumber < _global.LEVEL_COMBAT)) {
_local3 = txtShotGunMessage;
_local3.text = "You get to use the pump-action shotgun\n on this level";
_local4.formatText(_local3, 24, true);
}
if (_global.levelNumber >= _global.LEVEL_COMBAT) {
_local3 = txtShotGunMessage;
_local3.text = "You get to use the combat shotgun\n on this level";
_local4.formatText(_local3, 24, true);
}
}
function startLevel() {
_global.isPaused = false;
_parent.gun.sights.startDrag(true);
_parent.gun.sights._visible = true;
Mouse.hide();
removeMovieClip();
}
function startGame() {
_global.isPaused = false;
_global.totalWhammies = 2;
if (_global.levelNumber >= 11) {
_global.totalWhammies = 1;
}
var _local3 = _parent.attachMovie("playArea", "playArea" + _parent.getNextHighestDepth(), _parent.getNextHighestDepth());
removeMovieClip();
}
function makeButtons() {
var _local8 = _global.levelProgress[_global.difficultyLevel];
var _local7 = 0;
var _local5 = 0;
if (_local8 == _global.MAX_LEVEL) {
_local8 = _local8 - 1;
}
var _local4 = 1;
while (_local4 <= (_local8 + 1)) {
var _local3 = levelJumpTo.attachMovie("levelJumpToButton", "levelJumpToButton_" + levelJumpTo.getNextHighestDepth(), levelJumpTo.getNextHighestDepth());
if (((_local4 - 1) / 5) == Math.round((_local4 - 1) / 5)) {
_local5 = 0;
_local7 = _local7 + (_local3._height * 2);
}
_local3._x = _local5;
_local3._y = _local7;
_local5 = _local5 + (_local3._width * 1.5);
_local3.txtLevelNumber.text = _local4;
_local3.onPress = function () {
_global.levelNumber = this.txtLevelNumber.text - 1;
this._parent._parent.startGame();
};
var _local6 = new myFunctions();
_local6.formatText(_local3.txtLevelNumber, 16, true);
_local4++;
}
}
function makePress() {
onPress = function () {
this.startLevel();
};
}
}
Symbol 553 MovieClip [__Packages.GameOptions] Frame 0
class GameOptions extends MovieClip
{
var quitDialog, _parent, removeMovieClip, _name, attachMovie, getNextHighestDepth;
function GameOptions () {
super();
}
function onLoad() {
_global.isPaused = true;
musicIsOnLabel();
soundIsOnLabel();
}
function onEnterFrame() {
if (quitDialog) {
if (quitDialog.confirm == true) {
_global.quit = true;
_parent.doEndOfLevel();
removeMovieClip();
}
if (quitDialog.confirm == false) {
quitDialog.removeMovieClip();
quitDialog = null;
}
}
}
function musicIsOnLabel() {
var _local3 = _parent[_name].txtMusicIs;
var _local4 = new myFunctions();
if (_global.musicIsOn == true) {
_local3.text = "On";
} else {
_local3.text = "Off";
}
_local4.formatText(_local3, 12, true);
}
function toggleMusic() {
if (_global.musicIsOn == true) {
_global.musicIsOn = false;
} else {
var _local4 = new _local4[undefined]();
var _local5 = _local4.randomNumber(0, _global.arrayInGameMusic.length - 1);
_global.musicIsOn = true;
}
var _local3 = SharedObject.getLocal(_global.SHARED_OBJECT);
_local3.data.musicIsOn = _global.musicIsOn;
_parent.playInGameMusic(_global.musicIsOn);
musicIsOnLabel();
}
function soundIsOnLabel() {
var _local3 = _parent[_name].txtSoundIs;
var _local4 = new myFunctions();
if (_global.soundIsOn == true) {
_local3.text = "On";
} else {
_local3.text = "Off";
}
_local4.formatText(_local3, 12, true);
}
function toggleSound() {
if (_global.soundIsOn == true) {
_global.soundIsOn = false;
} else {
_global.soundIsOn = true;
}
var _local3 = SharedObject.getLocal(_global.SHARED_OBJECT);
_local3.data.soundIsOn = _global.soundIsOn;
soundIsOnLabel();
}
function continueGame() {
_global.isPaused = false;
Mouse.hide();
removeMovieClip();
}
function quit() {
if (quitDialog == null) {
quitDialog = attachMovie("confirmDialog", "confirmDialog", getNextHighestDepth());
quitDialog._x = 300;
quitDialog._y = 100;
}
}
}
Symbol 554 MovieClip [__Packages.Target] Frame 0
class Target extends MovieClip
{
var hasBeenHit, cacheAsBitmap, targetType, speed, radius, _width, fromTheLeft, _x, _rotation, _xscale, _yscale, yMin, yMax, _y, _parent, _height, reverse, gotoAndStop, removeMovieClip, _name, _currentframe, main;
function Target () {
super();
}
function onLoad() {
hasBeenHit = false;
var _local3 = new myFunctions();
cacheAsBitmap = true;
var _local4 = getPlayarea();
switch (targetType) {
case _global.TARGET_TYPE_PLATE :
var _local7 = 6;
var _local6 = 12;
if (_global.difficultyLevel == _global.DIFFICULTY_LEVEL_MEDIUM) {
_local7 = 8;
_local6 = 13;
}
if (_global.difficultyLevel == _global.DIFFICULTY_LEVEL_HARD) {
_local7 = 9;
_local6 = 15;
}
speed = _local3.randomNumber(_local7, _local6);
radius = _local3.randomNumber((Stage.width / 2) + (_width / 2), Stage.width + (_width / 2));
if (_local3.randomNumber(0, 1) == 1) {
fromTheLeft = 1 * speed;
_x = -_width;
} else {
fromTheLeft = -1 * speed;
_rotation = _rotation;
_x = Stage.width + _width;
_xscale = _xscale * -1;
}
break;
case _global.TARGET_TYPE_BIRD :
speed = _local3.randomNumber(7, 14);
_xscale = 50;
_yscale = 50;
if (_local3.randomNumber(0, 1) == 1) {
fromTheLeft = 1 * speed;
_x = -_width;
_xscale = _xscale * -1;
} else {
fromTheLeft = -1 * speed;
_x = Stage.width + _width;
}
yMin = _local4.sky._height + 40;
yMax = 100;
_y = _local3.randomNumber(yMin, yMax);
break;
case _global.TARGET_TYPE_STATIC :
_x = _global.WALL_START_X;
yMin = _parent._parent.sky._height + 50;
yMax = (_global.WALL_START_Y + _local4.sky._height) - 10;
_y = _local3.randomNumber(yMin, yMax);
break;
case _global.TARGET_TYPE_BONUS :
_local7 = 5;
_local6 = 15;
speed = _local3.randomNumber(_local7, _local6);
_x = _local3.randomNumber(0 + _width, Stage.width - _width);
_y = 0;
}
if (targetType == _global.TARGET_TYPE_STATIC) {
var _local5 = (_y - yMin) / (yMax - yMin);
if (_local5 < _global.TARGET_SIZE_MODIFIER_MIN) {
_local5 = _global.TARGET_SIZE_MODIFIER_MIN;
}
var _local8 = _height;
_yscale = _yscale * _local5;
_xscale = _yscale;
fromTheLeft = _local4.level.levelMovingX;
if (targetType == _global.TARGET_TYPE_STATIC) {
fromTheLeft = _local4.level.levelMovingX * _local5;
}
}
}
function onEnterFrame() {
if (_global.isPaused) {
return(false);
}
var _local6 = getPlayarea();
switch (targetType) {
case _global.TARGET_TYPE_PLATE :
_x = _x + _width;
_x = _x + fromTheLeft;
var _local5 = Math.sqrt(Math.pow(radius, 2) - Math.pow(radius - _x, 2));
_y = Stage.height - _local5;
var _local8 = radius;
var _local7 = Math.acos(_local5 / _local8);
var _local3 = _local7 * 57.2957795130823;
_x = _x - _width;
if (fromTheLeft < 0) {
if ((_local3 < 1) || (reverse == true)) {
reverse = true;
_rotation = -_local3;
_rotation = _rotation;
} else {
_rotation = _local3;
_rotation = _rotation;
}
} else if ((_local3 < 1) || (reverse == true)) {
reverse = true;
_rotation = _local3;
} else {
_rotation = -_local3;
}
break;
case _global.TARGET_TYPE_BIRD :
_x = _x + fromTheLeft;
break;
case _global.TARGET_TYPE_STATIC :
_x = _x + (_global.STATIC_MOVE_SPEED * fromTheLeft);
if (_global.MAN_MOVE_SPEED != 0) {
if (_y < _global.ENEMY_Y_MAX) {
var _local4 = (_y - yMin) / (yMax - yMin);
_local4 = doScale(_local4);
_y = _y + ((_global.STATIC_MOVE_SPEED * _local6.level.levelMovingY) * _local4);
} else {
(gotoAndStop("start"));// not popped
}
}
break;
case _global.TARGET_TYPE_BONUS :
_y = _y + speed;
if (_y <= Stage.height) {
break;
}
if (hasBeenHit == true) {
break;
}
var _local9 = new myFunctions();
_global.arrayTargets = _local9.removeValueFromArray(this, _global.arrayTargets);
removeMovieClip();
}
if (hasBeenHit != true) {
if (((fromTheLeft > 0) && (_x > Stage.width)) || ((fromTheLeft < 0) && (_x < (-_width)))) {
_global.targetsEscaped = _global.targetsEscaped + 1;
_local9 = new myFunctions();
_global.arrayTargets = _local9.removeValueFromArray(this, _global.arrayTargets);
removeMovieClip();
}
}
}
function isHit() {
_global.hitsInARow = _global.hitsInARow + 1;
if (_global.hitsInARowBest < _global.hitsInARow) {
_global.hitsInARowBest = _global.hitsInARow;
}
hasBeenHit = true;
if (targetType != _global.TARGET_TYPE_BONUS) {
_global.targetsHit = _global.targetsHit + 1;
}
if (_name.toLowerCase().indexOf("gnome") != -1) {
_global.gnomesHit = _global.gnomesHit + 1;
}
(gotoAndStop(_currentframe));// not popped
main.gotoAndPlay("animationHit");
}
function getPlayarea() {
return(_parent._parent);
}
function doScale(modifier) {
if (modifier < _global.TARGET_SIZE_MODIFIER_MIN) {
modifier = _global.TARGET_SIZE_MODIFIER_MIN;
}
_yscale = 100;
_yscale = _yscale * modifier;
_xscale = _yscale;
return(modifier);
}
}
Symbol 555 MovieClip [__Packages.Shotgun] Frame 0
class Shotgun extends MovieClip
{
var reloadSound, attachMovie, getNextHighestDepth, reloadSoundSilent, arrayAmmo, reloadTimer, infiniteAmmo, ammoRemaining, _y, _x, _rotation, _yscale, reloadDisabled, ammoMax, gotoAndPlay, sights, _parent;
function Shotgun () {
super();
}
function onLoad() {
reloadSound = attachMovie("shotgunReload", "shotgunReload" + getNextHighestDepth(), getNextHighestDepth());
reloadSound.stop();
reloadSoundSilent = attachMovie("shotgunReloadSilent", "shotgunReloadSilent" + getNextHighestDepth(), getNextHighestDepth());
reloadSoundSilent.stop();
arrayAmmo = new Array();
reload(true);
reloadTimer = 0;
}
function onEnterFrame() {
if (_global.isPaused) {
return(false);
}
if (_global.ammoInfinite > 0) {
_global.ammoInfinite = _global.ammoInfinite - 1;
}
if (_global.ammoInfinite == (_global.framesPerSecond * 2)) {
infiniteAmmo.gotoAndPlay("runningLow");
}
if (_global.ammoInfinite == 1) {
infiniteAmmo.removeMovieClip();
}
if (ammoRemaining < 1) {
reloadTimer = reloadTimer + 1;
} else {
reloadTimer = 0;
}
if (reloadTimer >= (_global.SHOTGUN_AUTO_RELOAD_TIME * _global.framesPerSecond)) {
reloadTimer = 0;
reload();
}
var _local6 = Math.atan2(_root._ymouse - _y, _root._xmouse - _x);
var _local7 = Math.round((_local6 * 180) / Math.PI);
_rotation = _local7 + 90;
var _local4 = 60;
if (_rotation > _local4) {
_rotation = _local4;
}
if (_rotation < (-_local4)) {
_rotation = -_local4;
}
_yscale = 100 - ((_root._ymouse / Stage.height) * 100);
var _local5 = 40;
if (_yscale < _local5) {
_yscale = _local5;
}
}
function fire() {
if (((ammoRemaining > 0) && (reloadDisabled != true)) || (_global.ammoInfinite > 0)) {
var _local5 = "";
if (ammoMax == 2) {
if (ammoRemaining == 1) {
_local5 = "2";
}
}
if (_global.soundIsOn == true) {
var _local6 = new Sound(this);
_local6.attachSound("shotgunFire");
_local6.start(0);
gotoAndPlay("fire" + _local5);
} else {
gotoAndPlay("fireNoSound" + _local5);
}
if (_global.ammoInfinite == 0) {
arrayAmmo[arrayAmmo.length - 1].removeMovieClip();
arrayAmmo.pop();
ammoRemaining = ammoRemaining - 1;
}
_global.shotsFired = _global.shotsFired + 1;
var _local4 = 0;
var _local3 = 0;
while (_local3 <= (_global.arrayTargets.length - 1)) {
if ((sights.hitArea.hitTest(_global.arrayTargets[_local3]) == true) && (_global.arrayTargets[_local3].hasBeenHit != true)) {
if (_global.arrayTargets[_local3].targetType == _global.TARGET_STATIC) {
}
_local4 = _local4 + 1;
_global.arrayTargets[_local3].isHit();
}
_local3++;
}
if (_local4 == 0) {
_global.hitsInARow = 0;
}
doScore(_local4);
}
}
function doScore(numberOfTargetsHit) {
_global.score = _global.score + ((numberOfTargetsHit * numberOfTargetsHit) * _global.hitsInARow);
}
function reload(quick) {
if ((ammoRemaining < ammoMax) && (reloadDisabled != true)) {
reloadDisabled = true;
if (quick != true) {
if (_global.soundIsOn == true) {
reloadSound.gotoAndPlay(1);
} else {
reloadSoundSilent.gotoAndPlay(1);
}
} else {
addCartridge(quick);
}
}
}
function addCartridge(quick) {
reloadSound.stop();
reloadSoundSilent.stop();
ammoRemaining = ammoRemaining + 1;
var _local2 = 10;
arrayAmmo.push(_parent.ammoLayer.attachMovie("shotgunCartridge", "shotgunCartridge" + _parent.ammoLayer.getNextHighestDepth(), _parent.ammoLayer.getNextHighestDepth()));
arrayAmmo[arrayAmmo.length - 1]._x = _local2 + ((1.1 * arrayAmmo[arrayAmmo.length - 1]._width) * (arrayAmmo.length - 1));
arrayAmmo[arrayAmmo.length - 1]._y = 10;
reloadDisabled = false;
reload(quick);
}
}
Symbol 556 MovieClip [__Packages.Award] Frame 0
class Award extends MovieClip
{
var hitTest, _name, _parent;
function Award () {
super();
}
function onEnterFrame() {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
var _local4 = _parent[_name]._name;
_parent.awardsDescriptionBox.awardDescription.text = setText(_local4);
var _local3 = new TextFormat();
_local3.font = "Arial,helvetica";
_local3.bold = true;
_parent.awardsDescriptionBox.awardDescription.setTextFormat(_local3);
}
}
function setText(awardName) {
switch (awardName) {
case _global.AWARD_SNIPER_BRONZE :
return("Bronze Sniper:For Acuracy");
case _global.AWARD_SNIPER_SILVER :
return("Silver Sniper:For Acuracy");
case _global.AWARD_SNIPER_GOLD :
return("Gold Sniper:For Acuracy");
case _global.AWARD_KILLER_BRONZE :
return("Bronze Killer:For Targets Destroyed");
case _global.AWARD_KILLER_SILVER :
return("Silver Killer:For Targets Destroyed");
case _global.AWARD_KILLER_GOLD :
return("Gold Killer:For Targets Destroyed");
case _global.AWARD_PROFESSIONAL_BRONZE :
return("Bronze Professional:For Hit Streak");
case _global.AWARD_PROFESSIONAL_SILVER :
return("Silver Professional:For Hit Streak");
case _global.AWARD_PROFESSIONAL_GOLD :
return("Gold Professional:For Hit Streak");
case _global.AWARD_GAME_COMPLETE :
return("Awarded for completing the game.");
case _global.AWARD_GNOME_KILLER :
return("For shooting 100 gnomes :).");
}
}
}
Symbol 296 MovieClip Frame 19
gotoAndPlay (1);
Symbol 296 MovieClip Frame 31
var myFunction = new myFunctions();
_global.arrayTargets = myFunction.removeValueFromArray(_parent, _global.arrayTargets);
_parent.removeMovieClip();
Symbol 297 MovieClip [targetBird1] Frame 1
#initclip 82
Object.registerClass("targetBird1", Target);
#endinitclip
Symbol 301 MovieClip Frame 19
gotoAndPlay (1);
Symbol 301 MovieClip Frame 31
var myFunction = new myFunctions();
_global.arrayTargets = myFunction.removeValueFromArray(_parent, _global.arrayTargets);
_parent.removeMovieClip();
Symbol 302 MovieClip [targetBird2] Frame 1
#initclip 40
Object.registerClass("targetBird2", Target);
#endinitclip
Symbol 309 MovieClip Frame 1
if (_xscale < 0) {
_xscale = (_xscale * 1);
}
gotoAndStop (1);
Symbol 309 MovieClip Frame 10
var myFunction = new myFunctions();
_global.score = _global.score + 50;
_global.arrayTargets = myFunction.removeValueFromArray(_parent, _global.arrayTargets);
_parent.removeMovieClip();
Symbol 310 MovieClip [targetBonusScore50] Frame 1
#initclip 41
Object.registerClass("targetBonusScore50", Target);
#endinitclip
Symbol 314 MovieClip Frame 1
stop();
if (_xscale < 0) {
_xscale = (_xscale * 1);
}
Symbol 314 MovieClip Frame 10
var myFunction = new myFunctions();
_global.score = _global.score + 100;
_global.arrayTargets = myFunction.removeValueFromArray(_parent, _global.arrayTargets);
_parent.removeMovieClip();
Symbol 315 MovieClip [targetBonusScore100] Frame 1
#initclip 42
Object.registerClass("targetBonusScore100", Target);
#endinitclip
Symbol 320 MovieClip Frame 1
stop();
Symbol 320 MovieClip Frame 10
var myFunction = new myFunctions();
_global.ammoInfinite = _global.INFINITE_AMMO_TIME * _global.framesPerSecond;
_global.arrayTargets = myFunction.removeValueFromArray(_parent, _global.arrayTargets);
_parent._parent._parent.gun.infiniteAmmo.removeMovieClip();
_parent._parent._parent.gun.infiniteAmmo = _parent._parent._parent.attachMovie("infiniteAmmo", "infiniteAmmo_" + _parent._parent._parent.getNextHighestDepth(), _parent._parent._parent.getNextHighestDepth());
_parent._parent._parent.gun.infiniteAmmo._x = 30;
_parent._parent._parent.gun.infiniteAmmo._y = 50;
_parent.removeMovieClip();
Symbol 321 MovieClip [targetInfiniteAmmo] Frame 1
#initclip 43
Object.registerClass("targetInfiniteAmmo", Target);
#endinitclip
Symbol 322 MovieClip [targetGardenGnome1] Frame 1
#initclip 44
Object.registerClass("targetGardenGnome1", Target);
#endinitclip
Symbol 328 MovieClip Frame 1
stop();
Symbol 328 MovieClip Frame 13
var myFunction = new myFunctions();
_global.arrayTargets = myFunction.removeValueFromArray(_parent, _global.arrayTargets);
_parent.removeMovieClip();
Symbol 329 MovieClip [targetGnomeFlying1] Frame 1
#initclip 45
Object.registerClass("targetGnomeFlying1", Target);
#endinitclip
Symbol 335 MovieClip Frame 1
stop();
Symbol 335 MovieClip Frame 13
var myFunction = new myFunctions();
_global.arrayTargets = myFunction.removeValueFromArray(_parent, _global.arrayTargets);
_parent.removeMovieClip();
Symbol 336 MovieClip [targetPlate1] Frame 1
#initclip 46
Object.registerClass("targetPlate1", Target);
#endinitclip
Symbol 342 MovieClip Frame 1
stop();
Symbol 342 MovieClip Frame 13
var myFunction = new myFunctions();
_global.arrayTargets = myFunction.removeValueFromArray(_parent, _global.arrayTargets);
_parent.removeMovieClip();
Symbol 343 MovieClip [targetPlate2] Frame 1
#initclip 47
Object.registerClass("targetPlate2", Target);
#endinitclip
Symbol 347 MovieClip Frame 1
stop();
Symbol 347 MovieClip Frame 13
var myFunction = new myFunctions();
_global.arrayTargets = myFunction.removeValueFromArray(_parent, _global.arrayTargets);
_parent.removeMovieClip();
Symbol 348 MovieClip [targetSnowMan1] Frame 1
#initclip 48
Object.registerClass("targetSnowMan1", Target);
#endinitclip
Symbol 353 MovieClip Frame 1
stop();
Symbol 353 MovieClip Frame 55
var myFunction = new myFunctions();
_global.arrayTargets = myFunction.removeValueFromArray(_parent, _global.arrayTargets);
_parent.removeMovieClip();
Symbol 354 MovieClip [targetSaucer1] Frame 1
#initclip 49
Object.registerClass("targetSaucer1", Target);
#endinitclip
Symbol 354 MovieClip [targetSaucer1] Frame 40
gotoAndPlay (1);
Symbol 359 MovieClip Frame 1
stop();
Symbol 359 MovieClip Frame 36
var myFunction = new myFunctions();
_global.arrayTargets = myFunction.removeValueFromArray(_parent, _global.arrayTargets);
_parent.removeMovieClip();
Symbol 360 MovieClip [targetSaucer2] Frame 1
#initclip 50
Object.registerClass("targetSaucer2", Target);
#endinitclip
gotoAndPlay (1);
Symbol 360 MovieClip [targetSaucer2] Frame 40
gotoAndPlay (1);
Symbol 369 MovieClip Frame 1
stop();
Symbol 369 MovieClip Frame 21
var myFunction = new myFunctions();
_global.arrayTargets = myFunction.removeValueFromArray(_parent, _global.arrayTargets);
_parent.removeMovieClip();
Symbol 370 MovieClip [targetStatue1] Frame 1
#initclip 51
Object.registerClass("targetStatue1", Target);
#endinitclip
Symbol 374 MovieClip [brush1] Frame 1
#initclip 52
Object.registerClass("brush1", Senery);
#endinitclip
Symbol 376 MovieClip [brush2] Frame 1
#initclip 53
Object.registerClass("brush2", Senery);
#endinitclip
Symbol 378 MovieClip [cactus1] Frame 1
#initclip 54
Object.registerClass("cactus1", Senery);
#endinitclip
Symbol 380 MovieClip [cactus2] Frame 1
#initclip 55
Object.registerClass("cactus2", Senery);
#endinitclip
Symbol 382 MovieClip [hillDesert1] Frame 1
#initclip 56
Object.registerClass("hillDesert1", Senery);
#endinitclip
Symbol 384 MovieClip [hillDesert2] Frame 1
#initclip 57
Object.registerClass("hillDesert2", Senery);
#endinitclip
Symbol 386 MovieClip [hillDesert3] Frame 1
#initclip 58
Object.registerClass("hillDesert3", Senery);
#endinitclip
Symbol 399 MovieClip [shotgunCombat] Frame 1
#initclip 59
Object.registerClass("shotgunCombat", Shotgun);
#endinitclip
stop();
Symbol 399 MovieClip [shotgunCombat] Frame 13
var mySound2 = new Sound();
mySound2.attachSound("pumpReload");
mySound2.start();
Symbol 399 MovieClip [shotgunCombat] Frame 20
stop();
Symbol 399 MovieClip [shotgunCombat] Frame 40
stop();
Symbol 419 MovieClip [shotgunDoubleBarrel] Frame 1
#initclip 60
Object.registerClass("shotgunDoubleBarrel", Shotgun);
#endinitclip
stop();
Symbol 419 MovieClip [shotgunDoubleBarrel] Frame 8
stop();
Symbol 419 MovieClip [shotgunDoubleBarrel] Frame 51
stop();
Symbol 419 MovieClip [shotgunDoubleBarrel] Frame 78
stop();
Symbol 419 MovieClip [shotgunDoubleBarrel] Frame 118
stop();
Symbol 427 MovieClip [shotgunPumpAction] Frame 1
#initclip 61
Object.registerClass("shotgunPumpAction", Shotgun);
#endinitclip
stop();
Symbol 427 MovieClip [shotgunPumpAction] Frame 13
var mySound2 = new Sound();
mySound2.attachSound("pumpReload");
mySound2.start();
Symbol 427 MovieClip [shotgunPumpAction] Frame 20
stop();
Symbol 427 MovieClip [shotgunPumpAction] Frame 50
stop();
Symbol 431 MovieClip [awardGameComplete] Frame 1
#initclip 62
Object.registerClass("awardGameComplete", Award);
#endinitclip
Symbol 435 MovieClip [awardGnomeKiller] Frame 1
#initclip 63
Object.registerClass("awardGnomeKiller", Award);
#endinitclip
Symbol 438 MovieClip [awardKillerBronze] Frame 1
#initclip 64
Object.registerClass("awardKillerBronze", Award);
#endinitclip
Symbol 441 MovieClip [awardKillerGold] Frame 1
#initclip 65
Object.registerClass("awardKillerGold", Award);
#endinitclip
Symbol 444 MovieClip [awardKillerSilver] Frame 1
#initclip 66
Object.registerClass("awardKillerSilver", Award);
#endinitclip
Symbol 447 MovieClip [awardProfessionalBronze] Frame 1
#initclip 67
Object.registerClass("awardProfessionalBronze", Award);
#endinitclip
Symbol 450 MovieClip [awardProfessionalGold] Frame 1
#initclip 68
Object.registerClass("awardProfessionalGold", Award);
#endinitclip
Symbol 453 MovieClip [awardProfessionalSilver] Frame 1
#initclip 69
Object.registerClass("awardProfessionalSilver", Award);
#endinitclip
Symbol 456 MovieClip [awardSniperBronze] Frame 1
#initclip 70
Object.registerClass("awardSniperBronze", Award);
#endinitclip
Symbol 459 MovieClip [awardSniperGold] Frame 1
#initclip 71
Object.registerClass("awardSniperGold", Award);
#endinitclip
Symbol 462 MovieClip [awardSniperSilver] Frame 1
#initclip 72
Object.registerClass("awardSniperSilver", Award);
#endinitclip
Symbol 463 MovieClip [shotgunReloadSilent] Frame 1
if (reloadTime == _currentframe) {
_parent.addCartridge();
stop();
}
Symbol 463 MovieClip [shotgunReloadSilent] Frame 3
if (reloadTime == _currentframe) {
_parent.addCartridge();
stop();
}
Symbol 463 MovieClip [shotgunReloadSilent] Frame 4
if (reloadTime == _currentframe) {
_parent.addCartridge();
stop();
}
Symbol 463 MovieClip [shotgunReloadSilent] Frame 5
if (reloadTime == _currentframe) {
_parent.addCartridge();
stop();
}
Symbol 463 MovieClip [shotgunReloadSilent] Frame 10
_parent.addCartridge();
Symbol 469 MovieClip [shotgunSights] Frame 1
stop();
hitArea._visible = false;
Symbol 469 MovieClip [shotgunSights] Frame 2
stop();
hitArea._visible = false;
Symbol 473 MovieClip [hill1] Frame 1
#initclip 73
Object.registerClass("hill1", Senery);
#endinitclip
Symbol 475 MovieClip [hill2] Frame 1
#initclip 74
Object.registerClass("hill2", Senery);
#endinitclip
Symbol 477 MovieClip [hill3] Frame 1
#initclip 75
Object.registerClass("hill3", Senery);
#endinitclip
Symbol 479 MovieClip [tree1] Frame 1
#initclip 76
Object.registerClass("tree1", Senery);
#endinitclip
Symbol 481 MovieClip [tree2] Frame 1
#initclip 77
Object.registerClass("tree2", Senery);
#endinitclip
Instance of Symbol 483 MovieClip [wallFirTree] in Symbol 485 MovieClip [wallFirTreeStump] Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 487 MovieClip [hillSnow1] Frame 1
#initclip 78
Object.registerClass("hillSnow1", Senery);
#endinitclip
Symbol 489 MovieClip [hillSnow2] Frame 1
#initclip 79
Object.registerClass("hillSnow2", Senery);
#endinitclip
Symbol 491 MovieClip [hillSnow3] Frame 1
#initclip 80
Object.registerClass("hillSnow3", Senery);
#endinitclip
Symbol 493 MovieClip [iceHole1] Frame 1
#initclip 81
Object.registerClass("iceHole1", Senery);
#endinitclip
Symbol 507 MovieClip Frame 401
gotoAndPlay (1);
Symbol 509 Button
on (release) {
getURL ("http://www.addictinggames.com", "_blank");
}
Symbol 531 MovieClip Frame 20
stop();
Symbol 533 MovieClip Frame 1
_root.stop();
Instance of Symbol 507 MovieClip in Symbol 533 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
this.gotoAndPlay(random(700));
}
onClipEvent (enterFrame) {
if (_parent._currentframe < 11) {
this._alpha = this._alpha + 10;
}
this.gotoAndPlay(_currentframe + 2);
if (_parent._currentframe > 75) {
this._alpha = this._alpha - 5;
}
}
Symbol 533 MovieClip Frame 25
ag_explode = new Sound();
ag_explode.attachSound("ag_explode");
ag_explode.start();
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Instance of Symbol 531 MovieClip in Symbol 533 MovieClip Frame 25
onClipEvent (load) {
spd = 7;
this._rotation = random(360);
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
}
this._alpha = this._alpha - 2;
if (this._alpha < 0) {
this.swapDepths(_root.getNextHighestDepth());
this.removeMovieClip();
}
}
Symbol 533 MovieClip Frame 95
_root.play();