Frame 1
var pl = loader.preload;
var xScale = 50;
var yScale = -50;
var flmW = (pl._width + Math.abs(xScale));
var flmH = (pl._height + Math.abs(yScale));
var speed = 1;
var baseX = (flmW / 10);
var baseY = (flmW / 10);
var octaves = 4;
var seed = 20;
var firePos = (new flash.geom.Point());
var offsets = new Array();
while (offsets.length < octaves) {
offsets.push(firePos);
}
var displacementMap = (new flash.display.BitmapData(flmW, flmH, true, 4278190080));
displacementMap.perlinNoise(baseX, baseY, octaves, seed, false, false, 1, false, offsets);
gg = new flash.filters.GradientGlowFilter(0, 0, [0, 16744448, 16776960, 16776960, 16777215], [0, 1, 1, 1, 1], [0, 31, 224, 250, 255], 8, 8, 3, 1, "outer", false);
createEmptyMovieClip("gradient", getNextHighestDepth());
with (gradient) {
var w = _root.flmW;
var h = _root.flmH;
lineStyle(0, 0, 0);
var m = (new flash.geom.Matrix());
m.createGradientBox(flmW, flmH, (Math.PI/2));
beginGradientFill("linear", [8421504, 8421504], [0, 100], [0, 200], m);
lineTo(w, 0);
lineTo(w, h);
lineTo(0, h);
endFill();
}
gradientBmp = new flash.display.BitmapData(flmW, flmH, true, 0);
gradientBmp.draw(gradient);
displacementMap.draw(gradientBmp);
gradient.removeMovieClip();
var dmFilter = (new flash.filters.DisplacementMapFilter(displacementMap, new flash.geom.Point(0, 0), 1, 2, xScale, yScale, "color", 0, 0));
var f = pl.filters;
f.push(gg);
f.push(dmFilter);
pl.filters = f;
pl.lineStyle(1, 0, 0);
var devX = ((xScale >= 0) ? 2 : -2);
var devY = ((yScale >= 0) ? 2 : -2);
pl.lineTo(flmW / devX, flmH / devY);
var count = 0;
onEnterFrame = function () {
firePos.y = firePos.y + speed;
displacementMap.perlinNoise(baseX, baseY, octaves, seed, false, false, 3, false, offsets);
displacementMap.draw(gradientBmp);
pl.filters = f;
var _local1 = Math.round((getBytesLoaded() / getBytesTotal()) * 100);
pl.gotoAndStop(Math.min(_local1));
if (_local1 >= 100) {
nextFrame();
}
};
stop();
Frame 2
function sitelock(urls_allowed) {
urlStart = _url.indexOf("://") + 3;
urlEnd = _url.indexOf("/", urlStart);
domain = _url.substring(urlStart, urlEnd);
LastDot = domain.lastIndexOf(".") - 1;
domEnd = domain.lastIndexOf(".", LastDot) + 1;
domain = domain.substring(domEnd, domain.length);
var _local3 = false;
for (var _local4 in urls_allowed) {
if (urls_allowed[_local4] == domain) {
_local3 = true;
}
}
if (!_local3) {
delete onEnterFrame;
_root.gotoAndStop("Locked");
_root._x = 2175;
_root._y = 2100;
}
}
stop();
urls_allowed = ["armorgames.com", "addictinggames.com", "shockwave.com"];
onEnterFrame = function () {
var _local1 = Math.round((getBytesLoaded() / getBytesTotal()) * 100);
if (_local1 >= 100) {
sitelock(urls_allowed);
play();
}
};
Frame 3
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;
var pv;
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);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&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__("42baeb10", this, 10301, true);
_root.kongregateServices.connect();
Frame 12
delete onEnterFrame;
gotoAndStop ("Logo");
Frame 13
if (false) {
}
Frame 22
stop();
ChainOfFire.main(this);
Frame 27
gotoAndStop (1);
Frame 28
nextFrame();
Frame 30
prevFrame();
Symbol 8 MovieClip [fLoadingScreen] Frame 1
#initclip 1
Object.registerClass("fLoadingScreen", LoadingScreen);
#endinitclip
Symbol 305 MovieClip [__Packages.LoadingScreen] Frame 0
class LoadingScreen extends MovieClip
{
var _x, _y, w, h, c, a, fE, preload, loading, clear, lineStyle, beginFill, moveTo, lineTo, endFill;
function LoadingScreen () {
super();
}
function LoadinScreen() {
}
function init(x, y, width, height, bgColor, bgAlpha, colors) {
_x = x;
_y = y;
w = width;
h = height;
c = bgColor;
a = bgAlpha;
fE = new FlameEffect(preload, 126, 21, 25, 25, 8, 10, 1, 1, 0, colors, true, 2);
preload.stop();
draw();
}
function step(sl) {
fE.burn(sl);
}
function prog(p) {
preload.gotoAndStop(Math.floor(p * 100));
}
function remove() {
fE.remove();
preload.swapDepths(100);
loading.swapDepths(99);
preload.removeMovieClip();
loading.removeMovieClip();
}
function draw() {
clear();
lineStyle(0, 0, 0);
beginFill(c, a);
moveTo(-_x, -_y);
lineTo(w - _x, -_y);
lineTo(w - _x, h - _y);
lineTo(-_x, h - _y);
endFill();
}
}
Symbol 306 MovieClip [__Packages.FlameEffect] Frame 0
class FlameEffect
{
var clip, sz, qlty, dx, scx, scy, cw, ch, w, h, spd, spdDec, sd, l, zP, pN, dMp, dM, grad, gg, ggi, dMi, pS, __get__direction, __get__colors;
function FlameEffect (src, wt, ht, scX, scY, glow, size, speed, easeH, easeY, c, showSrc, len, removeGlow) {
clip = src;
sz = (((size < 4) or (!size)) ? 4 : (Math.round(size)));
qlty = 1;
dx = ((scX > 0) ? -1 : 1);
scx = Math.abs(scX);
scy = -Math.abs(scY);
cw = wt;
ch = ht;
w = cw + (scx / 2);
h = ch - scy;
spd = -Math.abs(speed);
spdDec = 0;
sd = random(255);
var _local8 = 2;
l = (((len < 1) or (!len)) ? 1 : (len));
zP = new flash.geom.Point();
pN = new flash.display.BitmapData(w, h * l, true, 0);
pN.perlinNoise(sz, sz, _local8, sd, true, false, 5, false);
dMp = new flash.display.BitmapData(w, h, true, 0);
dM = new flash.filters.DisplacementMapFilter(dMp, new flash.geom.Point(0, (ch - h) / 2), 1, 4, scx, scy, "color", 0, 0);
var _local5 = new flash.geom.Matrix();
_local5.createGradientBox(w, h * easeH, (Math.PI/2), 0, h * easeY);
var _local2 = clip.createEmptyMovieClip("tempFireEffectGrad", clip.getNextHighestDepth());
_local2.beginGradientFill("linear", [8421504, 8421504], [0, 100], [0, 255], _local5);
_local2.lineStyle(0, 0, 0);
_local2.lineTo(w, 0);
_local2.lineTo(w, h);
_local2.lineTo(0, h);
_local2.endFill();
grad = new flash.display.BitmapData(w, h, true, 0);
grad.draw(_local2);
_local2.removeMovieClip();
if (!removeGlow) {
gg = new flash.filters.GradientGlowFilter(0, 0, [0, ((!(c[0] === undefined)) ? (c[0]) : 16744448), ((c[1] != undefined) ? (c[1]) : 16776960), ((c[1] != undefined) ? (c[1]) : 16776960), ((!(c[2] === undefined)) ? (c[2]) : 16777215)], [0, 1, 1, 1, 1], [0, 31, 224, 250, 255], glow, glow, 3, qlty, (showSrc ? "outer" : "full"), false);
var _local4 = clip.filters;
ggi = _local4.length;
_local4.push(gg);
clip.filters = _local4;
dMi = ggi + 1;
} else {
dMi = clip.filters.length;
}
}
function burn(frameLen) {
var _local3 = spd * frameLen;
var _local2 = ((spd > 0) ? (Math.floor(_local3)) : (Math.ceil(_local3)));
spdDec = spdDec + (_local3 - _local2);
if (Math.abs(spdDec) >= 1) {
((spd > 0) ? (--spdDec_local2++) : (++spdDec_local2--));
}
if (_local2) {
pS = new flash.display.BitmapData(w, Math.abs(_local2), true);
var _local4 = pS.rectangle.clone();
_local4.y = ((_local2 > 0) ? (pN.height - _local2) : 0);
var _local6 = new flash.geom.Point(0, ((0 > _local2) ? (pN.height + _local2) : 0));
pS.copyPixels(pN, _local4, zP);
pN.scroll(0, _local2);
pN.copyPixels(pS, pS.rectangle, _local6);
dMp.copyPixels(pN, pN.rectangle, zP);
dMp.draw(grad);
var _local5 = clip.filters;
_local5[dMi] = dM;
clip.filters = _local5;
}
}
function set direction(dir) {
dx = (((dir < 0) or (!dir)) ? -1 : 1);
//return(__get__direction());
}
function set colors(c) {
if (ggi != undefined) {
gg.colors = [0, ((!(c[0] === undefined)) ? (c[0]) : 16744448), ((!(c[1] === undefined)) ? (c[1]) : 16776960), ((!(c[1] === undefined)) ? (c[1]) : 16776960), ((!(c[2] === undefined)) ? (c[2]) : 16777215)];
var _local3 = clip.filters;
_local3[ggi] = gg;
clip.filters = _local3;
}
//return(__get__colors());
}
function reset(src) {
pN = new flash.display.BitmapData(w, h * l, true, 0);
pN.perlinNoise(sz, sz, 2, sd, true, false, 5, false);
if (src) {
clip = src;
if (!(ggi === undefined)) {
var _local2 = clip.filters;
ggi = _local2.length;
_local2.push(gg);
clip.filters = _local2;
dMi = ggi + 1;
} else {
dMi = clip.filters.length;
}
}
}
function remove() {
delete gg;
pN.dispose();
pS.dispose();
dMp.dispose();
grad.dispose();
var _local2 = clip.filters;
_local2[ggi] = null;
clip.filters = _local2;
}
}
Symbol 307 MovieClip [__Packages.MenuButton] Frame 0
class MenuButton extends MovieClip
{
var stop, onRollOver, onPress, onDragOver, onRollOut, onDragOut, _x, _y, Label_txt;
function MenuButton () {
super();
(stop());// not popped
onRollOver = function () {
(this.gotoAndStop(2));// not popped
};
onPress = (onDragOver = function () {
(this.gotoAndStop(3));// not popped
});
onRollOut = (onDragOut = function () {
(this.gotoAndStop(1));// not popped
});
Text = (txt);
}
function setLocation(x, y) {
_x = x;
_y = y;
}
function get Text() {
return(txt);
}
function set Text(ntxt) {
txt = ntxt;
Label_txt.text = ntxt;
//return(Text);
}
var txt = "";
}
Symbol 308 MovieClip [__Packages.EndScreen] Frame 0
class EndScreen extends MovieClip
{
var fFX, Fire, ss, mm, scr, scr_txt, fColors, sMan, ps, _listeners, attachMovie, getNextHighestDepth, win, __get__active;
function EndScreen () {
super();
AsBroadcaster.initialize(this);
fFX = new FlameEffect(Fire, 610, 130, 100, 100, 16, 20, 2, 0.4, 0.6, [], true, 1, true);
ss.txt = "Send Score";
mm.txt = "Main Menu";
ss.onRelease = mx.utils.Delegate.create(this, ssReleased);
mm.onRelease = mx.utils.Delegate.create(this, mmReleased);
scr_txt.text = scr.toString();
Fire.colors = fColors;
}
function step(sl) {
fFX.burn(sl);
}
function mmReleased() {
sMan.playSound(ps);
broadcastMessage("removeListener", this);
broadcastMessage("returnToTitle");
}
function ssReleased() {
sMan.playSound(ps);
broadcastMessage("updateFires", _listeners[0].playerScore);
attachMovie("fSendHighScoreWindow", "win", getNextHighestDepth());
win.scr_txt.text = _listeners[0].playerScore;
win.addListener(_listeners[0]);
win.addListener(this);
}
function doneReleased() {
ss.gotoAndStop("up");
win.removeMovieClip();
active = (true);
}
function set active(a) {
mm.enabled = a;
ss.enabled = a;
//return(__get__active());
}
function setFireColors(c) {
if (Fire.c1 === undefined) {
Fire.c1 = c[0];
Fire.c2 = c[1];
Fire.c3 = c[2];
} else {
Fire.colors = c;
}
}
function addSounds(man, pressSound) {
sMan = man;
ps = pressSound;
}
function addListener() {
}
function removeListener() {
}
function broadcastMessage() {
}
}
Symbol 309 MovieClip [__Packages.ChainOfFireSoundManager] Frame 0
class ChainOfFireSoundManager
{
var sfx_mc, sfx, music_mc, music;
function ChainOfFireSoundManager (tl, sfxDepth, musicDepth) {
sfx_mc = tl.createEmptyMovieClip("sfx_mc", sfxDepth);
sfx = new Sound(sfx_mc);
music_mc = tl.createEmptyMovieClip("music_mc", musicDepth);
music = new Sound(music_mc);
music.setVolume(200);
music.onSoundComplete = mx.utils.Delegate.create(this, nextTrack);
}
function RegisterSound(linkName, type) {
var _local2 = sounds.length;
sounds.push(new Sound(sfx_mc.createEmptyMovieClip("s" + _local2, _local2)));
types.push(type);
soundsPlaying.push(0);
sounds[_local2].attachSound(linkName);
sounds[_local2].setVolume(30);
if (type == "vol") {
sounds[_local2].setVolume(0);
sounds[_local2].onSoundComplete = function () {
this.start();
};
sounds[_local2].start();
}
return(_local2);
}
function RegisterMusic(linkName, vol) {
var _local2 = tracks.length;
tracks.push(linkName);
vols.push(vol);
return(_local2);
}
function playSound(n) {
if (n < sounds.length) {
switch (types[n]) {
case "vol" :
sounds[n].setVolume(Math.min((++soundsPlaying[n]) * 10, 100));
break;
default :
sounds[n].start();
soundsPlaying[n]++;
}
}
}
function stopSound(n) {
switch (types[n]) {
case "vol" :
sounds[n].setVolume(Math.min((--soundsPlaying[n]) * 10, 100));
break;
default :
sounds[n].stop();
soundsPlaying[n]--;
}
}
function stopSFX() {
for (var _local2 in sounds) {
switch (types[_local2]) {
case "vol" :
sounds[_local2].setVolume(0);
break;
default :
sounds[_local2].stop();
}
soundsPlaying[_local2] = 0;
}
}
function pauseSFX() {
for (var _local2 in sounds) {
switch (types[_local2]) {
case "vol" :
sounds[_local2].setVolume(0);
break;
default :
sounds[_local2].stop();
soundsPlaying[_local2] = 0;
}
}
}
function playTrack(n) {
if (n >= tracks.length) {
n = 0;
}
music.stop();
if (!muteMusic) {
music.setVolume(vols[n]);
}
music.attachSound(tracks[n]);
music.start(0, loop);
}
function nextTrack() {
if ((++currentTrack) >= tracks.length) {
currentTrack = 0;
}
playTrack(currentTrack);
}
function toggleLoop() {
if (loop == 1) {
loop = 99999999 /* 0x5F5E0FF */;
} else {
loop = 1;
}
}
function toggleMusic() {
muteMusic = !muteMusic;
if (muteMusic) {
music.setVolume(0);
} else {
music.setVolume(vols[currentTrack]);
}
}
function toggleSound() {
muteSFX = !muteSFX;
trace("sound toggled " + muteSFX);
if (muteSFX) {
sfx.setVolume(0);
} else {
sfx.setVolume(100);
}
}
function resumeSounds() {
for (var _local2 in sounds) {
if (types[_local2] == "vol") {
sounds[_local2].setVolume(Math.min(soundsPlaying[_local2] * 10, 100));
}
}
}
var sounds = new Array();
var types = new Array();
var soundsPlaying = new Array();
var tracks = new Array();
var currentTrack = 0;
var muteMusic = false;
var muteSFX = false;
var loop = 1;
var vols = new Array();
}
Symbol 310 MovieClip [__Packages.mx.utils.Delegate] Frame 0
class mx.utils.Delegate extends Object
{
var func;
function Delegate (f) {
super();
func = f;
}
static function create(obj, func) {
var _local2 = function () {
var _local2 = arguments.callee.target;
var _local3 = arguments.callee.func;
return(_local3.apply(_local2, arguments));
};
_local2.target = obj;
_local2.func = func;
return(_local2);
}
function createDelegate(obj) {
return(create(obj, func));
}
}
Symbol 311 MovieClip [__Packages.TitleScreen] Frame 0
class TitleScreen extends MovieClip
{
var fFX, Fire, Play_btn, Inst_btn, Opts_btn, HS_btn, Spns_btn, SideOp, cred_mode, play_mode, opts_mode, frch_mode, inst_mode, hs_mode, sMan, ps, _listeners;
function TitleScreen () {
super();
AsBroadcaster.initialize(this);
fFX = new FlameEffect(Fire, 610, 130, 100, 100, 16, 20, 2, 0.4, 0.6, [0], true, 1, true);
Play_btn.txt = "Play";
Inst_btn.txt = "Intructions";
Opts_btn.txt = "Options";
HS_btn.txt = "High Scores";
Spns_btn.txt = "More Games";
Play_btn.onRelease = mx.utils.Delegate.create(this, playRelease);
Inst_btn.onRelease = mx.utils.Delegate.create(this, instRelease);
Opts_btn.onRelease = mx.utils.Delegate.create(this, optsRelease);
HS_btn.onRelease = mx.utils.Delegate.create(this, hsRelease);
Spns_btn.onRelease = mx.utils.Delegate.create(this, spnsRelease);
SideOp = new MenuWindow(this, 260, 200, SIDEOP_DEPTH);
cred_mode = SideOp.RegisterMode("fCreditsWindow");
play_mode = SideOp.RegisterMode("fPlayWindow");
opts_mode = SideOp.RegisterMode("fOptionsWindow");
frch_mode = SideOp.RegisterMode("fFireColorChoose");
inst_mode = SideOp.RegisterMode("fInstructionsWindow");
hs_mode = SideOp.RegisterMode("fHighScoreWindow");
SideOp.SwitchMode(cred_mode);
if (_root.domain == "kongregate.com") {
HS_btn._x = -10000;
Spns_btn._y = HS_btn._y;
}
}
function step(sl) {
fFX.burn(sl);
}
function playRelease() {
sMan.playSound(ps);
SideOp.SwitchMode(play_mode);
broadcastMessage("setPlayModes", SideOp.Screen);
SideOp.Screen.addListener(this);
SideOp.Screen.addListener(_listeners[0]);
SideOp.Screen.addSounds(sMan, ps);
}
function instRelease(page) {
sMan.playSound(ps);
Inst_btn.gotoAndStop(2);
SideOp.SwitchMode(inst_mode);
SideOp.Screen.addListener(this);
SideOp.Screen.addSounds(sMan, ps);
SideOp.Screen.gotoAndStop((page ? (page) : 1));
SideOp.Screen.update();
}
function optsRelease() {
sMan.playSound(ps);
Opts_btn.gotoAndStop(2);
SideOp.SwitchMode(opts_mode);
SideOp.Screen.addListener(this);
SideOp.Screen.addListener(_listeners[0]);
SideOp.Screen.addSounds(sMan, ps);
}
function opts_fchRelease() {
sMan.playSound(ps);
SideOp.SwitchMode(frch_mode, {oldC:_listeners[0].fireColors});
SideOp.Screen.addListener(this);
SideOp.Screen.addListener(_listeners[0]);
SideOp.Screen.addSounds(sMan, ps);
}
function doneReleased() {
HS_btn.enabled = (Play_btn.enabled = (Inst_btn.enabled = (Opts_btn.enabled = (Spns_btn.enabled = true))));
sMan.playSound(ps);
SideOp.SwitchMode(10);
}
function frch_doneReleased() {
sMan.playSound(ps);
SideOp.SwitchMode(opts_mode);
SideOp.Screen.addListener(this);
SideOp.Screen.addListener(_listeners[0]);
SideOp.Screen.addSounds(sMan, ps);
}
function hsRelease() {
sMan.playSound(ps);
HS_btn.gotoAndStop("up");
SideOp.SwitchMode(cred_mode);
_root.getURL("http://www.bubblebox.com/clickreg.php?type=gamestats&id=1257&subid=scores&action=viewscores", "_blank");
}
function spnsRelease() {
sMan.playSound(ps);
Spns_btn.gotoAndStop(1);
_root.getURL("http://www.bubblebox.com/clickreg.php?type=gamestats&id=1257&subid=title", "_blank");
}
function setFireColors(c) {
if (Fire.c1 === undefined) {
Fire.c1 = c[0];
Fire.c2 = c[1];
Fire.c3 = c[2];
} else {
Fire.colors = c;
}
}
function addSounds(man, pressSound) {
sMan = man;
ps = pressSound;
SideOp.Screen.addSounds(sMan, ps);
}
function addListener() {
}
function removeListener() {
}
function broadcastMessage() {
}
static var SIDEOP_DEPTH = 1000;
}
Symbol 312 MovieClip [__Packages.MenuWindow] Frame 0
class MenuWindow
{
var p, c, tl, x, y, modes, d, Screen, def, __get__defaultScreen;
function MenuWindow (parentTL, px, py, dep) {
p = (c = -1);
tl = parentTL;
x = (px ? (px) : 0);
y = (py ? (py) : 0);
modes = new Array();
d = (dep ? (dep) : (tl.getNextHighestDepth()));
}
function RegisterMode(linkName) {
var _local2 = modes.length;
modes.push(linkName);
return(_local2);
}
function SwitchMode(n, options) {
if ((n < 0) and (p >= 0)) {
SwitchMode(p, options);
} else if (n < modes.length) {
if (n != c) {
p = c;
c = n;
if (options) {
options._x = x + int(options.ox);
options._y = y + int(options.oy);
} else {
options = {_x:x, _y:y};
}
Screen.removeMovieClip();
delete Screen;
Screen = tl.attachMovie(modes[n], "Screen", d, options);
}
} else {
SwitchMode((def ? (def) : 0), options);
}
}
function set defaultScreen(n) {
if (n < modes.length) {
def = n;
}
//return(__get__defaultScreen());
}
}
Symbol 313 MovieClip [__Packages.LevelScreen] Frame 0
class LevelScreen extends MovieClip
{
var next, retry, ok, mg, loc, msg, gl, tt, ttl, txt, gol, bg, ad, createEmptyMovieClip, adInt, _x, _y;
function LevelScreen () {
super();
next.onRelease = mx.utils.Delegate.create(this, nextReleased);
retry.onRelease = mx.utils.Delegate.create(this, retryReleased);
ok.onRelease = mx.utils.Delegate.create(this, okReleased);
mg.onRelease = mx.utils.Delegate.create(this, mgReleased);
AsBroadcaster.initialize(this);
loc = new flash.geom.Point();
}
function setLevel(n, g) {
if (shAd) {
msg = [n, g];
trace("msg stored " + msg);
return(undefined);
}
switch (n) {
case -2 :
gl = 1;
tt = 0;
setMessage("", "Failure! Try again.", g, 1);
ok._visible = (ok.enabled = (next._visible = (next.enabled = false)));
retry._visible = (retry.enabled = (mg._visible = (mg.enabled = true)));
retry._x = ok._x;
return(undefined);
case -1 :
gl = (tt = 0);
setMessage("", "Level Complete!", 0, 1);
ok._visible = (ok.enabled = (mg._visible = (mg.enabled = false)));
retry._visible = (retry.enabled = (next._visible = (next.enabled = true)));
return(undefined);
case 1 :
gl = 0;
tt = 1;
setMessage("HOW TO PLAY", "Click a man to stop him. Click somewhere else. He will light on fire and run in the direction of the mouse, spreading the fire to everyone he touches. Burn everbody on screen to proceed to the next level. You can use clicks as many times as you need. Have fun!", g, 5);
break;
case 2 :
gl = 0;
tt = 1;
setMessage("Trees?!", "Todays lesson: Trees are bigger than mans and trees don't move. This is news to me too. Trees burn longer and burn things farther away. You have to burn all trees and mans to proceed.", g, 3);
break;
case 3 :
gl = 0;
tt = 1;
setMessage("Point System", "Each time a man or tree ignites you get points. Each time you 'click-burn' a man the amount of points that he's worth decreases. Burn as many mans as you can on the first click to get the most points.", g, 4);
break;
case 4 :
gl = 0;
tt = 1;
setMessage("Water?!", "When a man is on fire he will fall in the water instead of turning around, and he will not spread the fire anymore. This can make things a little difficult.", g, 4);
break;
case 5 :
gl = 0;
tt = 1;
setMessage("Note", "Another good thing about trees is that they can go over cliffs and water! You can also click them to ignite them.", g, 3);
break;
case 6 :
gl = 0;
tt = 1;
setMessage("Tip", "To maximize the spreading of the fire, make sure to pay attention to the direction you send the first man, and to the direction that the mans around him are going.", g, 3);
break;
case 7 :
gl = (tt = 1);
setMessage("Goal!", "From now on you must meet the goal to proceed. The goal can be seen on the score board in the square brackets. If you don't want to be restricted by a goal and just want to play, a free-play mode is now available from the title screen menu.", g, 5);
break;
case 8 :
gl = (tt = 1);
setMessage("Wedding Cake", "The only thing better than a delicious cake, is a delicious cake on fire.", g, 3);
break;
case 9 :
gl = (tt = 1);
setMessage("Spiral", "You are getting veeery sleeepy. Now, when I snap my fingers, you will give me a hundred bucks.", g, 3);
break;
case 10 :
gl = (tt = 1);
setMessage("Random", "When I show you this picture, tell me the first word that pops into your head.", g, 2);
break;
case 11 :
gl = (tt = 1);
setMessage("Snake", "I burned all the ladders.", g, 1);
break;
case 12 :
gl = (tt = 1);
setMessage("A Heart", "Burning with passion... or indigestion...?", g, 2);
break;
case 13 :
gl = (tt = 1);
setMessage("?", "What's that? How are you going to sit through 70 levels of this? I honestly don't know...", g, 3);
break;
case 14 :
gl = (tt = 1);
setMessage("Wipers", "Flaming wiper blades. The visual juxtaposition... it's a work of art.", g, 2);
break;
case 15 :
gl = (tt = 1);
setMessage("Glass", "Even the sands of time can burn.", g, 1);
break;
case 16 :
gl = (tt = 1);
setMessage("I Spy", "...with my little eye, something that is on fire.", g, 2);
break;
case 17 :
gl = (tt = 1);
setMessage("Arg", "Beware the wrath of Captain Hook-Hook.", g, 1);
break;
case 18 :
gl = (tt = 1);
setMessage("Random 2", "Every image I've shown looks like fire to you huh? You are the sickest patient I've ever had...", g, 3);
break;
case 19 :
gl = (tt = 1);
setMessage("1-900", "Careful! Unprotected phone sex will lead to hearing aids.", g, 2);
break;
case 20 :
gl = (tt = 1);
setMessage("Christmas Tree", "'Tis the season to burn things... ", g, 1);
break;
case 21 :
gl = (tt = 1);
setMessage("Beach", "Nothing like kicking off your shoes for nice, warm day on the beach. Too bad nobody has any sunscreen, they're all going to get burnt!!! (bwahaha)", g, 3);
break;
case 22 :
gl = (tt = 1);
setMessage("Survivor", "I've got bad news, good news, and really bad news. The bad news is, I lied about there being good news. So the really bad news is you're all kicked off the island...", g, 4);
break;
case 23 :
gl = (tt = 1);
setMessage("Maze", "'Hey! This is too hard!' you may say, well guess what, it's possible. Just keep going at it, there's a strategy to everything!", g, 3);
break;
case 24 :
gl = (tt = 1);
setMessage("Bridges", "CHARGE!!! It's the battle of two villages, cities, countries or whatever. But you've decided to end the warfare by setting everyone on fire!!! +*. Enjoy .*+", g, 4);
break;
case 25 :
gl = (tt = 1);
setMessage("Courtyard", "Well now look at that! It's a beautiful courtyard with pine trees in the center. Wait a second, who are those trespassers ruining your view? Time to burninate! >:D", g, 4);
break;
case 26 :
gl = (tt = 1);
setMessage("Bars", "Hey if you turn your head sideways it kind of looks like a vertebrae!", g, 2);
break;
case 27 :
gl = (tt = 1);
setMessage("PD", "Feeding the ducks has got to be the greatest pastime there is.", g, 2);
break;
case 28 :
gl = (tt = 1);
setMessage("Titans", "We can't thank you enough Prometheus.", g, 1);
break;
case 29 :
gl = (tt = 1);
setMessage("Stripes", "Have you ever wondered, what separates 'Stripes' from 'Lines', and why does putting stripes on a car make them Pinstripes? Perhaps we'll never know, and perhaps Jell-O isn't what we think it is...", g, 4);
break;
case 30 :
gl = (tt = 1);
setMessage("Survivor 2", "A sequel?!", g, 1);
break;
case 31 :
gl = (tt = 1);
setMessage("V-Ring", "The V is for Victory!!!... or valentine... or violin maybe. Viola? Perhaps it's for vengeance, possibly vacant. Or maybe V is for 'Violins Victoriously Vended Vintage Viola Valentines, Vigorously Venturing Very Vacant Village Vegetation, Vengefully Veering Vertical Vinegar Villainy.' We'll never know for sure...", g, 4);
break;
case 32 :
gl = (tt = 1);
setMessage("Prop", "Everyone has a propeller in life, something to keep them going. What's your propeller?", g, 3);
break;
case 33 :
gl = (tt = 1);
setMessage("Squareland", "Squareland will make your life better. Everyone is Happy and it's a good life...", g, 3);
break;
case 34 :
gl = (tt = 1);
setMessage("Grail", "Of course it's a good idea!", g, 1);
break;
case 35 :
gl = (tt = 1);
setMessage("Picket", "They say good senses make good neighbours. I think that makes fence.", g, 2);
break;
case 36 :
gl = (tt = 1);
setMessage("4-Square", "I'll bet that right about now, you're thinking about what sadists created this game, but your the one playing it, not us! And we know you love it!", g, 4);
break;
case 37 :
gl = (tt = 1);
setMessage("Piano", "In my opinion, the piano is the best instrument. If you think otherwise, you should burn this one to the ground! Even if you do agree, you should burn it anyways 'cause it's fun! :D", g, 4);
break;
case 38 :
gl = (tt = 1);
setMessage("Rain", "\u266A\u266B It's raining Men...\u266A\u266B BURNING MEN!!! BWAHAHA!!!", g, 2);
break;
case 39 :
gl = (tt = 1);
setMessage("Tree Titans", "In case you didn't know, you can CHAING THE COLOUR OF THE FIRE from the options menu.", g, 3);
break;
case 40 :
gl = (tt = 1);
setMessage("River", "Hey look! It's a big \u2018ol\u2019 rickety bridge! Careful, if you cross it, there\u2019s a chance you could fall through... Or spontaneously combust! >:)", g, 3);
break;
case 41 :
gl = (tt = 1);
setMessage("Random", "Un organized and messy, the recipe for disasters, like fires!!!", g, 2);
break;
case 42 :
gl = (tt = 1);
setMessage("Flame 1", "Whoa hey whoa what YEA?!? See what\u2019s happened here? Fire shaped level, guys ON fire!?! It's so clever!!!", g, 3);
break;
case 43 :
gl = (tt = 1);
setMessage("Spider", "GAH! A SPIDER!!! No, wait... Whew, I saw my life flash before my eyes. Those things are creepy looking enough, what with being all gangly and such, but to go and make them hairy, that\u2019s just not fair...", g, 4);
break;
case 44 :
gl = (tt = 1);
setMessage("Peace", "Sigh, it's wrong, I know. But you are still going to do it, and you are still going to love it.", g, 3);
break;
case 45 :
gl = (tt = 1);
setMessage("Burst", "Ooh, a nice simple design. Careful, the looks can be deceiving... In a 'not deceiving' kind of way.", g, 3);
break;
case 46 :
gl = (tt = 1);
setMessage("PD", "25 levels to go. YOU CAN DO IT!", g, 1);
break;
case 47 :
gl = (tt = 1);
setMessage("Gull", "A seagull... Look it in the eyes and tell me it doesn't have feelings! ( T~T)", g, 2);
break;
case 48 :
gl = (tt = 1);
setMessage("Smile", "What's HE so happy for? >:( It's time we teach him a lesson, pyro style!", g, 2);
break;
case 49 :
gl = (tt = 1);
setMessage("Fire Symbol", "If there isn't an official symbol for fire, this is what it should be. It's cool, you can tell it's fire, and it's about to be ON fire!", g, 4);
break;
case 50 :
gl = (tt = 1);
setMessage("Train Track", "Chugachuga, Chugachuga, Chugachuga, Chugachuga, CH00 CH0000OOOoooOOO00000! Can you believe I actually took the time to type out all those 'Chugachugas'?", g, 4);
break;
case 51 :
gl = (tt = 1);
setMessage("Pillars", "Now, by pillars, do you mean ancient Rome pillars, or ancient Cata pillars??? (0.o )", g, 3);
break;
case 52 :
gl = (tt = 1);
setMessage("X-Maze", "It doesn't matter how hard this is, just keep trying and you'll eventually get the hang of it. Or at least win by random luck. Oh did I say LUCK? I meant AWESOMENESS, haha... I'll shut up now...", g, 5);
break;
case 53 :
gl = (tt = 1);
setMessage("Sha-wing", "It's a cross, shining with glory, and... pixelness... May the lord's power ignite the many people... In holiness...", g, 4);
break;
case 54 :
gl = (tt = 1);
setMessage("Blob Beach", "I don't know what it means either, but you might as well burn the peoples while your trying to figure it out...", g, 3);
break;
case 55 :
gl = (tt = 1);
setMessage("Zigzag", "First thing that came to mind when seeing this, Charlie Brown. I could never watch that now a days, the animation quality is just too poor.", g, 4);
break;
case 56 :
gl = (tt = 1);
setMessage("Dubya", "WOW, just look at that double-u. *SIGH* the double-u, so many syllables, so little a letter.", g, 3);
break;
case 57 :
gl = (tt = 1);
setMessage("Mug", "Ah... Nothing compares to waking up with a nice cup of tea, and sitting down by the warm burning people.", g, 3);
break;
case 58 :
gl = (tt = 1);
setMessage("Sigh", "Ever have one of these moments where you really just can't believe the situation your in? Like maybe surrounded by idiots? Or surrounded by more idiots? Uh? UH?!", g, 4);
break;
case 59 :
gl = (tt = 1);
setMessage("Tie", "You know, most responsible parents would not approve of this, that just makes it all the more fun, you sick, sick person.", g, 3);
break;
case 60 :
gl = (tt = 1);
setMessage("Big Smile", "Whoa, that\u2019s kind of creepy when you look at it for a while. I pray I never wake up to that in the morning!", g, 3);
break;
case 61 :
gl = (tt = 1);
setMessage("Crosshairs", "Both rifles and cameras have cross hairs, both take shots, and I use both to murder people. But you can just set people on fire...", g, 3);
break;
case 62 :
gl = (tt = 1);
setMessage("Lightning", "OH NOOOOO!!! The lightning has come down and struck the peoples, hurry and put them out... OF THEIR MISERY! :o", g, 3);
break;
case 63 :
gl = (tt = 1);
setMessage("Cluster", "A big blast of fiery goodness, may it fill the nooks of this cliff cluster.", g, 2);
break;
case 64 :
gl = (tt = 1);
setMessage("Man", "How ironic, a man set on fire by men set on fire by one guy that was set on fire by a mysterious flaming cursor, but it's not the first time I've seen this.", g, 4);
break;
case 65 :
gl = (tt = 1);
setMessage("Tanks", "Use your imagination! You know, not everything can be drawn in a 19X14 pixel square!", g, 3);
break;
case 66 :
gl = (tt = 1);
setMessage("Gah!", "This one's a real jaw dropper! Don't worry, you can do it, all you need is the right mind set, a working computer mouse, and pants.", g, 4);
break;
case 67 :
gl = (tt = 1);
setMessage("Cluster 2", "OOH NOSE! Someone's trapped in the hole! We could call for help, but I think it would be faster to just set them on fire...", g, 3);
break;
case 68 :
gl = (tt = 1);
setMessage("Yo", "[yoh] -interjection 1. Used as an exclamation to get someone's attention, express excitement, greet someone, etc. 2. Here; present: used esp. in answer to a roll call.", g, 4);
break;
case 69 :
gl = (tt = 1);
setMessage("Garbage Pit", "Even though it's just a random scribble with no thought what so ever, it still proves to be a formidable poe. ... I mean foe.", g, 4);
break;
case 70 :
gl = (tt = 1);
setMessage("Cursor", "I\u2019m seeing double...", g, 1);
break;
default :
gl = (tt = 1);
setMessage("Blank Level", "I... don't know how you managed it but you're on a level that doesn't exist! You'll probably want to go back to the title screen.", g, 4);
}
if ((!shAd) and (n != -2)) {
ok._visible = (ok.enabled = true);
retry._visible = (retry.enabled = (next._visible = (next.enabled = (mg._visible = (mg.enabled = false)))));
}
}
function setMessage(t, m, g, l) {
if (tt) {
ttl.text = t;
txt._y = (ttl._y + ttl._height) + 4;
} else {
ttl.text = "";
txt._y = ttl._y;
}
gol.text = (gl ? ((g ? (("Goal: " + g) + " points") : "Goal: Free!")) : "");
l = (l ? (l) : 1);
var _local2 = TXT_H * l;
txt.text = m;
txt.wordWrap = false;
txt._width = txt.textWidth + 4;
txt.wordWrap = true;
txt.autoSize = true;
var _local5 = 100;
while (txt._height < (_local2 + TXT_PAD)) {
txt._width = txt._width - TXT_PAD;
}
txt._width = txt._width + TXT_PAD;
bg._width = Math.max(txt._width + 15, 145);
var _local3 = (tt ? 1 : (((bg._width >= 296) ? 1 : 2)));
bg._height = ((((tt * (ttl._height + 4)) + txt._height) + (gl * (gol._height + 4))) + (20 * _local3)) + 12;
bg._x = bg._width / 2;
bg._y = bg._height / 2;
gol._y = (txt._y + txt._height) + 4;
retry._y = (ok._y = (bg._height - (_local3 * 18)) - 2);
next._y = (mg._y = bg._height - 20);
retry._x = (bg._width / 2) - ((bg._width >= 296) ? 131 : 64);
ok._x = (bg._width / 2) - 64;
next._x = (mg._x = (bg._width / 2) + ((bg._width >= 296) ? 131 : -64));
updateLocation();
}
function showAdd() {
var _local3 = ["armorgames.com", "addictinggames.com", "shockwave.com", "kongregate.com", "flashgamelicense.com"];
for (var _local4 in _local3) {
if (_root.domain == _local3[_local4]) {
return(undefined);
}
}
tt = (gl = 0);
setMessage("", "Click next to continue buning!!!", 0, 1);
shAd = true;
ok._visible = (ok.enabled = (retry._visible = (retry.enabled = (next._visible = (next.enabled = (mg._visible = (mg.enabled = false)))))));
ad = createEmptyMovieClip("ad", 10000);
MochiAd.showClickAwayAd({clip:ad, id:"1bb4c65519d33478", ad_loaded:mx.utils.Delegate.create(this, cad_loaded), ad_finished:mx.utils.Delegate.create(this, ad_finished)});
adInt = setInterval(ian_loaded, 1000, 300, 300);
}
function cad_loaded(width, height) {
txt._width = width;
bg._xscale = Math.max(txt._width, width) + 15;
bg._yscale = (txt._height + height) + 35;
bg._x = bg._width / 2;
bg._y = bg._height / 2;
ad._x = bg._x - (width / 2);
ad._y = txt._y + txt._height;
updateLocation();
next._y = bg._height - 20;
next._x = (bg._width / 2) - 64;
next._visible = (next.enabled = true);
}
function ian_loaded(width, height) {
txt._width = width;
bg._xscale = Math.max(txt._width, width) + 15;
bg._yscale = (txt._height + height) + 35;
bg._x = bg._width / 2;
bg._y = bg._height / 2;
ad._x = bg._x - 285;
ad._y = ((txt._y + txt._height) + 5) - (210 - (height / 2));
clearInterval(adInt);
updateLocation();
}
function ad_finished() {
shAd = false;
setLevel(msg[0], msg[1]);
}
function setLocation(x, y) {
loc = new flash.geom.Point(x, y);
_x = x - (bg._width / 2);
_y = y - (bg._height / 2);
}
function updateLocation() {
_x = loc.x - (bg._width / 2);
_y = loc.y - (bg._height / 2);
}
function nextReleased() {
if (shAd) {
MochiAd.unload(ad);
return(undefined);
}
broadcastMessage("levelScreenClose", 1);
}
function retryReleased() {
broadcastMessage("levelScreenClose", 0);
}
function okReleased() {
broadcastMessage("levelScreenClose", 2);
}
function mgReleased() {
_root.getURL("http://www.bubblebox.com/clickreg.php?type=gamestats&id=1257&subid=failureScreen", "_blank");
}
function broadcastMessage() {
}
function addListener() {
}
function removeListener() {
}
static var TXT_PAD = 4;
static var TXT_H = 17;
var shAd = false;
}
Symbol 314 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("2.7");
}
static function showPreGameAd(options) {
var _local26 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] 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) {
}, ad_skipped:function () {
}, ad_progress:function (percent) {
}};
options = _parseOptions(options, _local26);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local22 = 11000;
var _local25 = 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 _local6 = chk.createEmptyMovieClip("_mochiad_bar", 4);
if (options.no_progress_bar) {
_local6._visible = false;
delete options.no_progress_bar;
} else {
_local6._x = 10;
_local6._y = _local13 - 20;
}
var _local21 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local23 = options.outline;
delete options.outline;
var _local5 = _local6.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 = _local6.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local21);
_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 _local7 = _local6.createEmptyMovieClip("_outline", 3);
_local7.lineStyle(0, _local23, 100);
_local7.moveTo(0, 0);
_local7.lineTo(_local4 - 20, 0);
_local7.lineTo(_local4 - 20, 10);
_local7.lineTo(0, 10);
_local7.lineTo(0, 0);
chk.ad_msec = _local22;
chk.ad_timeout = _local25;
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.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local11 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local2 = (100 * _local8) / _local4;
var _local10 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local13 = Math.min(100, Math.min(_local2 || 0, _local10));
_local13 = Math.max(this.last_pcnt, _local13);
this.last_pcnt = _local13;
_local9._xscale = _local13;
options.ad_progress(_local13);
if (sendHostProgress) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"hostLoadPcnt", pcnt:_local2});
if (_local2 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var _local7 = _local11.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if ((_local5 > chk.ad_timeout) && (_local2 == 100)) {
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 showClickAwayAd(options) {
var _local9 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () {
}, ad_finished:function () {
}, ad_loaded:function (width, height) {
}, ad_failed:function () {
trace("[MochiAd] 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_skipped:function () {
}};
options = _parseOptions(options, _local9);
var clip = options.clip;
var _local8 = options.ad_timeout;
delete options.ad_timeout;
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 _local4 = _getRes(options);
var _local10 = _local4[0];
var _local7 = _local4[1];
mc._x = _local10 * 0.5;
mc._y = _local7 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = _local8;
chk.started = getTimer();
chk.showing = false;
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
var _local20 = false;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
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")) {
_local2 = true;
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local2) {
delete this.onEnterFrame;
}
};
}
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("[MochiAd] 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) {
}, ad_skipped:function () {
}};
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.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
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 showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(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 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);
}
if (clip._mochiad._containerLCName != undefined) {
clip._mochiad.lc.send(clip._mochiad._containerLCName, "notify", {id:"unload"});
}
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);
}
static function rpc(clip, callbackID, arg) {
switch (arg.id) {
case "setValue" :
setValue(clip, arg.objectName, arg.value);
break;
case "getValue" :
var _local4 = getValue(clip, arg.objectName);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local4);
break;
case "runMethod" :
var _local3 = runMethod(clip, arg.method, arg.args);
clip._mochiad.lc.send(clip._mochiad._containerLCName, "rpcResult", callbackID, _local3);
break;
default :
trace("[mochiads rpc] unknown rpc id: " + arg.id);
}
}
static function setValue(base, objectName, value) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
base[_local2[_local1]] = value;
}
static function getValue(base, objectName) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
return(base[_local2[_local1]]);
}
static function runMethod(base, methodName, argsArray) {
var _local2 = methodName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
if (typeof(base[_local2[_local1]]) == "function") {
return(base[_local2[_local1]].apply(base, argsArray));
}
return(undefined);
}
}
Symbol 315 MovieClip [__Packages.ScoreBoard] Frame 0
class ScoreBoard extends MovieClip
{
var sprites_txt, level_txt, levelScore_txt, totalScore_txt, retry_btn, Pause_btn, maxSprites, maxScore, mxSS, sMan, ps, sprites, level, goal, value_txt, __get__Value, __get__active;
function ScoreBoard () {
super();
AsBroadcaster.initialize(this);
totalScore_txt.autoSize = (levelScore_txt.autoSize = (level_txt.autoSize = (sprites_txt.autoSize = "left")));
retry_btn.onRelease = mx.utils.Delegate.create(this, retryReleased);
Pause_btn.onRelease = mx.utils.Delegate.create(this, pauseReleased);
}
function reset(maxS, lev, goalPoints) {
maxSprites = maxS;
maxScore = maxS * 5;
mxSS = "";
var _local2 = maxScore.toString().length;
while (_local2 < 3) {
mxSS = mxSS + "0";
_local2++;
}
mxSS = mxSS + maxScore.toString();
Sprites = (maxS);
Value = (5);
Goal = (int(goalPoints));
LevelScore = (0);
Level = (lev);
}
function retryReleased() {
sMan.stopSFX();
sMan.playSound(ps);
broadcastMessage("retryReleased");
}
function pauseReleased() {
sMan.pauseSFX();
sMan.playSound(ps);
broadcastMessage("togGamePaused");
}
function cont(n) {
totalScore = n;
}
function addSounds(man, pressSound) {
sMan = man;
ps = pressSound;
}
function addScore(d) {
TotalScore = TotalScore + LevelScore;
d = d + LevelScore;
}
function get TotalScore() {
return(totalScore);
}
function get LevelScore() {
return(levelScore);
}
function get Sprites() {
return(sprites);
}
function get Level() {
return(level);
}
function get Goal() {
return(int(goal));
}
function set TotalScore(n) {
totalScore = n;
var _local4 = totalScore.toString();
var _local3 = "";
var _local2 = _local4.length;
while (_local2 < 6) {
_local3 = _local3 + "0";
_local2++;
}
_local3 = _local3 + _local4;
totalScore_txt.text = _local3;
//return(TotalScore);
}
function set LevelScore(n) {
levelScore = Math.min(n, 300);
var _local4 = levelScore.toString();
var _local3 = "";
var _local2 = _local4.length;
while (_local2 < 3) {
_local3 = _local3 + "0";
_local2++;
}
_local3 = _local3 + _local4;
levelScore_txt.text = ((((_local3 + " / ") + mxSS) + " [") + goal) + "]";
//return(LevelScore);
}
function set Sprites(n) {
sprites = n;
sprites_txt.text = ((maxSprites - n) + " / ") + maxSprites;
//return(Sprites);
}
function set Level(n) {
level = n;
level_txt.text = n.toString() + " / 70";
//return(Level);
}
function set Value(n) {
value_txt.text = n.toString();
//return(__get__Value());
}
function set Goal(n) {
goal = n.toString();
//return(Goal);
}
function set active(a) {
retry_btn.enabled = a;
Pause_btn.enabled = a;
//return(__get__active());
}
function broadcastMessage() {
}
function addListener() {
}
function removeListener() {
}
var levelScore = 0;
var totalScore = 0;
}
Symbol 316 MovieClip [__Packages.PauseMenu] Frame 0
class PauseMenu extends MovieClip
{
var exit, cont, ss, win, opts_mode, frch_mode, ss_mode, exit_mode, sMan, ps, _listeners, _y, _x, _width, __get__active;
function PauseMenu () {
super();
AsBroadcaster.initialize(this);
exit.onRelease = mx.utils.Delegate.create(this, exitReleased);
exit.txt = "Exit Game";
cont.onRelease = mx.utils.Delegate.create(this, contReleased);
cont.txt = "Continue";
ss.onRelease = mx.utils.Delegate.create(this, ssReleased);
ss.txt = "Send Score";
win = new MenuWindow(this, 10, 53, 100);
opts_mode = win.RegisterMode("fOptionsWindow");
frch_mode = win.RegisterMode("fFireColorChoose");
ss_mode = win.RegisterMode("fSendHighScoreWindow");
exit_mode = win.RegisterMode("fExitWindow");
frch_doneReleased();
}
function opts_fchRelease() {
sMan.playSound(ps);
win.SwitchMode(frch_mode, {oldC:_listeners[0].fireColors});
win.Screen.addListener(this);
win.Screen.addListener(_listeners[0]);
win.Screen.addSounds(sMan, ps);
}
function frch_doneReleased() {
win.SwitchMode(opts_mode);
win.Screen.addListener(this);
win.Screen.addListener(_listeners[0]);
win.Screen.addSounds(sMan, ps);
win.Screen.done.enabled = (win.Screen.done._visible = false);
sMan.playSound(ps);
}
function exitReleased() {
active = (false);
sMan.playSound(ps);
win.SwitchMode(exit_mode);
win.Screen.addListener(this);
win.Screen.addListener(_listeners[0]);
}
function caReleased() {
active = (true);
sMan.playSound(ps);
win.SwitchMode(-1, {oldC:_listeners[0].fireColors});
win.Screen.addListener(this);
win.Screen.addListener(_listeners[0]);
win.Screen.addSounds(sMan, ps);
}
function contReleased() {
sMan.playSound(ps);
broadcastMessage("togGamePaused");
}
function doneReleased() {
frch_doneReleased();
active = (true);
}
function ssReleased() {
ss.gotoAndStop("up");
sMan.playSound(ps);
active = (false);
broadcastMessage("updateFires", _listeners[0].playerScore);
win.SwitchMode(ss_mode, {ox:(-_x) - 10, oy:(-_y) - 53});
trace("list " + _listeners[0].fireColors);
win.Screen.scr_txt.text = _listeners[0].playerScore;
win.Screen.addListener(_listeners[0]);
win.Screen.addListener(this);
}
function addSounds(man, pressSound) {
sMan = man;
ps = pressSound;
win.Screen.addSounds(sMan, ps);
}
function setLocation(x, y) {
_x = x - (_width / 2);
_y = y - (_width / 2);
}
function set active(a) {
exit.enabled = a;
cont.enabled = a;
ss.enabled = a;
win.Screen.active = a;
//return(__get__active());
}
function addListener() {
}
function removeListener() {
}
function broadcastMessage() {
}
}
Symbol 317 MovieClip [__Packages.OptionsWindow] Frame 0
class OptionsWindow extends MovieClip
{
var q_h, q_m, q_l, o_f, done, s_m, s_f, sMan, ps, _quality;
function OptionsWindow () {
super();
AsBroadcaster.initialize(this);
q_h.txt = "High";
q_m.txt = "Medium";
q_l.txt = "Low";
o_f.txt = "Fire Colours";
done.txt = "Done";
q_h.onRelease = mx.utils.Delegate.create(this, q_hReleased);
q_m.onRelease = mx.utils.Delegate.create(this, q_mReleased);
q_l.onRelease = mx.utils.Delegate.create(this, q_lReleased);
s_m.onRelease = mx.utils.Delegate.create(this, s_mReleased);
s_f.onRelease = mx.utils.Delegate.create(this, s_fReleased);
o_f.onRelease = mx.utils.Delegate.create(this, o_fReleased);
done.onRelease = mx.utils.Delegate.create(this, doneReleased);
}
function q_hReleased() {
sMan.playSound(ps);
_quality = "HIGH";
q_h.enabled = false;
q_l.enabled = (q_m.enabled = true);
q_m.onRollOut();
q_l.onRollOut();
}
function q_mReleased() {
sMan.playSound(ps);
_quality = "MEDIUM";
q_m.enabled = false;
q_l.enabled = (q_h.enabled = true);
q_h.onRollOut();
q_l.onRollOut();
}
function q_lReleased() {
sMan.playSound(ps);
_quality = "LOW";
q_l.enabled = false;
q_m.enabled = (q_h.enabled = true);
q_m.onRollOut();
q_h.onRollOut();
}
function s_mReleased() {
sMan.toggleMusic();
sMan.playSound(ps);
s_m.__set__Text((sMan.muteMusic ? "Music On" : "Music Off"));
}
function s_fReleased() {
sMan.toggleSound();
sMan.playSound(ps);
s_f.__set__Text((sMan.muteSFX ? "SoundFX On" : "SoundFX Off"));
}
function o_fReleased() {
broadcastMessage("opts_fchRelease");
}
function doneReleased() {
broadcastMessage("doneReleased");
}
function addSounds(man, pressSound) {
sMan = man;
ps = pressSound;
s_m.txt = (man.muteMusic ? "Music On" : "Music Off");
s_m.__set__Text((man.muteMusic ? "Music On" : "Music Off"));
s_f.txt = (man.muteSFX ? "SoundFX On" : "SoundFX Off");
s_f.__set__Text((man.muteSFX ? "SoundFX On" : "SoundFX Off"));
}
function addListener() {
}
function removeListener() {
}
function broadcastMessage() {
}
}
Symbol 318 MovieClip [__Packages.FireColorChoose] Frame 0
class FireColorChoose extends MovieClip
{
var tab1, tab2, tab3, done, updt, dflt, bg, swatch, cp, oldC, colors, sMan, ps, getInstanceAtDepth, __get__active, __get__Colors;
function FireColorChoose () {
super();
AsBroadcaster.initialize(this);
tab1.txt = "Colour 1";
tab2.txt = "Colour 2";
tab3.txt = "Colour 3";
done.txt = "Done";
updt.txt = "Update";
dflt.txt = "Default";
tab2.swapDepths(BG_DEPTH - 10);
tab3.swapDepths(BG_DEPTH - 20);
bg.swapDepths(BG_DEPTH);
tab1.swapDepths(ACTIVE_DEPTH);
done.swapDepths(DONE_DEPTH);
updt.swapDepths(UPDT_DEPTH);
dflt.swapDepths(DFLT_DEPTH);
swatch.swapDepths(SWATCH_DEPTH);
cp = new ColourPicker(this, 15, 38, 220, 130, COL_PICK_DEPTH);
cp.addListener(this);
tab1.onRelease = mx.utils.Delegate.create(this, tab1Released);
tab2.onRelease = mx.utils.Delegate.create(this, tab2Released);
tab3.onRelease = mx.utils.Delegate.create(this, tab3Released);
done.onRelease = mx.utils.Delegate.create(this, doneReleased);
updt.onRelease = mx.utils.Delegate.create(this, updtReleased);
dflt.onRelease = mx.utils.Delegate.create(this, dfltReleased);
if (oldC) {
Colors = (oldC);
} else {
Colors = (DEFAULT_COLORS);
}
}
function tab1Released() {
selTab(tab1);
curTab = 0;
var _local2 = swatch.transform.colorTransform;
_local2.rgb = colors[0];
swatch.transform.colorTransform = _local2;
sMan.playSound(ps);
}
function tab2Released() {
selTab(tab2);
curTab = 1;
var _local2 = swatch.transform.colorTransform;
_local2.rgb = colors[1];
swatch.transform.colorTransform = _local2;
sMan.playSound(ps);
}
function tab3Released() {
selTab(tab3);
curTab = 2;
var _local2 = swatch.transform.colorTransform;
_local2.rgb = colors[2];
swatch.transform.colorTransform = _local2;
sMan.playSound(ps);
}
function doneReleased() {
broadcastMessage("frch_doneReleased");
}
function updtReleased() {
if (changed) {
broadcastMessage("updateFireColors");
oldC = colors.slice();
changed = false;
sMan.playSound(ps);
}
}
function dfltReleased() {
if (((colors[0] != 16744448) or (colors[1] != 16776960)) or (colors[2] != 16777215)) {
colors[0] = 16744448 /* 0xFF8000 */;
colors[1] = 16776960 /* 0xFFFF00 */;
colors[2] = 16777215 /* 0xFFFFFF */;
var _local2 = swatch.transform.colorTransform;
_local2.rgb = colors[curTab];
swatch.transform.colorTransform = _local2;
changed = ((colors[0] != oldC[0]) or (colors[1] != oldC[1])) or (colors[2] != oldC[2]);
broadcastMessage("changeFireColors", colors, changed);
sMan.playSound(ps);
}
}
function colourPicked(c) {
trace((((((c + " ") + colors) + " ") + curTab) + " ") + oldC);
if (c != colors[curTab]) {
colors[curTab] = c;
changed = ((colors[0] != oldC[0]) or (colors[1] != oldC[1])) or (colors[2] != oldC[2]);
var _local3 = swatch.transform.colorTransform;
_local3.rgb = c;
swatch.transform.colorTransform = _local3;
broadcastMessage("changeFireColors", colors, changed);
}
}
function selTab(tab) {
var _local2 = getInstanceAtDepth(ACTIVE_DEPTH);
_local2.enabled = true;
_local2.gotoAndStop("up");
tab.swapDepths(ACTIVE_DEPTH);
tab.enabled = false;
}
function set active(a) {
tab1.enabled = a;
tab2.enabled = a;
tab3.enabled = a;
done.enabled = a;
updt.enabled = a;
cp.__set__active(a);
//return(__get__active());
}
function set Colors(c) {
colors = c.slice();
oldC = c.slice();
var _local2 = swatch.transform.colorTransform;
_local2.rgb = colors[curTab];
swatch.transform.colorTransform = _local2;
//return(__get__Colors());
}
function addSounds(man, pressSound) {
sMan = man;
ps = pressSound;
}
function addListener() {
}
function removeListener() {
}
function broadcastMessage() {
}
static var BG_DEPTH = 100;
static var ACTIVE_DEPTH = 110;
static var DONE_DEPTH = 120;
static var UPDT_DEPTH = 130;
static var DFLT_DEPTH = 140;
static var SWATCH_DEPTH = 150;
static var COL_PICK_DEPTH = 160;
static var DEFAULT_COLORS = [16744448, 16776960, 16777215];
var curTab = 0;
var changed = false;
}
Symbol 319 MovieClip [__Packages.Sprite] Frame 0
class Sprite
{
var clip, x, y;
function Sprite (container, linkName, newName, depth, px, py) {
AsBroadcaster.initialize(this);
clip = container.attachMovie(linkName, newName, depth);
x = px;
y = py;
}
function set _x(n) {
clip._x = (n ? (n) : 0);
//return(_x);
}
function set _y(n) {
clip._y = (n ? (n) : 0);
//return(_y);
}
function get _x() {
return(clip._x);
}
function get _y() {
return(clip._y);
}
function get _pos() {
return(new flash.geom.Point(_x, _y));
}
function set _pos(p) {
_x = (p.x);
_y = (p.y);
//return(_pos);
}
function get pos() {
return(new flash.geom.Point(x, y));
}
function set pos(p) {
x = p.x;
y = p.y;
//return(pos);
}
function setPos(px, py) {
x = px;
y = py;
}
function render() {
_x = (x);
_y = (y);
}
function toString() {
return((new flash.geom.Point(x, y)).toString());
}
function broadcastMessage() {
}
function addListener() {
}
function removeListener() {
}
}
Symbol 320 MovieClip [__Packages.ColourPicker] Frame 0
class ColourPicker extends Sprite
{
var parentTL, clip, x, y, colours, render, lastColourPicked, broadcastMessage, __get__type, __get__active;
function ColourPicker (container, px, py, w, h, depth, pickerType) {
super();
parentTL = container;
clip = parentTL.createEmptyMovieClip("colourPicker" + depth, depth);
x = px;
y = py;
colours = new flash.display.BitmapData(w, h, false, 8421504);
type = (pickerType);
clip.attachBitmap(colours, 0);
clip.onRelease = function () {
this.broadcastMessage("clicked");
};
AsBroadcaster.initialize(clip);
clip.addListener(this);
render();
}
function clicked() {
var _local3 = clip._xmouse;
var _local2 = clip._ymouse;
lastColourPicked = colours.getPixel(_local3, _local2);
broadcastMessage("colourPicked", lastColourPicked);
}
function set type(t) {
switch (t) {
default :
var _local6 = Math.floor(width / 19);
var _local12 = Math.floor(height / 12);
var _local9 = width - (_local6 * 19);
var _local10 = height - (_local12 * 12);
var _local5 = new flash.geom.ColorTransform();
var _local2 = new flash.geom.Rectangle(0, 0, _local6 + (_local9 ? 1 : 0), _local12 + (_local10 ? 1 : 0));
var _local8 = 0;
while (_local8 < 12) {
_local5.redOffset = (_local5.blueOffset = (_local5.greenOffset = 21.25 * _local8));
_local2.height = _local12 + ((_local8 < _local10) ? 1 : 0);
colours.fillRect(_local2, _local5.rgb);
_local2.y = _local2.y + _local2.height;
_local8++;
}
_local2.x = _local6 + (_local9 ? 1 : 0);
_local2.y = 0;
_local8 = 0;
while (_local8 < 2) {
var _local7 = 0;
while (_local7 < 6) {
_local5.blueOffset = 51 * _local7;
if (((_local8 * 6) + _local7) < _local10) {
_local2.height = _local6 + 1;
} else {
_local2.height = _local6;
}
var _local4 = 0;
while (_local4 < 3) {
_local5.redOffset = 51 * (_local4 + (_local8 * 153));
var _local3 = 0;
while (_local3 < 6) {
_local5.greenOffset = 51 * _local3;
if ((((_local4 * 6) + _local3) + 1) < _local9) {
_local2.width = _local6 + 1;
} else {
_local2.width = _local6;
}
colours.fillRect(_local2, _local5.rgb);
_local2.x = _local2.x + _local2.width;
_local3++;
}
_local4++;
}
_local2.x = _local6 + (_local9 ? 1 : 0);
_local2.y = _local2.y + _local2.height;
_local7++;
}
_local8++;
}
break;
case "Gradient" :
case "gradient" :
var _local14 = new flash.geom.Matrix();
_local14.createGradientBox(width, height);
var _local13 = 36.4285714285714;
var _local11 = clip.createEmptyMovieClip("temp", 100);
_local11.lineStyle(0, 0, 0);
_local11.beginGradientFill("linear", [16711680, 16776960, 65280, 65535, 255, 16711935, 16711680], [100, 100, 100, 100, 100, 100, 100], [0, _local13, 2 * _local13, 3 * _local13, 4 * _local13, 5 * _local13, 6 * _local13], _local14);
_local11.lineTo(width, 0);
_local11.lineTo(width, height);
_local11.lineTo(0, height);
_local11.endFill();
colours.draw(_local11);
_local11.clear();
_local14.createGradientBox(width, height, (Math.PI/2));
_local11.moveTo(0, 0);
_local11.beginGradientFill("linear", [16777215, 8421504, 0], [100, 0, 100], [0, 127.5, 255], _local14);
_local11.lineTo(width, 0);
_local11.lineTo(width, height);
_local11.lineTo(0, height);
_local11.endFill();
colours.draw(_local11);
_local11.removeMovieClip();
}
//return(__get__type());
}
function set active(a) {
clip.enabled = a;
//return(__get__active());
}
function get width() {
return(colours.width);
}
function get height() {
return(colours.height);
}
}
Symbol 321 MovieClip [__Packages.FlameClip] Frame 0
class FlameClip extends MovieClip
{
var c1, c2, c3, f1, f2, f3;
function FlameClip () {
super();
c1 = ((c1 === undefined) ? 16744448 : (c1));
c2 = ((c2 === undefined) ? 16776960 : (c2));
c3 = ((c3 === undefined) ? 16777215 : (c3));
colors = ([c1, c2, c3]);
}
function set colors(c) {
var _local5 = f1.transform.colorTransform;
_local5.rgb = (c1 = ((!(c[0] === undefined)) ? (c[0]) : (c1)));
f1.transform.colorTransform = _local5;
var _local4 = f2.transform.colorTransform;
_local4.rgb = (c2 = ((!(c[1] === undefined)) ? (c[1]) : (c2)));
f2.transform.colorTransform = _local4;
var _local3 = f3.transform.colorTransform;
_local3.rgb = (c3 = ((!(c[2] === undefined)) ? (c[2]) : (c3)));
f3.transform.colorTransform = _local3;
//return(colors);
}
function get colors() {
return([c1, c2, c3]);
}
}
Symbol 322 MovieClip [__Packages.SendHighScoreWindow] Frame 0
class SendHighScoreWindow extends MovieClip
{
var scoreMc, sMan, ps, gotoAndStop, _listeners, nm, vs, ss, ta, bk, nmbg;
function SendHighScoreWindow () {
super();
AsBroadcaster.initialize(this);
scoreMc = this;
if (_root.domain == "kongregate.com") {
kong = true;
}
update();
}
function bkRelease() {
broadcastMessage("doneReleased");
}
function taRelease() {
sMan.playSound(ps);
(gotoAndStop(1));// not popped
update();
}
function vsRelease() {
sMan.playSound(ps);
_root.getURL("http://www.bubblebox.com/clickreg.php?type=gamestats&id=1257&subid=scores&action=viewscores", "_blank");
}
function ssRelease() {
sMan.playSound(ps);
broadcastMessage("updateFires", _listeners[0].playerScore);
if (kong) {
sendKongScore(_listeners[0].playerScore);
} else if ((nm.text != "Enter Your Name") and (nm.text.length > 0)) {
sendBubbleBoxScore(bubbleboxGameID, _listeners[0].playerScore, nm.text);
}
}
function sendKongScore(s) {
_root.kongregateScores.submit(s);
(gotoAndStop("success"));// not popped
var _local6 = function (result) {
var _local4 = "";
_local4 = _local4 + ("High score result, success=" + result.success);
var _local1 = 0;
while (_local1 < result.list.length) {
var _local3 = _local1 + 1;
_local4 = _local4 + ((((_local3 + ". ") + result.list[_local1].username) + " - ") + result.list[_local1].score);
_local1++;
}
};
_root.kongregateScores.requestList(_local6, this);
update();
}
function sendBubbleBoxScore(gameID, score, playerName) {
var _local2 = new LoadVars();
var _local5 = (((bubbleboxGameID + "_") + score) + "_") + playerName;
var _local6 = (((((((((bubbleboxGameID + "_") + "4234232143214421") + "_") + score) + "_") + "2537625476251") + "_") + playerName) + "_") + "desleutelistessa";
var _local4 = _local6.MD5();
_local2.datastring = _local5;
_local2.hashstring = _local4;
var _local3 = new LoadVars();
_local3.scoreMc = scoreMc;
_local3.onLoad = function (success) {
if (success) {
this.scoreMc.gotoAndStop("success");
} else {
this.scoreMc.gotoAndStop("tryagain");
}
this.scoreMc.update();
};
_local2.sendAndLoad("http://www.bubblebox.com/scripts/insertscore2008.php", _local3, "POST");
(gotoAndStop("sending"));// not popped
}
function update() {
vs.__set__Text((vs.txt = "View Scores"));
ss.__set__Text((ss.txt = "Send Score"));
ta.__set__Text((ta.txt = "Try Again"));
bk.__set__Text((bk.txt = "Cancel"));
ss.onRelease = mx.utils.Delegate.create(this, ssRelease);
vs.onRelease = mx.utils.Delegate.create(this, vsRelease);
ta.onRelease = mx.utils.Delegate.create(this, taRelease);
bk.onRelease = mx.utils.Delegate.create(this, bkRelease);
if (kong) {
vs._visible = (vs.enabled = (nm._visible = (nmbg._visible = false)));
}
}
function addSounds(man, pressSound) {
sMan = man;
ps = pressSound;
}
function addListener() {
}
function removeListener() {
}
function broadcastMessage() {
}
var kong = false;
var bubbleboxGameID = 1257;
}
Symbol 323 MovieClip [__Packages.InstructionsWindow] Frame 0
class InstructionsWindow extends MovieClip
{
var next, prev, done, nextFrame, sMan, ps, prevFrame;
function InstructionsWindow () {
super();
AsBroadcaster.initialize(this);
next.txt = "Next";
prev.txt = "Previous";
done.txt = "Done";
next.onRelease = mx.utils.Delegate.create(this, nextReleased);
prev.onRelease = mx.utils.Delegate.create(this, prevReleased);
done.onRelease = mx.utils.Delegate.create(this, doneReleased);
}
function update() {
next.__set__Text((next.txt = "Next"));
prev.__set__Text((prev.txt = "Previous"));
next.onRelease = mx.utils.Delegate.create(this, nextReleased);
prev.onRelease = mx.utils.Delegate.create(this, prevReleased);
}
function nextReleased() {
(nextFrame());// not popped
update();
sMan.playSound(ps);
}
function prevReleased() {
(prevFrame());// not popped
update();
sMan.playSound(ps);
}
function doneReleased() {
broadcastMessage("doneReleased");
}
function addSounds(man, pressSound) {
sMan = man;
ps = pressSound;
}
function addListener() {
}
function removeListener() {
}
function broadcastMessage() {
}
}
Symbol 324 MovieClip [__Packages.PlayWindow] Frame 0
class PlayWindow extends MovieClip
{
var chal, lvl, bod, cont, free, help, sMan, ps;
function PlayWindow () {
super();
AsBroadcaster.initialize(this);
chal.txt = "New Game";
chal.onRelease = mx.utils.Delegate.create(this, chalRelease);
lvl.onChanged = function () {
if (int(this.text < 1)) {
this.text = 1;
}
if (int(this.text) > ChainOfFire.TOTAL_LEVELS) {
this.text = ChainOfFire.TOTAL_LEVELS;
}
};
lvl.type = "Dynamic";
free._visible = (free.enabled = (cont._visible = (cont.enabled = (bod._visible = (lvl._visible = (lvl.selectable = false))))));
free.onRelease = mx.utils.Delegate.create(this, freeRelease);
cont.onRelease = mx.utils.Delegate.create(this, contRelease);
help.onRelease = mx.utils.Delegate.create(this, helpRelease);
}
function chalRelease() {
chal.gotoAndStop("up");
sMan.playSound(ps);
broadcastMessage("titleScreenClose", 1, true);
}
function freeRelease() {
free.gotoAndStop("up");
sMan.playSound(ps);
broadcastMessage("titleScreenClose", (int(lvl.text) ? (int(lvl.text)) : 1), false);
}
function contRelease() {
cont.gotoAndStop("up");
sMan.playSound(ps);
broadcastMessage("titleScreenClose", -1, true);
}
function helpRelease() {
sMan.playSound(ps);
broadcastMessage("instRelease", 3);
}
function addSounds(soundMan, pressSound) {
sMan = soundMan;
ps = pressSound;
}
function enableFree() {
free._visible = (free.enabled = (bod._visible = (lvl._visible = (lvl.selectable = true))));
lvl.type = "Input";
lvl.restrict = "0-9";
free.__set__Text((free.txt = "Free Play"));
}
function enableCont() {
cont._visible = (cont.enabled = true);
cont.__set__Text((cont.txt = "Continue"));
}
function addListener() {
}
function removeListener() {
}
function broadcastMessage() {
}
}
Symbol 325 MovieClip [__Packages.ChainOfFire] Frame 0
class ChainOfFire
{
var so, sco, tutSeen, fireColors, parentTL, gameState, maps, cursor, sprites, lag, soundMan, BUTTON_SOUND_PRESS, IGNITE_SOUND, FLAME_SOUND_1, DIE_SOUND, SPLASH_SOUND, TTL_MUS, BG_MUS, titleScreen, LOAD_STEPS, scoreBoard, loadingScreen, flameRun, flameDie, flameSplash, flameTree, CURRENT_STEP, curMap, tileMap, chal, src, flameLoad, levelScreen, adTime, FLAME_LOAD_STEPS, pauseMenu, levCom, WatDie, SptDie, endScreen;
function ChainOfFire (tl) {
so = SharedObject.getLocal("pdgmschof_sd", "/");
sco = SharedObject.getLocal("pdgdatdnebbs", "/");
if (so.data.exists) {
tutSeen = so.data.tutSeen;
fireColors = so.data.fireColors;
if (!loadFires(sco.data.var1, so.data.score, prevFire)) {
so.data.score = 0;
sco.data.var1 = "";
prevFire = [];
trace("cheat");
}
} else {
so.data.exists = true;
so.data.tutSeen = (tutSeen = false);
so.data.level = 0;
so.data.var1 = new String();
so.data.fireColors = (fireColors = [16744448, 268431360, 16777215]);
}
AsBroadcaster.initialize(this);
parentTL = tl;
gameState = STATE_TITLE_SCREEN;
pauseGame = false;
maps = new ChainOfFireMaps();
cursor = new FlamingCursor(parentTL, "MouseContainer", CURSOR_DEPTH, fireColors[0], fireColors[1], fireColors[2]);
addListener(cursor);
sprites = 0;
lag = new lagControl(40, 1, 4);
var _local2 = new ContextMenu();
_local2.hideBuiltInItems();
_local2.builtInItems.quality = true;
tl.menu = _local2;
soundMan = new ChainOfFireSoundManager(tl, SOUND_DEPTH, MUSIC_DEPTH);
BUTTON_SOUND_PRESS = soundMan.RegisterSound("Press4");
IGNITE_SOUND = soundMan.RegisterSound("Flame2");
FLAME_SOUND_1 = soundMan.RegisterSound("flaming", "vol");
DIE_SOUND = soundMan.RegisterSound("Fall");
SPLASH_SOUND = soundMan.RegisterSound("splashSound");
TTL_MUS = soundMan.RegisterMusic("TitleSong", 50);
BG_MUS = soundMan.RegisterMusic("song 1", 200);
soundMan.toggleLoop();
}
static function main(container) {
var game = new ChainOfFire(container);
container.game = game;
container.onEnterFrame = function () {
this.game.step();
};
}
function step() {
switch (gameState) {
case STATE_TITLE_SCREEN :
fSTATE_TITLE_SCREEN();
break;
case STATE_END_SCREEN :
fSTATE_END_SCREEN();
break;
case STATE_NEXT_LEVEL :
fSTATE_NEXT_LEVEL();
break;
case STATE_LEVEL_COMPLETE :
fSTATE_LEVEL_COMPLETE();
break;
case STATE_WAIT_FOR_CLOSE :
fSTATE_WAIT_FOR_CLOSE();
case STATE_PLAY :
fSTATE_PLAY();
break;
case STATE_STEP_INIT :
fSTATE_STEP_INIT();
break;
case STATE_CHANGE_COLOR :
fSTATE_CHANGE_COLOR();
}
lag.update();
}
function fSTATE_TITLE_SCREEN() {
titleScreen = parentTL.attachMovie("fTitleScreen", "TitleScreen", MENU_SCREEN_DEPTH);
addListener(titleScreen);
titleScreen.addListener(this);
titleScreen.addSounds(soundMan, BUTTON_SOUND_PRESS);
titleScreen.setFireColors(fireColors);
gameState = STATE_PLAY;
soundMan.playTrack(TTL_MUS);
}
function fSTATE_WAIT_FOR_CLOSE() {
cursor.step(lag.__get__stepLength());
cursor.render();
}
function fSTATE_STEP_INIT() {
if (!LOAD_STEPS) {
scoreBoard.active = false;
scoreBoard.Level = level;
loadingScreen = parentTL.attachMovie("fLoadingScreen", "loadingScreen", LOADING_SCREEN_UDEPTH);
loadingScreen.init(STAGE_W / 2, STAGE_H / 2, STAGE_W, STAGE_H, 0, 50, fireColors);
if (!FLAMES_LOADED) {
flameRun = new Array();
flameDie = new Array();
flameSplash = new Array();
flameTree = new Array();
}
if (retry) {
CURRENT_STEP = 2;
} else {
curMap = maps["Map" + Math.max(level, 0)];
tileMap.loadMap(curMap.dat);
}
LOAD_STEPS = Math.min(Math.max(curMap.spts, 1) + 6, MAX_SPRITES + 6);
scoreBoard.reset(LOAD_STEPS - 6, level, int(chal) * curMap.goal);
} else if (!CURRENT_STEP) {
if (!tileMap.stepLoadMap(20)) {
CURRENT_STEP = 1;
}
} else if (CURRENT_STEP == 1) {
if (!FLAMES_LOADED) {
src = parentTL.createEmptyMovieClip("src", SRC_DEPTH);
src._x = -1000;
src.attachMovie("fManRun", "anim", 0, {colors:fireColors});
flameLoad = new PreloadedFlameEffect(src.anim, src, 5, true, 21, 42, 25, 25, 4, 10, 0, 7, 1, 0, fireColors, true);
CURRENT_STEP++;
} else {
CURRENT_STEP = 6;
}
} else if (CURRENT_STEP == 2) {
if (flameRun.length < 4) {
if (flameLoad.load()) {
flameRun.push(flameLoad);
CURRENT_STEP--;
}
} else {
src.anim.removeMovieClip();
src.attachMovie("fManDie", "anim", 0, {colors:fireColors});
flameLoad = new PreloadedFlameEffect(src.anim, src, 1, false, 29, 31, 25, 25, 4, 10, 1, 1, 1, 0, fireColors, true);
CURRENT_STEP++;
}
} else if (CURRENT_STEP == 3) {
if (flameDie.length < 4) {
if (flameLoad.load(15)) {
flameDie.push(flameLoad);
CURRENT_STEP--;
}
} else {
src.anim.removeMovieClip();
src.attachMovie("fManSplash", "anim", 0, {colors:fireColors});
CURRENT_STEP++;
flameLoad = new PreloadedFlameEffect(src.anim, src, 1, false, 17, 37, 25, 25, 4, 10, 1, 1, 1, 0, fireColors, true);
}
} else if (CURRENT_STEP == 4) {
if (flameSplash.length < 4) {
if (flameLoad.load(15)) {
flameSplash.push(flameLoad);
CURRENT_STEP--;
}
} else {
src.anim.removeMovieClip();
src.attachMovie("fTreeFlame", "anim", 0, {colors:fireColors});
flameLoad = new PreloadedFlameEffect(src.anim, src, 9, true, 26, 60, 25, 25, 4, 10, 0, 100, 1, 0, fireColors, true);
CURRENT_STEP++;
}
} else if (CURRENT_STEP == 5) {
if (flameTree.length < 4) {
if (flameLoad.load(15)) {
flameTree.push(flameLoad);
CURRENT_STEP--;
}
} else {
src.removeMovieClip();
delete flameLoad;
CURRENT_STEP++;
}
} else if (sprites < (curMap.trees.length / 2)) {
var _local3 = sprites * 2;
var _local2 = new TreeSprite(tileMap, parentTL, curMap.trees[_local3], curMap.trees[_local3 + 1], sprites, flameTree[random(4)], IGNITE_SOUND, FLAME_SOUND_1);
addSprite(_local2);
CURRENT_STEP++;
} else if (CURRENT_STEP < LOAD_STEPS) {
var _local3 = sprites;
var _local2 = new Man(tileMap, parentTL, random(STAGE_W), random(STAGE_H), _local3, 1, [flameRun[random(4)], flameDie[random(4)], flameSplash[random(4)]], IGNITE_SOUND, FLAME_SOUND_1, DIE_SOUND, SPLASH_SOUND);
addSprite(_local2);
CURRENT_STEP++;
} else {
loadingScreen.remove();
CURRENT_STEP = 0;
LOAD_STEPS = 0;
FLAMES_LOADED = true;
if (retry) {
retry = false;
levelScreenClose(2);
} else {
gameState = STATE_NEXT_LEVEL;
}
}
cursor.step(lag.__get__stepLength());
cursor.render();
loadingScreen.step(lag.__get__stepLength());
loadingScreen.prog(((CURRENT_STEP + (tileMap.LOADSTEPS / 20)) + ((((((flameRun.length * 5) + flameDie.length) + flameSplash.length) + (flameTree.length * 8)) + ((CURRENT_STEP == 2) ? (flameLoad.__get__Percent() * 5) : (((CURRENT_STEP == 5) ? (flameLoad.__get__Percent() * 8) : 0)))) * int(!FLAMES_LOADED))) / ((LOAD_STEPS + (curMap.dat.length / 20)) + (66 * int(!FLAMES_LOADED))));
}
function fSTATE_PLAY() {
if (!pauseGame) {
broadcastMessage("step", lag.__get__stepLength());
broadcastMessage("render");
} else {
cursor.step(lag.__get__stepLength());
cursor.render();
}
}
function fSTATE_LEVEL_COMPLETE() {
scoreBoard.active = false;
broadcastMessage("remove");
loadingScreen = parentTL.attachMovie("fLoadingScreen", "loadingScreen", LOADING_SCREEN_UDEPTH);
loadingScreen.init(STAGE_W / 2, STAGE_H / 2, STAGE_W, STAGE_H, 0, 50, fireColors);
loadingScreen.remove();
levelScreen = parentTL.attachMovie("fLevelScreen", "levelScreen", MENU_SCREEN_DEPTH);
levelScreen.addListener(this);
if (chal and (scoreBoard.LevelScore < scoreBoard.Goal)) {
levelScreen.setLevel(-2, scoreBoard.Goal);
} else {
levelScreen.setLevel(-1);
}
levelScreen.setLocation(STAGE_W / 2, STAGE_H / 2);
pauseGame = true;
gameState = STATE_PLAY;
}
function fSTATE_NEXT_LEVEL() {
scoreBoard.active = false;
levelScreen = parentTL.attachMovie("fLevelScreen", "levelscreen", MENU_SCREEN_DEPTH);
levelScreen.addListener(this);
levelScreen.setLocation(STAGE_W / 2, STAGE_H / 2);
if (!tutSeen) {
if (level == 7) {
tutSeen = true;
so.data.tutSeen = true;
}
adTime = getTimer();
} else {
if (level < 7) {
adTime = getTimer();
}
if (adSeen) {
if ((++adTime) > 20) {
levelScreen.showAdd();
adTime = 0;
}
} else {
var _local2 = getTimer() - adTime;
if (_local2 > 600000) {
levelScreen.showAdd();
adTime = 0;
adSeen = true;
}
}
}
levelScreen.setLevel(level, int(chal) * curMap.goal);
pauseGame = true;
gameState = STATE_PLAY;
}
function fSTATE_CHANGE_COLOR() {
if (!FLAMES_LOADED) {
gameState = STATE_PLAY;
return(undefined);
}
switch (FLAME_LOAD_STEPS) {
case 0 :
pauseMenu.active = false;
loadingScreen = parentTL.attachMovie("fLoadingScreen", "loadingScreen", LOADING_SCREEN_DEPTH, {_x:STAGE_W / 2, _y:STAGE_H / 2});
loadingScreen.init(STAGE_W / 2, STAGE_H / 2, STAGE_W, STAGE_H, 0, 50, fireColors);
src.removeMovieClip();
src = parentTL.createEmptyMovieClip("src", SRC_DEPTH);
src._x = -1000;
src.attachMovie("fManRun", "anim", 0, {colors:fireColors});
FLAME_LOAD_STEPS = 4;
FLAME_LOAD_STEP = 0;
flameRun[FLAME_LOAD_STEP].colors = fireColors;
flameRun[FLAME_LOAD_STEP].update(src.anim, src, 5);
break;
case 4 :
if (flameRun[FLAME_LOAD_STEP].load()) {
src.anim.removeMovieClip();
src.attachMovie("fManRun", "anim", 0, {colors:fireColors});
if ((++FLAME_LOAD_STEP) < FLAME_LOAD_STEPS) {
flameRun[FLAME_LOAD_STEP].colors = fireColors;
flameRun[FLAME_LOAD_STEP].update(src.anim, src, 5);
} else {
src.anim.removeMovieClip();
src.attachMovie("fManDie", "anim", 0, {colors:fireColors});
FLAME_LOAD_STEPS = FLAME_LOAD_STEPS + 4;
flameDie[0].colors = fireColors;
flameDie[0].update(src.anim, src, 1);
var _local3 = 20;
break;
}
}
var _local3 = (FLAME_LOAD_STEP * 5) + (flameRun[FLAME_LOAD_STEP].Percent * 5);
break;
case 8 :
var _local2 = FLAME_LOAD_STEP - 4;
if (flameDie[_local2].load()) {
if ((++FLAME_LOAD_STEP) < FLAME_LOAD_STEPS) {
_local2++;
src.anim.removeMovieClip();
src.attachMovie("fManDie", "anim", 0, {colors:fireColors});
flameDie[_local2].colors = fireColors;
flameDie[_local2].update(src.anim, src, 1);
// unexpected jump
}
src.anim.removeMovieClip();
src.attachMovie("fManSplash", "anim", 0, {colors:fireColors});
FLAME_LOAD_STEPS = FLAME_LOAD_STEPS + 4;
flameSplash[0].colors = fireColors;
flameSplash[0].update(src.anim, src, 1);
_local3 = 24;
} else {
_local3 = 20 + _local2;
break;
_local2 = FLAME_LOAD_STEP - 8;
if (flameSplash[_local2].load()) {
if ((++FLAME_LOAD_STEP) < FLAME_LOAD_STEPS) {
_local2++;
src.anim.removeMovieClip();
src.attachMovie("fManSplash", "anim", 0, {colors:fireColors});
flameSplash[_local2].colors = fireColors;
flameSplash[_local2].update(src.anim, src, 1);
// unexpected jump
}
src.anim.removeMovieClip();
src.attachMovie("fTreeFlame", "anim", 0, {colors:fireColors});
FLAME_LOAD_STEPS = FLAME_LOAD_STEPS + 4;
flameTree[0].colors = fireColors;
flameTree[0].update(src.anim, src, 8);
_local3 = 28;
} else {
_local3 = 24 + _local2;
break;
_local2 = FLAME_LOAD_STEP - 12;
if (flameTree[_local2].load()) {
if ((++FLAME_LOAD_STEP) < FLAME_LOAD_STEPS) {
_local2++;
src.anim.removeMovieClip();
src.attachMovie("fTreeFlame", "anim", 0, {colors:fireColors});
flameTree[_local2].colors = fireColors;
flameTree[_local2].update(src.anim, src, 8);
} else {
src.removeMovieClip();
loadingScreen.removeMovieClip();
pauseMenu.active = true;
FLAME_LOAD_STEPS = 0;
gameState = STATE_PLAY;
_local3 = 60;
}
}
_local3 = (28 + (_local2 * 8)) + (flameTree[_local2].Percent * 8);
break;
FLAME_LOAD_STEPS = 0;
}
}
case 12 :
_local2 = FLAME_LOAD_STEP - 8;
if (flameSplash[_local2].load()) {
if ((++FLAME_LOAD_STEP) < FLAME_LOAD_STEPS) {
_local2++;
src.anim.removeMovieClip();
src.attachMovie("fManSplash", "anim", 0, {colors:fireColors});
flameSplash[_local2].colors = fireColors;
flameSplash[_local2].update(src.anim, src, 1);
// unexpected jump
}
src.anim.removeMovieClip();
src.attachMovie("fTreeFlame", "anim", 0, {colors:fireColors});
FLAME_LOAD_STEPS = FLAME_LOAD_STEPS + 4;
flameTree[0].colors = fireColors;
flameTree[0].update(src.anim, src, 8);
_local3 = 28;
} else {
_local3 = 24 + _local2;
break;
_local2 = FLAME_LOAD_STEP - 12;
if (flameTree[_local2].load()) {
if ((++FLAME_LOAD_STEP) < FLAME_LOAD_STEPS) {
_local2++;
src.anim.removeMovieClip();
src.attachMovie("fTreeFlame", "anim", 0, {colors:fireColors});
flameTree[_local2].colors = fireColors;
flameTree[_local2].update(src.anim, src, 8);
} else {
src.removeMovieClip();
loadingScreen.removeMovieClip();
pauseMenu.active = true;
FLAME_LOAD_STEPS = 0;
gameState = STATE_PLAY;
_local3 = 60;
}
}
_local3 = (28 + (_local2 * 8)) + (flameTree[_local2].Percent * 8);
break;
FLAME_LOAD_STEPS = 0;
}
case 16 :
_local2 = FLAME_LOAD_STEP - 12;
if (flameTree[_local2].load()) {
if ((++FLAME_LOAD_STEP) < FLAME_LOAD_STEPS) {
_local2++;
src.anim.removeMovieClip();
src.attachMovie("fTreeFlame", "anim", 0, {colors:fireColors});
flameTree[_local2].colors = fireColors;
flameTree[_local2].update(src.anim, src, 8);
} else {
src.removeMovieClip();
loadingScreen.removeMovieClip();
pauseMenu.active = true;
FLAME_LOAD_STEPS = 0;
gameState = STATE_PLAY;
_local3 = 60;
}
}
_local3 = (28 + (_local2 * 8)) + (flameTree[_local2].Percent * 8);
break;
default :
FLAME_LOAD_STEPS = 0;
}
loadingScreen.step(lag.__get__stepLength());
loadingScreen.prog((FLAME_LOAD_STEP + _local3) / 76);
}
function titleScreenClose(n, chalenges) {
removeListener(titleScreen);
titleScreen.removeMovieClip();
delete titleScreen;
if ((!chalenges) or (n == 1)) {
prevFire = [];
if (chalenges) {
sco.data.var1 = "";
so.data.score = 0;
so.data.level = 1;
}
}
curFire = [];
tileMap = new TileMap(this, 19, 14, TILE_W, TILE_H);
tileMap.CreateMap();
scoreBoard = parentTL.attachMovie("fScoreBoard", "scoreBoard", SCORE_DEPTH, {_y:STAGE_H});
scoreBoard.addListener(this);
scoreBoard.addSounds(soundMan, BUTTON_SOUND_PRESS);
if ((n == -1) and chalenges) {
level = so.data.level;
scoreBoard.TotalScore = so.data.score;
} else {
level = n;
}
levCom = 0;
chal = chalenges;
gameState = STATE_STEP_INIT;
soundMan.playTrack(BG_MUS);
adTime = getTimer();
}
function setPlayModes(playWindow) {
if (tutSeen) {
playWindow.enableFree();
}
if (so.data.level) {
playWindow.enableCont();
}
}
function levelScreenClose(n) {
WatDie = 0;
SptDie = 0;
switch (n) {
case 0 :
retry = true;
curFire = [];
removeListener(levelScreen);
levelScreen.removeListener(this);
levelScreen.removeMovieClip();
delete levelScreen;
gameState = STATE_STEP_INIT;
break;
case 1 :
level++;
removeFires(prevFire, curFire);
curFire = [];
removeListener(levelScreen);
levelScreen.removeListener(this);
levelScreen.removeMovieClip();
delete levelScreen;
if (level >= 0) {
scoreBoard.addScore();
if (chal) {
_root.kongregateStats.submit("MostLevelsCompltChal", level - 1);
so.data.score = so.data.score + scoreBoard.LevelScore;
so.data.level = Math.min(level, TOTAL_LEVELS);
} else {
levCom++;
_root.kongregateStats.submit("MostLevelsCompltFree", levCom);
}
}
if (level > TOTAL_LEVELS) {
gameState = STATE_END_SCREEN;
if (chal) {
_root.kongregateStats.submit("AllLevelsChal", 1);
} else if ((levCom - 1) == TOTAL_LEVELS) {
_root.kongregateStats.submit("AllLevelsFree", 1);
}
} else {
gameState = STATE_STEP_INIT;
}
break;
case 2 :
removeListener(levelScreen);
levelScreen.removeListener(this);
levelScreen.removeMovieClip();
loadingScreen.removeMovieClip();
delete levelScreen;
scoreBoard.active = true;
broadcastMessage("init");
pauseGame = false;
gameState = STATE_PLAY;
}
}
function retryReleased() {
broadcastMessage("remove");
broadcastMessage("remove");
levelScreen.removeMovieClip();
curFire = [];
retry = true;
WatDie = 0;
SptDie = 0;
gameState = STATE_STEP_INIT;
}
function togGamePaused() {
if (pauseGame) {
pauseGame = false;
pauseMenu.removeMovieClip();
scoreBoard.active = true;
soundMan.resumeSounds();
if (!FLAMES_LOADED) {
updateFireColors();
}
} else {
pauseGame = true;
scoreBoard.active = false;
pauseMenu = parentTL.attachMovie("fPauseMenu", "pauseMenu", MENU_SCREEN_DEPTH);
pauseMenu.setLocation(STAGE_W / 2, STAGE_H / 2);
pauseMenu.addListener(this);
pauseMenu.addSounds(soundMan, BUTTON_SOUND_PRESS);
}
broadcastMessage("pauseGame", pauseGame);
}
function returnToTitle() {
tileMap.unload();
removeListener(tileMap);
delete tileMap;
broadcastMessage("remove");
broadcastMessage("remove");
pauseMenu.removeMovieClip();
pauseGame = false;
soundMan.stopSFX();
gameState = STATE_TITLE_SCREEN;
}
function fSTATE_END_SCREEN() {
tileMap.unload();
updateFires(playerScore);
endScreen = parentTL.attachMovie("fEndScreen", "endScreen", MENU_SCREEN_DEPTH);
endScreen.addListener(this);
addListener(endScreen);
gameState = STATE_PLAY;
pauseGame = false;
endScreen.setFireColors(fireColors);
}
function addSprite(s) {
if (sprites < MAX_SPRITES) {
sprites++;
addListener(s);
s.addListener(this);
s.addListener(soundMan);
}
}
function mouseBusy(b) {
broadcastMessage("setActive", b);
}
function spriteLit(w) {
broadcastMessage("spriteLit");
scoreBoard.Value = ((w == 5) ? 2 : (((w == 2) ? 1 : 0)));
scoreBoard.LevelScore = scoreBoard.LevelScore + w;
scoreBoard.Sprites--;
addFire(curFire, w);
}
function spriteBurned(w) {
scoreBoard.LevelScore = scoreBoard.LevelScore + w;
scoreBoard.Sprites--;
addFire(curFire, w);
}
function removeSprite(s, ops) {
removeListener(s);
if (ops == "water") {
WatDie++;
_root.kongregateStats.submit("WaterDieMax", WatDie);
}
SptDie++;
_root.kongregateStats.submit("SpriteDieMax", SptDie);
_root.kongregateStats.submit("SpriteDieAdd", 1);
if ((--sprites) <= 0) {
gameState = STATE_LEVEL_COMPLETE;
}
}
function changeFireColors(c, u) {
fireColors = c;
FLAMES_LOADED = !u;
so.data.fireColors = c;
broadcastMessage("setFireColors", c);
}
function updateFireColors() {
FLAMES_LOADED = true;
gameState = STATE_CHANGE_COLOR;
}
function updateFires(n) {
if (getFires(prevFire) != n) {
scoreBoard.cont(0);
return(false);
}
return(true);
}
function loadFires(d, s, a) {
var _local4 = 0;
var _local2 = 0;
while (_local2 < d.length) {
_local4 = _local4 + (d.charCodeAt(_local2) - 64);
a.push(d.charAt(_local2));
_local2++;
}
return(updateFires(s));
}
function addFire(a, w) {
if (a.length > 20) {
var _local1 = a.splice(-1, random(10));
for (var _local3 in _local1) {
w = w + (_local1[_local3].charCodeAt(0) - 64);
}
}
a.unshift(String.fromCharCode(w + 64));
}
function removeFires(a, b) {
var _local5 = getFires(b);
var _local4 = 0;
while (_local4 < _local5) {
var _local3 = 1 + random(Math.min(_local5 - _local4, 26));
_local4 = _local4 + _local3;
var _local2 = String.fromCharCode(_local3 + 64);
a.push(_local2);
if (chal) {
}
sco.data.var1 = sco.data.var1 + _local2;
}
b = [];
}
function getFires(a) {
var _local2 = 0;
for (var _local3 in a) {
_local2 = _local2 + (a[_local3].charCodeAt(0) - 64);
}
return(_local2);
}
function get playerScore() {
return(scoreBoard.TotalScore);
}
function broadcastMessage() {
}
function addListener() {
}
function removeListener() {
}
static var STAGE_W = 570;
static var STAGE_H = 420;
static var FPS = 40;
static var TILE_W = 30;
static var TILE_H = 30;
static var MAX_MAP_W = STAGE_W / TILE_W;
static var MAX_MAP_H = STAGE_H / TILE_H;
static var MAX_TILES = MAX_MAP_W * MAX_MAP_H;
static var MAX_TILES_PER_Y = MAX_MAP_W * 2;
static var MAX_SPRITES = 60;
static var DEPTHS_PER_Y = 100;
static var SRC_DEPTH = 999;
static var SPRITE_MIN_DEPTH = 1000;
static var SPRITE_MAX_DEPTH = SPRITE_MIN_DEPTH + (DEPTHS_PER_Y * (STAGE_H * 2));
static var SCORE_DEPTH = SPRITE_MAX_DEPTH + 1000;
static var MENU_SCREEN_DEPTH = SPRITE_MAX_DEPTH + 2000;
static var LOADING_SCREEN_UDEPTH = MENU_SCREEN_DEPTH - 500;
static var LOADING_SCREEN_DEPTH = MENU_SCREEN_DEPTH + 500;
static var CURSOR_DEPTH = SPRITE_MAX_DEPTH + 3000;
static var SOUND_DEPTH = SPRITE_MAX_DEPTH + 4000;
static var MUSIC_DEPTH = SPRITE_MAX_DEPTH + 5000;
static var STATE_TITLE_SCREEN = 10;
static var STATE_WAIT_FOR_CLOSE = 20;
static var STATE_INIT = 30;
static var STATE_CHANGE_COLOR = 40;
static var STATE_STEP_INIT = 50;
static var STATE_PLAY = 60;
static var STATE_NEXT_LEVEL = 70;
static var STATE_LEVEL_COMPLETE = 80;
static var STATE_END_SCREEN = 90;
static var NEXT_LEVEL = 1;
static var RETRY_LEVEL = 2;
static var TOTAL_LEVELS = 70;
var FLAMES_LOADED = false;
var FLAME_LOAD_STEP = 0;
var adSeen = false;
var retry = false;
var pauseGame = false;
var prevFire = [];
var curFire = [];
var level = -1;
}
Symbol 326 MovieClip [__Packages.FlamingCursor] Frame 0
class FlamingCursor
{
static var ox, oy;
var parentTL, clip, FX, __get__colors;
function FlamingCursor (container, linkName, depth, c1, c2, c3) {
AsBroadcaster.initialize(this);
Mouse.addListener(this);
parentTL = container;
clip = parentTL.attachMovie(linkName, "flamingCursor", depth);
ox = clip._width / 4;
oy = clip._height / 2;
FX = new FlameEffect(clip.fS, clip.fS._width, clip.fS._height, 15, 15, 4, 10, 1, 1, 0, [((!(c1 === undefined)) ? (c1) : 16744448), ((!(c2 === undefined)) ? (c2) : 16776960), ((!(c3 === undefined)) ? (c3) : 16777215)], true, 3);
}
function ShowMouse() {
hideMouse = false;
Mouse.show();
}
function HideMouse() {
hideMouse = true;
}
function step(spd) {
omx = mx;
omy = my;
mx = parentTL._xmouse;
my = parentTL._ymouse;
if ((mx != omx) or (my != omy)) {
Mouse.hide();
}
FX.burn(((spd <= 0) ? 1 : (spd)));
}
function set colors(c) {
FX.__set__colors(c);
//return(__get__colors());
}
function setFireColors(c) {
FX.__set__colors(c);
}
function render() {
clip._x = mx + ox;
clip._y = my + oy;
}
function addListener() {
}
function removeListener() {
}
function broadcastEvent() {
}
var hideMouse = true;
var omx = -5;
var omy = -5;
var mx = 0;
var my = 0;
}
Symbol 327 MovieClip [__Packages.TileMap] Frame 0
class TileMap
{
var tx, ty, tw, th, mw, mh, game, grid, LOADSTEPS, water, o1, o2, wsd, waters, LOADINGMAP;
function TileMap (parentGame, mapW, mapH, tileW, tileH) {
tx = tileW / 2;
ty = tileH / 2;
tw = tileW;
th = tileH;
mw = mapW;
mh = mapH;
game = parentGame;
grid = new Array();
LOADSTEPS = 2;
water = new flash.display.BitmapData(mw * tw, mh * th, true, 2566953471);
}
function CreateMap() {
var _local4 = tx;
var _local5 = ty;
var _local3 = 0;
while (_local3 < mh) {
var _local2 = 0;
while (_local2 < mw) {
grid[(_local3 * mw) + _local2] = new Cell(game.parentTL, _local3, _local2, _local4, _local5, tx, ty, (ChainOfFire.SPRITE_MIN_DEPTH + _local2) + ((_local3 * th) * ChainOfFire.DEPTHS_PER_Y), 1, 1);
grid[(_local3 * mw) + _local2].render();
_local4 = _local4 + tw;
_local2++;
}
_local4 = tx;
_local5 = _local5 + th;
_local3++;
}
LOADSTEPS = LOADSTEPS - 1;
}
function step(sl) {
o1.x = o1.x + sl;
o2.x = o2.x - sl;
water.perlinNoise(100, 50, 2, wsd, false, false, 8, false, [o1, o2]);
for (var _local2 in waters) {
grid[waters[_local2]].stepShadows(water);
}
}
function clearGrid() {
}
function getT_V(v) {
return(grid[(Math.floor(v.y / th) * mw) + Math.floor(v.x / tw)]);
}
function getT_S(x, y) {
return(grid[(Math.floor(y / th) * mw) + Math.floor(x / tw)]);
}
function getT_I(i, j) {
return(grid[(i * mw) + j]);
}
function getI_V(v) {
return(new flash.geom.Point(Math.floor(v.x / tw), Math.floor(v.y / th)));
}
function getI_S(x, y) {
return(new flash.geom.Point(Math.floor(x / tw), Math.floor(y / th)));
}
function setT(i, j, num) {
grid[i][j].setT(num);
}
function getObs(x, y, xw, yw) {
var _local5 = new Array();
var _local9 = Math.floor((x - xw) / tw);
var _local4 = Math.floor((y - yw) / th);
var _local7 = Math.floor((x + xw) / tw) + 1;
var _local8 = Math.floor((y + yw) / th) + 1;
while (_local4 < _local8) {
var _local3 = _local9;
while (_local3 < _local7) {
var _local2 = grid[(_local4 * mw) + _local3].objs;
for (var _local6 in _local2) {
_local5.push(_local2[_local6]);
}
_local3++;
}
_local4++;
}
return(_local5);
}
function loadMap(map) {
LOADSTEPS = 0;
LOADINGMAP = map.slice();
o1 = new flash.geom.Point();
o2 = new flash.geom.Point();
wsd = random(255);
water.fillRect(water.rectangle, 4278216447);
var _local2 = water.clone();
_local2.perlinNoise(100, 100, 5, random(255), false, false, 8, false);
water.copyChannel(_local2, _local2.rectangle, new flash.geom.Point(), 8, 8);
waters = new Array();
}
function stepLoadMap(toLoad) {
if (!LOADINGMAP) {
trace("no map to load!!!");
return(false);
}
var _local3 = 0;
while (_local3 < toLoad) {
var _local2 = LOADINGMAP[LOADSTEPS];
grid[LOADSTEPS].setT(_local2, _local2 + 1);
if (!_local2) {
waters.push(LOADSTEPS);
}
grid[LOADSTEPS].drawShadows(LOADINGMAP[LOADSTEPS - 1], LOADINGMAP[(LOADSTEPS - mw) - 1], LOADINGMAP[LOADSTEPS - mw], LOADINGMAP[(LOADSTEPS + mw) + 1], LOADINGMAP[LOADSTEPS + mw], water);
if ((++LOADSTEPS) > LOADINGMAP.length) {
LOADINGMAP = null;
return(false);
}
_local3++;
}
return(true);
}
function setTTs(map) {
trace("setting tile types" + map);
var _local2 = 0;
var _local5 = map.length;
while (_local2 < _local5) {
var _local3 = map[_local2];
grid[_local2].setT(((_local3 < 8) ? 0 : (((_local3 > 8) ? 1 : 2))), map[_local2] + 1);
_local2++;
}
}
function getTTs() {
}
function unload() {
for (var _local2 in grid) {
grid[_local2].remove();
}
grid = new Array();
}
}
Symbol 328 MovieClip [__Packages.Cell] Frame 0
class Cell extends Sprite
{
var i, j, clip, x, y, xw, yw, tT, zp, wat, wrec, shadows;
function Cell (timeLine, ti, tj, px, py, txw, tyw, d, type, frame) {
super();
i = (ti ? (ti) : 0);
j = (tj ? (tj) : 0);
clip = timeLine.attachMovie("tiles", (("t_" + i) + "_") + j, d);
clip.gotoAndStop(frame);
x = (px ? (px) : 0);
y = (py ? (py) : 0);
xw = txw;
yw = tyw;
tT = type;
zp = new flash.geom.Point();
}
function setT(type, frame) {
tT = type;
obNum = 0;
objs = new Object();
clip.gotoAndStop("blank");
clip.gotoAndStop((frame ? (frame) : (clip._currentframe)));
if (tT == 2) {
clip.swapDepths(((ChainOfFire.SPRITE_MIN_DEPTH + ChainOfFire.MAX_TILES_PER_Y) - j) + (((i * yw) * 2) * ChainOfFire.DEPTHS_PER_Y));
} else {
clip.swapDepths((ChainOfFire.SPRITE_MIN_DEPTH + j) + (((i * yw) * 2) * ChainOfFire.DEPTHS_PER_Y));
}
clip.cacheAsBitmap = true;
}
function get walkable() {
return(tT == 1);
}
function get water() {
return(tT == 0);
}
function addOb(ob) {
objs["ob" + ob.dep] = (ob.tree ? (["tree", ob.worth]) : ([ob.x, ob.y, ob.worth]));
obNum++;
}
function removeOb(ob) {
delete objs["ob" + ob.dep];
obNum--;
}
function get obs() {
return(obNum);
}
function remove() {
clip.removeMovieClip();
}
function stepShadows(bi) {
wat.copyPixels(bi, wrec, zp);
}
function drawShadows(l, ul, u, dr, d, bi) {
var _local2;
var _local3;
var _local4;
var _local14;
var _local12;
shadows = clip.createEmptyMovieClip("shadows", 100);
shadows.lineStyle(0, 0, 0);
switch (tT) {
case 0 :
clip.waves.gotoAndStop(u + 1);
wat = new flash.display.BitmapData(30, 30);
wrec = new flash.geom.Rectangle((j * xw) * 2, (i * yw) * 2, xw * 2, yw * 2);
wat.copyPixels(bi, wrec, zp);
shadows.attachBitmap(wat, 0);
_local14 = ((u === undefined) ? -5 : 0);
_local2 = yw * 2;
shadows._x = -xw;
shadows._y = 5 - yw;
break;
case 1 :
if (!l) {
_local2 = (yw + 5) - ((d > tT) ? 13.3 : 0);
_local3 = 3.3;
_local4 = (30 + (((!ul) and (u != tT)) ? 3.3 : 0)) + ((d > tT) ? -13.3 : 0);
shadows.moveTo(-xw, _local2);
shadows.beginFill(0, 30);
shadows.lineTo((-xw) - _local3, _local2 - (d ? 0 : (_local3)));
shadows.lineTo((-xw) - _local3, _local2 - _local4);
shadows.lineTo(-xw, (_local2 - _local4) + ((u == 2) ? (_local3) : 0));
shadows.endFill();
}
if ((!d) and dr) {
_local2 = yw + 5;
_local4 = 5;
if (dr == 2) {
_local3 = 13.3;
_local12 = 10;
} else {
_local3 = 3.3;
_local12 = 0;
}
shadows.moveTo(xw, _local2);
shadows.beginFill(0, 30);
shadows.lineTo(xw - _local3, _local2);
shadows.lineTo(xw - _local12, _local2 - _local4);
shadows.lineTo(xw, _local2 - _local4);
shadows.endFill();
}
break;
case 2 :
if (l < tT) {
_local2 = yw + (l ? 0 : 5);
_local3 = (l ? 10 : 13.3);
_local4 = 30;
shadows.moveTo(-xw, _local2);
shadows.beginFill(0, 30);
shadows.lineTo((-xw) - _local3, _local2 - ((d == 2) ? 0 : (_local3)));
shadows.lineTo((-xw) - _local3, _local2 - _local4);
shadows.lineTo(-xw, _local2 - _local4);
shadows.endFill();
if ((ul < 2) and (u < 2)) {
var _local8;
var _local9;
var _local6;
if (!ul) {
_local9 = 13.3;
_local8 = 13.3 - (l ? 5 : 0);
_local6 = (-yw) - 8.3;
} else {
_local9 = 10;
_local8 = 10;
_local6 = (-yw) - 10;
}
shadows.moveTo(-xw, _local6);
shadows.beginFill(0, 30);
shadows.lineTo((-xw) - _local9, _local6);
shadows.lineTo((-xw) - _local9, _local6 + _local8);
shadows.lineTo(-xw, _local6 + _local8);
shadows.endFill();
}
}
if (!(((d < 2) and dr) and (d != dr))) {
break;
}
_local2 = yw + (d ? 0 : 5);
if (dr == 2) {
_local4 = (d ? 15 : 20);
_local3 = (d ? 10 : 13.3);
} else {
_local4 = 5;
_local3 = 3.3;
}
shadows.moveTo(xw, _local2);
shadows.beginFill(0, 30);
shadows.lineTo(xw - _local3, _local2);
shadows.lineTo(xw, _local2 - _local4);
shadows.endFill();
}
}
var objs = new Object();
var obNum = 0;
}
Symbol 329 MovieClip [__Packages.PreloadedFlameEffect] Frame 0
class PreloadedFlameEffect
{
var rept, w, h, fms, fE, mw, mh, bmp, renderRec, loadData;
function PreloadedFlameEffect (anim, src, loadingSteps, repeate, wt, ht, scX, scY, glow, size, speed, reps, easeH, easeY, c, showSrc, removeGlow) {
rept = repeate;
w = wt + (2 * Math.abs(scX));
h = ht + (2 * Math.abs(scY));
var _local6 = anim._totalframes;
fms = _local6 * reps;
fE = new FlameEffect(anim, wt, ht, scX, scY, glow, size, (speed ? (speed) : (h / fms)), easeH, easeY, c, showSrc, 1, removeGlow);
var _local3 = new flash.geom.Matrix(1, 0, 0, 1, w / 2, h / 2);
mw = Math.floor(2000 / w);
mh = Math.min(Math.ceil(fms / mw), Math.floor(2000 / h));
bmp = new flash.display.BitmapData(mw * w, mh * h, true, 0);
renderRec = new flash.geom.Rectangle(0, 0, w, h);
if (loadingSteps) {
loadData = {framesloaded:0, j:1, f:_local6, anim:anim, m:_local3, steps:Math.ceil(fms / loadingSteps)};
return;
}
loadData = {framesloaded:fms};
var _local4 = 0;
while (_local4 < reps) {
var _local2 = 1;
while (_local2 <= _local6) {
anim.gotoAndStop(_local2);
fE.burn(1);
bmp.draw(src, _local3);
if (((_local3.tx = _local3.tx + w)) > bmp.width) {
_local3.tx = w / 2;
_local3.ty = _local3.ty + h;
}
_local2++;
}
_local4++;
}
}
function load() {
var _local2 = loadData;
var _local3 = 0;
while ((_local3 < _local2.steps) and (_local2.framesloaded < fms)) {
_local2.anim.gotoAndStop(_local2.j);
fE.burn(1);
bmp.draw(_local2.anim, _local2.m);
if (((_local2.m.tx = _local2.m.tx + w)) > bmp.width) {
_local2.m.tx = w / 2;
_local2.m.ty = _local2.m.ty + h;
}
_local2.framesloaded++;
_local3++;
if ((++_local2.j) > _local2.f) {
_local2.j = 1;
}
}
return(_local2.framesloaded == fms);
}
function render(clip, frame, sl) {
frame = frame + sl;
if (frame >= fms) {
frame = (rept ? (frame - fms) : -1);
}
if (frame >= 0) {
var _local3 = Math.floor(frame);
renderRec.y = h * Math.floor(_local3 / mw);
renderRec.x = w * (_local3 - (Math.floor(_local3 / mw) * mw));
clip.copyPixels(bmp, renderRec, new flash.geom.Point());
} else {
clip.fillRect(clip.rectangle, 0);
}
return(frame);
}
function update(anim, src, loadingSteps) {
bmp.fillRect(bmp.rectangle, 0);
var _local3 = new flash.geom.Matrix(1, 0, 0, 1, w / 2, h / 2);
fE.reset();
var _local6 = anim._totalframes;
var _local8 = fms / _local6;
if (loadingSteps) {
loadData = {framesloaded:0, j:1, f:_local6, anim:anim, m:_local3, steps:Math.ceil(fms / loadingSteps)};
return(undefined);
}
var _local4 = 0;
while (_local4 < _local8) {
var _local2 = 1;
while (_local2 <= _local6) {
anim.gotoAndStop(_local2);
fE.burn(1);
bmp.draw(src, _local3);
if (((_local3.tx = _local3.tx + w)) > bmp.width) {
_local3.tx = w / 2;
_local3.ty = _local3.ty + h;
}
_local2++;
}
_local4++;
}
}
function get Percent() {
return(loadData.framesloaded / fms);
}
function getBitmap() {
return(new flash.display.BitmapData(w, h, true, 0));
}
function set colors(c) {
fE.__set__colors(c);
}
function get totalFrames() {
return(fms);
}
}
Symbol 330 MovieClip [__Packages.lagControl] Frame 0
class lagControl
{
var FPS, count, txt, mL, $stepTime, prevTime, stepLen, curTime;
function lagControl (frameRate, frequency, maxLen, txtFld) {
AsBroadcaster.initialize(this);
FPS = frameRate;
count = frequency;
txt = txtFld;
mL = maxLen;
$stepTime = (1000 / FPS) * count;
prevTime = getTimer();
stepLen = 1;
}
function update() {
if ((++steps) >= count) {
curTime = getTimer() - prevTime;
stepLen = curTime / $stepTime;
txt.text = (((Math.round(((1000 * count) / curTime) * 10) / 10) + " / ") + FPS) + " fps";
prevTime = getTimer();
steps = 0;
}
}
function get frameRate() {
return(FPS);
}
function get stepLength() {
return(Math.min(stepLen, mL));
}
function get frequency() {
return(count);
}
function get txtFld() {
return(txt);
}
function get maxLen() {
return(mL);
}
function get lastStepTime() {
return(curTime);
}
function get stepTime() {
return($stepTime);
}
function set frameRate(n) {
FPS = ((!n) ? 1 : (n));
$stepTime = (1000 / FPS) * count;
prevTime = getTimer();
stepLen = 1;
steps = 0;
//return(frameRate);
}
function set frequency(n) {
count = ((!n) ? 1 : (n));
$stepTime = (1000 / FPS) * count;
prevTime = getTimer();
stepLen = 1;
steps = 0;
//return(frequency);
}
function set txtFld(t) {
txt = t;
//return(txtFld);
}
function set maxLen(n) {
mL = ((n < 1) ? 1 : (FPS));
//return(maxLen);
}
function addListener() {
}
function removeListener() {
}
function broadcastMessage() {
}
var steps = 0;
}
Symbol 331 MovieClip [__Packages.ChainOfFireMaps] Frame 0
#initclip
if (!_global.ChainOfFireMaps) {
var _local1 = function () {
};
_global.ChainOfFireMaps = _local1;
var _local2 = _local1.prototype;
_local2.__get__Map1 = function () {
return(new Map(ChainOfFireMaps.w, ChainOfFireMaps.h, [2, 2, 2, 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
_local2.__get__Map10 = function () {
return(new Map(ChainOfFireMaps.w, ChainOfFireMaps.h, [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 1, 1, 2, 2, 2, 2, 2, 1, 1, 2, 2, 2, 1, 1, 1, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 1, 2, 2, 2, 2, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 2, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 2, 2, 2, 2, 2, 1, 1, 1, 2, 1, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 2, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1, 1, 1, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 1, 1, 1, 2, 2, 1, 1, 2, 1, 1, 2, 2, 2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 1, 2, 1, 1, 2, 2, 1, 2, 2, 2, 2, 2, 1, 2, 2, 1, 1, 1, 1, 1, 2, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [7, 2, 13, 7, 5, 6, 6, 7, 3, 5, 8, 9, 9, 11, 8, 11, 15, 10, 3, 1, 12, 11, 13, 6, 14, 8, 12, 5, 14, 3, 4, 10, 6, 9, 5, 9, 13, 4, 5, 8], 60, 300));
};
_local2.__get__Map11 = function () {
return(new Map(ChainOfFireMaps.w, ChainOfFireMaps.h,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 0, 0, 0, 0, 0, 0, 0, 0], [], 20, 80));
};
_local2.__get__Map22 = function () {
return(new Map(ChainOfFireMaps.w, ChainOfFireMaps.h, [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [5, 8, 6, 4, 12, 5, 11, 9], 60, 300));
};
_local2.__get__Map23 = function () {
return(new Map(ChainOfFireMaps.w, ChainOfFireMaps.h, [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0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, 2, 2, 2, 2, 2], [2, 6, 4, 6, 8, 6, 10, 6, 12, 6, 14, 6, 16, 6, 6, 6, 3, 7, 5, 7, 7, 7, 9, 7, 11, 7, 13, 7, 15, 7], 60, 260));
};
_local2.__get__Map30 = function () {
return(new Map(ChainOfFireMaps.w, ChainOfFireMaps.h, [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [14, 9, 14, 5, 4, 5, 4, 9], 60, 300));
};
_local2.__get__Map31 = function () {
return(new Map(ChainOfFireM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, 0, 0, 0, 0, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 0, 0, 0, 0, 0, 0, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 0, 0, 0, 0, 0, 0, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 0, 0, 0, 0, 0, 0, 2, 1, 2, 2, 2, 1, 1, 1, 2, 2, 2, 1, 2, 0, 0, 0, 0, 0, 0, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 0, 0, 0, 0, 0, 0, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 0, 0, 0, 0, 0, 0, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 0, 0, 0, 0, 0, 0, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 0, 0, 0, 0, 0, 0, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [6, 6, 5, 5, 7, 7, 5, 7, 7, 5], 60, 290));
};
_local2.__get__Map34 = function () {
([]);// not popped
};
// unexpected jump
// unexpected jump
_local2.__get__Map35 = function () {
return(new Map(ChainOfFireMaps.w, ChainOfFireMaps.h, [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1,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, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [], 60, 250));
};
_local2.__get__Map39 = function () {
return(new Map(ChainOfFireMaps.w, ChainOfFireMaps.h, [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [10, 11, 9, 11, 8, 11, 1, 2, 1, 3, 17, 2, 17, 3], 60, 300));
};
_local2.__get__Map40 = function () {
return(new Map(ChainOfFireMaps.w, ChainOfFireMaps.h, [2, 2, 2, 2, 2, 2, 2, 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8, 9, 9, 9], 2, 150));
};
_local2.__get__Map50 = function () {
return(new Map(ChainOfFireMaps.w, ChainOfFireMaps.h, [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 0, 0, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 0, 0, 2, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 2, 0, 0, 2, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 0, 0, 2, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 2, 0, 0, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 0, 0, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [15, 8, 14, 8, 13, 8, 12, 8, 11, 8, 10, 8, 9, 8, 8, 8, 7, 8, 6, 8, 5, 8, 4, 8, 3, 8], 60, 300));
};
_local2.__get__Map51 = function () {
return(new Map(ChainOfFireMaps.w, ChainOfFireMaps.h, [2, 2, 2, 2, 2, 2, 2, 2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10, 2, 11, 3, 7, 4, 8, 3, 9, 4, 10, 5], 60, 260));
};
_local2.__get__Map58 = function () {
return(new Map(ChainOfFireMaps.w, ChainOfFireMaps.h, [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 1, 2, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [13, 10, 14, 10, 15, 10, 15, 11, 16, 11, 17, 10, 16, 9, 15, 9], 42, 230));
};
_local2.__get__Map59 = function () {
return(new Map(ChainOfFireMaps.w, ChainOfFireMaps.h, [2, 2, 2, 2, 2, 2, 2, 2, 2, 2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, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [11, 6, 7, 7], 60, 270));
};
_local2.__get__Map68 = function () {
return(new Map(ChainOfFireMaps.w, ChainOfFireMaps.h, [2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 2, 2, 2, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 2, 1, 1, 2, 1, 1, 2, 2, 2, 2, 1, 1, 2, 1, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 1, 2, 2, 2, 2, 1, 1, 2, 1, 1, 2, 1, 2, 1, 1, 2, 1, 2, 1, 1, 2, 2, 2, 2, 1, 1, 1, 2, 2, 2, 1, 2, 1, 1, 2, 1, 1, 1, 1, 2, 2, 2, 2, 1, 1, 1, 1, 1, 2, 1, 1, 2, 2, 1, 1, 2, 1, 1, 2, 2, 2, 2, 1, 1, 2, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [2, 11, 3, 11, 4, 11, 5, 11, 6, 11, 7, 11, 8, 11, 9, 11, 10, 11, 11, 11, 12, 11, 13, 11, 14, 11, 8, 8], 60, 290));
};
_local2.__get__Map69 = function () {
return(new Map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 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 0, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 0, 0, 0, 2, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2], [], 60));
};
_local1.w = ChainOfFire.MAX_MAP_W;
_local1.h = ChainOfFire.MAX_MAP_H;
_local1.totalMaps = 2;
(_local2.addProperty("Map1", _local2.__get__Map1, function () {
}));// not popped
(_local2.addProperty("Map10", _local2.__get__Map10, function () {
}));// not popped
(_local2.addProperty("Map11", _local2.__get__Map11, function () {
}));// not popped
(_local2.addProperty("Map12", _local2.__get__Map12, function () {
}));// not popped
(_local2.addProperty("Map13", _local2.__get__Map13, function () {
}));// not popped
(_local2.addProperty("Map14", _local2.__get__Map14, function () {
}));// not popped
(_local2.addProperty("Map15", _local2.__get__Map15, function () {
}));// not popped
(_local2.addProperty("Map16", _local2.__get__Map16, function () {
}));// not popped
(_local2.addProperty("Map17", _local2.__get__Map17, function () {
}));// not popped
(_local2.addProperty("Map18", _local2.__get__Map18, function () {
}));// not popped
(_local2.addProperty("Map19", _local2.__get__Map19, function () {
}));// not popped
(_local2.addProperty("Map2", _local2.__get__Map2, function () {
}));// not popped
(_local2.addProperty("Map20", _local2.__get__Map20, function () {
}));// not popped
(_local2.addProperty("Map21", _local2.__get__Map21, function () {
}));// not popped
(_local2.addProperty("Map22", _local2.__get__Map22, function () {
}));// not popped
(_local2.addProperty("Map23", _local2.__get__Map23, function () {
}));// not popped
(_local2.addProperty("Map24", _local2.__get__Map24, function () {
}));// not popped
(_local2.addProperty("Map25", _local2.__get__Map25, function () {
}));// not popped
(_local2.addProperty("Map26", _local2.__get__Map26, function () {
}));// not popped
(_local2.addProperty("Map27", _local2.__get__Map27, function () {
}));// not popped
(_local2.addProperty("Map28", _local2.__get__Map28, function () {
}));// not popped
(_local2.addProperty("Map29", _local2.__get__Map29, function () {
}));// not popped
(_local2.addProperty("Map3", _local2.__get__Map3, function () {
}));// not popped
(_local2.addProperty("Map30", _local2.__get__Map30, function () {
}));// not popped
(_local2.addProperty("Map31", _local2.__get__Map31, function () {
}));// not popped
(_local2.addProperty("Map32", _local2.__get__Map32, function () {
}));// not popped
(_local2.addProperty("Map33", _local2.__get__Map33, function () {
}));// not popped
(_local2.addProperty("Map34", _local2.__get__Map34, function () {
}));// not popped
(_local2.addProperty("Map35", _local2.__get__Map35, function () {
}));// not popped
(_local2.addProperty("Map36", _local2.__get__Map36, function () {
}));// not popped
(_local2.addProperty("Map37", _local2.__get__Map37, function () {
}));// not popped
(_local2.addProperty("Map38", _local2.__get__Map38, function () {
}));// not popped
(_local2.addProperty("Map39", _local2.__get__Map39, function () {
}));// not popped
(_local2.addProperty("Map4", _local2.__get__Map4, function () {
}));// not popped
(_local2.addProperty("Map40", _local2.__get__Map40, function () {
}));// not popped
(_local2.addProperty("Map41", _local2.__get__Map41, function () {
}));// not popped
(_local2.addProperty("Map42", _local2.__get__Map42, function () {
}));// not popped
(_local2.addProperty("Map43", _local2.__get__Map43, function () {
}));// not popped
(_local2.addProperty("Map44", _local2.__get__Map44, function () {
}));// not popped
(_local2.addProperty("Map45", _local2.__get__Map45, function () {
}));// not popped
(_local2.addProperty("Map46", _local2.__get__Map46, function () {
}));// not popped
(_local2.addProperty("Map47", _local2.__get__Map47, function () {
}));// not popped
(_local2.addProperty("Map48", _local2.__get__Map48, function () {
}));// not popped
(_local2.addProperty("Map49", _local2.__get__Map49, function () {
}));// not popped
(_local2.addProperty("Map5", _local2.__get__Map5, function () {
}));// not popped
(_local2.addProperty("Map50", _local2.__get__Map50, function () {
}));// not popped
(_local2.addProperty("Map51", _local2.__get__Map51, function () {
}));// not popped
(_local2.addProperty("Map52", _local2.__get__Map52, function () {
}));// not popped
(_local2.addProperty("Map53", _local2.__get__Map53, function () {
}));// not popped
(_local2.addProperty("Map54", _local2.__get__Map54, function () {
}));// not popped
(_local2.addProperty("Map55", _local2.__get__Map55, function () {
}));// not popped
(_local2.addProperty("Map56", _local2.__get__Map56, function () {
}));// not popped
(_local2.addProperty("Map57", _local2.__get__Map57, function () {
}));// not popped
(_local2.addProperty("Map58", _local2.__get__Map58, function () {
}));// not popped
(_local2.addProperty("Map59", _local2.__get__Map59, function () {
}));// not popped
(_local2.addProperty("Map6", _local2.__get__Map6, function () {
}));// not popped
(_local2.addProperty("Map60", _local2.__get__Map60, function () {
}));// not popped
(_local2.addProperty("Map61", _local2.__get__Map61, function () {
}));// not popped
(_local2.addProperty("Map62", _local2.__get__Map62, function () {
}));// not popped
(_local2.addProperty("Map63", _local2.__get__Map63, function () {
}));// not popped
(_local2.addProperty("Map64", _local2.__get__Map64, function () {
}));// not popped
(_local2.addProperty("Map65", _local2.__get__Map65, function () {
}));// not popped
(_local2.addProperty("Map66", _local2.__get__Map66, function () {
}));// not popped
(_local2.addProperty("Map67", _local2.__get__Map67, function () {
}));// not popped
(_local2.addProperty("Map68", _local2.__get__Map68, function () {
}));// not popped
(_local2.addProperty("Map69", _local2.__get__Map69, function () {
}));// not popped
(_local2.addProperty("Map7", _local2.__get__Map7, function () {
}));// not popped
(_local2.addProperty("Map70", _local2.__get__Map70, function () {
}));// not popped
(_local2.addProperty("Map8", _local2.__get__Map8, function () {
}));// not popped
(_local2.addProperty("Map9", _local2.__get__Map9, function () {
}));// not popped
ASSetPropFlags(_global.ChainOfFireMaps.prototype, null, 1);
#endinitclip
Symbol 332 MovieClip [__Packages.Map] Frame 0
class Map
{
var w, h, dat, trees, spts, goal;
function Map (pw, ph, pdat, ptrees, sprites, Goal) {
w = pw;
h = ph;
dat = pdat;
trees = ptrees;
spts = (trees.length / 2) + sprites;
goal = Goal;
}
}
Symbol 333 MovieClip [__Packages.TreeSprite] Frame 0
class TreeSprite extends Sprite
{
var tileMap, ip, ct, dep, x, y, w, h, xw, yw, clip, life, fire, render, s1, s2, fireB, fireFrame, flameTime, broadcastMessage, _listeners;
function TreeSprite (tMap, timeLine, tx, ty, n, fireEffect, igniteSound, flameSound) {
super();
tileMap = tMap;
ip = new flash.geom.Point(tx, ty);
ct = tileMap.getT_I(ty, tx);
if (ct.__get__water()) {
ct.clip.refTree.gotoAndStop("tree");
}
dep = (n + ChainOfFire.MAX_TILES_PER_Y) + 1;
x = ct.x;
y = ct.y + (ct.__get__water() ? 5 : ((ct.__get__walkable() ? 0 : -15)));
w = 60;
h = 60;
xw = w / 2;
yw = h / 2;
clip = timeLine.attachMovie("Tree", "Tree" + n, (ChainOfFire.SPRITE_MIN_DEPTH + dep) + (y * ChainOfFire.DEPTHS_PER_Y));
clip.cacheAsBitmap = true;
life = 5;
fire = fireEffect;
render();
s1 = igniteSound;
s2 = flameSound;
}
function init() {
clip.onRelease = function () {
this.broadcastMessage("ignite", 0, true);
};
AsBroadcaster.initialize(clip);
clip.addListener(this);
}
function step(sl) {
if (burning) {
var _local6 = fire.render(fireB, fireFrame, sl);
fireFrame = _local6;
if (((flameTime = flameTime - sl)) <= 0) {
broadcastMessage("stopSound", s2);
remove();
}
} else {
if (clickWorth == 5) {
return(undefined);
}
var _local3 = tileMap.getObs(x, y, xw, yw);
for (var _local5 in _local3) {
var _local2 = _local3[_local5];
if (_local2[0] == "tree") {
if (((life = life - sl)) <= 0) {
ignite(_local2[1], false);
}
return(undefined);
}
if ((Math.abs(_local2[0] - x) < xw) and (Math.abs(_local2[1] - ct.y) < yw)) {
if (((life = life - sl)) <= 0) {
ignite(_local2[2], false);
}
return(undefined);
}
}
}
}
function ignite(w, c) {
if (active) {
return(undefined);
}
if (c) {
worth = clickWorth;
broadcastMessage("spriteLit", worth);
} else {
worth = w;
broadcastMessage("spriteBurned", worth);
}
clip.cacheAsBitmap = false;
clip.clip.gotoAndStop("burn");
fireB = fire.getBitmap();
if (ct.__get__water()) {
ct.clip.refTree.tree.gotoAndStop("burn");
ct.clip.refTree.tree.createEmptyMovieClip("con", 0);
ct.clip.refTree.tree.con._x = (-fire.w) / 2;
ct.clip.refTree.tree.con._y = (-fire.h) / 2;
ct.clip.refTree.tree.con.attachBitmap(fireB, 0);
}
clip.removeListener(this);
clip.clip.createEmptyMovieClip("con", 0);
clip.clip.con.attachBitmap(fireB, 0);
clip.clip.con._x = (-fire.w) / 2;
clip.clip.con._y = (-fire.h) / 2;
fireFrame = fire.render(fireB, random(fire.__get__totalFrames()), 0);
flameTime = 400;
burning = true;
ct.addOb(this);
broadcastMessage("playSound", s1);
broadcastMessage("playSound", s2);
delete clip.onRelease;
}
function setActive(b) {
active = b;
}
function spriteLit() {
clickWorth = ((clickWorth == 5) ? 2 : (((clickWorth == 2) ? 1 : 0)));
}
function remove() {
ct.removeOb(this);
clip.clip.gotoAndStop("dead");
clip.clip.con.removeMovieClip();
ct.clip.refTree.tree.gotoAndStop("dead");
ct.clip.refTree.tree.con.removeMovieClip();
clip.remove = function () {
this.broadcastMessage(this.removeListener(this));
removeMovieClip(this);
};
_listeners[0].addListener(clip);
clip.addListener(_listeners[0]);
broadcastMessage("removeSprite", this);
}
var tree = true;
var burning = false;
var worth = 0;
var clickWorth = 5;
var active = false;
}
Symbol 334 MovieClip [__Packages.Man] Frame 0
class Man extends Sprite
{
var dep, clip, tileMap, fire, vel, dir, x, y, ip, ct, w, h, xw, yw, s1, s2, s3, s4, broadcastMessage, flameTime, fireN, fireFrame, fireB, spd, __set___x, __set___y, __get__speed;
function Man (tMap, timeLine, px, py, n, walkSpeed, fireEffect, igniteSound, flameSound, fallSound, splashSound, yellSound) {
super();
var _local5 = ChainOfFire.STAGE_W;
var _local6 = ChainOfFire.STAGE_H;
while (!tMap.getT_S(px, py).__get__walkable()) {
px = random(_local5);
py = random(_local6);
}
dep = (n + ChainOfFire.MAX_TILES_PER_Y) + 1;
clip = timeLine.attachMovie("Man", "Man" + n, (ChainOfFire.SPRITE_MIN_DEPTH + dep) + (py * ChainOfFire.DEPTHS_PER_Y));
tileMap = tMap;
fire = fireEffect;
vel = new flash.geom.Point();
vel.x = 1 - (Math.random() * 2);
vel.y = 1 - (Math.random() * 2);
dir = ((vel.x < 0) ? -1 : 1);
speed = (walkSpeed);
clip._xscale = dir * 100;
x = (px ? (px) : 0);
y = (py ? (py) : 0);
ip = tileMap.getI_S(x, y);
ct = tileMap.getT_S(x, y);
w = 25;
h = 25;
xw = 12.5;
yw = 12.5;
render();
s1 = igniteSound;
s2 = flameSound;
s3 = fallSound;
s4 = splashSound;
}
function init() {
AsBroadcaster.initialize(clip);
clip.addListener(this);
clip.onRollOver = (clip.onDragOver = function () {
this.broadcastMessage("over");
});
clip.onRelease = (clip.onReleaseOutside = function () {
this.broadcastMessage("clicked");
});
clip.useHandCursor = false;
clip.clip.swapDepths(200);
}
function step(sl) {
if (dir) {
colMap(sl);
x = x + (vel.x * sl);
y = y + (vel.y * sl);
ip = tileMap.getI_S(x, y);
if (mouseFocus) {
broadcastMessage("mouseBusy", false);
mouseFocus = false;
}
} else {
clip.Arrow._rotation = Math.atan2(_ymouse - y, (clip._xscale / 100) * (_xmouse - x)) / (Math.PI/180);
}
if (burning) {
ct.removeOb(this);
ct = tileMap.getT_I(ip.y, ip.x);
if (((flameTime = flameTime - sl)) <= 0) {
if (!fireN) {
fireN = 1;
fireFrame = 0;
fireB = fire[fireN].getBitmap();
clip.clip.con._x = (-fireB.width) / 2;
clip.clip.con._y = (-fireB.height) / 2;
clip.clip.con.attachBitmap(fireB, 0);
dir = 0;
broadcastMessage("stopSound", s2);
broadcastMessage("playSound", s3);
} else if (fireFrame < 0) {
remove();
return(undefined);
}
}
fireFrame = fire[fireN].render(fireB, fireFrame, sl);
ct.addOb(this);
} else {
var _local3 = tileMap.getObs(x, y, xw, yw);
for (var _local4 in _local3) {
var _local2 = _local3[_local4];
if (_local2[0] == "tree") {
dir = ((vel.x < 0) ? -1 : 1);
ignite(_local2[1]);
broadcastMessage("spriteBurned", worth);
return(undefined);
}
if ((_local2[0] > (x - xw)) and (_local2[0] < (x + xw))) {
if ((_local2[1] > (y - yw)) and (_local2[1] < (y + yw))) {
dir = ((vel.x < 0) ? -1 : 1);
ignite(_local2[2]);
broadcastMessage("spriteBurned", worth);
return(undefined);
}
}
}
}
}
function ignite(w) {
worth = w;
clip.Arrow.removeMovieClip();
clip.clip.gotoAndStop("fire");
clip.clip.createEmptyMovieClip("con", 0);
fireN = 0;
fireB = fire[0].getBitmap();
clip.clip.con.attachBitmap(fireB, 0);
fireFrame = fire[0].render(fireB, random(fire[0].totalFrames), 1);
clip.clip.con._x = (-fire[0].w) / 2;
clip.clip.con._y = (-fire[0].h) / 2;
burning = true;
flameTime = 120;
speed = (spd * 2);
Mouse.removeListener(this);
delete clip.onRelease;
delete clip.onRollOver;
delete clip.onRollOut;
delete clip.onDragOut;
clip.enabled = false;
broadcastMessage("playSound", s1);
broadcastMessage("playSound", s2);
}
function over() {
dir = 0;
clip.clip.gotoAndStop("idle");
clip.onRollOut = function () {
this.broadcastMessage("unclick");
};
}
function clicked() {
dir = 0;
clip.clip.gotoAndStop("idle");
clip.attachMovie("Arrow", "Arrow", 100, {_y:-5});
Mouse.addListener(this);
delete clip.onRollOut;
delete clip.onDragOut;
delete clip.onDragOver;
delete clip.onRollOver;
delete clip.onReleaseOutside;
clip.onRelease = function () {
this.broadcastMessage("unclick");
};
broadcastMessage("mouseBusy", true);
mouseFocus = true;
}
function onMouseUp() {
Mouse.removeListener(this);
var _local3 = _xmouse - x;
var _local2 = _ymouse - y;
clip.Arrow.removeMovieClip();
if (((Math.abs(_local3) > xw) || (_local2 > 0)) || (_local2 < (-h))) {
vel.x = _local3;
vel.y = _local2;
dir = ((vel.x < 0) ? -1 : 1);
clip._xscale = dir * 100;
ignite(clickWorth);
broadcastMessage("spriteLit", clickWorth);
}
}
function unclick() {
dir = ((vel.x < 0) ? -1 : 1);
clip.clip.gotoAndPlay("walk");
clip.onRelease = (clip.onReleaseOutside = function () {
this.broadcastMessage("clicked");
});
clip.onRollOver = (clip.onDreagOver = function () {
this.broadcastMessage("over");
});
}
function spriteLit() {
clickWorth = ((clickWorth == 5) ? 2 : (((clickWorth == 2) ? 1 : 0)));
}
function render() {
__set___x(x);
__set___y(y);
clip.swapDepths((ChainOfFire.SPRITE_MIN_DEPTH + dep) + (Math.floor(y) * ChainOfFire.DEPTHS_PER_Y));
}
function colMap(sl) {
var _local4 = x + (vel.x * sl);
var _local3 = y + (vel.y * sl);
var _local2 = tileMap.getT_S(_local4, _local3);
var _local8 = _local2.j;
var _local6 = _local2.i;
var _local7 = ip.x;
var _local5 = ip.y;
if (!_local2.walkable) {
if (burning) {
if (_local2.water) {
flameTime = 0;
fireN = 2;
fireB = fire[fireN].getBitmap();
fireFrame = 0;
clip.clip.con._x = (-fireB.width) / 2;
clip.clip.con._y = (-fireB.height) / 2;
clip.clip.con.attachBitmap(fireB, 0);
dir = 0;
x = _local2.x;
y = _local2.y;
clip.attachMovie("splash", "splashClip", 100);
broadcastMessage("stopSound", s2);
broadcastMessage("playSound", s4);
return(undefined);
}
}
if ((_local8 != _local7) and (_local6 == _local5)) {
vel.x = vel.x * -1;
dir = ((vel.x < 0) ? -1 : 1);
clip._xscale = 100 * dir;
} else if ((_local8 == _local7) and (_local6 != _local5)) {
vel.y = vel.y * -1;
} else {
var _local10 = tileMap.getT_S(x, _local3).__get__walkable();
var _local9 = tileMap.getT_S(_local4, y).__get__walkable();
if (_local9) {
vel.y = vel.y * -1;
} else if (_local10) {
vel.x = vel.x * -1;
dir = ((vel.x < 0) ? -1 : 1);
clip._xscale = 100 * dir;
} else {
vel.x = vel.x * -1;
vel.y = vel.y * -1;
dir = ((vel.x < 0) ? -1 : 1);
clip._xscale = 100 * dir;
}
}
}
}
function pauseGame(s) {
if (s) {
if (!burning) {
clip.clip.stop();
}
clip.splashClip.stop();
clip.enabled = false;
} else {
if (!burning) {
clip.clip.play();
}
clip.splashClip.play();
clip.enabled = (burning ? false : true);
}
}
function set speed(s) {
spd = Math.abs((s ? (s) : 0));
vel.normalize(spd);
//return(__get__speed());
}
function remove() {
Mouse.removeListener(this);
ct.removeOb(this);
clip.removeMovieClip();
broadcastMessage("removeSprite", this, ((fireN == 2) ? "water" : ""));
}
var burning = false;
var cf = 0;
var clickWorth = 5;
var mouseFocus = false;
var worth = 0;
}
Symbol 335 MovieClip [__Packages.ExitWindow] Frame 0
class ExitWindow extends MovieClip
{
var ok, ca;
function ExitWindow () {
super();
AsBroadcaster.initialize(this);
ok.txt = "Exit Game";
ca.txt = "Go Back";
ok.onRelease = mx.utils.Delegate.create(this, okReleased);
ca.onRelease = mx.utils.Delegate.create(this, caReleased);
}
function okReleased() {
broadcastMessage("returnToTitle");
}
function caReleased() {
broadcastMessage("caReleased");
}
function addListener() {
}
function removeListener() {
}
function broadcastMessage() {
}
}
Symbol 17 MovieClip [fTitle_Fire] Frame 1
#initclip 48
Object.registerClass("fTitle_Fire", FlameClip);
#endinitclip
Symbol 27 MovieClip [fMenuButton] Frame 1
#initclip 33
Object.registerClass("fMenuButton", MenuButton);
#endinitclip
Symbol 34 MovieClip Frame 1
stop();
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.onReleaseOutside = function () {
this.gotoAndStop(1);
};
this.onRelease = function () {
getURL ("http://www.bubblebox.com/clickreg.php?type=gamestats&id=1257&subid=endScreen", "_blank");
};
Symbol 35 MovieClip [fEndScreen] Frame 1
#initclip 34
Object.registerClass("fEndScreen", EndScreen);
#endinitclip
stop();
Symbol 40 MovieClip [fTitleScreen] Frame 1
#initclip 35
Object.registerClass("fTitleScreen", TitleScreen);
#endinitclip
Symbol 49 MovieClip Frame 1
stop();
Symbol 52 MovieClip Frame 1
stop();
Symbol 52 MovieClip Frame 2
stop();
Symbol 54 MovieClip Frame 1
stop();
Symbol 62 MovieClip Frame 1
var r = (Math.random() * 200);
if (r > 199) {
gotoAndStop (5);
} else if (r > 198) {
gotoAndStop (4);
} else {
gotoAndStop(random(3) + 1);
}
Symbol 66 MovieClip Frame 1
gotoAndStop(random(3) + 1);
Symbol 68 MovieClip [Tiles] Frame 1
stop();
Symbol 85 MovieClip Frame 1
if (!c) {
c = this.shirt.transform.colorTransform;
c.blueMultiplier = Math.random();
c.greenMultiplier = Math.random();
c.redMultiplier = Math.random();
}
this.shirt.transform.colorTransform = c;
Symbol 85 MovieClip Frame 17
gotoAndPlay ("walk");
Symbol 85 MovieClip Frame 18
stop();
this.shirt.transform.colorTransform = c;
Symbol 85 MovieClip Frame 22
stop();
Symbol 85 MovieClip Frame 25
gotoAndStop ("run");
Symbol 113 MovieClip [fLevelScreen] Frame 1
#initclip 36
Object.registerClass("fLevelScreen", LevelScreen);
#endinitclip
Symbol 138 MovieClip [fScoreBoard] Frame 1
#initclip 37
Object.registerClass("fScoreBoard", ScoreBoard);
#endinitclip
Symbol 143 MovieClip [fPauseMenu] Frame 1
#initclip 38
Object.registerClass("fPauseMenu", PauseMenu);
#endinitclip
Symbol 149 MovieClip [fOptionsWindow] Frame 1
#initclip 39
Object.registerClass("fOptionsWindow", OptionsWindow);
#endinitclip
Symbol 156 MovieClip [fMenuTab] Frame 1
#initclip 40
Object.registerClass("fMenuTab", MenuButton);
#endinitclip
Symbol 162 MovieClip [fFireColorChoose] Frame 1
#initclip 41
Object.registerClass("fFireColorChoose", FireColorChoose);
#endinitclip
Symbol 169 MovieClip [ManFire] Frame 1
#initclip 42
Object.registerClass("ManFire", FlameClip);
#endinitclip
Symbol 175 MovieClip [fManRun] Frame 1
Fire.colors = colors;
Symbol 179 MovieClip [fManDie] Frame 1
Fire.colors = colors;
Symbol 179 MovieClip [fManDie] Frame 5
Fire.colors = colors;
Symbol 179 MovieClip [fManDie] Frame 9
Fire.colors = colors;
Symbol 182 MovieClip [fManSplash] Frame 1
Fire.colors = colors;
Symbol 182 MovieClip [fManSplash] Frame 4
Fire.colors = colors;
Symbol 182 MovieClip [fManSplash] Frame 7
Fire.colors = colors;
Symbol 189 MovieClip [TreeFire] Frame 1
#initclip 43
Object.registerClass("TreeFire", FlameClip);
#endinitclip
Symbol 190 MovieClip [fTreeFlame] Frame 1
stop();
Fire.colors = colors;
Symbol 197 MovieClip Frame 1
stop();
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.onReleaseOutside = function () {
this.gotoAndStop(1);
};
this.onRelease = function () {
getURL ("http://www.bubblebox.com/clickreg.php?type=gamestats&id=1257&subid=sendScoreWin", "_blank");
};
Symbol 201 MovieClip [fSendHighScoreWindow] Frame 1
#initclip 44
Object.registerClass("fSendHighScoreWindow", SendHighScoreWindow);
#endinitclip
function rhex(num) {
str = "";
j = 0;
while (j <= 3) {
str = str + (hex_chr.charAt(MathbitAND(num >> ((j * 8) + 4), 15)) + hex_chr.charAt(MathbitAND(num >> (j * 8), 15)));
j++;
}
return(str);
}
function str2blks_MD5(str) {
nblk = ((str.length + 8) >> 6) + 1;
blks = new Array(nblk * 16);
i = 0;
while (i < (nblk * 16)) {
blks[i] = 0;
i++;
}
i = 0;
while (i < str.length) {
blks[i >> 2] = blks[i >> 2] | (str.charCodeAt(i) << ((i % 4) * 8));
i++;
}
blks[i >> 2] = blks[i >> 2] | (128 << ((i % 4) * 8));
blks[(nblk * 16) - 2] = str.length * 8;
return(blks);
}
function addme(x, y) {
var _local1 = MathbitAND(x, 65535) + MathbitAND(y, 65535);
var _local2 = ((x >> 16) + (y >> 16)) + (_local1 >> 16);
return((_local2 << 16) | MathbitAND(_local1, 65535));
}
function rol(num, cnt) {
return((num << cnt) | (num >>> (32 - cnt)));
}
function cmn(q, a, b, x, s, t) {
return(addme(rol(addme(addme(a, q), addme(x, t)), s), b));
}
function ff(a, b, c, d, x, s, t) {
return(cmn(MathbitAND(b, c) | MathbitAND(~b, d), a, b, x, s, t));
}
function gg(a, b, c, d, x, s, t) {
return(cmn(MathbitAND(b, d) | MathbitAND(c, ~d), a, b, x, s, t));
}
function hh(a, b, c, d, x, s, t) {
return(cmn((b ^ c) ^ d, a, b, x, s, t));
}
function ii(a, b, c, d, x, s, t) {
return(cmn(c ^ (b | (~d)), a, b, x, s, t));
}
MathbitAND = function (a, b) {
if ((a < 0) && (b < 0)) {
var _local3 = (a & 1) & (b & 1);
var _local4 = (a >>> 1) & (b >>> 1);
return((_local4 << 1) | _local3);
}
return(a & b);
};
var hex_chr = "0123456789abcdef";
String.prototype.MD5 = function () {
var _local2 = this;
x = str2blks_MD5(_local2);
a = 1732584193 /* 0x67452301 */;
b = -271733879;
c = -1732584194;
d = 271733878 /* 0x10325476 */;
i = 0;
while (i < x.length) {
olda = a;
oldb = b;
oldc = c;
oldd = d;
a = ff(a, b, c, d, x[i + 0], 7, -680876936);
d = ff(d, a, b, c, x[i + 1], 12, -389564586);
c = ff(c, d, a, b, x[i + 2], 17, 606105819);
b = ff(b, c, d, a, x[i + 3], 22, -1044525330);
a = ff(a, b, c, d, x[i + 4], 7, -176418897);
d = ff(d, a, b, c, x[i + 5], 12, 1200080426);
c = ff(c, d, a, b, x[i + 6], 17, -1473231341);
b = ff(b, c, d, a, x[i + 7], 22, -45705983);
a = ff(a, b, c, d, x[i + 8], 7, 1770035416);
d = ff(d, a, b, c, x[i + 9], 12, -1958414417);
c = ff(c, d, a, b, x[i + 10], 17, -42063);
b = ff(b, c, d, a, x[i + 11], 22, -1990404162);
a = ff(a, b, c, d, x[i + 12], 7, 1804603682);
d = ff(d, a, b, c, x[i + 13], 12, -40341101);
c = ff(c, d, a, b, x[i + 14], 17, -1502002290);
b = ff(b, c, d, a, x[i + 15], 22, 1236535329);
a = gg(a, b, c, d, x[i + 1], 5, -165796510);
d = gg(d, a, b, c, x[i + 6], 9, -1069501632);
c = gg(c, d, a, b, x[i + 11], 14, 643717713);
b = gg(b, c, d, a, x[i + 0], 20, -373897302);
a = gg(a, b, c, d, x[i + 5], 5, -701558691);
d = gg(d, a, b, c, x[i + 10], 9, 38016083);
c = gg(c, d, a, b, x[i + 15], 14, -660478335);
b = gg(b, c, d, a, x[i + 4], 20, -405537848);
a = gg(a, b, c, d, x[i + 9], 5, 568446438);
d = gg(d, a, b, c, x[i + 14], 9, -1019803690);
c = gg(c, d, a, b, x[i + 3], 14, -187363961);
b = gg(b, c, d, a, x[i + 8], 20, 1163531501);
a = gg(a, b, c, d, x[i + 13], 5, -1444681467);
d = gg(d, a, b, c, x[i + 2], 9, -51403784);
c = gg(c, d, a, b, x[i + 7], 14, 1735328473);
b = gg(b, c, d, a, x[i + 12], 20, -1926607734);
a = hh(a, b, c, d, x[i + 5], 4, -378558);
d = hh(d, a, b, c, x[i + 8], 11, -2022574463);
c = hh(c, d, a, b, x[i + 11], 16, 1839030562);
b = hh(b, c, d, a, x[i + 14], 23, -35309556);
a = hh(a, b, c, d, x[i + 1], 4, -1530992060);
d = hh(d, a, b, c, x[i + 4], 11, 1272893353);
c = hh(c, d, a, b, x[i + 7], 16, -155497632);
b = hh(b, c, d, a, x[i + 10], 23, -1094730640);
a = hh(a, b, c, d, x[i + 13], 4, 681279174);
d = hh(d, a, b, c, x[i + 0], 11, -358537222);
c = hh(c, d, a, b, x[i + 3], 16, -722521979);
b = hh(b, c, d, a, x[i + 6], 23, 76029189);
a = hh(a, b, c, d, x[i + 9], 4, -640364487);
d = hh(d, a, b, c, x[i + 12], 11, -421815835);
c = hh(c, d, a, b, x[i + 15], 16, 530742520);
b = hh(b, c, d, a, x[i + 2], 23, -995338651);
a = ii(a, b, c, d, x[i + 0], 6, -198630844);
d = ii(d, a, b, c, x[i + 7], 10, 1126891415);
c = ii(c, d, a, b, x[i + 14], 15, -1416354905);
b = ii(b, c, d, a, x[i + 5], 21, -57434055);
a = ii(a, b, c, d, x[i + 12], 6, 1700485571);
d = ii(d, a, b, c, x[i + 3], 10, -1894986606);
c = ii(c, d, a, b, x[i + 10], 15, -1051523);
b = ii(b, c, d, a, x[i + 1], 21, -2054922799);
a = ii(a, b, c, d, x[i + 8], 6, 1873313359);
d = ii(d, a, b, c, x[i + 15], 10, -30611744);
c = ii(c, d, a, b, x[i + 6], 15, -1560198380);
b = ii(b, c, d, a, x[i + 13], 21, 1309151649);
a = ii(a, b, c, d, x[i + 4], 6, -145523070);
d = ii(d, a, b, c, x[i + 11], 10, -1120210379);
c = ii(c, d, a, b, x[i + 2], 15, 718787259);
b = ii(b, c, d, a, x[i + 9], 21, -343485551);
a = addme(a, olda);
b = addme(b, oldb);
c = addme(c, oldc);
d = addme(d, oldd);
i = i + 16;
}
return(((rhex(a) + rhex(b)) + rhex(c)) + rhex(d));
};
stop();
Selection.setFocus("nm");
Symbol 201 MovieClip [fSendHighScoreWindow] Frame 7
stop();
Symbol 201 MovieClip [fSendHighScoreWindow] Frame 14
stop();
Symbol 201 MovieClip [fSendHighScoreWindow] Frame 21
stop();
Symbol 213 MovieClip [fInstructionsWindow] Frame 1
#initclip 45
Object.registerClass("fInstructionsWindow", InstructionsWindow);
#endinitclip
stop();
Symbol 225 MovieClip [fPlayWindow] Frame 1
#initclip 46
Object.registerClass("fPlayWindow", PlayWindow);
#endinitclip
Symbol 230 MovieClip [fExitWindow] Frame 1
#initclip 47
Object.registerClass("fExitWindow", ExitWindow);
#endinitclip
stop();
Symbol 235 MovieClip Frame 1
stop();
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
this.onReleaseOutside = function () {
this.gotoAndStop(1);
};
this.onRelease = function () {
_root.getURL("http://www.bubblebox.com/clickreg.php?type=gamestats&id=1257&subid=credits", "_blank");
};
Symbol 242 MovieClip Frame 1
stop();
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = (this.onReleaseOutside = function () {
this.gotoAndStop(1);
});
this.onRelease = function () {
_root.getURL("http://www.pixelduckgames.com", "_blank");
};
Symbol 243 MovieClip [fCreditsWindow] Frame 1
stop();
Symbol 284 MovieClip Frame 1
stop();
Symbol 284 MovieClip Frame 10
stop();
Symbol 286 MovieClip Frame 1
this._parent.stop();
this.link.onRelease = function () {
getURL ("http://www.bubblebox.com/clickreg.php?type=gamestats&id=1257&subid=splash", "_blank");
};
Symbol 286 MovieClip Frame 151
this._parent.stop();
this.link.onRelease = function () {
getURL ("http://www.bubblebox.com/clickreg.php?type=gamestats&id=XXXX&subid=splash", "_blank");
};
Symbol 286 MovieClip Frame 161
stop();
this._parent.play();
Symbol 290 MovieClip Frame 1
nF = function () {
nextFrame();
updateAfterEvent();
};
Play = setInterval(nF, 250);
stop();
Symbol 290 MovieClip Frame 19
stop();
clearInterval(Play);
nF = function () {
_parent._alpha = _parent._alpha - 20;
if (_parent._alpha <= -20) {
clearInterval(Play);
c.removeTextField();
w.removeTextField();
_parent.removeMovieClip();
_root.clear();
_root.play();
}
};
Play = setInterval(nF, 50);
Symbol 301 MovieClip Frame 1
nF = function () {
nextFrame();
updateAfterEvent();
};
Play = setInterval(nF, 125);
stop();
Symbol 301 MovieClip Frame 9
clearInterval(Play);
stop();
stop();
Symbol 302 MovieClip Frame 1
var w = (Stage.width / 2);
var h = (Stage.height / 2);
_x = w;
_y = h;
_root.stop();
lineStyle(1, 16512, 0);
moveTo(-w, -h);
beginFill(16512);
lineTo(w, -h);
lineTo(w, h);
lineTo(-w, h);
endFill();
createTextField("c", getNextHighestDepth(), -w, h - 18, 200, 20);
c.textColor = 16744512 /* 0xFF8040 */;
c.bold = true;
c.selectable = false;
var myformat = new TextFormat();
myformat.color = 16744512 /* 0xFF8040 */;
myformat.font = "Verdana";
myformat.size = 11;
c.text = "PixelDuck Games. (c)";
c.setTextFormat(myformat);
createTextField("d", getNextHighestDepth(), w, h - 18, 0, 20);
d.bold = true;
d.text = "www.pixelduckgames.com";
d.autoSize = "right";
d.setTextFormat(myformat);
if (_root.domain != "pixelduckgames.com") {
onPress = function () {
_root.getURL("http://www.pixelduckgames.com", "_blank");
};
}
Symbol 304 MovieClip Frame 1
domt.text = ((_root.domain.length > 0) ? (_root.domain) : "your hard drive");