Frame 1
lo = (_root.getBytesLoaded() / (_root.getBytesTotal() + _root.getBytesLoaded())) * 200;
setProperty("lo", _width , lo);
Frame 2
lo = (_root.getBytesLoaded() / (_root.getBytesTotal() + _root.getBytesLoaded())) * 200;
setProperty("lo", _width , lo);
Frame 3
lo = (_root.getBytesLoaded() / (_root.getBytesTotal() + _root.getBytesLoaded())) * 200;
setProperty("lo", _width , lo);
Frame 4
lo = (_root.getBytesLoaded() / (_root.getBytesTotal() + _root.getBytesLoaded())) * 200;
setProperty("lo", _width , lo);
Frame 5
lo = (_root.getBytesLoaded() / (_root.getBytesTotal() + _root.getBytesLoaded())) * 200;
setProperty("lo", _width , lo);
Frame 6
lo = (_root.getBytesLoaded() / (_root.getBytesTotal() + _root.getBytesLoaded())) * 200;
setProperty("lo", _width , lo);
ifFrameLoaded (9) {
gotoAndPlay (8);
}
Frame 7
gotoAndPlay (1);
Frame 8
stop();
Frame 9
total = 0;
hit = 0;
miss = 0;
tick = 1;
tick2 = 5;
score = 0;
duplicateMovieClip ("shooter", "shooterdup", 4000);
startDrag ("/shooterdup", true);
currentweapon = "rifle";
tellTarget (level) {
gotoAndPlay ("level1");
};
Frame 18
val = random(3) + 1;
if (tick >= 10) {
tick = 0;
}
duplicateMovieClip ("pumpa", "pumpa" + tick, tick);
total = ++total;
removeMovieClip("pumpa" + tick(-1));
setProperty("pumpa" + tick, _x , random(500) + 50);
setProperty("pumpa" + tick, _y , random(250) + 50);
tick = ++tick;
Frame 24
if (total >= 20) {
tellTarget ("/suprise_level2") {
play();
};
tellTarget ("level") {
gotoAndPlay ("level2");
trace("telltarget - Now lets play LEVEL 2 !");
};
gotoAndPlay (25);
} else {
gotoAndPlay (18);
}
Frame 25
val = random(3) + 1;
if (tick >= 10) {
tick = 0;
}
duplicateMovieClip ("bock", "bock" + tick, tick);
total = ++total;
removeMovieClip("bock" + tick(-1));
setProperty("bock" + tick, _x , random(500) + 50);
setProperty("bock" + tick, _y , random(250) + 50);
tick = ++tick;
Frame 31
if (total >= 40) {
tellTarget ("/suprise_level2") {
play();
};
tellTarget ("level") {
gotoAndPlay ("level3");
trace("telltarget - Now lets play LEVEL 3 !");
};
gotoAndPlay (32);
} else {
gotoAndPlay (25);
}
Frame 32
val = random(3) + 1;
if (tick >= 10) {
tick = 0;
}
duplicateMovieClip ("kula", "kula" + tick, tick);
total = ++total;
removeMovieClip("kula" + tick(-1));
setProperty("kula" + tick, _x , random(500) + 50);
setProperty("kula" + tick, _y , random(250) + 50);
tick = ++tick;
Frame 38
if (total >= 60) {
tellTarget ("level") {
gotoAndPlay ("level3");
trace("telltarget - GAME OVER DUDE!");
};
gotoAndPlay (53);
} else {
gotoAndPlay (32);
}
Frame 53
i = 1;
while (i < 1000) {
removeMovieClip("bock" + i);
removeMovieClip("pumpa" + i);
removeMovieClip("kula" + i);
i = i + 1;
}
stopDrag();
removeMovieClip("/shooterdup");
Frame 62
getURL ("hiscore.php?action=post", "", "POST");
Symbol 13 Button
on (press) {
miss = miss + 1;
if (currentweapon eq "rifle") {
score = --score;
score = --score;
score = --score;
score = --score;
score = --score;
score = --score;
score = --score;
score = --score;
pang = new Sound();
pang.attachSound("gun");
pang.start();
trace(currentweapon + " - gun");
} else {
pang = new Sound();
pang.attachSound("skunk");
pang.start();
trace(currentweapon + "skunk");
}
}
on (release) {
if (currentweapon eq "rifle") {
rico = new Sound();
rico.attachSound("rico");
rico.start();
trace(currentweapon + "rico");
} else {
trace(currentweapon + "skunk does not rico's");
}
}
Symbol 26 Button
on (release) {
play();
}
Symbol 40 MovieClip Frame 14
stop();
Symbol 46 MovieClip Frame 1
stop();
Symbol 46 MovieClip Frame 4
gotoAndPlay (1);
Symbol 46 MovieClip Frame 5
stop();
Symbol 53 Button
on (release) {
gotoAndPlay (30);
}
Symbol 56 MovieClip Frame 7
stop();
Symbol 57 MovieClip Frame 1
stop();
Symbol 57 MovieClip Frame 19
stop();
Symbol 65 Button
on (press) {
_root.hit = _root.hit + 1;
trace("pang-rifle");
if (_root.currentweapon eq "rifle") {
tellTarget ("/shooterdup") {
play();
};
if (_root.val eq "1") {
gotoAndPlay (20);
} else if (_root.val eq "2") {
gotoAndPlay (40);
} else if (_root.val eq "3") {
gotoAndPlay (80);
}
} else if (_root.currentweapon eq "skunk") {
trace("kan inte skjuta med SKUNKEN");
}
}
Symbol 82 MovieClip Frame 1
count = 70;
Symbol 82 MovieClip Frame 2
count = --count;
Symbol 82 MovieClip Frame 3
count = --count;
Symbol 82 MovieClip Frame 4
count = --count;
Symbol 82 MovieClip Frame 5
count = --count;
Symbol 82 MovieClip Frame 6
count = --count;
Symbol 82 MovieClip Frame 7
count = --count;
gotoAndPlay (2);
Symbol 82 MovieClip Frame 8
count = --count;
Symbol 82 MovieClip Frame 9
count = --count;
Symbol 82 MovieClip Frame 10
count = --count;
Symbol 82 MovieClip Frame 11
count = --count;
Symbol 82 MovieClip Frame 12
count = --count;
Symbol 82 MovieClip Frame 20
_root.score = _root.score + count;
Symbol 82 MovieClip Frame 31
removeMovieClip("");
removeMovieClip("");
removeMovieClip("");
gotoAndPlay (1);
Symbol 82 MovieClip Frame 40
_root.score = (_root.score + count) + 15;
Symbol 82 MovieClip Frame 63
removeMovieClip("");
removeMovieClip("");
removeMovieClip("");
gotoAndPlay (1);
Symbol 82 MovieClip Frame 80
_root.score = _root.score + count;
Symbol 82 MovieClip Frame 103
removeMovieClip("");
removeMovieClip("");
removeMovieClip("");
gotoAndPlay (1);
Symbol 84 Button
on (press) {
_root.hit = _root.hit + 1;
trace("pang-rifle");
if (_root.currentweapon eq "rifle") {
tellTarget ("/shooterdup") {
play();
};
if (_root.val eq "1") {
gotoAndPlay (20);
} else if (_root.val eq "2") {
gotoAndPlay (40);
} else if (_root.val eq "3") {
gotoAndPlay (40);
}
} else if (_root.currentweapon eq "skunk") {
trace("kan inte skjuta med SKUNKEN");
}
}
Symbol 99 MovieClip Frame 1
count = 71;
Symbol 99 MovieClip Frame 2
count = --count;
Symbol 99 MovieClip Frame 3
count = --count;
Symbol 99 MovieClip Frame 4
count = --count;
Symbol 99 MovieClip Frame 5
count = --count;
Symbol 99 MovieClip Frame 6
count = --count;
Symbol 99 MovieClip Frame 7
count = --count;
Symbol 99 MovieClip Frame 8
count = --count;
Symbol 99 MovieClip Frame 9
count = --count;
Symbol 99 MovieClip Frame 10
count = --count;
Symbol 99 MovieClip Frame 11
count = --count;
gotoAndPlay (2);
Symbol 99 MovieClip Frame 12
count = --count;
Symbol 99 MovieClip Frame 13
count = --count;
Symbol 99 MovieClip Frame 14
count = --count;
Symbol 99 MovieClip Frame 20
_root.score = (_root.score + count) + 10;
Symbol 99 MovieClip Frame 38
removeMovieClip("");
removeMovieClip("");
removeMovieClip("");
gotoAndPlay (1);
Symbol 99 MovieClip Frame 40
_root.score = _root.score + count;
Symbol 99 MovieClip Frame 63
removeMovieClip("");
removeMovieClip("");
removeMovieClip("");
gotoAndPlay (1);
Symbol 101 Button
on (press) {
_root.hit = _root.hit + 1;
trace("pang-rifle");
if (_root.currentweapon eq "rifle") {
tellTarget ("/shooterdup") {
play();
};
if (_root.val eq "1") {
gotoAndPlay (20);
} else if (_root.val eq "2") {
gotoAndPlay (20);
} else if (_root.val eq "3") {
gotoAndPlay (20);
}
} else if (_root.currentweapon eq "skunk") {
trace("kan inte skjuta med SKUNKEN");
}
}
Symbol 115 MovieClip Frame 1
count = 64;
Symbol 115 MovieClip Frame 2
count = --count;
Symbol 115 MovieClip Frame 3
count = --count;
Symbol 115 MovieClip Frame 4
count = --count;
Symbol 115 MovieClip Frame 5
count = --count;
Symbol 115 MovieClip Frame 6
count = --count;
Symbol 115 MovieClip Frame 7
count = --count;
Symbol 115 MovieClip Frame 8
count = --count;
Symbol 115 MovieClip Frame 9
count = --count;
Symbol 115 MovieClip Frame 10
count = --count;
Symbol 115 MovieClip Frame 11
count = --count;
Symbol 115 MovieClip Frame 12
count = --count;
Symbol 115 MovieClip Frame 13
count = --count;
gotoAndPlay (2);
Symbol 115 MovieClip Frame 20
_root.score = _root.score + count;
Symbol 115 MovieClip Frame 38
removeMovieClip("");
removeMovieClip("");
removeMovieClip("");
gotoAndPlay (1);
Symbol 119 MovieClip Frame 8
stop();
Symbol 119 MovieClip Frame 17
stop();
Symbol 119 MovieClip Frame 27
stop();