Frame 1
function reposition() {
var _local2 = _root.kast;
var _local4 = Math.floor((Stage.width - _local2._width) / 2);
var _local3 = Math.floor((Stage.height - _local2._height) / 2);
_local2._x = _local4;
_local2._y = _local3;
pilved._x = Stage.width / 2;
pilved._y = Stage.height / 2;
pilved2._x = Stage.width / 2;
mute._y = 9;
mute._x = Stage.width - 19;
}
_root.back == false;
Stage.showMenu = false;
kuu._x = mainContent_mc._width - 280;
_root.highestScore = 0;
totalBytes = this.getBytesTotal();
loadedBytes = this.getBytesLoaded();
remainingBytes = totalBytes - loadedBytes;
percentDone = int((loadedBytes / totalBytes) * 100);
kast.bar.gotoAndStop(percentDone);
if (_framesloaded == _totalframes) {
kast.gotoAndStop(2);
gotoAndStop (3);
}
kast.percen = percentDone + "%";
Frame 2
gotoAndPlay (1);
Frame 4
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("db4d7f28", this, 10301, true);
function reposition() {
var _local2 = _root.mainContent_mc;
var _local4 = Math.floor((Stage.width - _local2._width) / 2);
var _local3 = Math.floor((Stage.height - _local2._height) / 2);
_local2._x = _local4;
_local2._y = _local3;
pilved._x = Stage.width / 2;
pilved._y = Stage.height / 2;
pilved2._x = Stage.width / 2;
skipp._y = (Stage.height - skipp._height) - 12;
skipp._x = (Stage.width - (skipp._width / 1.3)) - 10;
}
if (_root.back == true) {
pilved.gotoAndStop(347);
_root.pilved.pealkiri.gotoAndPlay(338);
}
_root.hunter_sound.stop("hunter");
kuu._x = mainContent_mc._width - 280;
reposition();
Frame 5
function saada() {
loadVariablesNum ("http://www.lrstudio.eu/cww/new_score.php?" + random(999), 0, "POST");
}
_root.negativescore = false;
skipp.tabEnabled = false;
mute.tabIndex = 1;
skipp.tabIndex = 2;
mute.tabIndex = 3;
skipp.tabIndex = 4;
function reposition() {
var _local2 = _root.mainContent_mc;
var _local4 = Math.floor((Stage.width - _local2._width) / 2);
var _local3 = Math.floor((Stage.height - _local2._height) / 2);
_local2._x = _local4;
_local2._y = _local3;
pilved._x = Stage.width / 2;
pilved._y = Stage.height / 2;
pilved2._y = Stage.height / 2;
pilved2._x = Stage.width / 2;
pilved4._y = Stage.height / 2;
pilved4._x = Stage.width / 2;
pilved3._y = pilved2._y - 180;
pilved3._x = Stage.width / 2;
pilved5._y = Stage.height / 2;
pilved5._x = Stage.width / 2;
pilved7._y = Stage.height / 2;
pilved7._x = Stage.width / 2;
skipp._x = 26;
skipp._y = 5;
other_games._y = Stage.height - 2;
other_games._x = 26;
}
var my_color = new Color(_root.mainContent_mc.clock);
my_color.setRGB(16763904);
pilved5.control.stage.gotoAndStop(1);
pilved5.control.tips.gotoAndStop(1);
var my_color = new Color(_root.mainContent_mc.clock);
my_color.setRGB(16763904);
kuu._x = mainContent_mc._width - 280;
_root.aeg = "sygis";
_root.ran = pilved2._y;
_root.i = 1;
_root.i2 = 500;
_root.speedy = 0;
Frame 6
function reposition() {
var _local2 = _root.mainContent_mc;
var _local4 = Math.floor((Stage.width - _local2._width) / 2);
var _local3 = Math.floor((Stage.height - _local2._height) / 2);
_local2._x = _local4;
_local2._y = _local3;
pilved._x = Stage.width / 2;
pilved._y = Stage.height / 2;
pilved2._y = Stage.height / 2;
pilved2._x = Stage.width / 2;
pilved4._y = Stage.height / 2;
pilved4._x = Stage.width / 2;
pilved3._y = pilved2._y - 180;
pilved3._x = Stage.width / 2;
pilved5._y = Stage.height / 2;
pilved5._x = Stage.width / 2;
pilved7._y = Stage.height / 2;
pilved7._x = Stage.width / 2;
skipp._x = 26;
skipp._y = 5;
other_games._y = Stage.height - 2;
other_games._x = 26;
}
var my_color = new Color(_root.mainContent_mc.clock);
my_color.setRGB(16763904);
pilved5.control.stage.gotoAndStop(2);
pilved5.control.tips.gotoAndStop(2);
kuu._x = mainContent_mc._width - 280;
Frame 7
function reposition() {
var _local2 = _root.mainContent_mc;
var _local4 = Math.floor((Stage.width - _local2._width) / 2);
var _local3 = Math.floor((Stage.height - _local2._height) / 2);
_local2._x = _local4;
_local2._y = _local3;
pilved._x = Stage.width / 2;
pilved._y = Stage.height / 2;
pilved2._y = Stage.height / 2;
pilved2._x = Stage.width / 2;
pilved4._y = Stage.height / 2;
pilved4._x = Stage.width / 2;
pilved3._y = pilved2._y - 180;
pilved3._x = Stage.width / 2;
pilved5._y = Stage.height / 2;
pilved5._x = Stage.width / 2;
pilved7._y = Stage.height / 2;
pilved7._x = Stage.width / 2;
skipp._x = 26;
skipp._y = 5;
other_games._y = Stage.height - 2;
other_games._x = 26;
}
var my_color = new Color(_root.mainContent_mc.clock);
my_color.setRGB(16763904);
pilved5.control.stage.gotoAndStop(3);
pilved5.control.tips.gotoAndStop(3);
kuu._x = mainContent_mc._width - 280;
Frame 8
function reposition() {
var _local2 = _root.mainContent_mc;
var _local4 = Math.floor((Stage.width - _local2._width) / 2);
var _local3 = Math.floor((Stage.height - _local2._height) / 2);
_local2._x = _local4;
_local2._y = _local3;
pilved._x = Stage.width / 2;
pilved._y = Stage.height / 2;
pilved2._y = Stage.height / 2;
pilved2._x = Stage.width / 2;
pilved4._y = Stage.height / 2;
pilved4._x = Stage.width / 2;
pilved3._y = pilved2._y - 180;
pilved3._x = Stage.width / 2;
pilved5._y = Stage.height / 2;
pilved5._x = Stage.width / 2;
pilved7._y = Stage.height / 2;
pilved7._x = Stage.width / 2;
skipp._x = 26;
skipp._y = 5;
other_games._y = Stage.height - 2;
other_games._x = 26;
}
var my_color = new Color(_root.mainContent_mc.clock);
my_color.setRGB(16763904);
pilved5.control.stage.gotoAndStop(4);
pilved5.control.tips.gotoAndStop(4);
kuu._x = mainContent_mc._width - 280;
Frame 9
function reposition() {
var _local2 = _root.mainContent_mc;
var _local4 = Math.floor((Stage.width - _local2._width) / 2);
var _local3 = Math.floor((Stage.height - _local2._height) / 2);
_local2._x = _local4;
_local2._y = _local3;
pilved._x = Stage.width / 2;
pilved._y = Stage.height / 2;
pilved2._y = Stage.height / 2;
pilved2._x = Stage.width / 2;
pilved4._y = Stage.height / 2;
pilved4._x = Stage.width / 2;
pilved3._y = pilved2._y - 180;
pilved3._x = Stage.width / 2;
pilved5._y = Stage.height / 2;
pilved5._x = Stage.width / 2;
pilved7._y = Stage.height / 2;
pilved7._x = Stage.width / 2;
skipp._x = 26;
skipp._y = 5;
other_games._y = Stage.height - 2;
other_games._x = 26;
}
var my_color = new Color(_root.mainContent_mc.clock);
my_color.setRGB(16763904);
pilved5.control.stage.gotoAndStop(5);
pilved5.control.tips.gotoAndStop(5);
kuu._x = mainContent_mc._width - 280;
Frame 10
function reposition() {
var _local2 = _root.mainContent_mc;
var _local4 = Math.floor((Stage.width - _local2._width) / 2);
var _local3 = Math.floor((Stage.height - _local2._height) / 2);
_local2._x = _local4;
_local2._y = _local3;
pilved._x = Stage.width / 2;
pilved._y = Stage.height / 2;
pilved2._y = Stage.height / 2;
pilved2._x = Stage.width / 2;
pilved4._y = Stage.height / 2;
pilved4._x = Stage.width / 2;
pilved3._y = pilved2._y - 180;
pilved3._x = Stage.width / 2;
pilved5._y = Stage.height / 2;
pilved5._x = Stage.width / 2;
pilved7._y = Stage.height / 2;
pilved7._x = Stage.width / 2;
skipp._x = 26;
skipp._y = 5;
other_games._y = Stage.height - 2;
other_games._x = 26;
}
var my_color = new Color(_root.mainContent_mc.clock);
my_color.setRGB(16763904);
pilved5.control.stage.gotoAndStop(6);
pilved5.control.tips.gotoAndStop(6);
kuu._x = mainContent_mc._width - 280;
Frame 11
function reposition() {
var _local2 = _root.mainContent_mc;
var _local4 = Math.floor((Stage.width - _local2._width) / 2);
var _local3 = Math.floor((Stage.height - _local2._height) / 2);
_local2._x = _local4;
_local2._y = _local3;
pilved._x = Stage.width / 2;
pilved._y = Stage.height / 2;
pilved2._y = Stage.height / 2;
pilved2._x = Stage.width / 2;
pilved4._y = Stage.height / 2;
pilved4._x = Stage.width / 2;
pilved3._y = pilved2._y - 180;
pilved3._x = Stage.width / 2;
pilved5._y = Stage.height / 2;
pilved5._x = Stage.width / 2;
pilved7._y = Stage.height / 2;
pilved7._x = Stage.width / 2;
skipp._x = 26;
skipp._y = 5;
other_games._y = Stage.height - 2;
other_games._x = 26;
}
var my_color = new Color(_root.mainContent_mc.clock);
my_color.setRGB(16763904);
pilved5.control.stage.gotoAndStop(7);
pilved5.control.tips.gotoAndStop(7);
kuu._x = mainContent_mc._width - 280;
Frame 12
function reposition() {
var _local2 = _root.mainContent_mc;
var _local4 = Math.floor((Stage.width - _local2._width) / 2);
var _local3 = Math.floor((Stage.height - _local2._height) / 2);
_local2._x = _local4;
_local2._y = _local3;
pilved._x = Stage.width / 2;
pilved._y = Stage.height / 2;
pilved2._y = Stage.height / 2;
pilved2._x = Stage.width / 2;
pilved4._y = Stage.height / 2;
pilved4._x = Stage.width / 2;
pilved3._y = pilved2._y - 180;
pilved3._x = Stage.width / 2;
pilved5._y = Stage.height / 2;
pilved5._x = Stage.width / 2;
pilved7._y = Stage.height / 2;
pilved7._x = Stage.width / 2;
skipp._x = 26;
skipp._y = 5;
other_games._y = Stage.height - 2;
other_games._x = 26;
}
var my_color = new Color(_root.mainContent_mc.clock);
my_color.setRGB(16763904);
pilved5.control.stage.gotoAndStop(8);
pilved5.control.tips.gotoAndStop(8);
kuu._x = mainContent_mc._width - 280;
Frame 13
function reposition() {
var _local2 = _root.mainContent_mc;
var _local4 = Math.floor((Stage.width - _local2._width) / 2);
var _local3 = Math.floor((Stage.height - _local2._height) / 2);
_local2._x = _local4;
_local2._y = _local3;
pilved._x = Stage.width / 2;
pilved._y = Stage.height / 2;
pilved2._y = Stage.height / 2;
pilved2._x = Stage.width / 2;
pilved12._y = Stage.height / 2;
pilved12._x = Stage.width / 2;
pilved4._y = Stage.height / 2;
pilved4._x = Stage.width / 2;
pilved3._y = pilved2._y - 180;
pilved3._x = Stage.width / 2;
pilved5._y = Stage.height / 2;
pilved5._x = Stage.width / 2;
pilved7._y = Stage.height / 2;
pilved7._x = Stage.width / 2;
skipp._x = 26;
skipp._y = 5;
other_games._y = Stage.height - 2;
other_games._x = 26;
}
var my_color = new Color(_root.mainContent_mc.clock);
my_color.setRGB(16763904);
pilved5.control.stage.gotoAndStop(9);
pilved5.control.tips.gotoAndStop(9);
kuu._x = mainContent_mc._width - 280;
Frame 14
function reposition() {
var _local2 = _root.mainContent_mc;
var _local4 = Math.floor((Stage.width - _local2._width) / 2);
var _local3 = Math.floor((Stage.height - _local2._height) / 2);
_local2._x = _local4;
_local2._y = _local3;
pilved._x = Stage.width / 2;
pilved._y = Stage.height / 2;
pilved2._y = Stage.height / 2;
pilved2._x = Stage.width / 2;
pilved12._y = Stage.height / 2;
pilved12._x = Stage.width / 2;
pilved4._y = Stage.height / 2;
pilved4._x = Stage.width / 2;
pilved3._y = pilved2._y - 180;
pilved3._x = Stage.width / 2;
pilved5._y = Stage.height / 2;
pilved5._x = Stage.width / 2;
pilved7._y = Stage.height / 2;
pilved7._x = Stage.width / 2;
skipp._x = 26;
skipp._y = 5;
other_games._y = Stage.height - 2;
other_games._x = 26;
}
var my_color = new Color(_root.mainContent_mc.clock);
my_color.setRGB(16763904);
pilved5.control.stage.gotoAndStop(10);
pilved5.control.tips.gotoAndStop(10);
kuu._x = mainContent_mc._width - 280;
Frame 15
function reposition() {
var _local2 = _root.mainContent_mc;
var _local4 = Math.floor((Stage.width - _local2._width) / 2);
var _local3 = Math.floor((Stage.height - _local2._height) / 2);
_local2._x = _local4;
_local2._y = _local3;
pilved._x = Stage.width / 2;
pilved._y = Stage.height / 2;
pilved2._y = Stage.height / 2;
pilved2._x = Stage.width / 2;
pilved12._y = Stage.height / 2;
pilved12._x = Stage.width / 2;
pilved4._y = Stage.height / 2;
pilved4._x = Stage.width / 2;
pilved3._y = pilved2._y - 180;
pilved3._x = Stage.width / 2;
pilved5._y = Stage.height / 2;
pilved5._x = Stage.width / 2;
pilved7._y = Stage.height / 2;
pilved7._x = Stage.width / 2;
skipp._x = 26;
skipp._y = 5;
other_games._y = Stage.height - 2;
other_games._x = 26;
}
var my_color = new Color(_root.mainContent_mc.clock);
my_color.setRGB(16763904);
pilved5.control.stage.gotoAndStop(11);
pilved5.control.tips.gotoAndStop(11);
kuu._x = mainContent_mc._width - 280;
Frame 16
function reposition() {
var _local2 = _root.mainContent_mc;
var _local4 = Math.floor((Stage.width - _local2._width) / 2);
var _local3 = Math.floor((Stage.height - _local2._height) / 2);
_local2._x = _local4;
_local2._y = _local3;
pilved._x = Stage.width / 2;
pilved._y = Stage.height / 2;
pilved2._y = Stage.height / 2;
pilved2._x = Stage.width / 2;
pilved12._y = Stage.height / 2;
pilved12._x = Stage.width / 2;
pilved4._y = Stage.height / 2;
pilved4._x = Stage.width / 2;
pilved3._y = pilved2._y - 180;
pilved3._x = Stage.width / 2;
pilved5._y = Stage.height / 2;
pilved5._x = Stage.width / 2;
pilved7._y = Stage.height / 2;
pilved7._x = Stage.width / 2;
skipp._x = 26;
skipp._y = 5;
other_games._y = Stage.height - 2;
other_games._x = 26;
}
var my_color = new Color(_root.mainContent_mc.clock);
my_color.setRGB(16763904);
pilved5.control.stage.gotoAndStop(12);
pilved5.control.tips.gotoAndStop(12);
kuu._x = mainContent_mc._width - 280;
Frame 17
function reposition() {
var _local2 = _root.mainContent_mc;
var _local4 = Math.floor((Stage.width - _local2._width) / 2);
var _local3 = Math.floor((Stage.height - _local2._height) / 2);
_local2._x = _local4;
_local2._y = _local3;
pilved._x = Stage.width / 2;
pilved._y = Stage.height / 2;
pilved2._y = Stage.height / 2;
pilved2._x = Stage.width / 2;
pilved12._y = Stage.height / 2;
pilved12._x = Stage.width / 2;
pilved4._y = Stage.height / 2;
pilved4._x = Stage.width / 2;
pilved3._y = pilved2._y - 180;
pilved3._x = Stage.width / 2;
pilved5._y = Stage.height / 2;
pilved5._x = Stage.width / 2;
pilved7._y = Stage.height / 2;
pilved7._x = Stage.width / 2;
skipp._x = 26;
skipp._y = 5;
other_games._y = Stage.height - 2;
other_games._x = 26;
}
var my_color = new Color(_root.mainContent_mc.clock);
my_color.setRGB(16763904);
pilved5.control.stage.gotoAndStop(13);
pilved5.control.tips.gotoAndStop(13);
kuu._x = mainContent_mc._width - 280;
Frame 18
function reposition() {
var _local2 = _root.mainContent_mc;
var _local4 = Math.floor((Stage.width - _local2._width) / 2);
var _local3 = Math.floor((Stage.height - _local2._height) / 2);
_local2._x = _local4;
_local2._y = _local3;
pilved._x = Stage.width / 2;
pilved._y = Stage.height / 2;
pilved2._y = Stage.height / 2;
pilved2._x = Stage.width / 2;
pilved4._y = Stage.height / 2;
pilved4._x = Stage.width / 2;
pilved3._y = pilved2._y - 180;
pilved3._x = Stage.width / 2;
pilved5._y = Stage.height / 2;
pilved5._x = Stage.width / 2;
pilved7._y = Stage.height / 2;
pilved7._x = Stage.width / 2;
skipp._x = 26;
skipp._y = 5;
other_games._y = Stage.height - 2;
other_games._x = 26;
}
var my_color = new Color(_root.mainContent_mc.clock);
my_color.setRGB(16763904);
pilved5.control.stage.gotoAndStop(14);
pilved5.control.tips.gotoAndStop(14);
kuu._x = mainContent_mc._width - 280;
Frame 19
function reposition() {
var _local2 = _root.mainContent_mc;
var _local4 = Math.floor((Stage.width - _local2._width) / 2);
var _local3 = Math.floor((Stage.height - _local2._height) / 2);
_local2._x = _local4;
_local2._y = _local3;
pilved._x = Stage.width / 2;
pilved._y = Stage.height / 2;
pilved2._y = Stage.height / 2;
pilved2._x = Stage.width / 2;
pilved4._y = Stage.height / 2;
pilved4._x = Stage.width / 2;
pilved3._y = pilved2._y - 180;
pilved3._x = Stage.width / 2;
pilved5._y = Stage.height / 2;
pilved5._x = Stage.width / 2;
pilved7._y = Stage.height / 2;
pilved7._x = Stage.width / 2;
skipp._x = 26;
skipp._y = 5;
other_games._y = Stage.height - 2;
other_games._x = 26;
}
var my_color = new Color(_root.mainContent_mc.clock);
my_color.setRGB(16763904);
pilved5.control.stage.gotoAndStop(15);
pilved5.control.tips.gotoAndStop(15);
kuu._x = mainContent_mc._width - 280;
Frame 20
function reposition() {
var _local2 = _root.mainContent_mc;
var _local4 = Math.floor((Stage.width - _local2._width) / 2);
var _local3 = Math.floor((Stage.height - _local2._height) / 2);
_local2._x = _local4;
_local2._y = _local3;
pilved._x = Stage.width / 2;
pilved._y = Stage.height / 2;
pilved2._y = Stage.height / 2;
pilved2._x = Stage.width / 2;
pilved4._y = Stage.height / 2;
pilved4._x = Stage.width / 2;
pilved3._y = pilved2._y - 180;
pilved3._x = Stage.width / 2;
pilved5._y = Stage.height / 2;
pilved5._x = Stage.width / 2;
pilved7._y = Stage.height / 2;
pilved7._x = Stage.width / 2;
skipp._x = 26;
skipp._y = 5;
other_games._y = Stage.height - 2;
other_games._x = 26;
}
var my_color = new Color(_root.mainContent_mc.clock);
my_color.setRGB(16763904);
pilved5.control.stage.gotoAndStop(16);
pilved5.control.tips.gotoAndStop(16);
kuu._x = mainContent_mc._width - 280;
Frame 21
function reposition() {
var _local2 = _root.mainContent_mc;
var _local4 = Math.floor((Stage.width - _local2._width) / 2);
var _local3 = Math.floor((Stage.height - _local2._height) / 2);
_local2._x = _local4;
_local2._y = _local3;
pilved._x = Stage.width / 2;
pilved._y = Stage.height / 2;
pilved2._y = Stage.height / 2;
pilved2._x = Stage.width / 2;
pilved4._y = Stage.height / 2;
pilved4._x = Stage.width / 2;
pilved3._y = pilved2._y - 180;
pilved3._x = Stage.width / 2;
pilved5._y = Stage.height / 2;
pilved5._x = Stage.width / 2;
pilved7._y = Stage.height / 2;
pilved7._x = Stage.width / 2;
skipp._x = 26;
skipp._y = 5;
other_games._y = Stage.height - 2;
other_games._x = 26;
}
var my_color = new Color(_root.mainContent_mc.clock);
my_color.setRGB(16763904);
pilved5.control.stage.gotoAndStop(17);
pilved5.control.tips.gotoAndStop(17);
kuu._x = mainContent_mc._width - 280;
Frame 22
function reposition() {
var _local2 = _root.mainContent_mc;
var _local4 = Math.floor((Stage.width - _local2._width) / 2);
var _local3 = Math.floor((Stage.height - _local2._height) / 2);
_local2._x = _local4;
_local2._y = _local3;
pilved._x = Stage.width / 2;
pilved._y = Stage.height / 2;
pilved2._y = Stage.height / 2;
pilved2._x = Stage.width / 2;
pilved4._y = Stage.height / 2;
pilved4._x = Stage.width / 2;
pilved3._y = pilved2._y - 180;
pilved3._x = Stage.width / 2;
pilved5._y = Stage.height / 2;
pilved5._x = Stage.width / 2;
pilved7._y = Stage.height / 2;
pilved7._x = Stage.width / 2;
skipp._x = 26;
skipp._y = 5;
other_games._y = Stage.height - 2;
other_games._x = 26;
}
var my_color = new Color(_root.mainContent_mc.clock);
my_color.setRGB(16763904);
pilved5.control.stage.gotoAndStop(18);
pilved5.control.tips.gotoAndStop(18);
kuu._x = mainContent_mc._width - 280;
Frame 23
function reposition() {
var _local2 = _root.mainContent_mc;
var _local4 = Math.floor((Stage.width - _local2._width) / 2);
var _local3 = Math.floor((Stage.height - _local2._height) / 2);
_local2._x = _local4;
_local2._y = _local3;
pilved._x = Stage.width / 2;
pilved._y = Stage.height / 2;
pilved2._y = Stage.height / 2;
pilved2._x = Stage.width / 2;
pilved4._y = Stage.height / 2;
pilved4._x = Stage.width / 2;
pilved3._y = pilved2._y - 180;
pilved3._x = Stage.width / 2;
pilved5._y = Stage.height / 2;
pilved5._x = Stage.width / 2;
pilved7._y = Stage.height / 2;
pilved7._x = Stage.width / 2;
skipp._x = 26;
skipp._y = 5;
other_games._y = Stage.height - 2;
other_games._x = 26;
}
var my_color = new Color(_root.mainContent_mc.clock);
my_color.setRGB(16763904);
pilved5.control.stage.gotoAndStop(19);
pilved5.control.tips.gotoAndStop(19);
kuu._x = mainContent_mc._width - 280;
Frame 24
function reposition() {
var _local2 = _root.mainContent_mc;
var _local4 = Math.floor((Stage.width - _local2._width) / 2);
var _local3 = Math.floor((Stage.height - _local2._height) / 2);
_local2._x = _local4;
_local2._y = _local3;
pilved._x = Stage.width / 2;
pilved._y = Stage.height / 2;
pilved2._y = Stage.height / 2;
pilved2._x = Stage.width / 2;
pilved4._y = Stage.height / 2;
pilved4._x = Stage.width / 2;
pilved3._y = pilved2._y - 180;
pilved3._x = Stage.width / 2;
pilved5._y = Stage.height / 2;
pilved5._x = Stage.width / 2;
pilved7._y = Stage.height / 2;
pilved7._x = Stage.width / 2;
skipp._x = 26;
skipp._y = 5;
other_games._y = Stage.height - 2;
other_games._x = 26;
}
var my_color = new Color(_root.mainContent_mc.clock);
my_color.setRGB(16763904);
pilved5.control.stage.gotoAndStop(20);
pilved5.control.tips.gotoAndStop(20);
kuu._x = mainContent_mc._width - 280;
Frame 25
function reposition() {
var _local2 = _root.mainContent_mc;
var _local4 = Math.floor((Stage.width - _local2._width) / 2);
var _local3 = Math.floor((Stage.height - _local2._height) / 2);
_local2._x = _local4;
_local2._y = _local3;
pilved._x = Stage.width / 2;
pilved._y = Stage.height / 2;
pilved2._y = Stage.height / 2;
pilved2._x = Stage.width / 2;
pilved4._y = Stage.height / 2;
pilved4._x = Stage.width / 2;
pilved3._y = pilved2._y - 180;
pilved3._x = Stage.width / 2;
pilved5._y = Stage.height / 2;
pilved5._x = Stage.width / 2;
pilved7._y = Stage.height / 2;
pilved7._x = Stage.width / 2;
skipp._x = 26;
skipp._y = 5;
other_games._y = Stage.height - 2;
other_games._x = 26;
}
var my_color = new Color(_root.mainContent_mc.clock);
my_color.setRGB(16763904);
pilved5.control.stage.gotoAndStop(20);
pilved5.control.tips.gotoAndStop(20);
kuu._x = mainContent_mc._width - 280;
Frame 26
gotoAndStop ("1stage");
Symbol 21 MovieClip [orange_teine] Frame 1
stop();
if (_root.over == false) {
_root.ransom = random(80);
}
ggg = _root.ransom;
if (ggg <= 5) {
_root.dd = false;
_root.times = 0;
_root.fate_in_numbers = "plus10secs";
_root.fate = 0;
_root.plus10secs = _root.plus10secs + 1;
gotoAndPlay ("time10");
} else if (ggg <= 9) {
_root.pilved5.brickWinner2.filters = new Array();
_root.times = 0;
_root.fate_in_numbers = "plus15";
_root.fate = 25;
gotoAndPlay ("bronze");
} else if (ggg <= 15) {
_root.dd = false;
_root.times = 0;
_root.fate_in_numbers = "extra_block";
_root.fate = 0;
_root.extra_block = _root.extra_block + 1;
gotoAndPlay ("extra_block");
} else if (ggg <= 19) {
_root.dd = false;
_root.times = 0;
_root.fate_in_numbers = "eagle_eye";
_root.fate = 0;
_root.eagle_eye = _root.eagle_eye + 1;
gotoAndPlay ("longerstand");
} else if (ggg <= 25) {
_root.dd = false;
_root.times = 0;
_root.fate_in_numbers = "plus5secs";
_root.fate = 0;
_root.plus5secs = _root.plus5secs + 1;
gotoAndPlay ("time5");
} else if (ggg <= 30) {
_root.dd = false;
_root.times = 0;
_root.fate_in_numbers = "5blocks";
_root.fate = 0;
_root.blockbuster = _root.blockbuster + 1;
gotoAndPlay ("5blocks");
} else if (ggg <= 38) {
_root.pilved5.brickWinner2.filters = new Array();
_root.times = 0;
_root.fate_in_numbers = "plus40";
_root.fate = 40;
gotoAndPlay ("mithril");
} else if (ggg <= 48) {
_root.pilved5.brickWinner2.filters = new Array();
_root.times = 0;
_root.fate_in_numbers = "plus25";
_root.fate = 50;
gotoAndPlay ("silver");
} else if (ggg <= 58) {
_root.pilved5.brickWinner2.filters = new Array();
_root.times = -5;
_root.fate_in_numbers = "minus40";
_root.fate = -40;
gotoAndPlay ("death");
} else if (ggg <= 70) {
_root.pilved5.brickWinner2.filters = new Array();
_root.times = 0;
_root.fate_in_numbers = "plus15";
_root.fate = 25;
gotoAndPlay ("bronze");
}
_root.over = true;
Symbol 21 MovieClip [orange_teine] Frame 46
stop();
_root.pilved5.uuenda3();
Symbol 21 MovieClip [orange_teine] Frame 90
stop();
_root.pilved5.uuenda3();
Symbol 21 MovieClip [orange_teine] Frame 127
stop();
_root.pilved5.uuenda3();
Symbol 21 MovieClip [orange_teine] Frame 178
stop();
_root.pilved5.uuenda3();
Symbol 21 MovieClip [orange_teine] Frame 223
stop();
_root.pilved5.uuenda3();
Symbol 21 MovieClip [orange_teine] Frame 264
stop();
_root.pilved5.uuenda3();
Symbol 21 MovieClip [orange_teine] Frame 309
stop();
_root.pilved5.uuenda3();
Symbol 21 MovieClip [orange_teine] Frame 358
stop();
_root.pilved5.uuenda3();
Symbol 21 MovieClip [orange_teine] Frame 399
stop();
_root.pilved5.uuenda3();
Symbol 21 MovieClip [orange_teine] Frame 440
stop();
_root.pilved5.uuenda3();
Symbol 22 MovieClip [orange_esimene] Frame 1
stop();
if (_root.over == false) {
_root.ransom = random(80);
}
ggg = _root.ransom;
if (ggg <= 5) {
_root.dd = false;
_root.times = 0;
_root.fate_in_numbers = "plus10secs";
_root.fate = 0;
_root.plus10secs = _root.plus10secs + 1;
gotoAndPlay ("time10");
} else if (ggg <= 9) {
_root.pilved5.brickWinner2.filters = new Array();
_root.times = 0;
_root.fate_in_numbers = "plus15";
_root.fate = 25;
gotoAndPlay ("bronze");
} else if (ggg <= 15) {
_root.dd = false;
_root.times = 0;
_root.fate_in_numbers = "extra_block";
_root.fate = 0;
_root.extra_block = _root.extra_block + 1;
gotoAndPlay ("extra_block");
} else if (ggg <= 19) {
_root.dd = false;
_root.times = 0;
_root.fate_in_numbers = "eagle_eye";
_root.fate = 0;
_root.eagle_eye = _root.eagle_eye + 1;
gotoAndPlay ("longerstand");
} else if (ggg <= 25) {
_root.dd = false;
_root.times = 0;
_root.fate_in_numbers = "plus5secs";
_root.fate = 0;
_root.plus5secs = _root.plus5secs + 1;
gotoAndPlay ("time5");
} else if (ggg <= 30) {
_root.dd = false;
_root.times = 0;
_root.fate_in_numbers = "5blocks";
_root.fate = 0;
_root.blockbuster = _root.blockbuster + 1;
gotoAndPlay ("5blocks");
} else if (ggg <= 38) {
_root.pilved5.brickWinner2.filters = new Array();
_root.times = 0;
_root.fate_in_numbers = "plus40";
_root.fate = 40;
gotoAndPlay ("mithril");
} else if (ggg <= 48) {
_root.pilved5.brickWinner2.filters = new Array();
_root.times = 0;
_root.fate_in_numbers = "plus25";
_root.fate = 50;
gotoAndPlay ("silver");
} else if (ggg <= 58) {
_root.pilved5.brickWinner2.filters = new Array();
_root.times = -5;
_root.fate_in_numbers = "minus40";
_root.fate = -40;
gotoAndPlay ("death");
} else if (ggg <= 70) {
_root.pilved5.brickWinner2.filters = new Array();
_root.times = 0;
_root.fate_in_numbers = "plus15";
_root.fate = 25;
gotoAndPlay ("bronze");
}
_root.over = true;
Symbol 22 MovieClip [orange_esimene] Frame 46
stop();
_root.pilved5.uuenda3();
Symbol 22 MovieClip [orange_esimene] Frame 90
stop();
_root.pilved5.uuenda3();
Symbol 22 MovieClip [orange_esimene] Frame 127
stop();
_root.pilved5.uuenda3();
Symbol 22 MovieClip [orange_esimene] Frame 178
stop();
_root.pilved5.uuenda3();
Symbol 22 MovieClip [orange_esimene] Frame 223
stop();
_root.pilved5.uuenda3();
Symbol 22 MovieClip [orange_esimene] Frame 264
stop();
_root.pilved5.uuenda3();
Symbol 22 MovieClip [orange_esimene] Frame 309
stop();
_root.pilved5.uuenda3();
Symbol 22 MovieClip [orange_esimene] Frame 358
stop();
_root.pilved5.uuenda3();
Symbol 22 MovieClip [orange_esimene] Frame 399
stop();
_root.pilved5.uuenda3();
Symbol 22 MovieClip [orange_esimene] Frame 440
stop();
_root.pilved5.uuenda3();
Symbol 23 MovieClip [orange_kolmas] Frame 1
stop();
if (_root.over == false) {
_root.ransom = random(80);
}
ggg = _root.ransom;
if (ggg <= 5) {
_root.dd = false;
_root.times = 0;
_root.fate_in_numbers = "plus10secs";
_root.fate = 0;
_root.plus10secs = _root.plus10secs + 1;
gotoAndPlay ("time10");
} else if (ggg <= 9) {
_root.pilved5.brickWinner2.filters = new Array();
_root.times = 0;
_root.fate_in_numbers = "plus15";
_root.fate = 25;
gotoAndPlay ("bronze");
} else if (ggg <= 15) {
_root.dd = false;
_root.times = 0;
_root.fate_in_numbers = "extra_block";
_root.fate = 0;
_root.extra_block = _root.extra_block + 1;
gotoAndPlay ("extra_block");
} else if (ggg <= 19) {
_root.dd = false;
_root.times = 0;
_root.fate_in_numbers = "eagle_eye";
_root.fate = 0;
_root.eagle_eye = _root.eagle_eye + 1;
gotoAndPlay ("longerstand");
} else if (ggg <= 25) {
_root.dd = false;
_root.times = 0;
_root.fate_in_numbers = "plus5secs";
_root.fate = 0;
_root.plus5secs = _root.plus5secs + 1;
gotoAndPlay ("time5");
} else if (ggg <= 30) {
_root.dd = false;
_root.times = 0;
_root.fate_in_numbers = "5blocks";
_root.fate = 0;
_root.blockbuster = _root.blockbuster + 1;
gotoAndPlay ("5blocks");
} else if (ggg <= 38) {
_root.pilved5.brickWinner2.filters = new Array();
_root.times = 0;
_root.fate_in_numbers = "plus40";
_root.fate = 40;
gotoAndPlay ("mithril");
} else if (ggg <= 48) {
_root.pilved5.brickWinner2.filters = new Array();
_root.times = 0;
_root.fate_in_numbers = "plus25";
_root.fate = 50;
gotoAndPlay ("silver");
} else if (ggg <= 58) {
_root.pilved5.brickWinner2.filters = new Array();
_root.times = -5;
_root.fate_in_numbers = "minus40";
_root.fate = -40;
gotoAndPlay ("death");
} else if (ggg <= 70) {
_root.pilved5.brickWinner2.filters = new Array();
_root.times = 0;
_root.fate_in_numbers = "plus15";
_root.fate = 25;
gotoAndPlay ("bronze");
}
_root.over = true;
Symbol 23 MovieClip [orange_kolmas] Frame 46
stop();
_root.pilved5.uuenda3();
Symbol 23 MovieClip [orange_kolmas] Frame 90
stop();
_root.pilved5.uuenda3();
Symbol 23 MovieClip [orange_kolmas] Frame 127
stop();
_root.pilved5.uuenda3();
Symbol 23 MovieClip [orange_kolmas] Frame 178
stop();
_root.pilved5.uuenda3();
Symbol 23 MovieClip [orange_kolmas] Frame 223
stop();
_root.pilved5.uuenda3();
Symbol 23 MovieClip [orange_kolmas] Frame 264
stop();
_root.pilved5.uuenda3();
Symbol 23 MovieClip [orange_kolmas] Frame 309
stop();
_root.pilved5.uuenda3();
Symbol 23 MovieClip [orange_kolmas] Frame 358
stop();
_root.pilved5.uuenda3();
Symbol 23 MovieClip [orange_kolmas] Frame 399
stop();
_root.pilved5.uuenda3();
Symbol 23 MovieClip [orange_kolmas] Frame 440
stop();
_root.pilved5.uuenda3();
Symbol 24 MovieClip [orange_neljas] Frame 1
stop();
if (_root.over == false) {
_root.ransom = random(80);
}
ggg = _root.ransom;
if (ggg <= 5) {
_root.dd = false;
_root.times = 0;
_root.fate_in_numbers = "plus10secs";
_root.fate = 0;
_root.plus10secs = _root.plus10secs + 1;
gotoAndPlay ("time10");
} else if (ggg <= 9) {
_root.pilved5.brickWinner2.filters = new Array();
_root.times = 0;
_root.fate_in_numbers = "plus15";
_root.fate = 25;
gotoAndPlay ("bronze");
} else if (ggg <= 15) {
_root.dd = false;
_root.times = 0;
_root.fate_in_numbers = "extra_block";
_root.fate = 0;
_root.extra_block = _root.extra_block + 1;
gotoAndPlay ("extra_block");
} else if (ggg <= 19) {
_root.dd = false;
_root.times = 0;
_root.fate_in_numbers = "eagle_eye";
_root.fate = 0;
_root.eagle_eye = _root.eagle_eye + 1;
gotoAndPlay ("longerstand");
} else if (ggg <= 25) {
_root.dd = false;
_root.times = 0;
_root.fate_in_numbers = "plus5secs";
_root.fate = 0;
_root.plus5secs = _root.plus5secs + 1;
gotoAndPlay ("time5");
} else if (ggg <= 30) {
_root.dd = false;
_root.times = 0;
_root.fate_in_numbers = "5blocks";
_root.fate = 0;
_root.blockbuster = _root.blockbuster + 1;
gotoAndPlay ("5blocks");
} else if (ggg <= 38) {
_root.pilved5.brickWinner2.filters = new Array();
_root.times = 0;
_root.fate_in_numbers = "plus40";
_root.fate = 40;
gotoAndPlay ("mithril");
} else if (ggg <= 48) {
_root.pilved5.brickWinner2.filters = new Array();
_root.times = 0;
_root.fate_in_numbers = "plus25";
_root.fate = 50;
gotoAndPlay ("silver");
} else if (ggg <= 58) {
_root.pilved5.brickWinner2.filters = new Array();
_root.times = -5;
_root.fate_in_numbers = "minus40";
_root.fate = -40;
gotoAndPlay ("death");
} else if (ggg <= 70) {
_root.pilved5.brickWinner2.filters = new Array();
_root.times = 0;
_root.fate_in_numbers = "plus15";
_root.fate = 25;
gotoAndPlay ("bronze");
}
_root.over = true;
Symbol 24 MovieClip [orange_neljas] Frame 46
stop();
_root.pilved5.uuenda3();
Symbol 24 MovieClip [orange_neljas] Frame 90
stop();
_root.pilved5.uuenda3();
Symbol 24 MovieClip [orange_neljas] Frame 127
stop();
_root.pilved5.uuenda3();
Symbol 24 MovieClip [orange_neljas] Frame 178
stop();
_root.pilved5.uuenda3();
Symbol 24 MovieClip [orange_neljas] Frame 223
stop();
_root.pilved5.uuenda3();
Symbol 24 MovieClip [orange_neljas] Frame 264
stop();
_root.pilved5.uuenda3();
Symbol 24 MovieClip [orange_neljas] Frame 309
stop();
_root.pilved5.uuenda3();
Symbol 24 MovieClip [orange_neljas] Frame 358
stop();
_root.pilved5.uuenda3();
Symbol 24 MovieClip [orange_neljas] Frame 399
stop();
_root.pilved5.uuenda3();
Symbol 24 MovieClip [orange_neljas] Frame 440
stop();
_root.pilved5.uuenda3();
Symbol 25 MovieClip [bronze] Frame 1
stop();
if (_root.over == false) {
_root.ransom = random(80);
}
ggg = _root.ransom;
if (ggg <= 5) {
_root.dd = false;
_root.times = 0;
_root.fate_in_numbers = "plus10secs";
_root.fate = 0;
_root.plus10secs = _root.plus10secs + 1;
gotoAndPlay ("time10");
} else if (ggg <= 9) {
_root.pilved5.brickWinner2.filters = new Array();
_root.times = 0;
_root.fate_in_numbers = "plus15";
_root.fate = 25;
gotoAndPlay ("bronze");
} else if (ggg <= 15) {
_root.dd = false;
_root.times = 0;
_root.fate_in_numbers = "extra_block";
_root.fate = 0;
_root.extra_block = _root.extra_block + 1;
gotoAndPlay ("extra_block");
} else if (ggg <= 19) {
_root.dd = false;
_root.times = 0;
_root.fate_in_numbers = "eagle_eye";
_root.fate = 0;
_root.eagle_eye = _root.eagle_eye + 1;
gotoAndPlay ("longerstand");
} else if (ggg <= 25) {
_root.dd = false;
_root.times = 0;
_root.fate_in_numbers = "plus5secs";
_root.fate = 0;
_root.plus5secs = _root.plus5secs + 1;
gotoAndPlay ("time5");
} else if (ggg <= 30) {
_root.dd = false;
_root.times = 0;
_root.fate_in_numbers = "5blocks";
_root.fate = 0;
_root.blockbuster = _root.blockbuster + 1;
gotoAndPlay ("5blocks");
} else if (ggg <= 38) {
_root.pilved5.brickWinner2.filters = new Array();
_root.times = 0;
_root.fate_in_numbers = "plus40";
_root.fate = 40;
gotoAndPlay ("mithril");
} else if (ggg <= 48) {
_root.pilved5.brickWinner2.filters = new Array();
_root.times = 0;
_root.fate_in_numbers = "plus25";
_root.fate = 50;
gotoAndPlay ("silver");
} else if (ggg <= 58) {
_root.pilved5.brickWinner2.filters = new Array();
_root.times = -5;
_root.fate_in_numbers = "minus40";
_root.fate = -40;
gotoAndPlay ("death");
} else if (ggg <= 70) {
_root.pilved5.brickWinner2.filters = new Array();
_root.times = 0;
_root.fate_in_numbers = "plus15";
_root.fate = 25;
gotoAndPlay ("bronze");
}
_root.over = true;
Symbol 25 MovieClip [bronze] Frame 46
stop();
_root.pilved5.uuenda3();
Symbol 25 MovieClip [bronze] Frame 90
stop();
_root.pilved5.uuenda3();
Symbol 25 MovieClip [bronze] Frame 127
stop();
_root.pilved5.uuenda3();
Symbol 25 MovieClip [bronze] Frame 178
stop();
_root.pilved5.uuenda3();
Symbol 25 MovieClip [bronze] Frame 223
stop();
_root.pilved5.uuenda3();
Symbol 25 MovieClip [bronze] Frame 264
stop();
_root.pilved5.uuenda3();
Symbol 25 MovieClip [bronze] Frame 309
stop();
_root.pilved5.uuenda3();
Symbol 25 MovieClip [bronze] Frame 358
stop();
_root.pilved5.uuenda3();
Symbol 25 MovieClip [bronze] Frame 399
stop();
_root.pilved5.uuenda3();
Symbol 25 MovieClip [bronze] Frame 440
stop();
_root.pilved5.uuenda3();
Symbol 26 MovieClip [orange2_teine] Frame 1
gotoAndPlay (17);
Symbol 26 MovieClip [orange2_teine] Frame 61
stop();
_root.mainContent_mc.extra.gotoAndStop(1);
_root.pilved5.uuenda5();
Symbol 27 MovieClip [orange2_esimene] Frame 1
gotoAndPlay (17);
Symbol 27 MovieClip [orange2_esimene] Frame 61
stop();
_root.mainContent_mc.extra.gotoAndStop(1);
_root.pilved5.uuenda5();
Symbol 28 MovieClip [orange2_kolmas] Frame 1
gotoAndPlay (17);
Symbol 28 MovieClip [orange2_kolmas] Frame 61
stop();
_root.mainContent_mc.extra.gotoAndStop(1);
_root.pilved5.uuenda5();
Symbol 29 MovieClip [orange2_neljas] Frame 1
gotoAndPlay (17);
Symbol 29 MovieClip [orange2_neljas] Frame 61
stop();
_root.mainContent_mc.extra.gotoAndStop(1);
_root.pilved5.uuenda5();
Symbol 30 MovieClip [orange2] Frame 1
gotoAndPlay (17);
Symbol 30 MovieClip [orange2] Frame 61
stop();
_root.mainContent_mc.extra.gotoAndStop(1);
_root.pilved5.uuenda5();
Symbol 31 MovieClip [orange] Frame 1
gotoAndPlay(_root.theeye);
Symbol 31 MovieClip [orange] Frame 64
stop();
if (_root.mainContent_mc.times > 0) {
_root.pilved5.uuenda();
}
Symbol 41 MovieClip [minus5seconds] Frame 23
stop();
Symbol 45 MovieClip [minus40] Frame 23
stop();
Symbol 49 MovieClip [minus5] Frame 23
stop();
Symbol 53 MovieClip [minus2] Frame 23
stop();
Symbol 57 MovieClip [minus1] Frame 23
stop();
Symbol 61 MovieClip [plus15] Frame 23
stop();
Symbol 65 MovieClip [plus40] Frame 23
stop();
Symbol 69 MovieClip [secured] Frame 23
stop();
Symbol 72 MovieClip [tensecs] Frame 23
stop();
Symbol 76 MovieClip [plus200] Frame 23
stop();
Symbol 80 MovieClip [plus25] Frame 23
stop();
Symbol 84 MovieClip [plus10secs] Frame 1
_root.mainContent_mc.clock2.clock3.nextFrame();
Symbol 84 MovieClip [plus10secs] Frame 23
stop();
Symbol 88 MovieClip [extra_block] Frame 1
_root.mainContent_mc.extra.play();
Symbol 88 MovieClip [extra_block] Frame 23
stop();
Symbol 92 MovieClip [rage] Frame 1
_root.pilved5.rage();
Symbol 92 MovieClip [rage] Frame 23
stop();
Symbol 96 MovieClip [5blocks] Frame 1
_root.mainContent_mc.buster2.buster3.nextFrame();
Symbol 96 MovieClip [5blocks] Frame 23
stop();
Symbol 100 MovieClip [eagle_eye] Frame 1
_root.mainContent_mc.eagle_eye.nextFrame();
Symbol 100 MovieClip [eagle_eye] Frame 23
stop();
Symbol 104 MovieClip [plus5secs] Frame 1
_root.mainContent_mc.watch2.watch3.nextFrame();
Symbol 104 MovieClip [plus5secs] Frame 23
stop();
Symbol 108 MovieClip [plus3] Frame 1
Symbol 108 MovieClip [plus3] Frame 23
stop();
Symbol 113 MovieClip Frame 1
stop();
Symbol 121 Button
on (release, releaseOutside) {
_root.gotoAndStop(4);
}
Symbol 123 MovieClip Frame 1
stop();
Symbol 126 Button
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
on (release, releaseOutside) {
_root.global_sound = new Sound();
_root.global_sound.setVolume(0);
gotoAndStop (4);
}
Symbol 130 Button
on (rollOver) {
gotoAndStop (4);
}
on (rollOut) {
gotoAndStop (3);
}
on (release, releaseOutside) {
_root.global_sound.setVolume(100);
gotoAndStop (2);
}
Symbol 131 MovieClip Frame 1
stop();
Symbol 889 MovieClip [__Packages.com.reintroducing.effects.MotionBlur] Frame 0
class com.reintroducing.effects.MotionBlur
{
var _mc, _destX, _destY, _tweenType, _bf, _blurX, _blurY, _tween, addEventListener, _difX, _difY, dispatchEvent, removeEventListener, __get__tweenType;
function MotionBlur ($targ, $quality, $destX, $destY, $tweenType, $time) {
mx.events.EventDispatcher.initialize(this);
_mc = $targ;
_destX = $destX;
_destY = $destY;
_tweenType = $tweenType;
_bf = new flash.filters.BlurFilter(_blurX, _blurY, $quality);
_tween = new mx.transitions.TweenExtended(_mc, ["_x", "_y"], _tweenType, [_mc._x, _mc._y], [_destX, _destY], $time, true);
_tween.onMotionChanged = mx.utils.Delegate.create(this, _handleTween);
_tween.onMotionFinished = mx.utils.Delegate.create(this, _handleMotionFinished);
addEventListener("onBlurFinished", _mc);
}
function _handleTween($target) {
_mc.filters = [_bf];
_blurX = Math.abs(_difX);
_blurY = Math.abs(_difY);
_difX = ($target.__get__finish()[0] - _mc._x) / 15;
_difY = ($target.__get__finish()[1] - _mc._y) / 15;
_bf.blurX = _blurX;
_bf.blurY = _blurY;
}
function _handleMotionFinished() {
dispatchEvent({type:"onBlurFinished", target:this});
}
function moveClipTo($endVals, $time) {
_tween = new mx.transitions.TweenExtended(_mc, ["_x", "_y"], _tweenType, [_mc._x, _mc._y], $endVals, $time, true);
_tween.onMotionChanged = mx.utils.Delegate.create(this, _handleTween);
_tween.onMotionFinished = mx.utils.Delegate.create(this, _handleMotionFinished);
}
function create($quality) {
_bf = new flash.filters.BlurFilter(_blurX, _blurY, $quality);
addEventListener("onBlurFinished", _mc);
}
function destroy() {
delete _bf;
removeEventListener("onBlurFinished", _mc);
}
function set tweenType($type) {
_tweenType = $type;
//return(__get__tweenType());
}
}
Symbol 890 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 891 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 892 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween
{
var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime;
function Tween (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
position = (begin);
this.duration = (duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.finish = (finish);
_listeners = [];
addListener(this);
start();
}
function set time(t) {
prevTime = _time;
if (t > duration) {
if (looping) {
rewind(t - _duration);
update();
broadcastMessage("onMotionLooped", this);
} else {
if (useSeconds) {
_time = _duration;
update();
}
stop();
broadcastMessage("onMotionFinished", this);
}
} else if (t < 0) {
rewind();
update();
} else {
_time = t;
update();
}
//return(time);
}
function get time() {
return(_time);
}
function set duration(d) {
_duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d));
//return(duration);
}
function get duration() {
return(_duration);
}
function set FPS(fps) {
var _local2 = isPlaying;
stopEnterFrame();
_fps = fps;
if (_local2) {
startEnterFrame();
}
//return(FPS);
}
function get FPS() {
return(_fps);
}
function set position(p) {
setPosition(p);
//return(position);
}
function setPosition(p) {
prevPos = _pos;
obj[prop] = (_pos = p);
broadcastMessage("onMotionChanged", this, _pos);
updateAfterEvent();
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
return(func(t, begin, change, _duration));
}
function set finish(f) {
change = f - begin;
//return(finish);
}
function get finish() {
return(begin + change);
}
function continueTo(finish, duration) {
begin = position;
this.finish = (finish);
if (duration != undefined) {
this.duration = (duration);
}
start();
}
function yoyo() {
continueTo(begin, time);
}
function startEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.addListener(this);
} else {
_intervalID = setInterval(this, "onEnterFrame", 1000 / _fps);
}
isPlaying = true;
}
function stopEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(_intervalID);
}
isPlaying = false;
}
function start() {
rewind();
startEnterFrame();
broadcastMessage("onMotionStarted", this);
}
function stop() {
stopEnterFrame();
broadcastMessage("onMotionStopped", this);
}
function resume() {
fixTime();
startEnterFrame();
broadcastMessage("onMotionResumed", this);
}
function rewind(t) {
_time = ((t == undefined) ? 0 : (t));
fixTime();
update();
}
function fforward() {
time = (_duration);
fixTime();
}
function nextFrame() {
if (useSeconds) {
time = ((getTimer() - _startTime) / 1000);
} else {
time = (_time + 1);
}
}
function onEnterFrame() {
nextFrame();
}
function prevFrame() {
if (!useSeconds) {
time = (_time - 1);
}
}
function toString() {
return("[Tween]");
}
function fixTime() {
if (useSeconds) {
_startTime = getTimer() - (_time * 1000);
}
}
function update() {
position = (getPosition(_time));
}
static var version = "1.1.0.52";
static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init();
static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
function func(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 893 MovieClip [__Packages.mx.transitions.TweenExtended] Frame 0
class mx.transitions.TweenExtended extends mx.transitions.Tween
{
var aChange, obj, aProps, aBegin, __set__duration, useSeconds, func, point1, point2, _listeners, addListener, start, _time, __get__time, _duration, _aPos, broadcastMessage, looping;
function TweenExtended (target, props, easeFunc, strt, end, dur, useSecs, p1, p2) {
super();
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return;
}
aChange = [];
obj = target;
aProps = props;
aBegin = strt;
position = (copyArray(strt));
__set__duration(dur);
useSeconds = useSecs;
if (easeFunc) {
func = easeFunc;
}
finish = (end);
point1 = p1;
point2 = p2;
_listeners = [];
addListener(this);
start();
}
function update() {
position = (getPosition(_time));
}
function continueTo(fin, dur) {
var _local2 = 0;
while (_local2 < aProps.length) {
aBegin[_local2] = position[_local2];
_local2++;
}
finish = (fin);
if (dur != undefined) {
__set__duration(dur);
}
start();
}
function yoyo() {
var _local2 = copyArray(aBegin);
continueTo(_local2, __get__time());
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
var _local5 = [];
var _local2 = 0;
while (_local2 < aProps.length) {
var _local4 = Number(aBegin[_local2]);
var _local3 = Number(aChange[_local2]);
if ((point1 == undefined) && (point2 == undefined)) {
_local5[_local2] = func(t, _local4, _local3, _duration);
} else if ((point1 != undefined) && (point2 == undefined)) {
_local5[_local2] = func(t, _local4, _local3, _duration, point1);
} else if ((point1 != undefined) && (point2 != undefined)) {
_local5[_local2] = func(t, _local4, _local3, _duration, point1, point2);
}
_local2++;
}
return(_local5);
}
function set position(p) {
setPosition(p);
//return(position);
}
function setPosition(p) {
var _local2 = 0;
while (_local2 < aProps.length) {
obj[aProps[_local2]] = (_aPos[_local2] = p[_local2]);
_local2++;
}
broadcastMessage("onMotionChanged", this, p);
updateAfterEvent();
}
function set finish(f) {
var _local2 = 0;
while (_local2 < aProps.length) {
aChange[_local2] = f[_local2] - aBegin[_local2];
_local2++;
}
//return(finish);
}
function get finish() {
var _local3 = [];
var _local2 = 0;
while (_local2 < aProps.length) {
_local3[_local2] = aBegin[_local2] + aChange[_local2];
_local2++;
}
return(_local3);
}
function set loop(b) {
looping = b;
//return(loop);
}
function get loop() {
return(looping);
}
function copyArray(arr) {
var _local3 = [];
if (arr.length == 0) {
for (var _local1 in arr) {
_local3[_local1] = arr[_local1];
}
}
var _local1 = 0;
while (_local1 < arr.length) {
_local3[_local1] = arr[_local1];
_local1++;
}
return(_local3);
}
function toString() {
return(("[" + className) + "]");
}
var className = "TweenExtended";
static var version = "1.0.6";
}
Symbol 894 MovieClip [__Packages.mx.events.EventDispatcher] Frame 0
class mx.events.EventDispatcher
{
function EventDispatcher () {
}
static function _removeEventListener(queue, event, handler) {
if (queue != undefined) {
var _local4 = queue.length;
var _local1;
_local1 = 0;
while (_local1 < _local4) {
var _local2 = queue[_local1];
if (_local2 == handler) {
queue.splice(_local1, 1);
return(undefined);
}
_local1++;
}
}
}
static function initialize(object) {
if (_fEventDispatcher == undefined) {
_fEventDispatcher = new mx.events.EventDispatcher();
}
object.addEventListener = _fEventDispatcher.addEventListener;
object.removeEventListener = _fEventDispatcher.removeEventListener;
object.dispatchEvent = _fEventDispatcher.dispatchEvent;
object.dispatchQueue = _fEventDispatcher.dispatchQueue;
}
function dispatchQueue(queueObj, eventObj) {
var _local7 = "__q_" + eventObj.type;
var _local4 = queueObj[_local7];
if (_local4 != undefined) {
var _local5;
for (_local5 in _local4) {
var _local1 = _local4[_local5];
var _local3 = typeof(_local1);
if ((_local3 == "object") || (_local3 == "movieclip")) {
if (_local1.handleEvent != undefined) {
_local1.handleEvent(eventObj);
}
if (_local1[eventObj.type] != undefined) {
if (exceptions[eventObj.type] == undefined) {
_local1[eventObj.type](eventObj);
}
}
} else {
_local1.apply(queueObj, [eventObj]);
}
}
}
}
function dispatchEvent(eventObj) {
if (eventObj.target == undefined) {
eventObj.target = this;
}
this[eventObj.type + "Handler"](eventObj);
dispatchQueue(this, eventObj);
}
function addEventListener(event, handler) {
var _local3 = "__q_" + event;
if (this[_local3] == undefined) {
this[_local3] = new Array();
}
_global.ASSetPropFlags(this, _local3, 1);
_removeEventListener(this[_local3], event, handler);
this[_local3].push(handler);
}
function removeEventListener(event, handler) {
var _local2 = "__q_" + event;
_removeEventListener(this[_local2], event, handler);
}
static var _fEventDispatcher = undefined;
static var exceptions = {move:1, draw:1, load:1};
}
Symbol 895 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 896 MovieClip [__Packages.mx.transitions.easing.Elastic] Frame 0
class mx.transitions.easing.Elastic
{
function Elastic () {
}
static function easeIn(t, b, c, d, a, p) {
if (t == 0) {
return(b);
}
t = t / d;
if (t == 1) {
return(b + c);
}
if (!p) {
p = d * 0.3;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
var _local7 = p / 4;
} else {
var _local7 = (p / (Math.PI*2)) * Math.asin(c / a);
}
t = t - 1;
return((-((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p))) + b);
}
static function easeOut(t, b, c, d, a, p) {
if (t == 0) {
return(b);
}
t = t / d;
if (t == 1) {
return(b + c);
}
if (!p) {
p = d * 0.3;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
var _local7 = p / 4;
} else {
var _local7 = (p / (Math.PI*2)) * Math.asin(c / a);
}
return((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p)) + c) + b);
}
static function easeInOut(t, b, c, d, a, p) {
if (t == 0) {
return(b);
}
t = t / (d / 2);
if (t == 2) {
return(b + c);
}
if (!p) {
p = d * 0.45;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
var _local7 = p / 4;
} else {
var _local7 = (p / (Math.PI*2)) * Math.asin(c / a);
}
if (t < 1) {
t = t - 1;
return((-0.5 * ((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p))) + b);
}
t = t - 1;
return(((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p)) * 0.5) + c) + b);
}
static var version = "1.1.0.52";
}
Symbol 141 MovieClip Frame 12
stop();
Symbol 143 MovieClip Frame 12
stop();
Symbol 144 MovieClip Frame 339
stop();
var mbc = (new com.reintroducing.effects.MotionBlur(circle_mc1, 3, 302.75, 62.25, mx.transitions.easing.Elastic.easeOut, 2));
var mbc = (new com.reintroducing.effects.MotionBlur(circle_mc2, 3, 305.9, 62.2, mx.transitions.easing.Elastic.easeOut, 2));
Symbol 200 Button
on (release, releaseOutside) {
getURL ("http://www.lrstudio.eu/", "_blank");
}
Symbol 214 Button
on (release, releaseOutside) {
_root.gotoAndStop("1stage");
}
Symbol 217 Button
on (release) {
prevFrame();
_parent.ins.gotoAndStop(2);
}
Symbol 220 Button
on (release) {
prevFrame();
_parent.creditss.gotoAndStop(2);
}
Symbol 223 Button
on (release) {
getURL ("http://www.dragongamez.com/", "_blank");
}
Symbol 224 MovieClip Frame 1
if (_root.highscore == false) {
stop();
}
Symbol 224 MovieClip Frame 2
stop();
Symbol 233 Button
on (release, releaseOutside) {
getURL ("http://tealab.com/", "_blank");
}
Symbol 238 Button
on (release, releaseOutside) {
getURL ("http://www.lrstudio.eu/", "_blank");
}
Symbol 242 Button
on (release, releaseOutside) {
gotoAndStop (1);
_parent.menuu.gotoAndStop(2);
}
Symbol 246 MovieClip Frame 1
stop();
Symbol 251 Button
on (release, releaseOutside) {
gotoAndStop (1);
_parent.menuu.gotoAndStop(2);
}
Symbol 265 MovieClip Frame 1
stop();
Symbol 290 Button
on (release, releaseOutside) {
_root.highscore = true;
gotoAndStop (1);
_parent.menuu.gotoAndStop(2);
}
Symbol 291 MovieClip Frame 1
stop();
if (_root.highscore == false) {
gotoAndPlay (2);
}
Symbol 291 MovieClip Frame 2
var i = 1;
while (i <= 10) {
this["name" + i] = "loading.";
this["score" + i] = "";
i++;
}
Symbol 291 MovieClip Frame 5
var i = 1;
while (i <= 10) {
this["name" + i] = "loading..";
this["score" + i] = "";
i++;
}
Symbol 291 MovieClip Frame 8
var i = 1;
while (i <= 10) {
this["name" + i] = "loading...";
this["score" + i] = "";
i++;
}
Symbol 291 MovieClip Frame 11
stop();
somevar = random(9999);
loadVariables ("http://www.lrstudio.eu/cww/get_score.php?flash=1&" + random(999), _level0.pilved.highscore);
if (_level0.pilved.highscore.name10 == undefined) {
gotoAndPlay (2);
} else {
stop();
}
Symbol 296 Button
on (release, releaseOutside) {
getURL ("http://www.tealab.com/", "_blank");
}
Symbol 303 MovieClip Frame 335
_root.skipp._x = _root.skipp._x + 1000;
_root.skipp.gotoAndStop(2);
Instance of Symbol 189 MovieClip in Symbol 303 MovieClip Frame 335
onClipEvent (enterFrame) {
this._x = this._x + 0.5;
if (this._x >= 800) {
this._x = -550;
}
}
Instance of Symbol 189 MovieClip in Symbol 303 MovieClip Frame 335
onClipEvent (enterFrame) {
this._x = this._x + 0.4;
if (this._x >= 800) {
this._x = -550;
}
}
Instance of Symbol 191 MovieClip in Symbol 303 MovieClip Frame 335
onClipEvent (enterFrame) {
this._x = this._x + 0.8;
if (this._x >= 800) {
this._x = -550;
}
}
Instance of Symbol 193 MovieClip in Symbol 303 MovieClip Frame 335
onClipEvent (enterFrame) {
this._x = this._x + 1;
if (this._x >= 800) {
this._x = -550;
}
}
Instance of Symbol 193 MovieClip in Symbol 303 MovieClip Frame 335
onClipEvent (enterFrame) {
this._x = this._x + 1.1;
if (this._x >= 800) {
this._x = -550;
}
}
Instance of Symbol 195 MovieClip in Symbol 303 MovieClip Frame 335
onClipEvent (enterFrame) {
this._x = this._x + 1;
if (this._x >= 800) {
this._x = -350;
}
}
Instance of Symbol 195 MovieClip in Symbol 303 MovieClip Frame 335
onClipEvent (enterFrame) {
this._x = this._x + 1.2;
if (this._x >= 800) {
this._x = -350;
}
}
Symbol 303 MovieClip Frame 347
stop();
_root.skipp._x = _root.skipp._x + 1000;
_root.skipp.gotoAndStop(2);
Symbol 312 Button
on (release) {
_root.pilved.gotoAndStop(347);
_root.pilved.pealkiri.gotoAndPlay(338);
this._x = this._x + 1000;
gotoAndStop (2);
}
Symbol 313 MovieClip Frame 1
stop();
Symbol 320 MovieClip Frame 1
speed = 35;
_root.i = _root.i + 1;
width = 1920;
i = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
kadumine = 1300;
this.onEnterFrame = function () {
rad = rad + ((k / 180) * Math.PI);
xmovement = _root._xmouse;
liigub = Math.cos(rad) - ((xmovement - (width / 2)) / 100);
this._x = this._x - liigub;
liig = liigub;
_root.kiirus = liigub;
if (liigub <= 0) {
liig = liigub * -1;
}
this._y = this._y + (speed + liig);
this._rotation = liigub;
if (this._y >= (kadumine - 200)) {
this._y = (random(500) * -1) - _root.ran;
if (_root.i >= 14) {
_root.i = undefined;
} else {
this.duplicateMovieClip("newImg_mc" + _root.i, _root.i + 1);
}
this._x = ((_root.pilved2._x - 230) + random(1300)) + 1;
randu = random(7) + 1;
if ((_root.aeg != "sygis") && (randu >= 4)) {
delete this.onEnterFrame;
}
if (randu == 1) {
this._height = random(30) + 25;
this._alpha = random(30) + 30;
speed = 20;
kadumine = 1100;
}
if (randu == 2) {
this._height = random(30) + 55;
this._alpha = random(30) + 27;
speed = 25;
kadumine = 1150;
}
if (randu == 3) {
this._height = random(30) + 80;
this._alpha = random(30) + 35;
speed = 30;
kadumine = 1200;
}
if (randu == 4) {
this._height = random(30) + 65;
this._alpha = random(30) + 40;
speed = 35;
kadumine = 1300;
}
if (randu == 5) {
this._height = random(30) + 100;
this._alpha = random(30) + 70;
speed = 40;
kadumine = 1350;
}
if (randu == 6) {
this._height = random(30) + 120;
this._alpha = random(30) + 80;
speed = 45;
}
if (randu == 7) {
this._height = random(30) + 140;
this._alpha = random(30) + 90;
speed = 50;
kadumine = 1400;
}
}
};
Symbol 322 MovieClip Frame 1
speed = 35;
_root.i2 = _root.i2 + 1;
width = 1920;
i2 = 1 + (Math.random() * 2);
k = -3.14159265358979 + (Math.random() * Math.PI);
rad = 0;
kadumine = 1300;
this.onEnterFrame = function () {
rad = rad + ((k / 180) * Math.PI);
xmovement = _root._xmouse;
liigub = Math.cos(rad) - ((xmovement - (width / 2)) / 100);
this._x = this._x - liigub;
liig = liigub;
if (liigub <= 0) {
liig = liigub * -1;
}
this._y = this._y + (speed + liig);
this._rotation = liigub;
if (this._y >= (kadumine - 200)) {
this._y = (random(500) * -1) - _root.ran;
if (_root.i2 >= 120) {
_root.i2 = undefined;
} else {
this.duplicateMovieClip("newImg_mc" + _root.i2, _root.i2 + 1);
}
this._x = ((_root.pilved2._x - 230) + random(1300)) + 1;
randu = random(7) + 1;
if ((_root.aeg != "sygis") && (randu >= 4)) {
delete this.onEnterFrame;
}
if (randu == 1) {
this._height = (random(30) + 25) / 1.5;
this._alpha = (random(30) + 30) / 2;
speed = 10;
kadumine = 1100;
}
if (randu == 2) {
this._height = (random(30) + 55) / 1.5;
this._alpha = (random(30) + 27) / 2;
speed = 12.5;
kadumine = 1150;
}
if (randu == 3) {
this._height = (random(30) + 80) / 1.5;
this._alpha = (random(30) + 35) / 2;
speed = 15;
kadumine = 1200;
}
if (randu == 4) {
this._height = (random(30) + 65) / 1.5;
this._alpha = (random(30) + 40) / 2;
speed = 17.5;
kadumine = 1300;
}
if (randu == 5) {
this._height = (random(30) + 100) / 1.5;
this._alpha = (random(30) + 70) / 2;
speed = 20;
kadumine = 1350;
}
if (randu == 6) {
this._height = (random(30) + 120) / 1.5;
this._alpha = (random(30) + 80) / 2;
speed = 22.5;
}
if (randu == 7) {
this._height = (random(30) + 140) / 1.5;
this._alpha = (random(30) + 90) / 1.5;
speed = 25;
kadumine = 1400;
}
}
};
Symbol 427 Button
on (release) {
play();
}
Symbol 448 MovieClip Frame 1
stop();
Symbol 464 MovieClip Frame 1
stop();
Symbol 475 Button
on (release, releaseOutside) {
_root.nextFrame();
}
Symbol 481 MovieClip Frame 1
time = _root.mainContent_mc.times;
score = " 5=" + (time * 5);
_root.mainContent_mc.score = _root.mainContent_mc.score + (time * 5);
Symbol 484 MovieClip Frame 1
if (_root.negativescore == false) {
stop();
} else {
gotoAndStop (2);
}
Symbol 485 Button
on (release) {
_root.back = true;
_root.highscore == true;
_root.gotoAndStop(4);
}
Symbol 489 MovieClip Frame 1
score.text = _root.mainContent_mc.score;
Symbol 492 MovieClip Frame 1
if (_root.highestScore < _root.mainContent_mc.score) {
_root.highestScore = _root.mainContent_mc.score;
}
score.text = _root.highestScore;
Symbol 495 Button
on (release, releaseOutside) {
_root.gotoAndStop(26);
}
Symbol 498 Button
on (release) {
getURL ("http://www.dragongamez.com/", "_blank");
}
Symbol 499 MovieClip Frame 1
stop();
someMcOnLayer2.onRelease = function () {
};
someMcOnLayer2.useHandCursor = false;
Symbol 499 MovieClip Frame 2
someMcOnLayer2.onRelease = function () {
};
someMcOnLayer2.useHandCursor = false;
Symbol 499 MovieClip Frame 34
someMcOnLayer2.onRelease = function () {
};
someMcOnLayer2.useHandCursor = false;
Symbol 499 MovieClip Frame 66
someMcOnLayer2.onRelease = function () {
};
someMcOnLayer2.useHandCursor = false;
Symbol 499 MovieClip Frame 98
someMcOnLayer2.onRelease = function () {
};
someMcOnLayer2.useHandCursor = false;
Symbol 499 MovieClip Frame 125
stop();
_root.pilved5.gotoAndStop(2);
Symbol 499 MovieClip Frame 126
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
someMcOnLayer2.onRelease = function () {
};
someMcOnLayer2.useHandCursor = false;
Symbol 499 MovieClip Frame 127
this.swapDepths(_root.pilved5.highest);
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
someMcOnLayer2.onRelease = function () {
};
someMcOnLayer2.useHandCursor = false;
Symbol 499 MovieClip Frame 175
someMcOnLayer2.onRelease = function () {
};
someMcOnLayer2.useHandCursor = false;
Symbol 499 MovieClip Frame 213
stop();
var mbc = (new com.reintroducing.effects.MotionBlur(sc, 3, 3.95, 76.4, mx.transitions.easing.Elastic.easeOut, 2));
var mbc = (new com.reintroducing.effects.MotionBlur(na, 3, 21.95, 136.9, mx.transitions.easing.Elastic.easeOut, 2));
var mbc = (new com.reintroducing.effects.MotionBlur(cl, 3, 162.5, 207, mx.transitions.easing.Elastic.easeOut, 2));
var mbc = (new com.reintroducing.effects.MotionBlur(don, 3, 163.4, 269.65, mx.transitions.easing.Elastic.easeOut, 2));
var mbc = (new com.reintroducing.effects.MotionBlur(don2, 2, 240.65, 343.2, mx.transitions.easing.Elastic.easeOut, 2));
trace(cl._x);
trace(cl._y);
sc.score.tabEnabled = false;
na.name.tabIndex = 1;
cl.clan.tabIndex = 2;
don.tabIndex = 3;
na.name.tabIndex = 4;
cl.clan.tabIndex = 5;
don.tabIndex = 6;
trace(don2._x);
trace(don2._y);
someMcOnLayer2.onRelease = function () {
};
someMcOnLayer2.useHandCursor = false;
Symbol 501 MovieClip Frame 1
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 45;
var distance = 3;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 4;
var blurY = 4;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 6;
var blurY2 = 6;
var strength2 = 16;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
i++;
}
Symbol 501 MovieClip Frame 2
function uuenda6() {
_root.mainContent_mc.times = _root.mainContent_mc.times - 1;
if (_root.mainContent_mc.times < 15) {
_root.hunter_sound.stop("hunter");
var _local2 = new Sound();
_local2.attachSound("alarm");
_local2.start();
var _local4 = new Color(_root.mainContent_mc.clock);
_local4.setRGB(16711680);
}
if (_root.mainContent_mc.times < 5) {
_local2.stop("alarm");
var _local3 = new Sound();
_local3.attachSound("end");
_local3.start();
}
if (_root.mainContent_mc.times < 1) {
brickWinner.swapDepths(highest);
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
control.gotoAndPlay("kolmas");
}
}
function randomBrick() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 5) {
winner = random(201) + 1;
brickWinner = this["q" + winner];
_root.bricker = brickWinner;
if (((brickWinner == undefined) || (brickWinner._alpha == 0)) || (brickWinner == _root.stone)) {
randomBrick();
} else if (brickWinner._alpha == 0) {
randomBrick();
} else {
brickWinner.filters = new Array();
brickWinner.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
brickWinner.swapDepths(highest);
}
}
}
}
function uuenda() {
if (_root.mainContent_mc.times > 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 5;
e++;
removeMovieClip(brickWinner.orange_mc1);
removeMovieClip(brickWinner.light_mc1);
attachMovie("minus5", "-5" + e, e, {_x:brickWinner._x, _y:brickWinner._y});
brickWinner.filters = new Array(filter, filter2);
brickWinner.swapDepths(highest);
randomBrick();
}
}
function uuenda2() {
aeg = Number(aeg) - 1;
if (aeg < 1) {
if (_root.mainContent_mc.times > 0) {
_root.over = false;
randomBrick2();
aeg = 600;
}
}
}
function randomBrick2() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 10) {
winner2 = random(201) + 1;
brickWinner2 = this["q" + winner2];
_root.bricker2 = brickWinner2;
if ((brickWinner2 == undefined) || (brickWinner2._alpha == 0)) {
randomBrick2();
} else if (brickWinner2._alpha == 0) {
randomBrick2();
} else {
e++;
attachMovie("orange_esimene", "bronze_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
}
}
}
}
function uuenda3() {
if (_root.mainContent_mc.times > 0) {
brickWinner2.filters = new Array(filter, filter2);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
_root.dd = true;
_root.bricker2 = undefined;
}
}
function blockbuster() {
if (_root.bucket > 0) {
winner3 = random(201) + 1;
brickWinner3 = this["q" + winner3];
_root.bricker3 = brickWinner3;
if ((brickWinner3 == undefined) || (brickWinner3._alpha == 0)) {
blockbuster();
} else if (brickWinner3._alpha == 0) {
blockbuster();
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:brickWinner3._x, _y:brickWinner3._y});
brickWinner3._alpha = 0;
_root.bucket = _root.bucket - 1;
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
}
}
}
function buster() {
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
if (_root.bucket <= 5) {
rage();
}
}
function randomBrick4() {
if (_root.bucket > 5) {
if (_root.mainContent_mc.times > 0) {
winner4 = random(201) + 1;
brickWinner4 = this["q" + winner4];
_root.bricker4 = brickWinner4;
if ((brickWinner4 == undefined) || (brickWinner4._alpha == 0)) {
randomBrick4();
} else if (brickWinner4._alpha == 0) {
randomBrick4();
} else {
e++;
attachMovie("orange2_esimene", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
}
}
}
function uuenda5() {
if (_root.mainContent_mc.times > 0) {
brickWinner4.filters = new Array(filter, filter2);
removeMovieClip(orange_add);
_root.bricker4 = undefined;
}
}
function rage() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
_root.mood = "rage";
brick = this["q" + _local3];
_root.bricker = undefined;
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
brickWinner.swapDepths(highest);
brick.filters = new Array(filter4, filter, filter2);
_local3++;
}
aeg4 = 160;
_root.interval4 = setInterval(uuenda4, 15);
}
}
function restore() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
brick = this["q" + _local3];
brick.filters = new Array(filter, filter2);
_local3++;
}
}
}
function uuenda4() {
aeg4 = Number(aeg4) - 1;
if ((aeg4 < 1) && (_root.bucket > 5)) {
_root.mood = "notrage";
restore();
randomBrick();
aeg4 = 160;
clearInterval(_root.interval4);
}
}
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 45;
_root.bucket = 0;
_root.mood = "notrage";
_root.interval6 = setInterval(uuenda6, 1005);
_root.dd = true;
_root.over = false;
_root.mainContent_mc.score = 0;
var distance = 3;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 4;
var blurY = 4;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 6;
var blurY2 = 6;
var strength2 = 16;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
var color3 = 16777215;
var alpha3 = 1;
var blurX3 = 60;
var blurY3 = 60;
var strength3 = 5;
var quality3 = 3;
var inner3 = true;
var knockout3 = false;
var filter3 = (new flash.filters.GlowFilter(color3, alpha3, blurX3, blurY3, strength3, quality3, inner3, knockout3));
var color4 = 10079232;
var alpha4 = 0.5;
var blurX4 = 60;
var blurY4 = 60;
var strength4 = 5;
var quality4 = 3;
var inner4 = true;
var knockout4 = false;
var filter4 = (new flash.filters.GlowFilter(color4, alpha4, blurX4, blurY4, strength4, quality4, inner4, knockout4));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
brick.onRollOver = function () {
this.filters = new Array(filter3, filter, filter2);
if (this == _root.bricker) {
this.filters = new Array();
removeMovieClip(this.orange_mc1);
this.attachMovie("light", "light_mc1", this.getNextHighestDepth());
} else if (this == _root.bricker4) {
e++;
this.filters = new Array();
removeMovieClip(orange_add);
attachMovie("light_esimene", "light_mc1", e, {_x:brickWinner4._x, _y:brickWinner4._y});
} else if (this == _root.bricker2) {
if (_root.dd == true) {
e++;
this.filters = new Array();
removeMovieClip(bronze_mc1);
attachMovie("light_esimene", "light_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
} else {
bronze_mc1.stop();
this.filters = new Array(filter3, filter, filter2);
}
}
};
brick.onRollOut = function () {
this.filters = new Array(filter, filter2);
if (this == _root.bricker) {
removeMovieClip(this.light_mc1);
this.filters = new Array();
this.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
} else if (_root.mood == "rage") {
this.filters = new Array(filter4, filter, filter2);
} else if (this == _root.bricker2) {
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
brick.filters = new Array(filter, filter2);
e++;
attachMovie("orange_esimene", "bronze_mc1", e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker4) {
brick.filters = new Array();
e++;
removeMovieClip(light_mc1);
attachMovie("orange2_esimene", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
};
brick.onPress = function () {
if (this._alpha == 100) {
_root.bucket = _root.bucket - 1;
}
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
if (_root.bucket == 5) {
rage();
brickWinner.swapDepths(highest);
}
if (this == _root.bricker) {
_root.stone = this;
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
this.swapDepths(highest);
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
randomBrick();
} else if ((_root.mood == "rage") && (this._alpha != 0)) {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker2) {
_root.mainContent_mc.times = _root.mainContent_mc.times + _root.times;
_root.mainContent_mc.score = _root.mainContent_mc.score + _root.fate;
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie(_root.fate_in_numbers, "+15" + e, e, {_x:this._x, _y:this._y});
_root.bricker2 = undefined;
} else if (this == _root.bricker4) {
if (_root.mainContent_mc.extra._currentframe > 20) {
_root.mainContent_mc.times = _root.mainContent_mc.times + 20;
_root.mainContent_mc.score = _root.mainContent_mc.score + 300;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("plus200", "+200" + e, e, {_x:this._x, _y:this._y + 10});
e++;
attachMovie("tensecs", "+2012" + e, e, {_x:this._x, _y:this._y - 10});
_root.bricker4 = undefined;
_root.mainContent_mc.extra.gotoAndStop(1);
} else {
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("secured", "+3d" + e, e, {_x:this._x, _y:this._y});
_root.bricker4 = undefined;
}
} else if (this._alpha == 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 1;
e++;
attachMovie("minus1", "-1" + e, e, {_x:this._x, _y:this._y});
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score - 2;
e++;
attachMovie("minus2", "-2" + e, e, {_x:this._x, _y:this._y});
}
this.useHandCursor = false;
this._alpha = 0;
};
i++;
}
e = 10000;
randomBrick();
aeg = 600;
_root.interval = setInterval(uuenda2, 15);
uuenda2();
Symbol 517 Button
on (release, releaseOutside) {
_root.mainContent_mc.times = _root.mainContent_mc.times + 5;
prevFrame();
}
on (rollOver) {
_parent.gotoAndStop(2);
}
on (rollOut) {
_parent.gotoAndStop(1);
}
Symbol 522 MovieClip Frame 1
stop();
Instance of Symbol 514 MovieClip in Symbol 522 MovieClip Frame 2
onClipEvent (keyDown) {
if (Key.getCode() == 49) {
_root.mainContent_mc.times = _root.mainContent_mc.times + 5;
_parent.prevFrame();
}
}
Symbol 523 MovieClip Frame 1
stop();
Symbol 527 Button
on (release, releaseOutside) {
_root.mainContent_mc.times = _root.mainContent_mc.times + 10;
prevFrame();
}
on (rollOver) {
_parent.gotoAndStop(2);
}
on (rollOut) {
_parent.gotoAndStop(1);
}
Symbol 532 MovieClip Frame 1
stop();
Instance of Symbol 525 MovieClip in Symbol 532 MovieClip Frame 2
onClipEvent (keyDown) {
if (Key.getCode() == 50) {
_root.mainContent_mc.times = _root.mainContent_mc.times + 10;
_parent.prevFrame();
}
}
Symbol 533 MovieClip Frame 1
stop();
Symbol 535 Button
on (release, releaseOutside) {
if (_root.bucket > 10) {
_root.pilved5.buster();
prevFrame();
}
}
on (rollOver) {
_parent.gotoAndStop(2);
}
on (rollOut) {
_parent.gotoAndStop(1);
}
Symbol 536 MovieClip Frame 1
stop();
Instance of Symbol 534 MovieClip in Symbol 536 MovieClip Frame 2
onClipEvent (keyDown) {
if (_root.bucket > 10) {
if (Key.getCode() == 51) {
_root.pilved5.buster();
_parent.prevFrame();
}
}
}
Symbol 537 MovieClip Frame 1
stop();
Symbol 544 MovieClip Frame 1
stop();
_root.theeye = 30;
Symbol 544 MovieClip Frame 2
stop();
_root.theeye = 24;
Symbol 544 MovieClip Frame 3
_root.theeye = 18;
Symbol 544 MovieClip Frame 4
_root.theeye = 12;
Symbol 544 MovieClip Frame 5
_root.theeye = 6;
Symbol 544 MovieClip Frame 6
_root.theeye = 2;
Symbol 551 MovieClip Frame 1
stop();
Symbol 551 MovieClip Frame 10
stop();
_root.pilved5.randomBrick4();
Symbol 551 MovieClip Frame 20
stop();
_root.pilved5.randomBrick4();
Symbol 551 MovieClip Frame 30
stop();
_root.pilved5.randomBrick4();
Symbol 551 MovieClip Frame 40
stop();
_root.pilved5.randomBrick4();
Symbol 551 MovieClip Frame 50
stop();
_root.pilved5.randomBrick4();
Symbol 561 Button
on (release) {
_root.back = true;
_root.highscore == true;
_root.gotoAndStop(4);
}
Symbol 570 Button
on (release) {
getURL ("http://www.dragongamez.com/", "_blank");
}
Symbol 572 MovieClip Frame 1
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 40;
var distance = 3;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 4;
var blurY = 4;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 6;
var blurY2 = 6;
var strength2 = 16;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
i++;
}
Symbol 572 MovieClip Frame 2
function uuenda6() {
_root.mainContent_mc.times = _root.mainContent_mc.times - 1;
if (_root.mainContent_mc.times < 15) {
_root.hunter_sound.stop("hunter");
var _local2 = new Sound();
_local2.attachSound("alarm");
_local2.start();
var _local4 = new Color(_root.mainContent_mc.clock);
_local4.setRGB(16711680);
}
if (_root.mainContent_mc.times < 5) {
_local2.stop("alarm");
var _local3 = new Sound();
_local3.attachSound("end");
_local3.start();
}
if (_root.mainContent_mc.times < 1) {
brickWinner.swapDepths(highest);
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
control.gotoAndPlay("kolmas");
}
}
function randomBrick() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 5) {
winner = random(201) + 1;
brickWinner = this["q" + winner];
_root.bricker = brickWinner;
if (((brickWinner == undefined) || (brickWinner._alpha == 0)) || (brickWinner == _root.stone)) {
randomBrick();
} else if (brickWinner._alpha == 0) {
randomBrick();
} else {
brickWinner.filters = new Array();
brickWinner.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
brickWinner.swapDepths(highest);
}
}
}
}
function uuenda() {
if (_root.mainContent_mc.times > 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 5;
e++;
removeMovieClip(brickWinner.orange_mc1);
removeMovieClip(brickWinner.light_mc1);
attachMovie("minus5", "-5" + e, e, {_x:brickWinner._x, _y:brickWinner._y});
brickWinner.filters = new Array(filter, filter2);
brickWinner.swapDepths(highest);
randomBrick();
}
}
function uuenda2() {
aeg = Number(aeg) - 1;
if (aeg < 1) {
if (_root.mainContent_mc.times > 0) {
_root.over = false;
randomBrick2();
aeg = 600;
}
}
}
function randomBrick2() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 10) {
winner2 = random(201) + 1;
brickWinner2 = this["q" + winner2];
_root.bricker2 = brickWinner2;
if ((brickWinner2 == undefined) || (brickWinner2._alpha == 0)) {
randomBrick2();
} else if (brickWinner2._alpha == 0) {
randomBrick2();
} else {
e++;
attachMovie("orange_esimene", "bronze_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
}
}
}
}
function uuenda3() {
if (_root.mainContent_mc.times > 0) {
brickWinner2.filters = new Array(filter, filter2);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
_root.dd = true;
_root.bricker2 = undefined;
}
}
function blockbuster() {
if (_root.bucket > 0) {
winner3 = random(201) + 1;
brickWinner3 = this["q" + winner3];
_root.bricker3 = brickWinner3;
if ((brickWinner3 == undefined) || (brickWinner3._alpha == 0)) {
blockbuster();
} else if (brickWinner3._alpha == 0) {
blockbuster();
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:brickWinner3._x, _y:brickWinner3._y});
brickWinner3._alpha = 0;
_root.bucket = _root.bucket - 1;
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
}
}
}
function buster() {
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
if (_root.bucket <= 5) {
rage();
}
}
function randomBrick4() {
if (_root.bucket > 5) {
if (_root.mainContent_mc.times > 0) {
winner4 = random(201) + 1;
brickWinner4 = this["q" + winner4];
_root.bricker4 = brickWinner4;
if ((brickWinner4 == undefined) || (brickWinner4._alpha == 0)) {
randomBrick4();
} else if (brickWinner4._alpha == 0) {
randomBrick4();
} else {
e++;
attachMovie("orange2_esimene", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
}
}
}
function uuenda5() {
if (_root.mainContent_mc.times > 0) {
brickWinner4.filters = new Array(filter, filter2);
removeMovieClip(orange_add);
_root.bricker4 = undefined;
}
}
function rage() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
_root.mood = "rage";
brick = this["q" + _local3];
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
brickWinner.swapDepths(highest);
_root.bricker = undefined;
brick.filters = new Array(filter4, filter, filter2);
_local3++;
}
aeg4 = 160;
_root.interval4 = setInterval(uuenda4, 15);
}
}
function restore() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
brick = this["q" + _local3];
brick.filters = new Array(filter, filter2);
_local3++;
}
}
}
function uuenda4() {
aeg4 = Number(aeg4) - 1;
if ((aeg4 < 1) && (_root.bucket > 5)) {
_root.mood = "notrage";
restore();
randomBrick();
aeg4 = 160;
clearInterval(_root.interval4);
}
}
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 40;
_root.bucket = 0;
_root.mood = "notrage";
_root.interval6 = setInterval(uuenda6, 1005);
_root.dd = true;
_root.over = false;
var distance = 3;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 4;
var blurY = 4;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 6;
var blurY2 = 6;
var strength2 = 16;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
var color3 = 16777215;
var alpha3 = 1;
var blurX3 = 60;
var blurY3 = 60;
var strength3 = 5;
var quality3 = 3;
var inner3 = true;
var knockout3 = false;
var filter3 = (new flash.filters.GlowFilter(color3, alpha3, blurX3, blurY3, strength3, quality3, inner3, knockout3));
var color4 = 10079232;
var alpha4 = 0.5;
var blurX4 = 60;
var blurY4 = 60;
var strength4 = 5;
var quality4 = 3;
var inner4 = true;
var knockout4 = false;
var filter4 = (new flash.filters.GlowFilter(color4, alpha4, blurX4, blurY4, strength4, quality4, inner4, knockout4));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
brick.onRollOver = function () {
this.filters = new Array(filter3, filter, filter2);
if (this == _root.bricker) {
this.filters = new Array();
removeMovieClip(this.orange_mc1);
this.attachMovie("light", "light_mc1", this.getNextHighestDepth());
} else if (this == _root.bricker4) {
e++;
this.filters = new Array();
removeMovieClip(orange_add);
attachMovie("light_esimene", "light_mc1", e, {_x:brickWinner4._x, _y:brickWinner4._y});
} else if (this == _root.bricker2) {
if (_root.dd == true) {
e++;
this.filters = new Array();
removeMovieClip(bronze_mc1);
attachMovie("light_esimene", "light_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
} else {
bronze_mc1.stop();
this.filters = new Array(filter3, filter, filter2);
}
}
};
brick.onRollOut = function () {
this.filters = new Array(filter, filter2);
if (this == _root.bricker) {
removeMovieClip(this.light_mc1);
this.filters = new Array();
this.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
} else if (_root.mood == "rage") {
this.filters = new Array(filter4, filter, filter2);
} else if (this == _root.bricker2) {
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
brick.filters = new Array(filter, filter2);
e++;
attachMovie("orange_esimene", "bronze_mc1", e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker4) {
brick.filters = new Array();
e++;
removeMovieClip(light_mc1);
attachMovie("orange2_esimene", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
};
brick.onPress = function () {
if (this._alpha == 100) {
_root.bucket = _root.bucket - 1;
}
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
if (_root.bucket == 5) {
rage();
brickWinner.swapDepths(highest);
}
if (this == _root.bricker) {
_root.stone = this;
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
this.swapDepths(highest);
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
randomBrick();
} else if ((_root.mood == "rage") && (this._alpha != 0)) {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker2) {
_root.mainContent_mc.times = _root.mainContent_mc.times + _root.times;
_root.mainContent_mc.score = _root.mainContent_mc.score + _root.fate;
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie(_root.fate_in_numbers, "+15" + e, e, {_x:this._x, _y:this._y});
_root.bricker2 = undefined;
} else if (this == _root.bricker4) {
if (_root.mainContent_mc.extra._currentframe > 20) {
_root.mainContent_mc.times = _root.mainContent_mc.times + 20;
_root.mainContent_mc.score = _root.mainContent_mc.score + 300;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("plus200", "+200" + e, e, {_x:this._x, _y:this._y + 10});
e++;
attachMovie("tensecs", "+2012" + e, e, {_x:this._x, _y:this._y - 10});
_root.bricker4 = undefined;
_root.mainContent_mc.extra.gotoAndStop(1);
} else {
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("secured", "+3d" + e, e, {_x:this._x, _y:this._y});
_root.bricker4 = undefined;
}
} else if (this._alpha == 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 1;
e++;
attachMovie("minus1", "-1" + e, e, {_x:this._x, _y:this._y});
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score - 2;
e++;
attachMovie("minus2", "-2" + e, e, {_x:this._x, _y:this._y});
}
this.useHandCursor = false;
this._alpha = 0;
};
i++;
}
e = 10000;
randomBrick();
aeg = 600;
_root.interval = setInterval(uuenda2, 15);
uuenda2();
Symbol 573 MovieClip Frame 1
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 35;
var distance = 3;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 4;
var blurY = 4;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 6;
var blurY2 = 6;
var strength2 = 16;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
i++;
}
Symbol 573 MovieClip Frame 2
function uuenda6() {
_root.mainContent_mc.times = _root.mainContent_mc.times - 1;
if (_root.mainContent_mc.times < 15) {
_root.hunter_sound.stop("hunter");
var _local2 = new Sound();
_local2.attachSound("alarm");
_local2.start();
var _local4 = new Color(_root.mainContent_mc.clock);
_local4.setRGB(16711680);
}
if (_root.mainContent_mc.times < 5) {
_local2.stop("alarm");
var _local3 = new Sound();
_local3.attachSound("end");
_local3.start();
}
if (_root.mainContent_mc.times < 1) {
brickWinner.swapDepths(highest);
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
control.gotoAndPlay("kolmas");
}
}
function randomBrick() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 5) {
winner = random(201) + 1;
brickWinner = this["q" + winner];
_root.bricker = brickWinner;
if (((brickWinner == undefined) || (brickWinner._alpha == 0)) || (brickWinner == _root.stone)) {
randomBrick();
} else if (brickWinner._alpha == 0) {
randomBrick();
} else {
brickWinner.filters = new Array();
brickWinner.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
brickWinner.swapDepths(highest);
}
}
}
}
function uuenda() {
if (_root.mainContent_mc.times > 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 5;
e++;
removeMovieClip(brickWinner.orange_mc1);
removeMovieClip(brickWinner.light_mc1);
attachMovie("minus5", "-5" + e, e, {_x:brickWinner._x, _y:brickWinner._y});
brickWinner.filters = new Array(filter, filter2);
brickWinner.swapDepths(highest);
randomBrick();
}
}
function uuenda2() {
aeg = Number(aeg) - 1;
if (aeg < 1) {
if (_root.mainContent_mc.times > 0) {
_root.over = false;
randomBrick2();
aeg = 500;
}
}
}
function randomBrick2() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 10) {
winner2 = random(201) + 1;
brickWinner2 = this["q" + winner2];
_root.bricker2 = brickWinner2;
if ((brickWinner2 == undefined) || (brickWinner2._alpha == 0)) {
randomBrick2();
} else if (brickWinner2._alpha == 0) {
randomBrick2();
} else {
e++;
attachMovie("orange_esimene", "bronze_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
}
}
}
}
function uuenda3() {
if (_root.mainContent_mc.times > 0) {
brickWinner2.filters = new Array(filter, filter2);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
_root.dd = true;
_root.bricker2 = undefined;
}
}
function blockbuster() {
if (_root.bucket > 0) {
winner3 = random(201) + 1;
brickWinner3 = this["q" + winner3];
_root.bricker3 = brickWinner3;
if ((brickWinner3 == undefined) || (brickWinner3._alpha == 0)) {
blockbuster();
} else if (brickWinner3._alpha == 0) {
blockbuster();
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:brickWinner3._x, _y:brickWinner3._y});
brickWinner3._alpha = 0;
_root.bucket = _root.bucket - 1;
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
}
}
}
function buster() {
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
if (_root.bucket <= 5) {
rage();
}
}
function randomBrick4() {
if (_root.bucket > 5) {
if (_root.mainContent_mc.times > 0) {
winner4 = random(201) + 1;
brickWinner4 = this["q" + winner4];
_root.bricker4 = brickWinner4;
if ((brickWinner4 == undefined) || (brickWinner4._alpha == 0)) {
randomBrick4();
} else if (brickWinner4._alpha == 0) {
randomBrick4();
} else {
e++;
attachMovie("orange2_esimene", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
}
}
}
function uuenda5() {
if (_root.mainContent_mc.times > 0) {
brickWinner4.filters = new Array(filter, filter2);
removeMovieClip(orange_add);
_root.bricker4 = undefined;
}
}
function rage() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
_root.mood = "rage";
brick = this["q" + _local3];
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
brickWinner.swapDepths(highest);
_root.bricker = undefined;
brick.filters = new Array(filter4, filter, filter2);
_local3++;
}
aeg4 = 160;
_root.interval4 = setInterval(uuenda4, 15);
}
}
function restore() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
brick = this["q" + _local3];
brick.filters = new Array(filter, filter2);
_local3++;
}
}
}
function uuenda4() {
aeg4 = Number(aeg4) - 1;
if ((aeg4 < 1) && (_root.bucket > 5)) {
_root.mood = "notrage";
restore();
randomBrick();
clearInterval(_root.interval4);
}
}
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 35;
_root.bucket = 0;
_root.mood = "notrage";
_root.interval6 = setInterval(uuenda6, 1005);
_root.dd = true;
_root.over = false;
var distance = 3;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 4;
var blurY = 4;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 6;
var blurY2 = 6;
var strength2 = 16;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
var color3 = 16777215;
var alpha3 = 1;
var blurX3 = 60;
var blurY3 = 60;
var strength3 = 5;
var quality3 = 3;
var inner3 = true;
var knockout3 = false;
var filter3 = (new flash.filters.GlowFilter(color3, alpha3, blurX3, blurY3, strength3, quality3, inner3, knockout3));
var color4 = 10079232;
var alpha4 = 0.5;
var blurX4 = 60;
var blurY4 = 60;
var strength4 = 5;
var quality4 = 3;
var inner4 = true;
var knockout4 = false;
var filter4 = (new flash.filters.GlowFilter(color4, alpha4, blurX4, blurY4, strength4, quality4, inner4, knockout4));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
brick.onRollOver = function () {
this.filters = new Array(filter3, filter, filter2);
if (this == _root.bricker) {
this.filters = new Array();
removeMovieClip(this.orange_mc1);
this.attachMovie("light", "light_mc1", this.getNextHighestDepth());
} else if (this == _root.bricker4) {
e++;
this.filters = new Array();
removeMovieClip(orange_add);
attachMovie("light_esimene", "light_mc1", e, {_x:brickWinner4._x, _y:brickWinner4._y});
} else if (this == _root.bricker2) {
if (_root.dd == true) {
e++;
this.filters = new Array();
removeMovieClip(bronze_mc1);
attachMovie("light_esimene", "light_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
} else {
bronze_mc1.stop();
this.filters = new Array(filter3, filter, filter2);
}
}
};
brick.onRollOut = function () {
this.filters = new Array(filter, filter2);
if (this == _root.bricker) {
removeMovieClip(this.light_mc1);
this.filters = new Array();
this.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
} else if (_root.mood == "rage") {
this.filters = new Array(filter4, filter, filter2);
} else if (this == _root.bricker2) {
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
brick.filters = new Array(filter, filter2);
e++;
attachMovie("orange_esimene", "bronze_mc1", e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker4) {
brick.filters = new Array();
e++;
removeMovieClip(light_mc1);
attachMovie("orange2_esimene", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
};
brick.onPress = function () {
if (this._alpha == 100) {
_root.bucket = _root.bucket - 1;
}
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
if (_root.bucket == 5) {
rage();
brickWinner.swapDepths(highest);
}
if (this == _root.bricker) {
_root.stone = this;
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
this.swapDepths(highest);
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
randomBrick();
} else if ((_root.mood == "rage") && (this._alpha != 0)) {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker2) {
_root.mainContent_mc.times = _root.mainContent_mc.times + _root.times;
_root.mainContent_mc.score = _root.mainContent_mc.score + _root.fate;
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie(_root.fate_in_numbers, "+15" + e, e, {_x:this._x, _y:this._y});
_root.bricker2 = undefined;
} else if (this == _root.bricker4) {
if (_root.mainContent_mc.extra._currentframe > 20) {
_root.mainContent_mc.times = _root.mainContent_mc.times + 20;
_root.mainContent_mc.score = _root.mainContent_mc.score + 300;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("plus200", "+200" + e, e, {_x:this._x, _y:this._y + 10});
e++;
attachMovie("tensecs", "+2012" + e, e, {_x:this._x, _y:this._y - 10});
_root.bricker4 = undefined;
_root.mainContent_mc.extra.gotoAndStop(1);
} else {
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("secured", "+3d" + e, e, {_x:this._x, _y:this._y});
_root.bricker4 = undefined;
}
} else if (this._alpha == 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 1;
e++;
attachMovie("minus1", "-1" + e, e, {_x:this._x, _y:this._y});
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score - 2;
e++;
attachMovie("minus2", "-2" + e, e, {_x:this._x, _y:this._y});
}
this.useHandCursor = false;
this._alpha = 0;
};
i++;
}
e = 10000;
randomBrick();
aeg = 500;
_root.interval = setInterval(uuenda2, 15);
uuenda2();
Symbol 574 MovieClip Frame 1
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 30;
var distance = 3;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 4;
var blurY = 4;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 6;
var blurY2 = 6;
var strength2 = 16;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
i++;
}
Symbol 574 MovieClip Frame 2
function uuenda6() {
_root.mainContent_mc.times = _root.mainContent_mc.times - 1;
if (_root.mainContent_mc.times < 15) {
_root.hunter_sound.stop("hunter");
var _local2 = new Sound();
_local2.attachSound("alarm");
_local2.start();
var _local4 = new Color(_root.mainContent_mc.clock);
_local4.setRGB(16711680);
}
if (_root.mainContent_mc.times < 5) {
_local2.stop("alarm");
var _local3 = new Sound();
_local3.attachSound("end");
_local3.start();
}
if (_root.mainContent_mc.times < 1) {
brickWinner.swapDepths(highest);
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
control.gotoAndPlay("kolmas");
}
}
function randomBrick() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 5) {
winner = random(201) + 1;
brickWinner = this["q" + winner];
_root.bricker = brickWinner;
if (((brickWinner == undefined) || (brickWinner._alpha == 0)) || (brickWinner == _root.stone)) {
randomBrick();
} else if (brickWinner._alpha == 0) {
randomBrick();
} else {
brickWinner.filters = new Array();
brickWinner.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
brickWinner.swapDepths(highest);
}
}
}
}
function uuenda() {
if (_root.mainContent_mc.times > 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 5;
e++;
removeMovieClip(brickWinner.orange_mc1);
removeMovieClip(brickWinner.light_mc1);
attachMovie("minus5", "-5" + e, e, {_x:brickWinner._x, _y:brickWinner._y});
brickWinner.filters = new Array(filter, filter2);
brickWinner.swapDepths(highest);
randomBrick();
}
}
function uuenda2() {
aeg = Number(aeg) - 1;
if (aeg < 1) {
if (_root.mainContent_mc.times > 0) {
_root.over = false;
randomBrick2();
aeg = 475;
}
}
}
function randomBrick2() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 10) {
winner2 = random(201) + 1;
brickWinner2 = this["q" + winner2];
_root.bricker2 = brickWinner2;
if ((brickWinner2 == undefined) || (brickWinner2._alpha == 0)) {
randomBrick2();
} else if (brickWinner2._alpha == 0) {
randomBrick2();
} else {
e++;
attachMovie("orange_esimene", "bronze_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
}
}
}
}
function uuenda3() {
if (_root.mainContent_mc.times > 0) {
brickWinner2.filters = new Array(filter, filter2);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
_root.dd = true;
_root.bricker2 = undefined;
}
}
function blockbuster() {
if (_root.bucket > 0) {
winner3 = random(201) + 1;
brickWinner3 = this["q" + winner3];
_root.bricker3 = brickWinner3;
if ((brickWinner3 == undefined) || (brickWinner3._alpha == 0)) {
blockbuster();
} else if (brickWinner3._alpha == 0) {
blockbuster();
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:brickWinner3._x, _y:brickWinner3._y});
brickWinner3._alpha = 0;
_root.bucket = _root.bucket - 1;
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
}
}
}
function buster() {
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
if (_root.bucket <= 5) {
rage();
}
}
function randomBrick4() {
if (_root.bucket > 5) {
if (_root.mainContent_mc.times > 0) {
winner4 = random(201) + 1;
brickWinner4 = this["q" + winner4];
_root.bricker4 = brickWinner4;
if ((brickWinner4 == undefined) || (brickWinner4._alpha == 0)) {
randomBrick4();
} else if (brickWinner4._alpha == 0) {
randomBrick4();
} else {
e++;
attachMovie("orange2_esimene", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
}
}
}
function uuenda5() {
if (_root.mainContent_mc.times > 0) {
brickWinner4.filters = new Array(filter, filter2);
removeMovieClip(orange_add);
_root.bricker4 = undefined;
}
}
function rage() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
_root.mood = "rage";
brick = this["q" + _local3];
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
brickWinner.swapDepths(highest);
_root.bricker = undefined;
brick.filters = new Array(filter4, filter, filter2);
_local3++;
}
aeg4 = 160;
_root.interval4 = setInterval(uuenda4, 15);
}
}
function restore() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
brick = this["q" + _local3];
brick.filters = new Array(filter, filter2);
_local3++;
}
}
}
function uuenda4() {
aeg4 = Number(aeg4) - 1;
if ((aeg4 < 1) && (_root.bucket > 5)) {
_root.mood = "notrage";
restore();
randomBrick();
aeg4 = 160;
clearInterval(_root.interval4);
}
}
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 30;
_root.bucket = 0;
_root.mood = "notrage";
_root.interval6 = setInterval(uuenda6, 1005);
_root.dd = true;
_root.over = false;
var distance = 3;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 4;
var blurY = 4;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 6;
var blurY2 = 6;
var strength2 = 16;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
var color3 = 16777215;
var alpha3 = 1;
var blurX3 = 60;
var blurY3 = 60;
var strength3 = 5;
var quality3 = 3;
var inner3 = true;
var knockout3 = false;
var filter3 = (new flash.filters.GlowFilter(color3, alpha3, blurX3, blurY3, strength3, quality3, inner3, knockout3));
var color4 = 10079232;
var alpha4 = 0.5;
var blurX4 = 60;
var blurY4 = 60;
var strength4 = 5;
var quality4 = 3;
var inner4 = true;
var knockout4 = false;
var filter4 = (new flash.filters.GlowFilter(color4, alpha4, blurX4, blurY4, strength4, quality4, inner4, knockout4));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
brick.onRollOver = function () {
this.filters = new Array(filter3, filter, filter2);
if (this == _root.bricker) {
this.filters = new Array();
removeMovieClip(this.orange_mc1);
this.attachMovie("light", "light_mc1", this.getNextHighestDepth());
} else if (this == _root.bricker4) {
e++;
this.filters = new Array();
removeMovieClip(orange_add);
attachMovie("light_esimene", "light_mc1", e, {_x:brickWinner4._x, _y:brickWinner4._y});
} else if (this == _root.bricker2) {
if (_root.dd == true) {
e++;
this.filters = new Array();
removeMovieClip(bronze_mc1);
attachMovie("light_esimene", "light_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
} else {
bronze_mc1.stop();
this.filters = new Array(filter3, filter, filter2);
}
}
};
brick.onRollOut = function () {
this.filters = new Array(filter, filter2);
if (this == _root.bricker) {
removeMovieClip(this.light_mc1);
this.filters = new Array();
this.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
} else if (_root.mood == "rage") {
this.filters = new Array(filter4, filter, filter2);
} else if (this == _root.bricker2) {
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
brick.filters = new Array(filter, filter2);
e++;
attachMovie("orange_esimene", "bronze_mc1", e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker4) {
brick.filters = new Array();
e++;
removeMovieClip(light_mc1);
attachMovie("orange2_esimene", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
};
brick.onPress = function () {
if (this._alpha == 100) {
_root.bucket = _root.bucket - 1;
}
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
if (_root.bucket == 5) {
rage();
brickWinner.swapDepths(highest);
}
if (this == _root.bricker) {
_root.stone = this;
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
this.swapDepths(highest);
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
randomBrick();
} else if ((_root.mood == "rage") && (this._alpha != 0)) {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker2) {
_root.mainContent_mc.times = _root.mainContent_mc.times + _root.times;
_root.mainContent_mc.score = _root.mainContent_mc.score + _root.fate;
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie(_root.fate_in_numbers, "+15" + e, e, {_x:this._x, _y:this._y});
_root.bricker2 = undefined;
} else if (this == _root.bricker4) {
if (_root.mainContent_mc.extra._currentframe > 20) {
_root.mainContent_mc.times = _root.mainContent_mc.times + 20;
_root.mainContent_mc.score = _root.mainContent_mc.score + 300;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("plus200", "+200" + e, e, {_x:this._x, _y:this._y + 10});
e++;
attachMovie("tensecs", "+2012" + e, e, {_x:this._x, _y:this._y - 10});
_root.bricker4 = undefined;
_root.mainContent_mc.extra.gotoAndStop(1);
} else {
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("secured", "+3d" + e, e, {_x:this._x, _y:this._y});
_root.bricker4 = undefined;
}
} else if (this._alpha == 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 1;
e++;
attachMovie("minus1", "-1" + e, e, {_x:this._x, _y:this._y});
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score - 2;
e++;
attachMovie("minus2", "-2" + e, e, {_x:this._x, _y:this._y});
}
this.useHandCursor = false;
this._alpha = 0;
};
i++;
}
e = 10000;
randomBrick();
aeg = 475;
_root.interval = setInterval(uuenda2, 15);
uuenda2();
Symbol 587 MovieClip Frame 19
stop();
Symbol 588 MovieClip Frame 1
stop();
rr = random(8);
if (rr == 1) {
gotoAndPlay (3);
} else {
play();
}
Symbol 588 MovieClip Frame 2
gotoAndPlay (1);
Symbol 588 MovieClip Frame 50
this._x = Math.floor(Math.random() * 2000) - 1000;
this._y = Math.floor(Math.random() * 2000) - 1000;
Symbol 644 MovieClip Frame 1
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 55;
var distance = 2.8;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 3.5;
var blurY = 3.5;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 5.5;
var blurY2 = 5.5;
var strength2 = 15;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
i++;
}
Symbol 644 MovieClip Frame 2
function uuenda6() {
_root.mainContent_mc.times = _root.mainContent_mc.times - 1;
if (_root.mainContent_mc.times < 15) {
_root.hunter_sound.stop("hunter");
var _local2 = new Sound();
_local2.attachSound("alarm");
_local2.start();
var _local4 = new Color(_root.mainContent_mc.clock);
_local4.setRGB(16711680);
}
if (_root.mainContent_mc.times < 5) {
_local2.stop("alarm");
var _local3 = new Sound();
_local3.attachSound("end");
_local3.start();
}
if (_root.mainContent_mc.times < 1) {
brickWinner.swapDepths(highest);
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
control.gotoAndPlay("kolmas");
}
}
function randomBrick() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 5) {
winner = random(201) + 1;
brickWinner = this["q" + winner];
_root.bricker = brickWinner;
if (((brickWinner == undefined) || (brickWinner._alpha == 0)) || (brickWinner == _root.stone)) {
randomBrick();
} else if (brickWinner._alpha == 0) {
randomBrick();
} else {
brickWinner.filters = new Array();
brickWinner.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
brickWinner.swapDepths(highest);
}
}
}
}
function uuenda() {
if (_root.mainContent_mc.times > 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 5;
e++;
removeMovieClip(brickWinner.orange_mc1);
removeMovieClip(brickWinner.light_mc1);
attachMovie("minus5", "-5" + e, e, {_x:brickWinner._x, _y:brickWinner._y});
brickWinner.filters = new Array(filter, filter2);
brickWinner.swapDepths(highest);
randomBrick();
}
}
function uuenda2() {
aeg = Number(aeg) - 1;
if (aeg < 1) {
if (_root.mainContent_mc.times > 0) {
_root.over = false;
randomBrick2();
aeg = 450;
}
}
}
function randomBrick2() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 10) {
winner2 = random(201) + 1;
brickWinner2 = this["q" + winner2];
_root.bricker2 = brickWinner2;
if ((brickWinner2 == undefined) || (brickWinner2._alpha == 0)) {
randomBrick2();
} else if (brickWinner2._alpha == 0) {
randomBrick2();
} else {
e++;
attachMovie("orange_teine", "bronze_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
}
}
}
}
function uuenda3() {
if (_root.mainContent_mc.times > 0) {
brickWinner2.filters = new Array(filter, filter2);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
_root.dd = true;
_root.bricker2 = undefined;
}
}
function blockbuster() {
if (_root.bucket > 0) {
winner3 = random(201) + 1;
brickWinner3 = this["q" + winner3];
_root.bricker3 = brickWinner3;
if ((brickWinner3 == undefined) || (brickWinner3._alpha == 0)) {
blockbuster();
} else if (brickWinner3._alpha == 0) {
blockbuster();
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:brickWinner3._x, _y:brickWinner3._y});
brickWinner3._alpha = 0;
_root.bucket = _root.bucket - 1;
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
}
}
}
function buster() {
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
if (_root.bucket <= 5) {
rage();
}
}
function randomBrick4() {
if (_root.bucket > 5) {
if (_root.mainContent_mc.times > 0) {
winner4 = random(201) + 1;
brickWinner4 = this["q" + winner4];
_root.bricker4 = brickWinner4;
if ((brickWinner4 == undefined) || (brickWinner4._alpha == 0)) {
randomBrick4();
} else if (brickWinner4._alpha == 0) {
randomBrick4();
} else {
e++;
attachMovie("orange2_teine", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
}
}
}
function uuenda5() {
if (_root.mainContent_mc.times > 0) {
brickWinner4.filters = new Array(filter, filter2);
removeMovieClip(orange_add);
_root.bricker4 = undefined;
}
}
function rage() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
_root.mood = "rage";
brick = this["q" + _local3];
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
brickWinner.swapDepths(highest);
_root.bricker = undefined;
brick.filters = new Array(filter4, filter, filter2);
_local3++;
}
aeg4 = 160;
_root.interval4 = setInterval(uuenda4, 15);
}
}
function restore() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
brick = this["q" + _local3];
brick.filters = new Array(filter, filter2);
_local3++;
}
}
}
function uuenda4() {
aeg4 = Number(aeg4) - 1;
if ((aeg4 < 1) && (_root.bucket > 5)) {
_root.mood = "notrage";
restore();
randomBrick();
clearInterval(_root.interval4);
}
}
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 55;
_root.bucket = 0;
_root.mood = "notrage";
_root.interval6 = setInterval(uuenda6, 1005);
_root.dd = true;
_root.over = false;
var distance = 2.8;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 3.5;
var blurY = 3.5;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 5.5;
var blurY2 = 5.5;
var strength2 = 15;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
var color3 = 16777215;
var alpha3 = 1;
var blurX3 = 60;
var blurY3 = 60;
var strength3 = 5;
var quality3 = 3;
var inner3 = true;
var knockout3 = false;
var filter3 = (new flash.filters.GlowFilter(color3, alpha3, blurX3, blurY3, strength3, quality3, inner3, knockout3));
var color4 = 10079232;
var alpha4 = 0.5;
var blurX4 = 60;
var blurY4 = 60;
var strength4 = 5;
var quality4 = 3;
var inner4 = true;
var knockout4 = false;
var filter4 = (new flash.filters.GlowFilter(color4, alpha4, blurX4, blurY4, strength4, quality4, inner4, knockout4));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
brick.onRollOver = function () {
this.filters = new Array(filter3, filter, filter2);
if (this == _root.bricker) {
this.filters = new Array();
removeMovieClip(this.orange_mc1);
this.attachMovie("light", "light_mc1", this.getNextHighestDepth());
} else if (this == _root.bricker4) {
e++;
this.filters = new Array();
removeMovieClip(orange_add);
attachMovie("light_teine", "light_mc1", e, {_x:brickWinner4._x, _y:brickWinner4._y});
} else if (this == _root.bricker2) {
if (_root.dd == true) {
e++;
this.filters = new Array();
removeMovieClip(bronze_mc1);
attachMovie("light_teine", "light_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
} else {
bronze_mc1.stop();
this.filters = new Array(filter3, filter, filter2);
}
}
};
brick.onRollOut = function () {
this.filters = new Array(filter, filter2);
if (this == _root.bricker) {
removeMovieClip(this.light_mc1);
this.filters = new Array();
this.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
} else if (_root.mood == "rage") {
this.filters = new Array(filter4, filter, filter2);
} else if (this == _root.bricker2) {
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
brick.filters = new Array(filter, filter2);
e++;
attachMovie("orange_teine", "bronze_mc1", e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker4) {
brick.filters = new Array();
e++;
removeMovieClip(light_mc1);
attachMovie("orange2_teine", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
};
brick.onPress = function () {
if (this._alpha == 100) {
_root.bucket = _root.bucket - 1;
}
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
if (_root.bucket == 5) {
rage();
brickWinner.swapDepths(highest);
}
if (this == _root.bricker) {
_root.stone = this;
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
this.swapDepths(highest);
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
randomBrick();
} else if ((_root.mood == "rage") && (this._alpha != 0)) {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker2) {
_root.mainContent_mc.times = _root.mainContent_mc.times + _root.times;
_root.mainContent_mc.score = _root.mainContent_mc.score + _root.fate;
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie(_root.fate_in_numbers, "+15" + e, e, {_x:this._x, _y:this._y});
_root.bricker2 = undefined;
} else if (this == _root.bricker4) {
if (_root.mainContent_mc.extra._currentframe > 20) {
_root.mainContent_mc.times = _root.mainContent_mc.times + 20;
_root.mainContent_mc.score = _root.mainContent_mc.score + 300;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("plus200", "+200" + e, e, {_x:this._x, _y:this._y + 10});
e++;
attachMovie("tensecs", "+2012" + e, e, {_x:this._x, _y:this._y - 10});
_root.bricker4 = undefined;
_root.mainContent_mc.extra.gotoAndStop(1);
} else {
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("secured", "+3d" + e, e, {_x:this._x, _y:this._y});
_root.bricker4 = undefined;
}
} else if (this._alpha == 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 1;
e++;
attachMovie("minus1", "-1" + e, e, {_x:this._x, _y:this._y});
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score - 2;
e++;
attachMovie("minus2", "-2" + e, e, {_x:this._x, _y:this._y});
}
this.useHandCursor = false;
this._alpha = 0;
};
i++;
}
e = 10000;
randomBrick();
aeg = 450;
_root.interval = setInterval(uuenda2, 15);
uuenda2();
Symbol 645 MovieClip Frame 1
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 50;
var distance = 2.8;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 3.5;
var blurY = 3.5;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 5.5;
var blurY2 = 5.5;
var strength2 = 15;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
i++;
}
Symbol 645 MovieClip Frame 2
function uuenda6() {
_root.mainContent_mc.times = _root.mainContent_mc.times - 1;
if (_root.mainContent_mc.times < 15) {
_root.hunter_sound.stop("hunter");
var _local2 = new Sound();
_local2.attachSound("alarm");
_local2.start();
var _local4 = new Color(_root.mainContent_mc.clock);
_local4.setRGB(16711680);
}
if (_root.mainContent_mc.times < 5) {
_local2.stop("alarm");
var _local3 = new Sound();
_local3.attachSound("end");
_local3.start();
}
if (_root.mainContent_mc.times < 1) {
brickWinner.swapDepths(highest);
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
control.gotoAndPlay("kolmas");
}
}
function randomBrick() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 5) {
winner = random(201) + 1;
brickWinner = this["q" + winner];
_root.bricker = brickWinner;
if (((brickWinner == undefined) || (brickWinner._alpha == 0)) || (brickWinner == _root.stone)) {
randomBrick();
} else if (brickWinner._alpha == 0) {
randomBrick();
} else {
brickWinner.filters = new Array();
brickWinner.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
brickWinner.swapDepths(highest);
}
}
}
}
function uuenda() {
if (_root.mainContent_mc.times > 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 5;
e++;
removeMovieClip(brickWinner.orange_mc1);
removeMovieClip(brickWinner.light_mc1);
attachMovie("minus5", "-5" + e, e, {_x:brickWinner._x, _y:brickWinner._y});
brickWinner.filters = new Array(filter, filter2);
brickWinner.swapDepths(highest);
randomBrick();
}
}
function uuenda2() {
aeg = Number(aeg) - 1;
if (aeg < 1) {
if (_root.mainContent_mc.times > 0) {
_root.over = false;
randomBrick2();
aeg = 400;
}
}
}
function randomBrick2() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 10) {
winner2 = random(201) + 1;
brickWinner2 = this["q" + winner2];
_root.bricker2 = brickWinner2;
if ((brickWinner2 == undefined) || (brickWinner2._alpha == 0)) {
randomBrick2();
} else if (brickWinner2._alpha == 0) {
randomBrick2();
} else {
e++;
attachMovie("orange_teine", "bronze_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
}
}
}
}
function uuenda3() {
if (_root.mainContent_mc.times > 0) {
brickWinner2.filters = new Array(filter, filter2);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
_root.dd = true;
_root.bricker2 = undefined;
}
}
function blockbuster() {
if (_root.bucket > 0) {
winner3 = random(201) + 1;
brickWinner3 = this["q" + winner3];
_root.bricker3 = brickWinner3;
if ((brickWinner3 == undefined) || (brickWinner3._alpha == 0)) {
blockbuster();
} else if (brickWinner3._alpha == 0) {
blockbuster();
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:brickWinner3._x, _y:brickWinner3._y});
brickWinner3._alpha = 0;
_root.bucket = _root.bucket - 1;
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
}
}
}
function buster() {
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
if (_root.bucket <= 5) {
rage();
}
}
function randomBrick4() {
if (_root.bucket > 5) {
if (_root.mainContent_mc.times > 0) {
winner4 = random(201) + 1;
brickWinner4 = this["q" + winner4];
_root.bricker4 = brickWinner4;
if ((brickWinner4 == undefined) || (brickWinner4._alpha == 0)) {
randomBrick4();
} else if (brickWinner4._alpha == 0) {
randomBrick4();
} else {
e++;
attachMovie("orange2_teine", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
}
}
}
function uuenda5() {
if (_root.mainContent_mc.times > 0) {
brickWinner4.filters = new Array(filter, filter2);
removeMovieClip(orange_add);
_root.bricker4 = undefined;
}
}
function rage() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
_root.mood = "rage";
brick = this["q" + _local3];
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
brickWinner.swapDepths(highest);
_root.bricker = undefined;
brick.filters = new Array(filter4, filter, filter2);
_local3++;
}
aeg4 = 160;
_root.interval4 = setInterval(uuenda4, 15);
}
}
function restore() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
brick = this["q" + _local3];
brick.filters = new Array(filter, filter2);
_local3++;
}
}
}
function uuenda4() {
aeg4 = Number(aeg4) - 1;
if ((aeg4 < 1) && (_root.bucket > 5)) {
_root.mood = "notrage";
restore();
randomBrick();
clearInterval(_root.interval4);
}
}
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 50;
_root.bucket = 0;
_root.mood = "notrage";
_root.interval6 = setInterval(uuenda6, 1005);
_root.dd = true;
_root.over = false;
var distance = 2.8;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 3.5;
var blurY = 3.5;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 5.5;
var blurY2 = 5.5;
var strength2 = 15;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
var color3 = 16777215;
var alpha3 = 1;
var blurX3 = 60;
var blurY3 = 60;
var strength3 = 5;
var quality3 = 3;
var inner3 = true;
var knockout3 = false;
var filter3 = (new flash.filters.GlowFilter(color3, alpha3, blurX3, blurY3, strength3, quality3, inner3, knockout3));
var color4 = 10079232;
var alpha4 = 0.5;
var blurX4 = 60;
var blurY4 = 60;
var strength4 = 5;
var quality4 = 3;
var inner4 = true;
var knockout4 = false;
var filter4 = (new flash.filters.GlowFilter(color4, alpha4, blurX4, blurY4, strength4, quality4, inner4, knockout4));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
brick.onRollOver = function () {
this.filters = new Array(filter3, filter, filter2);
if (this == _root.bricker) {
this.filters = new Array();
removeMovieClip(this.orange_mc1);
this.attachMovie("light", "light_mc1", this.getNextHighestDepth());
} else if (this == _root.bricker4) {
e++;
this.filters = new Array();
removeMovieClip(orange_add);
attachMovie("light_teine", "light_mc1", e, {_x:brickWinner4._x, _y:brickWinner4._y});
} else if (this == _root.bricker2) {
if (_root.dd == true) {
e++;
this.filters = new Array();
removeMovieClip(bronze_mc1);
attachMovie("light_teine", "light_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
} else {
bronze_mc1.stop();
this.filters = new Array(filter3, filter, filter2);
}
}
};
brick.onRollOut = function () {
this.filters = new Array(filter, filter2);
if (this == _root.bricker) {
removeMovieClip(this.light_mc1);
this.filters = new Array();
this.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
} else if (_root.mood == "rage") {
this.filters = new Array(filter4, filter, filter2);
} else if (this == _root.bricker2) {
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
brick.filters = new Array(filter, filter2);
e++;
attachMovie("orange_teine", "bronze_mc1", e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker4) {
brick.filters = new Array();
e++;
removeMovieClip(light_mc1);
attachMovie("orange2_teine", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
};
brick.onPress = function () {
if (this._alpha == 100) {
_root.bucket = _root.bucket - 1;
}
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
if (_root.bucket == 5) {
rage();
brickWinner.swapDepths(highest);
}
if (this == _root.bricker) {
_root.stone = this;
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
this.swapDepths(highest);
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
randomBrick();
} else if ((_root.mood == "rage") && (this._alpha != 0)) {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker2) {
_root.mainContent_mc.times = _root.mainContent_mc.times + _root.times;
_root.mainContent_mc.score = _root.mainContent_mc.score + _root.fate;
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie(_root.fate_in_numbers, "+15" + e, e, {_x:this._x, _y:this._y});
_root.bricker2 = undefined;
} else if (this == _root.bricker4) {
if (_root.mainContent_mc.extra._currentframe > 20) {
_root.mainContent_mc.times = _root.mainContent_mc.times + 20;
_root.mainContent_mc.score = _root.mainContent_mc.score + 300;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("plus200", "+200" + e, e, {_x:this._x, _y:this._y + 10});
e++;
attachMovie("tensecs", "+2012" + e, e, {_x:this._x, _y:this._y - 10});
_root.bricker4 = undefined;
_root.mainContent_mc.extra.gotoAndStop(1);
} else {
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("secured", "+3d" + e, e, {_x:this._x, _y:this._y});
_root.bricker4 = undefined;
}
} else if (this._alpha == 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 1;
e++;
attachMovie("minus1", "-1" + e, e, {_x:this._x, _y:this._y});
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score - 2;
e++;
attachMovie("minus2", "-2" + e, e, {_x:this._x, _y:this._y});
}
this.useHandCursor = false;
this._alpha = 0;
};
i++;
}
e = 10000;
randomBrick();
aeg = 400;
_root.interval = setInterval(uuenda2, 15);
uuenda2();
Symbol 646 MovieClip Frame 1
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 45;
var distance = 2.8;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 3.5;
var blurY = 3.5;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 5.5;
var blurY2 = 5.5;
var strength2 = 15;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
i++;
}
Symbol 646 MovieClip Frame 2
function uuenda6() {
_root.mainContent_mc.times = _root.mainContent_mc.times - 1;
if (_root.mainContent_mc.times < 15) {
_root.hunter_sound.stop("hunter");
var _local2 = new Sound();
_local2.attachSound("alarm");
_local2.start();
var _local4 = new Color(_root.mainContent_mc.clock);
_local4.setRGB(16711680);
}
if (_root.mainContent_mc.times < 5) {
_local2.stop("alarm");
var _local3 = new Sound();
_local3.attachSound("end");
_local3.start();
}
if (_root.mainContent_mc.times < 1) {
brickWinner.swapDepths(highest);
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
control.gotoAndPlay("kolmas");
}
}
function randomBrick() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 5) {
winner = random(201) + 1;
brickWinner = this["q" + winner];
_root.bricker = brickWinner;
if (((brickWinner == undefined) || (brickWinner._alpha == 0)) || (brickWinner == _root.stone)) {
randomBrick();
} else if (brickWinner._alpha == 0) {
randomBrick();
} else {
brickWinner.filters = new Array();
brickWinner.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
brickWinner.swapDepths(highest);
}
}
}
}
function uuenda() {
if (_root.mainContent_mc.times > 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 5;
e++;
removeMovieClip(brickWinner.orange_mc1);
removeMovieClip(brickWinner.light_mc1);
attachMovie("minus5", "-5" + e, e, {_x:brickWinner._x, _y:brickWinner._y});
brickWinner.filters = new Array(filter, filter2);
brickWinner.swapDepths(highest);
randomBrick();
}
}
function uuenda2() {
aeg = Number(aeg) - 1;
if (aeg < 1) {
if (_root.mainContent_mc.times > 0) {
_root.over = false;
randomBrick2();
aeg = 375;
}
}
}
function randomBrick2() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 10) {
winner2 = random(201) + 1;
brickWinner2 = this["q" + winner2];
_root.bricker2 = brickWinner2;
if ((brickWinner2 == undefined) || (brickWinner2._alpha == 0)) {
randomBrick2();
} else if (brickWinner2._alpha == 0) {
randomBrick2();
} else {
e++;
attachMovie("orange_teine", "bronze_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
}
}
}
}
function uuenda3() {
if (_root.mainContent_mc.times > 0) {
brickWinner2.filters = new Array(filter, filter2);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
_root.dd = true;
_root.bricker2 = undefined;
}
}
function blockbuster() {
if (_root.bucket > 0) {
winner3 = random(201) + 1;
brickWinner3 = this["q" + winner3];
_root.bricker3 = brickWinner3;
if ((brickWinner3 == undefined) || (brickWinner3._alpha == 0)) {
blockbuster();
} else if (brickWinner3._alpha == 0) {
blockbuster();
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:brickWinner3._x, _y:brickWinner3._y});
brickWinner3._alpha = 0;
_root.bucket = _root.bucket - 1;
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
}
}
}
function buster() {
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
if (_root.bucket <= 5) {
rage();
}
}
function randomBrick4() {
if (_root.bucket > 5) {
if (_root.mainContent_mc.times > 0) {
winner4 = random(201) + 1;
brickWinner4 = this["q" + winner4];
_root.bricker4 = brickWinner4;
if ((brickWinner4 == undefined) || (brickWinner4._alpha == 0)) {
randomBrick4();
} else if (brickWinner4._alpha == 0) {
randomBrick4();
} else {
e++;
attachMovie("orange2_teine", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
}
}
}
function uuenda5() {
if (_root.mainContent_mc.times > 0) {
brickWinner4.filters = new Array(filter, filter2);
removeMovieClip(orange_add);
_root.bricker4 = undefined;
}
}
function rage() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
_root.mood = "rage";
brick = this["q" + _local3];
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
brickWinner.swapDepths(highest);
_root.bricker = undefined;
brick.filters = new Array(filter4, filter, filter2);
_local3++;
}
aeg4 = 160;
_root.interval4 = setInterval(uuenda4, 15);
}
}
function restore() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
brick = this["q" + _local3];
brick.filters = new Array(filter, filter2);
_local3++;
}
}
}
function uuenda4() {
aeg4 = Number(aeg4) - 1;
if ((aeg4 < 1) && (_root.bucket > 5)) {
_root.mood = "notrage";
restore();
randomBrick();
clearInterval(_root.interval4);
}
}
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 45;
_root.bucket = 0;
_root.mood = "notrage";
_root.interval6 = setInterval(uuenda6, 1005);
_root.dd = true;
_root.over = false;
var distance = 2.8;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 3.5;
var blurY = 3.5;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 5.5;
var blurY2 = 5.5;
var strength2 = 15;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
var color3 = 16777215;
var alpha3 = 1;
var blurX3 = 60;
var blurY3 = 60;
var strength3 = 5;
var quality3 = 3;
var inner3 = true;
var knockout3 = false;
var filter3 = (new flash.filters.GlowFilter(color3, alpha3, blurX3, blurY3, strength3, quality3, inner3, knockout3));
var color4 = 10079232;
var alpha4 = 0.5;
var blurX4 = 60;
var blurY4 = 60;
var strength4 = 5;
var quality4 = 3;
var inner4 = true;
var knockout4 = false;
var filter4 = (new flash.filters.GlowFilter(color4, alpha4, blurX4, blurY4, strength4, quality4, inner4, knockout4));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
brick.onRollOver = function () {
this.filters = new Array(filter3, filter, filter2);
if (this == _root.bricker) {
this.filters = new Array();
removeMovieClip(this.orange_mc1);
this.attachMovie("light", "light_mc1", this.getNextHighestDepth());
} else if (this == _root.bricker4) {
e++;
this.filters = new Array();
removeMovieClip(orange_add);
attachMovie("light_teine", "light_mc1", e, {_x:brickWinner4._x, _y:brickWinner4._y});
} else if (this == _root.bricker2) {
if (_root.dd == true) {
e++;
this.filters = new Array();
removeMovieClip(bronze_mc1);
attachMovie("light_teine", "light_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
} else {
bronze_mc1.stop();
this.filters = new Array(filter3, filter, filter2);
}
}
};
brick.onRollOut = function () {
this.filters = new Array(filter, filter2);
if (this == _root.bricker) {
removeMovieClip(this.light_mc1);
this.filters = new Array();
this.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
} else if (_root.mood == "rage") {
this.filters = new Array(filter4, filter, filter2);
} else if (this == _root.bricker2) {
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
brick.filters = new Array(filter, filter2);
e++;
attachMovie("orange_teine", "bronze_mc1", e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker4) {
brick.filters = new Array();
e++;
removeMovieClip(light_mc1);
attachMovie("orange2_teine", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
};
brick.onPress = function () {
if (this._alpha == 100) {
_root.bucket = _root.bucket - 1;
}
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
if (_root.bucket == 5) {
rage();
brickWinner.swapDepths(highest);
}
if (this == _root.bricker) {
_root.stone = this;
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
this.swapDepths(highest);
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
randomBrick();
} else if ((_root.mood == "rage") && (this._alpha != 0)) {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker2) {
_root.mainContent_mc.times = _root.mainContent_mc.times + _root.times;
_root.mainContent_mc.score = _root.mainContent_mc.score + _root.fate;
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie(_root.fate_in_numbers, "+15" + e, e, {_x:this._x, _y:this._y});
_root.bricker2 = undefined;
} else if (this == _root.bricker4) {
if (_root.mainContent_mc.extra._currentframe > 20) {
_root.mainContent_mc.times = _root.mainContent_mc.times + 20;
_root.mainContent_mc.score = _root.mainContent_mc.score + 300;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("plus200", "+200" + e, e, {_x:this._x, _y:this._y + 10});
e++;
attachMovie("tensecs", "+2012" + e, e, {_x:this._x, _y:this._y - 10});
_root.bricker4 = undefined;
_root.mainContent_mc.extra.gotoAndStop(1);
} else {
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("secured", "+3d" + e, e, {_x:this._x, _y:this._y});
_root.bricker4 = undefined;
}
} else if (this._alpha == 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 1;
e++;
attachMovie("minus1", "-1" + e, e, {_x:this._x, _y:this._y});
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score - 2;
e++;
attachMovie("minus2", "-2" + e, e, {_x:this._x, _y:this._y});
}
this.useHandCursor = false;
this._alpha = 0;
};
i++;
}
e = 10000;
randomBrick();
aeg = 375;
_root.interval = setInterval(uuenda2, 15);
uuenda2();
Symbol 647 MovieClip Frame 1
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 40;
var distance = 2.8;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 3.5;
var blurY = 3.5;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 5.5;
var blurY2 = 5.5;
var strength2 = 15;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
i++;
}
Symbol 647 MovieClip Frame 2
function uuenda6() {
_root.mainContent_mc.times = _root.mainContent_mc.times - 1;
if (_root.mainContent_mc.times < 15) {
_root.hunter_sound.stop("hunter");
var _local2 = new Sound();
_local2.attachSound("alarm");
_local2.start();
var _local4 = new Color(_root.mainContent_mc.clock);
_local4.setRGB(16711680);
}
if (_root.mainContent_mc.times < 5) {
_local2.stop("alarm");
var _local3 = new Sound();
_local3.attachSound("end");
_local3.start();
}
if (_root.mainContent_mc.times < 1) {
brickWinner.swapDepths(highest);
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
control.gotoAndPlay("kolmas");
}
}
function randomBrick() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 5) {
winner = random(201) + 1;
brickWinner = this["q" + winner];
_root.bricker = brickWinner;
if (((brickWinner == undefined) || (brickWinner._alpha == 0)) || (brickWinner == _root.stone)) {
randomBrick();
} else if (brickWinner._alpha == 0) {
randomBrick();
} else {
brickWinner.filters = new Array();
brickWinner.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
brickWinner.swapDepths(highest);
}
}
}
}
function uuenda() {
if (_root.mainContent_mc.times > 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 5;
e++;
removeMovieClip(brickWinner.orange_mc1);
removeMovieClip(brickWinner.light_mc1);
attachMovie("minus5", "-5" + e, e, {_x:brickWinner._x, _y:brickWinner._y});
brickWinner.filters = new Array(filter, filter2);
brickWinner.swapDepths(highest);
randomBrick();
}
}
function uuenda2() {
aeg = Number(aeg) - 1;
if (aeg < 1) {
if (_root.mainContent_mc.times > 0) {
_root.over = false;
randomBrick2();
aeg = 350;
}
}
}
function randomBrick2() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 10) {
winner2 = random(201) + 1;
brickWinner2 = this["q" + winner2];
_root.bricker2 = brickWinner2;
if ((brickWinner2 == undefined) || (brickWinner2._alpha == 0)) {
randomBrick2();
} else if (brickWinner2._alpha == 0) {
randomBrick2();
} else {
e++;
attachMovie("orange_teine", "bronze_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
}
}
}
}
function uuenda3() {
if (_root.mainContent_mc.times > 0) {
brickWinner2.filters = new Array(filter, filter2);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
_root.dd = true;
_root.bricker2 = undefined;
}
}
function blockbuster() {
if (_root.bucket > 0) {
winner3 = random(201) + 1;
brickWinner3 = this["q" + winner3];
_root.bricker3 = brickWinner3;
if ((brickWinner3 == undefined) || (brickWinner3._alpha == 0)) {
blockbuster();
} else if (brickWinner3._alpha == 0) {
blockbuster();
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:brickWinner3._x, _y:brickWinner3._y});
brickWinner3._alpha = 0;
_root.bucket = _root.bucket - 1;
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
}
}
}
function buster() {
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
if (_root.bucket <= 5) {
rage();
}
}
function randomBrick4() {
if (_root.bucket > 5) {
if (_root.mainContent_mc.times > 0) {
winner4 = random(201) + 1;
brickWinner4 = this["q" + winner4];
_root.bricker4 = brickWinner4;
if ((brickWinner4 == undefined) || (brickWinner4._alpha == 0)) {
randomBrick4();
} else if (brickWinner4._alpha == 0) {
randomBrick4();
} else {
e++;
attachMovie("orange2_teine", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
}
}
}
function uuenda5() {
if (_root.mainContent_mc.times > 0) {
brickWinner4.filters = new Array(filter, filter2);
removeMovieClip(orange_add);
_root.bricker4 = undefined;
}
}
function rage() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
_root.mood = "rage";
brick = this["q" + _local3];
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
brickWinner.swapDepths(highest);
_root.bricker = undefined;
brick.filters = new Array(filter4, filter, filter2);
_local3++;
}
aeg4 = 160;
_root.interval4 = setInterval(uuenda4, 15);
}
}
function restore() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
brick = this["q" + _local3];
brick.filters = new Array(filter, filter2);
_local3++;
}
}
}
function uuenda4() {
aeg4 = Number(aeg4) - 1;
if ((aeg4 < 1) && (_root.bucket > 5)) {
_root.mood = "notrage";
restore();
randomBrick();
clearInterval(_root.interval4);
}
}
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 40;
_root.bucket = 0;
_root.mood = "notrage";
_root.interval6 = setInterval(uuenda6, 1005);
_root.dd = true;
_root.over = false;
var distance = 2.8;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 3.5;
var blurY = 3.5;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 5.5;
var blurY2 = 5.5;
var strength2 = 15;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
var color3 = 16777215;
var alpha3 = 1;
var blurX3 = 60;
var blurY3 = 60;
var strength3 = 5;
var quality3 = 3;
var inner3 = true;
var knockout3 = false;
var filter3 = (new flash.filters.GlowFilter(color3, alpha3, blurX3, blurY3, strength3, quality3, inner3, knockout3));
var color4 = 10079232;
var alpha4 = 0.5;
var blurX4 = 60;
var blurY4 = 60;
var strength4 = 5;
var quality4 = 3;
var inner4 = true;
var knockout4 = false;
var filter4 = (new flash.filters.GlowFilter(color4, alpha4, blurX4, blurY4, strength4, quality4, inner4, knockout4));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
brick.onRollOver = function () {
this.filters = new Array(filter3, filter, filter2);
if (this == _root.bricker) {
this.filters = new Array();
removeMovieClip(this.orange_mc1);
this.attachMovie("light", "light_mc1", this.getNextHighestDepth());
} else if (this == _root.bricker4) {
e++;
this.filters = new Array();
removeMovieClip(orange_add);
attachMovie("light_teine", "light_mc1", e, {_x:brickWinner4._x, _y:brickWinner4._y});
} else if (this == _root.bricker2) {
if (_root.dd == true) {
e++;
this.filters = new Array();
removeMovieClip(bronze_mc1);
attachMovie("light_teine", "light_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
} else {
bronze_mc1.stop();
this.filters = new Array(filter3, filter, filter2);
}
}
};
brick.onRollOut = function () {
this.filters = new Array(filter, filter2);
if (this == _root.bricker) {
removeMovieClip(this.light_mc1);
this.filters = new Array();
this.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
} else if (_root.mood == "rage") {
this.filters = new Array(filter4, filter, filter2);
} else if (this == _root.bricker2) {
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
brick.filters = new Array(filter, filter2);
e++;
attachMovie("orange_teine", "bronze_mc1", e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker4) {
brick.filters = new Array();
e++;
removeMovieClip(light_mc1);
attachMovie("orange2_teine", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
};
brick.onPress = function () {
if (this._alpha == 100) {
_root.bucket = _root.bucket - 1;
}
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
if (_root.bucket == 5) {
rage();
brickWinner.swapDepths(highest);
}
if (this == _root.bricker) {
_root.stone = this;
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
this.swapDepths(highest);
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
randomBrick();
} else if ((_root.mood == "rage") && (this._alpha != 0)) {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker2) {
_root.mainContent_mc.times = _root.mainContent_mc.times + _root.times;
_root.mainContent_mc.score = _root.mainContent_mc.score + _root.fate;
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie(_root.fate_in_numbers, "+15" + e, e, {_x:this._x, _y:this._y});
_root.bricker2 = undefined;
} else if (this == _root.bricker4) {
if (_root.mainContent_mc.extra._currentframe > 20) {
_root.mainContent_mc.times = _root.mainContent_mc.times + 20;
_root.mainContent_mc.score = _root.mainContent_mc.score + 300;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("plus200", "+200" + e, e, {_x:this._x, _y:this._y + 10});
e++;
attachMovie("tensecs", "+2012" + e, e, {_x:this._x, _y:this._y - 10});
_root.bricker4 = undefined;
_root.mainContent_mc.extra.gotoAndStop(1);
} else {
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("secured", "+3d" + e, e, {_x:this._x, _y:this._y});
_root.bricker4 = undefined;
}
} else if (this._alpha == 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 1;
e++;
attachMovie("minus1", "-1" + e, e, {_x:this._x, _y:this._y});
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score - 2;
e++;
attachMovie("minus2", "-2" + e, e, {_x:this._x, _y:this._y});
}
this.useHandCursor = false;
this._alpha = 0;
};
i++;
}
e = 10000;
randomBrick();
aeg = 350;
_root.interval = setInterval(uuenda2, 15);
uuenda2();
Instance of Symbol 189 MovieClip in Symbol 648 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x + 0.5;
if (this._x >= (Stage.width / 2)) {
this._x = ((-Stage.width) / 2) - this._width;
}
}
Instance of Symbol 189 MovieClip in Symbol 648 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x + 0.4;
if (this._x >= (Stage.width / 2)) {
this._x = ((-Stage.width) / 2) - this._width;
}
}
Instance of Symbol 191 MovieClip in Symbol 648 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x + 0.8;
if (this._x >= (Stage.width / 2)) {
this._x = ((-Stage.width) / 2) - this._width;
}
}
Instance of Symbol 193 MovieClip in Symbol 648 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x + 1;
if (this._x >= (Stage.width / 2)) {
this._x = ((-Stage.width) / 2) - this._width;
}
}
Instance of Symbol 193 MovieClip in Symbol 648 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x + 1.1;
if (this._x >= (pilved2._y + pilved2._width)) {
this._x = pilved2._y - pilved2._width;
}
}
Instance of Symbol 195 MovieClip in Symbol 648 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x + 1.3;
if (this._x >= (Stage.width / 2)) {
this._x = ((-Stage.width) / 2) - this._width;
}
}
Instance of Symbol 195 MovieClip in Symbol 648 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x + 1.2;
if (this._x >= (Stage.width / 2)) {
this._x = ((-Stage.width) / 2) - this._width;
}
}
Symbol 703 MovieClip Frame 1
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 65;
var distance = 2.4;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 3;
var blurY = 3;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 5;
var blurY2 = 5;
var strength2 = 14;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
i++;
}
Symbol 703 MovieClip Frame 2
function uuenda6() {
_root.mainContent_mc.times = _root.mainContent_mc.times - 1;
if (_root.mainContent_mc.times < 15) {
_root.hunter_sound.stop("hunter");
var _local2 = new Sound();
_local2.attachSound("alarm");
_local2.start();
var _local4 = new Color(_root.mainContent_mc.clock);
_local4.setRGB(16711680);
}
if (_root.mainContent_mc.times < 5) {
_local2.stop("alarm");
var _local3 = new Sound();
_local3.attachSound("end");
_local3.start();
}
if (_root.mainContent_mc.times < 1) {
brickWinner.swapDepths(highest);
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
control.gotoAndPlay("kolmas");
}
}
function randomBrick() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 5) {
winner = random(201) + 1;
brickWinner = this["q" + winner];
_root.bricker = brickWinner;
if (((brickWinner == undefined) || (brickWinner._alpha == 0)) || (brickWinner == _root.stone)) {
randomBrick();
} else if (brickWinner._alpha == 0) {
randomBrick();
} else {
brickWinner.filters = new Array();
brickWinner.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
brickWinner.swapDepths(highest);
}
}
}
}
function uuenda() {
if (_root.mainContent_mc.times > 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 5;
e++;
removeMovieClip(brickWinner.orange_mc1);
removeMovieClip(brickWinner.light_mc1);
attachMovie("minus5", "-5" + e, e, {_x:brickWinner._x, _y:brickWinner._y});
brickWinner.filters = new Array(filter, filter2);
brickWinner.swapDepths(highest);
randomBrick();
}
}
function uuenda2() {
aeg = Number(aeg) - 1;
if (aeg < 1) {
if (_root.mainContent_mc.times > 0) {
_root.over = false;
randomBrick2();
aeg = 300;
}
}
}
function randomBrick2() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 10) {
winner2 = random(201) + 1;
brickWinner2 = this["q" + winner2];
_root.bricker2 = brickWinner2;
if ((brickWinner2 == undefined) || (brickWinner2._alpha == 0)) {
randomBrick2();
} else if (brickWinner2._alpha == 0) {
randomBrick2();
} else {
e++;
attachMovie("orange_kolmas", "bronze_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
}
}
}
}
function uuenda3() {
if (_root.mainContent_mc.times > 0) {
brickWinner2.filters = new Array(filter, filter2);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
_root.dd = true;
_root.bricker2 = undefined;
}
}
function blockbuster() {
if (_root.bucket > 0) {
winner3 = random(201) + 1;
brickWinner3 = this["q" + winner3];
_root.bricker3 = brickWinner3;
if ((brickWinner3 == undefined) || (brickWinner3._alpha == 0)) {
blockbuster();
} else if (brickWinner3._alpha == 0) {
blockbuster();
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:brickWinner3._x, _y:brickWinner3._y});
brickWinner3._alpha = 0;
_root.bucket = _root.bucket - 1;
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
}
}
}
function buster() {
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
if (_root.bucket <= 5) {
rage();
}
}
function randomBrick4() {
if (_root.bucket > 5) {
if (_root.mainContent_mc.times > 0) {
winner4 = random(201) + 1;
brickWinner4 = this["q" + winner4];
_root.bricker4 = brickWinner4;
if ((brickWinner4 == undefined) || (brickWinner4._alpha == 0)) {
randomBrick4();
} else if (brickWinner4._alpha == 0) {
randomBrick4();
} else {
e++;
attachMovie("orange2_kolmas", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
}
}
}
function uuenda5() {
if (_root.mainContent_mc.times > 0) {
brickWinner4.filters = new Array(filter, filter2);
removeMovieClip(orange_add);
_root.bricker4 = undefined;
}
}
function rage() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
_root.mood = "rage";
brick = this["q" + _local3];
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
brickWinner.swapDepths(highest);
_root.bricker = undefined;
brick.filters = new Array(filter4, filter, filter2);
_local3++;
}
aeg4 = 160;
_root.interval4 = setInterval(uuenda4, 15);
}
}
function restore() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
brick = this["q" + _local3];
brick.filters = new Array(filter, filter2);
_local3++;
}
}
}
function uuenda4() {
aeg4 = Number(aeg4) - 1;
if ((aeg4 < 1) && (_root.bucket > 5)) {
_root.mood = "notrage";
restore();
randomBrick();
clearInterval(_root.interval4);
}
}
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 65;
_root.bucket = 0;
_root.mood = "notrage";
_root.interval6 = setInterval(uuenda6, 1005);
_root.dd = true;
_root.over = false;
var distance = 2.4;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 3;
var blurY = 3;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 5;
var blurY2 = 5;
var strength2 = 14;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
var color3 = 16777215;
var alpha3 = 1;
var blurX3 = 60;
var blurY3 = 60;
var strength3 = 5;
var quality3 = 3;
var inner3 = true;
var knockout3 = false;
var filter3 = (new flash.filters.GlowFilter(color3, alpha3, blurX3, blurY3, strength3, quality3, inner3, knockout3));
var color4 = 10079232;
var alpha4 = 0.5;
var blurX4 = 60;
var blurY4 = 60;
var strength4 = 5;
var quality4 = 3;
var inner4 = true;
var knockout4 = false;
var filter4 = (new flash.filters.GlowFilter(color4, alpha4, blurX4, blurY4, strength4, quality4, inner4, knockout4));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
brick.onRollOver = function () {
this.filters = new Array(filter3, filter, filter2);
if (this == _root.bricker) {
this.filters = new Array();
removeMovieClip(this.orange_mc1);
this.attachMovie("light", "light_mc1", this.getNextHighestDepth());
} else if (this == _root.bricker4) {
e++;
this.filters = new Array();
removeMovieClip(orange_add);
attachMovie("light_kolmas", "light_mc1", e, {_x:brickWinner4._x, _y:brickWinner4._y});
} else if (this == _root.bricker2) {
if (_root.dd == true) {
e++;
this.filters = new Array();
removeMovieClip(bronze_mc1);
attachMovie("light_kolmas", "light_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
} else {
bronze_mc1.stop();
this.filters = new Array(filter3, filter, filter2);
}
}
};
brick.onRollOut = function () {
this.filters = new Array(filter, filter2);
if (this == _root.bricker) {
removeMovieClip(this.light_mc1);
this.filters = new Array();
this.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
} else if (_root.mood == "rage") {
this.filters = new Array(filter4, filter, filter2);
} else if (this == _root.bricker2) {
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
brick.filters = new Array(filter, filter2);
e++;
attachMovie("orange_kolmas", "bronze_mc1", e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker4) {
brick.filters = new Array();
e++;
removeMovieClip(light_mc1);
attachMovie("orange2_kolmas", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
};
brick.onPress = function () {
if (this._alpha == 100) {
_root.bucket = _root.bucket - 1;
}
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
if (_root.bucket == 5) {
rage();
brickWinner.swapDepths(highest);
}
if (this == _root.bricker) {
_root.stone = this;
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
this.swapDepths(highest);
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
randomBrick();
} else if ((_root.mood == "rage") && (this._alpha != 0)) {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker2) {
_root.mainContent_mc.times = _root.mainContent_mc.times + _root.times;
_root.mainContent_mc.score = _root.mainContent_mc.score + _root.fate;
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie(_root.fate_in_numbers, "+15" + e, e, {_x:this._x, _y:this._y});
_root.bricker2 = undefined;
} else if (this == _root.bricker4) {
if (_root.mainContent_mc.extra._currentframe > 20) {
_root.mainContent_mc.times = _root.mainContent_mc.times + 20;
_root.mainContent_mc.score = _root.mainContent_mc.score + 300;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("plus200", "+200" + e, e, {_x:this._x, _y:this._y + 10});
e++;
attachMovie("tensecs", "+2012" + e, e, {_x:this._x, _y:this._y - 10});
_root.bricker4 = undefined;
_root.mainContent_mc.extra.gotoAndStop(1);
} else {
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("secured", "+3d" + e, e, {_x:this._x, _y:this._y});
_root.bricker4 = undefined;
}
} else if (this._alpha == 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 1;
e++;
attachMovie("minus1", "-1" + e, e, {_x:this._x, _y:this._y});
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score - 2;
e++;
attachMovie("minus2", "-2" + e, e, {_x:this._x, _y:this._y});
}
this.useHandCursor = false;
this._alpha = 0;
};
i++;
}
e = 10000;
randomBrick();
aeg = 300;
_root.interval = setInterval(uuenda2, 15);
uuenda2();
Symbol 704 MovieClip Frame 1
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 60;
var distance = 2.4;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 3;
var blurY = 3;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 5;
var blurY2 = 5;
var strength2 = 14;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
i++;
}
Symbol 704 MovieClip Frame 2
function uuenda6() {
_root.mainContent_mc.times = _root.mainContent_mc.times - 1;
if (_root.mainContent_mc.times < 15) {
_root.hunter_sound.stop("hunter");
var _local2 = new Sound();
_local2.attachSound("alarm");
_local2.start();
var _local4 = new Color(_root.mainContent_mc.clock);
_local4.setRGB(16711680);
}
if (_root.mainContent_mc.times < 5) {
_local2.stop("alarm");
var _local3 = new Sound();
_local3.attachSound("end");
_local3.start();
}
if (_root.mainContent_mc.times < 1) {
brickWinner.swapDepths(highest);
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
control.gotoAndPlay("kolmas");
}
}
function randomBrick() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 5) {
winner = random(201) + 1;
brickWinner = this["q" + winner];
_root.bricker = brickWinner;
if (((brickWinner == undefined) || (brickWinner._alpha == 0)) || (brickWinner == _root.stone)) {
randomBrick();
} else if (brickWinner._alpha == 0) {
randomBrick();
} else {
brickWinner.filters = new Array();
brickWinner.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
brickWinner.swapDepths(highest);
}
}
}
}
function uuenda() {
if (_root.mainContent_mc.times > 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 5;
e++;
removeMovieClip(brickWinner.orange_mc1);
removeMovieClip(brickWinner.light_mc1);
attachMovie("minus5", "-5" + e, e, {_x:brickWinner._x, _y:brickWinner._y});
brickWinner.filters = new Array(filter, filter2);
brickWinner.swapDepths(highest);
randomBrick();
}
}
function uuenda2() {
aeg = Number(aeg) - 1;
if (aeg < 1) {
if (_root.mainContent_mc.times > 0) {
_root.over = false;
randomBrick2();
aeg = 275;
}
}
}
function randomBrick2() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 10) {
winner2 = random(201) + 1;
brickWinner2 = this["q" + winner2];
_root.bricker2 = brickWinner2;
if ((brickWinner2 == undefined) || (brickWinner2._alpha == 0)) {
randomBrick2();
} else if (brickWinner2._alpha == 0) {
randomBrick2();
} else {
e++;
attachMovie("orange_kolmas", "bronze_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
}
}
}
}
function uuenda3() {
if (_root.mainContent_mc.times > 0) {
brickWinner2.filters = new Array(filter, filter2);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
_root.dd = true;
_root.bricker2 = undefined;
}
}
function blockbuster() {
if (_root.bucket > 0) {
winner3 = random(201) + 1;
brickWinner3 = this["q" + winner3];
_root.bricker3 = brickWinner3;
if ((brickWinner3 == undefined) || (brickWinner3._alpha == 0)) {
blockbuster();
} else if (brickWinner3._alpha == 0) {
blockbuster();
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:brickWinner3._x, _y:brickWinner3._y});
brickWinner3._alpha = 0;
_root.bucket = _root.bucket - 1;
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
}
}
}
function buster() {
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
if (_root.bucket <= 5) {
rage();
}
}
function randomBrick4() {
if (_root.bucket > 5) {
if (_root.mainContent_mc.times > 0) {
winner4 = random(201) + 1;
brickWinner4 = this["q" + winner4];
_root.bricker4 = brickWinner4;
if ((brickWinner4 == undefined) || (brickWinner4._alpha == 0)) {
randomBrick4();
} else if (brickWinner4._alpha == 0) {
randomBrick4();
} else {
e++;
attachMovie("orange2_kolmas", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
}
}
}
function uuenda5() {
if (_root.mainContent_mc.times > 0) {
brickWinner4.filters = new Array(filter, filter2);
removeMovieClip(orange_add);
_root.bricker4 = undefined;
}
}
function rage() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
_root.mood = "rage";
brick = this["q" + _local3];
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
brickWinner.swapDepths(highest);
_root.bricker = undefined;
brick.filters = new Array(filter4, filter, filter2);
_local3++;
}
aeg4 = 160;
_root.interval4 = setInterval(uuenda4, 15);
}
}
function restore() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
brick = this["q" + _local3];
brick.filters = new Array(filter, filter2);
_local3++;
}
}
}
function uuenda4() {
aeg4 = Number(aeg4) - 1;
if ((aeg4 < 1) && (_root.bucket > 5)) {
_root.mood = "notrage";
restore();
randomBrick();
clearInterval(_root.interval4);
}
}
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 60;
_root.bucket = 0;
_root.mood = "notrage";
_root.interval6 = setInterval(uuenda6, 1005);
_root.dd = true;
_root.over = false;
var distance = 2.4;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 3;
var blurY = 3;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 5;
var blurY2 = 5;
var strength2 = 14;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
var color3 = 16777215;
var alpha3 = 1;
var blurX3 = 60;
var blurY3 = 60;
var strength3 = 5;
var quality3 = 3;
var inner3 = true;
var knockout3 = false;
var filter3 = (new flash.filters.GlowFilter(color3, alpha3, blurX3, blurY3, strength3, quality3, inner3, knockout3));
var color4 = 10079232;
var alpha4 = 0.5;
var blurX4 = 60;
var blurY4 = 60;
var strength4 = 5;
var quality4 = 3;
var inner4 = true;
var knockout4 = false;
var filter4 = (new flash.filters.GlowFilter(color4, alpha4, blurX4, blurY4, strength4, quality4, inner4, knockout4));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
brick.onRollOver = function () {
this.filters = new Array(filter3, filter, filter2);
if (this == _root.bricker) {
this.filters = new Array();
removeMovieClip(this.orange_mc1);
this.attachMovie("light", "light_mc1", this.getNextHighestDepth());
} else if (this == _root.bricker4) {
e++;
this.filters = new Array();
removeMovieClip(orange_add);
attachMovie("light_kolmas", "light_mc1", e, {_x:brickWinner4._x, _y:brickWinner4._y});
} else if (this == _root.bricker2) {
if (_root.dd == true) {
e++;
this.filters = new Array();
removeMovieClip(bronze_mc1);
attachMovie("light_kolmas", "light_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
} else {
bronze_mc1.stop();
this.filters = new Array(filter3, filter, filter2);
}
}
};
brick.onRollOut = function () {
this.filters = new Array(filter, filter2);
if (this == _root.bricker) {
removeMovieClip(this.light_mc1);
this.filters = new Array();
this.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
} else if (_root.mood == "rage") {
this.filters = new Array(filter4, filter, filter2);
} else if (this == _root.bricker2) {
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
brick.filters = new Array(filter, filter2);
e++;
attachMovie("orange_kolmas", "bronze_mc1", e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker4) {
brick.filters = new Array();
e++;
removeMovieClip(light_mc1);
attachMovie("orange2_kolmas", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
};
brick.onPress = function () {
if (this._alpha == 100) {
_root.bucket = _root.bucket - 1;
}
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
if (_root.bucket == 5) {
rage();
brickWinner.swapDepths(highest);
}
if (this == _root.bricker) {
_root.stone = this;
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
this.swapDepths(highest);
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
randomBrick();
} else if ((_root.mood == "rage") && (this._alpha != 0)) {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker2) {
_root.mainContent_mc.times = _root.mainContent_mc.times + _root.times;
_root.mainContent_mc.score = _root.mainContent_mc.score + _root.fate;
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie(_root.fate_in_numbers, "+15" + e, e, {_x:this._x, _y:this._y});
_root.bricker2 = undefined;
} else if (this == _root.bricker4) {
if (_root.mainContent_mc.extra._currentframe > 20) {
_root.mainContent_mc.times = _root.mainContent_mc.times + 20;
_root.mainContent_mc.score = _root.mainContent_mc.score + 300;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("plus200", "+200" + e, e, {_x:this._x, _y:this._y + 10});
e++;
attachMovie("tensecs", "+2012" + e, e, {_x:this._x, _y:this._y - 10});
_root.bricker4 = undefined;
_root.mainContent_mc.extra.gotoAndStop(1);
} else {
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("secured", "+3d" + e, e, {_x:this._x, _y:this._y});
_root.bricker4 = undefined;
}
} else if (this._alpha == 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 1;
e++;
attachMovie("minus1", "-1" + e, e, {_x:this._x, _y:this._y});
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score - 2;
e++;
attachMovie("minus2", "-2" + e, e, {_x:this._x, _y:this._y});
}
this.useHandCursor = false;
this._alpha = 0;
};
i++;
}
e = 10000;
randomBrick();
aeg = 275;
_root.interval = setInterval(uuenda2, 15);
uuenda2();
Symbol 705 MovieClip Frame 1
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 55;
var distance = 2.4;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 3;
var blurY = 3;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 5;
var blurY2 = 5;
var strength2 = 14;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
i++;
}
Symbol 705 MovieClip Frame 2
function uuenda6() {
_root.mainContent_mc.times = _root.mainContent_mc.times - 1;
if (_root.mainContent_mc.times < 15) {
_root.hunter_sound.stop("hunter");
var _local2 = new Sound();
_local2.attachSound("alarm");
_local2.start();
var _local4 = new Color(_root.mainContent_mc.clock);
_local4.setRGB(16711680);
}
if (_root.mainContent_mc.times < 5) {
_local2.stop("alarm");
var _local3 = new Sound();
_local3.attachSound("end");
_local3.start();
}
if (_root.mainContent_mc.times < 1) {
brickWinner.swapDepths(highest);
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
control.gotoAndPlay("kolmas");
}
}
function randomBrick() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 5) {
winner = random(201) + 1;
brickWinner = this["q" + winner];
_root.bricker = brickWinner;
if (((brickWinner == undefined) || (brickWinner._alpha == 0)) || (brickWinner == _root.stone)) {
randomBrick();
} else if (brickWinner._alpha == 0) {
randomBrick();
} else {
brickWinner.filters = new Array();
brickWinner.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
brickWinner.swapDepths(highest);
}
}
}
}
function uuenda() {
if (_root.mainContent_mc.times > 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 5;
e++;
removeMovieClip(brickWinner.orange_mc1);
removeMovieClip(brickWinner.light_mc1);
attachMovie("minus5", "-5" + e, e, {_x:brickWinner._x, _y:brickWinner._y});
brickWinner.filters = new Array(filter, filter2);
brickWinner.swapDepths(highest);
randomBrick();
}
}
function uuenda2() {
aeg = Number(aeg) - 1;
if (aeg < 1) {
if (_root.mainContent_mc.times > 0) {
_root.over = false;
randomBrick2();
aeg = 250;
}
}
}
function randomBrick2() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 10) {
winner2 = random(201) + 1;
brickWinner2 = this["q" + winner2];
_root.bricker2 = brickWinner2;
if ((brickWinner2 == undefined) || (brickWinner2._alpha == 0)) {
randomBrick2();
} else if (brickWinner2._alpha == 0) {
randomBrick2();
} else {
e++;
attachMovie("orange_kolmas", "bronze_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
}
}
}
}
function uuenda3() {
if (_root.mainContent_mc.times > 0) {
brickWinner2.filters = new Array(filter, filter2);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
_root.dd = true;
_root.bricker2 = undefined;
}
}
function blockbuster() {
if (_root.bucket > 0) {
winner3 = random(201) + 1;
brickWinner3 = this["q" + winner3];
_root.bricker3 = brickWinner3;
if ((brickWinner3 == undefined) || (brickWinner3._alpha == 0)) {
blockbuster();
} else if (brickWinner3._alpha == 0) {
blockbuster();
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:brickWinner3._x, _y:brickWinner3._y});
brickWinner3._alpha = 0;
_root.bucket = _root.bucket - 1;
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
}
}
}
function buster() {
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
if (_root.bucket <= 5) {
rage();
}
}
function randomBrick4() {
if (_root.bucket > 5) {
if (_root.mainContent_mc.times > 0) {
winner4 = random(201) + 1;
brickWinner4 = this["q" + winner4];
_root.bricker4 = brickWinner4;
if ((brickWinner4 == undefined) || (brickWinner4._alpha == 0)) {
randomBrick4();
} else if (brickWinner4._alpha == 0) {
randomBrick4();
} else {
e++;
attachMovie("orange2_kolmas", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
}
}
}
function uuenda5() {
if (_root.mainContent_mc.times > 0) {
brickWinner4.filters = new Array(filter, filter2);
removeMovieClip(orange_add);
_root.bricker4 = undefined;
}
}
function rage() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
_root.mood = "rage";
brick = this["q" + _local3];
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
brickWinner.swapDepths(highest);
_root.bricker = undefined;
brick.filters = new Array(filter4, filter, filter2);
_local3++;
}
aeg4 = 160;
_root.interval4 = setInterval(uuenda4, 15);
}
}
function restore() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
brick = this["q" + _local3];
brick.filters = new Array(filter, filter2);
_local3++;
}
}
}
function uuenda4() {
aeg4 = Number(aeg4) - 1;
if ((aeg4 < 1) && (_root.bucket > 5)) {
_root.mood = "notrage";
restore();
randomBrick();
clearInterval(_root.interval4);
}
}
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 55;
_root.bucket = 0;
_root.mood = "notrage";
_root.interval6 = setInterval(uuenda6, 1005);
_root.dd = true;
_root.over = false;
var distance = 2.4;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 3;
var blurY = 3;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 5;
var blurY2 = 5;
var strength2 = 14;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
var color3 = 16777215;
var alpha3 = 1;
var blurX3 = 60;
var blurY3 = 60;
var strength3 = 5;
var quality3 = 3;
var inner3 = true;
var knockout3 = false;
var filter3 = (new flash.filters.GlowFilter(color3, alpha3, blurX3, blurY3, strength3, quality3, inner3, knockout3));
var color4 = 10079232;
var alpha4 = 0.5;
var blurX4 = 60;
var blurY4 = 60;
var strength4 = 5;
var quality4 = 3;
var inner4 = true;
var knockout4 = false;
var filter4 = (new flash.filters.GlowFilter(color4, alpha4, blurX4, blurY4, strength4, quality4, inner4, knockout4));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
brick.onRollOver = function () {
this.filters = new Array(filter3, filter, filter2);
if (this == _root.bricker) {
this.filters = new Array();
removeMovieClip(this.orange_mc1);
this.attachMovie("light", "light_mc1", this.getNextHighestDepth());
} else if (this == _root.bricker4) {
e++;
this.filters = new Array();
removeMovieClip(orange_add);
attachMovie("light_kolmas", "light_mc1", e, {_x:brickWinner4._x, _y:brickWinner4._y});
} else if (this == _root.bricker2) {
if (_root.dd == true) {
e++;
this.filters = new Array();
removeMovieClip(bronze_mc1);
attachMovie("light_kolmas", "light_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
} else {
bronze_mc1.stop();
this.filters = new Array(filter3, filter, filter2);
}
}
};
brick.onRollOut = function () {
this.filters = new Array(filter, filter2);
if (this == _root.bricker) {
removeMovieClip(this.light_mc1);
this.filters = new Array();
this.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
} else if (_root.mood == "rage") {
this.filters = new Array(filter4, filter, filter2);
} else if (this == _root.bricker2) {
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
brick.filters = new Array(filter, filter2);
e++;
attachMovie("orange_kolmas", "bronze_mc1", e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker4) {
brick.filters = new Array();
e++;
removeMovieClip(light_mc1);
attachMovie("orange2_kolmas", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
};
brick.onPress = function () {
if (this._alpha == 100) {
_root.bucket = _root.bucket - 1;
}
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
if (_root.bucket == 5) {
rage();
brickWinner.swapDepths(highest);
}
if (this == _root.bricker) {
_root.stone = this;
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
this.swapDepths(highest);
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
randomBrick();
} else if ((_root.mood == "rage") && (this._alpha != 0)) {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker2) {
_root.mainContent_mc.times = _root.mainContent_mc.times + _root.times;
_root.mainContent_mc.score = _root.mainContent_mc.score + _root.fate;
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie(_root.fate_in_numbers, "+15" + e, e, {_x:this._x, _y:this._y});
_root.bricker2 = undefined;
} else if (this == _root.bricker4) {
if (_root.mainContent_mc.extra._currentframe > 20) {
_root.mainContent_mc.times = _root.mainContent_mc.times + 20;
_root.mainContent_mc.score = _root.mainContent_mc.score + 300;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("plus200", "+200" + e, e, {_x:this._x, _y:this._y + 10});
e++;
attachMovie("tensecs", "+2012" + e, e, {_x:this._x, _y:this._y - 10});
_root.bricker4 = undefined;
_root.mainContent_mc.extra.gotoAndStop(1);
} else {
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("secured", "+3d" + e, e, {_x:this._x, _y:this._y});
_root.bricker4 = undefined;
}
} else if (this._alpha == 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 1;
e++;
attachMovie("minus1", "-1" + e, e, {_x:this._x, _y:this._y});
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score - 2;
e++;
attachMovie("minus2", "-2" + e, e, {_x:this._x, _y:this._y});
}
this.useHandCursor = false;
this._alpha = 0;
};
i++;
}
e = 10000;
randomBrick();
aeg = 250;
_root.interval = setInterval(uuenda2, 15);
uuenda2();
Symbol 706 MovieClip Frame 1
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 50;
var distance = 2.4;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 3;
var blurY = 3;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 5;
var blurY2 = 5;
var strength2 = 14;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
i++;
}
Symbol 706 MovieClip Frame 2
function uuenda6() {
_root.mainContent_mc.times = _root.mainContent_mc.times - 1;
if (_root.mainContent_mc.times < 15) {
_root.hunter_sound.stop("hunter");
var _local2 = new Sound();
_local2.attachSound("alarm");
_local2.start();
var _local4 = new Color(_root.mainContent_mc.clock);
_local4.setRGB(16711680);
}
if (_root.mainContent_mc.times < 5) {
_local2.stop("alarm");
var _local3 = new Sound();
_local3.attachSound("end");
_local3.start();
}
if (_root.mainContent_mc.times < 1) {
brickWinner.swapDepths(highest);
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
control.gotoAndPlay("kolmas");
}
}
function randomBrick() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 5) {
winner = random(201) + 1;
brickWinner = this["q" + winner];
_root.bricker = brickWinner;
if (((brickWinner == undefined) || (brickWinner._alpha == 0)) || (brickWinner == _root.stone)) {
randomBrick();
} else if (brickWinner._alpha == 0) {
randomBrick();
} else {
brickWinner.filters = new Array();
brickWinner.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
brickWinner.swapDepths(highest);
}
}
}
}
function uuenda() {
if (_root.mainContent_mc.times > 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 5;
e++;
removeMovieClip(brickWinner.orange_mc1);
removeMovieClip(brickWinner.light_mc1);
attachMovie("minus5", "-5" + e, e, {_x:brickWinner._x, _y:brickWinner._y});
brickWinner.filters = new Array(filter, filter2);
brickWinner.swapDepths(highest);
randomBrick();
}
}
function uuenda2() {
aeg = Number(aeg) - 1;
if (aeg < 1) {
if (_root.mainContent_mc.times > 0) {
_root.over = false;
randomBrick2();
aeg = 225;
}
}
}
function randomBrick2() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 10) {
winner2 = random(201) + 1;
brickWinner2 = this["q" + winner2];
_root.bricker2 = brickWinner2;
if ((brickWinner2 == undefined) || (brickWinner2._alpha == 0)) {
randomBrick2();
} else if (brickWinner2._alpha == 0) {
randomBrick2();
} else {
e++;
attachMovie("orange_kolmas", "bronze_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
}
}
}
}
function uuenda3() {
if (_root.mainContent_mc.times > 0) {
brickWinner2.filters = new Array(filter, filter2);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
_root.dd = true;
_root.bricker2 = undefined;
}
}
function blockbuster() {
if (_root.bucket > 0) {
winner3 = random(201) + 1;
brickWinner3 = this["q" + winner3];
_root.bricker3 = brickWinner3;
if ((brickWinner3 == undefined) || (brickWinner3._alpha == 0)) {
blockbuster();
} else if (brickWinner3._alpha == 0) {
blockbuster();
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:brickWinner3._x, _y:brickWinner3._y});
brickWinner3._alpha = 0;
_root.bucket = _root.bucket - 1;
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
}
}
}
function buster() {
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
if (_root.bucket <= 5) {
rage();
}
}
function randomBrick4() {
if (_root.bucket > 5) {
if (_root.mainContent_mc.times > 0) {
winner4 = random(201) + 1;
brickWinner4 = this["q" + winner4];
_root.bricker4 = brickWinner4;
if ((brickWinner4 == undefined) || (brickWinner4._alpha == 0)) {
randomBrick4();
} else if (brickWinner4._alpha == 0) {
randomBrick4();
} else {
e++;
attachMovie("orange2_kolmas", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
}
}
}
function uuenda5() {
if (_root.mainContent_mc.times > 0) {
brickWinner4.filters = new Array(filter, filter2);
removeMovieClip(orange_add);
_root.bricker4 = undefined;
}
}
function rage() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
_root.mood = "rage";
brick = this["q" + _local3];
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
brickWinner.swapDepths(highest);
_root.bricker = undefined;
brick.filters = new Array(filter4, filter, filter2);
_local3++;
}
aeg4 = 160;
_root.interval4 = setInterval(uuenda4, 15);
}
}
function restore() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
brick = this["q" + _local3];
brick.filters = new Array(filter, filter2);
_local3++;
}
}
}
function uuenda4() {
aeg4 = Number(aeg4) - 1;
if ((aeg4 < 1) && (_root.bucket > 5)) {
_root.mood = "notrage";
restore();
randomBrick();
clearInterval(_root.interval4);
}
}
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 50;
_root.bucket = 0;
_root.mood = "notrage";
_root.interval6 = setInterval(uuenda6, 1005);
_root.dd = true;
_root.over = false;
var distance = 2.4;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 3;
var blurY = 3;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 5;
var blurY2 = 5;
var strength2 = 14;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
var color3 = 16777215;
var alpha3 = 1;
var blurX3 = 60;
var blurY3 = 60;
var strength3 = 5;
var quality3 = 3;
var inner3 = true;
var knockout3 = false;
var filter3 = (new flash.filters.GlowFilter(color3, alpha3, blurX3, blurY3, strength3, quality3, inner3, knockout3));
var color4 = 10079232;
var alpha4 = 0.5;
var blurX4 = 60;
var blurY4 = 60;
var strength4 = 5;
var quality4 = 3;
var inner4 = true;
var knockout4 = false;
var filter4 = (new flash.filters.GlowFilter(color4, alpha4, blurX4, blurY4, strength4, quality4, inner4, knockout4));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
brick.onRollOver = function () {
this.filters = new Array(filter3, filter, filter2);
if (this == _root.bricker) {
this.filters = new Array();
removeMovieClip(this.orange_mc1);
this.attachMovie("light", "light_mc1", this.getNextHighestDepth());
} else if (this == _root.bricker4) {
e++;
this.filters = new Array();
removeMovieClip(orange_add);
attachMovie("light_kolmas", "light_mc1", e, {_x:brickWinner4._x, _y:brickWinner4._y});
} else if (this == _root.bricker2) {
if (_root.dd == true) {
e++;
this.filters = new Array();
removeMovieClip(bronze_mc1);
attachMovie("light_kolmas", "light_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
} else {
bronze_mc1.stop();
this.filters = new Array(filter3, filter, filter2);
}
}
};
brick.onRollOut = function () {
this.filters = new Array(filter, filter2);
if (this == _root.bricker) {
removeMovieClip(this.light_mc1);
this.filters = new Array();
this.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
} else if (_root.mood == "rage") {
this.filters = new Array(filter4, filter, filter2);
} else if (this == _root.bricker2) {
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
brick.filters = new Array(filter, filter2);
e++;
attachMovie("orange_kolmas", "bronze_mc1", e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker4) {
brick.filters = new Array();
e++;
removeMovieClip(light_mc1);
attachMovie("orange2_kolmas", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
};
brick.onPress = function () {
if (this._alpha == 100) {
_root.bucket = _root.bucket - 1;
}
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
if (_root.bucket == 5) {
rage();
brickWinner.swapDepths(highest);
}
if (this == _root.bricker) {
_root.stone = this;
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
this.swapDepths(highest);
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
randomBrick();
} else if ((_root.mood == "rage") && (this._alpha != 0)) {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker2) {
_root.mainContent_mc.times = _root.mainContent_mc.times + _root.times;
_root.mainContent_mc.score = _root.mainContent_mc.score + _root.fate;
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie(_root.fate_in_numbers, "+15" + e, e, {_x:this._x, _y:this._y});
_root.bricker2 = undefined;
} else if (this == _root.bricker4) {
if (_root.mainContent_mc.extra._currentframe > 20) {
_root.mainContent_mc.times = _root.mainContent_mc.times + 20;
_root.mainContent_mc.score = _root.mainContent_mc.score + 300;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("plus200", "+200" + e, e, {_x:this._x, _y:this._y + 10});
e++;
attachMovie("tensecs", "+2012" + e, e, {_x:this._x, _y:this._y - 10});
_root.bricker4 = undefined;
_root.mainContent_mc.extra.gotoAndStop(1);
} else {
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("secured", "+3d" + e, e, {_x:this._x, _y:this._y});
_root.bricker4 = undefined;
}
} else if (this._alpha == 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 1;
e++;
attachMovie("minus1", "-1" + e, e, {_x:this._x, _y:this._y});
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score - 2;
e++;
attachMovie("minus2", "-2" + e, e, {_x:this._x, _y:this._y});
}
this.useHandCursor = false;
this._alpha = 0;
};
i++;
}
e = 10000;
randomBrick();
aeg = 225;
_root.interval = setInterval(uuenda2, 15);
uuenda2();
Symbol 783 MovieClip Frame 1
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 80;
var distance = 2;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 2.5;
var blurY = 2.5;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 4.2;
var blurY2 = 4.2;
var strength2 = 14;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
i++;
}
Symbol 783 MovieClip Frame 2
function uuenda6() {
_root.mainContent_mc.times = _root.mainContent_mc.times - 1;
if (_root.mainContent_mc.times < 15) {
_root.hunter_sound.stop("hunter");
var _local2 = new Sound();
_local2.attachSound("alarm");
_local2.start();
var _local4 = new Color(_root.mainContent_mc.clock);
_local4.setRGB(16711680);
}
if (_root.mainContent_mc.times < 5) {
_local2.stop("alarm");
var _local3 = new Sound();
_local3.attachSound("end");
_local3.start();
}
if (_root.mainContent_mc.times < 1) {
brickWinner.swapDepths(highest);
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
control.gotoAndPlay("kolmas");
}
}
function randomBrick() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 5) {
winner = random(201) + 1;
brickWinner = this["q" + winner];
_root.bricker = brickWinner;
if (((brickWinner == undefined) || (brickWinner._alpha == 0)) || (brickWinner == _root.stone)) {
randomBrick();
} else if (brickWinner._alpha == 0) {
randomBrick();
} else {
brickWinner.filters = new Array();
brickWinner.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
brickWinner.swapDepths(highest);
}
}
}
}
function uuenda() {
if (_root.mainContent_mc.times > 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 5;
e++;
removeMovieClip(brickWinner.orange_mc1);
removeMovieClip(brickWinner.light_mc1);
attachMovie("minus5", "-5" + e, e, {_x:brickWinner._x, _y:brickWinner._y});
brickWinner.filters = new Array(filter, filter2);
brickWinner.swapDepths(highest);
randomBrick();
}
}
function uuenda2() {
aeg = Number(aeg) - 1;
if (aeg < 1) {
if (_root.mainContent_mc.times > 0) {
_root.over = false;
randomBrick2();
aeg = 200;
}
}
}
function randomBrick2() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 10) {
winner2 = random(201) + 1;
brickWinner2 = this["q" + winner2];
_root.bricker2 = brickWinner2;
if ((brickWinner2 == undefined) || (brickWinner2._alpha == 0)) {
randomBrick2();
} else if (brickWinner2._alpha == 0) {
randomBrick2();
} else {
e++;
attachMovie("orange_neljas", "bronze_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
}
}
}
}
function uuenda3() {
if (_root.mainContent_mc.times > 0) {
brickWinner2.filters = new Array(filter, filter2);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
_root.dd = true;
_root.bricker2 = undefined;
}
}
function blockbuster() {
if (_root.bucket > 0) {
winner3 = random(201) + 1;
brickWinner3 = this["q" + winner3];
_root.bricker3 = brickWinner3;
if ((brickWinner3 == undefined) || (brickWinner3._alpha == 0)) {
blockbuster();
} else if (brickWinner3._alpha == 0) {
blockbuster();
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:brickWinner3._x, _y:brickWinner3._y});
brickWinner3._alpha = 0;
_root.bucket = _root.bucket - 1;
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
}
}
}
function buster() {
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
if (_root.bucket <= 5) {
rage();
}
}
function randomBrick4() {
if (_root.bucket > 5) {
if (_root.mainContent_mc.times > 0) {
winner4 = random(201) + 1;
brickWinner4 = this["q" + winner4];
_root.bricker4 = brickWinner4;
if ((brickWinner4 == undefined) || (brickWinner4._alpha == 0)) {
randomBrick4();
} else if (brickWinner4._alpha == 0) {
randomBrick4();
} else {
e++;
attachMovie("orange2_neljas", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
}
}
}
function uuenda5() {
if (_root.mainContent_mc.times > 0) {
brickWinner4.filters = new Array(filter, filter2);
removeMovieClip(orange_add);
_root.bricker4 = undefined;
}
}
function rage() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
_root.mood = "rage";
brick = this["q" + _local3];
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
brickWinner.swapDepths(highest);
_root.bricker = undefined;
brick.filters = new Array(filter4, filter, filter2);
_local3++;
}
aeg4 = 160;
_root.interval4 = setInterval(uuenda4, 15);
}
}
function restore() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
brick = this["q" + _local3];
brick.filters = new Array(filter, filter2);
_local3++;
}
}
}
function uuenda4() {
aeg4 = Number(aeg4) - 1;
if ((aeg4 < 1) && (_root.bucket > 5)) {
_root.mood = "notrage";
restore();
randomBrick();
clearInterval(_root.interval4);
}
}
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 80;
_root.bucket = 0;
_root.mood = "notrage";
_root.interval6 = setInterval(uuenda6, 1005);
_root.dd = true;
_root.over = false;
var distance = 2;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 2.5;
var blurY = 2.5;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 4.2;
var blurY2 = 4.2;
var strength2 = 14;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
var color3 = 16777215;
var alpha3 = 1;
var blurX3 = 60;
var blurY3 = 60;
var strength3 = 5;
var quality3 = 3;
var inner3 = true;
var knockout3 = false;
var filter3 = (new flash.filters.GlowFilter(color3, alpha3, blurX3, blurY3, strength3, quality3, inner3, knockout3));
var color4 = 10079232;
var alpha4 = 0.5;
var blurX4 = 60;
var blurY4 = 60;
var strength4 = 5;
var quality4 = 3;
var inner4 = true;
var knockout4 = false;
var filter4 = (new flash.filters.GlowFilter(color4, alpha4, blurX4, blurY4, strength4, quality4, inner4, knockout4));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
brick.onRollOver = function () {
this.filters = new Array(filter3, filter, filter2);
if (this == _root.bricker) {
this.filters = new Array();
removeMovieClip(this.orange_mc1);
this.attachMovie("light", "light_mc1", this.getNextHighestDepth());
} else if (this == _root.bricker4) {
e++;
this.filters = new Array();
removeMovieClip(orange_add);
attachMovie("light_neljas", "light_mc1", e, {_x:brickWinner4._x, _y:brickWinner4._y});
} else if (this == _root.bricker2) {
if (_root.dd == true) {
e++;
this.filters = new Array();
removeMovieClip(bronze_mc1);
attachMovie("light_neljas", "light_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
} else {
bronze_mc1.stop();
this.filters = new Array(filter3, filter, filter2);
}
}
};
brick.onRollOut = function () {
this.filters = new Array(filter, filter2);
if (this == _root.bricker) {
removeMovieClip(this.light_mc1);
this.filters = new Array();
this.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
} else if (_root.mood == "rage") {
this.filters = new Array(filter4, filter, filter2);
} else if (this == _root.bricker2) {
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
brick.filters = new Array(filter, filter2);
e++;
attachMovie("orange_neljas", "bronze_mc1", e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker4) {
brick.filters = new Array();
e++;
removeMovieClip(light_mc1);
attachMovie("orange2_neljas", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
};
brick.onPress = function () {
if (this._alpha == 100) {
_root.bucket = _root.bucket - 1;
}
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
if (_root.bucket == 5) {
rage();
brickWinner.swapDepths(highest);
}
if (this == _root.bricker) {
_root.stone = this;
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
this.swapDepths(highest);
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
randomBrick();
} else if ((_root.mood == "rage") && (this._alpha != 0)) {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker2) {
_root.mainContent_mc.times = _root.mainContent_mc.times + _root.times;
_root.mainContent_mc.score = _root.mainContent_mc.score + _root.fate;
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie(_root.fate_in_numbers, "+15" + e, e, {_x:this._x, _y:this._y});
_root.bricker2 = undefined;
} else if (this == _root.bricker4) {
if (_root.mainContent_mc.extra._currentframe > 20) {
_root.mainContent_mc.times = _root.mainContent_mc.times + 20;
_root.mainContent_mc.score = _root.mainContent_mc.score + 300;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("plus200", "+200" + e, e, {_x:this._x, _y:this._y + 10});
e++;
attachMovie("tensecs", "+2012" + e, e, {_x:this._x, _y:this._y - 10});
_root.bricker4 = undefined;
_root.mainContent_mc.extra.gotoAndStop(1);
} else {
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("secured", "+3d" + e, e, {_x:this._x, _y:this._y});
_root.bricker4 = undefined;
}
} else if (this._alpha == 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 1;
e++;
attachMovie("minus1", "-1" + e, e, {_x:this._x, _y:this._y});
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score - 2;
e++;
attachMovie("minus2", "-2" + e, e, {_x:this._x, _y:this._y});
}
this.useHandCursor = false;
this._alpha = 0;
};
i++;
}
e = 10000;
randomBrick();
aeg = 200;
_root.interval = setInterval(uuenda2, 15);
uuenda2();
Symbol 784 MovieClip Frame 1
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 75;
var distance = 2;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 2.5;
var blurY = 2.5;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 4.2;
var blurY2 = 4.2;
var strength2 = 14;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
i++;
}
Symbol 784 MovieClip Frame 2
function uuenda6() {
_root.mainContent_mc.times = _root.mainContent_mc.times - 1;
if (_root.mainContent_mc.times < 15) {
_root.hunter_sound.stop("hunter");
var _local2 = new Sound();
_local2.attachSound("alarm");
_local2.start();
var _local4 = new Color(_root.mainContent_mc.clock);
_local4.setRGB(16711680);
}
if (_root.mainContent_mc.times < 5) {
_local2.stop("alarm");
var _local3 = new Sound();
_local3.attachSound("end");
_local3.start();
}
if (_root.mainContent_mc.times < 1) {
brickWinner.swapDepths(highest);
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
control.gotoAndPlay("kolmas");
}
}
function randomBrick() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 5) {
winner = random(201) + 1;
brickWinner = this["q" + winner];
_root.bricker = brickWinner;
if (((brickWinner == undefined) || (brickWinner._alpha == 0)) || (brickWinner == _root.stone)) {
randomBrick();
} else if (brickWinner._alpha == 0) {
randomBrick();
} else {
brickWinner.filters = new Array();
brickWinner.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
brickWinner.swapDepths(highest);
}
}
}
}
function uuenda() {
if (_root.mainContent_mc.times > 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 5;
e++;
removeMovieClip(brickWinner.orange_mc1);
removeMovieClip(brickWinner.light_mc1);
attachMovie("minus5", "-5" + e, e, {_x:brickWinner._x, _y:brickWinner._y});
brickWinner.filters = new Array(filter, filter2);
brickWinner.swapDepths(highest);
randomBrick();
}
}
function uuenda2() {
aeg = Number(aeg) - 1;
if (aeg < 1) {
if (_root.mainContent_mc.times > 0) {
_root.over = false;
randomBrick2();
aeg = 190;
}
}
}
function randomBrick2() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 10) {
winner2 = random(201) + 1;
brickWinner2 = this["q" + winner2];
_root.bricker2 = brickWinner2;
if ((brickWinner2 == undefined) || (brickWinner2._alpha == 0)) {
randomBrick2();
} else if (brickWinner2._alpha == 0) {
randomBrick2();
} else {
e++;
attachMovie("orange_neljas", "bronze_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
}
}
}
}
function uuenda3() {
if (_root.mainContent_mc.times > 0) {
brickWinner2.filters = new Array(filter, filter2);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
_root.dd = true;
_root.bricker2 = undefined;
}
}
function blockbuster() {
if (_root.bucket > 0) {
winner3 = random(201) + 1;
brickWinner3 = this["q" + winner3];
_root.bricker3 = brickWinner3;
if ((brickWinner3 == undefined) || (brickWinner3._alpha == 0)) {
blockbuster();
} else if (brickWinner3._alpha == 0) {
blockbuster();
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:brickWinner3._x, _y:brickWinner3._y});
brickWinner3._alpha = 0;
_root.bucket = _root.bucket - 1;
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
}
}
}
function buster() {
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
if (_root.bucket <= 5) {
rage();
}
}
function randomBrick4() {
if (_root.bucket > 5) {
if (_root.mainContent_mc.times > 0) {
winner4 = random(201) + 1;
brickWinner4 = this["q" + winner4];
_root.bricker4 = brickWinner4;
if ((brickWinner4 == undefined) || (brickWinner4._alpha == 0)) {
randomBrick4();
} else if (brickWinner4._alpha == 0) {
randomBrick4();
} else {
e++;
attachMovie("orange2_neljas", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
}
}
}
function uuenda5() {
if (_root.mainContent_mc.times > 0) {
brickWinner4.filters = new Array(filter, filter2);
removeMovieClip(orange_add);
_root.bricker4 = undefined;
}
}
function rage() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
_root.mood = "rage";
brick = this["q" + _local3];
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
brickWinner.swapDepths(highest);
_root.bricker = undefined;
brick.filters = new Array(filter4, filter, filter2);
_local3++;
}
aeg4 = 160;
_root.interval4 = setInterval(uuenda4, 15);
}
}
function restore() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
brick = this["q" + _local3];
brick.filters = new Array(filter, filter2);
_local3++;
}
}
}
function uuenda4() {
aeg4 = Number(aeg4) - 1;
if ((aeg4 < 1) && (_root.bucket > 5)) {
_root.mood = "notrage";
restore();
randomBrick();
clearInterval(_root.interval4);
}
}
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 75;
_root.bucket = 0;
_root.mood = "notrage";
_root.interval6 = setInterval(uuenda6, 1005);
_root.dd = true;
_root.over = false;
var distance = 2;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 2.5;
var blurY = 2.5;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 4.2;
var blurY2 = 4.2;
var strength2 = 14;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
var color3 = 16777215;
var alpha3 = 1;
var blurX3 = 60;
var blurY3 = 60;
var strength3 = 5;
var quality3 = 3;
var inner3 = true;
var knockout3 = false;
var filter3 = (new flash.filters.GlowFilter(color3, alpha3, blurX3, blurY3, strength3, quality3, inner3, knockout3));
var color4 = 10079232;
var alpha4 = 0.5;
var blurX4 = 60;
var blurY4 = 60;
var strength4 = 5;
var quality4 = 3;
var inner4 = true;
var knockout4 = false;
var filter4 = (new flash.filters.GlowFilter(color4, alpha4, blurX4, blurY4, strength4, quality4, inner4, knockout4));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
brick.onRollOver = function () {
this.filters = new Array(filter3, filter, filter2);
if (this == _root.bricker) {
this.filters = new Array();
removeMovieClip(this.orange_mc1);
this.attachMovie("light", "light_mc1", this.getNextHighestDepth());
} else if (this == _root.bricker4) {
e++;
this.filters = new Array();
removeMovieClip(orange_add);
attachMovie("light_neljas", "light_mc1", e, {_x:brickWinner4._x, _y:brickWinner4._y});
} else if (this == _root.bricker2) {
if (_root.dd == true) {
e++;
this.filters = new Array();
removeMovieClip(bronze_mc1);
attachMovie("light_neljas", "light_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
} else {
bronze_mc1.stop();
this.filters = new Array(filter3, filter, filter2);
}
}
};
brick.onRollOut = function () {
this.filters = new Array(filter, filter2);
if (this == _root.bricker) {
removeMovieClip(this.light_mc1);
this.filters = new Array();
this.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
} else if (_root.mood == "rage") {
this.filters = new Array(filter4, filter, filter2);
} else if (this == _root.bricker2) {
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
brick.filters = new Array(filter, filter2);
e++;
attachMovie("orange_neljas", "bronze_mc1", e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker4) {
brick.filters = new Array();
e++;
removeMovieClip(light_mc1);
attachMovie("orange2_neljas", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
};
brick.onPress = function () {
if (this._alpha == 100) {
_root.bucket = _root.bucket - 1;
}
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
if (_root.bucket == 5) {
rage();
brickWinner.swapDepths(highest);
}
if (this == _root.bricker) {
_root.stone = this;
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
this.swapDepths(highest);
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
randomBrick();
} else if ((_root.mood == "rage") && (this._alpha != 0)) {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker2) {
_root.mainContent_mc.times = _root.mainContent_mc.times + _root.times;
_root.mainContent_mc.score = _root.mainContent_mc.score + _root.fate;
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie(_root.fate_in_numbers, "+15" + e, e, {_x:this._x, _y:this._y});
_root.bricker2 = undefined;
} else if (this == _root.bricker4) {
if (_root.mainContent_mc.extra._currentframe > 20) {
_root.mainContent_mc.times = _root.mainContent_mc.times + 20;
_root.mainContent_mc.score = _root.mainContent_mc.score + 300;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("plus200", "+200" + e, e, {_x:this._x, _y:this._y + 10});
e++;
attachMovie("tensecs", "+2012" + e, e, {_x:this._x, _y:this._y - 10});
_root.bricker4 = undefined;
_root.mainContent_mc.extra.gotoAndStop(1);
} else {
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("secured", "+3d" + e, e, {_x:this._x, _y:this._y});
_root.bricker4 = undefined;
}
} else if (this._alpha == 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 1;
e++;
attachMovie("minus1", "-1" + e, e, {_x:this._x, _y:this._y});
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score - 2;
e++;
attachMovie("minus2", "-2" + e, e, {_x:this._x, _y:this._y});
}
this.useHandCursor = false;
this._alpha = 0;
};
i++;
}
e = 10000;
randomBrick();
aeg = 190;
_root.interval = setInterval(uuenda2, 15);
uuenda2();
Symbol 785 MovieClip Frame 1
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 70;
var distance = 2;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 2.5;
var blurY = 2.5;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 4.2;
var blurY2 = 4.2;
var strength2 = 14;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
i++;
}
Symbol 785 MovieClip Frame 2
function uuenda6() {
_root.mainContent_mc.times = _root.mainContent_mc.times - 1;
if (_root.mainContent_mc.times < 15) {
_root.hunter_sound.stop("hunter");
var _local2 = new Sound();
_local2.attachSound("alarm");
_local2.start();
var _local4 = new Color(_root.mainContent_mc.clock);
_local4.setRGB(16711680);
}
if (_root.mainContent_mc.times < 5) {
_local2.stop("alarm");
var _local3 = new Sound();
_local3.attachSound("end");
_local3.start();
}
if (_root.mainContent_mc.times < 1) {
brickWinner.swapDepths(highest);
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
control.gotoAndPlay("kolmas");
}
}
function randomBrick() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 5) {
winner = random(201) + 1;
brickWinner = this["q" + winner];
_root.bricker = brickWinner;
if (((brickWinner == undefined) || (brickWinner._alpha == 0)) || (brickWinner == _root.stone)) {
randomBrick();
} else if (brickWinner._alpha == 0) {
randomBrick();
} else {
brickWinner.filters = new Array();
brickWinner.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
brickWinner.swapDepths(highest);
}
}
}
}
function uuenda() {
if (_root.mainContent_mc.times > 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 5;
e++;
removeMovieClip(brickWinner.orange_mc1);
removeMovieClip(brickWinner.light_mc1);
attachMovie("minus5", "-5" + e, e, {_x:brickWinner._x, _y:brickWinner._y});
brickWinner.filters = new Array(filter, filter2);
brickWinner.swapDepths(highest);
randomBrick();
}
}
function uuenda2() {
aeg = Number(aeg) - 1;
if (aeg < 1) {
if (_root.mainContent_mc.times > 0) {
_root.over = false;
randomBrick2();
aeg = 180;
}
}
}
function randomBrick2() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 10) {
winner2 = random(201) + 1;
brickWinner2 = this["q" + winner2];
_root.bricker2 = brickWinner2;
if ((brickWinner2 == undefined) || (brickWinner2._alpha == 0)) {
randomBrick2();
} else if (brickWinner2._alpha == 0) {
randomBrick2();
} else {
e++;
attachMovie("orange_neljas", "bronze_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
}
}
}
}
function uuenda3() {
if (_root.mainContent_mc.times > 0) {
brickWinner2.filters = new Array(filter, filter2);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
_root.dd = true;
_root.bricker2 = undefined;
}
}
function blockbuster() {
if (_root.bucket > 0) {
winner3 = random(201) + 1;
brickWinner3 = this["q" + winner3];
_root.bricker3 = brickWinner3;
if ((brickWinner3 == undefined) || (brickWinner3._alpha == 0)) {
blockbuster();
} else if (brickWinner3._alpha == 0) {
blockbuster();
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:brickWinner3._x, _y:brickWinner3._y});
brickWinner3._alpha = 0;
_root.bucket = _root.bucket - 1;
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
}
}
}
function buster() {
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
if (_root.bucket <= 5) {
rage();
}
}
function randomBrick4() {
if (_root.bucket > 5) {
if (_root.mainContent_mc.times > 0) {
winner4 = random(201) + 1;
brickWinner4 = this["q" + winner4];
_root.bricker4 = brickWinner4;
if ((brickWinner4 == undefined) || (brickWinner4._alpha == 0)) {
randomBrick4();
} else if (brickWinner4._alpha == 0) {
randomBrick4();
} else {
e++;
attachMovie("orange2_neljas", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
}
}
}
function uuenda5() {
if (_root.mainContent_mc.times > 0) {
brickWinner4.filters = new Array(filter, filter2);
removeMovieClip(orange_add);
_root.bricker4 = undefined;
}
}
function rage() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
_root.mood = "rage";
brick = this["q" + _local3];
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
brickWinner.swapDepths(highest);
_root.bricker = undefined;
brick.filters = new Array(filter4, filter, filter2);
_local3++;
}
aeg4 = 160;
_root.interval4 = setInterval(uuenda4, 15);
}
}
function restore() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
brick = this["q" + _local3];
brick.filters = new Array(filter, filter2);
_local3++;
}
}
}
function uuenda4() {
aeg4 = Number(aeg4) - 1;
if ((aeg4 < 1) && (_root.bucket > 5)) {
_root.mood = "notrage";
restore();
randomBrick();
clearInterval(_root.interval4);
}
}
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 70;
_root.bucket = 0;
_root.mood = "notrage";
_root.interval6 = setInterval(uuenda6, 1005);
_root.dd = true;
_root.over = false;
var distance = 2;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 2.5;
var blurY = 2.5;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 4.2;
var blurY2 = 4.2;
var strength2 = 14;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
var color3 = 16777215;
var alpha3 = 1;
var blurX3 = 60;
var blurY3 = 60;
var strength3 = 5;
var quality3 = 3;
var inner3 = true;
var knockout3 = false;
var filter3 = (new flash.filters.GlowFilter(color3, alpha3, blurX3, blurY3, strength3, quality3, inner3, knockout3));
var color4 = 10079232;
var alpha4 = 0.5;
var blurX4 = 60;
var blurY4 = 60;
var strength4 = 5;
var quality4 = 3;
var inner4 = true;
var knockout4 = false;
var filter4 = (new flash.filters.GlowFilter(color4, alpha4, blurX4, blurY4, strength4, quality4, inner4, knockout4));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
brick.onRollOver = function () {
this.filters = new Array(filter3, filter, filter2);
if (this == _root.bricker) {
this.filters = new Array();
removeMovieClip(this.orange_mc1);
this.attachMovie("light", "light_mc1", this.getNextHighestDepth());
} else if (this == _root.bricker4) {
e++;
this.filters = new Array();
removeMovieClip(orange_add);
attachMovie("light_neljas", "light_mc1", e, {_x:brickWinner4._x, _y:brickWinner4._y});
} else if (this == _root.bricker2) {
if (_root.dd == true) {
e++;
this.filters = new Array();
removeMovieClip(bronze_mc1);
attachMovie("light_neljas", "light_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
} else {
bronze_mc1.stop();
this.filters = new Array(filter3, filter, filter2);
}
}
};
brick.onRollOut = function () {
this.filters = new Array(filter, filter2);
if (this == _root.bricker) {
removeMovieClip(this.light_mc1);
this.filters = new Array();
this.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
} else if (_root.mood == "rage") {
this.filters = new Array(filter4, filter, filter2);
} else if (this == _root.bricker2) {
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
brick.filters = new Array(filter, filter2);
e++;
attachMovie("orange_neljas", "bronze_mc1", e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker4) {
brick.filters = new Array();
e++;
removeMovieClip(light_mc1);
attachMovie("orange2_neljas", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
};
brick.onPress = function () {
if (this._alpha == 100) {
_root.bucket = _root.bucket - 1;
}
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
if (_root.bucket == 5) {
rage();
brickWinner.swapDepths(highest);
}
if (this == _root.bricker) {
_root.stone = this;
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
this.swapDepths(highest);
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
randomBrick();
} else if ((_root.mood == "rage") && (this._alpha != 0)) {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker2) {
_root.mainContent_mc.times = _root.mainContent_mc.times + _root.times;
_root.mainContent_mc.score = _root.mainContent_mc.score + _root.fate;
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie(_root.fate_in_numbers, "+15" + e, e, {_x:this._x, _y:this._y});
_root.bricker2 = undefined;
} else if (this == _root.bricker4) {
if (_root.mainContent_mc.extra._currentframe > 20) {
_root.mainContent_mc.times = _root.mainContent_mc.times + 20;
_root.mainContent_mc.score = _root.mainContent_mc.score + 300;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("plus200", "+200" + e, e, {_x:this._x, _y:this._y + 10});
e++;
attachMovie("tensecs", "+2012" + e, e, {_x:this._x, _y:this._y - 10});
_root.bricker4 = undefined;
_root.mainContent_mc.extra.gotoAndStop(1);
} else {
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("secured", "+3d" + e, e, {_x:this._x, _y:this._y});
_root.bricker4 = undefined;
}
} else if (this._alpha == 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 1;
e++;
attachMovie("minus1", "-1" + e, e, {_x:this._x, _y:this._y});
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score - 2;
e++;
attachMovie("minus2", "-2" + e, e, {_x:this._x, _y:this._y});
}
this.useHandCursor = false;
this._alpha = 0;
};
i++;
}
e = 10000;
randomBrick();
aeg = 180;
_root.interval = setInterval(uuenda2, 15);
uuenda2();
Symbol 786 MovieClip Frame 1
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 65;
var distance = 2;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 2.5;
var blurY = 2.5;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 4.2;
var blurY2 = 4.2;
var strength2 = 14;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
i++;
}
Symbol 786 MovieClip Frame 2
function uuenda6() {
_root.mainContent_mc.times = _root.mainContent_mc.times - 1;
if (_root.mainContent_mc.times < 15) {
_root.hunter_sound.stop("hunter");
var _local2 = new Sound();
_local2.attachSound("alarm");
_local2.start();
var _local4 = new Color(_root.mainContent_mc.clock);
_local4.setRGB(16711680);
}
if (_root.mainContent_mc.times < 5) {
_local2.stop("alarm");
var _local3 = new Sound();
_local3.attachSound("end");
_local3.start();
}
if (_root.mainContent_mc.times < 1) {
brickWinner.swapDepths(highest);
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
control.gotoAndPlay("kolmas");
}
}
function randomBrick() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 5) {
winner = random(201) + 1;
brickWinner = this["q" + winner];
_root.bricker = brickWinner;
if (((brickWinner == undefined) || (brickWinner._alpha == 0)) || (brickWinner == _root.stone)) {
randomBrick();
} else if (brickWinner._alpha == 0) {
randomBrick();
} else {
brickWinner.filters = new Array();
brickWinner.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
brickWinner.swapDepths(highest);
}
}
}
}
function uuenda() {
if (_root.mainContent_mc.times > 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 5;
e++;
removeMovieClip(brickWinner.orange_mc1);
removeMovieClip(brickWinner.light_mc1);
attachMovie("minus5", "-5" + e, e, {_x:brickWinner._x, _y:brickWinner._y});
brickWinner.filters = new Array(filter, filter2);
brickWinner.swapDepths(highest);
randomBrick();
}
}
function uuenda2() {
aeg = Number(aeg) - 1;
if (aeg < 1) {
if (_root.mainContent_mc.times > 0) {
_root.over = false;
randomBrick2();
aeg = 175;
}
}
}
function randomBrick2() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 10) {
winner2 = random(201) + 1;
brickWinner2 = this["q" + winner2];
_root.bricker2 = brickWinner2;
if ((brickWinner2 == undefined) || (brickWinner2._alpha == 0)) {
randomBrick2();
} else if (brickWinner2._alpha == 0) {
randomBrick2();
} else {
e++;
attachMovie("orange_neljas", "bronze_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
}
}
}
}
function uuenda3() {
if (_root.mainContent_mc.times > 0) {
brickWinner2.filters = new Array(filter, filter2);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
_root.dd = true;
_root.bricker2 = undefined;
}
}
function blockbuster() {
if (_root.bucket > 0) {
winner3 = random(201) + 1;
brickWinner3 = this["q" + winner3];
_root.bricker3 = brickWinner3;
if ((brickWinner3 == undefined) || (brickWinner3._alpha == 0)) {
blockbuster();
} else if (brickWinner3._alpha == 0) {
blockbuster();
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:brickWinner3._x, _y:brickWinner3._y});
brickWinner3._alpha = 0;
_root.bucket = _root.bucket - 1;
if (_root.bucket == 0) {
control.gotoAndStop("teine");
}
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
}
}
}
function buster() {
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
if (_root.bucket <= 5) {
rage();
}
}
function randomBrick4() {
if (_root.bucket > 5) {
if (_root.mainContent_mc.times > 0) {
winner4 = random(201) + 1;
brickWinner4 = this["q" + winner4];
_root.bricker4 = brickWinner4;
if ((brickWinner4 == undefined) || (brickWinner4._alpha == 0)) {
randomBrick4();
} else if (brickWinner4._alpha == 0) {
randomBrick4();
} else {
e++;
attachMovie("orange2_neljas", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
}
}
}
function uuenda5() {
if (_root.mainContent_mc.times > 0) {
brickWinner4.filters = new Array(filter, filter2);
removeMovieClip(orange_add);
_root.bricker4 = undefined;
}
}
function rage() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
_root.mood = "rage";
brick = this["q" + _local3];
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
brickWinner.swapDepths(highest);
_root.bricker = undefined;
brick.filters = new Array(filter4, filter, filter2);
_local3++;
}
aeg4 = 160;
_root.interval4 = setInterval(uuenda4, 15);
}
}
function restore() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
brick = this["q" + _local3];
brick.filters = new Array(filter, filter2);
_local3++;
}
}
}
function uuenda4() {
aeg4 = Number(aeg4) - 1;
if ((aeg4 < 1) && (_root.bucket > 5)) {
_root.mood = "notrage";
restore();
randomBrick();
clearInterval(_root.interval4);
}
}
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 65;
_root.bucket = 0;
_root.mood = "notrage";
_root.interval6 = setInterval(uuenda6, 1005);
_root.dd = true;
_root.over = false;
var distance = 2;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 2.5;
var blurY = 2.5;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 4.2;
var blurY2 = 4.2;
var strength2 = 14;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
var color3 = 16777215;
var alpha3 = 1;
var blurX3 = 60;
var blurY3 = 60;
var strength3 = 5;
var quality3 = 3;
var inner3 = true;
var knockout3 = false;
var filter3 = (new flash.filters.GlowFilter(color3, alpha3, blurX3, blurY3, strength3, quality3, inner3, knockout3));
var color4 = 10079232;
var alpha4 = 0.5;
var blurX4 = 60;
var blurY4 = 60;
var strength4 = 5;
var quality4 = 3;
var inner4 = true;
var knockout4 = false;
var filter4 = (new flash.filters.GlowFilter(color4, alpha4, blurX4, blurY4, strength4, quality4, inner4, knockout4));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
brick.onRollOver = function () {
this.filters = new Array(filter3, filter, filter2);
if (this == _root.bricker) {
this.filters = new Array();
removeMovieClip(this.orange_mc1);
this.attachMovie("light", "light_mc1", this.getNextHighestDepth());
} else if (this == _root.bricker4) {
e++;
this.filters = new Array();
removeMovieClip(orange_add);
attachMovie("light_neljas", "light_mc1", e, {_x:brickWinner4._x, _y:brickWinner4._y});
} else if (this == _root.bricker2) {
if (_root.dd == true) {
e++;
this.filters = new Array();
removeMovieClip(bronze_mc1);
attachMovie("light_neljas", "light_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
} else {
bronze_mc1.stop();
this.filters = new Array(filter3, filter, filter2);
}
}
};
brick.onRollOut = function () {
this.filters = new Array(filter, filter2);
if (this == _root.bricker) {
removeMovieClip(this.light_mc1);
this.filters = new Array();
this.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
} else if (_root.mood == "rage") {
this.filters = new Array(filter4, filter, filter2);
} else if (this == _root.bricker2) {
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
brick.filters = new Array(filter, filter2);
e++;
attachMovie("orange_neljas", "bronze_mc1", e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker4) {
brick.filters = new Array();
e++;
removeMovieClip(light_mc1);
attachMovie("orange2_neljas", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
};
brick.onPress = function () {
if (this._alpha == 100) {
_root.bucket = _root.bucket - 1;
}
if (_root.bucket == 0) {
control.gotoAndStop("teine");
}
if (_root.bucket == 5) {
rage();
brickWinner.swapDepths(highest);
}
if (this == _root.bricker) {
_root.stone = this;
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
this.swapDepths(highest);
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
randomBrick();
} else if ((_root.mood == "rage") && (this._alpha != 0)) {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker2) {
_root.mainContent_mc.times = _root.mainContent_mc.times + _root.times;
_root.mainContent_mc.score = _root.mainContent_mc.score + _root.fate;
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie(_root.fate_in_numbers, "+15" + e, e, {_x:this._x, _y:this._y});
_root.bricker2 = undefined;
} else if (this == _root.bricker4) {
if (_root.mainContent_mc.extra._currentframe > 20) {
_root.mainContent_mc.times = _root.mainContent_mc.times + 20;
_root.mainContent_mc.score = _root.mainContent_mc.score + 300;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("plus200", "+200" + e, e, {_x:this._x, _y:this._y + 10});
e++;
attachMovie("tensecs", "+2012" + e, e, {_x:this._x, _y:this._y - 10});
_root.bricker4 = undefined;
_root.mainContent_mc.extra.gotoAndStop(1);
} else {
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("secured", "+3d" + e, e, {_x:this._x, _y:this._y});
_root.bricker4 = undefined;
}
} else if (this._alpha == 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 1;
e++;
attachMovie("minus1", "-1" + e, e, {_x:this._x, _y:this._y});
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score - 2;
e++;
attachMovie("minus2", "-2" + e, e, {_x:this._x, _y:this._y});
}
this.useHandCursor = false;
this._alpha = 0;
};
i++;
}
e = 10000;
randomBrick();
aeg = 175;
_root.interval = setInterval(uuenda2, 15);
uuenda2();
Symbol 875 MovieClip Frame 1
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 95;
var distance = 2;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 2;
var blurY = 2;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 4;
var blurY2 = 4;
var strength2 = 14;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
i++;
}
Symbol 875 MovieClip Frame 2
function uuenda6() {
_root.mainContent_mc.times = _root.mainContent_mc.times - 1;
if (_root.mainContent_mc.times < 15) {
_root.hunter_sound.stop("hunter");
var _local2 = new Sound();
_local2.attachSound("alarm");
_local2.start();
var _local4 = new Color(_root.mainContent_mc.clock);
_local4.setRGB(16711680);
}
if (_root.mainContent_mc.times < 5) {
_local2.stop("alarm");
var _local3 = new Sound();
_local3.attachSound("end");
_local3.start();
}
if (_root.mainContent_mc.times < 1) {
brickWinner.swapDepths(highest);
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
control.gotoAndPlay("kolmas");
}
}
function randomBrick() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 5) {
winner = random(201) + 1;
brickWinner = this["q" + winner];
_root.bricker = brickWinner;
if (((brickWinner == undefined) || (brickWinner._alpha == 0)) || (brickWinner == _root.stone)) {
randomBrick();
} else if (brickWinner._alpha == 0) {
randomBrick();
} else {
brickWinner.filters = new Array();
brickWinner.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
brickWinner.swapDepths(highest);
}
}
}
}
function uuenda() {
if (_root.mainContent_mc.times > 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 5;
e++;
attachMovie("minus5", "-5" + e, e, {_x:brickWinner._x, _y:brickWinner._y});
removeMovieClip(brickWinner.orange_mc1);
removeMovieClip(brickWinner.light_mc1);
brickWinner.filters = new Array(filter, filter2);
brickWinner.swapDepths(highest);
randomBrick();
}
}
function uuenda2() {
aeg = Number(aeg) - 1;
if (aeg < 1) {
if (_root.mainContent_mc.times > 0) {
_root.over = false;
randomBrick2();
aeg = 170;
}
}
}
function randomBrick2() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 10) {
winner2 = random(201) + 1;
brickWinner2 = this["q" + winner2];
_root.bricker2 = brickWinner2;
if ((brickWinner2 == undefined) || (brickWinner2._alpha == 0)) {
randomBrick2();
} else if (brickWinner2._alpha == 0) {
randomBrick2();
} else {
e++;
attachMovie("bronze", "bronze_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
}
}
}
}
function uuenda3() {
if (_root.mainContent_mc.times > 0) {
brickWinner2.filters = new Array(filter, filter2);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
_root.dd = true;
_root.bricker2 = undefined;
}
}
function blockbuster() {
if (_root.bucket > 0) {
winner3 = random(201) + 1;
brickWinner3 = this["q" + winner3];
_root.bricker3 = brickWinner3;
if ((brickWinner3 == undefined) || (brickWinner3._alpha == 0)) {
blockbuster();
} else if (brickWinner3._alpha == 0) {
blockbuster();
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:brickWinner3._x, _y:brickWinner3._y});
brickWinner3._alpha = 0;
_root.bucket = _root.bucket - 1;
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
}
}
}
function buster() {
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
if (_root.bucket <= 5) {
rage();
}
}
function randomBrick4() {
if (_root.bucket > 5) {
if (_root.mainContent_mc.times > 0) {
winner4 = random(201) + 1;
brickWinner4 = this["q" + winner4];
_root.bricker4 = brickWinner4;
if ((brickWinner4 == undefined) || (brickWinner4._alpha == 0)) {
randomBrick4();
} else if (brickWinner4._alpha == 0) {
randomBrick4();
} else {
e++;
attachMovie("orange2", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
}
}
}
function uuenda5() {
if (_root.mainContent_mc.times > 0) {
brickWinner4.filters = new Array(filter, filter2);
removeMovieClip(orange_add);
_root.bricker4 = undefined;
}
}
function rage() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
_root.mood = "rage";
brick = this["q" + _local3];
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
brickWinner.swapDepths(highest);
_root.bricker = undefined;
brick.filters = new Array(filter4, filter, filter2);
_local3++;
}
aeg4 = 160;
_root.interval4 = setInterval(uuenda4, 15);
}
}
function restore() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
brick = this["q" + _local3];
brick.filters = new Array(filter, filter2);
_local3++;
}
}
}
function uuenda4() {
aeg4 = Number(aeg4) - 1;
if ((aeg4 < 1) && (_root.bucket > 5)) {
_root.mood = "notrage";
restore();
randomBrick();
clearInterval(_root.interval4);
}
}
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 95;
_root.bucket = 0;
_root.mood = "notrage";
_root.interval6 = setInterval(uuenda6, 1005);
_root.dd = true;
_root.over = false;
var distance = 2;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 2;
var blurY = 2;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 4;
var blurY2 = 4;
var strength2 = 14;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
var color3 = 16777215;
var alpha3 = 1;
var blurX3 = 30;
var blurY3 = 30;
var strength3 = 5;
var quality3 = 3;
var inner3 = true;
var knockout3 = false;
var filter3 = (new flash.filters.GlowFilter(color3, alpha3, blurX3, blurY3, strength3, quality3, inner3, knockout3));
var color4 = 10079232;
var alpha4 = 0.5;
var blurX4 = 30;
var blurY4 = 30;
var strength4 = 5;
var quality4 = 3;
var inner4 = true;
var knockout4 = false;
var filter4 = (new flash.filters.GlowFilter(color4, alpha4, blurX4, blurY4, strength4, quality4, inner4, knockout4));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
brick.onRollOver = function () {
this.filters = new Array(filter3, filter, filter2);
if (this == _root.bricker) {
this.filters = new Array();
removeMovieClip(this.orange_mc1);
this.attachMovie("light", "light_mc1", this.getNextHighestDepth());
} else if (this == _root.bricker4) {
e++;
this.filters = new Array();
removeMovieClip(orange_add);
attachMovie("light", "light_mc1", e, {_x:brickWinner4._x, _y:brickWinner4._y});
} else if (this == _root.bricker2) {
if (_root.dd == true) {
e++;
this.filters = new Array();
removeMovieClip(bronze_mc1);
attachMovie("light", "light_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
} else {
bronze_mc1.stop();
this.filters = new Array(filter3, filter, filter2);
}
}
};
brick.onRollOut = function () {
this.filters = new Array(filter, filter2);
if (this == _root.bricker) {
removeMovieClip(this.light_mc1);
this.filters = new Array();
this.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
} else if (_root.mood == "rage") {
this.filters = new Array(filter4, filter, filter2);
} else if (this == _root.bricker2) {
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
brick.filters = new Array(filter, filter2);
e++;
attachMovie("bronze", "bronze_mc1", e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker4) {
brick.filters = new Array();
e++;
removeMovieClip(light_mc1);
attachMovie("orange2", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
};
brick.onPress = function () {
if (this._alpha == 100) {
_root.bucket = _root.bucket - 1;
}
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
if (_root.bucket == 5) {
rage();
brickWinner.swapDepths(highest);
}
if (this == _root.bricker) {
_root.stone = this;
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
this.swapDepths(highest);
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
randomBrick();
} else if ((_root.mood == "rage") && (this._alpha != 0)) {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker2) {
_root.mainContent_mc.times = _root.mainContent_mc.times + _root.times;
_root.mainContent_mc.score = _root.mainContent_mc.score + _root.fate;
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie(_root.fate_in_numbers, "+15" + e, e, {_x:this._x, _y:this._y});
_root.bricker2 = undefined;
} else if (this == _root.bricker4) {
if (_root.mainContent_mc.extra._currentframe > 20) {
_root.mainContent_mc.times = _root.mainContent_mc.times + 20;
_root.mainContent_mc.score = _root.mainContent_mc.score + 300;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("plus200", "+200" + e, e, {_x:this._x, _y:this._y + 10});
e++;
attachMovie("tensecs", "+2012" + e, e, {_x:this._x, _y:this._y - 10});
_root.bricker4 = undefined;
_root.mainContent_mc.extra.gotoAndStop(1);
} else {
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("secured", "+3d" + e, e, {_x:this._x, _y:this._y});
_root.bricker4 = undefined;
}
} else if (this._alpha == 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 1;
e++;
attachMovie("minus1", "-1" + e, e, {_x:this._x, _y:this._y});
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score - 2;
e++;
attachMovie("minus2", "-2" + e, e, {_x:this._x, _y:this._y});
}
this.useHandCursor = false;
this._alpha = 0;
};
i++;
}
e = 10000;
randomBrick();
aeg = 170;
_root.interval = setInterval(uuenda2, 15);
uuenda2();
Symbol 876 MovieClip Frame 1
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 90;
var distance = 2;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 2;
var blurY = 2;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 4;
var blurY2 = 4;
var strength2 = 14;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
i++;
}
Symbol 876 MovieClip Frame 2
function uuenda6() {
_root.mainContent_mc.times = _root.mainContent_mc.times - 1;
if (_root.mainContent_mc.times < 15) {
_root.hunter_sound.stop("hunter");
var _local2 = new Sound();
_local2.attachSound("alarm");
_local2.start();
var _local4 = new Color(_root.mainContent_mc.clock);
_local4.setRGB(16711680);
}
if (_root.mainContent_mc.times < 5) {
_local2.stop("alarm");
var _local3 = new Sound();
_local3.attachSound("end");
_local3.start();
}
if (_root.mainContent_mc.times < 1) {
brickWinner.swapDepths(highest);
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
control.gotoAndPlay("kolmas");
}
}
function randomBrick() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 5) {
winner = random(201) + 1;
brickWinner = this["q" + winner];
_root.bricker = brickWinner;
if (((brickWinner == undefined) || (brickWinner._alpha == 0)) || (brickWinner == _root.stone)) {
randomBrick();
} else if (brickWinner._alpha == 0) {
randomBrick();
} else {
brickWinner.filters = new Array();
brickWinner.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
brickWinner.swapDepths(highest);
}
}
}
}
function uuenda() {
if (_root.mainContent_mc.times > 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 5;
e++;
attachMovie("minus5", "-5" + e, e, {_x:brickWinner._x, _y:brickWinner._y});
removeMovieClip(brickWinner.orange_mc1);
removeMovieClip(brickWinner.light_mc1);
brickWinner.filters = new Array(filter, filter2);
brickWinner.swapDepths(highest);
randomBrick();
}
}
function uuenda2() {
aeg = Number(aeg) - 1;
if (aeg < 1) {
if (_root.mainContent_mc.times > 0) {
_root.over = false;
randomBrick2();
aeg = 165;
}
}
}
function randomBrick2() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 10) {
winner2 = random(201) + 1;
brickWinner2 = this["q" + winner2];
_root.bricker2 = brickWinner2;
if ((brickWinner2 == undefined) || (brickWinner2._alpha == 0)) {
randomBrick2();
} else if (brickWinner2._alpha == 0) {
randomBrick2();
} else {
e++;
attachMovie("bronze", "bronze_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
}
}
}
}
function uuenda3() {
if (_root.mainContent_mc.times > 0) {
brickWinner2.filters = new Array(filter, filter2);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
_root.dd = true;
_root.bricker2 = undefined;
}
}
function blockbuster() {
if (_root.bucket > 0) {
winner3 = random(201) + 1;
brickWinner3 = this["q" + winner3];
_root.bricker3 = brickWinner3;
if ((brickWinner3 == undefined) || (brickWinner3._alpha == 0)) {
blockbuster();
} else if (brickWinner3._alpha == 0) {
blockbuster();
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:brickWinner3._x, _y:brickWinner3._y});
brickWinner3._alpha = 0;
_root.bucket = _root.bucket - 1;
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
}
}
}
function buster() {
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
if (_root.bucket <= 5) {
rage();
}
}
function randomBrick4() {
if (_root.bucket > 5) {
if (_root.mainContent_mc.times > 0) {
winner4 = random(201) + 1;
brickWinner4 = this["q" + winner4];
_root.bricker4 = brickWinner4;
if ((brickWinner4 == undefined) || (brickWinner4._alpha == 0)) {
randomBrick4();
} else if (brickWinner4._alpha == 0) {
randomBrick4();
} else {
e++;
attachMovie("orange2", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
}
}
}
function uuenda5() {
if (_root.mainContent_mc.times > 0) {
brickWinner4.filters = new Array(filter, filter2);
removeMovieClip(orange_add);
_root.bricker4 = undefined;
}
}
function rage() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
_root.mood = "rage";
brick = this["q" + _local3];
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
brickWinner.swapDepths(highest);
_root.bricker = undefined;
brick.filters = new Array(filter4, filter, filter2);
_local3++;
}
aeg4 = 160;
_root.interval4 = setInterval(uuenda4, 15);
}
}
function restore() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
brick = this["q" + _local3];
brick.filters = new Array(filter, filter2);
_local3++;
}
}
}
function uuenda4() {
aeg4 = Number(aeg4) - 1;
if ((aeg4 < 1) && (_root.bucket > 5)) {
_root.mood = "notrage";
restore();
randomBrick();
clearInterval(_root.interval4);
}
}
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 90;
_root.bucket = 0;
_root.mood = "notrage";
_root.interval6 = setInterval(uuenda6, 1005);
_root.dd = true;
_root.over = false;
var distance = 2;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 2;
var blurY = 2;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 4;
var blurY2 = 4;
var strength2 = 14;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
var color3 = 16777215;
var alpha3 = 1;
var blurX3 = 30;
var blurY3 = 30;
var strength3 = 5;
var quality3 = 3;
var inner3 = true;
var knockout3 = false;
var filter3 = (new flash.filters.GlowFilter(color3, alpha3, blurX3, blurY3, strength3, quality3, inner3, knockout3));
var color4 = 10079232;
var alpha4 = 0.5;
var blurX4 = 30;
var blurY4 = 30;
var strength4 = 5;
var quality4 = 3;
var inner4 = true;
var knockout4 = false;
var filter4 = (new flash.filters.GlowFilter(color4, alpha4, blurX4, blurY4, strength4, quality4, inner4, knockout4));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
brick.onRollOver = function () {
this.filters = new Array(filter3, filter, filter2);
if (this == _root.bricker) {
this.filters = new Array();
removeMovieClip(this.orange_mc1);
this.attachMovie("light", "light_mc1", this.getNextHighestDepth());
} else if (this == _root.bricker4) {
e++;
this.filters = new Array();
removeMovieClip(orange_add);
attachMovie("light", "light_mc1", e, {_x:brickWinner4._x, _y:brickWinner4._y});
} else if (this == _root.bricker2) {
if (_root.dd == true) {
e++;
this.filters = new Array();
removeMovieClip(bronze_mc1);
attachMovie("light", "light_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
} else {
bronze_mc1.stop();
this.filters = new Array(filter3, filter, filter2);
}
}
};
brick.onRollOut = function () {
this.filters = new Array(filter, filter2);
if (this == _root.bricker) {
removeMovieClip(this.light_mc1);
this.filters = new Array();
this.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
} else if (_root.mood == "rage") {
this.filters = new Array(filter4, filter, filter2);
} else if (this == _root.bricker2) {
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
brick.filters = new Array(filter, filter2);
e++;
attachMovie("bronze", "bronze_mc1", e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker4) {
brick.filters = new Array();
e++;
removeMovieClip(light_mc1);
attachMovie("orange2", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
};
brick.onPress = function () {
if (this._alpha == 100) {
_root.bucket = _root.bucket - 1;
}
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
if (_root.bucket == 5) {
rage();
brickWinner.swapDepths(highest);
}
if (this == _root.bricker) {
_root.stone = this;
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
this.swapDepths(highest);
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
randomBrick();
} else if ((_root.mood == "rage") && (this._alpha != 0)) {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker2) {
_root.mainContent_mc.times = _root.mainContent_mc.times + _root.times;
_root.mainContent_mc.score = _root.mainContent_mc.score + _root.fate;
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie(_root.fate_in_numbers, "+15" + e, e, {_x:this._x, _y:this._y});
_root.bricker2 = undefined;
} else if (this == _root.bricker4) {
if (_root.mainContent_mc.extra._currentframe > 20) {
_root.mainContent_mc.times = _root.mainContent_mc.times + 20;
_root.mainContent_mc.score = _root.mainContent_mc.score + 300;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("plus200", "+200" + e, e, {_x:this._x, _y:this._y + 10});
e++;
attachMovie("tensecs", "+2012" + e, e, {_x:this._x, _y:this._y - 10});
_root.bricker4 = undefined;
_root.mainContent_mc.extra.gotoAndStop(1);
} else {
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("secured", "+3d" + e, e, {_x:this._x, _y:this._y});
_root.bricker4 = undefined;
}
} else if (this._alpha == 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 1;
e++;
attachMovie("minus1", "-1" + e, e, {_x:this._x, _y:this._y});
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score - 2;
e++;
attachMovie("minus2", "-2" + e, e, {_x:this._x, _y:this._y});
}
this.useHandCursor = false;
this._alpha = 0;
};
i++;
}
e = 10000;
randomBrick();
aeg = 165;
_root.interval = setInterval(uuenda2, 15);
uuenda2();
Symbol 877 MovieClip Frame 1
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 85;
var distance = 2;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 2;
var blurY = 2;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 4;
var blurY2 = 4;
var strength2 = 14;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
i++;
}
Symbol 877 MovieClip Frame 2
function uuenda6() {
_root.mainContent_mc.times = _root.mainContent_mc.times - 1;
if (_root.mainContent_mc.times < 15) {
_root.hunter_sound.stop("hunter");
var _local2 = new Sound();
_local2.attachSound("alarm");
_local2.start();
var _local4 = new Color(_root.mainContent_mc.clock);
_local4.setRGB(16711680);
}
if (_root.mainContent_mc.times < 5) {
_local2.stop("alarm");
var _local3 = new Sound();
_local3.attachSound("end");
_local3.start();
}
if (_root.mainContent_mc.times < 1) {
brickWinner.swapDepths(highest);
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
control.gotoAndPlay("kolmas");
}
}
function randomBrick() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 5) {
winner = random(201) + 1;
brickWinner = this["q" + winner];
_root.bricker = brickWinner;
if (((brickWinner == undefined) || (brickWinner._alpha == 0)) || (brickWinner == _root.stone)) {
randomBrick();
} else if (brickWinner._alpha == 0) {
randomBrick();
} else {
brickWinner.filters = new Array();
brickWinner.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
brickWinner.swapDepths(highest);
}
}
}
}
function uuenda() {
if (_root.mainContent_mc.times > 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 5;
e++;
attachMovie("minus5", "-5" + e, e, {_x:brickWinner._x, _y:brickWinner._y});
removeMovieClip(brickWinner.orange_mc1);
removeMovieClip(brickWinner.light_mc1);
brickWinner.filters = new Array(filter, filter2);
brickWinner.swapDepths(highest);
randomBrick();
}
}
function uuenda2() {
aeg = Number(aeg) - 1;
if (aeg < 1) {
if (_root.mainContent_mc.times > 0) {
_root.over = false;
randomBrick2();
aeg = 160;
}
}
}
function randomBrick2() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 10) {
winner2 = random(201) + 1;
brickWinner2 = this["q" + winner2];
_root.bricker2 = brickWinner2;
if ((brickWinner2 == undefined) || (brickWinner2._alpha == 0)) {
randomBrick2();
} else if (brickWinner2._alpha == 0) {
randomBrick2();
} else {
e++;
attachMovie("bronze", "bronze_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
}
}
}
}
function uuenda3() {
if (_root.mainContent_mc.times > 0) {
brickWinner2.filters = new Array(filter, filter2);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
_root.dd = true;
_root.bricker2 = undefined;
}
}
function blockbuster() {
if (_root.bucket > 0) {
winner3 = random(201) + 1;
brickWinner3 = this["q" + winner3];
_root.bricker3 = brickWinner3;
if ((brickWinner3 == undefined) || (brickWinner3._alpha == 0)) {
blockbuster();
} else if (brickWinner3._alpha == 0) {
blockbuster();
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:brickWinner3._x, _y:brickWinner3._y});
brickWinner3._alpha = 0;
_root.bucket = _root.bucket - 1;
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
}
}
}
function buster() {
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
if (_root.bucket <= 5) {
rage();
}
}
function randomBrick4() {
if (_root.bucket > 5) {
if (_root.mainContent_mc.times > 0) {
winner4 = random(201) + 1;
brickWinner4 = this["q" + winner4];
_root.bricker4 = brickWinner4;
if ((brickWinner4 == undefined) || (brickWinner4._alpha == 0)) {
randomBrick4();
} else if (brickWinner4._alpha == 0) {
randomBrick4();
} else {
e++;
attachMovie("orange2", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
}
}
}
function uuenda5() {
if (_root.mainContent_mc.times > 0) {
brickWinner4.filters = new Array(filter, filter2);
removeMovieClip(orange_add);
_root.bricker4 = undefined;
}
}
function rage() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
_root.mood = "rage";
brick = this["q" + _local3];
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
brickWinner.swapDepths(highest);
_root.bricker = undefined;
brick.filters = new Array(filter4, filter, filter2);
_local3++;
}
aeg4 = 160;
_root.interval4 = setInterval(uuenda4, 15);
}
}
function restore() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
brick = this["q" + _local3];
brick.filters = new Array(filter, filter2);
_local3++;
}
}
}
function uuenda4() {
aeg4 = Number(aeg4) - 1;
if ((aeg4 < 1) && (_root.bucket > 5)) {
_root.mood = "notrage";
restore();
randomBrick();
clearInterval(_root.interval4);
}
}
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 85;
_root.bucket = 0;
_root.mood = "notrage";
_root.interval6 = setInterval(uuenda6, 1005);
_root.dd = true;
_root.over = false;
var distance = 2;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 2;
var blurY = 2;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 4;
var blurY2 = 4;
var strength2 = 14;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
var color3 = 16777215;
var alpha3 = 1;
var blurX3 = 30;
var blurY3 = 30;
var strength3 = 5;
var quality3 = 3;
var inner3 = true;
var knockout3 = false;
var filter3 = (new flash.filters.GlowFilter(color3, alpha3, blurX3, blurY3, strength3, quality3, inner3, knockout3));
var color4 = 10079232;
var alpha4 = 0.5;
var blurX4 = 30;
var blurY4 = 30;
var strength4 = 5;
var quality4 = 3;
var inner4 = true;
var knockout4 = false;
var filter4 = (new flash.filters.GlowFilter(color4, alpha4, blurX4, blurY4, strength4, quality4, inner4, knockout4));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
brick.onRollOver = function () {
this.filters = new Array(filter3, filter, filter2);
if (this == _root.bricker) {
this.filters = new Array();
removeMovieClip(this.orange_mc1);
this.attachMovie("light", "light_mc1", this.getNextHighestDepth());
} else if (this == _root.bricker4) {
e++;
this.filters = new Array();
removeMovieClip(orange_add);
attachMovie("light", "light_mc1", e, {_x:brickWinner4._x, _y:brickWinner4._y});
} else if (this == _root.bricker2) {
if (_root.dd == true) {
e++;
this.filters = new Array();
removeMovieClip(bronze_mc1);
attachMovie("light", "light_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
} else {
bronze_mc1.stop();
this.filters = new Array(filter3, filter, filter2);
}
}
};
brick.onRollOut = function () {
this.filters = new Array(filter, filter2);
if (this == _root.bricker) {
removeMovieClip(this.light_mc1);
this.filters = new Array();
this.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
} else if (_root.mood == "rage") {
this.filters = new Array(filter4, filter, filter2);
} else if (this == _root.bricker2) {
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
brick.filters = new Array(filter, filter2);
e++;
attachMovie("bronze", "bronze_mc1", e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker4) {
brick.filters = new Array();
e++;
removeMovieClip(light_mc1);
attachMovie("orange2", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
};
brick.onPress = function () {
if (this._alpha == 100) {
_root.bucket = _root.bucket - 1;
}
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
if (_root.bucket == 5) {
rage();
brickWinner.swapDepths(highest);
}
if (this == _root.bricker) {
_root.stone = this;
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
this.swapDepths(highest);
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
randomBrick();
} else if ((_root.mood == "rage") && (this._alpha != 0)) {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker2) {
_root.mainContent_mc.times = _root.mainContent_mc.times + _root.times;
_root.mainContent_mc.score = _root.mainContent_mc.score + _root.fate;
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie(_root.fate_in_numbers, "+15" + e, e, {_x:this._x, _y:this._y});
_root.bricker2 = undefined;
} else if (this == _root.bricker4) {
if (_root.mainContent_mc.extra._currentframe > 20) {
_root.mainContent_mc.times = _root.mainContent_mc.times + 20;
_root.mainContent_mc.score = _root.mainContent_mc.score + 300;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("plus200", "+200" + e, e, {_x:this._x, _y:this._y + 10});
e++;
attachMovie("tensecs", "+2012" + e, e, {_x:this._x, _y:this._y - 10});
_root.bricker4 = undefined;
_root.mainContent_mc.extra.gotoAndStop(1);
} else {
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("secured", "+3d" + e, e, {_x:this._x, _y:this._y});
_root.bricker4 = undefined;
}
} else if (this._alpha == 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 1;
e++;
attachMovie("minus1", "-1" + e, e, {_x:this._x, _y:this._y});
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score - 2;
e++;
attachMovie("minus2", "-2" + e, e, {_x:this._x, _y:this._y});
}
this.useHandCursor = false;
this._alpha = 0;
};
i++;
}
e = 10000;
randomBrick();
aeg = 160;
_root.interval = setInterval(uuenda2, 15);
uuenda2();
Symbol 878 MovieClip Frame 1
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 80;
var distance = 2;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 2;
var blurY = 2;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 4;
var blurY2 = 4;
var strength2 = 14;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
i++;
}
Symbol 878 MovieClip Frame 2
function uuenda6() {
_root.mainContent_mc.times = _root.mainContent_mc.times - 1;
if (_root.mainContent_mc.times < 15) {
_root.hunter_sound.stop("hunter");
var _local2 = new Sound();
_local2.attachSound("alarm");
_local2.start();
var _local4 = new Color(_root.mainContent_mc.clock);
_local4.setRGB(16711680);
}
if (_root.mainContent_mc.times < 5) {
_local2.stop("alarm");
var _local3 = new Sound();
_local3.attachSound("end");
_local3.start();
}
if (_root.mainContent_mc.times < 1) {
brickWinner.swapDepths(highest);
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
control.gotoAndPlay("kolmas");
}
}
function randomBrick() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 5) {
winner = random(201) + 1;
brickWinner = this["q" + winner];
_root.bricker = brickWinner;
if (((brickWinner == undefined) || (brickWinner._alpha == 0)) || (brickWinner == _root.stone)) {
randomBrick();
} else if (brickWinner._alpha == 0) {
randomBrick();
} else {
brickWinner.filters = new Array();
brickWinner.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
brickWinner.swapDepths(highest);
}
}
}
}
function uuenda() {
if (_root.mainContent_mc.times > 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 5;
e++;
attachMovie("minus5", "-5" + e, e, {_x:brickWinner._x, _y:brickWinner._y});
removeMovieClip(brickWinner.orange_mc1);
removeMovieClip(brickWinner.light_mc1);
brickWinner.filters = new Array(filter, filter2);
brickWinner.swapDepths(highest);
randomBrick();
}
}
function uuenda2() {
aeg = Number(aeg) - 1;
if (aeg < 1) {
if (_root.mainContent_mc.times > 0) {
_root.over = false;
randomBrick2();
aeg = 155;
}
}
}
function randomBrick2() {
if (_root.mainContent_mc.times > 0) {
if (_root.bucket > 10) {
winner2 = random(201) + 1;
brickWinner2 = this["q" + winner2];
_root.bricker2 = brickWinner2;
if ((brickWinner2 == undefined) || (brickWinner2._alpha == 0)) {
randomBrick2();
} else if (brickWinner2._alpha == 0) {
randomBrick2();
} else {
e++;
attachMovie("bronze", "bronze_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
}
}
}
}
function uuenda3() {
if (_root.mainContent_mc.times > 0) {
brickWinner2.filters = new Array(filter, filter2);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
_root.dd = true;
_root.bricker2 = undefined;
}
}
function blockbuster() {
if (_root.bucket > 0) {
winner3 = random(201) + 1;
brickWinner3 = this["q" + winner3];
_root.bricker3 = brickWinner3;
if ((brickWinner3 == undefined) || (brickWinner3._alpha == 0)) {
blockbuster();
} else if (brickWinner3._alpha == 0) {
blockbuster();
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:brickWinner3._x, _y:brickWinner3._y});
brickWinner3._alpha = 0;
_root.bucket = _root.bucket - 1;
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
}
}
}
function buster() {
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
blockbuster();
if (_root.bucket <= 5) {
rage();
}
}
function randomBrick4() {
if (_root.bucket > 5) {
if (_root.mainContent_mc.times > 0) {
winner4 = random(201) + 1;
brickWinner4 = this["q" + winner4];
_root.bricker4 = brickWinner4;
if ((brickWinner4 == undefined) || (brickWinner4._alpha == 0)) {
randomBrick4();
} else if (brickWinner4._alpha == 0) {
randomBrick4();
} else {
e++;
attachMovie("orange2", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
}
}
}
function uuenda5() {
if (_root.mainContent_mc.times > 0) {
brickWinner4.filters = new Array(filter, filter2);
removeMovieClip(orange_add);
_root.bricker4 = undefined;
}
}
function rage() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
_root.mood = "rage";
brick = this["q" + _local3];
removeMovieClip(orange_add);
removeMovieClip(orange_mc1);
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
removeMovieClip(brick.orange_mc1);
removeMovieClip(brick.light_mc1);
brickWinner.swapDepths(highest);
_root.bricker = undefined;
brick.filters = new Array(filter4, filter, filter2);
_local3++;
}
aeg4 = 160;
_root.interval4 = setInterval(uuenda4, 15);
}
}
function restore() {
if (_root.mainContent_mc.times > 0) {
var _local3 = 1;
while (_local3 <= 201) {
brick = this["q" + _local3];
brick.filters = new Array(filter, filter2);
_local3++;
}
}
}
function uuenda4() {
aeg4 = Number(aeg4) - 1;
if ((aeg4 < 1) && (_root.bucket > 5)) {
_root.mood = "notrage";
restore();
randomBrick();
clearInterval(_root.interval4);
}
}
stop();
clearInterval(_root.interval4);
clearInterval(_root.interval);
clearInterval(_root.interval6);
_root.mainContent_mc.times = 80;
_root.bucket = 0;
_root.mood = "notrage";
_root.interval6 = setInterval(uuenda6, 1005);
_root.dd = true;
_root.over = false;
var distance = 2;
var angleInDegrees = 80;
var highlightColor = 16777215;
var highlightAlpha = 0.4;
var shadowColor = 0;
var shadowAlpha = 0.4;
var blurX = 2;
var blurY = 2;
var strength = 4;
var quality = 3;
var type = "inner";
var knockout = false;
var filter = (new flash.filters.BevelFilter(distance, angleInDegrees, highlightColor, highlightAlpha, shadowColor, shadowAlpha, blurX, blurY, strength, quality, type, knockout));
var color2 = 4802889;
var alpha2 = 2;
var blurX2 = 4;
var blurY2 = 4;
var strength2 = 14;
var quality2 = 3;
var inner2 = false;
var knockout2 = false;
var filter2 = (new flash.filters.GlowFilter(color2, alpha2, blurX2, blurY2, strength2, quality2, inner2, knockout2));
var color3 = 16777215;
var alpha3 = 1;
var blurX3 = 30;
var blurY3 = 30;
var strength3 = 5;
var quality3 = 3;
var inner3 = true;
var knockout3 = false;
var filter3 = (new flash.filters.GlowFilter(color3, alpha3, blurX3, blurY3, strength3, quality3, inner3, knockout3));
var color4 = 10079232;
var alpha4 = 0.5;
var blurX4 = 30;
var blurY4 = 30;
var strength4 = 5;
var quality4 = 3;
var inner4 = true;
var knockout4 = false;
var filter4 = (new flash.filters.GlowFilter(color4, alpha4, blurX4, blurY4, strength4, quality4, inner4, knockout4));
this.createEmptyMovieClip("highest", this.getNextHighestDepth);
var i = 1;
while (i <= 201) {
brick = this["q" + i];
if (brick != undefined) {
_root.bucket = _root.bucket + 1;
}
brick.filters = new Array(filter, filter2);
brick.onRollOver = function () {
this.filters = new Array(filter3, filter, filter2);
if (this == _root.bricker) {
this.filters = new Array();
removeMovieClip(this.orange_mc1);
this.attachMovie("light", "light_mc1", this.getNextHighestDepth());
} else if (this == _root.bricker4) {
e++;
this.filters = new Array();
removeMovieClip(orange_add);
attachMovie("light", "light_mc1", e, {_x:brickWinner4._x, _y:brickWinner4._y});
} else if (this == _root.bricker2) {
if (_root.dd == true) {
e++;
this.filters = new Array();
removeMovieClip(bronze_mc1);
attachMovie("light", "light_mc1", e, {_x:brickWinner2._x, _y:brickWinner2._y});
} else {
bronze_mc1.stop();
this.filters = new Array(filter3, filter, filter2);
}
}
};
brick.onRollOut = function () {
this.filters = new Array(filter, filter2);
if (this == _root.bricker) {
removeMovieClip(this.light_mc1);
this.filters = new Array();
this.attachMovie("orange", "orange_mc1", this.getNextHighestDepth());
} else if (_root.mood == "rage") {
this.filters = new Array(filter4, filter, filter2);
} else if (this == _root.bricker2) {
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
brick.filters = new Array(filter, filter2);
e++;
attachMovie("bronze", "bronze_mc1", e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker4) {
brick.filters = new Array();
e++;
removeMovieClip(light_mc1);
attachMovie("orange2", "orange_add", e, {_x:brickWinner4._x, _y:brickWinner4._y});
}
};
brick.onPress = function () {
if (this._alpha == 100) {
_root.bucket = _root.bucket - 1;
}
if (_root.bucket == 0) {
if (_root.mainContent_mc.score > 0) {
control.gotoAndStop("teine");
} else {
_root.negativescore = true;
control.gotoAndPlay("kolmas");
}
}
if (_root.bucket == 5) {
rage();
brickWinner.swapDepths(highest);
}
if (this == _root.bricker) {
_root.stone = this;
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
this.swapDepths(highest);
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
randomBrick();
} else if ((_root.mood == "rage") && (this._alpha != 0)) {
_root.mainContent_mc.score = _root.mainContent_mc.score + 3;
e++;
attachMovie("plus3", "+3" + e, e, {_x:this._x, _y:this._y});
} else if (this == _root.bricker2) {
_root.mainContent_mc.times = _root.mainContent_mc.times + _root.times;
_root.mainContent_mc.score = _root.mainContent_mc.score + _root.fate;
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie(_root.fate_in_numbers, "+15" + e, e, {_x:this._x, _y:this._y});
_root.bricker2 = undefined;
} else if (this == _root.bricker4) {
if (_root.mainContent_mc.extra._currentframe > 20) {
_root.mainContent_mc.times = _root.mainContent_mc.times + 20;
_root.mainContent_mc.score = _root.mainContent_mc.score + 300;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("plus200", "+200" + e, e, {_x:this._x, _y:this._y + 10});
e++;
attachMovie("tensecs", "+2012" + e, e, {_x:this._x, _y:this._y - 10});
_root.bricker4 = undefined;
_root.mainContent_mc.extra.gotoAndStop(1);
} else {
e++;
removeMovieClip(bronze_mc1);
removeMovieClip(light_mc1);
attachMovie("secured", "+3d" + e, e, {_x:this._x, _y:this._y});
_root.bricker4 = undefined;
}
} else if (this._alpha == 0) {
_root.mainContent_mc.score = _root.mainContent_mc.score - 1;
e++;
attachMovie("minus1", "-1" + e, e, {_x:this._x, _y:this._y});
} else {
_root.mainContent_mc.score = _root.mainContent_mc.score - 2;
e++;
attachMovie("minus2", "-2" + e, e, {_x:this._x, _y:this._y});
}
this.useHandCursor = false;
this._alpha = 0;
};
i++;
}
e = 10000;
randomBrick();
aeg = 155;
_root.interval = setInterval(uuenda2, 15);
uuenda2();
Symbol 885 Button
on (release) {
points = sc.score.text;
if (cl.clan.text != "") {
dude = (("[" + cl.clan.text) + "]") + na.name.text;
} else {
dude = na.name.text;
}
trace(dude);
trace(points);
_root.pass = "oravapoiss";
_root.name = dude;
_root.score = points;
somevar = random(9999);
_root.saada();
_root.back = true;
_root.highscore = false;
_root.gotoAndStop(4);
}
Symbol 888 MovieClip Frame 664
stop();