Frame 1
fscommand ("showmenu", "false");
fscommand ("allowscale", "false");
_global.nick = nick;
_global.passw = passw;
_global.setlan = setlan;
_global.loader_gver = gver;
_global.loader_sver = sver;
_global.still_loading = true;
if (((_url.indexOf("warbears.com") == -1) and (_url.indexOf("warbears.net") == -1)) and (!suc)) {
_root.loader.swapDepths(1);
removeMovieClip(_root.loader);
removeMovieClip(_root);
}
Symbol 33 MovieClip Frame 1
status = "stop";
stop();
Symbol 33 MovieClip Frame 6
status = "smile";
stop();
Symbol 33 MovieClip Frame 11
status = "smile2";
stop();
Symbol 33 MovieClip Frame 16
status = "smile2";
stop();
Symbol 33 MovieClip Frame 26
status = "talk";
Symbol 33 MovieClip Frame 48
gotoAndPlay ("talk");
Symbol 53 MovieClip Frame 1
stop();
Symbol 53 MovieClip Frame 13
gotoAndPlay ("walk");
Symbol 56 MovieClip Frame 1
stop();
Symbol 56 MovieClip Frame 14
if (dostop != true) {
gotoAndPlay ("go");
} else {
delete dostop;
}
Symbol 60 MovieClip Frame 1
function doNext() {
delete this.onEnterFrame;
lstatus++;
this.createEmptyMovieClip("d" + lstatus, lstatus + 10);
this["d" + lstatus]._x = (this["d" + lstatus]._y = 777);
this["d" + lstatus]._visible = false;
switch (lstatus) {
case 1 :
this["d" + lstatus].loadMovie("fonts/small.01.swf");
fadeIn(fonts, 500);
this.onEnterFrame = this.preLoad;
break;
case 2 :
this["d" + lstatus].loadMovie("fonts/big.01.swf");
this.onEnterFrame = this.preLoad;
break;
case 3 :
this["d" + lstatus].loadMovie("fonts/jpsmall.01.swf");
this.onEnterFrame = this.preLoad;
break;
case 4 :
this["d" + lstatus].loadMovie("fonts/jpbig.01.swf");
this.onEnterFrame = this.preLoad;
break;
case 5 :
this["d" + lstatus].loadMovie(sfile);
fadeOut(fonts, 500);
fadeIn(note, 500);
this.onEnterFrame = this.preLoad;
break;
case 6 :
this["d" + lstatus].loadMovie(gfile);
fadeOut(note, 500);
fadeIn(eye, 500);
this.onEnterFrame = this.preLoad;
break;
case 7 :
fadeOut(eye, 500);
play();
}
}
function preLoad() {
if (this["d" + lstatus].getBytesLoaded() > 100) {
var _local2 = Math.ceil((this["d" + lstatus].getBytesLoaded() / this["d" + lstatus].getBytesTotal()) * 100);
panel.loadbar._xscale = _local2;
_local2 = _local2 / 100;
var _local4 = 94;
var _local6 = -194;
var _local3 = -27;
var _local5 = 63;
bear._x = _local4 + (_local6 * ((_local2 * ab[lstatus - 1]) + ai[lstatus - 1]));
bear._y = _local3 + (_local5 * ((_local2 * ab[lstatus - 1]) + ai[lstatus - 1]));
if (_local2 == 1) {
doNext();
}
}
}
lstatus = 0;
panel.loadbar._xscale = 0;
var gfile = (("missions/wb3." + loader_gver) + ".swf");
var sfile = (("sound/w3a." + loader_sver) + ".swf");
var ab = new Array();
var ai = new Array();
ai[0] = 0;
ab[0] = 6645;
ab[1] = 8074;
ab[2] = 484625 /* 0x076511 */;
ab[3] = 574410 /* 0x08C3CA */;
ab[4] = 1268734 /* 0x135BFE */;
ab[5] = 1861643 /* 0x1C680B */;
var tabp = 0;
var i = 0;
while (i < ab.length) {
tabp = tabp + ab[i];
i++;
}
var i = 0;
while (i < ab.length) {
ab[i] = ab[i] / tabp;
i++;
}
var i = 1;
while (i < ab.length) {
ai[i] = ab[i - 1] + ai[i - 1];
i++;
}
eye._visible = (note._visible = (fonts._visible = false));
this.createEmptyMovieClip("lmusic", 777);
lmusic.loadMovie("sound/wtl.01.swf");
_global.fadeIn = function (obj, msec, func) {
obj._visible = true;
obj.fi_msec = msec;
obj.fi_func = func;
obj.fi_time = getTimer();
if (((obj.onEnterFrame != null) and (obj.onEnterFrame != fadeIn)) and (obj.onEnterFrame != fadeOut)) {
obj.bonEnterFrame = b.onEnterFrame;
}
obj.onEnterFrame = function () {
this._alpha = this._alpha + (((getTimer() - this.fi_time) / this.fi_msec) * 100);
this.fi_time = getTimer();
if (this._alpha >= 100) {
this._alpha = 100;
delete this.fi_msec;
delete this.fi_time;
if (this.fi_func) {
this.fi_func();
}
delete this.fi_func;
delete this.onEnterFrame;
if (this.bonEnterFrame != null) {
this.onEnterFrame = this.bonEnterFrame;
delete this.bonEnterFrame;
}
}
};
};
_global.fadeOut = function (obj, msec, func) {
obj.fi_msec = msec;
obj.fi_func = func;
obj.fi_time = getTimer();
if (((obj.onEnterFrame != null) and (obj.onEnterFrame != fadeIn)) and (obj.onEnterFrame != fadeOut)) {
obj.bonEnterFrame = b.onEnterFrame;
}
obj.onEnterFrame = function () {
this._alpha = this._alpha - (((getTimer() - this.fi_time) / this.fi_msec) * 100);
this.fi_time = getTimer();
if (this._alpha <= 0) {
this._visible = false;
delete this.fi_msec;
delete this.fi_time;
if (this.fi_func) {
this.fi_func();
}
delete this.fi_func;
delete this.onEnterFrame;
if (this.bonEnterFrame != null) {
this.onEnterFrame = this.bonEnterFrame;
delete this.bonEnterFrame;
}
}
};
};
Symbol 60 MovieClip Frame 2
status = 1;
Symbol 60 MovieClip Frame 3
bear.gotoAndPlay("walk");
mech.play();
Symbol 60 MovieClip Frame 16
stop();
doNext();
Symbol 60 MovieClip Frame 17
lmusic.fadeOut(2000);
Symbol 60 MovieClip Frame 24
_root.loaderGfx.onEnterFrame = function () {
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._visible = false;
delete this.onEnterFrame;
}
};
Symbol 60 MovieClip Frame 39
stop();
delete _global.still_loading;
_root.loadMovie(gfile);