Combined Code
movieClip 19998 LOADER {
frame 1 {
var _GUI_LOADERMSG_WIDTH = 110;
var _GUI_LOADERMSG_HEIGHT = 24;
this.createTextField('lblLoaderMsg', 0, 0, 0, Stage.width, Stage.height);
this.lblLoaderMsg.selectable = false;
var text_format = new TextFormat();
text_format.align = 'center';
text_format.font = '_sans';
text_format.size = 32;
text_format.color = 16777215;
this.lblLoaderMsg.setNewTextFormat(text_format);
this.lblLoaderMsg.text = '';
testmode = false;
if (_url.indexOf('file://') != -1) {
testmode = true;
}
total = _root.getBytesTotal();
if (testmode) {
total = 1000000;
}
}
frame 2 {
if (!testmode) {
loaded = _root.getBytesLoaded();
} else {
loaded += 8888;
if (loaded >= total) {
loaded = 0;
}
}
sindo = int((loaded / total) * 100);
this.lblLoaderMsg.text = '\n\n\n\nPhantom Dog comes here.\nPlease have a seat and wait.\n\n\n\nNow Loading...\n\n' + int(loaded / 1000) + 'KB / ' + int(total / 1000) + 'KB (' + sindo + '%)';
}
frame 3 {
gotoAndPlay('refresh_loop');
}
}
movieClip 80 FSTEP1 {
}
movieClip 82 FSTEP2 {
}
movieClip 84 FSTEP3 {
}
movieClip 86 FFINISH {
frame 1245 {
}
frame 1246 {
_root.play();
}
frame 1247 {
stop();
}
}
movieClip 88 STEP1 {
}
movieClip 90 STEP2 {
}
movieClip 92 STEP3 {
}
movieClip 94 BFINISH {
frame 963 {
_root.play();
}
frame 964 {
stop();
}
}
movieClip 96 BSTEP1 {
}
movieClip 98 BSTEP2 {
}
movieClip 100 BSTEP3 {
}
movieClip 102 FINISH {
frame 952 {
_root.play();
}
frame 953 {
stop();
}
}
frame 2 {
}
frame 3 {
}
frame 4 {
}
frame 5 {
}
frame 6 {
}
frame 7 {
stopAllSounds();
}
frame 7 {
var flgPart = false;
}
button 20000 {
on (release) {
flgPart = true;
gotoAndPlay('PLAY_FSTEP1_WITH_CLEAR');
}
on () {
}
}
button 20001 {
on (release) {
flgPart = true;
gotoAndPlay('PLAY_STEP1_WITH_CLEAR');
}
on () {
}
}
button 20002 {
on (release) {
flgPart = true;
gotoAndPlay('PLAY_BSTEP1_WITH_CLEAR');
}
on () {
}
}
frame 8 {
stop();
}
frame 9 {
}
frame 12 {
stop();
}
frame 13 {
}
frame 17 {
stop();
}
frame 18 {
}
frame 22 {
stop();
}
frame 23 {
}
frame 25 {
stop();
}
frame 26 {
}
frame 27 {
if (flgPart) {
flgPart = false;
gotoAndPlay('EXIT_PLAY');
}
}
frame 28 {
}
frame 29 {
gotoAndPlay('PLAY_STEP1');
}
frame 30 {
}
frame 33 {
stop();
}
frame 34 {
}
frame 38 {
stop();
}
frame 39 {
}
frame 43 {
stop();
}
frame 44 {
}
frame 46 {
stop();
}
frame 47 {
}
frame 48 {
if (flgPart) {
flgPart = false;
gotoAndPlay('EXIT_PLAY');
}
}
frame 49 {
}
frame 50 {
gotoAndPlay('PLAY_BSTEP1');
}
frame 51 {
}
frame 54 {
stop();
}
frame 55 {
}
frame 59 {
stop();
}
frame 60 {
}
frame 64 {
stop();
}
frame 65 {
}
frame 67 {
stop();
}
frame 68 {
}
frame 69 {
if (flgPart) {
flgPart = false;
gotoAndPlay('EXIT_PLAY');
}
}
frame 70 {
}
frame 71 {
}
frame 72 {
gotoAndPlay(7);
}