Frame 1
mochi.MochiServices.connect("eca163a6dc9c7da5");
MochiAd.showPreGameAd({id:"eca163a6dc9c7da5", res:"800x600", background:0, color:65297, outline:16777215, no_bg:true});
_quality = "Best";
stop();
Frame 2
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__("20ba7d50", this, 10301, true);
stop();
Frame 3
stop();
Frame 4
mochi.MochiScores.closeLeaderboard();
var blip = new Sound();
_root.blip.setVolume(100);
blip.attachSound("menu_blip");
var ammo_out = new Sound();
_root.ammo_out.setVolume(100);
ammo_out.attachSound("ammo_out");
var gunfire = new Sound();
_root.gunfire.setVolume(50);
gunfire.attachSound("fire2");
var boom = new Sound();
_root.boom.setVolume(100);
boom.attachSound("boom");
var level_up = new Sound();
_root.level_up.setVolume(100);
level_up.attachSound("level_up");
var live_up = new Sound();
_root.live_up.setVolume(100);
live_up.attachSound("live_up");
_global.final_score = 0;
stop();
_global.arrow = 1;
_global.button = 0;
_quality = "Low";
Frame 5
function spawn_c(circle) {
screen_side = Math.random() * 2;
_root.box6 = screen_side;
_root.target_dumb.duplicateMovieClip("target_dumb" + _global.tarcount, _global.tarcount + 100);
_root["target_dumb" + _global.tarcount]._visible = true;
if (screen_side < 1) {
_root["target_dumb" + _global.tarcount]._x = -15;
}
if (screen_side > 1) {
_root["target_dumb" + _global.tarcount]._x = 815;
}
_root["target_dumb" + _global.tarcount]._y = Math.random() * 600;
_global.tarcount = _global.tarcount + 1;
}
function spawn_s(square) {
screen_side = Math.random() * 2;
_root.box6 = screen_side;
_root.target_smart.duplicateMovieClip("target_smart" + _global.tarcount, _global.tarcount + 100);
_root["target_smart" + _global.tarcount]._visible = true;
if (screen_side < 1) {
_root["target_smart" + _global.tarcount]._x = -15;
}
if (screen_side > 1) {
_root["target_smart" + _global.tarcount]._x = 815;
}
_root["target_smart" + _global.tarcount]._y = Math.random() * 600;
_global.tarcount = _global.tarcount + 1;
}
function spawn_t(triangle) {
screen_side = Math.random() * 2;
_root.box6 = screen_side;
_root.target_trap.duplicateMovieClip("target_trap" + _global.tarcount, _global.tarcount + 100);
_root["target_trap" + _global.tarcount]._visible = true;
if (screen_side < 1) {
_root["target_trap" + _global.tarcount]._x = -15;
}
if (screen_side > 1) {
_root["target_trap" + _global.tarcount]._x = 815;
}
_root["target_trap" + _global.tarcount]._y = Math.random() * 600;
_global.tarcount = _global.tarcount + 1;
}
function tele_ent(ent) {
_root.tele_1.duplicateMovieClip("tele" + _global.tarcount, _global.tarcount + 100);
_root["tele" + _global.tarcount]._y = 150;
_root["tele" + _global.tarcount]._x = 150 + random(500);
_global.tarcount = _global.tarcount + 1;
}
function tele_exit(exit) {
_root.tele_2.duplicateMovieClip("telex" + _global.tarcount, _global.tarcount + 100);
_root["telex" + _global.tarcount]._y = 450;
_root["telex" + _global.tarcount]._x = 150 + random(500);
_global.tarcount = _global.tarcount + 1;
}
stop();
_global.infinite_ammo = 1;
_global.tut = 1;
_global.teleports = 0;
_global.god = 0;
_global.lives = 3;
_global.bar = 0;
_global.score = 0;
_global.ammo = 40;
_global.respawn = 0;
_global.relo = 1;
_global.dif = 2;
_global.trail_offset = 2;
_global.ai = 1;
_global.tarcount = 0;
_global.kills = 0;
part_counter = 0;
particle_limit = 5;
parts = 0;
shotcount = 1;
tars = 1;
tarcount = 0;
Instance of Symbol 154 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (tut == 1) {
this._visible = false;
}
if (tut == 0) {
if (_global.lives == 6) {
this.gotoAndStop(1);
}
if (_global.lives == 5) {
this.gotoAndStop(2);
}
if (_global.lives == 4) {
this.gotoAndStop(3);
}
if (_global.lives == 3) {
this.gotoAndStop(4);
}
if (_global.lives == 2) {
this.gotoAndStop(5);
}
if (_global.lives == 1) {
this.gotoAndStop(6);
}
if (_global.lives == 0) {
this.gotoAndStop(7);
}
}
}
Instance of Symbol 160 MovieClip "ammo_t" in Frame 5
onClipEvent (enterFrame) {
if (_global.infinite_ammo == 1) {
this._visible = false;
}
}
Instance of Symbol 166 MovieClip "tele_1" in Frame 5
onClipEvent (enterFrame) {
if (_root.user.user_art.hitTest(this._x, this._y)) {
i = 0;
while (i <= _global.tarcount) {
_root.user._x = eval ("_root.telex" + i)._x;
_root.user._y = eval ("_root.telex" + i)._y;
i++;
}
_global.teleports = _global.teleports + 1;
}
}
Instance of Symbol 169 MovieClip in Frame 5
onClipEvent (enterFrame) {
_root.box20 = _global.kills;
_root.box18 = _root.tutorial.timer;
_root.box7 = _root.part_counter;
_root.score_t.score = _global.score;
_root.ammo_t.ammo = _global.ammo;
_root.box4 = _global.tarcount;
_global.player_x = _root.user._x;
_global.player_y = _root.user._y;
_root.box = _root.user.speed_x;
_root.box2 = _root.user.speed_y;
_root.box3 = _global.player_speed;
_global.player_speed = _root.user.speed_y + _root.user.speed_x;
}
Instance of Symbol 177 MovieClip "trail_6" in Frame 5
onClipEvent (enterFrame) {
this._x = this._x - ((this._x - _root.trail_5._x) / _global.trail_offset);
this._y = this._y - ((this._y - _root.trail_5._y) / _global.trail_offset);
}
Instance of Symbol 179 MovieClip "trail_5" in Frame 5
onClipEvent (enterFrame) {
this._x = this._x - ((this._x - _root.trail_4._x) / _global.trail_offset);
this._y = this._y - ((this._y - _root.trail_4._y) / _global.trail_offset);
}
Instance of Symbol 181 MovieClip "trail_4" in Frame 5
onClipEvent (enterFrame) {
this._x = this._x - ((this._x - _root.trail_3._x) / _global.trail_offset);
this._y = this._y - ((this._y - _root.trail_3._y) / _global.trail_offset);
}
Instance of Symbol 183 MovieClip "trail_3" in Frame 5
onClipEvent (enterFrame) {
this._x = this._x - ((this._x - _root.trail_2._x) / _global.trail_offset);
this._y = this._y - ((this._y - _root.trail_2._y) / _global.trail_offset);
}
Instance of Symbol 185 MovieClip "trail_2" in Frame 5
onClipEvent (enterFrame) {
this._x = this._x - ((this._x - _root.trail_1._x) / _global.trail_offset);
this._y = this._y - ((this._y - _root.trail_1._y) / _global.trail_offset);
}
Instance of Symbol 187 MovieClip "trail_1" in Frame 5
onClipEvent (enterFrame) {
this._x = _global.player_x;
this._y = _global.player_y;
}
Instance of Symbol 199 MovieClip "user" in Frame 5
onClipEvent (load) {
speed_x = 0;
speed_y = 0;
acc_x = 0.8;
acc_y = 0.8;
dec_x = 0.95;
dec_y = 0.95;
i = 1;
}
onClipEvent (enterFrame) {
if (this._x > 811) {
this._x = -12;
}
if (this._x < -12) {
this._x = 811;
}
if (this._y > 618) {
this._y = -18;
}
if (this._y < -18) {
this._y = 618;
}
this._x = this._x + speed_x;
this._y = this._y + speed_y;
if (_global.bar == 0) {
if (Key.isDown(87) || (Key.isDown(38))) {
speed_y = speed_y - acc_y;
}
if (Key.isDown(83) || (Key.isDown(40))) {
speed_y = speed_y + acc_y;
}
if (Key.isDown(65) || (Key.isDown(37))) {
speed_x = speed_x - acc_y;
}
if (Key.isDown(68) || (Key.isDown(39))) {
speed_x = speed_x + acc_y;
}
speed_y = speed_y * dec_y;
speed_x = speed_x * dec_x;
}
}
Instance of Symbol 202 MovieClip "shot" in Frame 5
onClipEvent (load) {
if (this._name == "shot") {
this._visible = false;
} else {
this._visible = true;
}
this._x = _root.user._x;
this._y = _root.user._y;
shotxspeed = 20 * Math.sin(_root.user.gun._rotation * (Math.PI/180));
shotyspeed = 20 * Math.cos(_root.user.gun._rotation * (Math.PI/180));
}
onClipEvent (enterFrame) {
this._x = this._x + shotxspeed;
this._y = this._y - shotyspeed;
if (this._x < 0) {
this.removeMovieClip();
}
if (this._x > 800) {
this.removeMovieClip();
}
if (this._y > 600) {
this.removeMovieClip();
}
if (this._y < 0) {
this.removeMovieClip();
}
}
Frame 6
_root.score = _global.score;
_root.ammo_bonus = _global.ammo * 10;
_global.final_score = _root.ammo_bonus + _root.score;
_root.final_score = _global.final_score;
stop();
i = 0;
while (i <= _global.tarcount) {
eval ("_root.target_dumb" + i).unloadMovie();
eval ("_root.target_smart" + i).unloadMovie();
eval ("_root.target_trap" + i).unloadMovie();
eval ("_root.tele" + i).unloadMovie();
eval ("_root.telex" + i).unloadMovie();
i++;
}
Frame 7
function spawn_c(circle) {
screen_side = Math.random() * 2;
_root.box6 = screen_side;
_root.target_dumb.duplicateMovieClip("target_dumb" + _global.tarcount, _global.tarcount + 100);
_root["target_dumb" + _global.tarcount]._visible = true;
if (screen_side < 1) {
_root["target_dumb" + _global.tarcount]._x = -15;
}
if (screen_side > 1) {
_root["target_dumb" + _global.tarcount]._x = 815;
}
_root["target_dumb" + _global.tarcount]._y = Math.random() * 600;
_global.tarcount = _global.tarcount + 1;
}
function spawn_s(square) {
screen_side = Math.random() * 2;
_root.box6 = screen_side;
_root.target_smart.duplicateMovieClip("target_smart" + _global.tarcount, _global.tarcount + 100);
_root["target_smart" + _global.tarcount]._visible = true;
if (screen_side < 1) {
_root["target_smart" + _global.tarcount]._x = -15;
}
if (screen_side > 1) {
_root["target_smart" + _global.tarcount]._x = 815;
}
_root["target_smart" + _global.tarcount]._y = Math.random() * 600;
_global.tarcount = _global.tarcount + 1;
}
function spawn_t(triangle) {
screen_side = Math.random() * 2;
_root.box6 = screen_side;
_root.target_trap.duplicateMovieClip("target_trap" + _global.tarcount, _global.tarcount + 100);
_root["target_trap" + _global.tarcount]._visible = true;
if (screen_side < 1) {
_root["target_trap" + _global.tarcount]._x = -15;
}
if (screen_side > 1) {
_root["target_trap" + _global.tarcount]._x = 815;
}
_root["target_trap" + _global.tarcount]._y = Math.random() * 600;
_global.tarcount = _global.tarcount + 1;
}
function tele_ent(ent) {
_root.tele_1.duplicateMovieClip("tele" + _global.tele, _global.tele + 100);
_root["tele" + _global.tele]._y = 150;
_root["tele" + _global.tele]._x = 150 + random(500);
_global.tele = _global.tele + 1;
}
function tele_exit(exit) {
_root.tele_2.duplicateMovieClip("telex" + _global.tele, _global.tele + 100);
_root["telex" + _global.tele]._y = 450;
_root["telex" + _global.tele]._x = 150 + random(500);
_global.tele = _global.tele + 1;
}
stop();
_global.lvl = 0;
_global.infinite_ammo = 0;
_global.tut = 0;
_global.teleports = 0;
_global.god = 0;
_global.lives = 6;
_global.bar = 0;
_global.score = 0;
_global.ammo = 50;
_global.respawn = 0;
_global.relo = 1;
_global.dif = 2;
_global.trail_offset = 2;
_global.ai = 1;
_global.tarcount = 0;
_global.tele = 0;
_global.kills = 0;
_global.tele = 5;
i = 0;
part_counter = 0;
particle_limit = 5;
parts = 0;
shotcount = 0;
tars = 0;
tarcount = 0;
Instance of Symbol 154 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (tut == 1) {
this._visible = false;
}
if (tut == 0) {
if (_global.lives == 6) {
this.gotoAndStop(1);
}
if (_global.lives == 5) {
this.gotoAndStop(2);
}
if (_global.lives == 4) {
this.gotoAndStop(3);
}
if (_global.lives == 3) {
this.gotoAndStop(4);
}
if (_global.lives == 2) {
this.gotoAndStop(5);
}
if (_global.lives == 1) {
this.gotoAndStop(6);
}
if (_global.lives == 0) {
this.gotoAndStop(7);
}
}
}
Instance of Symbol 160 MovieClip "ammo_t" in Frame 7
onClipEvent (enterFrame) {
if (_global.infinite_ammo == 1) {
this._visible = false;
}
}
Instance of Symbol 166 MovieClip "tele_1" in Frame 7
onClipEvent (enterFrame) {
if (_root.user.user_art.hitTest(this._x, this._y)) {
i = 0;
while (i <= _global.tele) {
_root.user._x = eval ("_root.telex" + i)._x;
_root.user._y = eval ("_root.telex" + i)._y;
i++;
}
_global.teleports = _global.teleports + 1;
}
}
Instance of Symbol 169 MovieClip in Frame 7
onClipEvent (enterFrame) {
_root.box20 = _global.kills;
_root.box18 = _root.tutorial.timer;
_root.box7 = _root.part_counter;
_root.score_t.score = _global.score;
_root.ammo_t.ammo = _global.ammo;
_root.box4 = _global.tarcount;
_global.player_x = _root.user._x;
_global.player_y = _root.user._y;
_root.box = _root.user.speed_x;
_root.box2 = _root.user.speed_y;
_root.box3 = _global.player_speed;
_global.player_speed = _root.user.speed_y + _root.user.speed_x;
}
Instance of Symbol 177 MovieClip "trail_6" in Frame 7
onClipEvent (enterFrame) {
this._x = this._x - ((this._x - _root.trail_5._x) / _global.trail_offset);
this._y = this._y - ((this._y - _root.trail_5._y) / _global.trail_offset);
}
Instance of Symbol 179 MovieClip "trail_5" in Frame 7
onClipEvent (enterFrame) {
this._x = this._x - ((this._x - _root.trail_4._x) / _global.trail_offset);
this._y = this._y - ((this._y - _root.trail_4._y) / _global.trail_offset);
}
Instance of Symbol 181 MovieClip "trail_4" in Frame 7
onClipEvent (enterFrame) {
this._x = this._x - ((this._x - _root.trail_3._x) / _global.trail_offset);
this._y = this._y - ((this._y - _root.trail_3._y) / _global.trail_offset);
}
Instance of Symbol 183 MovieClip "trail_3" in Frame 7
onClipEvent (enterFrame) {
this._x = this._x - ((this._x - _root.trail_2._x) / _global.trail_offset);
this._y = this._y - ((this._y - _root.trail_2._y) / _global.trail_offset);
}
Instance of Symbol 185 MovieClip "trail_2" in Frame 7
onClipEvent (enterFrame) {
this._x = this._x - ((this._x - _root.trail_1._x) / _global.trail_offset);
this._y = this._y - ((this._y - _root.trail_1._y) / _global.trail_offset);
}
Instance of Symbol 187 MovieClip "trail_1" in Frame 7
onClipEvent (enterFrame) {
this._x = _global.player_x;
this._y = _global.player_y;
}
Instance of Symbol 199 MovieClip "user" in Frame 7
onClipEvent (load) {
speed_x = 0;
speed_y = 0;
acc_x = 0.8;
acc_y = 0.8;
dec_x = 0.95;
dec_y = 0.95;
i = 1;
}
onClipEvent (enterFrame) {
if (this._x > 811) {
this._x = -12;
}
if (this._x < -12) {
this._x = 811;
}
if (this._y > 618) {
this._y = -18;
}
if (this._y < -18) {
this._y = 618;
}
this._x = this._x + speed_x;
this._y = this._y + speed_y;
if (_global.bar == 0) {
if (Key.isDown(87) || (Key.isDown(38))) {
speed_y = speed_y - acc_y;
}
if (Key.isDown(83) || (Key.isDown(40))) {
speed_y = speed_y + acc_y;
}
if (Key.isDown(65) || (Key.isDown(37))) {
speed_x = speed_x - acc_y;
}
if (Key.isDown(68) || (Key.isDown(39))) {
speed_x = speed_x + acc_y;
}
speed_y = speed_y * dec_y;
speed_x = speed_x * dec_x;
}
}
Instance of Symbol 202 MovieClip "shot" in Frame 7
onClipEvent (load) {
if (this._name == "shot") {
this._visible = false;
} else {
this._visible = true;
}
this._x = _root.user._x;
this._y = _root.user._y;
shotxspeed = 20 * Math.sin(_root.user.gun._rotation * (Math.PI/180));
shotyspeed = 20 * Math.cos(_root.user.gun._rotation * (Math.PI/180));
}
onClipEvent (enterFrame) {
this._x = this._x + shotxspeed;
this._y = this._y - shotyspeed;
if (this._x < 0) {
this.removeMovieClip();
}
if (this._x > 800) {
this.removeMovieClip();
}
if (this._y > 600) {
this.removeMovieClip();
}
if (this._y < 0) {
this.removeMovieClip();
}
}
Frame 8
stop();
Frame 9
mochi.MochiScores.showLeaderboard({boardID:"62b111858e0d0cc4", score:_global.score});
stop();
Frame 10
mochi.MochiScores.showLeaderboard({boardID:"62b111858e0d0cc4"});
stop();
Symbol 13 MovieClip [particle] Frame 1
movex = (Math.random() * 4) - 2;
movey = (Math.random() * 4) - 2;
dec = 0.98;
setTimer = 0;
this.onEnterFrame = function () {
setTimer = setTimer + 1;
if (setTimer > 140) {
this._alpha = this._alpha - 2.75;
if (this._alpha <= 0) {
this.removeMovieClip();
}
}
this._x = this._x + movex;
this._y = this._y + movey;
movex = movex * dec;
movey = movey * dec;
};
Instance of Symbol 12 MovieClip in Symbol 13 MovieClip [particle] Frame 1
onClipEvent (enterFrame) {
if (_root.user.user_art.hitTest(this)) {
bite_pickup = new Sound(this);
bite_pickup.attachSound("bite_pickup1");
bite_pickup.start();
_global.ammo = _global.ammo + 1;
this.unloadMovie();
}
}
Symbol 16 MovieClip [target] Frame 1
stop();
Instance of Symbol 15 MovieClip in Symbol 16 MovieClip [target] Frame 1
onClipEvent (load) {
_root.tarcount = _root.tarcount + 1;
speed_x = 0;
speed_y = 0;
acc_x = 0.5;
acc_y = 0.5;
dec_x = 0.98;
dec_y = 0.98;
i = 1;
}
onClipEvent (enterFrame) {
this._parent._x = this._parent._x + speed_x;
this._parent._y = this._parent._y + speed_y;
this._parent._visible = true;
if (_root.user._y < this._parent._y) {
speed_y = speed_y - acc_y;
} else {
speed_y = speed_y * dec_y;
}
if (_root.user._y > this._parent._y) {
speed_y = speed_y + acc_y;
} else {
speed_y = speed_y * dec_y;
}
if (_root.user._x < this._parent._x) {
speed_x = speed_x - acc_x;
} else {
speed_x = speed_x * dec_x;
}
if (_root.user._x > this._parent._x) {
speed_x = speed_x + acc_x;
} else {
speed_x = speed_x * dec_x;
}
i = 0;
while (i <= _root.shotcount) {
if (eval ("_root.shot" + i).hitTest(this._parent)) {
this._parent.unloadMovie();
eval ("_root.shot" + i).unloadMovie();
_global.score = _global.score + 50;
boom = new Sound(this);
boom.attachSound("boom");
boom.start();
_root.tarcount = _root.tarcount - 1;
}
i++;
}
}
Symbol 17 MovieClip [bubble] Frame 1
x = 0;
while (x < _root.particle_limit) {
_root.attachMovie("particle", "p_" + _root.part_counter, _root.getNextHighestDepth() + random(100), {_x:this._x, _y:this._y});
_root.parts++;
_root.part_counter++;
x++;
}
this.unloadMo;
Instance of Symbol 19 MovieClip in Symbol 20 MovieClip [target_smart] Frame 1
onClipEvent (load) {
lives = 2;
counter = 0;
speed_x = 0;
speed_y = 0;
acc_x = 0.6;
acc_y = 0.6;
dec_x = 0.94;
dec_y = 0.94;
i = 1;
smart = 120;
smart_speed = 0.8;
arr = [16711680, 16737792, 16776960, 26367, 65280];
num = random(arr.length);
col = new Color(this);
col.setRGB(arr[num]);
}
onClipEvent (enterFrame) {
if (_global.ai == 1) {
xd = _root.user._x - this._parent._x;
yd = _root.user._y - this._parent._y;
ang = Math.atan2(yd, xd);
enemy_ang = ang * 57.2957795130823;
}
this._parent._rotation = enemy_ang;
if (this._parent._name == "target_smart") {
} else {
if (this._parent._x > 820) {
this._parent._x = -20;
}
if (this._parent._x < -20) {
this._parent._x = 820;
}
if (this._parent._y > 620) {
this._parent._y = -20;
}
if (this._parent._y < -20) {
this._parent._y = 620;
}
this._parent._x = this._parent._x + speed_x;
this._parent._y = this._parent._y + speed_y;
}
if (_global.ai == 1) {
if ((_global.player_y < this._parent._y) and (avoid == 0)) {
speed_y = speed_y - acc_y;
}
if ((_global.player_y > this._parent._y) and (avoid == 0)) {
speed_y = speed_y + acc_y;
}
if ((_global.player_x < this._parent._x) and (avoid == 0)) {
speed_x = speed_x - acc_x;
}
if ((_global.player_x > this._parent._x) and (avoid == 0)) {
speed_x = speed_x + acc_x;
}
}
speed_y = speed_y * dec_y;
speed_x = speed_x * dec_x;
if (_global.god == 0) {
if (this._parent.hitTest(_root.user.user_art)) {
_global.lives = _global.lives - 1;
_global.reset = 1;
_global.god = 1;
_root.boom.start();
}
}
i = 0;
while (i <= _root.shotcount) {
bullety_dis = this._parent._y - eval ("_root.shot" + i)._y;
bulletx_dis = this._parent._x - eval ("_root.shot" + i)._x;
if (_global.ai == 1) {
if ((bullety_dis > (-smart)) and (bullety_dis < 0)) {
speed_y = speed_y - smart_speed;
avoid = 1;
}
if ((bullety_dis < smart) and (bullety_dis > 0)) {
speed_y = speed_y + smart_speed;
avoid = 1;
}
if ((bulletx_dis < (-smart)) and (bulletx_dis < 0)) {
speed_x = speed_x - smart_speed;
avoid = 1;
}
if ((bulletx_dis < smart) and (bulletx_dis > 0)) {
speed_x = speed_x + smart_speed;
avoid = 1;
}
avoid = 0;
}
if (eval ("_root.shot" + i).hitTest(this._parent)) {
lives = lives - 1;
if (lives == 0) {
_global.kills = _global.kills + 1;
_root.attachMovie("bubble", "bubble_" + x, 500, {_x:this._parent._x, _y:this._parent._y});
this._parent.unloadMovie();
_global.score = _global.score + 60;
}
eval ("_root.shot" + i)._x = -100;
eval ("_root.shot" + i)._y = -100;
_root.boom.start();
}
i++;
}
}
Instance of Symbol 12 MovieClip in Symbol 21 MovieClip [bite] Frame 1
onClipEvent (enterFrame) {
if (_root.user.user_art.hitTest(this)) {
bite_pickup = new Sound(this);
bite_pickup.attachSound("bite_pickup1");
bite_pickup.start();
_global.ammo = _global.ammo + 1;
this.unloadMovie();
}
}
Symbol 24 MovieClip Frame 1
starttime = newDate();
onEnterFrame = function () {
var _local1 = new Date();
var _local2 = _local1 - starttime;
while (_local2 < 29.4117647058824) {
_local1 = new Date();
_local2 = _local1 - starttime;
}
starttime = new Date();
};
Symbol 259 MovieClip [__Packages.mochi.MochiServices] Frame 0
class mochi.MochiServices
{
static var _id, _container, _clip, _sendChannelName, _rcvChannelName, __get__comChannelName, onError, _listenChannel, _rcvChannel, _loader, _loaderListener, _sendChannel;
function MochiServices () {
}
static function get id() {
return(_id);
}
static function get clip() {
return(_container);
}
static function get childClip() {
return(_clip);
}
static function getVersion() {
return("1.31");
}
static function allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function get isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function set comChannelName(val) {
if (val != undefined) {
if (val.length > 3) {
_sendChannelName = val + "_fromgame";
_rcvChannelName = val;
initComChannels();
}
}
//return(__get__comChannelName());
}
static function get connected() {
return(_connected);
}
static function connect(id, clip, onError) {
if ((!_connected) && (_clip == undefined)) {
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
}
if (onError != undefined) {
mochi.MochiServices.onError = onError;
} else if (mochi.MochiServices.onError == undefined) {
mochi.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
}
static function disconnect() {
if (_connected || (_connecting)) {
_connecting = (_connected = false);
flush(true);
if (_clip != undefined) {
_clip.removeMovieClip();
delete _clip;
}
_listenChannel.close();
_rcvChannel.close();
}
}
static function init(id, clip) {
_id = id;
if (clip != undefined) {
_container = clip;
} else {
_container = _root;
}
loadCommunicator(id, _container);
}
static function loadCommunicator(id, clip) {
var _local2 = "_mochiservices_com_" + id;
if (_clip != null) {
return(_clip);
}
if (!isNetworkAvailable) {
return(null);
}
allowDomains(_gatewayURL);
_clip = clip.createEmptyMovieClip(_local2, 10336, false);
_loader = new MovieClipLoader();
if (_loaderListener.waitInterval != null) {
clearInterval(_loaderListener.waitInterval);
}
_loaderListener = {};
_loaderListener.onLoadError = function (target_mc, errorCode, httpStatus) {
trace("MochiServices could not load.");
mochi.MochiServices.disconnect();
mochi.MochiServices.onError.apply(null, [errorCode]);
};
_loaderListener.onLoadStart = function (target_mc) {
this.isLoading = true;
};
_loaderListener.startTime = getTimer();
_loaderListener.wait = function () {
if ((getTimer() - this.startTime) > 10000) {
if (!this.isLoading) {
mochi.MochiServices.disconnect();
mochi.MochiServices.onError.apply(null, ["IOError"]);
}
clearInterval(this.waitInterval);
}
};
_loaderListener.waitInterval = setInterval(_loaderListener, "wait", 1000);
_loader.addListener(_loaderListener);
_loader.loadClip(_gatewayURL, _clip);
_sendChannel = new LocalConnection();
_sendChannel._queue = [];
_rcvChannel = new LocalConnection();
_rcvChannel.allowDomain = function (d) {
return(true);
};
_rcvChannel.allowInsecureDomain = _rcvChannel.allowDomain;
_rcvChannel._nextcallbackID = 0;
_rcvChannel._callbacks = {};
listen();
return(_clip);
}
static function onStatus(infoObject) {
if (!(infoObject.level === "error")) {
} else {
_connected = false;
_listenChannel.connect(_listenChannelName);
}
}
static function listen() {
_listenChannel = new LocalConnection();
_listenChannel.handshake = function (args) {
mochi.MochiServices.__set__comChannelName(args.newChannel);
};
_listenChannel.allowDomain = function (d) {
return(true);
};
_listenChannel.allowInsecureDomain = _listenChannel.allowDomain;
_listenChannel.connect(_listenChannelName);
trace("Waiting for MochiAds services to connect...");
}
static function initComChannels() {
if (!_connected) {
_sendChannel.onStatus = function (infoObject) {
mochi.MochiServices.onStatus(infoObject);
};
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, clip:_clip, version:getVersion()});
_rcvChannel.onStatus = function (infoObject) {
mochi.MochiServices.onStatus(infoObject);
};
_rcvChannel.onReceive = function (pkg) {
var _local5 = pkg.callbackID;
var _local4 = this._callbacks[_local5];
if (!_local4) {
return(undefined);
}
var _local2 = _local4.callbackMethod;
var _local3 = _local4.callbackObject;
if (_local3 && (typeof(_local2) == "string")) {
_local2 = _local3[_local2];
}
if (_local2 != undefined) {
_local2.apply(_local3, pkg.args);
}
delete this._callbacks[_local5];
};
_rcvChannel.onError = function () {
mochi.MochiServices.onError.apply(null, ["IOError"]);
};
_rcvChannel.connect(_rcvChannelName);
trace("connected!");
_connecting = false;
_connected = true;
_listenChannel.close();
while (_sendChannel._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift());
}
}
}
static function flush(error) {
var _local1;
var _local2;
while (_sendChannel._queue.length > 0) {
_local1 = _sendChannel._queue.shift();
if (_local1.callbackID != null) {
_local2 = _rcvChannel._callbacks[_local1.callbackID];
}
delete _rcvChannel._callbacks[_local1.callbackID];
if (error) {
handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod);
}
}
}
static function handleError(args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError.apply(null, ["NotConnected"]);
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = "NotConnected";
if ((callbackObject != null) && (typeof(callbackMethod) == "string")) {
callbackObject[callbackMethod](args);
} else if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
static function send(methodName, args, callbackObject, callbackMethod) {
if (_connected) {
_sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_rcvChannel._nextcallbackID});
} else {
if ((_clip == undefined) || (!_connecting)) {
onError.apply(null, ["NotConnected"]);
handleError(args, callbackObject, callbackMethod);
flush(true);
return(undefined);
}
_sendChannel._queue.push({methodName:methodName, args:args, callbackID:_rcvChannel._nextcallbackID});
}
_rcvChannel._callbacks[_rcvChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_rcvChannel._nextcallbackID++;
}
static var _gatewayURL = "http://www.mochiads.com/static/lib/services/services.swf";
static var _listenChannelName = "__mochiservices";
static var _connecting = false;
static var _connected = false;
}
Symbol 260 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("2.3");
}
static function showPreGameAd(options) {
var _local27 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}};
options = _parseOptions(options, _local27);
if ("5cc6f7dfb67f2f08341c831480f7c2a7".length == 0) {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local23 = 11000;
var _local26 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local7 = chk.createEmptyMovieClip("_mochiad_bar", 4);
_local7._x = 10;
_local7._y = _local13 - 20;
var _local22 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local24 = options.outline;
delete options.outline;
var _local5 = _local7.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local7.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local22);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local6 = _local7.createEmptyMovieClip("_outline", 3);
_local6.lineStyle(0, _local24, 100);
_local6.moveTo(0, 0);
_local6.lineTo(_local4 - 20, 0);
_local6.lineTo(_local4 - 20, 10);
_local6.lineTo(0, 10);
_local6.lineTo(0, 0);
chk.ad_msec = _local23;
chk.ad_timeout = _local26;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local12 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local10 = (100 * _local8) / _local4;
var _local11 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local2 = Math.min(100, Math.min(_local10 || 0, _local11));
_local2 = Math.max(this.last_pcnt, _local2);
this.last_pcnt = _local2;
_local9._xscale = _local2;
if (!chk.showing) {
var _local7 = _local12.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local5 > chk.ad_timeout) {
options.ad_failed();
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function _loadCommunicator(options) {
var _local26 = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"};
options = _parseOptions(options, _local26);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local18 = options.clip;
var _local20 = "_mochiad_com_" + options.id;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local18[_local20]) {
return(_local18[_local20].lc);
}
var _local21 = options.com_server + options.id;
_allowDomains(_local21);
delete options.id;
delete options.com_server;
var _local25 = options.depth;
delete options.depth;
var _local17 = _local18.createEmptyMovieClip(_local20, _local25);
var _local11 = _local17.createEmptyMovieClip("_mochiad_com", 1);
for (var _local15 in options) {
_local11[_local15] = options[_local15];
}
var _local6 = new LocalConnection();
var _local16 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local6.mc = _local17;
_local6.name = _local16;
_local6.allowDomain = function (d) {
return(true);
};
_local6.allowInsecureDomain = _local6.allowDomain;
_local6.connect(_local16);
_local17.lc = _local6;
_local11.lc = _local16;
_local6._id = 0;
_local6._queue = [];
_local6.rpcResult = function (cb_arg) {
var _local8 = parseInt(cb_arg);
var _local4 = this._callbacks[_local8];
if (!_local4) {
return(undefined);
}
delete this._callbacks[_local8];
var _local5 = [];
var _local3 = 2;
while (_local3 < _local4.length) {
_local5.push(_local4[_local3]);
_local3++;
}
_local3 = 1;
while (_local3 < arguments.length) {
_local5.push(arguments[_local3]);
_local3++;
}
var _local6 = _local4[1];
var _local7 = _local4[0];
if (_local7 && (typeof(_local6) == "string")) {
_local6 = _local7[_local6];
}
if (_local6) {
_local6.apply(_local7, _local5);
}
};
_local6._didConnect = function (endpoint) {
this._endpoint = endpoint;
var _local4 = this._queue;
delete this._queue;
var _local5 = this.doSend;
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2];
_local5.apply(this, _local3);
_local2++;
}
};
_local6.doSend = function (args, cbobj, cbfn) {
if (this._endpoint == null) {
var _local4 = [];
var _local3 = 0;
while (_local3 < arguments.length) {
_local4.push(arguments[_local3]);
_local3++;
}
this._queue.push(_local4);
return(undefined);
}
this._id = this._id + 1;
var _local5 = this._id;
if ((cbfn === undefined) || (cbfn === null)) {
cbfn = cbobj;
}
this._callbacks[_local5] = [cbobj, cbfn];
var _local7 = new LocalConnection();
var _local9 = _local7.send(this._endpoint, "rpc", _local5, args);
};
_local6._callbacks = {};
_local6._callbacks[0] = [_local6, "_didConnect"];
_local11.st = getTimer();
_local11.loadMovie(_local21 + ".swf", "POST");
return(_local6);
}
static function fetchHighScores(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["fetchHighScores", options];
_local1.doSend(["fetchHighScores", options], callbackObj, callbackMethod);
return(true);
}
static function sendHighScore(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["sendHighScore", options];
_local1.doSend(["sendHighScore", options], callbackObj, callbackMethod);
return(true);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local9 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local9._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local9._mochiad_loaded = true;
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local7 in options) {
_local4[_local7] = options[_local7];
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new LocalConnection();
var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local8;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local8);
_local6.lc = _local5;
_local4.lc = _local8;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
}
Symbol 261 MovieClip [__Packages.mochi.MochiScores] Frame 0
class mochi.MochiScores
{
static var boardID, onClose, onError;
function MochiScores () {
}
static function setBoardID(boardID) {
mochi.MochiScores.boardID = boardID;
mochi.MochiServices.send("scores_setBoardID", {boardID:boardID});
}
static function showLeaderboard(options) {
if (options.clip != null) {
if ((options.clip != mochi.MochiServices.__get__clip()) || (mochi.MochiServices.__get__childClip()._target == undefined)) {
mochi.MochiServices.disconnect();
mochi.MochiServices.connect(mochi.MochiServices.__get__id(), options.clip);
}
delete options.clip;
}
if (options.name != null) {
if (typeof(options.name) == "object") {
if (options.name.text != undefined) {
options.name = options.name.text;
}
}
}
if (options.score != null) {
if (typeof(options.score) == "object") {
if (options.score.text != undefined) {
options.score = options.score.text;
}
}
}
if (options.onDisplay != null) {
options.onDisplay();
} else {
mochi.MochiServices.__get__clip().stop();
}
if (options.onClose != null) {
onClose = options.onClose;
} else {
onClose = function () {
mochi.MochiServices.__get__clip().play();
};
}
if (options.onError != null) {
onError = options.onError;
} else {
onError = onClose;
}
if (options.boardID == null) {
if (boardID != null) {
options.boardID = boardID;
}
}
mochi.MochiServices.send("scores_showLeaderboard", {options:options}, null, doClose);
}
static function closeLeaderboard() {
mochi.MochiServices.send("scores_closeLeaderboard");
}
static function getPlayerInfo(callbackObj, callbackMethod) {
mochi.MochiServices.send("scores_getPlayerInfo", null, callbackObj, callbackMethod);
}
static function submit(score, name, callbackObj, callbackMethod) {
mochi.MochiServices.send("scores_submit", {score:score, name:name}, callbackObj, callbackMethod);
}
static function requestList(callbackObj, callbackMethod) {
mochi.MochiServices.send("scores_requestList", null, callbackObj, callbackMethod);
}
static function scoresArrayToObjects(scores) {
var _local5 = {};
var _local1;
var _local4;
var _local2;
var _local6;
for (var _local8 in scores) {
if (typeof(scores[_local8]) == "object") {
if ((scores[_local8].cols != null) && (scores[_local8].rows != null)) {
_local5[_local8] = [];
_local2 = scores[_local8];
_local4 = 0;
while (_local4 < _local2.rows.length) {
_local6 = {};
_local1 = 0;
while (_local1 < _local2.cols.length) {
_local6[_local2.cols[_local1]] = _local2.rows[_local4][_local1];
_local1++;
}
_local5[_local8].push(_local6);
_local4++;
}
} else {
_local5[_local8] = {};
for (var _local7 in scores[_local8]) {
_local5[_local8][_local7] = scores[_local8][_local7];
}
}
} else {
_local5[_local8] = scores[_local8];
}
}
return(_local5);
}
static function doClose(args) {
if (args.error == true) {
if (args.errorCode == undefined) {
args.errorCode = "IOError";
}
onError.apply(null, [args.errorCode]);
} else {
onClose.apply();
}
}
}
Symbol 26 Button
on (press) {
getURL ("http://www.dabontv.com", "_blank");
}
Symbol 34 MovieClip Frame 230
_root.play();
Symbol 47 MovieClip Frame 25
stop();
Symbol 51 MovieClip Frame 46
stop();
Symbol 58 MovieClip Frame 21
stop();
Symbol 59 MovieClip Frame 42
stop();
Symbol 72 MovieClip Frame 70
stop();
_root.play();
Symbol 82 Button
on (release) {
_root.gotoAndStop("credits");
}
on (rollOver) {
_root.blip.start();
}
Symbol 85 Button
on (release) {
_root.gotoAndStop("tut");
}
on (rollOver) {
_root.blip.start();
}
Symbol 88 Button
on (release) {
_root.gotoAndStop("game");
}
on (rollOver) {
_root.blip.start();
}
Symbol 91 Button
on (release) {
_root.gotoAndStop("viewboard");
}
on (rollOver) {
_root.blip.start();
}
Symbol 111 MovieClip Frame 45
stop();
Symbol 111 MovieClip Frame 69
stop();
Symbol 121 MovieClip Frame 1
var timer = 0;
Symbol 121 MovieClip Frame 2
txtFPS = Math.round(10 / ((getTimer() - timer) / 1000));
timer = getTimer();
Symbol 121 MovieClip Frame 11
gotoAndPlay (2);
Symbol 130 Button
on (release) {
_root.gotoAndStop("reseter");
i = 0;
while (i <= _root.tars) {
eval ("_root.target_dumb" + i).unloadMovie();
eval ("_root.target_smart" + i).unloadMovie();
eval ("_root.target_trap" + i).unloadMovie();
i++;
}
}
Symbol 139 Button
on (release) {
screen_side = Math.random() * 2;
_root.box6 = screen_side;
_root.target_smart.duplicateMovieClip("target_smart" + _root.tars, _root.tars + 100);
_root["target_smart" + _root.tars]._visible = true;
if (screen_side < 1) {
_root["target_smart" + _root.tars]._x = -15;
}
if (screen_side > 1) {
_root["target_smart" + _root.tars]._x = 815;
}
_root["target_smart" + _root.tars]._y = Math.random() * 600;
_root.tars++;
}
Symbol 141 Button
on (release) {
screen_side = Math.random() * 2;
_root.box6 = screen_side;
_root.target_dumb.duplicateMovieClip("target_dumb" + _root.tars, _root.tars + 100);
_root["target_dumb" + _root.tars]._visible = true;
if (screen_side < 1) {
_root["target_dumb" + _root.tars]._x = -15;
}
if (screen_side > 1) {
_root["target_dumb" + _root.tars]._x = 815;
}
_root["target_dumb" + _root.tars]._y = Math.random() * 600;
_root.tars++;
}
Symbol 145 Button
on (release) {
_global.ai = 1;
}
Symbol 147 Button
on (release) {
_global.ai = 0;
}
Symbol 149 Button
on (release) {
screen_side = Math.random() * 2;
_root.box6 = screen_side;
_root.target_trap.duplicateMovieClip("target_trap" + _root.tars, _root.tars + 100);
_root["target_trap" + _root.tars]._visible = true;
if (screen_side < 1) {
_root["target_trap" + _root.tars]._x = -15;
}
if (screen_side > 1) {
_root["target_trap" + _root.tars]._x = 815;
}
_root["target_trap" + _root.tars]._y = Math.random() * 600;
_root.tars++;
}
Symbol 154 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 2
stop();
Symbol 154 MovieClip Frame 3
stop();
Symbol 154 MovieClip Frame 4
stop();
Symbol 154 MovieClip Frame 5
stop();
Symbol 154 MovieClip Frame 6
stop();
Symbol 154 MovieClip Frame 7
stop();
_root.gotoAndStop("game_over");
Symbol 172 MovieClip Frame 1
stop();
Instance of Symbol 171 MovieClip in Symbol 172 MovieClip Frame 1
onClipEvent (load) {
lives = 1;
counter = 0;
speed_x = 0;
speed_y = 0;
acc_x = 0.5;
acc_y = 0.5;
dec_x = 0.92;
dec_y = 0.92;
i = 1;
smart = 120;
smart_speed = 0.8;
arr = [16711680, 16737792, 16776960, 26367, 65280];
num = random(arr.length);
col = new Color(this);
col.setRGB(arr[num]);
}
onClipEvent (enterFrame) {
if (this._parent._name == "target_dumb") {
} else {
if (this._parent._x > 820) {
this._parent._x = -20;
}
if (this._parent._x < -20) {
this._parent._x = 820;
}
if (this._parent._y > 620) {
this._parent._y = -20;
}
if (this._parent._y < -20) {
this._parent._y = 620;
}
this._parent._x = this._parent._x + speed_x;
this._parent._y = this._parent._y + speed_y;
}
if (_global.ai == 1) {
if (_global.player_y < this._parent._y) {
speed_y = speed_y - acc_y;
}
if (_global.player_y > this._parent._y) {
speed_y = speed_y + acc_y;
}
if (_global.player_x < this._parent._x) {
speed_x = speed_x - acc_x;
}
if (_global.player_x > this._parent._x) {
speed_x = speed_x + acc_x;
}
}
speed_y = speed_y * dec_y;
speed_x = speed_x * dec_x;
if (_global.god == 0) {
if (this._parent.hitTest(_root.user.user_art)) {
_global.lives = _global.lives - 1;
_global.reset = 1;
_global.god = 1;
_root.boom.start();
}
}
i = 0;
while (i <= _root.shotcount) {
if (eval ("_root.shot" + i).hitTest(this._parent)) {
lives = lives - 1;
if (lives == 0) {
_global.kills = _global.kills + 1;
_root.attachMovie("bubble", "bubble_" + x, 500, {_x:this._parent._x, _y:this._parent._y});
this._parent.unloadMovie();
_global.score = _global.score + 50;
}
eval ("_root.shot" + i)._x = -100;
eval ("_root.shot" + i)._y = -100;
_root.boom.start();
}
i++;
}
}
Symbol 175 MovieClip Frame 1
stop();
Instance of Symbol 174 MovieClip in Symbol 175 MovieClip Frame 1
onClipEvent (load) {
lives = 4;
trap_strength = 18;
trap_field = 50;
counter = 0;
speed_x = 0;
speed_y = 0;
acc_x = 0.6;
acc_y = 0.6;
dec_x = 0.98;
dec_y = 0.98;
i = 1;
smart = 120;
smart_speed = 0.8;
arr = [16711680, 16737792, 16776960, 26367, 65280];
num = random(arr.length);
col = new Color(this);
col.setRGB(arr[num]);
}
onClipEvent (enterFrame) {
this._parent._rotation = this._parent._rotation + 10;
if (_root.user.user_art.hitTest(this._parent)) {
if (_global.player_speed > trap_strength) {
} else if (_global.player_speed < (-trap_strength)) {
} else {
_root.user._x = this._parent._x;
_root.user._y = this._parent._y;
}
}
this._parent._rotation = this._parent._rotation + 10;
if (this._parent._name == "target_trap") {
} else {
if (this._parent._x > 820) {
this._parent._x = -20;
}
if (this._parent._x < -20) {
this._parent._x = 820;
}
if (this._parent._y > 620) {
this._parent._y = -20;
}
if (this._parent._y < -20) {
this._parent._y = 620;
}
this._parent._x = this._parent._x + speed_x;
this._parent._y = this._parent._y + speed_y;
}
if (_global.ai == 1) {
if (_global.player_y < this._parent._y) {
speed_y = speed_y - acc_y;
}
if (_global.player_y > this._parent._y) {
speed_y = speed_y + acc_y;
}
if (_global.player_x < this._parent._x) {
speed_x = speed_x - acc_x;
}
if (_global.player_x > this._parent._x) {
speed_x = speed_x + acc_x;
}
}
speed_y = speed_y * dec_y;
speed_x = speed_x * dec_x;
i = 0;
while (i <= _root.shotcount) {
if (eval ("_root.shot" + i).hitTest(this._parent)) {
lives = lives - 1;
if (lives == 0) {
_global.kills = _global.kills + 1;
_root.attachMovie("bubble", "bubble_" + x, 500, {_x:this._parent._x, _y:this._parent._y});
this._parent.unloadMovie();
_global.score = _global.score + 80;
}
_root.boom.start();
eval ("_root.shot" + i)._x = -100;
eval ("_root.shot" + i)._y = -100;
}
i++;
}
}
Symbol 191 MovieClip Frame 1
stop();
timer = 0;
frame = 2;
vim = 1;
onEnterFrame = function () {
if (timer == 0) {
_root.tutorial.tut = "Hi, Welcome to the Arena. You will be invincible for the remainer of the tutorial and have infinite ammo.";
}
if (timer == 100) {
_root.tutorial.tut = "Use the Arrow Keys or WASD Keys to move.";
vim = 0;
if ((_global.player_speed < -1) || (_global.player_speed > 1)) {
vim = 1;
}
}
if (timer == 110) {
_root.tutorial.tut = "This is circle, shoot it, and collect the ammo.";
_root.spawn_c(circle);
}
if (timer == 150) {
_global.ai = 0;
vim = 0;
if (_global.kills == 1) {
_global.ai = 1;
vim = 1;
}
}
if (timer == 180) {
_root.tutorial.tut = "Ok now try again with the Ai turned on.";
}
if (timer == 200) {
_root.spawn_c(circle);
}
if (timer == 201) {
vim = 0;
if (_global.kills == 2) {
vim = 1;
}
}
if (timer == 220) {
_root.tutorial.tut = "Hard?, well don't worry it will be.";
}
if (timer == 300) {
_root.tutorial.tut = "Right, this is the Square these are a bit more challenging, especially in packs as they avoid your bullets and take 2 hits.";
_root.spawn_s(square);
}
if (timer == 301) {
vim = 0;
if (_global.kills == 3) {
vim = 1;
}
}
if (timer == 380) {
_root.tutorial.tut = "The Triangle, This will not kill you however it has the ablity to trap you until you are moving fast enough to escape it, making you easy pickins";
_root.spawn_t(triangle);
}
if (timer == 381) {
vim = 0;
if (_global.kills == 4) {
vim = 1;
}
}
if (timer == 440) {
_root.tutorial.tut = "Although it might not be so hostile on its own, but when used in a group attack it can be a real disadvantage.";
_root.spawn_t(triangle);
_root.spawn_s(square);
_root.spawn_c(circle);
}
if (timer == 441) {
vim = 0;
if (_global.kills == 7) {
vim = 1;
}
}
if (timer == 500) {
_root.tutorial.tut = "Oh yeah, one last thing. Teleports such as these can be used for a quick escape. But they are only one way. Blue = Entrance, Light Blue = Exit.";
_root.tele_ent(ent);
_root.tele_exit(exit);
}
if (timer == 501) {
vim = 0;
if (_global.teleports == 1) {
vim = 1;
}
}
if (timer == 580) {
_root.tutorial.tut = "Ok thats pretty much it, now start playing.";
i = 0;
while (i <= _global.tarcount) {
eval ("_root.target_dumb" + i).unloadMovie();
eval ("_root.target_smart" + i).unloadMovie();
eval ("_root.tele" + i).unloadMovie();
eval ("_root.telex" + i).unloadMovie();
i++;
}
}
if (timer == 700) {
_root.gotoAndStop("menu");
}
if (vim == 1) {
timer = timer + 1;
}
};
Symbol 197 MovieClip Frame 1
stop();
Symbol 197 MovieClip Frame 6
gotoAndStop (1);
Instance of Symbol 197 MovieClip in Symbol 198 MovieClip Frame 1
onClipEvent (load) {
_root.shot._visible = false;
}
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root._ymouse - this._parent._parent._y, _root._xmouse - this._parent._parent._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root._ymouse - this._parent._parent._y);
_root.xChange = Math.round(_root._xmouse - this._parent._parent._x);
this._parent._rotation = myDegrees + 90;
if (shotcount > 10) {
_root.shotcount = 1;
}
onMouseDown = function () {
this.gotoAndPlay("fire");
if (_global.ammo > 0) {
if (_global.infinite_ammo == 0) {
_global.ammo = _global.ammo - 1;
}
_root.gunfire.start();
_root.shot.duplicateMovieClip("shot" + _root.shotcount, _root.shotcount + 7000);
_root["shot" + _root.shotcount]._visible = true;
_root.shotcount++;
} else {
_root.ammo_out.start();
}
};
}
Symbol 199 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (_global.reset == 1) {
play();
}
};
Symbol 199 MovieClip Frame 2
function jok1(jok1) {
_root.trail_1._visible = false;
_root.trail_2._visible = false;
_root.trail_3._visible = false;
_root.trail_4._visible = false;
_root.trail_5._visible = false;
_root.trail_6._visible = false;
_root.user._visible = false;
}
function jok2(jok2) {
_root.trail_1._visible = true;
_root.trail_2._visible = true;
_root.trail_3._visible = true;
_root.trail_4._visible = true;
_root.trail_5._visible = true;
_root.trail_6._visible = true;
_root.user._visible = true;
}
stop();
timer = 0;
frame = 2;
vim = 1;
onEnterFrame = function () {
if (timer == 2) {
jok1(jok1);
}
if (timer == 4) {
jok2(jok2);
}
if (timer == 6) {
jok1(jok1);
}
if (timer == 8) {
jok2(jok2);
}
if (timer == 10) {
jok1(jok1);
}
if (timer == 12) {
jok2(jok2);
}
if (timer == 14) {
jok1(jok1);
}
if (timer == 16) {
jok2(jok2);
}
if (timer == 18) {
jok1(jok1);
}
if (timer == 20) {
jok2(jok2);
}
if (timer == 22) {
jok1(jok1);
}
if (timer == 24) {
jok2(jok2);
}
if (timer == 26) {
jok1(jok1);
}
if (timer == 28) {
jok2(jok2);
}
if (timer == 30) {
jok1(jok1);
}
if (timer == 32) {
jok2(jok2);
}
if (timer == 34) {
jok1(jok1);
}
if (timer == 36) {
jok2(jok2);
}
if (timer == 37) {
_global.reset = 0;
_global.god = 0;
timer = 0;
gotoAndStop (1);
}
if (vim == 1) {
timer = timer + 1;
}
};
Instance of Symbol 201 MovieClip "hit" in Symbol 202 MovieClip Frame 1
onClipEvent (load) {
setTimer = 0;
}
onClipEvent (enterFrame) {
this.onEnterFrame = function () {
setTimer = setTimer + 1;
if (setTimer > 150) {
this._alpha = this._alpha - 3.75;
if (this._alpha <= 0) {
this.removeMovieClip();
}
}
};
}
Symbol 216 Button
on (release) {
_root.gotoAndStop("menu");
}
on (rollOver) {
_root.blip.start();
}
Symbol 226 Button
on (release) {
_root.gotoAndStop("scoreboard");
}
on (rollOver) {
_root.blip.start();
}
Symbol 236 MovieClip Frame 1
function lvl_up(lvl_up) {
_global.up = 0;
_root.shotcount = 0;
_root.level_up.start();
_global.lvl = _global.lvl + 1;
live_up(live_up);
}
function live_up(live_up) {
if (_global.lives < 6) {
if (_global.up == 0) {
_root.live_up.start();
_global.lives = _global.lives + 1;
_global.up = 1;
}
}
}
stop();
timer = 0;
frame = 2;
vim = 1;
onEnterFrame = function () {
if (_global.lvl == 0) {
lvl_up(lvl_up);
}
if (_global.lvl == 1) {
if (_global.tarcount == _global.kills) {
_root.spawn_c(circle);
}
if (_global.score >= 400) {
lvl_up(lvl_up);
}
}
if (_global.lvl == 2) {
if (_global.tarcount == _global.kills) {
_root.spawn_c(circle);
_root.spawn_c(circle);
}
if (_global.score >= 800) {
lvl_up(lvl_up);
}
}
if (_global.lvl == 3) {
if (_global.tarcount == _global.kills) {
_root.spawn_s(square);
}
if (_global.score >= 1200) {
lvl_up(lvl_up);
}
}
if (_global.lvl == 4) {
if (_global.tarcount == _global.kills) {
_root.spawn_s(square);
_root.spawn_s(square);
}
if (_global.score >= 1600) {
lvl_up(lvl_up);
}
}
if (_global.lvl == 5) {
if (_global.tarcount == _global.kills) {
_root.spawn_s(square);
_root.spawn_c(circle);
_root.spawn_s(square);
}
if (_global.score >= 2000) {
lvl_up(lvl_up);
}
}
if (_global.lvl == 6) {
if (_global.tarcount == _global.kills) {
_root.spawn_c(circle);
_root.spawn_t(triangle);
}
if (_global.score >= 2200) {
lvl_up(lvl_up);
}
}
if (_global.lvl == 7) {
if (_global.tarcount == _global.kills) {
_root.spawn_c(circle);
_root.spawn_t(triangle);
_root.tele_ent(ent);
_root.tele_exit(exit);
}
if (_global.score >= 2400) {
lvl_up(lvl_up);
}
}
if (_global.lvl == 8) {
if (_global.tarcount == _global.kills) {
_root.spawn_s(square);
_root.spawn_t(triangle);
if (_global.score >= 3000) {
lvl_up(lvl_up);
}
}
}
if (_global.lvl == 9) {
if (_global.tarcount == _global.kills) {
_root.spawn_s(square);
_root.spawn_s(square);
}
if (_global.score >= 3600) {
lvl_up(lvl_up);
}
}
if (_global.lvl == 10) {
if (_global.tarcount == _global.kills) {
_root.spawn_s(square);
_root.spawn_s(square);
_root.spawn_t(triangle);
}
if (_global.score >= 4200) {
lvl_up(lvl_up);
}
}
if (_global.lvl == 11) {
if (_global.tarcount == _global.kills) {
_root.spawn_s(square);
_root.spawn_c(circle);
_root.spawn_t(triangle);
_root.spawn_t(triangle);
}
if (_global.score >= 4800) {
lvl_up(lvl_up);
}
}
if (_global.lvl == 12) {
if (_global.tarcount == _global.kills) {
_root.spawn_s(square);
_root.spawn_s(square);
_root.spawn_s(square);
}
if (_global.score >= 5600) {
lvl_up(lvl_up);
}
}
if (_global.lvl == 13) {
if (_global.tarcount == _global.kills) {
_root.spawn_s(square);
_root.spawn_s(square);
_root.spawn_s(square);
_root.spawn_t(triangle);
}
if (_global.score >= 6800) {
lvl_up(lvl_up);
}
}
if (_global.lvl == 14) {
if (_global.tarcount == _global.kills) {
_root.spawn_c(circle);
_root.spawn_c(circle);
_root.spawn_s(square);
_root.spawn_s(square);
_root.spawn_s(square);
_root.spawn_t(triangle);
}
if (_global.score >= 7800) {
lvl_up(lvl_up);
}
}
if (_global.lvl == 15) {
if (_global.tarcount == _global.kills) {
_root.spawn_c(circle);
_root.spawn_c(circle);
_root.spawn_s(square);
_root.spawn_s(square);
_root.spawn_s(square);
_root.spawn_t(triangle);
}
if (_global.score >= 8600) {
lvl_up(lvl_up);
}
}
if (_global.lvl == 16) {
if (_global.tarcount == _global.kills) {
_root.spawn_c(circle);
_root.spawn_c(circle);
_root.spawn_s(square);
_root.spawn_s(square);
_root.spawn_s(square);
_root.spawn_t(triangle);
}
if (_global.score >= 8600) {
lvl_up(lvl_up);
}
}
if (_global.lvl == 17) {
if (_global.tarcount == _global.kills) {
_root.spawn_s(square);
_root.spawn_s(square);
_root.spawn_s(square);
_root.spawn_s(square);
_root.spawn_s(square);
_root.spawn_t(triangle);
}
if (_global.score >= 10000) {
lvl_up(lvl_up);
}
}
if (_global.lvl == 18) {
if (_global.tarcount == _global.kills) {
_root.spawn_c(circle);
_root.spawn_c(circle);
_root.spawn_s(square);
_root.spawn_s(square);
_root.spawn_s(square);
_root.spawn_s(square);
_root.spawn_s(square);
_root.spawn_t(triangle);
_root.spawn_t(triangle);
_root.spawn_t(triangle);
}
if (_global.score >= 10000) {
lvl_up(lvl_up);
}
}
if (_global.lvl == 19) {
if (_global.tarcount == _global.kills) {
_root.spawn_c(circle);
_root.spawn_c(circle);
_root.spawn_c(circle);
_root.spawn_c(circle);
_root.spawn_s(square);
_root.spawn_s(square);
_root.spawn_s(square);
_root.spawn_s(square);
_root.spawn_s(square);
_root.spawn_t(triangle);
_root.spawn_t(triangle);
_root.spawn_t(triangle);
}
if (_global.score >= 14000) {
lvl_up(lvl_up);
}
}
if (_global.lvl == 20) {
if (_global.tarcount == _global.kills) {
_root.spawn_c(circle);
_root.spawn_c(circle);
_root.spawn_c(circle);
_root.spawn_c(circle);
_root.spawn_s(square);
_root.spawn_s(square);
_root.spawn_s(square);
_root.spawn_s(square);
_root.spawn_s(square);
_root.spawn_s(square);
_root.spawn_s(square);
_root.spawn_s(square);
_root.spawn_t(triangle);
_root.spawn_t(triangle);
_root.spawn_t(triangle);
_root.spawn_t(triangle);
_root.spawn_t(triangle);
_root.spawn_t(triangle);
}
}
};
Symbol 240 MovieClip Frame 1
onEnterFrame = function () {
lvl_ = _global.lvl;
};
Instance of Symbol 252 MovieClip in Symbol 255 MovieClip Frame 1
on (press) {
getURL ("http://www.dabontv.com");
}
Symbol 258 Button
on (release) {
_root.gotoAndStop("menu");
}
on (rollOver) {
_root.blip.start();
}