Frame 1
function setBalloonText(mother) {
var _local1 = ++this.nDepth;
var _local3 = {oPath:mother};
var _local2 = this.mItemTextStage.attachMovie("mItemText", "mItemText" + _local1, _local1, _local3);
return(_local2);
}
function deleteBalloonText() {
var _local1 = this;
for (var _local2 in _local1.mItemTextStage) {
_local1.mItemTextStage[_local2].removeMovieClip();
}
}
this.stagewidth = 1024;
this.stageheight = 400;
_global.barMargin = 0;
Stage.scaleMode = "noScale";
Stage.align = "TL";
System.useCodepage = true;
this._quality = "LOW";
_global.stageListener = new Object();
_global.stageListener.aObject = new Array();
_global.stageListener.subscribe = function (path) {
this.aObject.push(path);
this.onResize();
};
_global.stageListener.onResize = function () {
var _local2 = this;
_local2.nBaseX = 0;
_local2.nBaseY = Math.floor(((Math.max(Stage.height, 692) - 400) / 2) + 400);
var _local1 = 0;
while (_local1 < _local2.aObject.length) {
_local2.aObject[_local1].toResize(_local2.nBaseX, _local2.nBaseY);
_local1++;
}
};
Stage.addListener(_global.stageListener);
this.bOpening = true;
this.bEnding = false;
Frame 10
this.stop();
var o = ((this.mSlider = new Object()));
o._x = 0;
o.nXSpeed = 0;
o.nOldX = o._x;
o.nX = 0;
o.__x = o._x;
o.setX = function (n) {
var _local1 = this;
_local1.__x = n;
_local1._x = _local1.__x;
};
o.bitLeft = function () {
var _local1 = this;
_local1._x = _local1._x - 0.025;
if (_local1._x < _global.barMargin) {
_local1._x = _global.barMargin;
}
};
o.bitLeft2 = function () {
var _local1 = this;
if (!_root.mHelp._visible) {
_local1._x = _local1._x - 0.0025;
if (_local1._x < _global.barMargin) {
_local1._x = _global.barMargin;
}
}
};
o.toResize = function (x, y) {
this._y = y + 42;
};
_global.stageListener.subscribe(o);
o.getIndex = function () {
return(1 - ((this._x - _global.barMargin) / (Stage.width - (_global.barMargin * 2))));
};
o.setIndex = function (n) {
this._x = ((1 - n) * (Stage.width - (_global.barMargin * 2))) + _global.barMargin;
};
o.stopDrag = function () {
};
this.BGM = new Sound(this);
this.BGM.onLoad = function (success) {
if (success) {
this.start(1, 999);
}
};
this.BGM.loadSound("bgm.mp3", false);
Symbol 2 MovieClip [mArea] Frame 1
#initclip 10
Object.registerClass("mArea", mc.Area);
#endinitclip
Symbol 133 MovieClip [mScaleText] Frame 1
if (this.nScaleId != undefined) {
this.gotoAndStop(43 - this.nScaleId);
}
Symbol 336 MovieClip Frame 1
this.gotoAndStop(this._parent.oPath.id);
Symbol 342 MovieClip [mItemText] Frame 1
function setText() {
var _local1 = this;
var _local2 = ("<B>" + _local1.oPath.name) + "</B>";
if (_local1.oPath.subname != "") {
_local2 = _local2 + (" | " + _local1.oPath.subname);
}
trace("hogehoge" + _local1.oPath.subname);
trace(_local2);
var _local3 = _local1.oPath.scale;
_local1.tName.htmlText = _local2;
_local1.tSize.text = _local3;
if (_local1._parent._parent.mMouseCursor._visible) {
_local1._x = _local1._parent._parent.mMouseCursor._x - _local1._parent._x;
_local1._y = _local1._parent._parent.mMouseCursor._y - _local1._parent._y;
} else {
_local1._x = _local1._parent._xmouse;
_local1._y = _local1._parent._ymouse;
}
_local1.nCount = 0;
_local1.nStep = 2;
_local1.nDelay = Math.floor(_local1.sNameText.length / 2);
_local1.mBg.xspedd = 0;
_local1.mBg.yspeed = 0;
_local1.onEnterFrame = function () {
var _local1 = this;
if (_local1._parent.mHelp._visible) {
var _local3 = _local1._parent.mHelp._x - _local1._parent._x;
var _local2 = _local1._parent.mHelp._y - _local1._parent._y;
} else {
var _local3 = _local1._parent._xmouse;
var _local2 = _local1._parent._ymouse;
}
_local1._x = _local1._x + ((_local3 - _local1._x) / 2);
_local1._y = _local1._y + ((_local2 - _local1._y) / 2);
_local1.mBg._width = _local1.tName._width + 11;
_local1._x = Math.floor(_local1._x);
_local1._y = Math.floor(_local1._y);
};
_local1.onEnterFrame();
}
function setDetail() {
var _local1 = this;
_local1.bDetail = true;
_local1.nWait = 10;
_local1.nPT1Count = 0;
_local1.nPT2Count = 0;
_local1.onEnterFrame = function () {
var _local1 = this;
_local1.mBg._xscale = _local1.mBg._xscale + ((100 - _local1.mBg._xscale) / 3);
_local1._x = _local1._x + (((_local1._parent.mItemDetail._x - 309) - _local1._x) / 4);
_local1._y = _local1._y + (((_local1._parent.mItemDetail._y - 446) - _local1._y) / 3);
if ((--_local1.nWait) == 0) {
_local1.gotoAndPlay("open");
}
if (_local1.nWait < -20) {
_local1.pourText();
}
};
}
function removeText(bDelete) {
if (bDelete || (!this.bDetail)) {
this.removeMovieClip();
}
}
function pourText() {
var _local1 = this;
if (_local1.nPT1Count < _local1.oPath.desc.length) {
_global.mSound.gotoAndPlay("pourText");
_local1.nPT1Count = _local1.nPT1Count + 40;
_local1.tDescription.htmlText = _local1.oPath.desc.substr(0, _local1.nPT1Count) + "|";
if (_local1.nPT1Count >= _local1.oPath.desc.length) {
_local1.tDescription.htmlText = _local1.oPath.desc;
}
} else if (_local1.nPT2Count < _local1.oPath.guide.length) {
_global.mSound.gotoAndPlay("pourText2");
_local1.nPT2Count = _local1.nPT2Count + 4;
_local1.tDetail.text = _local1.oPath.guide.substr(0, _local1.nPT2Count) + "|";
if (_local1.nPT2Count >= _local1.oPath.guide.length) {
_local1.tDetail.text = _local1.oPath.guide;
}
}
}
this._parent = this._parent._parent;
this.tName.autoSize = "left";
this.tName.wordWrap = false;
this.tName.multiline = false;
this.tName.html = true;
this.setText();
this.stop();
Symbol 342 MovieClip [mItemText] Frame 21
Symbol 342 MovieClip [mItemText] Frame 31
Symbol 342 MovieClip [mItemText] Frame 34
this.stop();
Symbol 345 MovieClip [mBigButton] Frame 1
function View(b) {
if (b) {
this.gotoAndPlay("on");
} else {
this.gotoAndPlay("off");
}
}
this.onPress = function () {
this._parent.mBigItem.onPress();
};
this.onRollOver = (this.onDragOver = function () {
this._parent.mBigItem.onRollOver();
this.gotoAndPlay("over");
});
this.onRollOut = (this.onDragOut = function () {
this._parent.mBigItem.onRollOut();
});
this.tName.autoSize = "left";
this.tScale.autoSize = "left";
Symbol 345 MovieClip [mBigButton] Frame 29
this.stop();
Symbol 345 MovieClip [mBigButton] Frame 37
this.stop();
Symbol 345 MovieClip [mBigButton] Frame 48
this.stop();
Symbol 349 MovieClip [mSmallButton] Frame 1
function View(b) {
if (b) {
this.gotoAndPlay("on");
} else {
this.gotoAndPlay("off");
}
}
this.onPress = function () {
this._parent.mSmallItem.onPress();
};
this.onRollOver = (this.onDragOver = function () {
this._parent.mSmallItem.onRollOver();
this.gotoAndPlay("over");
});
this.onRollOut = (this.onDragOut = function () {
this._parent.mSmallItem.onRollOut();
});
this.tName.autoSize = "left";
this.tScale.autoSize = "left";
this.stop();
Symbol 349 MovieClip [mSmallButton] Frame 12
this.stop();
Symbol 349 MovieClip [mSmallButton] Frame 20
this.stop();
Symbol 349 MovieClip [mSmallButton] Frame 31
this.stop();
Symbol 356 MovieClip [mItemDescription] Frame 12
this.stop();
this.tTitle.text = this.sName;
this.tDescription.text = this.sDesc;
Symbol 365 MovieClip Frame 1
this.onEnterFrame = function () {
var _local1 = this;
if (!_local1._parent._parent.mHelp._visible) {
if (_local1._visible) {
var _local2 = Math.sqrt(((_local1._parent._xmouse - _local1.oldx) * (_local1._parent._xmouse - _local1.oldx)) + ((_local1._parent._ymouse - _local1.oldy) * (_local1._parent._ymouse - _local1.oldy)));
if (_local2 < 2) {
if (_local1.nCount == undefined) {
_local1.nCount = 0;
}
_local1.nCount++;
} else {
_local1.nCount = 0;
}
if (_local1.nCount > 40) {
_local1._alpha = (Math.min(50, _local1.nCount) - 40) * 10;
} else {
_local1._alpha = Math.max(0, _local1._alpha - 20);
}
_local1.oldx = (_local1._x = _local1._x + ((_local1._parent._xmouse - _local1._x) / 2));
_local1.oldy = (_local1._y = _local1._y + ((_local1._parent._ymouse - _local1._y) / 2));
} else {
_local1.nCount = 0;
}
}
};
Symbol 369 MovieClip Frame 1
function setDrum(n) {
var _local1 = this;
var _local2 = n;
_local1.drum0._y = _local1.drum0._y + (((Math.floor(_local2 / 100) * -14) - _local1.drum0._y) / 2);
_local1.drum1._y = _local1.drum1._y + (((Math.floor(_local2 / 10) * -14) - _local1.drum1._y) / 2);
_local1.drum2._y = _local1.drum2._y + ((((_local2 % 10) * -14) - _local1.drum2._y) / 2);
}
function View() {
var _local1 = this;
_local1._visible = true;
_local1.drum0._y = 0;
_local1.drum1._y = 0;
_local1.drum2._y = 0;
_local1._alpha = 200;
_local1.onEnterFrame = function () {
var _local1 = this;
var _local2 = _local1._parent.nProgress;
_local1.setDrum(Math.max(0, Math.min(100, _local2)));
if (_local2 >= 100) {
_local1._alpha = _local1._alpha - 10;
}
if (_local1._alpha <= 0) {
_local1._visible = false;
_local1._alpha = 100;
_local1.onEnterFrame = undefined;
}
};
}
this.View();
this.stop();
Symbol 371 MovieClip [mItemDetail] Frame 1
#initclip 7
Object.registerClass("mItemDetail", mc.ItemDetail);
#endinitclip
this.stop();
Symbol 371 MovieClip [mItemDetail] Frame 9
if (Math.abs(this._parent.mTheScale.nScrollSpeed) > 0.1) {
this.gotoAndPlay(this._currentframe - 1);
}
Symbol 371 MovieClip [mItemDetail] Frame 10
this.showItem();
this.stop();
Symbol 371 MovieClip [mItemDetail] Frame 16
this.stop();
Symbol 372 MovieClip [mTheScale] Frame 1
#initclip 8
Object.registerClass("mTheScale", mc.TheScale);
#endinitclip
Symbol 566 MovieClip [mItem] Frame 1
#initclip 9
Object.registerClass("mItem", mc.Item);
#endinitclip
Symbol 914 MovieClip [__Packages.core.KazshMovieClip] Frame 0
class core.KazshMovieClip extends MovieClip
{
var getURL;
function KazshMovieClip () {
super();
}
function openWindow(url, target, width, height) {
var _local3 = url;
if ((_local3 == undefined) || (_local3 == "")) {
return(false);
}
if ((width == undefined) || (width == "")) {
getURL(_local3, target);
} else {
var _local2 = width.toString().split(",");
var w = _local2[0];
var _local1 = _local2[1];
if ((_local1 == undefined) || (_local1 == "")) {
_local1 = height;
}
var op = ((("scrollbars=1,menubar=1,resizable=1,directories=1,toolbar=1,status=1,location=1,width=" + w) + ",height=") + _local1);
getURL((((((("javascript:void(mami=window.open('" + _local3) + "','") + target) + "','") + op) + "'))") + ";mami.focus()");
}
return(undefined);
}
}
Symbol 915 MovieClip [__Packages.mc.ItemDetail] Frame 0
class mc.ItemDetail extends core.KazshMovieClip
{
var mSmallItem, mBigItem;
function ItemDetail () {
super();
init();
}
function init() {
var _local1 = this;
_local1._visible = false;
_local1.mDammy._xscale = (_local1.mDammy._yscale = 10000);
_local1.mDammy.onPress = function () {
this._parent.deleteDetail();
};
_local1.mDammy.onRollOver = (_local1.mDammy.onDragOver = function () {
this._parent.mClickToBack._visible = true;
});
_local1.mDammy.onRollOut = (_local1.mDammy.onDragOut = function () {
this._parent.mClickToBack._visible = false;
});
_local1.mDammy.useHandCursor = false;
_global.stageListener.subscribe(_local1);
_local1.attachMovie("mBigButton", "mBig", 65535);
_local1.attachMovie("mSmallButton", "mSmall", 65546);
_local1.aBalance = [[33, 32], [61, 54], [60, 54], [72, 64], [73, 64], [68, 64], [73, 68], [76, 68], [82, 68], [77, 68], [78, 77], [46, 38], [59, 51], [66, 58], [65, 58], [64, 58], [62, 58], [63, 58], [72, 60], [73, 62], [73, 60], [67, 62], [67, 60], [69, 62], [69, 65], [77, 72], [69, 72], [75, 72], [70, 72], [77, 74], [79, 72], [82, 72], [41, 38], [65, 64], [68, 67], [32, 25], [40, 32], [38, 32], [47, 40], [48, 42], [54, 47], [53, 47], [56, 46], [56, 47], [55, 46], [55, 45], [58, 52], [57, 52], [71, 76], [93, 89], [91, 90], [74, 68], [74, 72]];
}
function toResize(x, y) {
var _local1 = this;
_local1._x = Stage.width / 2;
_local1._y = y;
_local1.updateBigSmall();
}
function deleteDetail() {
var _local1 = this;
_local1.mSmallItem.removeMovieClip();
_local1.mBigItem.removeMovieClip();
_local1._parent.mTheScale.panItem();
_global.mSound.gotoAndPlay("itemend");
}
function setDetail(path) {
var _local1 = this;
_local1.oPath.backToTheStage();
_local1.oPath = path;
_local1._y = _local1._parent.mTheScale._y;
_local1._x = Math.floor(Stage.width / 2);
if (path != undefined) {
_local1.gotoAndPlay("in");
_local1.nProgress = 0;
_local1._visible = true;
_local1.mBig.View(false);
_local1.mSmall.View(false);
_local1.mProgress.View();
} else {
_local1.gotoAndPlay("out");
_local1._visible = false;
_local1.mBig.View(false);
_local1.mSmall.View(false);
_local1._parent.deleteBalloonText();
}
}
function setSmallItem() {
var _local1 = this;
_local1.mSmallItem.removeMovieClip();
_local1.mBigItem.removeMovieClip();
_local1.nextTarget.onPress();
_global.mSound.gotoAndPlay("itempress");
}
function setBigItem() {
var _local1 = this;
_local1.mSmallItem.removeMovieClip();
_local1.mBigItem.removeMovieClip();
_local1.bigItem.onPress();
_global.mSound.gotoAndPlay("itempress");
}
function showItem() {
var _local1 = this;
_local1.mBig.View(true);
_local1.mSmall.View(true);
var mc = _local1.mBlank.createEmptyMovieClip("mBlank", 0);
mc.loadMovie("item/" + _local1.oPath.sImage);
_local1.mBlank.bLoaded = false;
_local1.mBlank.fadeColor = 255;
_local1.mBlank.onEnterFrame = function () {
var _local1 = this;
var _local3 = _local1.mBlank.getBytesLoaded();
var _local2 = _local1.mBlank.getBytesTotal();
_local1._parent.nProgress = (_local3 / _local2) * 100;
if ((_local1._parent.nProgress * 0) != 0) {
_local1._parent.nProgress = 0;
}
if ((((_local3 > 10) && (_local2 > 10)) && (_local3 >= _local2)) && (!_local1.bLoaded)) {
_local1.bLoaded = true;
_local1._parent.oPath.fadeOut();
_local1.myColor = new Color(_local1);
_local1.myColor.setTransform({rb:255, gb:255, bb:255});
}
if (_local1.bLoaded) {
_local1.fadeColor = _local1.fadeColor - 50;
_local1.myColor.setTransform({rb:_local1.fadeColor, gb:_local1.fadeColor, bb:_local1.fadeColor});
if (_local1.fadeColor <= 0) {
_local1.fadeColor = 0;
_local1.myColor.setTransform({rb:_local1.fadeColor, gb:_local1.fadeColor, bb:_local1.fadeColor});
delete _local1.onEnterFrame;
}
}
};
_global.mSound.gotoAndPlay("itemend");
_local1.createSmallItem();
_local1.createBigItem();
_local1.updateBigSmall();
}
function getNextTargetNumber(min, max) {
var _local3 = this;
var aTarget = [];
var nownumber = (_local3.oPath._name.substr(5) * 1);
var nowsize = _local3._parent.mTheScale.aItem[nownumber].size;
var s = (nowsize.split("_")[0] * Math.pow(10, nowsize.split("_")[1] * 1));
var min_s = (s * min);
var max_s = (s * max);
for (var n in _local3._parent.mTheScale.aItem) {
var _local2 = _local3._parent.mTheScale.aItem[n].size;
var _local1 = _local2.split("_")[0] * Math.pow(10, _local2.split("_")[1] * 1);
if ((_local1 >= min_s) && (_local1 <= max_s)) {
if (_local3.checkBalance(nownumber, n)) {
aTarget.push(n);
}
}
}
return(aTarget[Math.floor(Math.random() * aTarget.length)]);
}
function checkBalance(a, b) {
var _local2 = this;
var _local3 = b;
var _local1 = 0;
while (_local1 < _local2.aBalance.length) {
if ((_local2.aBalance[_local1][0] == a) && (_local2.aBalance[_local1][1] == _local3)) {
return(false);
}
_local1++;
}
return(true);
}
function createSmallItem() {
var _local1 = this;
var nextTargetNum = _local1.getNextTargetNumber(0.01, 0.25);
_local1.nextTarget = _local1._parent.mTheScale["mItem" + nextTargetNum];
if (_local1.nextTarget != undefined) {
var sd = (new util.Digit(nextTargetNum, 3)).__get__number();
var _local2 = _local1.attachMovie("item" + sd, "mSmallItem", 0);
var _local3 = _local1.nextTarget.nScaleK / _local1.oPath.nScaleK;
_local3 = _local3 * ((_local1._parent.mTheScale._xscale * _local1.oPath._xscale) / 100);
_local2._xscale = (_local2._yscale = _local3);
_local2.myColor = new Color(_local2);
_local2.myColor.setTransform({rb:170, gb:179, bb:161});
_local2.onPress = function () {
this._parent.setSmallItem();
};
_local2.onRollOver = (_local2.onDragOver = function () {
var _local1 = this;
_global.mSound.gotoAndPlay("itemover");
_local1.mBalloonText = _local1._parent._parent.setBalloonText(_local1._parent._parent.mTheScale.aItem[nextTargetNum]);
_local1._parent.nextTarget.registText(_local1.mBalloonText);
});
_local2.onRollOut = (_local2.onDragOut = function () {
this.mBalloonText.removeMovieClip();
});
} else {
_local1.mSmall.View(false);
}
}
function createBigItem() {
var _local1 = this;
var bigItemNum = _local1.getNextTargetNumber(2, 20);
_local1.bigItem = _local1._parent.mTheScale["mItem" + bigItemNum];
if (_local1.bigItem != undefined) {
var _local3 = (new util.Digit(bigItemNum, 3)).__get__number();
var _local2 = _local1.attachMovie("item" + _local3, "mBigItem", 1);
_local2._x = _local1.mBig._x;
_local2.myColor = new Color(_local2);
_local2.myColor.setTransform({rb:170, gb:179, bb:161});
_local1.mBig.tName.text = _local1.bigItem.sTitle;
_local1.mBig.tScale.text = _local1.bigItem.sScale;
_local2.onPress = function () {
this._parent.setBigItem();
};
_local2.onRollOver = (_local2.onDragOver = function () {
var _local1 = this;
_global.mSound.gotoAndPlay("itemover");
_local1.mBalloonText = _local1._parent._parent.setBalloonText(_local1._parent._parent.mTheScale.aItem[bigItemNum]);
_local1._parent.bigItem.registText(_local1.mBalloonText);
});
_local2.onRollOut = (_local2.onDragOut = function () {
this.mBalloonText.removeMovieClip();
});
_local1.nSmallX = _local2._x;
} else {
_local1.mBig.View(false);
_local1.nSmallX = undefined;
}
}
function updateBigSmall() {
var _local1 = this;
var w = (_local1.oPath._width * (_local1._parent.mTheScale._xscale / 100));
var _local2 = _local1.mSmallItem;
if (_local2 != undefined) {
_local1.mSmall._y = -40;
_local2._x = -402;
_local1.mSmall._x = -402;
_local1.tName._x = _local2._x - (_local1.tName._width / 2);
}
_local2 = _local1.mBigItem;
if (_local2 != undefined) {
var _local3 = _local1.bigItem.nScaleK / _local1.oPath.nScaleK;
_local3 = _local3 * ((_local1._parent.mTheScale._xscale * _local1.oPath._xscale) / 100);
_local2._xscale = (_local2._yscale = _local3);
if (_local2.mLargeGuide != undefined) {
_local2._x = (402 + (_local2._width / 2)) - ((_local2._width / 2) + ((_local2.mLargeGuide._x * _local3) / 100));
_local1.mBig._x = 402;
_local1.mBig._y = -40;
} else {
_local2._x = 402 + (_local2._width / 2);
_local1.tBigName._x = (_local2._x - (_local2._width / 2)) - 50;
_local1.mBig._x = 402;
_local1.mBig._y = -40;
}
_local1.nBigX = _local2._x;
} else {
_local1.nBigX = undefined;
}
_local1.mItemDescription._y = -334;
}
function getSmallPos() {
return(mSmallItem._x);
}
function getBigPos() {
return(mBigItem._x);
}
}
Symbol 916 MovieClip [__Packages.util.Digit] Frame 0
class util.Digit
{
var nNumber, sNumber;
function Digit (n, d) {
var _local2 = n;
var _local3 = d;
nNumber = _local2 * 1;
var _local1 = nNumber.toString();
if (_local3 == _local1.length) {
sNumber = _local1;
} else if (_local3 < _local1.length) {
sNumber = _local1.substr(-2);
} else if (_local3 > _local1.length) {
_local2 = _local1.length;
while (_local2 < _local3) {
_local1 = "0" + _local1;
_local2++;
}
sNumber = _local1;
}
}
function get number() {
return(sNumber);
}
}
Symbol 917 MovieClip [__Packages.mc.TheScale] Frame 0
class mc.TheScale extends core.KazshMovieClip
{
var aTani, mMainasuBg, bItemOver;
function TheScale () {
super();
var _local2 = "333344";
var _local1 = "334433";
var c3 = "334444";
var c4 = "443333";
var c5 = "443344";
var c6 = "444433";
var c7 = "444444";
var c8 = "333344";
var _local3 = "334433";
aTani = [[1000, "\u5104\u5149\u5E74", _local2], [100, "\u5104\u5149\u5E74", _local2], [10, "\u5104\u5149\u5E74", _local2], [1, "\u5104\u5149\u5E74", _local2], [1000, "\u4E07\u5149\u5E74", _local2], [100, "\u4E07\u5149\u5E74", _local2], [10, "\u4E07\u5149\u5E74", _local2], [1, "\u4E07\u5149\u5E74", _local2], [1000, "\u5149\u5E74", _local2], [100, "\u5149\u5E74", _local2], [10, "\u5149\u5E74", _local2], [1, "\u5149\u5E74", _local2], [1, "\u5146km", _local1], [1000, "\u5104km", _local1], [100, "\u5104km", _local1], [10, "\u5104km", _local1], [1, "\u5104km", _local1], [1000, "\u4E07km", _local1], [100, "\u4E07km", _local1], [10, "\u4E07km", _local1], [1, "\u4E07km", _local1], [1000, "km", _local1], [100, "km", _local1], [10, "km", _local1], [1, "km", _local1], [100, "m", c3], [10, "m", c3], [1, "m", c3], [10, "cm", c4], [1, "cm", c4], [1, "mm", c5], [100, "\u03BCm", c6], [10, "\u03BCm", c6], [1, "\u03BCm", c6], [100, "nm", c7], [10, "nm", c7], [1, "nm", c7], [100, "pm", c8], [10, "pm", c8], [1, "pm", c8], [100, "fm", _local3], [10, "fm", _local3], [1, "fm", _local3]];
getItemData("config_e.txt");
_global.stageListener.subscribe(this);
mMainasuBg._xscale = 100000 /* 0x0186A0 */;
mMainasuBg._yscale = 100000 /* 0x0186A0 */;
}
function getItemData(url) {
var _local1 = this;
var _local2 = _local1.attachMovie("mLoadingData", "mLoadingData", 0);
_local2.toResize = function (x, y) {
this._x = Stage.width / 2;
this._y = -200;
};
_global.stageListener.subscribe(_local2);
_local1.lItem = new LoadVars();
_local1.lItem.path = _local1;
_local1.lItem.onLoad = function () {
this.path.setItem(this);
};
_local1.lItem.load(url);
}
function setItem(obj) {
var _local1 = this;
var _local3 = obj;
_local1.mLoadingData.removeMovieClip();
_local1.aItem = [];
for (var prop in _local3) {
var n = prop.substr(1).split("_")[0];
var _local2 = prop.split("_")[1];
if ((n * 0) == 0) {
if (typeof(_local1.aItem[n * 1]) != "object") {
_local1.aItem[n] = {};
}
_local1.aItem[n * 1][_local2] = _local3[prop];
}
}
for (var n in _local1.aItem) {
_local1.aItem[n].id = n;
}
_local1.createTheScale();
}
function createTheScale() {
var _local1 = this;
var _local2 = 0;
while (_local2 < _local1.aTani.length) {
var _local3 = {bArea:true, nScaleK:10 / Math.pow(10, _local2 + 1), nScaleId:_local2, sColor:_local1.aTani[_local2][2], nTani:_local1.aTani[_local2][0], sTani:_local1.aTani[_local2][1]};
_local1.attachMovie("mArea", "mArea" + _local2, _local2, _local3);
_local3 = {_y:0, _visible:false, bScaleText:true, sColor:0, nScaleK:10 / Math.pow(10, _local2 + 1), nScaleId:_local2};
var mc = _local1.attachMovie("mScaleText", "mScaleText" + _local2, 100000 - _local2, _local3);
_local2++;
}
_local2 = 1;
while (_local2 < _local1.aItem.length) {
var _local3 = {nItem:_local2, nPos:_local1.aItem[_local2].pos * 1, nScaleK:10 / Math.pow(10, (_local1.aItem[_local2].pos * 1) + 1), sDesc:_local1.aItem[_local2].desc, sImage:_local1.aItem[_local2].img, sTitle:_local1.aItem[_local2].name, sSubTitle:_local1.aItem[_local2].subname, sScale:_local1.aItem[_local2].scale, bItem:true};
_local1.attachMovie("mItem", "mItem" + _local2, _local1.getNextItemDepth(), _local3);
_local2++;
}
_local1.bDrag = false;
_local1.nZoomX = 0;
_local1.nZoomScale = 100;
_local1.bZoom = false;
_local1.createMotionLogic();
_local1.moveWheel = function (delta) {
var _local1 = this;
if (!_local1.bZoom) {
_local1._parent.mSlider._x = Math.max(0, Math.min(Stage.width, _local1._parent.mSlider._x + delta));
}
};
_local1.mouseListener = new Object();
_local1.mouseListener.path = _local1;
_local1.mouseListener.onMouseWheel = function (delta) {
this.path.moveWheel(delta);
};
Mouse.addListener(_local1.mouseListener);
_local1.createMouseFunction();
}
function createMotionLogic() {
var _local1 = this;
_local1.nScale = 253;
_local1.nNextScale = 253;
_local1.nMinScale = 20;
_local1.nMaxScale = (_local1.aTani.length * 10) + _local1.nMinScale;
_local1.nScaleK = 0;
_local1._parent.mSlider.setIndex((_local1.nNextScale - 20) / 430);
_local1.createOnEnterFrame();
_local1.onEnterFrame();
}
function toResize(x, y) {
var _local1 = this;
_local1._x = 0;
_local1._y = y;
_local1._parent.mSlider.setIndex((_local1.nNextScale - 20) / 430);
_local1.nScale = _local1.nNextScale;
_local1._xscale = (_local1._yscale = _local1.nZoomScale);
}
function createOnEnterFrame() {
var _local1 = this;
_local1.onEnterFrame = function () {
var _local1 = this;
_local1.nNextScale = (430 * _local1._parent.mSlider.getIndex()) + 20;
if (_local1.bDrag) {
_local1.onDrag();
} else if (_local1.bZoom) {
} else if (_local1.bItemOver) {
_local1._parent.mSlider.bitLeft2();
} else {
_local1._parent.mSlider.bitLeft();
}
_local1.nScrollSpeed = Math.min(Math.max(-15, _local1.nNextScale - _local1.nScale), 15);
_local1.nScale = Math.max(_local1.nMinScale, Math.min(_local1.nMaxScale, _local1.nScale + (_local1.nScrollSpeed * 0.25)));
_local1.nScaleK = Math.pow(10, _local1.nScale / 10);
_local1.otherOnEnterFrame();
_local1.onEnterFrameZoom();
};
}
function onEnterFrameZoom() {
var _local1 = this;
_local1._x = _local1._x + ((_local1.nZoomX - _local1._x) / 3);
var _local2 = _local1.nZoomScale - _local1._yscale;
_local1._xscale = (_local1._yscale = _local1._yscale + (_local2 / 3));
}
function otherOnEnterFrame() {
var _local1 = this;
for (var _local3 in _local1) {
if (_local1[_local3].bItem || (_local1[_local3].bArea)) {
var _local2 = _local1.nScaleK * _local1[_local3].nScaleK;
_local1[_local3]._xscale = (_local1[_local3]._yscale = ((_local2 > 2000) ? 0 : (((_local2 < 0.1) ? 0 : (_local2)))));
} else if (((!_local1._parent.bOpening) && (!_local1.bZoom)) && (_local1[_local3].bScaleText)) {
var _local2 = _local1.nScaleK * _local1[_local3].nScaleK;
_local1[_local3]._visible = (_local2 < 2000) && (_local2 > 10);
_local1[_local3]._x = ((_local2 > 2000) ? 0 : (((_local2 < 10) ? 0 : (_local2))));
}
}
}
function itemOver(path) {
var _local1 = this;
var _local2 = _local1._parent.setBalloonText(_local1.aItem[path.nItem]);
path.registText(_local2);
_local1.bItemOver = true;
}
function itemOut(path) {
bItemOver = false;
}
function itemPress(path) {
slideItem(path);
_global.mSound.gotoAndPlay("itempress");
}
function createMouseFunction() {
}
function deleteMouseFunction() {
}
function getNextItemDepth() {
var _local1 = this;
_local1.nItemDepth++;
_local1.nItemDepth = _local1.nItemDepth % 200;
return(1000 + _local1.nItemDepth);
}
function slideItem(path) {
var _local1 = path;
var _local3 = this;
var _local2 = _local1;
var name = _local1._name;
for (var prop in _local1) {
if ((prop != "pText") && (typeof(_local1[prop]) == "movieclip")) {
_local2 = _local1[prop];
break;
}
}
var p = _local2._x;
var center = Math.floor(Stage.width / 2);
var scale = ((center / _local2._x) * 100);
_local3.nNextScale = (Math.log(scale / _local1.nScaleK) / Math.LN10) * 10;
_local3._parent.mSlider.setIndex((_local3.nNextScale - 20) / 430);
var w = ((_local2._width * scale) / 100);
var h = ((_local2._height * scale) / 100);
var ws = (w / 600);
var hs = (h / 300);
if (ws > hs) {
var size = ((600 / w) * 100);
} else {
var size = ((300 / h) * 100);
}
_local3.nZoomX = center - (center * (size / 100));
_local3.nZoomScale = size;
_local3.bZoom = true;
_local3._parent.mItemDetail.setDetail(_local1);
_local3.visibleItem(_local3[name]);
_local3.deleteMouseFunction();
_local3._parent.mNavi.mFooter.allUnSelect();
}
function panItem() {
var _local1 = this;
_local1.bZoom = false;
_local1.nZoomX = 0;
_local1.nZoomScale = 100;
_local1.visibleItem();
_local1._parent.mItemDetail.setDetail();
_local1.createMouseFunction();
_local1.onEnterFrame();
}
function visibleItem(path) {
var _local1 = this;
var _local2 = path;
for (var _local3 in _local1) {
if (_local1[_local3].bArea || (_local1[_local3].bScaleText)) {
_local1[_local3]._visible = _local2 == undefined;
}
}
_local2._visible = true;
_local1._parent.mBg.setColor(_local2 == undefined);
}
function visibleScaleText(visible) {
var _local1 = this;
var _local3 = visible;
for (var _local2 in _local1) {
if (_local1[_local2].bScaleText) {
_local1[_local2]._visible = _local3;
}
}
}
function firstScroll() {
var _local1 = this;
_local1.nScale = 450;
_local1.nNextScale = 20;
_local1.nScaleK = 0;
_local1._parent.mSlider.setIndex((_local1.nNextScale - 20) / 430);
}
}
Symbol 918 MovieClip [__Packages.mc.Item] Frame 0
class mc.Item extends core.KazshMovieClip
{
var pText;
function Item () {
var _local1 = this;
super();
_local1.cColor = new Color(_local1);
_local1.gotoAndStop(_local1.nItem);
_local1.onRollOver = (_local1.onDragOver = function () {
var _local1 = this;
_local1._parent.itemOver(_local1);
_local1.cColor.setTransform({ra:100, ga:100, ba:100, rb:255, gb:255, bb:255, ab:0});
_local1.swapDepths(_local1._parent.getNextItemDepth());
_global.mSound.gotoAndPlay("itemover");
});
_local1.onRollOut = (_local1.onDragOut = function () {
var _local1 = this;
_local1._parent.itemOut();
_local1.cColor.setTransform({ra:100, ga:100, ba:100, rb:0, gb:0, bb:0, ab:0});
_local1.pText.removeText();
});
_local1.onPress = function () {
var _local1 = this;
_local1.swapDepths(_local1._parent.getNextItemDepth());
_local1._parent.itemPress(_local1);
_local1.pText.setDetail();
_local1.cColor.setTransform({ra:100, ga:100, ba:100, rb:255, gb:255, bb:255, ab:0});
_local1.bSelect = true;
};
_local1.nWait = 3;
_local1.onEnterFrame = function () {
var _local1 = this;
if ((--_local1.nWait) < 0) {
for (var _local2 in _local1) {
if (typeof(_local1[_local2]) == "movieclip") {
_local1.nWidth = _local1[_local2]._width;
_local1.nHeight = _local1[_local2]._height;
break;
}
}
delete _local1.onEnterFrame;
}
};
}
function registText(mc) {
pText = mc;
}
function backToTheStage() {
pText.removeMovieClip();
}
function fadeOut() {
var _local1 = this;
_local1.createEmptyMovieClip("fadeOutMc", 0);
var _local2 = _local1.fadeOutMc;
_local2.nColor = 255;
_local2.onEnterFrame = function () {
var _local1 = this;
_local1.nColor = _local1.nColor - 100;
_local1._parent.cColor.setTransform({ra:100, ga:100, ba:100, rb:_local1.nColor, gb:_local1.nColor, bb:_local1.nColor, ab:0});
if (_local1.nColor <= 0) {
_local1._parent.cColor.setTransform({ra:100, ga:100, ba:100, rb:_local1.nColor, gb:_local1.nColor, bb:_local1.nColor, ab:0});
_local1.removeMovieClip();
}
};
_local1.bSelect = false;
_local1.onRollOut();
}
var bItem = true;
}
Symbol 919 MovieClip [__Packages.mc.Area] Frame 0
class mc.Area extends core.KazshMovieClip
{
function Area () {
var _local1 = this;
super();
_local1.mPowerOf.tPower.text = 25 - _local1.nScaleId;
_local1.mPowerofTitle.gotoAndStop(_local1.nScaleId + 1);
_local1.mTitle.gotoAndStop(_local1.nScaleId + 1);
_local1.cNuri = new Color(_local1.mNuri);
_local1.cNuri.setRGB(("0x" + _local1.sColor) * 1);
}
}
Symbol 569 MovieClip Frame 1
this.onRelease = function () {
getURL ("javascript:goBackTo('home')");
};
this.stop();
Symbol 574 MovieClip Frame 1
this.onRollOver = (this.onDragOver = function () {
this.gotoAndPlay("over");
});
this.onRollOut = (this.onDragOut = (this.onReleaseOutside = function () {
this.gotoAndPlay("out");
}));
this.onRelease = function () {
getURL ("javascript:goBackTo('universcale')");
};
this.stop();
Symbol 574 MovieClip Frame 7
this.stop();
Symbol 574 MovieClip Frame 19
this.stop();
Symbol 576 MovieClip Frame 1
this.openLogo = function () {
this.gotoAndPlay("open_logo");
delete this.openTitle;
};
this.stop();
Symbol 576 MovieClip Frame 19
this.stop();
Symbol 587 MovieClip Frame 1
function setSound(soundName) {
if (this._parent.BGM.getVolume() >= 10) {
this.gotoAndPlay(soundName);
}
}
_global.mSound = new Object();
_global.mSound.mother = this;
_global.mSound.gotoAndPlay = function (name) {
this.mother.setSound(name);
};
this.stop();
Symbol 587 MovieClip Frame 10
this.stop();
Symbol 587 MovieClip Frame 21
this.stop();
Symbol 587 MovieClip Frame 32
this.stop();
Symbol 587 MovieClip Frame 45
this.stop();
Symbol 587 MovieClip Frame 60
this.stop();
Symbol 587 MovieClip Frame 75
this.stop();
Symbol 587 MovieClip Frame 94
this.stop();
Symbol 587 MovieClip Frame 104
this.stop();
Symbol 587 MovieClip Frame 113
this.stop();
Symbol 587 MovieClip Frame 125
this.stop();
Symbol 587 MovieClip Frame 135
this.stop();
Symbol 589 MovieClip Frame 1
function toResize(x, y) {
var _local1 = this;
_local1._x = 0;
_local1._y = y;
_local1._width = (Stage.width * 2) + 10;
_local1._height = 500;
}
function setColor(bVisible) {
var _local1 = this;
if (bVisible) {
_local1.nColor = -255;
_local1.nColorStep = 40;
_local1.myColor.setTransform({rb:_local1.nColor, gb:_local1.nColor, bb:_local1.nColor});
_local1.onEnterFrame = function () {
var _local1 = this;
_local1.nColor = _local1.nColor + _local1.nColorStep;
_local1.myColor.setTransform({rb:_local1.nColor, gb:_local1.nColor, bb:_local1.nColor});
if (_local1.nColor >= 0) {
_local1.nColor = 0;
_local1.myColor.setTransform({rb:_local1.nColor, gb:_local1.nColor, bb:_local1.nColor});
delete _local1.onEnterFrame;
}
};
} else {
_local1.nColor = 0;
_local1.nColorStep = -10;
_local1.onEnterFrame = function () {
var _local1 = this;
_local1.nColor = _local1.nColor + _local1.nColorStep;
_local1.myColor.setTransform({rb:_local1.nColor, gb:_local1.nColor, bb:_local1.nColor});
if (_local1.nColor <= -255) {
_local1.nColor = -255;
_local1.myColor.setTransform({rb:_local1.nColor, gb:_local1.nColor, bb:_local1.nColor});
delete _local1.onEnterFrame;
}
};
}
}
_global.stageListener.subscribe(this);
this.nColor = 0;
this.nColorStep = 0;
this.myColor = new Color(this);
Symbol 601 MovieClip Frame 1
this.id = "selectbutton";
this.bSelect = false;
this.onDragOver = (this.onRollOver = function () {
if (!this.bSelect) {
this.gotoAndPlay("over");
_global.mSound.gotoAndPlay("navi_over");
}
});
this.onDragOut = (this.onRollOut = function () {
if (!this.bSelect) {
this.gotoAndPlay("out");
}
});
this.onPress = function () {
this.onAllUnSelect();
this.onSelect();
};
this.onSelect = function () {
var _local1 = this;
_local1.gotoAndPlay("select");
_local1.bSelect = true;
_local1._parent.pressFunction(_local1);
_global.mSound.gotoAndPlay("navi_select");
};
this.onUnSelect = function () {
var _local1 = this;
if (_local1.bSelect) {
_local1.gotoAndPlay("selectout");
_local1.bSelect = false;
}
};
this.onAllUnSelect = function () {
var _local1 = this;
for (mc in _local1._parent) {
if (_local1._parent[mc].id == _local1.id) {
_local1._parent[mc].onUnSelect();
}
}
};
this._name = "btn_" + Math.floor(this._x / 10);
this.stop();
Symbol 601 MovieClip Frame 7
this.stop();
Symbol 601 MovieClip Frame 19
this.stop();
Symbol 601 MovieClip Frame 26
this.stop();
Symbol 601 MovieClip Frame 38
this.stop();
Symbol 609 MovieClip Frame 1
this.id = "stageselectbutton";
this.bSelect = false;
this.mVisited._visible = false;
this.atPress = function () {
var _local1 = this;
if (!_local1.bSelect) {
_local1.onAllUnSelect();
_local1.onSelect();
}
};
this.onSelect = function () {
this.gotoAndPlay("select");
this.bSelect = true;
};
this.onVisited = function () {
this.mVisited._visible = true;
};
this.onUnSelect = function () {
var _local1 = this;
if (_local1.bSelect) {
_local1.gotoAndPlay("selectout");
_local1.bSelect = false;
}
};
this.onAllUnSelect = function () {
var _local1 = this;
for (mc in _local1._parent) {
if (_local1._parent[mc].id == _local1.id) {
_local1._parent[mc].onUnSelect();
}
}
};
this.num = this._name.substr(-1);
this.myColor = new Color(this._parent._parent["mScaleLabel" + this.num]);
this.mVisited._visible = false;
this.stop();
this.myColor.setTransform({aa:100, rb:255, gb:255, bb:255, ba:0});
Symbol 609 MovieClip Frame 7
this.stop();
Symbol 609 MovieClip Frame 8
this.myColor.setTransform({aa:100, rb:255, gb:255, bb:255, ba:0});
Symbol 609 MovieClip Frame 19
this.stop();
Symbol 609 MovieClip Frame 20
this.myColor.setTransform({aa:50, rb:0, gb:0, bb:0, ba:0});
Symbol 609 MovieClip Frame 26
this.stop();
Symbol 609 MovieClip Frame 27
this.myColor.setTransform({aa:100, rb:255, gb:255, bb:255, ba:0});
Symbol 609 MovieClip Frame 38
this.stop();
Symbol 611 MovieClip Frame 1
function toResize(x, y) {
var _local1 = _global.barMargin;
this._x = _local1;
this._xscale = (Math.floor(Stage.width - (_local1 * 2)) / 430) * 100;
}
function pressFunction(path) {
var _local1 = this;
var _local3 = Math.floor(path._x / 10) + 1;
var _local2 = (_local3 * 10) * (_local1._xscale / 100);
if (_local1._parent._parent.mMouseCursor._visible) {
_local2 = _local1._parent._parent.mMouseCursor._x;
}
_local1._parent._parent.mSlider.setX(_local2);
}
function selectStage(path) {
var _local1 = this;
path.atPress();
var _local2 = path._name.substr(-1) * 1;
_local1._parent._parent.mNowScale.setTitle(_local2);
if ((!_local1._parent._parent.mTheScale.bZoom) && (!_local1._parent._parent.bOpening)) {
_local1._parent._parent.mNowScale.viewTitle(_local2);
}
}
function allUnSelect() {
this.btn_1.onUnSelect();
this.btn_1.onAllUnSelect();
}
_global.stageListener.subscribe(this);
this.setCurrentMark = function (n) {
var _local1 = this;
var _local2 = n;
_local1.mCurrentMark._x = _local2 * 10;
_local1["btn_" + _local2].onUnSelect();
if (_local1.oldn == undefined) {
_local2 = 0;
}
if (_local1.oldn != _local2) {
_local1["btn_" + _local1.oldn].gotoAndPlay("selectout");
_local1.oldn = _local2;
}
if ((0 <= _local2) && (_local2 <= 2)) {
_local1.selectStage(_local1.btn_stage_1);
} else if ((3 <= _local2) && (_local2 <= 5)) {
_local1.selectStage(_local1.btn_stage_2);
} else if ((6 <= _local2) && (_local2 <= 8)) {
_local1.selectStage(_local1.btn_stage_3);
} else if ((9 <= _local2) && (_local2 <= 11)) {
_local1.selectStage(_local1.btn_stage_4);
} else if (_local2 == 12) {
_local1.selectStage(_local1.btn_stage_5);
} else if ((13 <= _local2) && (_local2 <= 14)) {
_local1.selectStage(_local1.btn_stage_6);
} else if ((15 <= _local2) && (_local2 <= 17)) {
_local1.selectStage(_local1.btn_stage_7);
} else if ((18 <= _local2) && (_local2 <= 30)) {
_local1.selectStage(_local1.btn_stage_8);
} else if ((31 <= _local2) && (_local2 <= 42)) {
_local1.selectStage(_local1.btn_stage_9);
}
};
this.onEnterFrame = function () {
var _local1 = Math.floor(450 - this._parent._parent.mTheScale.nScale);
this.setCurrentMark(Math.floor(_local1 / 10));
};
Symbol 630 MovieClip Frame 1
function toResize(x, y) {
var _local1 = Stage.width / 43;
this._x = (this.pos * _local1) + (((wid * _local1) - 13) / 2);
}
this.num = this._name.substr(-1) * 1;
this.pos = Math.floor(this._x / 10);
this.wid = Math.floor((this._parent.mFooter["btn_stage_" + this.num]._width - 10) / 10);
_global.stageListener.subscribe(this);
this.gotoAndStop(num);
Symbol 717 MovieClip Frame 1
function toResize(x, y) {
var _local1 = Stage.width / 43;
this._x = (_local1 * this.num) + ((_local1 - 13) / 2);
}
this.num = Math.floor(this._x / 10);
_global.stageListener.subscribe(this);
this.gotoAndStop(num + 1);
Symbol 718 MovieClip Frame 1
function toResize(x, y) {
this._y = y;
}
_global.stageListener.subscribe(this);
Instance of Symbol 630 MovieClip "mScaleLabel1" in Symbol 718 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 630 MovieClip "mScaleLabel2" in Symbol 718 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 630 MovieClip "mScaleLabel3" in Symbol 718 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 630 MovieClip "mScaleLabel4" in Symbol 718 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 630 MovieClip "mScaleLabel5" in Symbol 718 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 630 MovieClip "mScaleLabel6" in Symbol 718 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 630 MovieClip "mScaleLabel7" in Symbol 718 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 630 MovieClip "mScaleLabel8" in Symbol 718 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 630 MovieClip "mScaleLabel9" in Symbol 718 MovieClip Frame 1
/* no clip actions */
Symbol 720 MovieClip Frame 1
function toResize(x, y) {
this._width = Stage.width;
}
_global.stageListener.subscribe(this);
Symbol 724 MovieClip Frame 1
this.onRelease = function () {
getURL ("javascript:goBackTo('home')");
};
Symbol 728 MovieClip Frame 1
function toResize(x, y) {
this._x = Stage.width;
this.mHomeLink._x = -Stage.width;
}
_global.stageListener.subscribe(this);
Symbol 730 MovieClip Frame 1
function toResize(x, y) {
this._width = Stage.width;
}
_global.stageListener.subscribe(this);
Symbol 732 MovieClip Frame 1
function toResize(x, y) {
this._width = Stage.width;
}
_global.stageListener.subscribe(this);
Symbol 734 MovieClip Frame 1
function toResize(x, y) {
this._width = Stage.width;
}
_global.stageListener.subscribe(this);
Symbol 838 MovieClip Frame 1
function toResize(x, y) {
this._width = Stage.width;
}
_global.stageListener.subscribe(this);
this.onPress = function () {
this._parent.createScaleTitle();
this.gotoAndPlay("over");
};
this.onRollOver = (this.onDragOver = function () {
this.gotoAndPlay("over");
});
Symbol 838 MovieClip Frame 6
this.stop();
Symbol 839 MovieClip Frame 1
this.onEnterFrame = function () {
var _local1 = this;
if (!_local1._parent._parent.mHelp._visible) {
if (_local1._visible) {
var _local2 = Math.sqrt(((_local1._parent._xmouse - _local1.oldx) * (_local1._parent._xmouse - _local1.oldx)) + ((_local1._parent._ymouse - _local1.oldy) * (_local1._parent._ymouse - _local1.oldy)));
if (_local2 < 2) {
if (_local1.nCount == undefined) {
_local1.nCount = 0;
}
_local1.nCount++;
} else {
_local1.nCount = 0;
}
if (_local1.nCount > 40) {
_local1._alpha = (Math.min(50, _local1.nCount) - 40) * 10;
} else {
_local1._alpha = Math.max(0, _local1._alpha - 20);
}
_local1.oldx = (_local1._x = _local1._x + ((_local1._parent._xmouse - _local1._x) / 2));
_local1.oldy = (_local1._y = _local1._y + ((_local1._parent._ymouse - _local1._y) / 2));
} else {
_local1.nCount = 0;
_local1._alpha = 0;
}
}
};
Symbol 840 MovieClip Frame 1
function toResize(x, y) {
this._x = x;
this._y = y;
}
function resetVisited() {
this.aVisited = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
function deleteScaleTitle() {
var _local1 = this;
_local1.mButton._visible = true;
_local1.mNowScaleBg1.setPosition(0, 68, 76, 30, 11, mNowScaleTani, true);
_local1.mNowScaleBg2.setPosition(0, 99, 76, 20, 8, mNowScaleYomi, true);
_local1.mNowScaleBg3.setPosition(77, 68, Stage.width, 30, 3, mNowScaleTitle, true);
_local1.mNowScaleBg4.setPosition(77, 99, Stage.width, 20, 0, mNowScaleSetsumei, true);
_local1.mCopyright.setPosition(0, 0);
_local1.mCloseTitle._visible = false;
_local1.mDammy._visible = false;
}
function createScaleTitle(n) {
var _local1 = this;
_local1.aVisited[n]++;
_local1.mButton._visible = false;
_local1.mNowScaleBg1.setPosition(0, -486, Stage.width, 30, 0, mNowScaleTani);
_local1.mNowScaleBg2.setPosition(0, -455, Stage.width, 20, 4, mNowScaleYomi);
_local1.mNowScaleBg3.setPosition(0, -434, Stage.width, 30, 8, mNowScaleTitle);
_local1.mNowScaleBg4.setPosition(0, -403, Stage.width, 345, 12, mNowScaleSetsumei);
_local1.mCopyright.setPosition(-55, 12);
_local1.mCloseTitle._visible = true;
_local1.mDammy._visible = true;
_global.mSound.gotoAndPlay("openScale");
}
function viewTitle(n) {
var _local1 = this;
var _local2 = n;
if ((!_local1._parent.bOpening) && (!_local1._parent.bEnding)) {
if (!_local1._parent.mHelp._visible) {
if (Math.floor(_local1._parent.mTheScale.nNextScale) == Math.floor(_local1._parent.mTheScale.nScale)) {
if ((_local2 == undefined) || (_local1.aVisited[_local2] == 0)) {
_local1.createScaleTitle(_local2);
_local1._parent.mNavi.mFooter["btn_stage_" + _local2].mVisited._visible = true;
}
}
}
}
}
function changeText(n) {
var _local1 = n;
var _local2 = this;
if (_local2.oldn != _local1) {
_local2.mNowScaleTani.gotoAndStop(_local1);
_local2.mNowScaleYomi.gotoAndStop(_local1);
_local2.mNowScaleTitle.gotoAndStop(_local1);
_local2.mNowScaleSetsumei.gotoAndStop(_local1);
_local2.oldn = _local1;
}
}
function setTitle(n) {
this.nowTitle = n;
}
_global.stageListener.subscribe(this);
this.f1 = 1;
this.f2 = 1;
this.f3 = 1;
this.f4 = 2;
this.f5 = 2;
this.f6 = 2;
this.f7 = 3;
this.f8 = 3;
this.f9 = 3;
this.f10 = 4;
this.f11 = 4;
this.f12 = 4;
this.f13 = 5;
this.f14 = 6;
this.f15 = 6;
this.f16 = 7;
this.f17 = 7;
this.f18 = 7;
this.f19 = 8;
this.f20 = 8;
this.f21 = 8;
this.f22 = 8;
this.f23 = 8;
this.f24 = 8;
this.f25 = 8;
this.f26 = 8;
this.f27 = 8;
this.f28 = 8;
this.f29 = 8;
this.f30 = 8;
this.f31 = 8;
this.f32 = 9;
this.f33 = 9;
this.f34 = 9;
this.f35 = 9;
this.f36 = 9;
this.f37 = 9;
this.f38 = 9;
this.f39 = 9;
this.f40 = 9;
this.f41 = 9;
this.f42 = 9;
this.f43 = 9;
this.f44 = 9;
this.nowTitle = 0;
this.mTextClickToBack._visible = false;
this.resetVisited();
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = Math.floor(450 - _local1._parent.mTheScale.nScale);
var _local3 = Math.floor(_local2 / 10) + 1;
if (_local1._currentframe != _local3) {
_local1.changeText(Math.floor(_local2 / 10) + 1);
}
_local1.tScale.text = Math.floor(_local2 / 10) - 15;
_local1.tScaleB.text = 10 - Math.floor(_local1._parent.mTheScale.nScale % 10);
if ((_local1._parent.mTheScale.nScale >= 449) && (!_local1._parent.mOpening._visible)) {
_local1._parent.mOpening.gotoAndPlay("outro");
}
};
this.mCopyright.setPosition = function (y, w) {
var _local1 = this;
_local1.nWait = ((w == undefined) ? 0 : (w));
_local1.onEnterFrame = function () {
var _local1 = this;
if ((--_local1.nWait) < 0) {
_local1._y = _local1._y + ((y - _local1._y) / 2);
}
};
};
this.mNowScaleBg1.setPosition = (this.mNowScaleBg2.setPosition = (this.mNowScaleBg3.setPosition = (this.mNowScaleBg4.setPosition = function (x, y, w, h, c, withM, bRev) {
var _local1 = this;
_local1.nx = x;
_local1.ny = y;
_local1.nw = w;
_local1.nh = h;
_local1.nWait = ((c == undefined) ? 0 : (c));
_local1.nStep = 0;
_local1.path = withM;
if (!bRev) {
if (_local1._name == "mNowScaleBg4") {
_local1._parent.mNowScaleSetsumei._visible = false;
_local1._parent.mNowScaleSetsumei2._visible = false;
_local1._parent.mNowScaleSetsumei2._alpha = 0;
}
_local1.onEnterFrame = function () {
var _local1 = this;
if (_local1.nStep == 0) {
if ((--_local1.nWait) < 0) {
_local1.nStep = 1;
}
} else if (_local1.nStep == 1) {
var _local3 = _local1.ny - _local1._y;
if (Math.abs(_local3) > 2) {
_local1._y = _local1._y + (_local3 / 2);
} else {
_local1._y = _local1.ny;
_local1.nStep = 10;
}
_local1.path._x = _local1.path._x + ((_local1._x - _local1.path._x) / 2);
_local1.path._y = _local1._y;
} else if (_local1.nStep == 10) {
var _local3 = _local1.nx - _local1._x;
if (Math.abs(_local3) > 2) {
_local1._x = _local1._x + (_local3 / 2);
} else {
_local1._x = _local1.nx;
_local1.nStep = 20;
}
} else if (_local1.nStep == 20) {
var _local3 = _local1.nw - _local1._width;
if (Math.abs(_local3) > 2) {
_local1._width = _local1._width + (_local3 / 2);
} else {
_local1._width = _local1.nw;
_local1.nStep = 30;
}
_local1.path._x = _local1.path._x + ((((_local1._width / 2) - (_local1.path._width / 2)) - _local1.path._x) / 2);
_local1.path._y = _local1._y;
} else if (_local1.nStep == 30) {
_local1._width = _local1._width + ((Stage.width - _local1._width) / 2);
var _local3 = _local1.nh - _local1._height;
if (Math.abs(_local3) > 2) {
_local1._height = _local1._height + (_local3 / 2);
} else {
_local1._height = _local1.nh;
_local1.nStep = 40;
}
_local1.path._x = _local1.path._x + ((((_local1._width / 2) - (_local1.path._width / 2)) - _local1.path._x) / 2);
_local1.path._y = _local1._y;
} else {
_local1._width = _local1._width + ((Stage.width - _local1._width) / 2);
_local1.path._x = _local1.path._x + ((((_local1._width / 2) - (_local1.path._width / 2)) - _local1.path._x) / 2);
_local1.path._y = _local1._y;
if (_local1._parent[_local1.path._name + "2"] != undefined) {
_local1.path._visible = false;
var _local2 = _local1._parent[_local1.path._name + "2"];
_local2._visible = true;
_local2._x = _local1.path._x;
_local2._y = _local1.path._y;
_local2.gotoAndStop(_local1.path._currentframe);
_local2._alpha = _local2._alpha + ((_local2._alpha <= 100) ? 20 : 0);
}
_local1._parent.mTextClickToBack._visible = true;
}
};
} else {
if (_local1._name == "mNowScaleBg4") {
_local1._parent.mNowScaleSetsumei._visible = false;
_local1._parent.mNowScaleSetsumei2._visible = false;
_local1._parent.mNowScaleSetsumei._alpha = 0;
}
_local1._parent.mTextClickToBack._visible = false;
_local1.onEnterFrame = function () {
var _local1 = this;
if (_local1.nStep == 0) {
if ((--_local1.nWait) < 0) {
_local1.nStep = 1;
}
} else if (_local1.nStep == 1) {
var _local3 = _local1.nh - _local1._height;
if (Math.abs(_local3) > 2) {
_local1._height = _local1._height + (_local3 / 2);
} else {
_local1._height = _local1.nh;
}
_local3 = _local1.nw - _local1._width;
if (Math.abs(_local3) > 2) {
_local1._width = _local1._width + (_local3 / 2);
} else {
_local1._width = _local1.nw;
}
_local3 = _local1.nx - _local1._x;
if (Math.abs(_local3) > 2) {
_local1._x = _local1._x + (_local3 / 2);
} else {
_local1._x = _local1.nx;
}
_local3 = _local1.ny - _local1._y;
if (Math.abs(_local3) > 2) {
_local1._y = _local1._y + (_local3 / 2);
} else {
_local1._y = _local1.ny;
}
_local1.path._x = _local1.path._x + ((_local1._x - _local1.path._x) / 2);
_local1.path._y = _local1._y;
if (_local1._name == "mNowScaleBg4") {
var _local2 = _local1._parent.mNowScaleSetsumei;
_local2._visible = true;
_local2._alpha = _local2._alpha + ((_local2._alpha <= 100) ? 20 : 0);
}
}
};
}
})));
this.stop();
this.mCloseTitle._visible = false;
this.mDammy._xscale = (this.mDammy._yscale = 10000);
this.mDammy.onPress = function () {
this._parent.deleteScaleTitle();
};
this.mDammy.useHandCursor = false;
this.mDammy._visible = false;
this.mNowScaleSetsumei2._visible = false;
Symbol 861 MovieClip Frame 1168
this.stop();
this._parent.onPress();
Symbol 878 MovieClip Frame 6
this._parent._parent.mNowScale.mDammy.onPress();
Symbol 878 MovieClip Frame 1442
this.stop();
this._parent.restart();
Symbol 879 MovieClip Frame 1
function toResize(x, y) {
this._x = Stage.width / 2;
this._y = y - 200;
}
_global.stageListener.subscribe(this);
this.onPress = function () {
var _local1 = this;
_local1.mClickToStart._visible = false;
_local1.myColor = new Color(_local1);
_local1.nColor = 0;
_local1.nStep = -20;
_local1.onEnterFrame = function () {
var _local1 = this;
_local1.nColor = _local1.nColor + _local1.nStep;
_local1.myColor.setTransform({rb:_local1.nColor, gb:_local1.nColor, bb:_local1.nColor, ab:-_local1.nColor});
if (_local1.nColor <= -255) {
_local1._parent.mTheScale.nScale = 450;
_local1._parent.mSlider.setX(0);
_local1.gotoAndPlay(2);
}
};
delete _local1.onPress;
};
this.restart = function () {
var _local1 = this;
_local1.onPress = function () {
var _local1 = this;
_local1.mClickToStart._visible = false;
_local1.myColor = new Color(_local1);
_local1.nColor = 0;
_local1.nStep = -20;
_local1.onEnterFrame = function () {
var _local1 = this;
_local1.nColor = _local1.nColor + _local1.nStep;
_local1.myColor.setTransform({rb:_local1.nColor, gb:_local1.nColor, bb:_local1.nColor, ab:-_local1.nColor});
if (_local1.nColor <= -255) {
_local1._parent.mTheScale.nScale = 450;
_local1._parent.mSlider.setX(0);
_local1.gotoAndPlay(2);
}
};
delete _local1.onPress;
};
_local1.onPress();
};
this.mDammy._xscale = (this.mDammy._yscale = 10000);
this._parent.mNowScale._visible = false;
this._parent.mNavi._visible = false;
this._parent.mBg.setColor(true);
this._parent.mTheScale.visibleScaleText(false);
this.stop();
Symbol 879 MovieClip Frame 2
this._parent.mNowScale._visible = true;
this._parent.mNavi._visible = true;
this._parent.mTheScale.visibleScaleText(true);
this._parent.mLogo.openLogo();
this.nColor = -255;
this.nStep = 20;
this.onEnterFrame = function () {
var _local1 = this;
_local1.nColor = _local1.nColor + _local1.nStep;
_local1.myColor.setTransform({rb:_local1.nColor, gb:_local1.nColor, bb:_local1.nColor, ab:-_local1.nColor});
if (_local1.nColor >= 255) {
_local1._visible = false;
delete _local1.onEnterFrame;
}
};
Symbol 879 MovieClip Frame 3
this._parent.mTheScale.firstScroll();
this._parent.bOpening = false;
this._parent.bEnding = false;
this.stop();
Symbol 879 MovieClip Frame 9
delete this.onEnterFrame;
this._alpha = 100;
this._visible = true;
this.myColor.setTransform({rb:0, gb:0, bb:0, ab:0});
this._parent.bEnding = true;
this.onPress = function () {
this.restart();
};
this._parent.mNavi.mFooter["btn_-1"].onUnSelect();
Symbol 879 MovieClip Frame 15
this._visible = true;
this._parent.mNowScale.resetVisited();
this.stop();
Symbol 898 MovieClip Frame 1
function endHelp() {
var _local2 = this;
_local2.gotoAndStop("none");
_local2._parent.mHelpButton.helpend();
_local2.onEnterFrame = function () {
var _local1 = this;
var _local2 = {x:0, y:0};
_local1._parent.mHelpButton.localToGlobal(_local2);
var x = _local2.x;
var y = _local2.y;
var _local3 = x - _local1._x;
var ysa = (y - _local1._y);
((Math.abs(_local3) > 2) ? ((_local1._x = _local1._x + (_local3 / 5))) : ((_local1._x = x)));
((Math.abs(ysa) > 2) ? ((_local1._y = _local1._y + (ysa / 5))) : ((_local1._y = y)));
_local1._alpha = _local1._alpha - 10;
if (_local1._alpha < 0) {
_local1._alpha = 100;
_local1._visible = false;
delete _local1.onEnterFrame;
}
};
var _local1 = 0;
while (_local1 < 100) {
_local2._parent.mTheScale["mItem" + _local1].onRollOut();
_local1++;
}
}
function startHelp() {
var _local1 = this;
_local1._parent.mNowScale.mDammy.onPress();
_local1._parent.mItemDetail.deleteDetail();
_local1._alpha = 100;
_local1._visible = true;
_local1._x = _local1._parent.mHelpButton._x;
_local1._y = _local1._parent.mHelpButton._y;
_local1.step = 0;
_local1.onEnterFrame = function () {
var _local1 = this;
if (_local1.step == 0) {
var x = (Stage.width / 2);
var _local3 = Stage.height / 2;
var xsa = (x - _local1._x);
var ysa = (_local3 - _local1._y);
((Math.abs(xsa) > 2) ? ((_local1._x = _local1._x + (xsa / 4))) : ((_local1._x = x)));
((Math.abs(ysa) > 2) ? ((_local1._y = _local1._y + (ysa / 4))) : ((_local1._y = _local3)));
if ((_local1._x == x) && (_local1._y == _local3)) {
_local1.step = 1;
}
} else if (_local1.step == 1) {
_local1.gotoAndStop("text0");
_local1.whiteIn();
_local1.mDammy.onPress = function () {
var _local1 = this;
_local1._parent.gotoAndStop("none");
_local1._parent.step = 6;
_local1.onPress = function () {
};
_local1._parent.whiteOut();
};
} else if (_local1.step == 6) {
var _local2 = {x:0, y:0};
_local1._parent.mNavi.mFooter.btn_15.localToGlobal(_local2);
var x = (_local2.x + 10);
var _local3 = _local2.y + 5;
var xsa = (x - _local1._x);
var ysa = (_local3 - _local1._y);
((Math.abs(xsa) > 2) ? ((_local1._x = _local1._x + (xsa / 3))) : ((_local1._x = x)));
((Math.abs(ysa) > 2) ? ((_local1._y = _local1._y + (ysa / 4))) : ((_local1._y = _local3)));
if ((_local1._x == x) && (_local1._y == _local3)) {
_local1._parent.mNavi.mFooter.btn_15.onRollOver();
_local1.step = 7;
}
} else if (_local1.step == 7) {
_local1.gotoAndStop("text1");
_local1.whiteIn();
_local1.mDammy.onPress = function () {
var _local1 = this;
_local1._parent.gotoAndStop("none");
_local1._parent.step = 8;
_local1.onPress = function () {
};
_local1._parent.whiteOut();
};
} else if (_local1.step == 8) {
_local1._parent.mNavi.mFooter.btn_15.onPress();
_local1.step = 9;
} else if (_local1.step == 9) {
if (Math.floor(_local1._parent.mTheScale.nNextScale) == Math.floor(_local1._parent.mTheScale.nScale)) {
_local1.step = 10;
}
} else if (_local1.step == 10) {
var _local2 = {x:0, y:0};
_local1._parent.mTheScale.mItem39.hito.localToGlobal(_local2);
var x = _local2.x;
var _local3 = _local2.y - 100;
var xsa = (x - _local1._x);
var ysa = (_local3 - _local1._y);
((Math.abs(xsa) > 2) ? ((_local1._x = _local1._x + (xsa / 2))) : ((_local1._x = x)));
((Math.abs(ysa) > 2) ? ((_local1._y = _local1._y + (ysa / 4))) : ((_local1._y = _local3)));
if (_local1._y == _local3) {
_local1._parent.mTheScale.mItem39.onRollOver();
_local1.nWait = 10;
_local1.step = 11;
}
} else if (_local1.step == 11) {
if ((--_local1.nWait) < 0) {
_local1.step = 12;
}
} else if (_local1.step == 12) {
_local1.gotoAndStop("text2");
_local1.whiteIn();
_local1.mDammy.onPress = function () {
var _local1 = this;
_local1._parent.gotoAndStop("none");
_local1._parent.step = 13;
_local1.onPress = function () {
};
_local1._parent.whiteOut();
};
} else if (_local1.step == 13) {
_local1._parent.mTheScale.mItem39.onPress();
_local1.step = 14;
_local1.nWait = 80;
} else if (_local1.step == 14) {
if ((--_local1.nWait) < 0) {
_local1.step = 20;
}
} else if (_local1.step == 20) {
var _local2 = {x:0, y:0};
_local1._parent.mItemDetail.mSmall.localToGlobal(_local2);
var x = (_local2.x + 50);
var _local3 = _local2.y - 30;
var xsa = (x - _local1._x);
var ysa = (_local3 - _local1._y);
((Math.abs(xsa) > 2) ? ((_local1._x = _local1._x + (xsa / 5))) : ((_local1._x = x)));
((Math.abs(ysa) > 2) ? ((_local1._y = _local1._y + (ysa / 5))) : ((_local1._y = _local3)));
if ((_local1._x == x) && (_local1._y == _local3)) {
_local1._parent.mItemDetail.mSmall.onRollOver();
_local1.step = 21;
_local1.nWait = 20;
}
} else if (_local1.step == 21) {
if ((--_local1.nWait) < 0) {
_local1._parent.mItemDetail.mSmall.onRollOut();
_local1.step = 22;
}
} else if (_local1.step == 22) {
var _local2 = {x:0, y:0};
_local1._parent.mItemDetail.mBig.localToGlobal(_local2);
var x = (_local2.x - 50);
var _local3 = _local2.y - 30;
var xsa = (x - _local1._x);
var ysa = (_local3 - _local1._y);
((Math.abs(xsa) > 2) ? ((_local1._x = _local1._x + (xsa / 5))) : ((_local1._x = x)));
((Math.abs(ysa) > 2) ? ((_local1._y = _local1._y + (ysa / 5))) : ((_local1._y = _local3)));
if ((_local1._x == x) && (_local1._y == _local3)) {
_local1._parent.mItemDetail.mBig.onRollOver();
_local1.step = 23;
}
} else if (_local1.step == 23) {
_local1.gotoAndStop("text3");
_local1.whiteIn();
_local1.mDammy.onPress = function () {
var _local1 = this;
_local1._parent.gotoAndStop("none");
_local1._parent.step = 30;
_local1.onPress = function () {
};
_local1._parent.whiteOut();
};
} else if (_local1.step == 30) {
_local1._parent.mItemDetail.mBig.onPress();
_local1.nWait = 100;
_local1.step = 31;
} else if (_local1.step == 31) {
if ((--_local1.nWait) < 0) {
_local1.step = 32;
}
} else if (_local1.step == 32) {
var x = 100;
var _local3 = 200;
var xsa = (x - _local1._x);
var ysa = (_local3 - _local1._y);
((Math.abs(xsa) > 2) ? ((_local1._x = _local1._x + (xsa / 5))) : ((_local1._x = x)));
((Math.abs(ysa) > 2) ? ((_local1._y = _local1._y + (ysa / 5))) : ((_local1._y = _local3)));
if ((_local1._x == x) && (_local1._y == _local3)) {
_local1.step = 33;
}
} else if (_local1.step == 33) {
_local1.gotoAndStop("text4");
_local1.whiteIn();
_local1.mDammy.onPress = function () {
var _local1 = this;
_local1._parent.gotoAndStop("none");
_local1._parent.step = 40;
_local1.onPress = function () {
};
_local1._parent.whiteOut();
};
} else if (_local1.step == 40) {
_local1._parent.mItemDetail.mDammy.onPress();
_local1.nWait = 50;
_local1.step = 41;
} else if (_local1.step == 41) {
if ((--_local1.nWait) < 0) {
_local1.step = 42;
}
} else if (_local1.step == 42) {
var _local2 = {x:0, y:0};
_local1._parent.mNowScale.mButton.localToGlobal(_local2);
var x = (_local2.x + 200);
var _local3 = _local2.y + 10;
var xsa = (x - _local1._x);
var ysa = (_local3 - _local1._y);
((Math.abs(xsa) > 2) ? ((_local1._x = _local1._x + (xsa / 5))) : ((_local1._x = x)));
((Math.abs(ysa) > 2) ? ((_local1._y = _local1._y + (ysa / 5))) : ((_local1._y = _local3)));
if ((_local1._x == x) && (_local1._y == _local3)) {
_local1.step = 43;
}
} else if (_local1.step == 43) {
_local1.gotoAndStop("text5");
_local1.whiteIn();
_local1.mDammy.onPress = function () {
var _local1 = this;
_local1._parent.gotoAndStop("none");
_local1._parent.step = 50;
_local1.onPress = function () {
};
_local1._parent.whiteOut();
};
} else if (_local1.step == 50) {
var x = (Stage.width / 2);
var _local3 = Stage.height / 2;
var xsa = (x - _local1._x);
var ysa = (_local3 - _local1._y);
((Math.abs(xsa) > 2) ? ((_local1._x = _local1._x + (xsa / 4))) : ((_local1._x = x)));
((Math.abs(ysa) > 2) ? ((_local1._y = _local1._y + (ysa / 4))) : ((_local1._y = _local3)));
if ((_local1._x == x) && (_local1._y == _local3)) {
_local1.step = 51;
}
} else if (_local1.step == 51) {
_local1.gotoAndStop("text6");
_local1.whiteIn();
_local1.mDammy.onPress = function () {
var _local1 = this;
_local1._parent.gotoAndStop("none");
_local1._parent.step = 60;
_local1.onPress = function () {
};
_local1._parent.whiteOut();
};
} else if (_local1.step == 60) {
_local1.endHelp();
}
};
}
function whiteIn() {
var _local1 = this;
_local1.mDammy2._xscale = (_local1.mDammy2._yscale = 10000);
_local1.mDammy2._visible = true;
}
function whiteOut() {
this.mDammy2._visible = false;
}
this.mDammy.onPress = function () {
};
this.mDammy._xscale = (this.mDammy._yscale = 100000);
this.mDammy.useHandCursor = false;
this._visible = false;
this.whiteOut();
Symbol 898 MovieClip Frame 2
this.stop();
Symbol 904 MovieClip Frame 1
this.onPress = function () {
this._parent.pressFunction(this);
};
this.onRollOver = (this.onDragOver = function () {
if (!this._parent.bSelect) {
this.gotoAndPlay("over");
}
});
this.onRollOut = (this.onDragOut = function () {
if (!this._parent.bSelect) {
this.gotoAndPlay("out");
}
});
this.stop();
Symbol 904 MovieClip Frame 10
this.stop();
Symbol 904 MovieClip Frame 20
this.stop();
Symbol 904 MovieClip Frame 30
this.stop();
Symbol 904 MovieClip Frame 41
this.stop();
Symbol 907 MovieClip Frame 1
function pressFunction() {
getURL ("javascript:close();", "_self");
}
function toResize(x, y) {
this._x = Stage.width;
this._y = 0;
}
_global.stageListener.subscribe(this);
Symbol 910 MovieClip Frame 1
function pressFunction() {
var _local1 = this;
if (!_local1.bSelect) {
_local1.bSelect = true;
_local1.mBtn.gotoAndPlay("select");
_local1._parent.mHelp.startHelp();
} else {
_local1.bSelect = false;
_local1.mBtn.gotoAndPlay("selectout");
_local1._parent.mHelp.endHelp();
}
}
function toResize(x, y) {
this._x = Stage.width;
this._y = 0;
}
function helpend() {
this.bSelect = false;
this.mBtn.gotoAndPlay("selectout");
}
this.bSelect = false;
_global.stageListener.subscribe(this);
Symbol 913 MovieClip Frame 1
function pressFunction() {
var _local1 = this;
if (_local1.bSelect) {
_local1.bSelect = false;
_local1.mBtn.gotoAndPlay("selectout");
_local1._parent.BGM.setVolume(0);
} else {
_local1.bSelect = true;
_local1.mBtn.gotoAndPlay("select");
_local1._parent.BGM.setVolume(100);
}
}
function toResize(x, y) {
this._x = Stage.width;
this._y = 0;
}
_global.stageListener.subscribe(this);
this.bSelect = false;
this.pressFunction();
this.mySound = new Sound(_root);