Frame 1
stop();
Instance of Symbol 58 MovieClip "ag_mouse" in Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}
Frame 2
function link0() {
}
function link1() {
getURL ("http://www.tagemigames.com/index.php?lang=en", "Top");
}
function link2() {
getURL ("http://www.freakytikiproductions.com", "Top");
}
function link3() {
getURL ("http://www.addictinggames.com", "Top");
}
var TEST_MODE = false;
var firstRun = true;
var fromGame = false;
_global.ARE_SOUNDS = !TEST_MODE;
_global.SOUNDS = new classes.Game_sounds();
_global.gameAccess = false;
if (!TEST_MODE) {
var c = 0;
onEnterFrame = function () {
var _local2 = Math.round((getBytesLoaded() / getBytesTotal()) * 100);
if ((c + 2) <= _local2) {
c = c + 2;
}
if (c < 99) {
prel.prec.text = c;
} else {
prel.prec.text = "99";
}
if (c >= 100) {
gotoAndPlay(_currentframe + 1);
delete this.onEnterFrame;
}
};
stop();
}
var cMenu;
cMenu = new ContextMenu();
cMenu.hideBuiltInItems();
this.menu = cMenu;
cMenu.customItems[0] = new ContextMenuItem("World Wars", link0, false, true, true);
cMenu.customItems[1] = new ContextMenuItem("Created by Tagemi", link1, false, true, true);
cMenu.customItems[2] = new ContextMenuItem("Produced by Freaky Tiki Production", link2, false, true, true);
cMenu.customItems[3] = new ContextMenuItem("Copyright (C) 2008 AddictingGames", link3, false, true, true);
Frame 4
if (!TEST_MODE) {
stop();
}
if (!firstRun) {
intro.gotoAndPlay(34);
}
firstRun = false;
var PL = 4;
var ARMY = 1;
Frame 5
function rollButton(mc) {
mc.onRollOver = function () {
this.gotoAndStop(2);
};
mc.onRollOut = (mc.onReleaseOutside = function () {
this.gotoAndStop(1);
});
}
var fromMenu = true;
_global.gameAccess = false;
HELP_MC._visible = false;
if (!fromGame) {
expl_in.stop();
expl_in._visible = false;
} else {
_global.SOUNDS.menuSoundtrack();
expl_in.gotoAndPlay(1);
expl_in._visible = true;
}
stop();
Frame 6
function init() {
GAME.newGame(PL, askQuestion);
}
function askQuestion() {
QUESTION_MC.gotoAndPlay(2);
}
function mapAgain() {
GAME.newGame(PL, askQuestion);
}
function rollButton(mc) {
mc.onRollOver = function () {
this.gotoAndStop(2);
};
mc.onRollOut = (mc.onReleaseOutside = function () {
this.gotoAndStop(1);
});
}
function kill() {
F.kill();
F.removeMovieClip();
GAME.kill();
delete GAME;
}
Stage.align = "TL";
var DEB = (new classes.Debug(this));
_global.gameAccess = true;
var F = fmc.attachMovie("FIGHTBOX", "FIGHT_MC", 0);
var GAME = (new classes.GameWW(GAME_MC, UNITS_MC, END_TURN, WAITER_MC, UNITS_LIST_MC, F));
F.registerGame(GAME);
_global.GAME_PAUSE = false;
if (!fromMenu) {
expl.gotoAndPlay(expl._totalframes - 2);
}
fromMenu = false;
fromGame = true;
QUESTION_MC.yes.onRelease = function () {
if (QUESTION_MC._currentframe == 24) {
_global.SOUNDS.playSound("Click- g\u0142o\u015Bniejszy.wav");
GAME.init();
QUESTION_MC.kill = true;
QUESTION_MC.gotoAndPlay(25);
}
};
QUESTION_MC.no.onRelease = function () {
if (QUESTION_MC._currentframe == 24) {
_global.SOUNDS.playSound("Click- g\u0142o\u015Bniejszy.wav");
QUESTION_MC.kill = false;
QUESTION_MC.gotoAndPlay(25);
}
};
END_TURN.END_TURN.onRelease = function () {
if ((END_TURN._currentframe == 11) && (F._visible == false)) {
_global.SOUNDS.playSound("Click- g\u0142o\u015Bniejszy.wav");
GAME.MAP.unMarkIfMarked();
GAME.addUnits();
END_TURN.gotoAndPlay(12);
}
};
EXIT_BTN.onRelease = function () {
_global.SOUNDS.playSound("Click- g\u0142o\u015Bniejszy.wav");
QUIT_MC._visible = true;
if (QUIT_MC._currentframe == 1) {
QUIT_MC.gotoAndPlay(2);
}
};
HELP_BTN.onRelease = function () {
if (HELP_MC._currentframe == 1) {
HELP_MC.gotoAndPlay(2);
HELP_MC._visible = true;
_global.SOUNDS.playSound("okno help open.wav");
}
};
HELP_BTN.onEnterFrame = function () {
POLE.scroll = POLE.maxscroll;
};
rollButton(QUESTION_MC.no);
rollButton(QUESTION_MC.yes);
rollButton(EXIT_BTN);
rollButton(MUSIC_BTN_ON);
rollButton(MUSIC_BTN_OFF);
rollButton(HELP_BTN);
rollButton(END_TURN.END_TURN);
QUIT_MC._visible = false;
GAMEOVER_MC._visible = false;
YOUWIN_MC._visible = false;
HELP_MC._visible = false;
MUSIC_BTN_ON._visible = !_global.ARE_SOUNDS;
MUSIC_BTN_OFF.onRelease = function () {
_global.SOUNDS.playSound("Click- g\u0142o\u015Bniejszy.wav");
this._visible = false;
MUSIC_BTN_ON.gotoAndStop(2);
MUSIC_BTN_ON._visible = true;
_global.ARE_SOUNDS = false;
_global.SOUNDS.killSoundtrack();
};
MUSIC_BTN_ON.onRelease = function () {
_global.SOUNDS.playSound("Click- g\u0142o\u015Bniejszy.wav");
this._visible = false;
MUSIC_BTN_OFF.gotoAndStop(2);
MUSIC_BTN_OFF._visible = true;
_global.ARE_SOUNDS = true;
_global.SOUNDS.gameSoundtrack();
};
stop();
Frame 7
gotoAndPlay(_currentframe - 1);
_global.SOUNDS.gameSoundtrack();
Symbol 19 MovieClip Frame 401
gotoAndPlay (1);
Symbol 21 Button
on (release) {
getURL ("http://www.addictinggames.com", "_blank");
}
Symbol 54 MovieClip Frame 20
stop();
Symbol 56 MovieClip Frame 1
_root.stop();
Instance of Symbol 19 MovieClip in Symbol 56 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 56 MovieClip Frame 25
ag_explode = new Sound();
ag_explode.attachSound("ag_explode");
ag_explode.start();
Instance of Symbol 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 54 MovieClip in Symbol 56 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 56 MovieClip Frame 95
_root.play();
Symbol 498 MovieClip [__Packages.classes.Game_sounds] Frame 0
class classes.Game_sounds
{
var _sndTrack;
function Game_sounds () {
}
function menuSoundtrack() {
if (_global.ARE_SOUNDS == true) {
_sndTrack.stop();
_sndTrack = new Sound();
_sndTrack.attachSound("menu1");
_sndTrack.start(0, 1);
_sndTrack.onSoundComplete = mx.utils.Delegate.create(this, menuSoundtrack2);
}
}
function menuSoundtrack2() {
if (_global.ARE_SOUNDS == true) {
delete _sndTrack.onSoundComplete;
_sndTrack.stop();
_sndTrack = new Sound();
_sndTrack.attachSound("menu2");
_sndTrack.start(0, 99999);
}
}
function gameSoundtrack() {
if (_global.ARE_SOUNDS == true) {
_sndTrack.stop();
_sndTrack = new Sound();
_sndTrack.attachSound("gra");
_sndTrack.start(0, 99999);
}
}
function killSoundtrack() {
_sndTrack.stop();
}
function soundsON(track) {
}
function playSound(snd) {
if (_global.ARE_SOUNDS == true) {
var _local2 = new Sound();
_local2.attachSound(snd);
_local2.start();
}
}
}
Symbol 499 MovieClip [__Packages.mx.utils.Delegate] Frame 0
class mx.utils.Delegate extends Object
{
var func;
function Delegate (f) {
super();
func = f;
}
static function create(obj, func) {
var _local2 = function () {
var _local2 = arguments.callee.target;
var _local3 = arguments.callee.func;
return(_local3.apply(_local2, arguments));
};
_local2.target = obj;
_local2.func = func;
return(_local2);
}
function createDelegate(obj) {
return(create(obj, func));
}
}
Symbol 500 MovieClip [__Packages.classes.ww_interface.Waiter] Frame 0
class classes.ww_interface.Waiter extends MovieClip
{
var _visible, status, onEnterFrame;
function Waiter () {
super();
_visible = false;
status = "ready_off";
}
function show() {
status = "progress";
_visible = true;
cdw = 0;
onEnterFrame = mx.utils.Delegate.create(this, makeBig);
}
function hide() {
_visible = false;
status = "ready_off";
}
function makeBig() {
cdw++;
if (cdw > countdown) {
status = "ready_on";
delete onEnterFrame;
}
}
var countdown = 2;
var cdw = 0;
}
Symbol 501 MovieClip [__Packages.classes.ww_interface.Units_list] Frame 0
class classes.ww_interface.Units_list extends MovieClip
{
var _visible, PLAYER_NO, uicon;
function Units_list () {
super();
selectPlayer(0);
_visible = false;
}
function setList(terrArr, refArr, plNo) {
PLAYER_NO = plNo;
if (_visible == false) {
_visible = true;
}
uicon._visible = false;
var _local2 = 1;
while (_local2 <= 8) {
if (_local2 <= plNo) {
var _local4 = uicon.duplicateMovieClip("uicon_" + _local2, _local2);
_local4.no.no.text = refArr[_local2 - 1];
_local4.bg.gotoAndStop(_local2);
_local4.bg.border._visible = false;
var _local5 = false;
var _local3 = 0;
while ((!_local5) && (_local3 < 8)) {
if (terrArr[_local3].player == _local2) {
_local4.u.gotoAndStop(terrArr[_local3].army);
_local5 = true;
}
_local3++;
}
}
_local2++;
}
centerIcons();
}
function refreshList(refArr, territoriesArr) {
var _local2 = 1;
while (_local2 <= PLAYER_NO) {
_local2 = 1;
while (_local2 <= PLAYER_NO) {
var _local3 = this["uicon_" + _local2];
if (_local3 != undefined) {
if (countPlayerUnits(territoriesArr, _local2) <= 0) {
_local3.removeMovieClip();
} else {
_local3.no.no.text = refArr[_local2 - 1];
}
}
_local2++;
}
_local2++;
}
centerIcons();
}
function selectPlayer(p) {
var _local2 = 1;
while (_local2 <= 8) {
if (_local2 != p) {
this["uicon_" + _local2].bg.border._visible = false;
} else {
this["uicon_" + _local2].bg.border._visible = true;
}
_local2++;
}
}
function centerIcons() {
var _local5 = 0;
var _local2 = 1;
while (_local2 <= PLAYER_NO) {
var _local3 = this["uicon_" + _local2];
if (_local3 != undefined) {
_local5++;
}
_local2++;
}
var _local6 = (-(_local5 * 50)) / 2;
var _local4 = 0;
_local2 = 1;
while (_local2 <= PLAYER_NO) {
var _local3 = this["uicon_" + _local2];
if (_local3 != undefined) {
_local3._x = _local6 + (49 * _local4);
_local4++;
}
_local2++;
}
}
function countPlayerUnits(terrArr, pl) {
var _local3 = 0;
var _local1 = 0;
while (_local1 < terrArr.length) {
if (terrArr[_local1].player == pl) {
_local3 = _local3 + terrArr[_local1].unitsNO;
}
_local1++;
}
return(_local3);
}
}
Symbol 502 MovieClip [__Packages.classes.models.Unit] Frame 0
class classes.models.Unit extends MovieClip
{
var filters, gotoAndStop, flag, units;
function Unit () {
super();
var _local3 = new flash.filters.DropShadowFilter(1, 280, 0, 0.9, 12, 12, 1.5, 3, false, false, false);
filters = [_local3];
}
function setUnit(army, units, player) {
gotoAndStop(army);
flag.banner.gotoAndStop(player);
flag.no.gotoAndStop(units);
this.units.gotoAndStop(units);
}
}
Symbol 503 MovieClip [__Packages.classes.ww_interface.Fightbox] Frame 0
class classes.ww_interface.Fightbox extends MovieClip
{
var EXPLOSION_MC, _parent, UNITS_MC, SKIP_MODE, _visible, SKIP, GAME_CLASS, LAST_FIGHT, military2, military1, explosion1, explosion2, ter1, ter2, WINNER, winTemp, winNO, ran1, ran2, onEnterFrame, dieces_limit, dieces_no, rubbish, ultraSkipA, ultraSkipB, ultraSkipP1, ultraSkipP2;
function Fightbox () {
super();
EXPLOSION_MC = _parent._parent.EXPLOSION_MC;
UNITS_MC = _parent._parent.UNITS_MC;
var root = this;
SKIP_MODE = false;
_visible = false;
var _local4 = 1;
while (_local4 <= 8) {
this["d" + _local4]._visible = false;
_local4++;
}
SKIP.onRelease = function () {
_global.SOUNDS.playSound("Click- g\u0142o\u015Bniejszy.wav");
root.SKIP_MODE = true;
root._visible = false;
root.ultraSkip();
};
}
function registerGame(g) {
GAME_CLASS = g;
}
function fight(A, B) {
if (!SKIP_MODE) {
LAST_FIGHT = getTimer();
resetDieces();
_visible = true;
military1._visible = (military2._visible = true);
explosion1.gotoAndStop(1);
explosion2.gotoAndStop(1);
military1.un.text = A.unitsNO;
military2.un.text = B.unitsNO;
military1.army_ico.gotoAndStop(A.army);
military1.army_ico.filters = [];
military1.army_ico.units.gotoAndStop(A.unitsNO);
military1.flag.gotoAndStop(A.player);
military2.army_ico.gotoAndStop(B.army);
military2.army_ico.filters = [];
military2.army_ico.units.gotoAndStop(B.unitsNO);
military2.flag.gotoAndStop(B.player);
ter1.gotoAndStop(A.player);
ter2.gotoAndStop(B.player);
var _local8 = 0;
var _local7 = 0;
WINNER = undefined;
var _local5 = 0;
while (_local5 < A.unitsNO) {
var _local6 = random2(5) + 1;
_local8 = _local8 + _local6;
_local5++;
}
_local5 = 0;
while (_local5 < B.unitsNO) {
var _local6 = random2(5) + 1;
_local7 = _local7 + _local6;
_local5++;
}
if (_local8 > _local7) {
winTemp = A;
winNO = 1;
} else {
winTemp = B;
winNO = 2;
}
setUltraSkip(_local8, _local7, A, B);
ran1.setTo(_local8);
ran2.setTo(_local7);
_global.SOUNDS.playSound("ko\u015Bci.wav");
onEnterFrame = mx.utils.Delegate.create(this, fightFinished);
dieces_limit = A.unitsNO + B.unitsNO;
dieces_no = 0;
rubbish = new Array();
throwDices(A.player, A.unitsNO, 1);
throwDices(B.player, B.unitsNO, 2);
} else {
var _local8 = 0;
var _local7 = 0;
WINNER = undefined;
var _local5 = 0;
while (_local5 < A.unitsNO) {
var _local6 = random2(5) + 1;
_local8 = _local8 + _local6;
_local5++;
}
_local5 = 0;
while (_local5 < B.unitsNO) {
var _local6 = random2(5) + 1;
_local7 = _local7 + _local6;
_local5++;
}
if (_local8 > _local7) {
var _local9 = this;
EXPLOSION_MC._x = UNITS_MC._x + B.unitsMC._x;
EXPLOSION_MC._y = UNITS_MC._y + B.unitsMC._y;
EXPLOSION_MC.gotoAndPlay(2);
winTemp = A;
EXPLOSION_MC.onEnterFrame = mx.utils.Delegate.create(this, fightFinished2);
} else {
EXPLOSION_MC._x = UNITS_MC._x + A.unitsMC._x;
EXPLOSION_MC._y = UNITS_MC._y + A.unitsMC._y;
EXPLOSION_MC.gotoAndPlay(2);
winTemp = B;
EXPLOSION_MC.onEnterFrame = mx.utils.Delegate.create(this, fightFinished2);
}
}
}
function setUltraSkip(pow1, pow2, A, B) {
ultraSkipA = A;
ultraSkipB = B;
ultraSkipP1 = pow1;
ultraSkipP2 = pow2;
}
function ultraSkip() {
delete onEnterFrame;
if (ultraSkipP1 > ultraSkipP2) {
var _local2 = this;
EXPLOSION_MC._x = UNITS_MC._x + ultraSkipB.unitsMC._x;
EXPLOSION_MC._y = UNITS_MC._y + ultraSkipB.unitsMC._y;
EXPLOSION_MC.gotoAndPlay(2);
winTemp = ultraSkipA;
EXPLOSION_MC.onEnterFrame = mx.utils.Delegate.create(this, fightFinished2);
} else {
EXPLOSION_MC._x = UNITS_MC._x + ultraSkipA.unitsMC._x;
EXPLOSION_MC._y = UNITS_MC._y + ultraSkipA.unitsMC._y;
EXPLOSION_MC.gotoAndPlay(2);
winTemp = ultraSkipB;
EXPLOSION_MC.onEnterFrame = mx.utils.Delegate.create(this, fightFinished2);
}
}
function initCountdowns() {
ran1.countTo();
ran2.countTo();
}
function fightFinished() {
if (SKIP_MODE == false) {
if (((ran1.finished() && (ran2.finished())) && (explosion1._currentframe == 1)) && (explosion2._currentframe == 1)) {
if (winNO == 1) {
explosion2.gotoAndPlay(2);
} else {
explosion1.gotoAndPlay(2);
}
}
if (explosion1._currentframe == 7) {
military1._visible = false;
}
if (explosion2._currentframe == 7) {
military2._visible = false;
}
if ((explosion1._currentframe == explosion1._totalframes) || (explosion2._currentframe == explosion2._totalframes)) {
WINNER = winTemp;
GAME_CLASS.fightFinished();
_visible = false;
delete onEnterFrame;
}
}
}
function fightFinished2() {
if (EXPLOSION_MC._currentframe == 7) {
WINNER = winTemp;
GAME_CLASS.fightFinished();
}
if (EXPLOSION_MC._currentframe == EXPLOSION_MC._totalframes) {
delete EXPLOSION_MC.onEnterFrame;
}
}
function random2(z) {
return(Math.round(Math.random() * z));
}
function throwDices(player, units, terr) {
var root = this;
var i = 0;
while (i < units) {
var _local2 = this["d" + player].duplicateMovieClip((("dice" + player) + "_") + i, (terr * 10) + i);
rubbish.push(_local2);
_local2._x = this["gen" + terr]._x;
_local2._xscale = (_local2._yscale = 70);
if (terr == 1) {
_local2.docX = _local2._x + 15;
}
if (terr == 2) {
_local2.docX = (_local2._x - 15) - _local2._width;
}
_local2._y = this["gen" + terr]._y + (i * 25);
_local2.i = (i + 2) / 2;
_local2.onEnterFrame = function () {
this._x = this._x + ((this.docX - this._x) / this.i);
if (Math.abs(this._x - this.docX) < 1) {
root.dieces_no++;
if (root.dieces_no == root.dieces_limit) {
root.initCountdowns();
}
this._x = this.docX;
delete this.onEnterFrame;
}
};
i++;
}
}
function resetWinner() {
WINNER = undefined;
}
function resetSkipMode() {
SKIP._visible = true;
SKIP_MODE = false;
}
function resetDieces() {
var _local2 = 0;
while (_local2 < rubbish.length) {
rubbish[_local2].removeMovieClip();
_local2++;
}
}
function kill() {
delete EXPLOSION_MC.onEnterFrame;
}
}
Symbol 504 MovieClip [__Packages.classes.GameWW] Frame 0
class classes.GameWW
{
var GAME_MC, UNITS_MC, WAITER, UNITS_LIST, END_TURN_MC, FIGHTBOX, AUTOPLAYER, MAP, AI, counter, TRACER, PLAYER_MOVE, PLAYERS_NO, PLAYERS_CACHES, rubbish_arr, maxArea;
function GameWW (gmc, umc, etmc, wt, ul, fb) {
GAME_MC = gmc;
UNITS_MC = umc;
WAITER = wt;
UNITS_LIST = ul;
END_TURN_MC = etmc;
FIGHTBOX = fb;
AUTOPLAYER = false;
MAP = new classes.Map(GAME_MC, this);
AI = new classes.GameAI(this);
counter = 0;
TRACER = _root.createEmptyMovieClip("tracer", 1);
PLAYER_MOVE = 1;
}
function newGame(players, callBack) {
if (WAITER.status == "ready_off") {
var root = this;
PLAYERS_NO = players;
PLAYERS_CACHES = new Array();
var i = 0;
while (i < PLAYERS_NO) {
PLAYERS_CACHES.push(0);
i++;
}
WAITER.show();
GAME_MC.onEnterFrame = function () {
with (root) {
if (WAITER.status == "ready_on") {
MAP.createMap(PLAYERS_NO);
counter = MAP.TERRITORIES_ARR.length + 10;
arrangeUnits();
WAITER.hide();
var refArr = new Array();
var i = 1;
while (i <= PLAYERS_NO) {
refArr.push(unitsToAdd(i));
i++;
}
UNITS_LIST.setList(MAP.TERRITORIES_ARR, refArr, PLAYERS_NO);
}
}
if (root.WAITER.status == "ready_off") {
callBack();
delete this.onEnterFrame;
}
};
}
}
function init() {
UNITS_LIST.selectPlayer(PLAYER_MOVE);
if ((PLAYER_MOVE != 1) || (AUTOPLAYER)) {
AI.cleverMove(PLAYER_MOVE);
} else {
END_TURN_MC.gotoAndPlay(2);
MAP.startInterface();
}
}
function nextPlayer() {
PLAYER_MOVE++;
if (PLAYER_MOVE > PLAYERS_NO) {
PLAYER_MOVE = 1;
}
if ((PLAYER_MOVE != 1) || (AUTOPLAYER)) {
AI.cleverMove(PLAYER_MOVE);
} else {
END_TURN_MC.gotoAndPlay(2);
MAP.startInterface();
}
if (PLAYER_MOVE == 1) {
FIGHTBOX.resetSkipMode();
}
UNITS_LIST.selectPlayer(PLAYER_MOVE);
}
function isGameFinished() {
var _local3 = 0;
var _local2 = 0;
while (_local2 < MAP.TERRITORIES_ARR.length) {
if (MAP.TERRITORIES_ARR[_local2].player == 1) {
_local3++;
}
_local2++;
}
if (_local3 == MAP.TERRITORIES_ARR.length) {
PLAYER_WIN();
return(true);
}
if (_local3 == 0) {
GAME_OVER();
return(true);
}
return(false);
}
function PLAYER_WIN() {
_root.YOUWIN_MC._visible = true;
_root.YOUWIN_MC.gotoAndPlay(2);
}
function GAME_OVER() {
_root.GAMEOVER_MC._visible = true;
_root.GAMEOVER_MC.gotoAndPlay(2);
}
function arrangeUnits() {
var _local9 = [0, 0, 0, 0, 0, 0, 0, 0];
var _local8 = new Array();
clearAll();
rubbish_arr = new Array();
var _local3 = 0;
while (_local3 < MAP.TERRITORIES_ARR.length) {
var _local4 = MAP.TERRITORIES_ARR[_local3].arr;
var _local7 = 0;
var _local6 = 0;
var _local2 = 0;
while (_local2 < _local4.length) {
_local7 = _local7 + _local4[_local2]._x;
_local6 = _local6 + _local4[_local2]._y;
_local2++;
}
_local7 = _local7 / _local4.length;
_local6 = _local6 / _local4.length;
counter = _local3;
var _local5 = UNITS_MC.attachMovie("UNIT", "unit_" + counter, 2 + (counter * 2));
counter++;
_local5._x = _local7;
_local5._y = _local6;
_local5.setUnit(MAP.TERRITORIES_ARR[_local3].army, MAP.TERRITORIES_ARR[_local3].unitsNO, MAP.TERRITORIES_ARR[_local3].player);
MAP.TERRITORIES_ARR[_local3].unitsMC = _local5;
_local8.push(_local5);
rubbish_arr.push(_local5);
_local3++;
}
unitsSmartDepths(_local8);
}
function unitsSmartDepths(unitsArr) {
var _local5 = 0;
while (_local5 < unitsArr.length) {
var _local2 = unitsArr.length - 1;
while (_local2 > _local5) {
if (unitsArr[_local2 - 1]._y > unitsArr[_local2]._y) {
var _local4 = unitsArr[_local2];
unitsArr[_local2] = unitsArr[_local2 - 1];
unitsArr[_local2 - 1] = _local4;
}
_local2--;
}
_local5++;
}
_local5 = 0;
while (_local5 < unitsArr.length) {
unitsArr[_local5].swapDepths(2 + (counter * 2));
counter++;
_local5++;
}
}
function showBiggestArea() {
var _local7 = new Array();
var _local3 = 0;
while (_local3 < MAP.TERRITORIES_ARR.length) {
if (MAP.TERRITORIES_ARR[_local3].player == PLAYER_MOVE) {
_local7.push(MAP.TERRITORIES_ARR[_local3]);
}
_local3++;
}
var _local4 = new Array();
_local3 = 0;
while (_local3 < _local7.length) {
var _local6 = _local7[_local3];
if (isThere(_local6, _local4) == false) {
var _local5 = new Array();
generate(_local6, _local5);
_local4.push(_local5);
}
_local3++;
}
maxArea = new Array();
_local3 = 0;
while (_local3 < _local4.length) {
if (_local4[_local3].length > maxArea.length) {
maxArea = _local4[_local3];
}
_local3++;
}
_local3 = 0;
while (_local3 < maxArea.length) {
MAP.lightOnTerritory(maxArea[_local3]);
_local3++;
}
var _local9 = 0;
var _local8 = 0;
_local3 = 0;
while (_local3 < maxArea.length) {
_local9 = _local9 + maxArea[_local3].unitsMC._x;
_local8 = _local8 + maxArea[_local3].unitsMC._y;
_local3++;
}
_local9 = _local9 / maxArea.length;
_local8 = _local8 / maxArea.length;
var _local10 = UNITS_MC.attachMovie("CLOUD", "CLOUD", UNITS_MC.getNextHighestDepth());
_local10.toAdd = maxArea.length;
_local10._x = _local9;
_local10._y = _local8;
_global.setTimeout(mx.utils.Delegate.create(this, hideBiggestArea), 1200);
}
function hideBiggestArea() {
var _local2 = 0;
while (_local2 < maxArea.length) {
MAP.lightOffTerritory(maxArea[_local2]);
_local2++;
}
}
function addUnits() {
var _local12 = unitsToAdd(PLAYER_MOVE) + PLAYERS_CACHES[PLAYER_MOVE - 1];
var _local5 = new Array();
var _local6 = 0;
while (_local6 < MAP.TERRITORIES_ARR.length) {
if (MAP.TERRITORIES_ARR[_local6].player == PLAYER_MOVE) {
_local5.push(MAP.TERRITORIES_ARR[_local6]);
}
_local6++;
}
var _local4 = new Array();
_local6 = 0;
while (_local6 < _local5.length) {
_local4.push(0);
_local6++;
}
var _local11 = _local5.length;
while ((_local12 > 0) && (_local11 > 0)) {
_local11 = _local5.length;
_local6 = 0;
while (_local6 < _local4.length) {
if ((_local4[_local6] + _local5[_local6].unitsNO) >= 8) {
_local11--;
}
_local6++;
}
var _local7 = random2(_local5.length - 1);
var _local9 = false;
_local6 = 0;
while ((_local6 < _local4.length) && (!_local9)) {
if ((_local4[(_local7 + _local6) % _local4.length] + _local5[(_local7 + _local6) % _local4.length].unitsNO) < 8) {
_local4[(_local7 + _local6) % _local4.length]++;
_local12--;
_local9 = true;
}
_local6++;
}
}
if (_local12 > 32) {
_local12 = 32;
}
if ((_local12 > 0) && (PLAYER_MOVE == 1)) {
_root.EXTRA_UNITS.showExtra = _local12;
_root.EXTRA_UNITS.gotoAndPlay(2);
}
PLAYERS_CACHES[PLAYER_MOVE - 1] = _local12;
var _local14 = 0;
_local6 = 0;
while (_local6 < _local5.length) {
if (_local4[_local6] > 0) {
var _local8 = UNITS_MC.attachMovie("UNITS_ADDER", "adder_to_" + _local5[_local6].unitsMC._name, _local5[_local6].unitsMC.getDepth() - 1);
_local5[_local6].unitsNO = _local5[_local6].unitsNO + _local4[_local6];
_local8._x = _local5[_local6].unitsMC._x + 10;
_local8._y = _local5[_local6].unitsMC._y;
_local8.unitsMC = _local5[_local6].unitsMC;
_local8.army = _local5[_local6].army;
_local8.newUnitsNO = _local5[_local6].unitsNO;
_local8.player = _local5[_local6].player;
}
_local6++;
}
_global.SOUNDS.playSound("przemarsz - do uzupe\u0142niania jednostek.wav");
var _local13 = false;
while (!_local13) {
var _local10 = PLAYER_MOVE + 1;
if (_local10 > PLAYERS_NO) {
_local10 = 1;
}
if (countPlayerUnits(MAP.TERRITORIES_ARR, _local10) > 0) {
_global.setTimeout(mx.utils.Delegate.create(this, nextPlayer), 2000);
_local13 = true;
} else {
PLAYER_MOVE++;
}
}
}
function unitsToAdd(player) {
var _local6 = new Array();
var _local2 = 0;
while (_local2 < MAP.TERRITORIES_ARR.length) {
if (MAP.TERRITORIES_ARR[_local2].player == player) {
_local6.push(MAP.TERRITORIES_ARR[_local2]);
}
_local2++;
}
var _local3 = new Array();
_local2 = 0;
while (_local2 < _local6.length) {
var _local5 = _local6[_local2];
if (isThere(_local5, _local3) == false) {
var _local4 = new Array();
generate(_local5, _local4);
_local3.push(_local4);
}
_local2++;
}
var _local7 = 0;
_local2 = 0;
while (_local2 < _local3.length) {
if (_local3[_local2].length > _local7) {
_local7 = _local3[_local2].length;
}
_local2++;
}
return(_local7);
}
function generate(terr, arrToFill) {
if (isThere2(terr, arrToFill) == false) {
arrToFill.push(terr);
var _local3 = neighboursAreasArr(terr.arr);
var _local2 = 0;
while (_local2 < _local3.length) {
generate(_local3[_local2], arrToFill);
_local2++;
}
}
}
function isThere2(terr, arr) {
var _local1 = 0;
while (_local1 < arr.length) {
if (arr[_local1] == terr) {
return(true);
}
_local1++;
}
return(false);
}
function isThere(terr, arr) {
var _local2 = 0;
while (_local2 < arr.length) {
var _local1 = 0;
while (_local1 < arr[_local2].length) {
if (arr[_local2][_local1] == terr) {
return(true);
}
_local1++;
}
_local2++;
}
return(false);
}
function neighboursAreasArr(terrArr) {
var _local6 = new Array();
var _local7 = 0;
while (_local7 < terrArr.length) {
var _local4 = terrArr[_local7];
var _local3 = [_local4.TL, _local4.L, _local4.TR, _local4.BR, _local4.R, _local4.BL];
var _local1 = 0;
while (_local1 < _local3.length) {
if ((_local3[_local1]._territory != _local4._territory) && (_local3[_local1]._territory.player == _local4._territory.player)) {
var _local5 = false;
var _local2 = 0;
while ((_local2 < _local6.length) && (!_local5)) {
if (_local6[_local2] == _local3[_local1]._territory) {
_local5 = true;
}
_local2++;
}
if (!_local5) {
_local6.push(_local3[_local1]._territory);
}
}
_local1++;
}
_local7++;
}
return(_local6);
}
function fightFinished() {
MAP.winnerFound();
if (PLAYER_MOVE == 1) {
MAP.selectA();
} else {
var root = this;
TRACER.ct = 0;
TRACER.onEnterFrame = function () {
this.ct++;
if (this.ct > 15) {
root.nextAImove();
delete this.onEnterFrame;
}
};
}
FIGHTBOX.resetWinner();
}
function nextAImove(oldID) {
AI.cleverMove();
}
function kill() {
delete TRACER.onEnterFrame;
}
function clearAll() {
var _local2 = 0;
while (_local2 < rubbish_arr.length) {
rubbish_arr[_local2].removeMovieClip();
_local2++;
}
}
function random2(z) {
return(Math.round(Math.random() * z));
}
function random3(z) {
var _local4 = new Array();
var _local3 = 0;
while (_local3 <= z) {
var _local2 = 0;
while (_local2 <= _local3) {
_local4.push(_local3);
_local2++;
}
_local3++;
}
return(_local4[random2(_local4.length - 1)]);
}
function shuffledArray(arr) {
var _local5 = 0;
while (_local5 < 20) {
var _local4 = random2(arr.length - 1);
var _local3 = random2(arr.length - 1);
var _local6 = arr[_local4];
arr[_local4] = arr[_local3];
arr[_local3] = _local6;
_local5++;
}
return(arr);
}
function countPlayerUnits(terrArr, pl) {
var _local3 = 0;
var _local1 = 0;
while (_local1 < terrArr.length) {
if (terrArr[_local1].player == pl) {
_local3 = _local3 + terrArr[_local1].unitsNO;
}
_local1++;
}
return(_local3);
}
}
Symbol 505 MovieClip [__Packages.classes.Map] Frame 0
class classes.Map
{
var ROOT_MC, GAME_CLASS, HEX, cos30, cos60, sin60, rubbish_arr, CHOSEN_TERR_A, CHOSEN_TERR_B, TERRITORIES_ARR, MAP_ARR, counter, TERR_A_NArr;
function Map (rmc, gc) {
ROOT_MC = rmc;
GAME_CLASS = gc;
HEX = new classes.models.Hex();
cos30 = Math.cos(deg2rad(30));
cos60 = Math.cos(deg2rad(60));
sin60 = Math.sin(deg2rad(60));
}
function createMap(players) {
var _local23 = 34;
var _local24 = 29;
var _local27 = 30;
var _local28 = 34;
var _local26 = random2(_local28 - _local27) + _local27;
if (rubbish_arr.length > 0) {
clearAll();
}
rubbish_arr = new Array();
CHOSEN_TERR_A = (CHOSEN_TERR_B = undefined);
TERRITORIES_ARR = new Array();
MAP_ARR = new Array();
counter = 0;
drawGrid(_local23, _local24);
while (TERRITORIES_ARR.length < _local26) {
var _local10;
var _local9;
if (TERRITORIES_ARR.length == 0) {
var _local13 = Math.round((_local23 - 1) / 2);
var _local12 = Math.round((_local24 - 1) / 2);
_local10 = Math.round((0.25 * _local13) + random2(0.5 * _local13));
_local9 = Math.round((0.25 * _local12) + random2(0.5 * _local12));
} else {
var _local8 = false;
while (!_local8) {
var _local5 = random2(TERRITORIES_ARR.length - 1);
var _local6 = TERRITORIES_ARR[_local5].arr.length - 1;
while (_local6 >= 0) {
var _local3 = freeNeighboursArr2(TERRITORIES_ARR[_local5].arr[_local6]);
if (_local3.length > 0) {
var _local4 = random2(_local3.length - 1);
_local10 = _local3[_local4].x;
_local9 = _local3[_local4].y;
_local8 = true;
}
_local6--;
}
}
}
var _local7 = newTerritory(_local10, _local9);
if (_local7.length > 0) {
var _local11 = {status:0, player:0, border:undefined, army:0, unitsMC:undefined, unitsNO:0, arr:_local7};
var _local6 = 0;
while (_local6 < _local7.length) {
_local7[_local6]._territory = _local11;
_local6++;
}
TERRITORIES_ARR.push(_local11);
}
}
var _local25 = _root.ARMY;
var _local15 = new Array();
var _local6 = 0;
while (_local6 < players) {
_local15.push((((_local6 + _local25) - 1) % 3) + 1);
_local6++;
}
_local6 = 0;
while (_local6 < TERRITORIES_ARR.length) {
makeBorder(TERRITORIES_ARR[_local6], HEX.__get__HEIGHT() / 2);
markTerritory(TERRITORIES_ARR[_local6], players - (_local6 % players), 0);
TERRITORIES_ARR[_local6].army = _local15[TERRITORIES_ARR[_local6].player - 1];
_local6++;
}
randomUnits(players);
}
function startInterface() {
selectA();
}
function markTerritory(terrObj, pl, stat) {
var _local2 = 0;
while (_local2 < terrObj.arr.length) {
terrObj.arr[_local2]._visible = true;
terrObj.arr[_local2].gotoAndStop(pl);
_local2++;
}
colorMC(terrObj.border, BORDER_COLOR);
terrObj.status = stat;
terrObj.player = pl;
}
function drawGrid(w, h) {
var _local11 = HEX.__get__WIDTH();
var _local7 = 0;
while (_local7 < h) {
var _local8 = new Array();
var _local6 = 0;
while (_local6 < w) {
var _local5 = ROOT_MC.attachMovie("HEX", (("hex_" + _local6) + "x") + _local7, counter++);
_local5._x = (_local6 * HEX.__get__WIDTH()) + ((_local7 % 2) * (HEX.__get__WIDTH() / 2));
_local5._y = (_local7 * (HEX.__get__HEIGHT() / 2)) * 1.5;
_local8.push(_local5);
_local5.x = _local6;
_local5.y = _local7;
_local5._inTerritory = false;
_local5._onBorder = false;
_local5._visible = false;
rubbish_arr.push(_local5);
_local6++;
}
MAP_ARR.push(_local8);
_local7++;
}
var _local3 = 0;
while (_local3 < h) {
var _local2 = 0;
while (_local2 < w) {
var _local4 = MAP_ARR[_local3][_local2];
_local4.L = MAP_ARR[_local3][_local2 - 1];
_local4.R = MAP_ARR[_local3][_local2 + 1];
if ((_local3 % 2) == 0) {
_local4.TL = MAP_ARR[_local3 - 1][_local2 - 1];
_local4.TR = MAP_ARR[_local3 - 1][_local2];
_local4.BL = MAP_ARR[_local3 + 1][_local2 - 1];
_local4.BR = MAP_ARR[_local3 + 1][_local2];
} else {
_local4.TL = MAP_ARR[_local3 - 1][_local2];
_local4.TR = MAP_ARR[_local3 - 1][_local2 + 1];
_local4.BL = MAP_ARR[_local3 + 1][_local2];
_local4.BR = MAP_ARR[_local3 + 1][_local2 + 1];
}
_local2++;
}
_local3++;
}
}
function newTerritory(x, y) {
var _local2 = new Array(MAP_ARR[y][x]);
MAP_ARR[y][x]._inTerritory = true;
var _local8 = random2(Math.round(TERRITORY_SIZE_max - TERRITORY_SIZE_min)) + TERRITORY_SIZE_min;
var _local7 = false;
while ((_local2.length < _local8) && (!_local7)) {
var _local6 = 0;
_local2 = shuffledArray(_local2);
var _local3 = 0;
while (_local3 < _local2.length) {
var _local4 = freeNeighboursArr2(_local2[_local3]);
if (_local4.length > 0) {
var _local5 = _local4[random2(_local4.length - 1)];
_local2.push(_local5);
_local5._inTerritory = true;
_local3 = _local2.length + 10;
} else {
_local6++;
}
_local3++;
}
if (_local6 >= _local2.length) {
_local7 = true;
}
}
if (_local7) {
if (_local2.length >= TERRITORY_SIZE_min) {
return(_local2);
}
burnTerritory(_local2);
return(new Array());
}
return(_local2);
}
function neighbourTerritoriesNo(terrArr) {
var _local6 = new Array();
var _local7 = 0;
while (_local7 < terrArr.length) {
var _local5 = terrArr[_local7];
var _local3 = [_local5.TL, _local5.L, _local5.TR, _local5.BR, _local5.R, _local5.BL];
var _local1 = 0;
while (_local1 < _local3.length) {
if ((_local3[_local1]._territory != _local5._territory) && (_local3[_local1]._territory != undefined)) {
var _local4 = false;
var _local2 = 0;
while ((_local2 < _local6.length) && (!_local4)) {
if (_local6[_local2] == _local3[_local1]._territory) {
_local4 = true;
}
_local2++;
}
if (!_local4) {
_local6.push(_local3[_local1]._territory);
}
}
_local1++;
}
_local7++;
}
return(_local6.length);
}
function freeNeighboursArr(mc) {
var _local3 = new Array();
var _local2 = [mc.TL, mc.L, mc.TR, mc.BR, mc.R, mc.BL];
var _local1 = 0;
while (_local1 < _local2.length) {
if ((_local2[_local1] != undefined) && (_local2[_local1]._inTerritory == false)) {
_local3.push(_local2[_local1]);
}
_local1++;
}
return(_local3);
}
function freeNeighboursArr2(mc) {
var _local4 = new Array();
var _local2 = [mc.TL, mc.L, mc.TR, mc.BR, mc.R, mc.BL, mc.L, mc.R, mc.L, mc.R];
var _local1 = 0;
while (_local1 < _local2.length) {
if ((_local2[_local1] != undefined) && (_local2[_local1]._inTerritory == false)) {
_local4.push(_local2[_local1]);
}
_local1++;
}
return(_local4);
}
function burnTerritory(terrArr) {
var _local1 = 0;
while (_local1 < terrArr.length) {
terrArr[_local1]._inTerritory = true;
_local1++;
}
}
function makeBorder(terrObj, r) {
var _local7 = BORDER_SIZE;
var _local6 = BORDER_COLOR;
var _local11 = new Array();
var _local10 = 0;
while (_local10 < terrObj.arr.length) {
var _local8 = terrObj.arr[_local10];
var _local9 = [_local8.TL, _local8.L, _local8.TR, _local8.BR, _local8.R, _local8.BL];
var _local5 = 0;
while (_local5 < _local9.length) {
if ((_local9[_local5]._territory != terrObj) && (!_local8._onBorder)) {
_local8._onBorder = true;
_local11.push(_local8);
}
_local5++;
}
_local10++;
}
var _local2 = ROOT_MC.createEmptyMovieClip("border" + counter, counter++);
_local2._x = _local11[0]._x;
_local2._y = _local11[0]._y;
terrObj.border = _local2;
rubbish_arr.push(_local2);
_local10 = 0;
while (_local10 < _local11.length) {
var _local8 = _local11[_local10];
var _local4 = _local8._x - _local2._x;
var _local3 = _local8._y - _local2._y;
var _local9 = [_local8.TL, _local8.L, _local8.TR, _local8.BR, _local8.R, _local8.BL];
var _local5 = 0;
while (_local5 < _local9.length) {
if ((_local9[_local5]._territory != _local8._territory) || (_local9[_local5] == undefined)) {
switch (_local5) {
case 5 :
_local2.lineStyle(_local7, _local6, 100);
_local2.moveTo(_local4 + HEX.__get__BL().x, _local3 + HEX.__get__BL().y);
_local2.lineTo(_local4 + HEX.__get__B().x, _local3 + HEX.__get__B().y);
break;
case 1 :
_local2.lineStyle(_local7, _local6, 100);
_local2.moveTo(_local4 + HEX.__get__BL().x, _local3 + HEX.__get__BL().y);
_local2.lineTo(_local4 + HEX.__get__TL().x, _local3 + HEX.__get__TL().y);
break;
case 3 :
_local2.lineStyle(_local7, _local6, 100);
_local2.moveTo(_local4 + HEX.__get__BR().x, _local3 + HEX.__get__BR().y);
_local2.lineTo(_local4 + HEX.__get__B().x, _local3 + HEX.__get__B().y);
break;
case 2 :
_local2.lineStyle(_local7, _local6, 100);
_local2.moveTo(_local4 + HEX.__get__TR().x, _local3 + HEX.__get__TR().y);
_local2.lineTo(_local4 + HEX.__get__T().x, _local3 + HEX.__get__T().y);
break;
case 4 :
_local2.lineStyle(_local7, _local6, 100);
_local2.moveTo(_local4 + HEX.__get__TR().x, _local3 + HEX.__get__TR().y);
_local2.lineTo(_local4 + HEX.__get__BR().x, _local3 + HEX.__get__BR().y);
break;
case 0 :
_local2.lineStyle(_local7, _local6, 100);
_local2.moveTo(_local4 + HEX.__get__TL().x, _local3 + HEX.__get__TL().y);
_local2.lineTo(_local4 + HEX.__get__T().x, _local3 + HEX.__get__T().y);
}
}
_local5++;
}
_local10++;
}
}
function randomUnits(players) {
var _local12 = Math.round(AV_UNITS_PER_TERRITORY * TERRITORIES_ARR.length);
var _local9 = new Array();
var _local10 = new Array();
var _local5 = 0;
while (_local5 < players) {
_local9.push(Math.floor(_local12 / players));
_local5++;
}
_local5 = 0;
while (_local5 < (_local12 - (Math.floor(_local12 / players) * players))) {
_local9[(_local9.length - 1) - _local5] = _local9[(_local9.length - 1) - _local5] + 1;
_local5++;
}
var _local15 = Math.floor(TERRITORIES_ARR.length / players);
var _local14 = TERRITORIES_ARR.length - (players * Math.floor(TERRITORIES_ARR.length / players));
_local5 = 0;
while (_local5 < players) {
_local10.push(_local15);
_local5++;
}
_local5 = 0;
while (_local5 < _local14) {
_local10[(_local10.length - 1) - _local5] = _local10[(_local10.length - 1) - _local5] + 1;
_local5++;
}
var _local13 = new Array();
var _local11 = new Array();
_local5 = 0;
while (_local5 < players) {
var _local4 = _local9[_local5];
var _local7 = _local10[_local5];
var _local8 = new Array();
var _local3 = 0;
while (_local3 < _local7) {
var _local2 = 0;
while ((_local2 > 8) || (_local2 < 1)) {
_local2 = random2(Math.floor(_local4 / 2) - 1) + 1;
}
if (_local3 == (_local7 - 1)) {
_local2 = _local4;
if (_local2 < 1) {
_local2 = 1;
}
}
_local8.push(_local2);
_local4 = _local4 - _local2;
_local3++;
}
_local11.push(0);
_local13.push(_local8);
_local5++;
}
_local5 = 0;
while (_local5 < TERRITORIES_ARR.length) {
TERRITORIES_ARR[_local5].unitsNO = _local13[TERRITORIES_ARR[_local5].player - 1][_local11[TERRITORIES_ARR[_local5].player - 1]];
_local11[TERRITORIES_ARR[_local5].player - 1]++;
_local5++;
}
}
function territoryA(terr) {
CHOSEN_TERR_A = terr;
CHOSEN_TERR_B = undefined;
colorMC(CHOSEN_TERR_A.border, BORDER_ACTIVE_COLOR);
territoryMaxDepth(CHOSEN_TERR_A);
}
function territoryB(terr) {
CHOSEN_TERR_B = terr;
colorMC(CHOSEN_TERR_B.border, BORDER_ACTIVE_COLOR);
var _local2 = 0;
while (_local2 < TERRITORIES_ARR.length) {
if (TERRITORIES_ARR[_local2].border.getDepth() == (CHOSEN_TERR_A.border.getDepth() - 1)) {
CHOSEN_TERR_B.border.swapDepths(TERRITORIES_ARR[_local2].border);
_local2 = TERRITORIES_ARR.length;
}
_local2++;
}
}
function territoryMaxDepth(terrObj) {
var _local6 = TERRITORIES_ARR[0].border.getDepth();
var _local2 = new Array();
var _local5 = 0;
while (_local5 < TERRITORIES_ARR.length) {
if (TERRITORIES_ARR[_local5].border.getDepth() < _local6) {
_local6 = TERRITORIES_ARR[_local5].border.getDepth();
}
_local2.push(TERRITORIES_ARR[_local5].border);
TERRITORIES_ARR[_local5].border.swapDepths(((_local6 + 10) + TERRITORIES_ARR.length) + _local5);
_local5++;
}
_local5 = 0;
while (_local5 < _local2.length) {
var _local3 = _local2.length - 1;
while (_local3 > _local5) {
if (_local2[_local3 - 1].getDepth() > _local2[_local3].getDepth()) {
var _local4 = _local2[_local3];
_local2[_local3] = _local2[_local3 - 1];
_local2[_local3 - 1] = _local4;
}
_local3--;
}
_local5++;
}
_local5 = 0;
while (_local5 < _local2.length) {
if (_local2[_local5] == terrObj.border) {
_local2.splice(_local5, 1);
}
_local5++;
}
_local2.push(terrObj.border);
_local5 = 0;
while (_local5 < _local2.length) {
_local2[_local5].swapDepths(_local6 + _local5);
_local5++;
}
}
function resetTerritory(terr) {
if (CHOSEN_TERR_B == terr) {
CHOSEN_TERR_B = undefined;
}
if (CHOSEN_TERR_A == terr) {
CHOSEN_TERR_A = undefined;
}
markTerritory(terr, terr.player, 0);
}
function unMarkIfMarked() {
colorMC(CHOSEN_TERR_A.border, BORDER_COLOR);
deselectAll();
}
function selectA() {
if (!GAME_CLASS.isGameFinished()) {
var root = this;
var _local4 = 0;
while (_local4 < TERRITORIES_ARR.length) {
var _local6 = false;
var _local7 = neighboursAreasArr(TERRITORIES_ARR[_local4].arr);
var _local5 = 0;
while ((_local5 < _local7.length) && (!_local6)) {
if (_local7[_local5].player != TERRITORIES_ARR[_local4].player) {
_local6 = true;
}
_local5++;
}
if (_local6) {
_local5 = 0;
while (_local5 < TERRITORIES_ARR[_local4].arr.length) {
var _local3 = TERRITORIES_ARR[_local4].arr[_local5];
if ((_local3._territory.player == 1) && (_local3._territory.unitsNO > 1)) {
_local3.onRelease = function () {
_global.SOUNDS.playSound("Click- g\u0142o\u015Bniejszy.wav");
if (this._territory == root.CHOSEN_TERR_A) {
root.colorMC(root.CHOSEN_TERR_A.border, root.BORDER_COLOR);
root.lightOffTerritory(root.CHOSEN_TERR_A);
root.deselectB();
root.CHOSEN_TERR_A = undefined;
} else {
root.colorMC(root.CHOSEN_TERR_A.border, root.BORDER_COLOR);
root.lightOffTerritory(root.CHOSEN_TERR_A);
root.deselectB();
root.territoryA(this._territory);
root.lightOffTerritory(this._territory);
root.selectB();
}
};
_local3.onRollOver = function () {
if (this._territory != root.CHOSEN_TERR_A) {
root.lightOnTerritory(this._territory);
}
};
_local3.onRollOut = (_local3.onReleaseOutside = function () {
if (this._territory != root.CHOSEN_TERR_A) {
root.lightOffTerritory(this._territory);
}
});
}
_local5++;
}
}
_local4++;
}
}
}
function selectB() {
findAneighbours();
var root = this;
var _local4 = 0;
while (_local4 < TERR_A_NArr.length) {
if (TERR_A_NArr[_local4].player != 1) {
var _local3 = 0;
while (_local3 < TERR_A_NArr[_local4].arr.length) {
var _local5 = TERR_A_NArr[_local4].arr[_local3];
_local5.onRelease = function () {
_global.SOUNDS.playSound("Click- g\u0142o\u015Bniejszy.wav");
root.territoryB(this._territory);
root.fightAB();
root.deselectAll();
};
_local3++;
}
}
_local4++;
}
}
function deselectB() {
findAneighbours();
var _local5 = this;
var _local3 = 0;
while (_local3 < TERR_A_NArr.length) {
if (TERR_A_NArr[_local3].player != 1) {
var _local2 = 0;
while (_local2 < TERR_A_NArr[_local3].arr.length) {
var _local4 = TERR_A_NArr[_local3].arr[_local2];
delete _local4.onRelease;
_local2++;
}
}
_local3++;
}
}
function deselectA() {
var _local5 = this;
var _local4 = 0;
while (_local4 < TERR_A_NArr.length) {
if (TERR_A_NArr[_local4].player == 1) {
var _local3 = 0;
while (_local3 < TERR_A_NArr[_local4].arr.length) {
var _local2 = TERR_A_NArr[_local4].arr[_local3];
delete _local2.onRollOut;
delete _local2.onReleaseOutside;
delete _local2.onRollOver;
delete _local2.onRelease;
_local3++;
}
}
_local4++;
}
}
function deselectAll() {
var _local3 = 0;
while (_local3 < TERRITORIES_ARR.length) {
var _local2 = 0;
while (_local2 < TERRITORIES_ARR[_local3].arr.length) {
delete TERRITORIES_ARR[_local3].arr[_local2].onRollOver;
delete TERRITORIES_ARR[_local3].arr[_local2].onRollOut;
delete TERRITORIES_ARR[_local3].arr[_local2].onReleaseOutside;
delete TERRITORIES_ARR[_local3].arr[_local2].onRelease;
_local2++;
}
_local3++;
}
}
function findAneighbours() {
TERR_A_NArr = new Array();
var _local8 = CHOSEN_TERR_A.arr;
var _local7 = 0;
while (_local7 < _local8.length) {
var _local6 = _local8[_local7];
var _local4 = [_local6.TL, _local6.L, _local6.TR, _local6.BR, _local6.R, _local6.BL];
var _local2 = 0;
while (_local2 < _local4.length) {
if ((_local4[_local2]._territory != _local6._territory) && (_local4[_local2]._territory != undefined)) {
var _local5 = false;
var _local3 = 0;
while ((_local3 < TERR_A_NArr.length) && (!_local5)) {
if (TERR_A_NArr[_local3] == _local4[_local2]._territory) {
_local5 = true;
}
_local3++;
}
if (!_local5) {
TERR_A_NArr.push(_local4[_local2]._territory);
}
}
_local2++;
}
_local7++;
}
}
function neighboursAreasArr(terrArr) {
var _local6 = new Array();
var _local7 = 0;
while (_local7 < terrArr.length) {
var _local5 = terrArr[_local7];
var _local3 = [_local5.TL, _local5.L, _local5.TR, _local5.BR, _local5.R, _local5.BL];
var _local1 = 0;
while (_local1 < _local3.length) {
if ((_local3[_local1]._territory != _local5._territory) && (_local3[_local1]._territory != undefined)) {
var _local4 = false;
var _local2 = 0;
while ((_local2 < _local6.length) && (!_local4)) {
if (_local6[_local2] == _local3[_local1]._territory) {
_local4 = true;
}
_local2++;
}
if (!_local4) {
_local6.push(_local3[_local1]._territory);
}
}
_local1++;
}
_local7++;
}
return(_local6);
}
function lightOnTerritory(terrObj) {
var _local1 = 0;
while (_local1 < terrObj.arr.length) {
terrObj.arr[_local1]._alpha = 70;
_local1++;
}
}
function lightOffTerritory(terrObj) {
var _local1 = 0;
while (_local1 < terrObj.arr.length) {
terrObj.arr[_local1]._alpha = 100;
_local1++;
}
}
function fightAB() {
GAME_CLASS.FIGHTBOX.resetWinner();
GAME_CLASS.FIGHTBOX.fight(CHOSEN_TERR_A, CHOSEN_TERR_B);
}
function winnerFound() {
if (GAME_CLASS.FIGHTBOX.WINNER == CHOSEN_TERR_A) {
winA();
if ((GAME_CLASS.PLAYER_MOVE == 1) && (!GAME_CLASS.isGameFinished())) {
_global.setTimeout(mx.utils.Delegate.create(GAME_CLASS, GAME_CLASS.showBiggestArea), 300);
}
}
if (GAME_CLASS.FIGHTBOX.WINNER == CHOSEN_TERR_B) {
winB();
}
var _local4 = new Array();
var _local3 = 1;
while (_local3 <= GAME_CLASS.PLAYERS_NO) {
_local4.push(GAME_CLASS.unitsToAdd(_local3));
_local3++;
}
GAME_CLASS.UNITS_LIST.refreshList(_local4, TERRITORIES_ARR);
}
function winA() {
markTerritory(CHOSEN_TERR_B, CHOSEN_TERR_A.player, 0);
CHOSEN_TERR_B.unitsNO = CHOSEN_TERR_A.unitsNO - 1;
CHOSEN_TERR_A.unitsNO = 1;
CHOSEN_TERR_B.army = CHOSEN_TERR_A.army;
CHOSEN_TERR_A.unitsMC.setUnit(CHOSEN_TERR_A.army, CHOSEN_TERR_A.unitsNO, CHOSEN_TERR_A.player);
CHOSEN_TERR_B.unitsMC.setUnit(CHOSEN_TERR_A.army, CHOSEN_TERR_B.unitsNO, CHOSEN_TERR_B.player);
resetTerritory(CHOSEN_TERR_A);
resetTerritory(CHOSEN_TERR_B);
deselectAll();
}
function winB() {
CHOSEN_TERR_A.unitsNO = 1;
CHOSEN_TERR_A.unitsMC.setUnit(CHOSEN_TERR_A.army, CHOSEN_TERR_A.unitsNO, CHOSEN_TERR_A.player);
resetTerritory(CHOSEN_TERR_A);
resetTerritory(CHOSEN_TERR_B);
deselectAll();
}
function colorMC(mc, cl) {
var _local1 = new Color(mc);
_local1.setRGB(cl);
}
function rad2deg(rad) {
return((rad * 180) / Math.PI);
}
function deg2rad(deg) {
return((deg * Math.PI) / 180);
}
function random2(z) {
return(Math.round(Math.random() * z));
}
function shuffledArray(arr) {
var _local5 = 0;
while (_local5 < 30) {
var _local4 = random2(arr.length - 1);
var _local3 = random2(arr.length - 1);
var _local6 = arr[_local4];
arr[_local4] = arr[_local3];
arr[_local3] = _local6;
_local5++;
}
return(arr);
}
function clearAll() {
var _local2 = 0;
while (_local2 < rubbish_arr.length) {
rubbish_arr[_local2].removeMovieClip();
_local2++;
}
}
var TERRITORY_SIZE_min = 17;
var TERRITORY_SIZE_max = 28;
var BORDER_COLOR = 4143636;
var BORDER_ACTIVE_COLOR = 16777215;
var BORDER_OVER_COLOR = 13421772;
var BORDER_SIZE = 2;
var AV_UNITS_PER_TERRITORY = 3;
var COLOR_ARR = [11304249, 7041575, 4541257, 10439479, 5801101, 7419137, 8092812, 4866561];
}
Symbol 506 MovieClip [__Packages.classes.models.Hex] Frame 0
class classes.models.Hex
{
var _CORNERS;
function Hex () {
_CORNERS = [{x:-9.5, y:-4.25}, {x:0, y:-8.45}, {x:9.5, y:-4.25}, {x:9.5, y:4.25}, {x:0, y:8.45}, {x:-9.5, y:4.25}];
var _local2 = 0;
while (_local2 < _CORNERS.length) {
_CORNERS[_local2].x = _CORNERS[_local2].x * 0.89;
_CORNERS[_local2].y = _CORNERS[_local2].y * 0.89;
_local2++;
}
}
function get TL() {
return(_CORNERS[0]);
}
function get T() {
return(_CORNERS[1]);
}
function get TR() {
return(_CORNERS[2]);
}
function get BR() {
return(_CORNERS[3]);
}
function get B() {
return(_CORNERS[4]);
}
function get BL() {
return(_CORNERS[5]);
}
function get HEIGHT() {
return(B.y - T.y);
}
function get WIDTH() {
return(TR.x - TL.x);
}
}
Symbol 507 MovieClip [__Packages.classes.GameAI] Frame 0
class classes.GameAI
{
var GAME_CLASS, PLAYER, CHOSEN_TERR_A, CHOSEN_TERR_B;
function GameAI (gc) {
GAME_CLASS = gc;
}
function cleverMove(player, oldID) {
if ((!GAME_CLASS.isGameFinished()) && (_global.gameAccess == true)) {
if (_global.GAME_PAUSE == false) {
if (!player) {
player = PLAYER;
} else {
PLAYER = player;
}
var _local3;
var _local10;
var _local5 = false;
var _local9 = 0;
while ((_local9 < GAME_CLASS.MAP.TERRITORIES_ARR.length) && (!_local5)) {
if (GAME_CLASS.MAP.TERRITORIES_ARR[_local9].player == player) {
_local3 = GAME_CLASS.MAP.TERRITORIES_ARR[_local9];
var _local8 = neighboursArr(_local3);
var _local6 = 0;
while ((_local6 < _local8.length) && (!_local5)) {
if (_local8[_local6].player != _local3.player) {
if ((_local3.unitsNO - _local8[_local6].unitsNO) >= 2) {
var _local7 = neighboursArr(_local8[_local6]);
var _local4 = 0;
while ((_local4 < _local7.length) && (!_local5)) {
if ((_local7[_local4].player != _local3.player) && (((_local3.unitsNO - 1) - _local7[_local4].unitsNO) >= 2)) {
_local10 = _local8[_local6];
_local5 = true;
}
_local4++;
}
}
}
_local6++;
}
}
_local9++;
}
if (!_local5) {
_local9 = 0;
while ((_local9 < GAME_CLASS.MAP.TERRITORIES_ARR.length) && (!_local5)) {
if (GAME_CLASS.MAP.TERRITORIES_ARR[_local9].player == player) {
_local3 = GAME_CLASS.MAP.TERRITORIES_ARR[_local9];
if (_local3.unitsNO > 1) {
var _local8 = neighboursArr(_local3);
var _local6 = 0;
while ((_local6 < _local8.length) && (!_local5)) {
if (_local8[_local6].player != _local3.player) {
if (_local3.unitsNO >= _local8[_local6].unitsNO) {
_local10 = _local8[_local6];
_local5 = true;
}
}
_local6++;
}
}
}
_local9++;
}
}
if (!_local5) {
GAME_CLASS.addUnits();
} else {
CHOSEN_TERR_A = _local3;
CHOSEN_TERR_B = _local10;
GAME_CLASS.MAP.territoryA(CHOSEN_TERR_A);
GAME_CLASS.MAP.territoryB(CHOSEN_TERR_B);
_global.setTimeout(mx.utils.Delegate.create(GAME_CLASS.MAP, GAME_CLASS.MAP.fightAB), 700);
}
} else {
_global.setTimeout(mx.utils.Delegate.create(this, cleverMove), 100);
}
}
}
function neighboursArr(terr) {
var _local6 = new Array();
var _local8 = terr.arr;
var _local7 = 0;
while (_local7 < _local8.length) {
var _local5 = _local8[_local7];
var _local3 = [_local5.TL, _local5.L, _local5.TR, _local5.BR, _local5.R, _local5.BL];
var _local1 = 0;
while (_local1 < _local3.length) {
if ((_local3[_local1]._territory != _local5._territory) && (_local3[_local1]._territory != undefined)) {
var _local4 = false;
var _local2 = 0;
while ((_local2 < _local6.length) && (!_local4)) {
if (_local6[_local2] == _local3[_local1]._territory) {
_local4 = true;
}
_local2++;
}
if (!_local4) {
_local6.push(_local3[_local1]._territory);
}
}
_local1++;
}
_local7++;
}
return(_local6);
}
function markTerr(terr, st) {
var _local1 = 0;
while (_local1 < terr.arr.length) {
terr.arr[_local1]._alpha = 100 - (st * 10);
_local1++;
}
}
function colorMC(mc, cl) {
var _local1 = new Color(mc);
_local1.setRGB(cl);
}
}
Symbol 508 MovieClip [__Packages.classes.ww_interface.Countdown] Frame 0
class classes.ww_interface.Countdown extends MovieClip
{
var ready1, ready2, N1, N2, no1, no2;
function Countdown () {
super();
ready1 = false;
ready2 = false;
N1 = 0;
N2 = 0;
}
function setTo(no) {
no1._y = -no1.no0._y;
no2._y = -no2.no0._y;
ready1 = false;
ready2 = false;
if (no < 10) {
N1 = 0;
} else {
N1 = Math.floor(no / 10);
}
N2 = no - (10 * N1);
}
function countTo() {
no1.onEnterFrame = mx.utils.Delegate.create(this, moveNo1);
no2.onEnterFrame = mx.utils.Delegate.create(this, moveNo2);
}
function moveNo1() {
no1._y = no1._y + (((-no1["no" + N1]._y) - no1._y) / 2);
if (Math.abs(no1._y + no1["no" + N1]._y) < 1) {
ready1 = true;
delete no1.onEnterFrame;
}
}
function moveNo2() {
no2._y = no2._y + (((-no2["no" + N2]._y) - no2._y) / 4);
if (Math.abs(no2._y + no2["no" + N2]._y) < 1) {
ready2 = true;
delete no2.onEnterFrame;
}
}
function finished() {
if (ready1 && (ready2)) {
return(true);
}
return(false);
}
}
Symbol 509 MovieClip [__Packages.classes.Debug] Frame 0
class classes.Debug
{
var _stage;
function Debug (stage) {
_stage = stage;
}
function showError(com) {
_stage.debuger.removeMovieClip();
var _local2 = _stage.attachMovie("debuger", "debuger", _stage.getNextHighestDepth(), {_x:40, _y:40});
_local2.message.autoSize = true;
_local2.message.htmlText = ("<b>" + com) + "</b>";
_local2.bg._width = _local2.message._width + 30;
_local2.bg._height = _local2.message._height + 8;
_local2.onRollOver = function () {
this.removeMovieClip();
};
}
}
Symbol 67 MovieClip [CLOUD] Frame 1
Symbol 67 MovieClip [CLOUD] Frame 2
no.no.text = "+" + toAdd;
Symbol 67 MovieClip [CLOUD] Frame 7
_global.SOUNDS.playSound("kolko.wav");
Symbol 67 MovieClip [CLOUD] Frame 29
this.removeMovieClip();
stop();
Symbol 72 MovieClip [COUNTDOWN] Frame 1
#initclip 17
Object.registerClass("COUNTDOWN", classes.ww_interface.Countdown);
#endinitclip
Symbol 89 MovieClip [HEX] Frame 1
stop();
Symbol 89 MovieClip [HEX] Frame 2
stop();
Symbol 89 MovieClip [HEX] Frame 3
stop();
Symbol 89 MovieClip [HEX] Frame 4
stop();
Symbol 89 MovieClip [HEX] Frame 5
stop();
Symbol 89 MovieClip [HEX] Frame 6
stop();
Symbol 89 MovieClip [HEX] Frame 7
stop();
Symbol 89 MovieClip [HEX] Frame 8
stop();
Symbol 94 MovieClip [WAITER] Frame 1
#initclip 13
Object.registerClass("WAITER", classes.ww_interface.Waiter);
#endinitclip
Symbol 98 MovieClip Frame 1
stop();
Symbol 98 MovieClip Frame 2
stop();
Symbol 98 MovieClip Frame 3
stop();
Symbol 99 MovieClip [UNITS_ADDER] Frame 1
u1.gotoAndStop(army);
Symbol 99 MovieClip [UNITS_ADDER] Frame 7
u2.gotoAndStop(army);
Symbol 99 MovieClip [UNITS_ADDER] Frame 13
u3.gotoAndStop(army);
Symbol 99 MovieClip [UNITS_ADDER] Frame 22
this.unitsMC.setUnit(this.army, this.newUnitsNO, this.player);
this.removeMovieClip();
Symbol 110 MovieClip Frame 1
stop();
Symbol 110 MovieClip Frame 2
stop();
Symbol 110 MovieClip Frame 3
stop();
Symbol 110 MovieClip Frame 4
stop();
Symbol 110 MovieClip Frame 5
stop();
Symbol 110 MovieClip Frame 6
stop();
Symbol 110 MovieClip Frame 7
stop();
Symbol 110 MovieClip Frame 8
stop();
Symbol 111 MovieClip Frame 1
stop();
Symbol 111 MovieClip Frame 2
stop();
Symbol 111 MovieClip Frame 3
stop();
Symbol 116 MovieClip [UNITS_LIST] Frame 1
#initclip 14
Object.registerClass("UNITS_LIST", classes.ww_interface.Units_list);
#endinitclip
Symbol 117 MovieClip [HEX2] Frame 1
stop();
Symbol 117 MovieClip [HEX2] Frame 2
stop();
Symbol 117 MovieClip [HEX2] Frame 3
stop();
Symbol 117 MovieClip [HEX2] Frame 4
stop();
Symbol 117 MovieClip [HEX2] Frame 5
stop();
Symbol 117 MovieClip [HEX2] Frame 6
stop();
Symbol 117 MovieClip [HEX2] Frame 7
stop();
Symbol 117 MovieClip [HEX2] Frame 8
stop();
Symbol 121 MovieClip Frame 15
stop();
Symbol 124 MovieClip Frame 15
stop();
Symbol 127 MovieClip Frame 15
stop();
Symbol 130 MovieClip Frame 15
stop();
Symbol 133 MovieClip Frame 15
stop();
Symbol 136 MovieClip Frame 15
stop();
Symbol 139 MovieClip Frame 15
stop();
Symbol 142 MovieClip Frame 15
stop();
Symbol 152 MovieClip Frame 1
stop();
Symbol 152 MovieClip Frame 2
stop();
Symbol 152 MovieClip Frame 3
stop();
Symbol 152 MovieClip Frame 4
stop();
Symbol 152 MovieClip Frame 5
stop();
Symbol 152 MovieClip Frame 6
stop();
Symbol 152 MovieClip Frame 7
stop();
Symbol 152 MovieClip Frame 8
stop();
Symbol 159 MovieClip Frame 1
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = (this.onReleaseOutside = function () {
this.gotoAndStop(1);
});
stop();
Symbol 159 MovieClip Frame 2
stop();
Symbol 169 MovieClip Frame 1
stop();
Symbol 169 MovieClip Frame 2
stop();
Symbol 169 MovieClip Frame 3
stop();
Symbol 169 MovieClip Frame 4
stop();
Symbol 169 MovieClip Frame 5
stop();
Symbol 169 MovieClip Frame 6
stop();
Symbol 169 MovieClip Frame 7
stop();
Symbol 169 MovieClip Frame 8
stop();
Symbol 173 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 2
stop();
Symbol 173 MovieClip Frame 3
stop();
Symbol 173 MovieClip Frame 4
stop();
Symbol 173 MovieClip Frame 5
stop();
Symbol 173 MovieClip Frame 6
stop();
Symbol 173 MovieClip Frame 7
stop();
Symbol 173 MovieClip Frame 8
stop();
Symbol 182 MovieClip Frame 1
stop();
Symbol 182 MovieClip Frame 2
stop();
Symbol 182 MovieClip Frame 3
stop();
Symbol 182 MovieClip Frame 4
stop();
Symbol 182 MovieClip Frame 5
stop();
Symbol 182 MovieClip Frame 6
stop();
Symbol 182 MovieClip Frame 7
stop();
Symbol 182 MovieClip Frame 8
stop();
Symbol 191 MovieClip Frame 1
stop();
Symbol 191 MovieClip Frame 2
stop();
Symbol 191 MovieClip Frame 3
stop();
Symbol 191 MovieClip Frame 4
stop();
Symbol 191 MovieClip Frame 5
stop();
Symbol 191 MovieClip Frame 6
stop();
Symbol 191 MovieClip Frame 7
stop();
Symbol 191 MovieClip Frame 8
stop();
Symbol 195 MovieClip Frame 1
stop();
Symbol 195 MovieClip Frame 2
stop();
Symbol 195 MovieClip Frame 3
stop();
Symbol 195 MovieClip Frame 4
stop();
Symbol 195 MovieClip Frame 5
stop();
Symbol 195 MovieClip Frame 6
stop();
Symbol 195 MovieClip Frame 7
stop();
Symbol 195 MovieClip Frame 8
stop();
Symbol 198 MovieClip Frame 1
stop();
Symbol 198 MovieClip Frame 2
stop();
Symbol 198 MovieClip Frame 3
stop();
Symbol 198 MovieClip Frame 4
stop();
Symbol 198 MovieClip Frame 5
stop();
Symbol 198 MovieClip Frame 6
stop();
Symbol 198 MovieClip Frame 7
stop();
Symbol 198 MovieClip Frame 8
stop();
Symbol 199 MovieClip [UNIT] Frame 1
#initclip 15
Object.registerClass("UNIT", classes.models.Unit);
#endinitclip
stop();
Symbol 199 MovieClip [UNIT] Frame 2
stop();
Symbol 199 MovieClip [UNIT] Frame 3
stop();
Symbol 200 MovieClip Frame 1
army_ico.flag._visible = false;
Symbol 208 MovieClip Frame 1
stop();
Symbol 208 MovieClip Frame 2
_global.SOUNDS.playSound("kr\u00F3tki wybuch na start.wav");
Symbol 208 MovieClip Frame 25
stop();
Symbol 209 MovieClip [FIGHTBOX] Frame 1
#initclip 16
Object.registerClass("FIGHTBOX", classes.ww_interface.Fightbox);
#endinitclip
Symbol 227 MovieClip Frame 1
this._visible = false;
Symbol 309 MovieClip Frame 1
stop();
Symbol 309 MovieClip Frame 2
stop();
Symbol 309 MovieClip Frame 3
stop();
Symbol 313 MovieClip Frame 1
stop();
Symbol 313 MovieClip Frame 2
stop();
Symbol 321 MovieClip Frame 1
stop();
Symbol 321 MovieClip Frame 2
stop();
Symbol 324 MovieClip Frame 1
stop();
Symbol 324 MovieClip Frame 2
stop();
Symbol 327 MovieClip Frame 1
stop();
Symbol 327 MovieClip Frame 2
stop();
Symbol 332 MovieClip Frame 1
stop();
Symbol 332 MovieClip Frame 8
stop();
Symbol 336 MovieClip Frame 1
stop();
Symbol 336 MovieClip Frame 8
stop();
Symbol 338 MovieClip Frame 1
stop();
Symbol 338 MovieClip Frame 8
stop();
Symbol 339 MovieClip Frame 1
function link1() {
getURL ("http://www.tagemigames.com/index.php?lang=en", "Top");
}
function link2() {
getURL ("http://www.freakytikiproductions.com", "Top");
}
function link3() {
getURL ("http://www.addictinggames.com", "Top");
}
tagemi_btn.onRelease = link1;
tagemi_btn.onRollOver = function () {
this.gotoAndPlay(2);
};
tagemi_btn.onRollOut = function () {
this.gotoAndPlay(9);
};
ft_btn.onRelease = link2;
ft_btn.onRollOver = function () {
this.gotoAndPlay(2);
};
ft_btn.onRollOut = function () {
this.gotoAndPlay(9);
};
ag_btn.onRelease = link3;
ag_btn.onRollOver = function () {
this.gotoAndPlay(2);
};
ag_btn.onRollOut = function () {
this.gotoAndPlay(9);
};
Symbol 340 MovieClip Frame 37
_global.SOUNDS.menuSoundtrack();
Symbol 340 MovieClip Frame 139
_parent.gotoAndPlay(_parent._currentframe + 1);
Symbol 354 MovieClip Frame 1
stop();
Symbol 354 MovieClip Frame 2
stop();
Symbol 357 MovieClip Frame 1
stop();
Symbol 357 MovieClip Frame 2
stop();
Symbol 360 MovieClip Frame 1
stop();
Symbol 360 MovieClip Frame 2
stop();
Symbol 363 MovieClip Frame 1
stop();
Symbol 363 MovieClip Frame 2
stop();
Symbol 366 MovieClip Frame 1
stop();
Symbol 366 MovieClip Frame 2
stop();
Symbol 369 MovieClip Frame 1
stop();
Symbol 369 MovieClip Frame 2
stop();
Symbol 372 MovieClip Frame 1
stop();
Symbol 372 MovieClip Frame 2
stop();
Symbol 375 MovieClip Frame 1
stop();
Symbol 375 MovieClip Frame 2
stop();
Symbol 376 MovieClip Frame 1
function setArmy() {
if (army._currentframe == 1) {
_parent.ARMY = 1;
}
if (army._currentframe == 2) {
_parent.ARMY = 2;
}
if (army._currentframe == 3) {
_parent.ARMY = 3;
}
}
function resetPlayers() {
var _local2 = 2;
while (_local2 <= 8) {
this["p" + _local2].gotoAndStop(1);
_local2++;
}
}
function rollButton(mc) {
mc.onRollOver = function () {
this.gotoAndStop(2);
};
mc.onRollOut = (mc.onReleaseOutside = function () {
this.gotoAndStop(1);
});
}
rollButton(PLAY_BTN);
rollButton(MUSIC_BTN_ON);
rollButton(MUSIC_BTN_OFF);
rollButton(HELP_BTN);
PLAY_BTN.onRelease = function () {
_global.SOUNDS.playSound("Click- g\u0142o\u015Bniejszy.wav");
_parent.OUTRO.gotoAndPlay(2);
};
HELP_BTN.onRelease = function () {
if (_parent.HELP_MC._currentframe == 1) {
_parent.HELP_MC.gotoAndPlay(2);
_global.SOUNDS.playSound("okno help open.wav");
_parent.HELP_MC._visible = true;
}
};
MUSIC_BTN_ON._visible = !_global.ARE_SOUNDS;
MUSIC_BTN_OFF.onRelease = function () {
_global.SOUNDS.playSound("Click- g\u0142o\u015Bniejszy.wav");
this._visible = false;
MUSIC_BTN_ON.gotoAndStop(2);
MUSIC_BTN_ON._visible = true;
_global.ARE_SOUNDS = false;
_global.SOUNDS.killSoundtrack();
};
MUSIC_BTN_ON.onRelease = function () {
_global.SOUNDS.playSound("Click- g\u0142o\u015Bniejszy.wav");
this._visible = false;
MUSIC_BTN_OFF.gotoAndStop(2);
MUSIC_BTN_OFF._visible = true;
_global.ARE_SOUNDS = true;
_global.SOUNDS.menuSoundtrack();
};
army.gotoAndStop(_parent.ARMY);
nn.onRelease = function () {
_global.SOUNDS.playSound("Click- g\u0142o\u015Bniejszy.wav");
var _local2 = army._currentframe + 1;
if (_local2 > 3) {
_local2 = 1;
}
army.gotoAndStop(_local2);
setArmy();
};
pp.onRelease = function () {
_global.SOUNDS.playSound("Click- g\u0142o\u015Bniejszy.wav");
var _local2 = army._currentframe - 1;
if (_local2 < 1) {
_local2 = army._totalframes;
}
army.gotoAndStop(_local2);
setArmy();
};
nn.onRollOver = (pp.onRollOver = function () {
this.gotoAndStop(2);
});
nn.onRollOut = (nn.onReleaseOutside = (pp.onRollOut = (pp.onReleaseOutside = function () {
this.gotoAndStop(1);
})));
this["p" + _parent.PL].gotoAndStop(2);
var CHOSEN = this["p" + _parent.PL];
var i = 2;
while (i <= 8) {
this["p" + i].i = i;
this["p" + i].onRelease = function () {
_global.SOUNDS.playSound("Click- g\u0142o\u015Bniejszy.wav");
resetPlayers();
CHOSEN.gotoAndStop(1);
CHOSEN = this;
this.gotoAndStop(2);
_parent.PL = this.i;
};
this["p" + i].onRollOver = function () {
if (CHOSEN != this) {
this.gotoAndStop(2);
}
};
this["p" + i].onRollOut = (this["p" + i].onReleaseOutside = function () {
if (CHOSEN != this) {
this.gotoAndStop(1);
}
});
i++;
}
Symbol 378 MovieClip Frame 1
this.onRelease = function () {
};
this.useHandCursor = false;
this.enabled = false;
Symbol 383 MovieClip Frame 1
stop();
Symbol 383 MovieClip Frame 2
stop();
Symbol 387 MovieClip Frame 20
stop();
Symbol 391 MovieClip Frame 1
mm.gotoAndPlay(1);
stop();
Symbol 391 MovieClip Frame 2
mm.gotoAndPlay(1);
stop();
Symbol 391 MovieClip Frame 3
mm.gotoAndPlay(1);
stop();
Symbol 394 MovieClip Frame 1
stop();
Symbol 394 MovieClip Frame 2
stop();
Symbol 395 MovieClip Frame 1
var curr = 1;
var from = 3;
_parent._parent.rollButton(nn);
_parent._parent.rollButton(pp);
nn.onRelease = function () {
if ((curr + 1) <= from) {
_global.SOUNDS.playSound("Click- g\u0142o\u015Bniejszy.wav");
curr++;
content.gotoAndStop(curr);
f.text = curr;
s.text = from;
}
};
pp.onRelease = function () {
if ((curr - 1) >= 1) {
_global.SOUNDS.playSound("Click- g\u0142o\u015Bniejszy.wav");
curr--;
content.gotoAndStop(curr);
f.text = curr;
s.text = from;
}
};
Symbol 396 MovieClip Frame 1
this._visible = false;
stop();
Symbol 396 MovieClip Frame 2
inside.content._visible = false;
Symbol 396 MovieClip Frame 7
_parent.rollButton(inside.x);
inside.content._visible = true;
inside.x.onRelease = function () {
_global.SOUNDS.playSound("Click- g\u0142o\u015Bniejszy.wav");
_global.SOUNDS.playSound("okno help close.wav");
gotoAndPlay(_currentframe + 1);
};
stop();
Symbol 396 MovieClip Frame 8
inside.content._visible = false;
Symbol 399 MovieClip Frame 1
stop();
Symbol 399 MovieClip Frame 2
_global.SOUNDS.killSoundtrack();
_global.SOUNDS.playSound("kr\u00F3tki wybuch na start.wav");
Symbol 399 MovieClip Frame 4
_parent.gotoAndStop(_parent._currentframe + 1);
Symbol 405 MovieClip Frame 6
if (this._name == "expl") {
_global.SOUNDS.gameSoundtrack();
}
Symbol 405 MovieClip Frame 18
_parent.init();
stop();
Symbol 422 MovieClip Frame 1
stop();
Symbol 422 MovieClip Frame 2
stop();
Symbol 425 MovieClip Frame 1
stop();
Symbol 425 MovieClip Frame 2
stop();
Symbol 428 MovieClip Frame 1
stop();
Symbol 428 MovieClip Frame 2
stop();
Symbol 431 MovieClip Frame 1
var kill = true;
stop();
Symbol 431 MovieClip Frame 24
stop();
Symbol 431 MovieClip Frame 38
if (!this.kill) {
_parent.mapAgain();
}
Symbol 434 MovieClip Frame 1
stop();
Symbol 434 MovieClip Frame 2
stop();
Symbol 436 MovieClip Frame 1
stop();
Symbol 436 MovieClip Frame 2
if (_parent.ag_anim._currentframe != 1) {
_parent.ag_anim.gotoAndPlay("out");
}
Symbol 436 MovieClip Frame 11
stop();
Symbol 436 MovieClip Frame 15
_parent.ag_anim.gotoAndPlay("in");
Symbol 437 MovieClip Frame 1
ag_btn.onRelease = function () {
getURL ("http://www.addictinggames.com", "Top");
};
stop();
Symbol 437 MovieClip Frame 10
stop();
Symbol 443 MovieClip Frame 1
stop();
Symbol 443 MovieClip Frame 2
stop();
Symbol 446 MovieClip Frame 1
stop();
Symbol 446 MovieClip Frame 2
stop();
Symbol 466 MovieClip Frame 1
stop();
Symbol 466 MovieClip Frame 2
_global.SOUNDS.playSound("okno help open.wav");
Symbol 466 MovieClip Frame 8
_parent.rollButton(exit);
_parent.rollButton(playagain);
exit.onRelease = function () {
_parent.kill();
_global.SOUNDS.playSound("Click- g\u0142o\u015Bniejszy.wav");
_parent.gotoAndPlay(_parent._currentframe - 1);
};
playagain.onRelease = function () {
_global.SOUNDS.playSound("Click- g\u0142o\u015Bniejszy.wav");
gotoAndPlay (82);
};
Symbol 466 MovieClip Frame 62
_global.SOUNDS.playSound("\u015Bmiech-poprawiony.wav");
Symbol 466 MovieClip Frame 81
stop();
Symbol 466 MovieClip Frame 82
_global.SOUNDS.playSound("okno help close.wav");
Symbol 466 MovieClip Frame 89
_parent.gotoAndPlay(_parent._currentframe + 1);
Symbol 469 MovieClip Frame 1
stop();
Symbol 469 MovieClip Frame 2
stop();
Symbol 475 MovieClip Frame 1
stop();
Symbol 475 MovieClip Frame 2
_global.SOUNDS.playSound("okno help open.wav");
Symbol 475 MovieClip Frame 8
_parent.rollButton(exit);
_parent.rollButton(playagain);
exit.onRelease = function () {
_parent.kill();
_global.SOUNDS.playSound("Click- g\u0142o\u015Bniejszy.wav");
_parent.gotoAndPlay(_parent._currentframe - 1);
};
playagain.onRelease = function () {
_global.SOUNDS.playSound("Click- g\u0142o\u015Bniejszy.wav");
gotoAndPlay (92);
};
Symbol 475 MovieClip Frame 24
_global.SOUNDS.playSound("wygrana.wav");
Symbol 475 MovieClip Frame 91
stop();
Symbol 475 MovieClip Frame 92
_global.SOUNDS.playSound("okno help close.wav");
Symbol 475 MovieClip Frame 98
_parent.gotoAndPlay(_parent._currentframe + 1);
Symbol 479 MovieClip Frame 1
this._visible = false;
stop();
Symbol 479 MovieClip Frame 2
su.text = showExtra;
this._visible = true;
Symbol 484 MovieClip Frame 1
stop();
Symbol 484 MovieClip Frame 2
stop();
Symbol 487 MovieClip Frame 1
stop();
Symbol 487 MovieClip Frame 2
stop();
Symbol 495 MovieClip Frame 1
stop();
_visible = false;
Symbol 495 MovieClip Frame 2
_global.SOUNDS.playSound("okno help open.wav");
_global.GAME_PAUSE = true;
Symbol 495 MovieClip Frame 9
_global.SOUNDS.playSound("kurczak.wav");
Symbol 495 MovieClip Frame 30
_parent.rollButton(no);
_parent.rollButton(yes);
stop();
no.onRelease = function () {
_global.SOUNDS.playSound("Click- g\u0142o\u015Bniejszy.wav");
gotoAndPlay(_currentframe + 1);
};
yes.onRelease = function () {
_parent.kill();
_global.SOUNDS.playSound("Click- g\u0142o\u015Bniejszy.wav");
_parent.gameout.gotoAndPlay(2);
};
Symbol 495 MovieClip Frame 31
_global.SOUNDS.playSound("okno help close.wav");
Symbol 495 MovieClip Frame 35
_global.GAME_PAUSE = false;
Symbol 497 MovieClip Frame 1
stop();
Symbol 497 MovieClip Frame 2
_global.SOUNDS.killSoundtrack();
_global.SOUNDS.playSound("kr\u00F3tki wybuch na start.wav");
Symbol 497 MovieClip Frame 4
_global.GAME_PAUSE = false;
_parent.gotoAndStop(_parent._currentframe - 1);