Instance of Symbol 7 MovieClip in Frame 1
//component parameters
onClipEvent (construct) {
startLabel = "start";
proportion = "100%";
}
Frame 2
stop();
Instance of Symbol 15 MovieClip "kao_02" in Frame 2
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 18 MovieClip "kao_03" in Frame 2
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 50 MovieClip "cap" in Frame 2
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 55 MovieClip "nema" in Frame 2
onClipEvent (load) {
this._visible = false;
}
Symbol 7 MovieClip Frame 1
_parent.stop();
preLoad = parseInt(proportion);
this.onEnterFrame = function () {
preLoadBytes = (_parent.getBytesTotal() * preLoad) / 100;
count = Math.round((_parent.getBytesLoaded() / preLoadBytes) * 100);
bar._x = (count * 1.5) - 150;
if (count >= 100) {
_parent.gotoAndPlay(startLabel);
}
};
Instance of Symbol 60 MovieClip in Symbol 66 MovieClip Frame 1
on (press) {
this.startDrag(true, 9, 15, 9, 65);
}
on (release, releaseOutside) {
this.stopDrag();
orgY = _y;
toumei = ((50 - (orgY - 15)) / 50) * 100;
_parent._parent._parent.fuku_01._alpha = toumei;
_parent._parent._parent.fuku_02._alpha = toumei;
_parent._parent._parent.fuku_k._alpha = toumei;
_parent._parent._parent.nema._alpha = toumei;
}
Instance of Symbol 61 MovieClip in Symbol 66 MovieClip Frame 1
on (press) {
this.startDrag(true, 45.5, 15, 45.5, 65);
}
on (release, releaseOutside) {
this.stopDrag();
orgY = _y;
toumei = ((50 - (orgY - 15)) / 50) * 100;
_parent._parent._parent.sh_01._alpha = toumei;
_parent._parent._parent.sh_02._alpha = toumei;
_parent._parent._parent.sh_k._alpha = toumei;
}
Instance of Symbol 62 MovieClip in Symbol 66 MovieClip Frame 1
on (press) {
this.startDrag(true, 81.5, 15, 81.5, 65);
}
on (release, releaseOutside) {
this.stopDrag();
orgY = _y;
toumei = ((50 - (orgY - 15)) / 50) * 100;
_parent._parent._parent.sk._alpha = toumei;
_parent._parent._parent.sk_k._alpha = toumei;
}
Instance of Symbol 63 MovieClip in Symbol 66 MovieClip Frame 1
on (press) {
this.startDrag(true, 117, 15, 117, 65);
}
on (release, releaseOutside) {
this.stopDrag();
orgY = _y;
toumei = ((50 - (orgY - 15)) / 50) * 100;
_parent._parent._parent.pan._alpha = toumei;
}
Instance of Symbol 64 MovieClip in Symbol 66 MovieClip Frame 1
on (press) {
this.startDrag(true, 153, 15, 153, 65);
}
on (release, releaseOutside) {
this.stopDrag();
orgY = _y;
toumei = ((50 - (orgY - 15)) / 50) * 100;
_parent._parent._parent.pans._alpha = toumei;
}
Instance of Symbol 65 MovieClip in Symbol 66 MovieClip Frame 1
on (press) {
this.startDrag(true, 190, 15, 190, 65);
}
on (release, releaseOutside) {
this.stopDrag();
orgY = _y;
toumei = ((50 - (orgY - 15)) / 50) * 100;
_parent._parent._parent.hat._alpha = toumei;
_parent._parent._parent.cap._alpha = toumei;
}
Symbol 105 Button
on (release) {
if (icn_crown._visible) {
icn_crown._visible = false;
} else {
icn_crown._visible = true;
}
if (icn_crown._visible) {
_parent.crown._visible = true;
} else {
_parent.crown._visible = false;
}
}
Symbol 106 Button
on (release) {
if (icn_kutu._visible) {
icn_kutu._visible = false;
} else {
icn_kutu._visible = true;
}
if (icn_kutu._visible) {
_parent.kutsu._visible = true;
} else {
_parent.kutsu._visible = false;
}
}
Symbol 107 Button
on (release) {
if (icn_hat._visible) {
icn_hat._visible = false;
icn_cap._visible = true;
} else if (icn_cap._visible) {
icn_cap._visible = false;
} else {
icn_hat._visible = true;
}
if (icn_hat._visible) {
_parent.hat._visible = true;
} else if (icn_cap._visible) {
_parent.hat._visible = false;
_parent.cap._visible = true;
} else {
_parent.cap._visible = false;
}
}
Symbol 108 Button
on (release) {
if (icn_pans._visible) {
icn_pans._visible = false;
} else {
icn_pans._visible = true;
}
if (icn_pans._visible) {
_parent.pans._visible = true;
} else {
_parent.pans._visible = false;
}
}
Symbol 111 Button
on (release) {
if (icn_sk._visible) {
icn_sk._visible = false;
} else {
icn_sk._visible = true;
}
if (icn_sk._visible) {
_parent.sk._visible = true;
_parent.sk_k._visible = true;
} else {
_parent.sk._visible = false;
_parent.sk_k._visible = false;
}
}
Symbol 112 Button
on (release) {
if (icn_fuku._visible) {
icn_nema._visible = true;
icn_fuku._visible = false;
} else if (icn_nema._visible) {
icn_nema._visible = false;
} else {
icn_fuku._visible = true;
}
if (icn_fuku._visible) {
_parent.fuku_01._visible = true;
_parent.fuku_02._visible = true;
_parent.fuku_k._visible = true;
} else if (icn_nema._visible) {
_parent.nema._visible = true;
_parent.fuku_01._visible = false;
_parent.fuku_02._visible = false;
_parent.fuku_k._visible = false;
} else {
_parent.nema._visible = false;
}
}
Symbol 113 Button
on (release) {
if (icn_eye_1._visible) {
icn_eye_1._visible = false;
icn_eye_2._visible = true;
} else if (icn_eye_2._visible) {
icn_eye_2._visible = false;
icn_eye_3._visible = true;
} else {
icn_eye_3._visible = false;
icn_eye_1._visible = true;
}
if (icn_eye_1._visible) {
_parent.kao_01._visible = true;
_parent.kao_03._visible = false;
}
if (icn_eye_2._visible) {
_parent.kao_02._visible = true;
_parent.kao_01._visible = false;
}
if (icn_eye_3._visible) {
_parent.kao_03._visible = true;
_parent.kao_02._visible = false;
}
}
Symbol 115 Button
on (release) {
if (toumei._visible) {
toumei._visible = false;
} else {
toumei._visible = true;
}
}
Instance of Symbol 66 MovieClip "toumei" in Symbol 116 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 70 MovieClip "waku" in Symbol 116 MovieClip Frame 1
on (press) {
_parent._parent.cont.startDrag(true, 0, 0, 800, 600);
}
on (release, releaseOutside) {
_parent._parent.cont.stopDrag();
}
Instance of Symbol 73 MovieClip "icn_cap" in Symbol 116 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 91 MovieClip "icn_nema" in Symbol 116 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 100 MovieClip "icn_eye_2" in Symbol 116 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 103 MovieClip "icn_eye_3" in Symbol 116 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 109 MovieClip "btn_kubi" in Symbol 116 MovieClip Frame 1
on (release) {
if (_parent.icn_pan._visible) {
_parent.icn_pan._visible = false;
} else {
_parent.icn_pan._visible = true;
}
if (_parent.icn_pan._visible) {
_parent._parent.pan._visible = true;
} else {
_parent._parent.pan._visible = false;
}
}
Instance of Symbol 109 MovieClip "btn_hada" in Symbol 116 MovieClip Frame 1
on (release) {
if (_parent.icn_sh._visible) {
_parent.icn_sh._visible = false;
} else {
_parent.icn_sh._visible = true;
}
if (_parent.icn_sh._visible) {
_parent._parent.sh_01._visible = true;
_parent._parent.sh_02._visible = true;
_parent._parent.sh_k._visible = true;
} else {
_parent._parent.sh_01._visible = false;
_parent._parent.sh_02._visible = false;
_parent._parent.sh_k._visible = false;
}
}