Frame 1
function fuKeyDown() {
if ((Key.getCode() == 46) || (Key.getCode() == 32)) {
this.fuShiruDelete();
} else if ((Key.getCode() == 38) || (Key.getCode() == 40)) {
this.fuViewJpgLoader();
} else if (Key.getCode() == 16) {
this.fuCharaLock();
}
}
function fuViewJpgLoader() {
Mouse.show();
if (this.mcJpgLoader == undefined) {
this.attachMovie("mcJpgLoader", "mcJpgLoader", 10000);
this.mcJpgLoader._x = 320;
this.mcJpgLoader._y = 240;
this.mcJpgLoader.gotoAndPlay(this.nMenu);
} else {
removeMovieClip(this.mcJpgLoader);
}
}
function fuShiruDelete() {
i = 0;
while (i <= this.mcShiru.nCount) {
removeMovieClip(this.mcShiru["mcShiru" + i]);
i++;
}
this.mcShiru.nCount = 0;
}
function fuSoundSe(nNum) {
this.mcSe.gotoAndPlay("laSe" + nNum);
}
function fuGageDelete() {
this.mcShiru.nGage = 0;
removeMovieClip(this.mcGage);
}
function fuCharaLock() {
this.mcChara.bLock = !this.mcChara.bLock;
}
Stage.scaleMode = "noScale";
this._lockroot = true;
this.mcShiru.nCount = 0;
this.strInputA = "";
this.strInputF = "a_";
this.strInputN = "0001";
this.strInputZ = "jpg";
this.nMenu = 1;
this.obWheel = new Object();
this.obWheel.onMouseWheel = function (delta, target_mc) {
_root.fuViewJpgLoader();
};
Mouse.addListener(obWheel);
this.mcChara.onEnterFrame = function () {
if (this.bLock == false) {
var _local4 = 0.3125 * (_root._xmouse - 160);
var _local3 = 0.416666666666667 * (_root._ymouse - 120);
if (_local4 > 124) {
_local4 = 124;
} else if (_local4 < -24) {
_local4 = -24;
}
if (_local3 > 109) {
_local3 = 109;
} else if (_local3 < -9) {
_local3 = -9;
}
var _local6 = this._width;
var _local5 = this._height;
if (_local6 > 640) {
nTempX = (_local4 / (100 / (_local6 - 640))) - (_local6 / 2);
nTempX = -nTempX;
} else {
nTempX = 320;
}
if (_local5 > 480) {
nTempY = (_local3 / (100 / (_local5 - 480))) - (_local5 / 2);
nTempY = -nTempY;
} else {
nTempY = 240;
}
var _local8 = (nTempX - this._x) / 8;
if (Math.abs(_local8) <= 0.2) {
this._x = nTempX;
} else {
this._x = this._x + _local8;
}
var _local7 = (nTempY - this._y) / 8;
if (Math.abs(_local7) <= 0.2) {
this._y = nTempY;
} else {
this._y = this._y + _local7;
}
this._parent.mcShiru._x = this._x;
this._parent.mcShiru._y = this._y;
}
};
this.mcShiru.onEnterFrame = function () {
if (_root.mcJpgLoader == undefined) {
if (this.bMouse == true) {
var _local3 = this.nGage + this.nGageUp;
if (_local3 > 100) {
_local3 = 100;
this.nGageUp = -this.nGageUp;
} else if (_local3 < 0) {
_local3 = 0;
this.nGageUp = -this.nGageUp;
}
this.nGage = _local3;
_root.mcGage.mcBar._yscale = this.nGage;
}
} else {
_root.fuGageDelete();
}
};
this.mcShiru.onMouseDown = function () {
if (_root.mcJpgLoader == undefined) {
this.bMouse = true;
_root.attachMovie("mcGage", "mcGage", 10);
}
};
this.mcShiru.onMouseUp = function () {
this.bMouse = false;
if (_root.mcJpgLoader == undefined) {
this.nCount++;
var _local3 = this.nCount;
var _local4 = Math.floor(Math.random() * 10) + 1;
this.attachMovie("mcShiru" + _local4, "mcShiru" + _local3, 100 + _local3);
this["mcShiru" + _local3]._x = -(this._x - _root._xmouse);
this["mcShiru" + _local3]._y = -(this._y - _root._ymouse);
this["mcShiru" + _local3]._alpha = 90;
this["mcShiru" + _local3]._xscale = 50 + this.nGage;
this["mcShiru" + _local3]._yscale = 50 + this.nGage;
this["mcShiru" + _local3].nVectY = this.nGage / 2;
_root.fuSoundSe(1);
_root.fuGageDelete();
}
};
stop();
Instance of Symbol 164 MovieClip "mcChara" in Frame 1
onClipEvent (load) {
var bLock = false;
}
Instance of Symbol 165 MovieClip "mcShiru" in Frame 1
onClipEvent (load) {
var bMouse = false;
var nGage = 0;
var nGageUp = 5;
}
onClipEvent (keyDown) {
_root.fuKeyDown();
}
Symbol 11 MovieClip [mcShiru10] Frame 1
this.onEnterFrame = function () {
this._y = this._y - this.nVectY;
};
Symbol 11 MovieClip [mcShiru10] Frame 5
delete this.onEnterFrame;
Symbol 11 MovieClip [mcShiru10] Frame 10
stop();
Symbol 19 MovieClip [mcShiru9] Frame 1
this.onEnterFrame = function () {
this._y = this._y - this.nVectY;
};
Symbol 19 MovieClip [mcShiru9] Frame 4
delete this.onEnterFrame;
Symbol 19 MovieClip [mcShiru9] Frame 7
stop();
Symbol 35 MovieClip [mcShiru8] Frame 1
this.onEnterFrame = function () {
this._y = this._y - this.nVectY;
};
Symbol 35 MovieClip [mcShiru8] Frame 3
delete this.onEnterFrame;
Symbol 35 MovieClip [mcShiru8] Frame 15
stop();
Symbol 46 MovieClip [mcShiru7] Frame 1
this.onEnterFrame = function () {
this._y = this._y - this.nVectY;
};
Symbol 46 MovieClip [mcShiru7] Frame 4
delete this.onEnterFrame;
Symbol 46 MovieClip [mcShiru7] Frame 10
stop();
Symbol 57 MovieClip [mcShiru6] Frame 1
this.onEnterFrame = function () {
this._y = this._y - this.nVectY;
};
Symbol 57 MovieClip [mcShiru6] Frame 4
delete this.onEnterFrame;
Symbol 57 MovieClip [mcShiru6] Frame 10
stop();
Symbol 68 MovieClip [mcShiru5] Frame 1
this.onEnterFrame = function () {
this._y = this._y - this.nVectY;
};
Symbol 68 MovieClip [mcShiru5] Frame 4
delete this.onEnterFrame;
Symbol 68 MovieClip [mcShiru5] Frame 10
stop();
Symbol 76 MovieClip [mcShiru4] Frame 1
this.onEnterFrame = function () {
this._y = this._y - this.nVectY;
};
Symbol 76 MovieClip [mcShiru4] Frame 4
delete this.onEnterFrame;
Symbol 76 MovieClip [mcShiru4] Frame 7
stop();
Symbol 85 MovieClip [mcShiru3] Frame 1
this.onEnterFrame = function () {
this._y = this._y - this.nVectY;
};
Symbol 85 MovieClip [mcShiru3] Frame 5
delete this.onEnterFrame;
Symbol 85 MovieClip [mcShiru3] Frame 8
stop();
Symbol 96 MovieClip [mcShiru2] Frame 1
this.onEnterFrame = function () {
this._y = this._y - this.nVectY;
};
Symbol 96 MovieClip [mcShiru2] Frame 5
delete this.onEnterFrame;
Symbol 96 MovieClip [mcShiru2] Frame 11
stop();
Symbol 104 MovieClip [mcShiru1] Frame 1
this.onEnterFrame = function () {
this._y = this._y - this.nVectY;
};
Symbol 104 MovieClip [mcShiru1] Frame 4
delete this.onEnterFrame;
Symbol 104 MovieClip [mcShiru1] Frame 7
stop();
Symbol 116 MovieClip Frame 1
this.mcButton._x = _root.mcChara._xscale - 100;
this.onEnterFrame = function () {
var _local3 = this.mcButton._x + 100;
if (_local3 <= 0) {
_local3 = 1;
}
_root.mcChara._xscale = _local3;
_root.mcChara._yscale = _local3;
};
this.mcButton.onPress = function () {
this.startDrag(true, -100, 0, 100, 0);
};
this.mcButton.onRelease = function () {
this.stopDrag();
};
this.mcButton.onReleaseOutside = function () {
this.stopDrag();
};
stop();
Symbol 157 MovieClip [mcJpgLoader] Frame 1
function fuFileLoad(nNum) {
var _local5 = this.strInputN.length;
var _local3;
var _local4 = "";
var _local6 = false;
if (this.strInputN != "") {
i = 0;
while (i < _local5) {
_local3 = this.strInputN.charAt(i);
if (_local3 == 0) {
if (_local6 == false) {
_local4 = _local4 + "";
} else {
_local4 = _local4 + ("" + _local3);
}
} else {
_local6 = true;
_local4 = _local4 + ("" + _local3);
}
i++;
}
if (_local4 == "") {
_local4 = "0";
}
var _local8 = parseInt(_local4);
_local8 = _local8 + nNum;
if ((_local8 < 0) || (_local8 == NaN)) {
_local8 = 0;
}
var _local9 = "" + _local8;
var _local11 = _local9.length;
if (_local11 > _local5) {
_local5++;
}
var _local7 = "";
i = 0;
while (i < _local5) {
_local7 = _local7 + "0";
i++;
}
_local7 = _local7 + _local9;
nChackA = _local7.length - _local5;
_local9 = _local7.substr(nChackA, _local5);
} else {
var _local9 = "";
}
var _local10 = ((this.strInputF + _local9) + ".") + this.strInputZ;
_root.strInputF = this.strInputF;
_root.strInputN = _local9;
_root.strInputZ = this.strInputZ;
this.strInputN = _local9;
_root.fuShiruDelete();
_root.mcChara.gotoAndStop(2);
_root.mcChara.mcImage._lockroot = true;
_root.mcChara.mcImage.loadMovie(_local10);
Mouse.show();
}
this.strInputF = _root.strInputF;
this.strInputN = _root.strInputN;
this.strInputZ = _root.strInputZ;
this.buDefault.onRelease = function () {
_root.fuShiruDelete();
_root.mcChara.gotoAndStop(1);
Mouse.show();
};
this.buLoad.onRelease = function () {
this._parent.fuFileLoad(0);
};
this.buNext.onRelease = function () {
this._parent.fuFileLoad(1);
};
this.buBack.onRelease = function () {
this._parent.fuFileLoad(-1);
};
this.buAll.onRelease = function () {
_root.nMenu = 2;
this._parent.gotoAndStop(2);
};
this.bu100.onRelease = function () {
this._parent.mcScaleBar.mcButton._x = 0;
};
stop();
Symbol 157 MovieClip [mcJpgLoader] Frame 2
this.strInputA = _root.strInputA;
this.buLoad.onRelease = function () {
var _local3 = this._parent.strInputA;
_root.strInputA = _local3;
_root.fuShiruDelete();
_root.mcChara.gotoAndStop(2);
_root.mcChara.mcImage._lockroot = true;
_root.mcChara.mcImage.loadMovie(_local3);
Mouse.show();
};
this.buDefault.onRelease = function () {
_root.fuShiruDelete();
_root.mcChara.gotoAndStop(1);
Mouse.show();
};
this.buMulti.onRelease = function () {
_root.nMenu = 1;
this._parent.gotoAndStop(1);
};
stop();
Symbol 160 MovieClip [mcGage] Frame 1
this.onEnterFrame = function () {
this._x = _root._xmouse - this._width;
this._y = _root._ymouse;
};
stop();
Symbol 164 MovieClip Frame 1
stop();
Instance of Symbol 163 MovieClip "mcImage" in Symbol 164 MovieClip Frame 2
onClipEvent (load) {
this._lockroot = true;
}
onClipEvent (enterFrame) {
this._x = -(this._width / 2);
this._y = -(this._height / 2);
}
Symbol 165 MovieClip Frame 1
stop();
Symbol 167 MovieClip Frame 5
stop();
Symbol 167 MovieClip Frame 10
stop();