Instance of Symbol 27 MovieClip in Frame 75
onClipEvent (load) {
n = random(33) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 27 MovieClip in Frame 75
onClipEvent (load) {
n = random(33) + 1;
this.gotoAndPlay(n);
}
Frame 109
stop();
loader_mc.onEnterFrame = function () {
var _local3 = this._parent;
var _local2 = _local3.getBytesLoaded() / _local3.getBytesTotal();
trace(_local2);
_local3.per = int(_local2 * 100);
this._xscale = int(_local2 * 100);
if (_local2 == 1) {
this.onEnterFrame = null;
_local3.nextFrame();
}
};
Frame 110
function start_link() {
gotoAndPlay (111);
trace("ok");
}
function domain_link() {
getURL ("http://www.i-dressup.com", "_blank");
trace("ok");
}
function sound_click() {
btn_sound = new Sound(this.btn_mc2);
btn_sound.attachSound("click");
btn_sound.setVolume(50);
btn_sound.start(0, 1);
}
stop();
begin_btn.onRelease = function () {
start_link();
};
begin_btn.onRollOver = function () {
this.gotoAndStop(2);
sound_click();
};
begin_btn.onRollOut = (begin_btn.onReleaseOutside = function () {
this.gotoAndStop(1);
});
domain_btn.onRelease = function () {
domain_link();
};
domain_btn.onRollOver = function () {
this.gotoAndStop(2);
sound_click();
};
domain_btn.onRollOut = (domain_btn.onReleaseOutside = function () {
this.gotoAndStop(1);
});
Frame 111
function menu_btn() {
s2_sd();
var _local3 = _root.level;
var _local2 = _root;
if (_local3 == 1) {
go_x = new mx.transitions.Tween(_local2.menu_btn1, "_x", mx.transitions.easing.Strong.easeOut, girlMenu_x, girlMenu_xx, 20, false);
}
if (_local3 == 2) {
go_x1 = new mx.transitions.Tween(_local2.menu_btn1, "_x", mx.transitions.easing.Strong.easeOut, girlMenu_xx, girlMenu_x, 20, false);
go_x = new mx.transitions.Tween(_local2.menu_btn5, "_x", mx.transitions.easing.Strong.easeOut, girlMenu_x, girlMenu_xx, 20, false);
}
if (_local3 == 3) {
go_x = new mx.transitions.Tween(_local2.menu_btn3, "_x", mx.transitions.easing.Strong.easeOut, boyMenu_x, boyMenu_xx, 20, false);
go_x1 = new mx.transitions.Tween(_local2.menu_btn5, "_x", mx.transitions.easing.Strong.easeOut, girlMenu_xx, girlMenu_x, 20, false);
}
if (_local3 == 4) {
go_x = new mx.transitions.Tween(_local2.menu_btn4, "_x", mx.transitions.easing.Strong.easeOut, boyMenu_x, boyMenu_xx, 20, false);
go_x1 = new mx.transitions.Tween(_local2.menu_btn3, "_x", mx.transitions.easing.Strong.easeOut, boyMenu_xx, boyMenu_x, 20, false);
}
}
function menu_btn2() {
s2_sd();
var _local3 = _root.level;
var _local2 = _root;
if (_local3 == 1) {
go_x = new mx.transitions.Tween(_local2.menu_btn1, "_x", mx.transitions.easing.Strong.easeOut, girlMenu_x, girlMenu_xx, 20, false);
go_x1 = new mx.transitions.Tween(_local2.menu_btn5, "_x", mx.transitions.easing.Strong.easeOut, girlMenu_xx, girlMenu_x, 20, false);
}
if (_local3 == 2) {
go_x1 = new mx.transitions.Tween(_local2.menu_btn5, "_x", mx.transitions.easing.Strong.easeOut, girlMenu_x, girlMenu_xx, 20, false);
go_x = new mx.transitions.Tween(_local2.menu_btn3, "_x", mx.transitions.easing.Strong.easeOut, boyMenu_xx, boyMenu_x, 20, false);
}
if (_local3 == 3) {
go_x = new mx.transitions.Tween(_local2.menu_btn3, "_x", mx.transitions.easing.Strong.easeOut, boyMenu_x, boyMenu_xx, 20, false);
go_x1 = new mx.transitions.Tween(_local2.menu_btn4, "_x", mx.transitions.easing.Strong.easeOut, boyMenu_xx, boyMenu_x, 20, false);
}
if (_local3 == 4) {
go_x = new mx.transitions.Tween(_local2.menu_btn4, "_x", mx.transitions.easing.Strong.easeOut, boyMenu_x, boyMenu_xx, 20, false);
go_x1 = new mx.transitions.Tween(_local2.menu_btn3, "_x", mx.transitions.easing.Strong.easeOut, boyMenu_xx, boyMenu_x, 20, false);
}
}
function boyMove(n) {
var _local2 = _root;
if (n == 1) {
go_y = new mx.transitions.Tween(_local2.boy_mc, "_y", mx.transitions.easing.Strong.easeOut, boy_yy, boy_y, 20, false);
}
if (n == 2) {
go_y = new mx.transitions.Tween(_local2.boy_mc, "_y", mx.transitions.easing.Strong.easeOut, boy_y, boy_yy, 20, false);
}
}
function girlMove(n) {
var _local2 = _root;
if (n == 1) {
go_y = new mx.transitions.Tween(_local2.girl_mc, "_y", mx.transitions.easing.Strong.easeOut, girl_yy, girl_y, 20, false);
}
if (n == 2) {
go_y = new mx.transitions.Tween(_local2.girl_mc, "_y", mx.transitions.easing.Strong.easeOut, girl_y, girl_yy, 20, false);
}
}
function ok_fun() {
var _local2 = _root;
_local2.menu_btn4._x = boyMenu_x;
_local2.girl_mc._y = girl_y;
}
function reset_fun() {
var _local2 = _root;
_local2.menu_btn1._x = girlMenu_x;
_local2.menu_btn5._x = girlMenu_x;
_local2.menu_btn3._x = boyMenu_x;
_local2.menu_btn4._x = boyMenu_x;
_local2.boy_mc._y = boy_yy;
_local2.girl_mc._y = boy_yy;
}
function s1_sd() {
_root.bg1_sound = new Sound();
_root.bg1_sound.attachSound("s1");
_root.bg1_sound.start();
_root.bg1_sound.setVolume(100);
}
function s2_sd() {
_root.bg1_sound = new Sound();
_root.bg1_sound.attachSound("s2");
_root.bg1_sound.start();
_root.bg1_sound.setVolume(100);
}
function clear_ini() {
_root.girl_mc.top1_mc.gotoAndStop(1);
_root.girl_mc.top2_mc.gotoAndStop(1);
_root.girl_mc.top3_mc.gotoAndStop(1);
_root.girl_mc.bot2_mc.gotoAndStop(1);
_root.girl_mc.bot1_mc.gotoAndStop(1);
_root.girl_mc.shoes_mc.gotoAndStop(1);
_root.girl_mc.shoes2_mc.gotoAndStop(1);
_root.girl_mc.jew01_mc.gotoAndStop(1);
_root.girl_mc.jew02_mc.gotoAndStop(1);
_root.girl_mc.cap_mc.gotoAndStop(1);
_root.girl_mc.bag_mc.gotoAndStop(1);
_root.girl_mc.jew05_mc.gotoAndStop(1);
_root.girl_mc.jew04_mc.gotoAndStop(1);
_root.girl_mc.jew03_mc.gotoAndStop(1);
_root.girl_mc.glass_mc.gotoAndStop(1);
_root.girl_mc.hair_mc.gotoAndStop(1);
_root.boy_mc.top1_mc.gotoAndStop(1);
_root.boy_mc.top2_mc.gotoAndStop(1);
_root.boy_mc.top3_mc.gotoAndStop(1);
_root.boy_mc.bot2_mc.gotoAndStop(1);
_root.boy_mc.bot1_mc.gotoAndStop(1);
_root.boy_mc.shoes_mc.gotoAndStop(1);
_root.boy_mc.shoes2_mc.gotoAndStop(1);
_root.boy_mc.jew01_mc.gotoAndStop(1);
_root.boy_mc.jew02_mc.gotoAndStop(1);
_root.boy_mc.cap_mc.gotoAndStop(1);
_root.boy_mc.bag_mc.gotoAndStop(1);
_root.boy_mc.glass_mc.gotoAndStop(1);
_root.boy_mc.jew05_mc.gotoAndStop(1);
_root.boy_mc.jew04_mc.gotoAndStop(1);
_root.boy_mc.jew03_mc.gotoAndStop(1);
_root.boy_mc.hair_mc.gotoAndStop(1);
_root.girl_mc.model_body.underwear1_mc._visible = true;
_root.girl_mc.model_body.underwear2_mc._visible = true;
var _local2 = 1;
while (_local2 < 25) {
_root["on_clothing" + _local2]._visible = true;
_root["on_clothing" + _local2] = undefined;
_local2++;
}
_local2 = 1;
while (_local2 < 6) {
_root.girl_mc["dress" + _local2].gotoAndStop(1);
_root.boy_mc["dress" + _local2].gotoAndStop(1);
_local2++;
}
}
function reset_one() {
for (var _local3 in _root.girl_mc) {
if (typeof(_root.girl_mc[_local3]) == "movieclip") {
_root.girl_mc[_local3].enabled = true;
if (_root.girl_mc[_local3]._name.substr(0, 6) == "dress1") {
_root.girl_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing1._visible = true;
_root.on_clothing1 = undefined;
};
}
if (_root.girl_mc[_local3]._name.substr(0, 6) == "dress2") {
_root.girl_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing2._visible = true;
_root.on_clothing2 = undefined;
};
}
if (_root.girl_mc[_local3]._name.substr(0, 6) == "dress3") {
_root.girl_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing3._visible = true;
_root.on_clothing3 = undefined;
};
}
if (_root.girl_mc[_local3]._name.substr(0, 6) == "dress4") {
_root.girl_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing4._visible = true;
_root.on_clothing4 = undefined;
};
}
if (_root.girl_mc[_local3]._name.substr(0, 6) == "dress5") {
_root.girl_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing5._visible = true;
_root.on_clothing5 = undefined;
};
}
if (_root.girl_mc[_local3]._name.substr(0, 4) == "top1") {
_root.girl_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing6._visible = true;
_root.on_clothing6 = undefined;
};
}
if (_root.girl_mc[_local3]._name.substr(0, 4) == "hair") {
_root.girl_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing8._visible = true;
_root.on_clothing8 = undefined;
};
}
if (_root.girl_mc[_local3]._name.substr(0, 5) == "glass") {
_root.girl_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing9._visible = true;
_root.on_clothing9 = undefined;
};
}
if (_root.girl_mc[_local3]._name.substr(0, 5) == "jew01") {
_root.girl_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing10._visible = true;
_root.on_clothing10 = undefined;
};
}
if (_root.girl_mc[_local3]._name.substr(0, 5) == "jew02") {
_root.girl_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing11._visible = true;
_root.on_clothing11 = undefined;
};
}
if (_root.girl_mc[_local3]._name.substr(0, 3) == "cap") {
_root.girl_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing12._visible = true;
_root.on_clothing12 = undefined;
};
}
if (_root.girl_mc[_local3]._name.substr(0, 5) == "jew03") {
_root.girl_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing13._visible = true;
_root.on_clothing13 = undefined;
};
}
}
}
for (var _local3 in _root.boy_mc) {
if (typeof(_root.boy_mc[_local3]) == "movieclip") {
_root.boy_mc[_local3].enabled = true;
if (_root.boy_mc[_local3]._name.substr(0, 5) == "dress2") {
_root.boy_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing14._visible = true;
_root.on_clothing14 = undefined;
};
}
if (_root.boy_mc[_local3]._name.substr(0, 5) == "dress4") {
_root.boy_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing15._visible = true;
_root.on_clothing15 = undefined;
};
}
if (_root.boy_mc[_local3]._name.substr(0, 5) == "dress5") {
_root.boy_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing16._visible = true;
_root.on_clothing16 = undefined;
};
}
if (_root.boy_mc[_local3]._name.substr(0, 4) == "top1") {
_root.boy_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing17._visible = true;
_root.on_clothing17 = undefined;
};
}
if (_root.boy_mc[_local3]._name.substr(0, 4) == "hair") {
_root.boy_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing19._visible = true;
_root.on_clothing19 = undefined;
};
}
if (_root.boy_mc[_local3]._name.substr(0, 5) == "glass") {
_root.boy_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing20._visible = true;
_root.on_clothing20 = undefined;
};
}
if (_root.boy_mc[_local3]._name.substr(0, 5) == "jew01") {
_root.boy_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing21._visible = true;
_root.on_clothing21 = undefined;
};
}
if (_root.boy_mc[_local3]._name.substr(0, 5) == "jew02") {
_root.boy_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing22._visible = true;
_root.on_clothing22 = undefined;
};
}
if (_root.boy_mc[_local3]._name.substr(0, 5) == "jew03") {
_root.boy_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing23._visible = true;
_root.on_clothing23 = undefined;
};
}
if (_root.boy_mc[_local3]._name.substr(0, 3) == "cap") {
_root.boy_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing24._visible = true;
_root.on_clothing24 = undefined;
};
}
}
}
}
function third_ch_ini(_mc) {
for (var _local5 in _mc) {
if ((typeof(_mc[_local5]) == "movieclip") and (_mc[_local5]._name.substr(0, 1) == "a")) {
_mc[_local5].onRelease = function () {
s1_sd();
if ((((((this != _root.on_clothing1) and (this != _root.on_clothing2)) and (this != _root.on_clothing3)) and (this != _root.on_clothing4)) and (this != _root.on_clothing5)) and (this != _root.on_clothing6)) {
if (this._name.substr(0, 3) == "ag1") {
var _local3 = Number(this._name.substr(3, 2));
if (_root.on_clothing1 != undefined) {
_root.on_clothing1._visible = true;
_root.on_clothing1 = undefined;
}
this._visible = false;
_root.on_clothing1 = this;
_root.girl_mc.dress1.gotoAndStop(_local3);
}
if (this._name.substr(0, 3) == "ag2") {
var _local3 = Number(this._name.substr(3, 2));
if (_root.on_clothing2 != undefined) {
_root.on_clothing2._visible = true;
_root.on_clothing2 = undefined;
}
this._visible = false;
_root.on_clothing2 = this;
_root.girl_mc.dress2.gotoAndStop(_local3);
}
if (this._name.substr(0, 3) == "ag3") {
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing3 != undefined) {
_root.on_clothing3._visible = true;
_root.on_clothing3 = undefined;
}
this._visible = false;
_root.on_clothing3 = this;
_root.girl_mc.dress3.gotoAndStop(_local3);
}
if (this._name.substr(0, 3) == "ag4") {
var _local3 = Number(this._name.substr(3, 2));
if (_root.on_clothing4 != undefined) {
_root.on_clothing4._visible = true;
_root.on_clothing4 = undefined;
}
this._visible = false;
_root.on_clothing4 = this;
_root.girl_mc.dress4.gotoAndStop(_local3);
}
if (this._name.substr(0, 3) == "ag5") {
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing5 != undefined) {
_root.on_clothing5._visible = true;
_root.on_clothing5 = undefined;
}
this._visible = false;
_root.on_clothing5 = this;
_root.girl_mc.dress5.gotoAndStop(_local3);
}
if (this._name.substr(0, 3) == "ag6") {
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing6 != undefined) {
_root.on_clothing6._visible = true;
_root.on_clothing6 = undefined;
}
this._visible = false;
_root.on_clothing6 = this;
_root.girl_mc.top1_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 3) == "ag7") {
var _local3 = Number(this._name.substr(3, 2));
if (_root.on_clothing7 != undefined) {
_root.on_clothing7._visible = true;
_root.on_clothing7 = undefined;
}
_root.on_clothing7 = this;
_root.girl_mc.model_body.gotoAndStop(_local3);
}
if (this._name.substr(0, 3) == "ag8") {
var _local3 = Number(this._name.substr(3, 2));
if (_root.on_clothing8 != undefined) {
_root.on_clothing8._visible = true;
_root.on_clothing8 = undefined;
}
this._visible = false;
_root.on_clothing8 = this;
_root.girl_mc.hair_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 3) == "ag9") {
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing9 != undefined) {
_root.on_clothing9._visible = true;
_root.on_clothing9 = undefined;
}
this._visible = false;
_root.on_clothing9 = this;
_root.girl_mc.glass_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 3) == "agj") {
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing10 != undefined) {
_root.on_clothing10._visible = true;
_root.on_clothing10 = undefined;
}
this._visible = false;
_root.on_clothing10 = this;
_root.girl_mc.jew01_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 3) == "agx") {
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing11 != undefined) {
_root.on_clothing11._visible = true;
_root.on_clothing11 = undefined;
}
this._visible = false;
_root.on_clothing11 = this;
_root.girl_mc.jew02_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 3) == "agc") {
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing12 != undefined) {
_root.on_clothing12._visible = true;
_root.on_clothing12 = undefined;
}
this._visible = false;
_root.on_clothing12 = this;
_root.girl_mc.cap_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 3) == "agw") {
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing13 != undefined) {
_root.on_clothing13._visible = true;
_root.on_clothing13 = undefined;
}
this._visible = false;
_root.on_clothing13 = this;
_root.girl_mc.jew03_mc.gotoAndStop(_local3);
}
}
if ((((((this != _root.on_clothing14) and (this != _root.on_clothing15)) and (this != _root.on_clothing16)) and (this != _root.on_clothing17)) and (this != _root.on_clothing18)) and (this != _root.on_clothing19)) {
if (this._name.substr(0, 3) == "ab2") {
var _local3 = Number(this._name.substr(3, 2));
if (_root.on_clothing14 != undefined) {
_root.on_clothing14._visible = true;
_root.on_clothing14 = undefined;
}
this._visible = false;
_root.on_clothing14 = this;
_root.boy_mc.dress2.gotoAndStop(_local3);
}
if (this._name.substr(0, 3) == "ab4") {
var _local3 = Number(this._name.substr(3, 2));
if (_root.on_clothing15 != undefined) {
_root.on_clothing15._visible = true;
_root.on_clothing15 = undefined;
}
this._visible = false;
_root.on_clothing15 = this;
_root.boy_mc.dress4.gotoAndStop(_local3);
}
if (this._name.substr(0, 3) == "ab5") {
var _local3 = Number(this._name.substr(3, 2));
if (_root.on_clothing16 != undefined) {
_root.on_clothing16._visible = true;
_root.on_clothing16 = undefined;
}
this._visible = false;
_root.on_clothing16 = this;
_root.boy_mc.dress5.gotoAndStop(_local3);
}
if (this._name.substr(0, 3) == "ab6") {
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing17 != undefined) {
_root.on_clothing17._visible = true;
_root.on_clothing17 = undefined;
}
this._visible = false;
_root.on_clothing17 = this;
_root.boy_mc.top1_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 3) == "ab7") {
var _local3 = Number(this._name.substr(3, 2));
if (_root.on_clothing18 != undefined) {
_root.on_clothing18._visible = true;
_root.on_clothing18 = undefined;
}
_root.on_clothing18 = this;
_root.boy_mc.model_body.gotoAndStop(_local3);
}
if (this._name.substr(0, 3) == "ab8") {
var _local3 = Number(this._name.substr(3, 2));
if (_root.on_clothing19 != undefined) {
_root.on_clothing19._visible = true;
_root.on_clothing19 = undefined;
}
this._visible = false;
_root.on_clothing19 = this;
_root.boy_mc.hair_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 3) == "ab9") {
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing20 != undefined) {
_root.on_clothing20._visible = true;
_root.on_clothing20 = undefined;
}
this._visible = false;
_root.on_clothing20 = this;
_root.boy_mc.glass_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 3) == "abj") {
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing21 != undefined) {
_root.on_clothing21._visible = true;
_root.on_clothing21 = undefined;
}
this._visible = false;
_root.on_clothing21 = this;
_root.boy_mc.jew01_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 3) == "abx") {
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing22 != undefined) {
_root.on_clothing22._visible = true;
_root.on_clothing22 = undefined;
}
this._visible = false;
_root.on_clothing22 = this;
_root.boy_mc.jew02_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 3) == "abw") {
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing23 != undefined) {
_root.on_clothing23._visible = true;
_root.on_clothing23 = undefined;
}
this._visible = false;
_root.on_clothing23 = this;
_root.boy_mc.jew03_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 3) == "abc") {
var _local3 = Number(this._name.substr(3, 2)) + 1;
if (_root.on_clothing24 != undefined) {
_root.on_clothing24._visible = true;
_root.on_clothing24 = undefined;
}
this._visible = false;
_root.on_clothing24 = this;
_root.boy_mc.cap_mc.gotoAndStop(_local3);
}
}
};
}
}
}
function girl(x1, y1, s) {
if (this.girl_mc.x0 and this.girl_mc.y0) {
this.girl_mc._x = this.girl_mc.x0 + x1;
this.girl_mc._y = this.girl_mc.y0 + y1;
this.girl_mc._xscale = (this.girl_mc._yscale = s);
this.girl_mc._rotation = 0;
}
}
function boy(x2, y2, w) {
if (this.boy_mc.x0 and this.girl_mc.y0) {
this.boy_mc._x = this.boy_mc.x0 + x2;
this.boy_mc._y = this.boy_mc.y0 + y2;
this.boy_mc._xscale = (this.girl_mc._yscale = w);
this.boy_mc._rotation = 0;
}
}
function clothing_visible() {
var _local2 = 1;
while (_local2 < 23) {
_root["on_clothing" + _local2]._visible = false;
_local2++;
}
}
function bg_sd() {
bg_sound = new Sound(this);
bg_sound.attachSound("sd_01");
bg_sound.setVolume(100);
bg_sound.start(0, 999);
}
function end_bg_sd() {
bg_sound.stop();
}
mymenu = new ContextMenu();
mymenu.hideBuiltInItems();
mymenu.builtInItems.print = true;
_root.menu = mymenu;
var level = 1;
var girlMenu_x = -355;
var boyMenu_x = 762;
var girlMenu_xx = 42;
var boyMenu_xx = 395;
var girl_y = 131;
var boy_y = 67;
var girl_yy = 666.5;
var boy_yy = 685.8;
menu_btn();
girlMove(1);
reset_one();
girl(0, 0, 100);
boy(0, 0, 100);
clothing_visible();
sd_btn.onRelease = function () {
if (sd_no == true) {
end_bg_sd();
sd_no = false;
} else {
bg_sd();
sd_no = true;
}
};
end_bg_sd();
bg_sd();
Frame 112
stop();
Frame 116
for (var i in _root.girl_mc) {
if (typeof(_root.girl_mc[i]) == "movieclip") {
girl_mc[i].enabled = false;
}
}
for (var i in _root.boy_mc) {
if (typeof(_root.boy_mc[i]) == "movieclip") {
_root.boy_mc[i].enabled = false;
}
}
Symbol 399 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 400 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 401 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 402 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 45 MovieClip Frame 1
stop();
Symbol 58 MovieClip Frame 1
stop();
Instance of Symbol 62 MovieClip in Symbol 63 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 66 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 66 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 66 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 69 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 69 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 69 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 72 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 72 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 72 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 75 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 75 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 75 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 77 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 77 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 77 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 80 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 80 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 83 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 83 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 85 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 85 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 85 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Symbol 86 MovieClip Frame 1
stop();
Symbol 91 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 1
stop();
Symbol 132 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 1
stop();
Symbol 158 MovieClip Frame 1
stop();
Instance of Symbol 62 MovieClip in Symbol 161 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 161 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 164 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 164 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 164 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 164 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 166 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 168 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 170 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Symbol 171 MovieClip Frame 1
stop();
Symbol 177 MovieClip Frame 1
stop();
Symbol 190 MovieClip Frame 1
stop();
Instance of Symbol 62 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 194 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 195 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 195 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 197 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 197 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 198 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 198 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 198 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 200 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 200 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 200 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 201 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 201 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 203 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 205 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 205 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 205 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 207 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 207 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 207 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Symbol 208 MovieClip Frame 1
stop();
Symbol 209 MovieClip Frame 1
stop();
Symbol 226 MovieClip Frame 1
stop();
Symbol 229 MovieClip Frame 1
stop();
Symbol 246 MovieClip Frame 1
stop();
Symbol 265 MovieClip Frame 1
stop();
Symbol 282 MovieClip Frame 1
stop();
Symbol 295 MovieClip Frame 1
stop();
Symbol 298 MovieClip Frame 1
stop();
Symbol 307 MovieClip Frame 1
stop();
Symbol 308 MovieClip Frame 1
stop();
Instance of Symbol 62 MovieClip in Symbol 310 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 310 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 310 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 314 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 314 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 315 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 316 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 316 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 62 MovieClip in Symbol 318 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Symbol 319 MovieClip Frame 1
stop();
Symbol 331 MovieClip Frame 1
_root.third_ch_ini(this);
Symbol 338 MovieClip Frame 1
_root.third_ch_ini(this);
Symbol 346 MovieClip Frame 1
_root.third_ch_ini(this);
Symbol 351 MovieClip Frame 1
_root.third_ch_ini(this);
Symbol 366 MovieClip Frame 12
stop();
Symbol 380 Button
on (release) {
_root.level++;
trace(level);
menu_btn();
nextFrame();
}
Symbol 382 Button
on (release) {
level++;
menu_btn();
girlMove(2);
boyMove(1);
nextFrame();
}
Symbol 383 Button
on (release) {
level--;
menu_btn2();
prevFrame();
}
Symbol 385 Button
on (release) {
level--;
menu_btn2();
girlMove(1);
boyMove(2);
prevFrame();
}
Symbol 388 Button
on (release) {
ok_fun();
nextFrame();
}
Symbol 394 MovieClip Frame 1
stop();
Symbol 394 MovieClip Frame 2
stop();
Symbol 394 MovieClip Frame 3
stop();
Symbol 396 Button
on (release) {
clear_ini();
reset_fun();
gotoAndPlay (111);
}
Symbol 398 Button
on (release) {
bg_mc.play();
}