Frame 1 (229 B)
if (getBytesLoaded() == getBytesTotal()) {
loader.nextFrame();
}
load_txt = ("LOADED: " + Math.floor((getBytesLoaded() / getBytesTotal()) * 100)) + "%";
if (ini != true) {
ini = true;
NewgroundsAPI.connectMovie(406);
}
Frame 2 (17 B)
gotoAndPlay (1);
Frame 4 (794 B)
function f_diverge() {
NewgroundsAPI.loadMySite();
}
function f_ng() {
NewgroundsAPI.loadNewgrounds();
}
function f_sound(name) {
_root[name] = new Sound();
_root[name].attachSound(name);
_root[name].start();
}
menu = new ContextMenu();
menu.hideBuiltInItems();
menu.customItems[1] = new ContextMenuItem("Play More Games Now!", f_diverge);
menu.customItems[2] = new ContextMenuItem("Visit Newgrounds! Home to the greatest Flash games and movies!", f_ng);
total_items = 76;
current_stage = 0;
level_sound = 1;
beat_challenge_mode = false;
var savegame = SharedObject.getLocal("beatgame");
if (!savegame.data.beatgame) {
savegame.data.beatgame = false;
}
if (savegame.data.beatgame == true) {
beat_challenge_mode = true;
}
_root.filters = [];
onEnterFrame = "";
Frame 6 (5.4 KiB) ● ●
function f_item(t) {
tellTarget (t) {
if ((indie == true) && (_root.beat_challenge_mode == false)) {
_visible = false;
} else {
if (_root.cinema == true) {
_x = default_x;
_y = default_y;
stopDrag();
}
if (set_xy != true) {
_visible = true;
set_xy = true;
x = _root["x" + type];
y = _root["y" + type];
_x = (650 + (75 * x));
_y = (120 + (25 * y));
_root["y" + type]++;
if (y > 10) {
_root["x" + type]++;
_root["y" + type] = 0;
}
default_x = _x;
default_y = _y;
}
if (_root.inventory == type) {
_visible = true;
} else if (_x > 550) {
_visible = false;
}
if (((_x < 550) && (_x > 440)) && (_root.m_click != true)) {
_x = 440;
stored = false;
}
if (((Math.abs(_x - lock_x) < 13) && (Math.abs(_y - lock_y) < 13)) && ((_root.mode == "fun") || (char == _root.stages[_root.current_stage]))) {
if ((attach != true) && (_root.m_click == false)) {
attach = true;
_root.f_sound("attach");
_x = lock_x;
_y = lock_y;
_root["char_" + char][0]--;
}
} else {
if (attach == true) {
_root["char_" + char][0]++;
}
attach = false;
}
if (((_root["char_" + char][0] == 0) && (_root.body._currentframe == _root["char_" + char][1])) && ((_root.mode == "fun") || (char == _root.stages[_root.current_stage]))) {
if (build != true) {
build = true;
i = 0;
while (i < _root.total_items) {
ob = _root.game["item" + i];
if ((ob.char != char) && (ob._x < 500)) {
ob._x = 600;
}
i++;
}
_root.built = char.toUpperCase();
if (_root.mode == "challenge") {
_root.f_win();
} else {
_root.poster.flash.play();
_root.poster.gotoAndStop(char);
}
}
} else if (build == true) {
build = false;
_root.built = "";
_root.poster.gotoAndStop(1);
}
}
};
}
function f_store(all) {
i = 0;
while (i < total_items) {
ob = game["item" + i];
if (((ob._x > 550) && (ob.stored == false)) || (all != false)) {
ob.stored = true;
ob._x = ob.default_x;
ob._y = ob.default_y;
if (inventory != ob.type) {
ob._visible = false;
}
}
if (all != false) {
body.gotoAndStop(1);
}
i++;
}
}
function f_win() {
win = true;
outro.play();
}
function f_lose() {
cinema = true;
lose = true;
outro.play();
}
function f_engine() {
if (mode == "challenge") {
if ((cinema == true) && (lose != true)) {
time_offset = getTimer();
}
if (win != true) {
secs = Math.floor(60 - ((getTimer() - time_offset) / 1000));
}
if (secs < 0) {
secs = 0;
f_lose();
}
if (_root.win != true) {
if (secs != prev_secs) {
if (secs < 10) {
if (blink != true) {
blink = true;
_root.f_sound("time");
txt_clr = "CC0000";
} else {
blink = false;
txt_clr = "818F8C";
}
}
}
}
time = ((("<font color='#" + txt_clr) + "'>Time: ") + secs) + "</font>";
prog = prog_total;
prog = prog - _root["char_" + _root.stages[_root.current_stage]][0];
if (_root.body._currentframe != _root["char_" + _root.stages[_root.current_stage]][1]) {
prog--;
}
progress = (("Progress: " + prog) + "/") + prog_total;
}
prev_secs = secs;
}
menu.customItems[0] = new ContextMenuItem("Reset", f_store);
char_alienhominid = new Array(3, 2);
char_gish = new Array(1, 6);
char_n = new Array(1, 6);
char_masterchief = new Array(2, 6);
char_kratos = new Array(5, 7);
char_blanka = new Array(4, 5);
char_guile = new Array(5, 4);
char_bomberman = new Array(5, 7);
char_donkeykong = new Array(3, 4);
char_katamari = new Array(4, 5);
char_laracroft = new Array(4, 4);
char_viewtifuljoe = new Array(5, 3);
char_pikachu = new Array(3, 2);
char_solidsnake = new Array(3, 4);
char_mario = new Array(4, 4);
char_gordonfreeman = new Array(5, 4);
char_sonic = new Array(4, 1);
char_megaman = new Array(5, 1);
char_link = new Array(3, 4);
char_zangief = new Array(3, 4);
char_simonbelmont = new Array(4, 4);
stages = new Array("masterchief", "mario", "solidsnake", "sonic", "link", "donkeykong", "megaman", "bomberman", "laracroft", "pikachu", "katamari", "viewtifuljoe", "simonbelmont", "gordonfreeman", "kratos", "blanka", "zangief", "guile");
built = "";
win = false;
lose = false;
cinema = false;
item_num = 0;
item_pool = new Array();
timer.timer_text.html = true;
txt_clr = "818F8C";
x1 = 0;
y1 = 0;
x2 = 0;
y2 = 0;
x3 = 0;
y3 = 0;
i = 0;
while (i < total_items) {
item_pool.push(i + 1);
i++;
}
i = 0;
while (i < total_items) {
r_item = random(item_pool.length);
item_id = item_pool[r_item];
item_pool.splice(r_item, 1);
game.attachMovie("dressup_item", "item" + i, item_id);
ob = game["item" + i];
ob.i.gotoAndStop(item_id);
ob._visible = false;
i++;
}
this.onEnterFrame = function () {
f_engine();
};
this.onMouseDown = function () {
m_click = true;
};
this.onMouseUp = function () {
m_click = false;
f_store(false);
};
_root.filters = [];
stopAllSounds();
if (mode == "challenge") {
prog_total = _root["char_" + _root.stages[_root.current_stage]][0] + 1;
if (level_sound > 3) {
level_sound = 1;
}
f_sound("new_level" + level_sound);
level_sound++;
}
Frame 7 (118 B)
current_stage++;
if (current_stage < stages.length) {
gotoAndStop ("game");
} else {
gotoAndStop ("end");
}
Frame 8 (42 B)
_root.filters = [];
f_sound("gameover");
Frame 9 (13 B)
prevFrame();
Frame 10 (98 B)
_root.filters = [];
beat_challenge_mode = true;
savegame.data.beatgame = true;
f_sound("win");
Symbol 9 Button [item26] (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 11 Button [item24] (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 13 Button [item23] (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 15 Button [item19] (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 17 Button [item46] (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 19 Button [item25] (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 21 Button [item22] (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 23 Button [item21] (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 25 Button [item20] (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 27 Button [item18] (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 29 Button [item17] (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 31 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 33 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 35 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 37 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 39 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 41 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 43 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 45 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 47 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 49 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 51 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 53 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 55 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 57 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 59 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 61 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 63 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 65 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 67 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 69 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 71 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 73 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 75 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 77 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 79 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 81 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 83 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 85 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 87 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 89 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 91 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 93 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 95 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 97 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 99 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 101 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 103 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 105 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 107 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 109 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 111 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 113 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 115 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 117 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 119 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 121 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 123 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 125 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 127 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 129 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 131 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 133 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 135 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 137 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 139 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 141 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 143 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 146 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 148 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 150 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 152 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 154 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 156 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 158 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 160 Button (82 B)
on (press) {
startDrag (_parent);
}
on (release, releaseOutside) {
stopDrag();
}
Symbol 161 MovieClip Frame 1 (89 B)
_parent.type = 1;
_parent.char = "mario";
_parent.lock_x = 270;
_parent.lock_y = 184;
Symbol 161 MovieClip Frame 2 (96 B)
_parent.type = 1;
_parent.char = "simonbelmont";
_parent.lock_x = 231;
_parent.lock_y = 233;
Symbol 161 MovieClip Frame 3 (89 B)
_parent.type = 2;
_parent.char = "mario";
_parent.lock_x = 249;
_parent.lock_y = 305;
Symbol 161 MovieClip Frame 4 (119 B)
_parent.type = 1;
_parent.char = "alienhominid";
_parent.lock_x = 286;
_parent.lock_y = 156;
_parent.indie = true;
Symbol 161 MovieClip Frame 5 (119 B)
_parent.type = 1;
_parent.char = "alienhominid";
_parent.lock_x = 283;
_parent.lock_y = 290;
_parent.indie = true;
Symbol 161 MovieClip Frame 6 (97 B)
_parent.type = 1;
_parent.char = "gordonfreeman";
_parent.lock_x = 313;
_parent.lock_y = 295;
Symbol 161 MovieClip Frame 7 (97 B)
_parent.type = 1;
_parent.char = "gordonfreeman";
_parent.lock_x = 267;
_parent.lock_y = 193;
Symbol 161 MovieClip Frame 8 (97 B)
_parent.type = 1;
_parent.char = "gordonfreeman";
_parent.lock_x = 269;
_parent.lock_y = 271;
Symbol 161 MovieClip Frame 9 (97 B)
_parent.type = 2;
_parent.char = "gordonfreeman";
_parent.lock_x = 248;
_parent.lock_y = 302;
Symbol 161 MovieClip Frame 10 (91 B)
_parent.type = 1;
_parent.char = "pikachu";
_parent.lock_x = 233;
_parent.lock_y = 214;
Symbol 161 MovieClip Frame 11 (91 B)
_parent.type = 1;
_parent.char = "pikachu";
_parent.lock_x = 238;
_parent.lock_y = 139;
Symbol 161 MovieClip Frame 12 (91 B)
_parent.type = 2;
_parent.char = "pikachu";
_parent.lock_x = 141;
_parent.lock_y = 270;
Symbol 161 MovieClip Frame 13 (89 B)
_parent.type = 1;
_parent.char = "sonic";
_parent.lock_x = 234;
_parent.lock_y = 226;
Symbol 161 MovieClip Frame 14 (89 B)
_parent.type = 1;
_parent.char = "sonic";
_parent.lock_x = 246;
_parent.lock_y = 181;
Symbol 161 MovieClip Frame 15 (89 B)
_parent.type = 2;
_parent.char = "sonic";
_parent.lock_x = 301;
_parent.lock_y = 331;
Symbol 161 MovieClip Frame 16 (91 B)
_parent.type = 1;
_parent.char = "megaman";
_parent.lock_x = 275;
_parent.lock_y = 263;
Symbol 161 MovieClip Frame 17 (91 B)
_parent.type = 1;
_parent.char = "megaman";
_parent.lock_x = 261;
_parent.lock_y = 189;
Symbol 161 MovieClip Frame 18 (91 B)
_parent.type = 2;
_parent.char = "megaman";
_parent.lock_x = 278;
_parent.lock_y = 378;
Symbol 161 MovieClip Frame 19 (90 B)
_parent.type = 1;
_parent.char = "blanka";
_parent.lock_x = 240;
_parent.lock_y = 273;
Symbol 161 MovieClip Frame 20 (90 B)
_parent.type = 1;
_parent.char = "blanka";
_parent.lock_x = 235;
_parent.lock_y = 148;
Symbol 161 MovieClip Frame 21 (90 B)
_parent.type = 2;
_parent.char = "blanka";
_parent.lock_x = 233;
_parent.lock_y = 343;
Symbol 161 MovieClip Frame 22 (89 B)
_parent.type = 1;
_parent.char = "guile";
_parent.lock_x = 234;
_parent.lock_y = 138;
Symbol 161 MovieClip Frame 23 (89 B)
_parent.type = 2;
_parent.char = "guile";
_parent.lock_x = 232;
_parent.lock_y = 275;
Symbol 161 MovieClip Frame 24 (89 B)
_parent.type = 2;
_parent.char = "guile";
_parent.lock_x = 233;
_parent.lock_y = 348;
Symbol 161 MovieClip Frame 25 (93 B)
_parent.type = 2;
_parent.char = "bomberman";
_parent.lock_x = 231;
_parent.lock_y = 289;
Symbol 161 MovieClip Frame 26 (93 B)
_parent.type = 1;
_parent.char = "bomberman";
_parent.lock_x = 244;
_parent.lock_y = 216;
Symbol 161 MovieClip Frame 27 (93 B)
_parent.type = 1;
_parent.char = "bomberman";
_parent.lock_x = 227;
_parent.lock_y = 120;
Symbol 161 MovieClip Frame 28 (94 B)
_parent.type = 2;
_parent.char = "donkeykong";
_parent.lock_x = 225;
_parent.lock_y = 296;
Symbol 161 MovieClip Frame 29 (94 B)
_parent.type = 1;
_parent.char = "donkeykong";
_parent.lock_x = 233;
_parent.lock_y = 155;
Symbol 161 MovieClip Frame 30 (92 B)
_parent.type = 1;
_parent.char = "katamari";
_parent.lock_x = 233;
_parent.lock_y = 170;
Symbol 161 MovieClip Frame 31 (96 B)
_parent.type = 2;
_parent.char = "simonbelmont";
_parent.lock_x = 227;
_parent.lock_y = 294;
Symbol 161 MovieClip Frame 32 (95 B)
_parent.type = 2;
_parent.char = "masterchief";
_parent.lock_x = 227;
_parent.lock_y = 305;
Symbol 161 MovieClip Frame 33 (91 B)
_parent.type = 2;
_parent.char = "zangief";
_parent.lock_x = 223;
_parent.lock_y = 347;
Symbol 161 MovieClip Frame 34 (91 B)
_parent.type = 2;
_parent.char = "zangief";
_parent.lock_x = 226;
_parent.lock_y = 293;
Symbol 161 MovieClip Frame 35 (91 B)
_parent.type = 1;
_parent.char = "zangief";
_parent.lock_x = 235;
_parent.lock_y = 178;
Symbol 161 MovieClip Frame 36 (94 B)
_parent.type = 2;
_parent.char = "solidsnake";
_parent.lock_x = 246;
_parent.lock_y = 304;
Symbol 161 MovieClip Frame 37 (94 B)
_parent.type = 1;
_parent.char = "solidsnake";
_parent.lock_x = 233;
_parent.lock_y = 241;
Symbol 161 MovieClip Frame 38 (94 B)
_parent.type = 1;
_parent.char = "solidsnake";
_parent.lock_x = 200;
_parent.lock_y = 190;
Symbol 161 MovieClip Frame 39 (111 B)
_parent.type = 1;
_parent.char = "gish";
_parent.lock_x = 287;
_parent.lock_y = 207;
_parent.indie = true;
Symbol 161 MovieClip Frame 40 (108 B)
_parent.type = 1;
_parent.char = "n";
_parent.lock_x = 182;
_parent.lock_y = 187;
_parent.indie = true;
Symbol 161 MovieClip Frame 41 (88 B)
_parent.type = 2;
_parent.char = "link";
_parent.lock_x = 229;
_parent.lock_y = 310;
Symbol 161 MovieClip Frame 42 (88 B)
_parent.type = 1;
_parent.char = "link";
_parent.lock_x = 213;
_parent.lock_y = 173;
Symbol 161 MovieClip Frame 43 (95 B)
_parent.type = 1;
_parent.char = "masterchief";
_parent.lock_x = 237;
_parent.lock_y = 170;
Symbol 161 MovieClip Frame 44 (96 B)
_parent.type = 2;
_parent.char = "viewtifuljoe";
_parent.lock_x = 198;
_parent.lock_y = 249;
Symbol 161 MovieClip Frame 45 (96 B)
_parent.type = 2;
_parent.char = "viewtifuljoe";
_parent.lock_x = 277;
_parent.lock_y = 318;
Symbol 161 MovieClip Frame 46 (96 B)
_parent.type = 1;
_parent.char = "viewtifuljoe";
_parent.lock_x = 273;
_parent.lock_y = 200;
Symbol 161 MovieClip Frame 47 (90 B)
_parent.type = 1;
_parent.char = "kratos";
_parent.lock_x = 325;
_parent.lock_y = 307;
Symbol 161 MovieClip Frame 48 (90 B)
_parent.type = 2;
_parent.char = "kratos";
_parent.lock_x = 305;
_parent.lock_y = 204;
Symbol 161 MovieClip Frame 49 (90 B)
_parent.type = 2;
_parent.char = "kratos";
_parent.lock_x = 257;
_parent.lock_y = 387;
Symbol 161 MovieClip Frame 50 (93 B)
_parent.type = 1;
_parent.char = "laracroft";
_parent.lock_x = 228;
_parent.lock_y = 206;
Symbol 161 MovieClip Frame 51 (93 B)
_parent.type = 2;
_parent.char = "laracroft";
_parent.lock_x = 231;
_parent.lock_y = 274;
Symbol 161 MovieClip Frame 52 (93 B)
_parent.type = 2;
_parent.char = "laracroft";
_parent.lock_x = 237;
_parent.lock_y = 341;
Symbol 161 MovieClip Frame 53 (92 B)
_parent.type = 1;
_parent.char = "katamari";
_parent.lock_x = 236;
_parent.lock_y = 176;
Symbol 161 MovieClip Frame 54 (92 B)
_parent.type = 2;
_parent.char = "katamari";
_parent.lock_x = 225;
_parent.lock_y = 332;
Symbol 161 MovieClip Frame 55 (91 B)
_parent.type = 3;
_parent.char = "katamari";
_parent.lock_x = 235;
_parent.lock_y = 99;
Symbol 161 MovieClip Frame 56 (89 B)
_parent.type = 3;
_parent.char = "mario";
_parent.lock_x = 245;
_parent.lock_y = 342;
Symbol 161 MovieClip Frame 57 (89 B)
_parent.type = 3;
_parent.char = "mario";
_parent.lock_x = 221;
_parent.lock_y = 378;
Symbol 161 MovieClip Frame 58 (119 B)
_parent.type = 3;
_parent.char = "alienhominid";
_parent.lock_x = 191;
_parent.lock_y = 306;
_parent.indie = true;
Symbol 161 MovieClip Frame 59 (97 B)
_parent.type = 3;
_parent.char = "gordonfreeman";
_parent.lock_x = 173;
_parent.lock_y = 289;
Symbol 161 MovieClip Frame 60 (89 B)
_parent.type = 3;
_parent.char = "sonic";
_parent.lock_x = 220;
_parent.lock_y = 379;
Symbol 161 MovieClip Frame 61 (91 B)
_parent.type = 3;
_parent.char = "megaman";
_parent.lock_x = 166;
_parent.lock_y = 288;
Symbol 161 MovieClip Frame 62 (91 B)
_parent.type = 3;
_parent.char = "megaman";
_parent.lock_x = 223;
_parent.lock_y = 373;
Symbol 161 MovieClip Frame 63 (90 B)
_parent.type = 3;
_parent.char = "blanka";
_parent.lock_x = 234;
_parent.lock_y = 375;
Symbol 161 MovieClip Frame 64 (89 B)
_parent.type = 3;
_parent.char = "guile";
_parent.lock_x = 166;
_parent.lock_y = 243;
Symbol 161 MovieClip Frame 65 (89 B)
_parent.type = 3;
_parent.char = "guile";
_parent.lock_x = 234;
_parent.lock_y = 259;
Symbol 161 MovieClip Frame 66 (93 B)
_parent.type = 3;
_parent.char = "bomberman";
_parent.lock_x = 238;
_parent.lock_y = 293;
Symbol 161 MovieClip Frame 67 (93 B)
_parent.type = 3;
_parent.char = "bomberman";
_parent.lock_x = 234;
_parent.lock_y = 382;
Symbol 161 MovieClip Frame 68 (94 B)
_parent.type = 3;
_parent.char = "donkeykong";
_parent.lock_x = 231;
_parent.lock_y = 285;
Symbol 161 MovieClip Frame 69 (88 B)
_parent.type = 3;
_parent.char = "link";
_parent.lock_x = 191;
_parent.lock_y = 296;
Symbol 161 MovieClip Frame 70 (90 B)
_parent.type = 3;
_parent.char = "kratos";
_parent.lock_x = 220;
_parent.lock_y = 375;
Symbol 161 MovieClip Frame 71 (90 B)
_parent.type = 3;
_parent.char = "kratos";
_parent.lock_x = 222;
_parent.lock_y = 277;
Symbol 161 MovieClip Frame 72 (96 B)
_parent.type = 3;
_parent.char = "simonbelmont";
_parent.lock_x = 233;
_parent.lock_y = 383;
Symbol 161 MovieClip Frame 73 (93 B)
_parent.type = 3;
_parent.char = "laracroft";
_parent.lock_x = 233;
_parent.lock_y = 383;
Symbol 161 MovieClip Frame 74 (96 B)
_parent.type = 3;
_parent.char = "viewtifuljoe";
_parent.lock_x = 220;
_parent.lock_y = 375;
Symbol 161 MovieClip Frame 75 (96 B)
_parent.type = 3;
_parent.char = "viewtifuljoe";
_parent.lock_x = 223;
_parent.lock_y = 272;
Symbol 161 MovieClip Frame 76 (96 B)
_parent.type = 3;
_parent.char = "simonbelmont";
_parent.lock_x = 167;
_parent.lock_y = 326;
Symbol 164 MovieClip [dressup_item] Frame 1 (88 B)
this.onEnterFrame = function () {
_root.f_item(_target);
loc = (_x + ",") + _y;
};
Symbol 205 Button (37 B)
on (press) {
_root.gotoAndStop(3);
}
Symbol 206 MovieClip Frame 1 (8 B)
stop();
Symbol 213 Button (49 B)
on (release) {
NewgroundsAPI.loadNewgrounds();
}
Symbol 218 Button (49 B)
on (release) {
NewgroundsAPI.loadNewgrounds();
}
Symbol 220 MovieClip Frame 1 (0.98 KiB)
function startAd(ngad_url) {
trace("opening " + ngad_url);
System.security.allowDomain("70.87.128.99");
System.security.allowInsecureDomain("70.87.128.99");
System.security.allowDomain("ads.shizmoo.com");
System.security.allowInsecureDomain("ads.shizmoo.com");
System.security.allowDomain("www.cpmstar.com");
System.security.allowInsecureDomain("www.cpmstar.com");
System.security.allowDomain("server.cpmstar.com");
System.security.allowInsecureDomain("server.cpmstar.com");
var ngads_redirect = new XML();
ngads_redirect.ignoreWhite = true;
ngads_redirect.onLoad = function (success) {
trace("[NEWGROUNDS FLASH ADS] :: You may get a 'Security Sandbox Violation' ... this is normal, do not freak out!");
if (success) {
ng_ad.loadMovie(ngads_redirect.toString(), "GET");
}
};
ngads_redirect.load(ngad_url);
}
if (NewgroundsAPI.getAdURL()) {
startAd(NewgroundsAPI.getAdURL());
}
NewgroundsAPI.onAdsApproved = function (ad_url) {
startAd(ad_url);
};
stop();
Symbol 480 MovieClip [__Packages.NewgroundsAPI] Frame 0 (12.42 KiB) ● ●
class NewgroundsAPI
{
static var tracker_id, host, version, debug, error_format, header_format, normal_format, link_format;
function NewgroundsAPI () {
}
static function connectMovie(id) {
if (!id) {
SendError("Missing required 'id' parameter in NewgroundsAPI.connectMovie(id:Number)");
} else if (!tracker_id) {
SendMessage("Connecting to API gateway...");
tracker_id = id;
host = _url.split("/")[2].toLowerCase();
if (host.length < 1) {
host = "localhost";
}
var _local2 = new Object();
SendEvent(MOVIE_VIEWS);
}
}
static function setMovieVersion(movie_version) {
if (!movie_version) {
SendError("Missing required 'version' in NewgroundsAPI.setMovieVersion(version:String)");
} else {
version = movie_version;
}
}
static function debugMode() {
debug = true;
}
static function addCustomEvent(stat_id, stat_name) {
if (!stat_id) {
SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)");
} else if (!stat_name) {
SendError("Missing required 'event_name' parameter in NewgroundsAPI.AddCustomEvent(id:Number, event_name:String)");
} else {
custom_events[stat_name] = CUSTOM_STATS + stat_id;
SendMessage("Created custom event: " + stat_name);
}
}
static function addCustomLink(stat_id, stat_name) {
if (!stat_id) {
SendError("Missing required 'id' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)");
} else if (!stat_name) {
SendError("Missing required 'link_name' parameter in NewgroundsAPI.AddCustomLink(id:Number, link_name:String)");
} else {
custom_links[stat_name] = CUSTOM_STATS + stat_id;
SendMessage((("Created custom link " + stat_id) + ": ") + stat_name);
}
}
static function loadMySite() {
SendLink(AUTHOR_SITE);
}
static function loadNewgrounds(special) {
if (special) {
var _local1 = {page:special};
}
SendLink(NEWGROUNDS, _local1);
}
static function logCustomEvent(event_name) {
if (!event_name) {
SendError("Missing required 'event_name' parameter in NewgroundsAPI.logCustomEvent(event_name:String)");
} else if (!custom_events[event_name]) {
SendError("Attempted to log undefined custom event: " + event_name);
} else {
SendEvent(custom_events[event_name]);
}
}
static function loadCustomLink(link_name) {
if (!link_name) {
SendError("Missing required 'link_name' parameter in NewgroundsAPI.loadCustomLink(link_name:String)");
} else if (!custom_links[link_name]) {
SendError("Attempted to open undefined custom link: " + link_name);
} else {
SendLink(custom_links[link_name]);
}
}
static function getAdURL() {
return(movie_options.ad_url);
}
static function getMovieURL() {
if (movie_options.movie_url) {
return(movie_options.movie_url);
}
return("Newgrounds.com");
}
static function getNewVersionURL() {
return((((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + NEW_VERSION);
}
static function SendEvent(id) {
SendStat(id, false);
}
static function SendLink(id, extra) {
SendStat(id, true, extra);
}
static function ReadGatewayData(params) {
for (var _local2 in params) {
params[_local2] = unescape(params[_local2]);
movie_options[_local2] = params[_local2];
}
if (params.settings_loaded) {
SendMessage("You have successfully connected to the Newgrounds API gateway!");
SendMessage(("Movie Identified as '" + movie_options.movie_name) + "'");
if (movie_options.message) {
SendMessage(movie_options.message);
}
if (movie_options.ad_url) {
SendMessage("Your movie has been approved to run Flash Ads");
onAdsApproved(movie_options.ad_url);
}
if (movie_options.movie_version and (movie_options.movie_version.toString() != version.toString())) {
SendMessage("WARNING: The movie version configured in your API settings does not match this movie's version!");
onNewVersionAvailable(movie_options.movie_version, getMovieURL(), getNewVersionURL());
}
if (movie_options.deny_host) {
SendMessage("You have blocked 'localHost' in your API settings.");
SendMessage("If you wish to test your movie you will need to remove this block.");
onDenyHost(host, getMovieURL(), getNewVersionURL());
}
if (movie_options.request_portal_url == 1) {
var _local4 = (((GATEWAY_URL + "?&id=") + tracker_id) + "&portal_url=") + escape(_url);
var _local3 = new XML();
_local3.ignoreWhite = true;
_local3.load(_local4);
}
} else if (!movie_options.settings_loaded) {
SendError("Could not establish connection to the API gateway.");
}
}
static function SendStat(stat_id, open_in_browser, extra) {
if (!tracker_id) {
SendError("API calls cannot be made without a valid movie id.");
SendError("Did you remember to add the \"NewgroundsAPI.connectMovie()\" code?");
} else {
var _local7 = (((((GATEWAY_URL + "?&id=") + tracker_id) + "&host=") + escape(host)) + "&stat=") + stat_id;
for (var _local9 in extra) {
_local7 = _local7 + ((("&" + escape(_local9)) + "=") + escape(extra[_local9]));
}
trace(_local7);
if (debug) {
_local7 = _local7 + "&debug=1";
}
if (open_in_browser) {
getURL (_local7, "_blank");
} else {
var _local10 = new XML();
_local10.ignoreWhite = true;
_local10.onLoad = function (success) {
var _local6 = new Object();
var _local3 = 0;
while (_local3 < this.firstChild.childNodes.length) {
var _local4 = this.firstChild.childNodes[_local3];
var _local5 = _local4.nodeName;
var _local2 = _local4.attributes.value;
if (_local2 == Number(_local2)) {
_local2 = Number(_local2);
}
_local6[_local5] = _local2;
_local3++;
}
NewgroundsAPI.ReadGatewayData(_local6);
};
_local10.load(_local7);
}
}
}
static function SendError(msg) {
trace("[NEWGROUNDS API ERROR] :: " + msg);
}
static function SendMessage(msg) {
trace("[NEWGROUNDS API] :: " + msg);
}
static function InitTextFormats() {
if (!error_format) {
error_format = new TextFormat();
error_format.font = "Arial Black";
error_format.size = 48;
error_format.color = 16711680 /* 0xFF0000 */;
}
if (!header_format) {
header_format = new TextFormat();
header_format.font = "Arial Black";
header_format.size = 24;
header_format.color = 16777215 /* 0xFFFFFF */;
}
if (!normal_format) {
normal_format = new TextFormat();
normal_format.font = "Arial";
normal_format.bold = true;
normal_format.size = 12;
normal_format.color = 16777215 /* 0xFFFFFF */;
}
if (!link_format) {
link_format = new TextFormat();
link_format.color = 16776960 /* 0xFFFF00 */;
link_format.underline = true;
}
}
static function onNewVersionAvailable(version, movie_url, redirect_url) {
InitTextFormats();
var _local2 = new Object();
_local2.x = Stage.width / 2;
_local2.y = Stage.height / 2;
_root.createEmptyMovieClip("NGAPI_new_version_overlay", _root.getNextHighestDepth());
_root.NGAPI_new_version_overlay.lineStyle(1, 0, 100);
_root.NGAPI_new_version_overlay.beginFill(0, 70);
_root.NGAPI_new_version_overlay.moveTo(-10, -10);
_root.NGAPI_new_version_overlay.lineTo(-10, 1000);
_root.NGAPI_new_version_overlay.lineTo(1000, 1000);
_root.NGAPI_new_version_overlay.lineTo(1000, -10);
_root.NGAPI_new_version_overlay.lineTo(-10, -10);
_root.NGAPI_new_version_overlay.endFill();
_root.NGAPI_new_version_overlay.lineStyle(10, 0, 100);
_root.NGAPI_new_version_overlay.beginFill(51);
_root.NGAPI_new_version_overlay.moveTo(_local2.x - 240, _local2.y - 120);
_root.NGAPI_new_version_overlay.lineTo(_local2.x + 240, _local2.y - 120);
_root.NGAPI_new_version_overlay.lineTo(_local2.x + 240, _local2.y + 80);
_root.NGAPI_new_version_overlay.lineTo(_local2.x - 240, _local2.y + 80);
_root.NGAPI_new_version_overlay.lineTo(_local2.x - 240, _local2.y - 120);
_root.NGAPI_new_version_overlay.endFill();
_root.NGAPI_new_version_overlay.createEmptyMovieClip("exit", 1000);
_root.NGAPI_new_version_overlay.exit.lineStyle(2, 39423, 100);
_root.NGAPI_new_version_overlay.exit.beginFill(0, 50);
_root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 210, _local2.y - 110);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 230, _local2.y - 110);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 230, _local2.y - 90);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 210, _local2.y - 90);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 210, _local2.y - 110);
_root.NGAPI_new_version_overlay.exit.endFill();
_root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 214, _local2.y - 106);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 226, _local2.y - 94);
_root.NGAPI_new_version_overlay.exit.moveTo(_local2.x + 226, _local2.y - 106);
_root.NGAPI_new_version_overlay.exit.lineTo(_local2.x + 214, _local2.y - 94);
_root.NGAPI_new_version_overlay.exit.onMouseUp = function () {
if (_root.NGAPI_new_version_overlay.exit.hitTest(_root._xmouse, _root._ymouse)) {
_root.NGAPI_new_version_overlay.removeMovieClip();
}
};
var _local3 = (("Version " + version) + " is now available at:") + newline;
var _local5 = _local3.length;
_local3 = _local3 + movie_url;
var _local4 = _local3.length;
_root.NGAPI_new_version_overlay.createTextField("mouseblocker", 99, -10, -10, 1000, 1000);
_root.NGAPI_new_version_overlay.createTextField("newversion", 100, _local2.x - 210, _local2.y - 90, 400, 80);
_root.NGAPI_new_version_overlay.newversion.text = "New Version Available!";
_root.NGAPI_new_version_overlay.newversion.setTextFormat(header_format);
_root.NGAPI_new_version_overlay.createTextField("message", 101, (Stage.width - 400) / 2, Stage.height / 2, 400, 40);
_root.NGAPI_new_version_overlay.message.text = _local3;
_root.NGAPI_new_version_overlay.message.multiline = true;
_root.NGAPI_new_version_overlay.message.wordWrap = true;
_root.NGAPI_new_version_overlay.message.html = true;
_root.NGAPI_new_version_overlay.message.setTextFormat(normal_format);
link_format.url = redirect_url;
_root.NGAPI_new_version_overlay.message.setTextFormat(_local5, _local4, link_format);
}
static function onDenyHost(hostname, movie_url, redirect_url) {
InitTextFormats();
_root.createEmptyMovieClip("NGAPI_deny_host_overlay", _root.getNextHighestDepth());
_root.NGAPI_deny_host_overlay.lineStyle(20, 0, 100);
_root.NGAPI_deny_host_overlay.beginFill(6684672);
_root.NGAPI_deny_host_overlay.moveTo(0, 0);
_root.NGAPI_deny_host_overlay.lineTo(Stage.width, 0);
_root.NGAPI_deny_host_overlay.lineTo(Stage.width, Stage.height);
_root.NGAPI_deny_host_overlay.lineTo(0, Stage.height);
_root.NGAPI_deny_host_overlay.lineTo(0, 0);
_root.NGAPI_deny_host_overlay.endFill();
var _local2 = ("This movie has not been approved for use on " + hostname) + ".";
_local2 = _local2 + "\r\rFor an aproved copy, please visit:\r";
var _local4 = _local2.length;
_local2 = _local2 + movie_url;
var _local3 = _local2.length;
_root.NGAPI_deny_host_overlay.createTextField("mousekill", 100, 0, 0, Stage.width, Stage.height);
_root.NGAPI_deny_host_overlay.createTextField("error", 101, (Stage.width - 400) / 2, (Stage.height / 2) - 100, 400, 200);
_root.NGAPI_deny_host_overlay.error.text = "ERROR!";
_root.NGAPI_deny_host_overlay.error.setTextFormat(error_format);
_root.NGAPI_deny_host_overlay.createTextField("message", 102, (Stage.width - 400) / 2, Stage.height / 2, 400, 200);
_root.NGAPI_deny_host_overlay.message.text = _local2;
_root.NGAPI_deny_host_overlay.message.multiline = true;
_root.NGAPI_deny_host_overlay.message.wordWrap = true;
_root.NGAPI_deny_host_overlay.message.html = true;
_root.NGAPI_deny_host_overlay.message.setTextFormat(normal_format);
link_format.url = redirect_url;
_root.NGAPI_deny_host_overlay.message.setTextFormat(_local4, _local3, link_format);
}
static function isInstalled() {
return(true);
}
static function onAdsApproved(ad_url) {
}
static var movie_options = new Object();
static var custom_events = new Object();
static var custom_links = new Object();
static var MOVIE_VIEWS = 1;
static var AUTHOR_SITE = 2;
static var NEWGROUNDS = 3;
static var NEW_VERSION = 4;
static var CUSTOM_STATS = 50;
static var GATEWAY_URL = "http://www.ngads.com/gateway.php";
}
Symbol 224 Button (63 B)
on (press) {
getURL ("http://www.newgrounds.com", "_blank");
}
Symbol 225 MovieClip Frame 79 (19 B)
_root.nextFrame();
Symbol 234 MovieClip Frame 1 (8 B)
stop();
Symbol 244 Button (58 B)
on (press) {
mode = "challenge";
gotoAndStop ("game");
}
Symbol 251 Button (52 B)
on (press) {
mode = "fun";
gotoAndStop ("game");
}
Symbol 275 Button (47 B)
on (press) {
NewgroundsAPI.loadNewgrounds();
}
Symbol 277 Button (43 B)
on (press) {
NewgroundsAPI.loadMySite();
}
Symbol 288 MovieClip Frame 1 (8 B)
stop();
Symbol 290 Button (70 B)
on (press) {
getURL ("http://www.thisisacryforhelp.com", "_blank");
}
Symbol 383 Button (57 B)
on (press) {
_root.f_sound("click");
gotoAndStop (2);
}
Symbol 384 Button (57 B)
on (press) {
_root.f_sound("click");
gotoAndStop (3);
}
Symbol 389 Button (57 B)
on (press) {
_root.f_sound("click");
gotoAndStop (1);
}
Symbol 393 MovieClip Frame 1 (30 B)
_root.inventory = 1;
stop();
Symbol 393 MovieClip Frame 2 (21 B)
_root.inventory = 2;
Symbol 393 MovieClip Frame 3 (21 B)
_root.inventory = 3;
Symbol 395 Button (61 B)
on (press) {
_root.f_sound("click");
body.gotoAndStop(1);
}
Symbol 396 Button (61 B)
on (press) {
_root.f_sound("click");
body.gotoAndStop(2);
}
Symbol 397 Button (61 B)
on (press) {
_root.f_sound("click");
body.gotoAndStop(3);
}
Symbol 398 Button (61 B)
on (press) {
_root.f_sound("click");
body.gotoAndStop(4);
}
Symbol 399 Button (61 B)
on (press) {
_root.f_sound("click");
body.gotoAndStop(5);
}
Symbol 400 Button (61 B)
on (press) {
_root.f_sound("click");
body.gotoAndStop(6);
}
Symbol 401 Button (61 B)
on (press) {
_root.f_sound("click");
body.gotoAndStop(7);
}
Symbol 407 Button (52 B)
on (release) {
f_sound("attach");
f_store(true);
}
Symbol 410 MovieClip Frame 1 (31 B)
stop();
_parent.filters = [];
Symbol 410 MovieClip Frame 2 (86 B)
_parent.filters = [new flash.filters.BlurFilter(10, 10, 1)];
_root.f_sound("build");
Symbol 410 MovieClip Frame 10 (22 B)
_parent.filters = [];
Symbol 449 MovieClip Frame 1 (100 B)
if (_root.mode == "fun") {
stop();
} else {
gotoAndStop(_root.stages[_root.current_stage]);
}
Symbol 453 MovieClip Frame 1 (65 B)
if (_root.mode == "fun") {
nextFrame();
} else {
stop();
}
Symbol 457 MovieClip Frame 1 (111 B)
if (_root.mode == "challenge") {
play();
} else {
stop();
}
txt = "Stage " + (_root.current_stage + 1);
Symbol 457 MovieClip Frame 2 (21 B)
_root.cinema = true;
Symbol 457 MovieClip Frame 82 (66 B)
txt = "Build " + _root.stages[_root.current_stage].toUpperCase();
Symbol 457 MovieClip Frame 162 (31 B)
_root.cinema = false;
stop();
Symbol 458 MovieClip Frame 1 (63 B)
if (_root.win == true) {
nextFrame();
} else {
stop();
}
Symbol 459 MovieClip Frame 1 (8 B)
stop();
Symbol 459 MovieClip Frame 2 (58 B)
if (_root.win == true) {
_root.f_sound("end_level");
}
Symbol 459 MovieClip Frame 40 (172 B)
n = 0;
onEnterFrame = function () {
if (blur < 8) {
n = n + 0.25;
}
blur = Math.floor(n);
_root.filters = [new flash.filters.BlurFilter(blur, blur, 1)];
};
Symbol 459 MovieClip Frame 68 (99 B)
if (_root.win == true) {
_root.gotoAndStop("win");
} else {
_root.gotoAndStop("gameover");
}
Symbol 463 Button (40 B)
on (release) {
gotoAndStop ("title");
}
Symbol 465 MovieClip Frame 1 (65 B)
if (_root.mode == "fun") {
nextFrame();
} else {
stop();
}
Symbol 469 Button (84 B)
on (release) {
getURL ("http://diverge.ws/?page=viewarticle&id=1", "_blank");
}
Symbol 475 Button (37 B)
on (press) {
gotoAndStop ("game");
}
Symbol 479 Button (38 B)
on (press) {
gotoAndStop ("title");
}