Combined Code
frame 1 {
Stage.showMenu = false;
}
frame 1 {
function xPreload() {
nLoaded = this.getBytesLoaded();
if (nTotal <= nLoaded) {
this.gotoAndStop('cont');
delete this.onEnterFrame;
} else {
nParcentage = Math.round(100 * nLoaded / nTotal);
bar_mc._xscale = nParcentage;
parcentage_txt.text = nParcentage + ' %';
}
}
this.stop();
nParcentage = 0;
nTotal = this.getBytesTotal();
this.onEnterFrame = xPreload;
}
// unknown tag 88 length 26
movieClip 5 {
}
instance bar_mc of movieClip 5 {
onClipEvent (load) {
this._xscale = 0;
}
}
movieClip 7 {
frame 1 {
this._visible = false;
if (_root.initFlag != true) {
_root.initFlag = true;
_root.LC_recv = new LocalConnection();
_root.LC_send = new LocalConnection();
_global.spellCardPointList = new Array();
_global.niceShotPointList = new Array();
_global.nearMissPointList = new Array();
_global.partRoot = _root;
_global.asThis = {'bunkachouStartFrame': this.bunkachouStartFrame, 'bunkachouEndFrame': this.bunkachouEndFrame, 'bunkachouMinX': this.bunkachouMinX, 'bunkachouMaxX': this.bunkachouMaxX, 'bunkachouMinY': this.bunkachouMinY, 'bunkachouMaxY': this.bunkachouMaxY};
trace('[作å“å´] component ' + this.bunkachouStartFrame + ' - ' + this.bunkachouEndFrame);
_root.LC_recv.connect('mesopota03_mainContents');
this.stop();
_root.LC_recv.init = function () {
_root.LC_recv.playMovie = function (frame) {
trace('[LocalConnection]playMovie:' + frame);
_root.gotoAndPlay(frame);
};
_root.LC_recv.playBunkachoMovie = function () {
trace('文花帖モードEF始動');
_root.onEnterFrame = function () {
if (_root._currentframe >= asThis.bunkachouEndFrame) {
trace('文花帖モードEF終了');
_root.stop();
_root.onEnterFrame = null;
_root.LC_send.send('mesopota03_interface', 'movieEnd');
}
};
trace('[LocalConnection]playBunkachoMovie:' + asThis.bunkachouStartFrame);
_root.gotoAndPlay(asThis.bunkachouStartFrame);
};
_root.LC_recv.stopMovie = function () {
trace('[LocalConnection]stopMovie:');
_root.stop();
};
_root.LC_recv.snap = function () {
var v12 = new Array();
var v11 = new Array();
var v10 = new Array();
var v3 = new Object();
var v4 = 1;
i = 0;
while (i < _global.niceShotPointList.length) {
if (niceShotPointList[i] != null) {
v3 = niceShotPointList[i].getBounds(_root);
if (v3.xMax - v3.xMin > v3.yMax - v3.yMin) {
v4 = (v3.yMax - v3.yMin) / 58.8;
} else {
v4 = (v3.xMax - v3.xMin) / 58.8;
}
v12.push({'x': (v3.xMin + v3.xMax) / 2, 'y': (v3.yMin + v3.yMax) / 2, 'score': niceShotPointList[i].score, 'scale': v4, 'text': niceShotPointList[i].photoType});
}
++i;
}
i = 0;
while (i < _global.spellCardPointList.length) {
if (spellCardPointList[i] != null) {
v3 = spellCardPointList[i].getBounds(_root);
if (v3.xMax - v3.xMin > v3.yMax - v3.yMin) {
v4 = (v3.yMax - v3.yMin) / 58.8;
} else {
v4 = (v3.xMax - v3.xMin) / 58.8;
}
v11.push({'x': (v3.xMin + v3.xMax) / 2, 'y': (v3.yMin + v3.yMax) / 2, 'text': spellCardPointList[i].spellName, 'score': spellCardPointList[i].score, 'scale': v4});
}
++i;
}
i = 0;
while (i < _global.nearMissPointList.length) {
if (nearMissPointList[i] != null) {
v3 = nearMissPointList[i].getBounds(_root);
if (v3.xMax - v3.xMin > v3.yMax - v3.yMin) {
v4 = (v3.yMax - v3.yMin) / 58.8;
} else {
v4 = (v3.xMax - v3.xMin) / 58.8;
}
v10.push({'x': (v3.xMin + v3.xMax) / 2, 'y': (v3.yMin + v3.yMax) / 2, 'scale': v4});
}
++i;
}
trace('[LocalConnection]bunkachoCalc: SPCount' + v12.length + ', ' + v11.length + ', ' + v10.length);
_root.LC_send.send('mesopota03_interface', 'receiveScorePoints', v12, v11, v10);
};
_root.LC_recv.disconnectFlash = function () {
trace('[LocalConnection]disconnectFlash:');
_root.LC_recv.close();
stopAllSounds();
_root.stop();
};
var initEFCount = 0;
trace('INIT返信EF始動');
_root.onEnterFrame = function () {
trace('[作å“å´] send (receiveInitReply)' + asThis.bunkachouStartFrame + ' - ' + asThis.bunkachouEndFrame);
_root.LC_send.send('mesopota03_interface', 'receiveInitReply', {'bunkachouStartFrame': asThis.bunkachouStartFrame, 'bunkachouEndFrame': asThis.bunkachouEndFrame, 'bunkachouMinX': asThis.bunkachouMinX, 'bunkachouMaxX': asThis.bunkachouMaxX, 'bunkachouMinY': asThis.bunkachouMinY, 'bunkachouMaxY': asThis.bunkachouMaxY});
++initEFCount;
if (initEFCount > 150) {
initEFCount = 0;
trace('INIT返信EF終了(send失敗)');
trace('通常å†ç”Ÿ 最終フレーム検知EF始動');
_root.onEnterFrame = function () {
if (_root._currentframe >= asThis.bunkachouEndFrame) {
_root.LC_send.send('mesopota03_interface', 'movieEnd');
trace('通常å†ç”Ÿ 最終フレーム検知EF終了');
_root.onEnterFrame = null;
}
};
trace('SWFå´ã€€é€ä¿¡å¤±æ•—');
}
};
_root.LC_send.onStatus = function (infoObject) {
switch (infoObject.level) {
case 'status':
trace('INIT返信EF終了(sendæˆåŠŸ)');
_root.onEnterFrame = null;
trace('通常å†ç”Ÿ 最終フレーム検知EF始動');
_root.onEnterFrame = function () {
if (_root._currentframe >= asThis.bunkachouEndFrame) {
_root.LC_send.send('mesopota03_interface', 'movieEnd');
trace('通常å†ç”Ÿ 最終フレーム検知EF終了');
_root.onEnterFrame = null;
}
};
_root.LC_send.onStatus = null;
break;
case 'error':
}
};
trace('[作å“å´] init完了');
};
_root.LC_recv.playMovie = function (frame) {};
_root.LC_recv.stopMovie = function () {};
_root.LC_recv.playBunkachoMovie = function (frame, endFrame) {};
_root.LC_recv.bunkachoCalcNiceShot = function (rx, ry, rw, rh) {};
_root.LC_recv.disconnectFlash = function () {};
_root.onUnload = function () {
trace('[UNLOAD]');
_root.stop();
_root.stopAllSounds();
_root.LC_recv.close();
};
} else {}
_root.stopAllClip = function (mc) {
for (i in mc) {
if (mc[i] instanceof MovieClip) {
trace('(stop) ' + mc.toString);
mc[i].stop();
stopAllClip(mc[i]);
}
}
};
}
}
instance of movieClip 7 {
onClipEvent (construct) {
bunkachouStartFrame = 2;
bunkachouEndFrame = 878;
bunkachouMinX = 0;
bunkachouMaxX = 480;
bunkachouMinY = 60;
bunkachouMaxY = 360;
}
}
movieClip 13 {
}
// unknown tag 88 length 153
movieClip 16 {
}
button 18 {
on (release) {
play();
}
}
movieClip 19 {
}
// unknown tag 88 length 27
movieClip 29 {
frame 45 {
stop();
}
}
movieClip 34 {
frame 66 {
stop();
}
}
movieClip 41 {
frame 121 {
stop();
}
}
movieClip 42 {
}
frame 303 {
stop();
}
movieClip 88 {
}
movieClip 89 {
frame 228 {
this._parent.gotoAndPlay('next3', 9);
}
}
// unknown tag 88 length 53
button 94 {
on (release) {
gotoAndStop(518);
}
}
button 97 {
on (release) {
gotoAndStop(675);
}
}
frame 305 {
stop();
}
frame 311 {
gotoAndPlay(320);
}
frame 320 {
stop();
}
movieClip 107 {
frame 8 {
gotoAndPlay(1);
}
}
// unknown tag 88 length 27
// unknown tag 88 length 27
movieClip 126 {
}
movieClip 134 {
}
movieClip 141 {
}
movieClip 153 {
frame 1 {
_global.niceShotPointList.push(this);
this._visible = false;
trace('[NiceShot] ADDED');
asThis = this;
this.onUnload = function () {
var v2 = 0;
while (v2 < _global.niceShotPointList.length) {
if (_global.niceShotPointList[v2] == asThis) {
_global.niceShotPointList.splice(v2, 1);
}
++v2;
}
trace('[NiceShot] REMOVED');
};
}
}
// unknown tag 88 length 68
movieClip 170 {
}
// unknown tag 88 length 26
// unknown tag 88 length 26
movieClip 178 {
}
movieClip 181 {
instance of movieClip 153 {
onClipEvent (construct) {
score = 1.2;
photoType = 'Nice Shot';
}
}
frame 488 {
this._parent.gotoAndPlay('next5', 9);
}
}
frame 322 {
stop();
}
frame 328 {
gotoAndPlay(354);
}
frame 354 {
stop();
}
movieClip 186 {
}
movieClip 194 {
}
movieClip 201 {
}
movieClip 205 {
}
movieClip 213 {
}
// unknown tag 88 length 79
movieClip 217 {
}
// unknown tag 88 length 26
movieClip 222 {
}
movieClip 223 {
instance of movieClip 153 {
onClipEvent (construct) {
score = 1.2;
photoType = 'Nice Shot';
}
}
frame 551 {
this._parent.gotoAndPlay('next6', 9);
}
}
frame 355 {
stop();
}
frame 362 {
gotoAndPlay(388);
}
frame 388 {
stop();
}
movieClip 246 {
}
movieClip 251 {
}
movieClip 255 {
}
movieClip 260 {
}
movieClip 264 {
}
movieClip 272 {
}
movieClip 277 {
}
movieClip 282 {
}
movieClip 289 {
}
movieClip 295 {
instance of movieClip 153 {
onClipEvent (construct) {
score = 2;
photoType = 'Nice Shot';
}
}
instance of movieClip 153 {
onClipEvent (construct) {
score = 2;
photoType = 'Nice Shot';
}
}
instance of movieClip 153 {
onClipEvent (construct) {
score = 2;
photoType = 'Nice Shot';
}
}
frame 814 {
this._parent.gotoAndPlay('next7', 9);
}
}
frame 396 {
gotoAndPlay(420);
}
frame 420 {
stop();
}
// unknown tag 88 length 60
movieClip 301 {
}
movieClip 305 {
}
movieClip 309 {
}
movieClip 312 {
}
movieClip 315 {
}
movieClip 318 {
}
movieClip 321 {
}
movieClip 324 {
}
movieClip 327 {
}
movieClip 330 {
}
movieClip 333 {
}
movieClip 336 {
}
movieClip 339 {
}
movieClip 344 {
}
movieClip 349 {
}
movieClip 353 {
frame 14 {
gotoAndPlay(1);
}
}
movieClip 357 {
}
movieClip 360 {
}
movieClip 363 {
}
movieClip 366 {
}
movieClip 371 {
}
movieClip 374 {
frame 23 {
gotoAndPlay(1);
}
}
movieClip 378 {
}
movieClip 379 {
instance of movieClip 153 {
onClipEvent (construct) {
score = 1.2;
photoType = 'Nice Shot';
}
}
frame 745 {
this._parent.gotoAndPlay('next8', 9);
}
}
frame 428 {
gotoAndPlay(452);
}
frame 452 {
stop();
}
movieClip 393 {
}
movieClip 402 {
}
movieClip 406 {
}
movieClip 409 {
}
movieClip 412 {
}
movieClip 415 {
}
movieClip 418 {
}
movieClip 421 {
}
movieClip 424 {
}
movieClip 427 {
}
movieClip 430 {
}
movieClip 433 {
}
movieClip 436 {
}
movieClip 439 {
}
movieClip 442 {
}
movieClip 445 {
}
movieClip 448 {
}
movieClip 452 {
}
movieClip 455 {
frame 1 {
_global.nearMissPointList.push(this);
this._visible = false;
trace('[NearMiss] ADDED');
asThis = this;
this.onUnload = function () {
var v2 = 0;
while (v2 < _global.nearMissPointList.length) {
if (_global.nearMissPointList[v2] == asThis) {
_global.nearMissPointList.splice(v2, 1);
}
++v2;
}
trace('[NearMiss] REMOVED');
};
}
}
movieClip 458 {
frame 1 {
_global.spellCardPointList.push(this);
this._visible = false;
trace('[SpellCard] ADDED');
asThis = this;
this.onUnload = function () {
var v2 = 0;
while (v2 < _global.spellCardPointList.length) {
if (_global.spellCardPointList[v2] == asThis) {
_global.spellCardPointList.splice(v2, 1);
}
++v2;
}
trace('[SpellCard] REMOVED');
};
}
}
movieClip 462 {
}
movieClip 469 {
}
movieClip 482 {
}
movieClip 485 {
}
movieClip 488 {
}
movieClip 491 {
}
movieClip 494 {
}
movieClip 497 {
}
movieClip 500 {
}
movieClip 503 {
}
movieClip 506 {
}
movieClip 509 {
}
movieClip 512 {
}
movieClip 515 {
}
movieClip 527 {
}
movieClip 540 {
}
movieClip 543 {
}
movieClip 546 {
}
movieClip 549 {
}
movieClip 552 {
}
// unknown tag 88 length 53
movieClip 598 {
}
movieClip 601 {
}
movieClip 604 {
}
movieClip 607 {
}
movieClip 610 {
}
movieClip 613 {
}
movieClip 616 {
}
movieClip 619 {
}
movieClip 622 {
}
movieClip 625 {
}
movieClip 628 {
}
movieClip 631 {
}
movieClip 634 {
}
movieClip 637 {
}
movieClip 710 {
instance of movieClip 455 {
onClipEvent (construct) {
note = '';
}
}
instance of movieClip 458 {
onClipEvent (construct) {
spellName = '耳符「ãƒã‚³ãƒ‘ãƒã‚§ã€';
score = 1.2;
}
}
instance of movieClip 455 {
onClipEvent (construct) {
note = '';
}
}
instance of movieClip 458 {
onClipEvent (construct) {
spellName = '耳符「ãƒã‚³ãƒ‘ãƒã‚§ã€';
score = 1.2;
}
}
instance of movieClip 455 {
onClipEvent (construct) {
note = '';
}
}
instance of movieClip 153 {
onClipEvent (construct) {
score = 1.4;
photoType = 'kedama Shot';
}
}
frame 726 {
this._parent.gotoAndPlay('next9', 9);
}
}
frame 460 {
gotoAndPlay(485);
}
frame 485 {
stop();
}
movieClip 718 {
}
movieClip 722 {
}
movieClip 725 {
}
movieClip 728 {
}
movieClip 731 {
}
movieClip 734 {
}
movieClip 737 {
}
movieClip 744 {
}
movieClip 878 {
}
movieClip 881 {
}
movieClip 884 {
}
movieClip 887 {
}
movieClip 890 {
}
movieClip 893 {
}
movieClip 896 {
}
movieClip 899 {
}
movieClip 902 {
}
movieClip 917 {
frame 8 {
gotoAndPlay(1);
}
}
movieClip 921 {
}
movieClip 924 {
}
movieClip 927 {
}
movieClip 930 {
}
movieClip 933 {
}
movieClip 936 {
}
movieClip 939 {
}
movieClip 942 {
}
movieClip 945 {
}
movieClip 948 {
}
movieClip 951 {
}
movieClip 955 {
}
movieClip 958 {
}
movieClip 961 {
}
movieClip 964 {
}
movieClip 967 {
}
movieClip 970 {
}
movieClip 973 {
}
movieClip 976 {
}
movieClip 979 {
}
movieClip 989 {
}
movieClip 998 {
}
movieClip 1001 {
frame 24 {
stop();
}
}
// unknown tag 88 length 57
movieClip 1004 {
instance of movieClip 153 {
onClipEvent (construct) {
score = 1.5;
photoType = 'Nice Shot';
}
}
instance of movieClip 153 {
onClipEvent (construct) {
score = 2.3;
photoType = 'a Shot';
}
}
frame 903 {
this._parent.gotoAndPlay('next10', 9);
}
}
frame 493 {
gotoAndPlay(518);
}
frame 518 {
stop();
}
// unknown tag 88 length 68
movieClip 1015 {
}
movieClip 1018 {
}
movieClip 1021 {
}
movieClip 1024 {
}
movieClip 1027 {
}
movieClip 1030 {
}
movieClip 1033 {
}
movieClip 1036 {
}
movieClip 1039 {
}
movieClip 1042 {
}
movieClip 1045 {
}
movieClip 1050 {
}
movieClip 1058 {
}
movieClip 1064 {
}
movieClip 1072 {
}
movieClip 1081 {
}
movieClip 1090 {
}
movieClip 1094 {
}
movieClip 1101 {
}
movieClip 1126 {
}
movieClip 1134 {
}
movieClip 1144 {
}
movieClip 1147 {
}
movieClip 1150 {
}
movieClip 1153 {
}
movieClip 1156 {
}
movieClip 1159 {
}
movieClip 1184 {
}
movieClip 1187 {
}
movieClip 1190 {
}
movieClip 1193 {
}
movieClip 1196 {
}
movieClip 1199 {
}
movieClip 1202 {
}
movieClip 1205 {
}
movieClip 1208 {
}
movieClip 1242 {
}
movieClip 1245 {
}
movieClip 1248 {
}
movieClip 1251 {
}
movieClip 1420 {
instance of movieClip 153 {
onClipEvent (construct) {
score = 1.2;
photoType = 'Nice Shot';
}
}
instance of movieClip 153 {
onClipEvent (construct) {
score = 1.2;
photoType = 'Nice Shot';
}
}
instance of movieClip 153 {
onClipEvent (construct) {
score = 1.6;
photoType = 'redeye Shot';
}
}
instance of movieClip 153 {
onClipEvent (construct) {
score = 1.4;
photoType = 'tarai Shot';
}
}
frame 1414 {
this._parent.gotoAndPlay('next11', 9);
}
}
button 1422 {
on (release) {
gotoAndPlay(303);
}
}
frame 520 {
stop();
}
frame 526 {
gotoAndPlay(551);
}
frame 551 {
stop();
}
movieClip 1426 {
}
movieClip 1430 {
}
movieClip 1433 {
}
movieClip 1439 {
}
movieClip 1454 {
}
movieClip 1460 {
}
movieClip 1465 {
}
movieClip 1469 {
}
movieClip 1473 {
}
movieClip 1488 {
}
movieClip 1491 {
}
movieClip 1494 {
}
movieClip 1497 {
}
movieClip 1500 {
}
movieClip 1503 {
}
movieClip 1508 {
}
movieClip 1514 {
}
movieClip 1517 {
}
movieClip 1520 {
}
movieClip 1523 {
}
movieClip 1526 {
}
movieClip 1529 {
}
movieClip 1532 {
}
movieClip 1535 {
}
movieClip 1538 {
}
movieClip 1541 {
}
movieClip 1544 {
}
movieClip 1547 {
}
movieClip 1549 {
instance of movieClip 153 {
onClipEvent (construct) {
score = 1.2;
photoType = 'Nice Shot';
}
}
instance of movieClip 153 {
onClipEvent (construct) {
score = 1.2;
photoType = 'Nice Shot';
}
}
frame 1657 {
this._parent.gotoAndPlay('next12', 9);
}