Frame 1
function AllgV(a) {
rootSound.setVolume(a);
}
function startBGM() {
soundMC = new Sound(soundMC);
soundMC.attachSound("bgSound");
soundMC.start(0, 9999);
soundMC.setVolume(v);
}
function outBGM() {
this.onEnterFrame = function () {
_root.v = _root.v - 5;
soundMC.setVolume(_root.v);
if (v <= 5) {
v = 5;
soundMC.setVolume(_root.v);
delete this.onEnterFrame;
}
};
}
function inBGM() {
this.onEnterFrame = function () {
_root.v = _root.v + 5;
soundMC.setVolume(_root.v);
if (v >= 40) {
v = 40;
soundMC.setVolume(_root.v);
delete this.onEnterFrame;
}
};
}
var rootSound = new Sound();
AllgV(100);
var v = 40;
this.createEmptyMovieClip("soundMC", 500);
var SoundObj = new Sound(soundMC);
function init() {
_global.eyeC = 30;
_global.cheekC = 30;
_global.lipC = 30;
total = 0;
eyeNo = (cheekNo = (lipNo = 1));
hairNo = 0;
eyePoint = eyeP[eyeNo];
cheekPoint = cheekP[cheekNo];
lipPoint = lipP[lipNo];
hairPoint = hairP[hairNo];
kagami_mc.makeUp_mc.hair._alpha = 0;
item_mc.pointInit();
}
function keisan() {
total = ((eyePoint + cheekPoint) + lipPoint) + hairPoint;
}
function makeUp() {
var _local4 = this.kagami_mc.makeUp_mc;
_local4.eye._alpha = _global.eyeC;
_local4.cheek._alpha = _global.cheekC;
_local4.lip._alpha = _global.lipC;
_local4.eye.gotoAndStop(eyeNo);
_local4.cheek.gotoAndStop(cheekNo);
_local4.lip.gotoAndStop(lipNo);
_local4.hair.gotoAndStop(hairNo + 1);
_local4.hair.toA(100, 0.2, 0.8);
trace("eyePoint----" + _root.eyePoint);
trace("lipPoint----" + _root.lipPoint);
trace("cheekPoint----" + _root.cheekPoint);
trace("hairPoint----" + _root.hairPoint);
}
function step3() {
black_mc.fIn();
}
function step3_2() {
var _local2 = new mx.transitions.Tween(kagami_mc, "_x", mx.transitions.easing.Strong.easeOut, kagami_mc._x, kagami_mc.finiX, 0.7, true);
_local2 = new mx.transitions.Tween(table_mc, "_x", mx.transitions.easing.Strong.easeOut, table_mc._x, -66, 0.7, true);
_local2.onMotionFinished = function () {
_root.attachMovie("step3_mc", "step3_mc", 10);
};
}
function step4() {
this.attachMovie("step4_mc", "step4_mc", 10);
}
function finish() {
if (total <= 25) {
black_mc.out20();
} else {
black_mc.out();
}
}
function lastShizu() {
if (total > 80) {
this.attachMovie("shizu100", "shizu_mc", 5);
} else if (total > 50) {
this.attachMovie("shizu80", "shizu_mc", 5);
} else if (total > 25) {
this.attachMovie("shizu40", "shizu_mc", 5);
} else {
this.attachMovie("shizu20", "shizu_mc", 80);
}
}
function changeHart() {
if (total > 80) {
hart_mc.hart100();
} else if (total > 50) {
hart_mc.hart80();
} else if (total > 25) {
hart_mc.hart40();
} else {
hart_mc.hart20();
}
}
function finishStep() {
inBGM();
if (total > 80) {
this.attachMovie("step5-100_mc", "step5_mc", 10);
} else if (total > 50) {
this.attachMovie("step5-80_mc", "step5_mc", 10);
} else if (total > 25) {
this.attachMovie("step5-40_mc", "step5_mc", 10);
} else {
this.attachMovie("step5-20_mc", "step5_mc", 10);
}
}
function retry() {
kawaiido.removeMovieClip();
hart_mc.out();
step5_mc.out();
shizu_mc.out();
kagami_mc.out();
black_mc.fOut();
table_mc.out();
}
Stage.scaleMode = "noScale";
System.useCodepage = true;
Stage.align = "T";
Stage.showMenu = false;
stop();
_global.eyeC;
_global.cheekC;
_global.lipC;
var total = 0;
var eyePoint = 0;
var eyeNo = 1;
var eyeP = ["", 12, 15, 10, 12, 7, 7, 12, 10, 5, 10];
var cheekPoint = 0;
var cheekNo = 1;
var cheekP = ["", 15, 12, 12, 10, 5, 10];
var lipPoint = 0;
var lipNo = 1;
var lipP = ["", 10, 15, 20, 10, 15, 5, 5, 8, 8];
var hairPoint = 0;
var hairNo = 0;
var hairP = [0, 30, 45, 20, 20, 50, 40, 25, 35, 30, 5, 10, 20];
init();
makeUp();
Frame 3
this.gotoAndStop(this._currentframe - 1);
Frame 26
this.attachMovie("start_mc", "start_mc", 10);
startBGM();
stop();
Symbol 3 MovieClip [loader] Frame 1
#initclip 9
Object.registerClass("loader", DrawArc);
#endinitclip
Symbol 8 MovieClip Frame 1
this.swapDepths(7000);
Symbol 14 MovieClip Frame 1
function loading() {
sizeTotal = _parent.getBytesTotal();
this.onEnterFrame = function () {
sizeLoaded = _parent.getBytesLoaded();
percent = Math.floor((360 * sizeLoaded) / sizeTotal);
mc.drawLine(35, 4, 23, percent, 70, 15, 16752588, 100);
if (sizeLoaded >= sizeTotal) {
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
delete this.onEnterFrame;
_parent.gotoAndPlay("init");
}
}
};
}
mc = new DrawArc(loader_mc.arc_mc);
slider.changeHandler = change;
loading();
Symbol 16 MovieClip Frame 1
this.swapDepths(9999);
Symbol 493 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 494 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 495 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween
{
var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime;
function Tween (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
position = (begin);
this.duration = (duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.finish = (finish);
_listeners = [];
addListener(this);
start();
}
function set time(t) {
prevTime = _time;
if (t > duration) {
if (looping) {
rewind(t - _duration);
update();
broadcastMessage("onMotionLooped", this);
} else {
if (useSeconds) {
_time = _duration;
update();
}
stop();
broadcastMessage("onMotionFinished", this);
}
} else if (t < 0) {
rewind();
update();
} else {
_time = t;
update();
}
//return(time);
}
function get time() {
return(_time);
}
function set duration(d) {
_duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d));
//return(duration);
}
function get duration() {
return(_duration);
}
function set FPS(fps) {
var _local2 = isPlaying;
stopEnterFrame();
_fps = fps;
if (_local2) {
startEnterFrame();
}
//return(FPS);
}
function get FPS() {
return(_fps);
}
function set position(p) {
setPosition(p);
//return(position);
}
function setPosition(p) {
prevPos = _pos;
obj[prop] = (_pos = p);
broadcastMessage("onMotionChanged", this, _pos);
updateAfterEvent();
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
return(func(t, begin, change, _duration));
}
function set finish(f) {
change = f - begin;
//return(finish);
}
function get finish() {
return(begin + change);
}
function continueTo(finish, duration) {
begin = position;
this.finish = (finish);
if (duration != undefined) {
this.duration = (duration);
}
start();
}
function yoyo() {
continueTo(begin, time);
}
function startEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.addListener(this);
} else {
_intervalID = setInterval(this, "onEnterFrame", 1000 / _fps);
}
isPlaying = true;
}
function stopEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(_intervalID);
}
isPlaying = false;
}
function start() {
rewind();
startEnterFrame();
broadcastMessage("onMotionStarted", this);
}
function stop() {
stopEnterFrame();
broadcastMessage("onMotionStopped", this);
}
function resume() {
fixTime();
startEnterFrame();
broadcastMessage("onMotionResumed", this);
}
function rewind(t) {
_time = ((t == undefined) ? 0 : (t));
fixTime();
update();
}
function fforward() {
time = (_duration);
fixTime();
}
function nextFrame() {
if (useSeconds) {
time = ((getTimer() - _startTime) / 1000);
} else {
time = (_time + 1);
}
}
function onEnterFrame() {
nextFrame();
}
function prevFrame() {
if (!useSeconds) {
time = (_time - 1);
}
}
function toString() {
return("[Tween]");
}
function fixTime() {
if (useSeconds) {
_startTime = getTimer() - (_time * 1000);
}
}
function update() {
position = (getPosition(_time));
}
static var version = "1.1.0.52";
static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init();
static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
function func(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 496 MovieClip [__Packages.mx.transitions.easing.Strong] Frame 0
class mx.transitions.easing.Strong
{
function Strong () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return((((((c * t) * t) * t) * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = (t / d) - 1;
return((c * (((((t * t) * t) * t) * t) + 1)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return(((((((c / 2) * t) * t) * t) * t) * t) + b);
}
t = t - 2;
return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b);
}
static var version = "1.1.0.52";
}
Symbol 497 MovieClip [__Packages.DrawArc] Frame 0
class DrawArc
{
var mc;
function DrawArc (target) {
mc = target;
}
function drawLine(x, y, radius, arc, startAngle, thickness, color, alpha, yRadius) {
mc.clear();
mc.lineStyle(thickness, color, alpha, false, "none", "none");
mc.moveTo(x, y);
if (arguments.length < 8) {
return(undefined);
}
if (yRadius == undefined) {
yRadius = radius;
}
if (Math.abs(arc) > 360) {
arc = 360;
}
var _local15 = Math.ceil(Math.abs(arc) / 45);
var _local17 = arc / _local15;
var _local4 = (-(_local17 / 180)) * Math.PI;
var _local3 = (-(startAngle / 180)) * Math.PI;
var _local13 = x - (Math.cos(_local3) * radius);
var _local12 = y - (Math.sin(_local3) * yRadius);
if (_local15 > 0) {
var _local6 = 0;
while (_local6 < _local15) {
_local3 = _local3 + _local4;
var _local5 = _local3 - (_local4 / 2);
var _local10 = _local13 + (Math.cos(_local3) * radius);
var _local8 = _local12 + (Math.sin(_local3) * yRadius);
var _local9 = _local13 + (Math.cos(_local5) * (radius / Math.cos(_local4 / 2)));
var _local7 = _local12 + (Math.sin(_local5) * (yRadius / Math.cos(_local4 / 2)));
mc.curveTo(_local9, _local7, _local10, _local8);
_local6++;
}
}
}
}
Symbol 498 MovieClip [__Packages.mx.transitions.easing.Elastic] Frame 0
class mx.transitions.easing.Elastic
{
function Elastic () {
}
static function easeIn(t, b, c, d, a, p) {
if (t == 0) {
return(b);
}
t = t / d;
if (t == 1) {
return(b + c);
}
if (!p) {
p = d * 0.3;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
var _local7 = p / 4;
} else {
var _local7 = (p / (Math.PI*2)) * Math.asin(c / a);
}
t = t - 1;
return((-((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p))) + b);
}
static function easeOut(t, b, c, d, a, p) {
if (t == 0) {
return(b);
}
t = t / d;
if (t == 1) {
return(b + c);
}
if (!p) {
p = d * 0.3;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
var _local7 = p / 4;
} else {
var _local7 = (p / (Math.PI*2)) * Math.asin(c / a);
}
return((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p)) + c) + b);
}
static function easeInOut(t, b, c, d, a, p) {
if (t == 0) {
return(b);
}
t = t / (d / 2);
if (t == 2) {
return(b + c);
}
if (!p) {
p = d * 0.45;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
var _local7 = p / 4;
} else {
var _local7 = (p / (Math.PI*2)) * Math.asin(c / a);
}
if (t < 1) {
t = t - 1;
return((-0.5 * ((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p))) + b);
}
t = t - 1;
return(((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p)) * 0.5) + c) + b);
}
static var version = "1.1.0.52";
}
Symbol 499 MovieClip [__Packages.mx.transitions.easing.Back] Frame 0
class mx.transitions.easing.Back
{
function Back () {
}
static function easeIn(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = t / d;
return((((c * t) * t) * (((s + 1) * t) - s)) + b);
}
static function easeOut(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = (t / d) - 1;
return((c * (((t * t) * (((s + 1) * t) + s)) + 1)) + b);
}
static function easeInOut(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = t / (d / 2);
if (t < 1) {
s = s * 1.525;
return(((c / 2) * ((t * t) * (((s + 1) * t) - s))) + b);
}
t = t - 2;
s = s * 1.525;
return(((c / 2) * (((t * t) * (((s + 1) * t) + s)) + 2)) + b);
}
static var version = "1.1.0.52";
}
Symbol 500 MovieClip [__Packages.DoMotion] Frame 0
class DoMotion extends MovieClip
{
var onEnterFrame;
function DoMotion () {
super();
}
function toA(toA, argWeight, argRatio) {
var va = 0;
onEnterFrame = function () {
va = (va + ((toA - this._alpha) / argRatio)) * argWeight;
var _local2 = this._alpha;
this._alpha = this._alpha + va;
if (Math.abs(this._alpha - _local2) < 0.001) {
this._alpha = toA;
delete this.onEnterFrame;
}
};
}
function toXY(toX, toY, argWeight, argRatio) {
var vx = 0;
var vy = 0;
onEnterFrame = function () {
vx = (vx + ((toX - this._x) / argRatio)) * argWeight;
vy = (vy + ((toY - this._y) / argRatio)) * argWeight;
var _local3 = this._x;
var _local2 = this._y;
this._x = this._x + vx;
this._y = this._y + vy;
if ((Math.abs(this._x - _local3) < 0.001) && (Math.abs(this._y - _local2) < 0.001)) {
this._x = toX;
this._y = toY;
delete this.onEnterFrame;
}
};
}
function toXYA(toX, toY, toA, argWeight, argRatio) {
var vx = 0;
var vy = 0;
var va = 0;
onEnterFrame = function () {
vx = (vx + ((toX - this._x) / argRatio)) * argWeight;
vy = (vy + ((toY - this._y) / argRatio)) * argWeight;
va = (va + ((toA - this._alpha) / argRatio)) * argWeight;
var _local4 = this._x;
var _local3 = this._y;
var _local2 = this._alpha;
this._x = this._x + vx;
this._y = this._y + vy;
this._alpha = this._alpha + va;
if (((Math.abs(this._x - _local4) < 0.001) && (Math.abs(this._y - _local3) < 0.001)) && (Math.abs(this._alpha - _local2) < 0.001)) {
this._x = toX;
this._y = toY;
this._alpha = toA;
delete this.onEnterFrame;
}
};
}
function toH(toH, argWeight, argRatio) {
var vh = 0;
onEnterFrame = function () {
vh = (vh + ((toH - this._yscale) / argRatio)) * argWeight;
var _local2 = this._yscale;
this._yscale = this._yscale + vh;
if (Math.abs(this._yscale - _local2) < 0.001) {
this._yscale = toH;
delete this.onEnterFrame;
}
};
}
function toWH(toW, toH, argWeight, argRatio) {
var vw = 0;
var vh = 0;
onEnterFrame = function () {
vw = (vw + ((toW - this._xscale) / argRatio)) * argWeight;
vh = (vh + ((toH - this._yscale) / argRatio)) * argWeight;
var _local2 = this._xscale;
var _local3 = this._yscale;
this._xscale = this._xscale + vw;
this._yscale = this._yscale + vh;
if ((Math.abs(this._xscale - _local2) < 0.001) && (Math.abs(this._yscale - _local3) < 0.001)) {
this._xscale = toW;
this._yscale = toH;
delete this.onEnterFrame;
}
};
}
function toWHA(toW, toH, toA, argWeight, argRatio) {
var vw = 0;
var vh = 0;
var va = 0;
onEnterFrame = function () {
vw = (vw + ((toW - this._xscale) / argRatio)) * argWeight;
vh = (vh + ((toH - this._yscale) / argRatio)) * argWeight;
va = (va + ((toA - this._alpha) / argRatio)) * argWeight;
var _local3 = this._xscale;
var _local4 = this._yscale;
var _local2 = this._alpha;
this._xscale = this._xscale + vw;
this._yscale = this._yscale + vh;
this._alpha = this._alpha + va;
if (((Math.abs(this._xscale - _local3) < 0.001) && (Math.abs(this._yscale - _local4) < 0.001)) && (Math.abs(this._alpha - _local2) < 0.001)) {
this._xscale = toW;
this._yscale = toH;
this._alpha = toA;
delete this.onEnterFrame;
}
};
}
function toXYWHRA(toX, toY, toA, toW, toH, toR, argWeight, argRatio) {
var vw = 0;
var vh = 0;
var vx = 0;
var vy = 0;
var vr = 0;
var va = 0;
onEnterFrame = function () {
vw = (vw + ((toW - this._xscale) / argRatio)) * argWeight;
vh = (vh + ((toH - this._yscale) / argRatio)) * argWeight;
vx = (vx + ((toX - this._x) / argRatio)) * argWeight;
vy = (vy + ((toY - this._y) / argRatio)) * argWeight;
vr = (vr + ((toR - this._rotation) / argRatio)) * argWeight;
va = (va + ((toA - this._alpha) / argRatio)) * argWeight;
var _local6 = this._xscale;
var _local7 = this._yscale;
var _local5 = this._x;
var _local4 = this._y;
var _local2 = this._alpha;
var _local3 = this._rotation;
this._xscale = this._xscale + vw;
this._yscale = this._yscale + vh;
this._x = this._x + vx;
this._y = this._y + vy;
this._alpha = this._alpha + va;
this._rotation = this._rotation + vr;
if ((((((Math.abs(this._xscale - _local6) < 0.001) && (Math.abs(this._yscale - _local7) < 0.001)) && (Math.abs(this._x - _local5) < 0.001)) && (Math.abs(this._y - _local4) < 0.001)) && (Math.abs(this._rotation - _local3) < 0.001)) && (Math.abs(this._alpha - _local2) < 0.001)) {
this._xscale = toW;
this._yscale = toH;
this._x = toX;
this._y = toY;
this._rotation = toR;
this._alpha = toA;
delete this.onEnterFrame;
}
};
}
function toXYWHR(toX, toY, toW, toH, toR, argWeight, argRatio, argX, argY) {
var vw = 0;
var vh = 0;
var vx = 0;
var vy = 0;
var vr = 0;
onEnterFrame = function () {
vw = (vw + ((toW - this._xscale) / argRatio)) * argWeight;
vh = (vh + ((toH - this._yscale) / argRatio)) * argWeight;
vx = (vx + ((toX - this._x) / argRatio)) * argWeight;
vy = (vy + ((toY - this._y) / argRatio)) * argWeight;
vr = (vr + ((toR - this._rotation) / argRatio)) * argWeight;
var _local5 = this._xscale;
var _local6 = this._yscale;
var _local4 = this._x;
var _local3 = this._y;
var _local2 = this._rotation;
this._xscale = this._xscale + vw;
this._yscale = this._yscale + vh;
this._x = this._x + vx;
this._y = this._y + vy;
this._rotation = this._rotation + vr;
if (((((Math.abs(this._xscale - _local5) < 0.001) && (Math.abs(this._yscale - _local6) < 0.001)) && (Math.abs(this._x - _local4) < 0.001)) && (Math.abs(this._y - _local3) < 0.001)) && (Math.abs(this._rotation - _local2) < 0.001)) {
this._xscale = toW;
this._yscale = toH;
this._x = toX;
this._y = toY;
this._rotation = toR;
delete this.onEnterFrame;
}
};
}
function toXYWH(toX, toY, toW, toH, argWeight, argRatio, argX, argY) {
var vw = 0;
var vh = 0;
var vx = 0;
var vy = 0;
onEnterFrame = function () {
vw = (vw + ((toW - this._xscale) / argRatio)) * argWeight;
vh = (vh + ((toH - this._yscale) / argRatio)) * argWeight;
vx = (vx + ((toX - this._x) / argRatio)) * argWeight;
vy = (vy + ((toY - this._y) / argRatio)) * argWeight;
var _local4 = this._xscale;
var _local5 = this._yscale;
var _local3 = this._x;
var _local2 = this._y;
this._xscale = this._xscale + vw;
this._yscale = this._yscale + vh;
this._x = this._x + vx;
this._y = this._y + vy;
if ((((Math.abs(this._xscale - _local4) < 0.001) && (Math.abs(this._yscale - _local5) < 0.001)) && (Math.abs(this._x - _local3) < 0.001)) && (Math.abs(this._y - _local2) < 0.001)) {
this._xscale = toW;
this._yscale = toH;
this._x = toX;
this._y = toY;
delete this.onEnterFrame;
}
};
}
}
Symbol 19 MovieClip [bg3] Frame 1
#initclip 34
Object.registerClass("bg3", DoMotion);
#endinitclip
function out() {
this.toXY(0, this._y, 0.2, 0.7);
}
Symbol 23 MovieClip [cheek_color] Frame 1
#initclip 10
Object.registerClass("cheek_color", DoMotion);
#endinitclip
this.gotoAndStop(this._parent.no);
Symbol 36 MovieClip [cheek_ov2] Frame 1
#initclip 11
Object.registerClass("cheek_ov2", DoMotion);
#endinitclip
this.gotoAndStop(this._parent.no);
Symbol 38 MovieClip [Dummy_mc] Frame 1
onPress = function () {
};
this.useHandCursor = false;
this._alpha = 0;
Symbol 42 MovieClip [eye_color] Frame 1
#initclip 12
Object.registerClass("eye_color", DoMotion);
#endinitclip
this.gotoAndStop(this._parent.no);
Symbol 63 MovieClip [eye_ov2] Frame 1
#initclip 13
Object.registerClass("eye_ov2", DoMotion);
#endinitclip
this.gotoAndStop(this._parent.no);
Symbol 66 MovieClip [Fria] Frame 1
#initclip 14
Object.registerClass("Fria", DoMotion);
#endinitclip
Symbol 69 MovieClip [Fsyoko] Frame 1
#initclip 15
Object.registerClass("Fsyoko", DoMotion);
#endinitclip
Symbol 94 MovieClip [hair_mc] Frame 1
#initclip 16
Object.registerClass("hair_mc", DoMotion);
#endinitclip
this.gotoAndStop(_root.hairNo + 1);
this._alpha = 0;
Symbol 101 MovieClip [hart_mc] Frame 1
#initclip 17
Object.registerClass("hart_mc", DoMotion);
#endinitclip
function startSE() {
soundMC = new Sound(soundMC);
soundMC.attachSound("sunea");
soundMC.start(0, 9999);
}
function delSE() {
soundMC.stop();
}
this.createEmptyMovieClip("soundMC", 22);
var SoundObj = new Sound(soundMC);
function init() {
startSE();
delI2 = setInterval(this, "setInit", 40);
}
function out() {
this.onEnterFrame = function () {
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
_root.init();
this.removeMovieClip();
delete this.onEnterFrame;
}
};
}
function setInit() {
count++;
ss.text = count;
if (count >= _root.total) {
delSE();
count = total;
_root.step4();
clearInterval(delI2);
}
}
function hart20() {
var _local2 = new mx.transitions.Tween(this, "_xscale", mx.transitions.easing.Elastic.easeOut, 100, 60, 1, true);
_local2 = new mx.transitions.Tween(this, "_yscale", mx.transitions.easing.Elastic.easeOut, 100, 60, 1, true);
_local2 = new mx.transitions.Tween(hartP, "_alpha", mx.transitions.easing.Strong.easeOut, 100, 0, 1, true);
}
function hart40() {
var _local2 = new mx.transitions.Tween(this, "_xscale", mx.transitions.easing.Elastic.easeOut, 100, 60, 1, true);
_local2 = new mx.transitions.Tween(this, "_yscale", mx.transitions.easing.Elastic.easeOut, 100, 60, 1, true);
_local2 = new mx.transitions.Tween(this, "_x", mx.transitions.easing.Elastic.easeOut, this._x, 120, 1.5, true);
_local2 = new mx.transitions.Tween(this, "_y", mx.transitions.easing.Elastic.easeOut, this._y, 335, 1.5, true);
_local2 = new mx.transitions.Tween(this, "_rotation", mx.transitions.easing.Strong.easeOut, 0, 23, 1.5, true);
}
function hart80() {
}
function hart100() {
var _local2 = new mx.transitions.Tween(this, "_xscale", mx.transitions.easing.Elastic.easeOut, 100, 116, 1, true);
_local2 = new mx.transitions.Tween(this, "_yscale", mx.transitions.easing.Elastic.easeOut, 100, 116, 1, true);
}
var count = 0;
this._x = 125;
this._y = 307;
var myTween = (new mx.transitions.Tween(this, "_xscale", mx.transitions.easing.Elastic.easeOut, 130, 100, 1, true));
var myTween = (new mx.transitions.Tween(this, "_yscale", mx.transitions.easing.Elastic.easeOut, 130, 100, 1, true));
myTween.onMotionFinished = function () {
init();
};
Symbol 126 MovieClip Frame 1
this.gotoAndStop(_root.eyeNo);
Symbol 145 MovieClip Frame 1
this.gotoAndStop(_root.lipNo);
Symbol 158 MovieClip Frame 1
this.gotoAndStop(_root.cheekNo);
Symbol 160 MovieClip Frame 1
hair._alpha = 0;
this.swapDepths(198);
Symbol 163 MovieClip [shizu_top] Frame 1
#initclip 18
Object.registerClass("shizu_top", DoMotion);
#endinitclip
this.swapDepths(202);
Symbol 166 MovieClip Frame 1
this.swapDepths(203);
Symbol 167 MovieClip [kagami_mc] Frame 1
#initclip 19
Object.registerClass("kagami_mc", DoMotion);
#endinitclip
function changeMake() {
this.onEnterFrame = function () {
topS._alpha = topS._alpha - 20;
if (topS._alpha <= 0) {
topS._alpha = 0;
topS._alpha._visible = false;
toMakeUp();
}
};
}
function toMakeUp() {
makeUp_mc._visible = true;
this.onEnterFrame = function () {
makeUp_mc._alpha = makeUp_mc._alpha + 20;
if (makeUp_mc._alpha >= 100) {
makeUp_mc._alpha = 100;
delete this.onEnterFrame;
}
};
}
function out() {
makeUp_mc._alpha = 0;
makeUp_mc._visible = false;
topS._visible = true;
topS.toA(100, 0.2, 0.7);
this.toXY(defX, this._y, 0.2, 0.7);
}
var defX = 361;
var finiX = 227;
this.swapDepths(6);
makeUp_mc._visible = false;
makeUp_mc._alpha = 0;
this.toXY(361, 32, 0.2, 0.8);
Symbol 170 MovieClip [kawaiido] Frame 1
#initclip 20
Object.registerClass("kawaiido", DoMotion);
#endinitclip
this._x = 62;
this._y = 172;
this._alpha = 0;
this.toA(100, 0.2, 0.8);
Symbol 175 MovieClip [light_mc] Frame 1
stop();
m.stop();
Symbol 175 MovieClip [light_mc] Frame 2
m.play();
Symbol 175 MovieClip [light_mc] Frame 129
gotoAndPlay (2);
Symbol 176 MovieClip Frame 1
stop();
m.stop();
Symbol 176 MovieClip Frame 2
m.play();
Symbol 176 MovieClip Frame 129
gotoAndPlay (2);
Symbol 195 MovieClip [lip_color] Frame 1
#initclip 21
Object.registerClass("lip_color", DoMotion);
#endinitclip
this.gotoAndStop(this._parent.no);
Symbol 214 MovieClip [lip_ov2] Frame 1
#initclip 22
Object.registerClass("lip_ov2", DoMotion);
#endinitclip
this.gotoAndStop(this._parent.no);
Symbol 220 MovieClip Frame 1
stop();
Symbol 223 MovieClip [retryBtn] Frame 1
#initclip 23
Object.registerClass("retryBtn", DoMotion);
#endinitclip
this.onRollOver = function () {
kira.gotoAndPlay("init");
this.gotoAndStop(3);
};
this.onRollOut = function () {
this.gotoAndStop(2);
};
this.onRelease = function () {
_root.retry();
this.enabled = false;
};
this.toA(100, 0.2, 0.7);
stop();
Symbol 226 MovieClip [ria] Frame 1
#initclip 24
Object.registerClass("ria", DoMotion);
#endinitclip
Symbol 232 MovieClip [ria_mc] Frame 1
#initclip 25
Object.registerClass("ria_mc", DoMotion);
#endinitclip
function out() {
this.onEnterFrame = function () {
this._alpha = this._alpha - 20;
if (this._alpha <= 0) {
this._alpha = 0;
this.removeMovieClip();
}
};
}
function go() {
var _local2 = Math.floor(Math.random() * 8000) + 4000;
delI = setInterval(this, "setInit", _local2);
}
function setInit() {
this.play();
clearInterval(delI);
}
go();
Symbol 232 MovieClip [ria_mc] Frame 2
stop();
Symbol 232 MovieClip [ria_mc] Frame 25
stop();
go();
Symbol 239 MovieClip [shizu20] Frame 1
function out() {
this.onEnterFrame = function () {
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
_root.init();
this.removeMovieClip();
delete this.onEnterFrame;
}
};
}
serifu._visible = false;
serifu._xscale = (serifu._yscale = 1);
this._x = 289;
this._y = 297;
Symbol 239 MovieClip [shizu20] Frame 2
var myTween = (new mx.transitions.Tween(shizu, "_x", mx.transitions.easing.Back.easeOut, shizu._x, 0, 0.5, true));
var myTween = (new mx.transitions.Tween(shizu, "_y", mx.transitions.easing.Back.easeOut, shizu._y, 0, 0.5, true));
Symbol 239 MovieClip [shizu20] Frame 11
serifu._visible = true;
var myTween = (new mx.transitions.Tween(serifu, "_xscale", mx.transitions.easing.Back.easeOut, 1, 100, 0.5, true));
var myTween = (new mx.transitions.Tween(serifu, "_yscale", mx.transitions.easing.Back.easeOut, 1, 100, 0.5, true));
stop();
Symbol 246 MovieClip [shizu40] Frame 1
function out() {
this.onEnterFrame = function () {
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
_root.init();
this.removeMovieClip();
delete this.onEnterFrame;
}
};
}
serifu._visible = false;
serifu._xscale = (serifu._yscale = 1);
this._x = 490;
this._y = 45;
Symbol 246 MovieClip [shizu40] Frame 2
var myTween = (new mx.transitions.Tween(shizu, "_x", mx.transitions.easing.Back.easeOut, shizu._x, 0, 0.5, true));
var myTween = (new mx.transitions.Tween(shizu, "_y", mx.transitions.easing.Back.easeOut, shizu._y, 0, 0.5, true));
Symbol 246 MovieClip [shizu40] Frame 11
serifu._visible = true;
var myTween = (new mx.transitions.Tween(serifu, "_xscale", mx.transitions.easing.Back.easeOut, 1, 100, 0.5, true));
var myTween = (new mx.transitions.Tween(serifu, "_yscale", mx.transitions.easing.Back.easeOut, 1, 100, 0.5, true));
stop();
Symbol 253 MovieClip [shizu80] Frame 1
function out() {
this.onEnterFrame = function () {
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
_root.init();
this.removeMovieClip();
delete this.onEnterFrame;
}
};
}
serifu._visible = false;
serifu._xscale = (serifu._yscale = 1);
this._x = 478;
this._y = 44;
Symbol 253 MovieClip [shizu80] Frame 2
var myTween = (new mx.transitions.Tween(shizu, "_x", mx.transitions.easing.Back.easeOut, shizu._x, 0, 0.5, true));
var myTween = (new mx.transitions.Tween(shizu, "_y", mx.transitions.easing.Back.easeOut, shizu._y, 0, 0.5, true));
Symbol 253 MovieClip [shizu80] Frame 11
serifu._visible = true;
var myTween = (new mx.transitions.Tween(serifu, "_xscale", mx.transitions.easing.Back.easeOut, 1, 100, 0.5, true));
var myTween = (new mx.transitions.Tween(serifu, "_yscale", mx.transitions.easing.Back.easeOut, 1, 100, 0.5, true));
stop();
Symbol 260 MovieClip [shizu100] Frame 1
serifu._visible = false;
serifu._xscale = (serifu._yscale = 1);
this._x = 480;
this._y = 44;
Symbol 260 MovieClip [shizu100] Frame 2
var myTween = (new mx.transitions.Tween(shizu, "_x", mx.transitions.easing.Back.easeOut, shizu._x, 0, 0.5, true));
var myTween = (new mx.transitions.Tween(shizu, "_y", mx.transitions.easing.Back.easeOut, shizu._y, 0, 0.5, true));
Symbol 260 MovieClip [shizu100] Frame 11
function out() {
this.onEnterFrame = function () {
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
_root.init();
this.removeMovieClip();
delete this.onEnterFrame;
}
};
}
serifu._visible = true;
var myTween = (new mx.transitions.Tween(serifu, "_xscale", mx.transitions.easing.Back.easeOut, 1, 100, 0.5, true));
var myTween = (new mx.transitions.Tween(serifu, "_yscale", mx.transitions.easing.Back.easeOut, 1, 100, 0.5, true));
stop();
Symbol 271 MovieClip Frame 1
stop();
Symbol 272 MovieClip [step1_bg] Frame 1
#initclip 26
Object.registerClass("step1_bg", DoMotion);
#endinitclip
starBtn.onRelease = function () {
this._parent._parent.toStep1();
this._parent.gotoAndStop(2);
this.gotoAndStop(2);
this.enabled = false;
};
starBtn.onRollOver = function () {
kira.gotoAndPlay("init");
this._parent.gotoAndStop(2);
this.gotoAndStop(2);
};
starBtn.onRollOut = function () {
this._parent.gotoAndStop(1);
this.gotoAndStop(1);
};
stop();
Symbol 275 MovieClip [step1_title] Frame 1
#initclip 27
Object.registerClass("step1_title", DoMotion);
#endinitclip
Symbol 279 MovieClip [step1_title_mc] Frame 1
#initclip 28
Object.registerClass("step1_title_mc", DoMotion);
#endinitclip
Symbol 304 MovieClip [step2-ov] Frame 1
#initclip 29
Object.registerClass("step2-ov", DoMotion);
#endinitclip
Symbol 308 MovieClip [step2_title_mc] Frame 1
#initclip 30
Object.registerClass("step2_title_mc", DoMotion);
#endinitclip
Symbol 311 MovieClip [syoko] Frame 1
#initclip 31
Object.registerClass("syoko", DoMotion);
#endinitclip
Symbol 315 MovieClip [syoko_mc] Frame 1
#initclip 32
Object.registerClass("syoko_mc", DoMotion);
#endinitclip
function out() {
this.onEnterFrame = function () {
this._alpha = this._alpha - 20;
if (this._alpha <= 0) {
this._alpha = 0;
this.removeMovieClip();
}
};
}
function go() {
var _local2 = Math.floor(Math.random() * 8000) + 4000;
delI = setInterval(this, "setInit", _local2);
}
function setInit() {
this.play();
clearInterval(delI);
}
go();
Symbol 315 MovieClip [syoko_mc] Frame 2
stop();
Symbol 315 MovieClip [syoko_mc] Frame 25
stop();
go();
Symbol 316 MovieClip [start_mc] Frame 1
function init() {
title_mc.toA(100, 0.2, 0.5);
delI2 = setInterval(this, "setInit", 100);
}
function setInit() {
var _local2 = ["", "ria", "bg", "syoko"];
var _local3 = ["", 318, 74, 7];
var _local4 = new mx.transitions.Tween(this[_local2[n]], "_x", mx.transitions.easing.Back.easeOut, this[_local2[n]]._x, _local3[n], 0.7, true);
n++;
if (i > 10) {
clearInterval(delI2);
}
}
function toStep1() {
_root.attachMovie("Dummy_mc", "Dummy_mc", 9000);
title_mc.toA(0, 0.2, 0.5);
delI = setInterval(this, "setOut", 100);
}
function setOut() {
var _local3 = ["", "syoko", "bg", "ria"];
var _local4 = new mx.transitions.Tween(this[_local3[i]], "_x", mx.transitions.easing.Back.easeIn, this[_local3[i]]._x, -400, 0.7, true);
i++;
if (i > 10) {
clearInterval(delI);
_root.kagami_mc.changeMake();
_root.attachMovie("step1_mc", "step1_mc", 10);
}
}
var i = 1;
var n = 1;
ria._x = (bg._x = (syoko._x = -400));
title_mc._alpha = 0;
init();
Symbol 320 MovieClip Frame 1
this._alpha = 0;
Symbol 326 MovieClip Frame 1
function btnOver() {
this.ov._alpha = 100;
}
hit._alpha = 0;
hit.onRollOver = function () {
btnOver();
};
hit.onRollOut = function () {
this._parent.ov.toA(0, 0.2, 0.5);
};
hit.onRelease = (hit.onReleaseOutside = function () {
_root.eyePoint = _root.eyeP[this._parent.no];
_root.eyeNo = this._parent.no;
_root.makeUp();
this._parent._parent.btnCtl();
this._parent.ov.toA(100, 0.2, 0.5);
this._parent.ov2.toA(100, 0.2, 0.5);
_root.attachMovie("kira_mc", "kira_mc", 1280);
this.enabled = false;
});
Symbol 327 MovieClip Frame 1
function setBtn() {
var _local4 = 1;
while (_local4 <= 10) {
var _local3 = "e" + _local4;
this[_local3].no = _local4;
if (this[_local3].no == _root.eyeNo) {
this[_local3].ov._alpha = 100;
this[_local3].ov2._alpha = 100;
this[_local3].hit.enabled = false;
} else {
this[_local3].ov._alpha = 0;
this[_local3].ov2._alpha = 0;
}
_local4++;
}
}
function btnCtl() {
var _local2 = 1;
while (_local2 <= 10) {
var _local3 = "e" + _local2;
this[_local3].hit.enabled = true;
this[_local3].ov.toA(0, 0.2, 0.5);
this[_local3].ov2.toA(0, 0.2, 0.5);
_local2++;
}
}
function init() {
tg._x = ((((maxL - tg._width) + 3) / 100) * _global.eyeC) + minL;
}
function rePer() {
_global.eyeC = Math.floor(((tg._x - 82) / (maxL - (tg._width - 3))) * 100);
_root.makeUp();
ss = _global.eyeC;
}
var maxL = bar._width;
var minL = 82;
setBtn();
init();
tg.onPress = function () {
startDrag (this, false, minL, this._y, ((maxL + minL) - this._width) + 3, this._y);
this.onEnterFrame = rePer;
};
tg.onRelease = (tg.onReleaseOutside = function () {
stopDrag();
delete this.onEnterFrame;
});
rePer();
Symbol 331 MovieClip Frame 1
function btnOver() {
this.ov._alpha = 100;
}
hit._alpha = 0;
hit.onRollOver = function () {
btnOver();
};
hit.onRollOut = function () {
this._parent.ov.toA(0, 0.2, 0.5);
};
hit.onRelease = (hit.onReleaseOutside = function () {
_root.cheekPoint = _root.cheekP[this._parent.no];
_root.cheekNo = this._parent.no;
_root.makeUp();
_root.attachMovie("kira_mc", "kira_mc", 1280);
this._parent._parent.btnCtl();
this._parent.ov.toA(100, 0.2, 0.5);
this._parent.ov2.toA(100, 0.2, 0.5);
this.enabled = false;
});
Symbol 332 MovieClip Frame 1
function setBtn() {
var _local4 = 1;
while (_local4 <= 6) {
var _local3 = "e" + _local4;
this[_local3].no = _local4;
if (this[_local3].no == _root.cheekNo) {
this[_local3].ov._alpha = 100;
this[_local3].ov2._alpha = 100;
this[_local3].hit.enabled = false;
} else {
this[_local3].ov._alpha = 0;
this[_local3].ov2._alpha = 0;
}
_local4++;
}
}
function btnCtl() {
var _local2 = 1;
while (_local2 <= 6) {
var _local3 = "e" + _local2;
this[_local3].hit.enabled = true;
this[_local3].ov.toA(0, 0.2, 0.5);
this[_local3].ov2.toA(0, 0.2, 0.5);
_local2++;
}
}
function init() {
tg._x = ((((maxL - tg._width) + 3) / 100) * _global.cheekC) + minL;
}
function rePer() {
_global.cheekC = Math.floor(((tg._x - minL) / (maxL - (tg._width - 3))) * 100);
_root.makeUp();
ss = _global.cheekC;
}
var maxL = bar._width;
var minL = bar._x;
setBtn();
init();
tg.onPress = function () {
startDrag (this, false, minL, this._y, ((maxL + minL) - this._width) + 3, this._y);
this.onEnterFrame = rePer;
};
tg.onRelease = (tg.onReleaseOutside = function () {
stopDrag();
delete this.onEnterFrame;
});
rePer();
Symbol 335 MovieClip Frame 1
function btnOver() {
this.ov._alpha = 100;
}
hit._alpha = 0;
hit.onRollOver = function () {
btnOver();
};
hit.onRollOut = function () {
this._parent.ov.toA(0, 0.2, 0.5);
};
hit.onRelease = (hit.onReleaseOutside = function () {
_root.lipPoint = _root.lipP[this._parent.no];
_root.lipNo = this._parent.no;
_root.makeUp();
_root.attachMovie("kira_mc", "kira_mc", 1280);
this._parent._parent.btnCtl();
this._parent.ov.toA(100, 0.2, 0.5);
this._parent.ov2.toA(100, 0.2, 0.5);
this.enabled = false;
});
Symbol 336 MovieClip Frame 1
function setBtn() {
var _local4 = 1;
while (_local4 <= 9) {
var _local3 = "e" + _local4;
this[_local3].no = _local4;
if (this[_local3].no == _root.lipNo) {
this[_local3].ov._alpha = 100;
this[_local3].ov2._alpha = 100;
this[_local3].hit.enabled = false;
} else {
this[_local3].ov._alpha = 0;
this[_local3].ov2._alpha = 0;
}
_local4++;
}
}
function btnCtl() {
var _local2 = 1;
while (_local2 <= 9) {
var _local3 = "e" + _local2;
this[_local3].hit.enabled = true;
this[_local3].ov.toA(0, 0.2, 0.5);
this[_local3].ov2.toA(0, 0.2, 0.5);
_local2++;
}
}
function init() {
tg._x = ((((maxL - tg._width) + 3) / 100) * _global.lipC) + minL;
}
function rePer() {
_global.lipC = Math.floor(((tg._x - minL) / (maxL - (tg._width - 3))) * 100);
_root.makeUp();
ss = _global.lipC;
}
var maxL = bar._width;
var minL = bar._x;
setBtn();
init();
tg.onPress = function () {
startDrag (this, false, minL, this._y, ((maxL + minL) - this._width) + 3, this._y);
this.onEnterFrame = rePer;
};
tg.onRelease = (tg.onReleaseOutside = function () {
stopDrag();
delete this.onEnterFrame;
});
rePer();
Symbol 343 MovieClip Frame 1
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 348 MovieClip Frame 1
function ap() {
this._visible = true;
this.onEnterFrame = function () {
this._alpha = this._alpha + 20;
if (this._alpha >= 100) {
this._alpha = 100;
delete this.onEnterFrame;
}
};
}
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 349 MovieClip [step1_mc] Frame 1
function init() {
title_mc.toA(100, 0.1, 0.7);
delI2 = setInterval(this, "setInit", 100);
}
function setInit() {
var _local3 = ["", "s1", "s2", "s3", "s4"];
var _local4 = ["", 34, 104, 34, 329];
var _local5 = new mx.transitions.Tween(this[_local3[n]], "_x", mx.transitions.easing.Back.easeOut, this[_local3[n]]._x, _local4[n], 0.7, true);
n++;
if (n > 10) {
_root.Dummy_mc.removeMovieClip();
clearInterval(delI2);
_root.kagami_mc.attachMovie("ria_mc", "hBack", 193);
nextBtn.ap();
}
}
function toStep2() {
_root.kagami_mc.hBack.out();
_root.attachMovie("Dummy_mc", "Dummy_mc", 9000);
title_mc.toA(0, 0.2, 0.5);
delI = setInterval(this, "setOut", 100);
}
function setOut() {
var _local3 = ["", "s1", "s2", "s3", "s4"];
var _local4 = new mx.transitions.Tween(this[_local3[i]], "_x", mx.transitions.easing.Back.easeIn, this[_local3[i]]._x, -400, 0.7, true);
i++;
if (i > 10) {
clearInterval(delI);
_root.attachMovie("step2_mc", "step2_mc", 10);
}
}
var i = 1;
var n = 1;
s1._x = (s2._x = (s3._x = -400));
title_mc._alpha = 0;
nextBtn._alpha = 0;
nextBtn._visible = false;
init();
s4.onRelease = function () {
this.gotoAndStop(2);
this.enabled = false;
this._parent.toStep2();
this._parent.nextBtn._visible = false;
};
nextBtn.onRelease = (nextBtn.onRelease = function () {
this._parent.toStep2();
this._visible = false;
});
Symbol 400 MovieClip Frame 1
function btnOver() {
ov.toA(100, 0.2, 0.5);
}
this.onRollOver = function () {
delete ov.onEnterFrame;
ov._alpha = 100;
};
this.onRollOut = function () {
ov.toA(0, 0.2, 0.5);
};
this.onRelease = (this.onReleaseOutside = function () {
_root.hairPoint = _root.hairP[this.no2];
_root.hairNo = this.no2;
_root.makeUp();
_root.attachMovie("kira_mc", "kira_mc", 1280);
this._parent.btnCtl();
this.ov.toA(100, 0.2, 0.5);
this.enabled = false;
});
Symbol 405 MovieClip Frame 1
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 410 MovieClip Frame 1
function ap() {
this._visible = true;
this.onEnterFrame = function () {
this._alpha = this._alpha + 20;
if (this._alpha >= 100) {
this._alpha = 100;
delete this.onEnterFrame;
}
};
}
this.onRollOver = function () {
this.gotoAndStop(2);
};
this.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Symbol 411 MovieClip [step2_mc] Frame 1
function setBtn() {
var _local5 = ["", 5, 6, 9, 7, 2, 12, 8, 1, 4, 3, 11, 10];
var _local4 = 1;
while (_local4 <= 12) {
var _local3 = "s" + _local4;
this[_local3].no = _local4;
this[_local3].no2 = _local5[_local4];
this[_local3].pin.gotoAndStop(this[_local3].no);
this[_local3].def.gotoAndStop(this[_local3].no);
this[_local3].ov.gotoAndStop(this[_local3].no);
if (this[_local3].no2 == _root.hairNo) {
this[_local3].ov._alpha = 100;
this[_local3].enabled = false;
} else {
this[_local3].ov._alpha = 0;
}
_local4++;
}
}
function btnCtl() {
var _local2 = 1;
while (_local2 <= 12) {
var _local3 = "s" + _local2;
this[_local3].enabled = true;
this[_local3].ov.toA(0, 0.2, 0.5);
_local2++;
}
}
setBtn();
nextBtn.onRelease = function () {
_root.attachMovie("Dummy_mc", "Dummy_mc", 9000);
toStep2();
_root.keisan();
this._parent.revBtn._visible = false;
this.gotoAndStop(2);
this.enabled = false;
};
revBtn.onRelease = function () {
_root.attachMovie("Dummy_mc", "Dummy_mc", 9000);
toStep1();
this._visible = false;
};
function init() {
title_mc.toA(100, 0.2, 0.7);
delI2 = setInterval(this, "setInit", 100);
}
function setInit() {
var _local3 = ["", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s10", "s11", "s12", "nextBtn"];
var _local4 = ["", 31, 116, 196, 286, 57, 142, 222, 312, 37, 112, 202, 292, 367];
var _local5 = new mx.transitions.Tween(this[_local3[n]], "_x", mx.transitions.easing.Back.easeOut, this[_local3[n]]._x, _local4[n], 0.7, true);
n++;
if (n > 13) {
_root.Dummy_mc.removeMovieClip();
revBtn.ap();
_root.kagami_mc.attachMovie("syoko_mc", "hBack", 193);
clearInterval(delI2);
}
}
function toStep1() {
_root.kagami_mc.hBack.out();
title_mc.toA(0, 0.2, 0.5);
delI2 = setInterval(this, "setRev", 50);
}
function setRev() {
var _local3 = ["", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s10", "s11", "s12", "nextBtn"];
var _local4 = new mx.transitions.Tween(this[_local3[i]], "_x", mx.transitions.easing.Back.easeIn, this[_local3[i]]._x, -400, 0.7, true);
i++;
if (i > 30) {
_root.attachMovie("step1_mc", "step1_mc", 10);
}
}
function toStep2() {
_root.kagami_mc.hBack.out();
title_mc.toA(0, 0.2, 0.5);
delI = setInterval(this, "setOut", 50);
}
function setOut() {
var _local3 = ["", "s1", "s2", "s3", "s4", "s5", "s6", "s7", "s8", "s9", "s10", "s11", "s12", "nextBtn"];
var _local4 = new mx.transitions.Tween(this[_local3[i]], "_x", mx.transitions.easing.Back.easeIn, this[_local3[i]]._x, -400, 0.7, true);
i++;
if (i > 30) {
_root.Dummy_mc.removeMovieClip();
clearInterval(delI);
_root.step3();
this.removeMovieClip();
}
}
var i = 1;
var n = 1;
init();
title_mc._alpha = 0;
revBtn._alpha = 0;
revBtn._visible = false;
Symbol 412 MovieClip [step3_mc] Frame 2
_root.outBGM();
Symbol 412 MovieClip [step3_mc] Frame 15
_root.attachMovie("hart_mc", "hart_mc", 20);
_root.attachMovie("kawaiido", "kawaiido", 30);
Symbol 412 MovieClip [step3_mc] Frame 35
a.play();
b.play();
stop();
Symbol 415 MovieClip [step4_mc] Frame 1
this._x = 56;
this._y = -135;
Symbol 415 MovieClip [step4_mc] Frame 37
_root.finish();
this.removeMovieClip();
stop();
Symbol 423 MovieClip [step5-20_mc] Frame 1
function out() {
delSE();
this.onEnterFrame = function () {
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
_root.init();
_root.attachMovie("start_mc", "start_mc", 10);
delete this.onEnterFrame;
}
};
}
function startSE() {
soundMC = new Sound(soundAMC);
soundMC.attachSound("L20");
soundMC.start();
}
function startVoice() {
soundMC2 = new Sound(soundAMC);
soundMC2.attachSound("S20");
soundMC2.start();
}
function delSE() {
soundMC.stop();
soundMC2.stop();
}
hibiA._alpha = (hibiB._alpha = 0);
_root.changeHart();
this.createEmptyMovieClip("soundAMC", 22);
Symbol 423 MovieClip [step5-20_mc] Frame 5
hibiA._alpha = 100;
Symbol 423 MovieClip [step5-20_mc] Frame 8
hibiB._alpha = 100;
Symbol 423 MovieClip [step5-20_mc] Frame 24
startSE();
Symbol 423 MovieClip [step5-20_mc] Frame 35
startVoice();
_root.lastShizu();
stop();
Symbol 424 MovieClip [step5-40_mc] Frame 1
function out() {
delSE();
this.onEnterFrame = function () {
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
_root.init();
_root.attachMovie("start_mc", "start_mc", 10);
delete this.onEnterFrame;
}
};
}
function startSE() {
soundMC = new Sound(soundAMC);
soundMC.attachSound("L40");
soundMC.start();
}
function startVoice() {
soundMC2 = new Sound(soundAMC);
soundMC2.attachSound("S40");
soundMC2.start();
}
function delSE() {
soundMC.stop();
soundMC2.stop();
}
syoko._alpha = (ria._alpha = 0);
_root.changeHart();
this.createEmptyMovieClip("soundAMC", 22);
Symbol 424 MovieClip [step5-40_mc] Frame 13
startSE();
syoko.toXYA(183, 276, 100, 0.2, 0.8);
ria.toXYA(544, 270, 100, 0.2, 0.8);
Symbol 424 MovieClip [step5-40_mc] Frame 21
_root.lastShizu();
Symbol 424 MovieClip [step5-40_mc] Frame 25
startVoice();
stop();
Symbol 431 MovieClip Frame 1
var m = (Math.floor(Math.random() * 3) + 1);
this.gotoAndStop(m);
Symbol 433 MovieClip Frame 16
stop();
Symbol 434 MovieClip Frame 15
stop();
Symbol 435 MovieClip [step5-80_mc] Frame 1
function out() {
delSE();
this.onEnterFrame = function () {
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
_root.init();
_root.attachMovie("start_mc", "start_mc", 10);
delete this.onEnterFrame;
}
};
}
function startSE() {
soundMC = new Sound(soundAMC);
soundMC.attachSound("L80");
soundMC.start();
}
function startVoice() {
soundMC2 = new Sound(soundAMC);
soundMC2.attachSound("S80");
soundMC2.start();
}
function delSE() {
soundMC.stop();
soundMC2.stop();
}
syoko._alpha = (ria._alpha = 0);
_root.changeHart();
this.createEmptyMovieClip("soundAMC", 22);
Symbol 435 MovieClip [step5-80_mc] Frame 2
startSE();
Symbol 435 MovieClip [step5-80_mc] Frame 5
syoko.toXYA(183, 276, 100, 0.2, 0.8);
ria.toXYA(544, 270, 100, 0.2, 0.8);
Symbol 435 MovieClip [step5-80_mc] Frame 10
_root.lastShizu();
Symbol 435 MovieClip [step5-80_mc] Frame 15
startVoice();
stop();
Symbol 436 MovieClip Frame 15
stop();
Symbol 449 MovieClip Frame 1
this.cacheAsBitmap = true;
this._alpha = 100;
Symbol 449 MovieClip Frame 31
stop();
this.onEnterFrame = function () {
this._alpha = this._alpha - 20;
if (this._alpha <= 0) {
this.removeMovieClip();
delete this.onEnterFrame;
}
};
Symbol 450 MovieClip [step5-100_mc] Frame 1
function out() {
delSE();
this.onEnterFrame = function () {
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
_root.init();
_root.attachMovie("start_mc", "start_mc", 10);
delete this.onEnterFrame;
}
};
}
function startSE() {
soundMC = new Sound(soundAMC);
soundMC.attachSound("L100");
soundMC.start();
}
function startVoice() {
soundMC2 = new Sound(soundAMC);
soundMC2.attachSound("S100");
soundMC2.start();
}
function delSE() {
soundMC.stop();
soundMC2.stop();
}
syoko._alpha = (ria._alpha = 0);
_root.changeHart();
this.createEmptyMovieClip("soundAMC", 22);
Symbol 450 MovieClip [step5-100_mc] Frame 2
startSE();
Symbol 450 MovieClip [step5-100_mc] Frame 5
syoko.toXYA(183, 276, 100, 0.2, 0.8);
ria.toXYA(544, 270, 100, 0.2, 0.8);
Symbol 450 MovieClip [step5-100_mc] Frame 10
_root.lastShizu();
Symbol 450 MovieClip [step5-100_mc] Frame 15
startVoice();
stop();
Symbol 461 MovieClip Frame 1
stop();
Symbol 479 MovieClip [item_All] Frame 1
#initclip 33
Object.registerClass("item_All", DoMotion);
#endinitclip
function setItem() {
var _local2 = 1;
while (_local2 <= 16) {
var _local3 = "i" + _local2;
this[_local3].no = _local2;
_local2++;
}
}
function pointInit() {
this.toA(100, 0.2, 0.7);
}
function out() {
this._alpha = 0;
}
setItem();
this._alpha = 0;
this.swapDepths(11);
Symbol 479 MovieClip [item_All] Frame 2
pointInit();
stop();
Symbol 481 MovieClip [kira_mc] Frame 1
this.cacheAsBitmap = true;
this._alpha = 100;
this._x = 368;
this._y = 36;
Symbol 481 MovieClip [kira_mc] Frame 31
stop();
this.onEnterFrame = function () {
this._alpha = this._alpha - 20;
if (this._alpha <= 0) {
this.removeMovieClip();
delete this.onEnterFrame;
}
};
Symbol 483 MovieClip Frame 1
function fIn() {
this._visible = true;
_root.item_mc.out();
this.onEnterFrame = function () {
this._alpha = this._alpha + 10;
if (this._alpha >= 80) {
this._alpha = 80;
_root.step3_2();
delete this.onEnterFrame;
}
};
}
function out() {
this.onEnterFrame = function () {
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
this._visible = false;
_root.finishStep();
delete this.onEnterFrame;
}
};
}
function out20() {
this.onEnterFrame = function () {
this._alpha = this._alpha - 5;
if (this._alpha <= 50) {
this._alpha = 50;
_root.finishStep();
delete this.onEnterFrame;
}
};
}
function fOut() {
this.onEnterFrame = function () {
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this._alpha = 0;
this._visible = false;
delete this.onEnterFrame;
}
};
}
this._alpha = 0;
this._visible = false;
Symbol 492 MovieClip Frame 1
this.swapDepths(90001);
this.stop();
sOff.onRelease = function () {
_root.AllgV(0);
this._parent.gotoAndStop(2);
};
Symbol 492 MovieClip Frame 2
sOn.onRelease = function () {
_root.AllgV(100);
this._parent.gotoAndStop(1);
};