Instance of Symbol 26 MovieClip in Frame 75
onClipEvent (load) {
n = random(33) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 26 MovieClip in Frame 75
onClipEvent (load) {
n = random(33) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 26 MovieClip in Frame 76
onClipEvent (load) {
n = random(33) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 26 MovieClip in Frame 76
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();
}
};
Instance of Symbol 26 MovieClip in Frame 109
onClipEvent (load) {
n = random(33) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 26 MovieClip in Frame 109
onClipEvent (load) {
n = random(33) + 1;
this.gotoAndPlay(n);
}
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 loadvar(str, act) {
var _local3 = new LoadVars();
_local3.onLoad = function (suc) {
_root[act](this);
};
_local3.load(str);
}
function checkToolbar() {
flash.external.ExternalInterface.call("checkToolbar", _level0.name);
}
function js2swfResult(res) {
_root.hasToolbar = res;
}
function joinBattle() {
if ((_root.hasToolbar == 1) || (_root.hasToolbar)) {
dg_join.install_toolbar._visible = false;
dg_join._visible = true;
} else {
dg_join.install_toolbar._visible = true;
dg_join._visible = true;
}
}
function installToolbar() {
getURL ("http://FreeiDressup.OurToolbar.com/exe");
}
function save2server() {
var _local3 = [];
var _local4 = diyItems.length;
var _local2 = 0;
while (_local2 < _local4) {
_local3.push((diyItems[_local2] + ",") + _root.model_mc[diyItems[_local2]]._currentframe);
_local2++;
}
var _local6 = _local3.join("|");
var result_lv = new LoadVars();
result_lv.onLoad = function (success) {
if (success) {
if (result_lv.res == "needlogin") {
} else {
dg_join._visible = false;
alert("Thanks for joining the battle.");
btn_battleNow.enabled = false;
btn_battleNow._alpha = 20;
}
} else {
alert("Error connecting to server.");
}
};
var _local5 = new LoadVars();
_local5.title = dg_join.title.text;
_local5.data = _local6;
_local5.sendAndLoad((_root.PHP_root_path + "battle_flash.php?job=save&game_id=") + game_id, result_lv, "POST");
}
function getRandomPlayer() {
loadvar((_root.PHP_root_path + "battle_flash.php?job=random&game_id=") + game_id, "getRandomPlayerOk");
}
function getRandomPlayerOk(res) {
var _local8 = res.listarr.split("#");
if ((_local8.length > 0) && (_local8[0].length > 0)) {
var _local2 = 0;
while (_local2 < 2) {
this["doll_thumb" + _local2]._visible = true;
var _local5 = _local8[_local2].split(";");
if (_local5[4].length > 2) {
var _local6 = _local5[4].split("|");
var _local7 = _local6.length;
var _local3 = 0;
while (_local3 < _local7) {
var _local4 = _local6[_local3].split(",");
this["doll_thumb" + _local2].model_mc[_local4[0]].gotoAndStop(_local4[1]);
_local3++;
}
this["doll_thumb" + _local2].tf.text = _local5[2];
this["doll_thumb" + _local2].btn_vote.battle_id = _local5[0];
this["doll_thumb" + _local2].btn_vote.enabled = true;
this["doll_thumb" + _local2].btn_vote._alpha = 100;
this["doll_thumb" + _local2].btn_vote.onRelease = function () {
this.enabled = false;
this._alpha = 20;
vote(this.battle_id);
};
}
_local2++;
}
}
}
function getTop20() {
loadvar((_root.PHP_root_path + "battle_flash.php?job=top&game_id=") + game_id, "getTop20Ok");
}
function goPage() {
var _local2 = 0;
while (_local2 < 8) {
top20["doll_thumb" + _local2]._visible = false;
_local2++;
}
var _local8 = top20Data.split("#");
if (curPage == 0) {
top20.btn_l.enabled = false;
top20.btn_l._alpha = 20;
} else if (curPage == (Math.ceil(_local8.length / 8) - 1)) {
top20.btn_r.enabled = false;
top20.btn_r._alpha = 20;
}
if (_local8.length < 9) {
top20.btn_r.enabled = false;
top20.btn_r._alpha = 20;
}
if ((_local8.length > 0) && (_local8[0].length > 0)) {
_local2 = 0;
while (_local2 < 8) {
if (_local8[_local2 + (curPage * 8)].length > 0) {
top20["doll_thumb" + _local2]._visible = true;
}
var _local5 = _local8[_local2 + (curPage * 8)].split(";");
if (_local5[4].length > 2) {
var _local6 = _local5[4].split("|");
var _local7 = _local6.length;
var _local3 = 0;
while (_local3 < _local7) {
var _local4 = _local6[_local3].split(",");
top20["doll_thumb" + _local2].model_mc[_local4[0]].gotoAndStop(_local4[1]);
_local3++;
}
top20["doll_thumb" + _local2].tf.text = _local5[2];
top20["doll_thumb" + _local2].tf2.text = _local5[3];
top20["doll_thumb" + _local2].btn_vote._visible = false;
top20["doll_thumb" + _local2].btn_vote.battle_id = _local5[0];
top20["doll_thumb" + _local2].btn_vote.onRelease = function () {
this.enabled = false;
this._alpha = 20;
this._parent.tf2.text = Number(this._parent.tf2.text) + 1;
vote(this.battle_id);
};
}
_local2++;
}
top20._visible = true;
} else {
alert("No data.");
}
}
function getTop20Ok(res) {
top20Data = res.listarr;
goPage();
}
function vote(bid) {
loadvar((_root.PHP_root_path + "battle_flash.php?job=vote&id=") + bid, "voteOk");
}
function voteOk() {
if (!top20._visible) {
getRandomPlayer();
}
}
function alert(str, act, vip) {
alertbox._x = Math.round((Stage.width - alertbox._width) / 2);
alertbox._y = 200;
alertbox.settext(str);
alertbox.backact = act;
alertbox.swarpDepth;
alertbox._visible = true;
if (vip) {
alertbox.gotoAndStop(2);
} else {
alertbox.gotoAndStop(1);
}
}
function hidealert() {
alertbox._visible = false;
}
System.security.allowDomain("*");
var game_id = _level0.id;
var diyItems = ["dress1", "dress2", "dress3", "dress4", "dress5", "dress6", "dress7", "top1_mc", "top2_mc", "top3_mc", "bot1_mc", "bot2_mc", "shoes_mc", "shoes_mc2", "jew01_mc", "jew02_mc", "jew03_mc", "cap_mc", "bag_mc", "hair_mc", "waitao_mc", "yaodai_mc", "wazi_mc"];
_global.test = function (t, t2, t3) {
t = t + " ";
t2 = ((t2 == undefined) ? " " : (t2 + " "));
t3 = ((t3 == undefined) ? " " : (t3));
flash.external.ExternalInterface.call("console.log", t, t2, t3);
};
_root.hasToolbar = 0;
flash.external.ExternalInterface.addCallback("js2swf", null, js2swfResult);
var curPage = 0;
var top20Data;
var alertbox = this.createEmptyMovieClip("alertbox", 9998);
alertbox.loadMovie(_root.static_root_path + "alert.swf");
setTimeout(checkToolbar, 500);
function s1_sd() {
_root.bg1_sound = new Sound();
_root.bg1_sound.attachSound("s1");
_root.bg1_sound.start();
_root.bg1_sound.setVolume(100);
}
function en_sd() {
_root.bg1_sound = new Sound();
_root.bg1_sound.attachSound("en_sd");
_root.bg1_sound.start();
_root.bg1_sound.setVolume(100);
}
function sd01() {
_root.bg1_sound = new Sound();
_root.bg1_sound.attachSound("sd01");
_root.bg1_sound.start();
_root.bg1_sound.setVolume(100);
}
function sd03() {
_root.bg1_sound = new Sound();
_root.bg1_sound.attachSound("sd03");
_root.bg1_sound.start();
_root.bg1_sound.setVolume(100);
}
function kacha_sd() {
_root.bg1_sound = new Sound();
_root.bg1_sound.attachSound("kacha_sd");
_root.bg1_sound.start();
_root.bg1_sound.setVolume(100);
}
function bgSound() {
mySound3 = new Sound();
mySound3.attachSound("BG");
mySound3.start(0, 999);
mySound3.setVolume(100);
}
function end_btn_sound_fun() {
mySound3.stop();
}
function Mbtn_fun(_mc) {
var _local5 = _root;
for (var _local4 in _mc) {
if ((typeof(_mc[_local4]) == "movieclip") and (_mc[_local4]._name.substr(0, 1) == "b")) {
_mc[_local4].act = true;
_mc[_local4].onPress = function () {
if (this.act == true) {
_root.sd03();
var _local4 = _mc._name.substr(4, 1);
var _local3 = 1;
while (_local3 < 7) {
if (_root["mbtn" + _local3]._currentframe == 3) {
_root["mbtn" + _local3].gotoAndStop(4);
}
_root["mbtn" + _local3].btn.act = true;
_root["mbtn" + _local3].btn.enabled = true;
go_x = new mx.transitions.Tween(_root["w0" + _local3], "_x", mx.transitions.easing.Strong.easeOut, _root["w0" + _local3]._x, _root.window_x0, 20, false);
_local3++;
}
this.act = false;
this.enabled = false;
_mc.gotoAndStop(3);
go_x1 = new mx.transitions.Tween(_root["w0" + _local4], "_x", mx.transitions.easing.Strong.easeOut, _root["w0" + _local4]._x, _root.window_x1, 20, false);
}
};
_mc[_local4].onRollOver = function () {
if (this.act == true) {
var _local2 = this._name.substr(4, 1);
if (_mc._currentframe == 1) {
_mc.gotoAndStop(2);
}
}
};
_mc[_local4].onRollOut = function () {
if (this.act == true) {
var _local2 = this._name.substr(4, 1);
_mc.gotoAndStop(1);
}
};
}
}
}
function btn_go(_mc) {
for (var _local6 in _mc) {
if ((typeof(_mc[_local6]) == "movieclip") and (_mc[_local6]._name.substr(0, 1) == "b")) {
_mc[_local6].onRelease = function () {
_root.sd01();
var _local3 = this._name.substr(1, 1);
var _local4 = Number(this._name.substr(2, 2));
_root.kacha_sd();
_root.sg_mc.play();
_root.model_mc["dress" + _local3].gotoAndStop(_local4);
if (_local3 == 6) {
_root.model_mc.dress7.gotoAndStop(_local4);
}
};
}
}
}
function clear_ini() {
_root.model_mc.top1_mc.gotoAndStop(1);
_root.model_mc.top2_mc.gotoAndStop(1);
_root.model_mc.top3_mc.gotoAndStop(1);
_root.model_mc.bot2_mc.gotoAndStop(1);
_root.model_mc.bot1_mc.gotoAndStop(1);
_root.model_mc.shoes_mc.gotoAndStop(1);
_root.model_mc.jew01_mc.gotoAndStop(1);
_root.model_mc.jew02_mc.gotoAndStop(1);
_root.model_mc.cap_mc.gotoAndStop(1);
_root.model_mc.bag_mc.gotoAndStop(1);
_root.model_mc.hair_mc.gotoAndStop(1);
_root.model_mc.waitao_mc.gotoAndStop(1);
_root.model_mc.yaodai_mc.gotoAndStop(1);
_root.model_mc.dress6.underwear1_mc._visible = true;
_root.model_mc.dress6.underwear2_mc._visible = true;
var _local2 = 1;
while (_local2 < 22) {
_root["on_clothing" + _local2]._visible = true;
_root["on_clothing" + _local2] = undefined;
_local2++;
}
}
function clear_skin() {
var _local2 = 1;
while (_local2 < 8) {
_root.model_mc["dress" + _local2].gotoAndStop(1);
_local2++;
}
}
function girl(x1, y1, s) {
if (this.model_mc.x0 and this.model_mc.y0) {
this.model_mc._x = this.model_mc.x0 + x1;
this.model_mc._y = this.model_mc.y0 + y1;
this.model_mc._xscale = (this.model_mc._yscale = s);
this.model_mc._rotation = 0;
}
trace(this.model_mc._x);
}
function third_ch_ini() {
for (var _local6 in this) {
if ((typeof(this[_local6]) == "movieclip") and (this[_local6]._name.substr(0, 1) == "a")) {
this[_local6].onPress = function () {
var _local3 = this._name.substr(1, 1);
var _local4 = this._name.substr(2, 2);
trace(_local3);
this._visible = false;
_root.mc_drag = _root.attachMovie(("a" + _local3) + _local4, "_mc", 1);
_root.mc_drag._xscale = _root.scaleNo;
_root.mc_drag._yscale = _root.scaleNo;
_root.mc_drag._x = _root._xmouse;
_root.mc_drag._y = _root._ymouse;
_root.mc_drag.startDrag();
};
this[_local6].onReleaseOutside = function () {
s1_sd();
_root.mc_drag.removeMovieClip();
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 (_root.model_mc.hitTest(_xmouse, _ymouse)) {
if (this._name.substr(0, 2) == "a1") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing1 != undefined) {
_root.on_clothing1._visible = true;
_root.on_clothing1 = undefined;
}
if (_root.on_clothing2 != undefined) {
_root.on_clothing2._visible = true;
_root.on_clothing2 = undefined;
_root.model_mc.top2_mc.gotoAndStop(1);
}
if (_root.on_clothing3 != undefined) {
_root.on_clothing3._visible = true;
_root.on_clothing3 = undefined;
_root.model_mc.bot1_mc.gotoAndStop(1);
}
if (_root.on_clothing4 != undefined) {
_root.on_clothing4._visible = true;
_root.on_clothing4 = undefined;
_root.model_mc.top2_mc.gotoAndStop(1);
}
if (_root.on_clothing5 != undefined) {
_root.on_clothing5._visible = true;
_root.on_clothing5 = undefined;
_root.model_mc.bot2_mc.gotoAndStop(1);
}
this._visible = false;
_root.on_clothing1 = this;
_root.model_mc.top1_mc.gotoAndStop(_local3);
_root.model_mc.top3_mc.gotoAndStop(1);
_root.model_mc.dress6.underwear1_mc._visible = false;
_root.model_mc.dress6.underwear2_mc._visible = false;
}
if (this._name.substr(0, 2) == "at") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing1 != undefined) {
_root.on_clothing1._visible = true;
_root.on_clothing1 = undefined;
}
if (_root.on_clothing2 != undefined) {
_root.on_clothing2._visible = true;
_root.on_clothing2 = undefined;
_root.model_mc.top2_mc.gotoAndStop(1);
}
if (_root.on_clothing3 != undefined) {
_root.on_clothing3._visible = true;
_root.on_clothing3 = undefined;
_root.model_mc.bot1_mc.gotoAndStop(1);
}
if (_root.on_clothing4 != undefined) {
_root.on_clothing4._visible = true;
_root.on_clothing4 = undefined;
_root.model_mc.top2_mc.gotoAndStop(1);
}
if (_root.on_clothing5 != undefined) {
_root.on_clothing5._visible = true;
_root.on_clothing5 = undefined;
_root.model_mc.bot2_mc.gotoAndStop(1);
}
this._visible = false;
_root.on_clothing1 = this;
_root.model_mc.top3_mc.gotoAndStop(_local3);
_root.model_mc.top1_mc.gotoAndStop(1);
_root.model_mc.dress6.underwear1_mc._visible = false;
_root.model_mc.dress6.underwear2_mc._visible = false;
}
if (this._name.substr(0, 2) == "a2") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing1 != undefined) {
_root.on_clothing1._visible = true;
_root.on_clothing1 = undefined;
_root.model_mc.top1_mc.gotoAndStop(1);
_root.model_mc.top3_mc.gotoAndStop(1);
_root.model_mc.dress6.underwear2_mc._visible = true;
}
if (_root.on_clothing4 != undefined) {
_root.on_clothing4._visible = true;
_root.on_clothing4 = undefined;
_root.model_mc.top3_mc.gotoAndStop(1);
_root.model_mc.dress6.underwear2_mc._visible = true;
}
if (_root.on_clothing2 != undefined) {
_root.on_clothing2._visible = true;
_root.on_clothing2 = undefined;
}
this._visible = false;
_root.on_clothing2 = this;
_root.model_mc.top2_mc.gotoAndStop(_local3);
_root.model_mc.dress6.underwear1_mc._visible = false;
}
if (this._name.substr(0, 2) == "a3") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing1 != undefined) {
_root.on_clothing1._visible = true;
_root.on_clothing1 = undefined;
_root.model_mc.top1_mc.gotoAndStop(1);
_root.model_mc.top3_mc.gotoAndStop(1);
_root.model_mc.dress6.underwear1_mc._visible = true;
}
if (_root.on_clothing3 != undefined) {
_root.on_clothing3._visible = true;
_root.on_clothing3 = undefined;
}
if (_root.on_clothing5 != undefined) {
_root.on_clothing5._visible = true;
_root.on_clothing5 = undefined;
_root.model_mc.bot2_mc.gotoAndStop(1);
_root.model_mc.dress6.underwear1_mc._visible = true;
}
_root.on_clothing3 = this;
_root.model_mc.bot1_mc.gotoAndStop(_local3);
_root.model_mc.dress6.underwear2_mc._visible = false;
}
if (this._name.substr(0, 2) == "a4") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing1 != undefined) {
_root.on_clothing1._visible = true;
_root.on_clothing1 = undefined;
_root.model_mc.top1_mc.gotoAndStop(1);
_root.model_mc.dress6.underwear2_mc._visible = true;
}
if (_root.on_clothing2 != undefined) {
_root.on_clothing2._visible = true;
_root.on_clothing2 = undefined;
_root.model_mc.top2_mc.gotoAndStop(1);
_root.model_mc.dress6.underwear2_mc._visible = true;
}
if (_root.on_clothing4 != undefined) {
_root.on_clothing4._visible = true;
_root.on_clothing4 = undefined;
}
this._visible = false;
_root.on_clothing4 = this;
_root.model_mc.top3_mc.gotoAndStop(_local3);
_root.model_mc.dress6.underwear1_mc._visible = false;
}
if (this._name.substr(0, 2) == "a5") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing1 != undefined) {
_root.on_clothing1._visible = true;
_root.on_clothing1 = undefined;
_root.model_mc.top1_mc.gotoAndStop(1);
_root.model_mc.dress6.underwear1_mc._visible = true;
}
if (_root.on_clothing5 != undefined) {
_root.on_clothing5._visible = true;
_root.on_clothing5 = undefined;
}
if (_root.on_clothing3 != undefined) {
_root.on_clothing3._visible = true;
_root.on_clothing3 = undefined;
_root.model_mc.bot1_mc.gotoAndStop(1);
_root.model_mc.dress6.underwear1_mc._visible = true;
}
this._visible = false;
_root.on_clothing5 = this;
_root.model_mc.bot2_mc.gotoAndStop(_local3);
_root.model_mc.dress6.underwear2_mc._visible = false;
}
if (this._name.substr(0, 2) == "a9") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing10 != undefined) {
_root.on_clothing10._visible = true;
_root.on_clothing10 = undefined;
}
this._visible = false;
_root.on_clothing10 = this;
_root.model_mc.shoes_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "aj") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing5 != undefined) {
_root.on_clothing5._visible = true;
_root.on_clothing5 = undefined;
}
this._visible = false;
_root.on_clothing5 = this;
_root.model_mc.jew01_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "a6") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing6 != undefined) {
_root.on_clothing6._visible = true;
_root.on_clothing6 = undefined;
}
this._visible = false;
_root.on_clothing6 = this;
_root.model_mc.jew02_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "a7") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing7 != undefined) {
_root.on_clothing7._visible = true;
_root.on_clothing7 = undefined;
}
this._visible = false;
_root.on_clothing7 = this;
_root.model_mc.bag_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "a8") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing8 != undefined) {
_root.on_clothing8._visible = true;
_root.on_clothing8 = undefined;
}
this._visible = false;
_root.on_clothing8 = this;
_root.model_mc.cap_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "aw") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing9 != undefined) {
_root.on_clothing9._visible = true;
_root.on_clothing9 = undefined;
}
this._visible = false;
_root.on_clothing9 = this;
_root.model_mc.waitao_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "ah") {
var _local3 = Number(this._name.substr(2, 2));
if (_root.on_clothing11 != undefined) {
_root.on_clothing11._visible = true;
_root.on_clothing11 = undefined;
}
this._visible = false;
_root.on_clothing11 = this;
_root.model_mc.hair_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "ak") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing12 != undefined) {
_root.on_clothing12._visible = true;
_root.on_clothing12 = undefined;
}
this._visible = false;
_root.on_clothing12 = this;
_root.model_mc.wazi_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "ay") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
if (_root.on_clothing13 != undefined) {
_root.on_clothing13._visible = true;
_root.on_clothing13 = undefined;
}
this._visible = false;
_root.on_clothing13 = this;
_root.model_mc.yaodai_mc.gotoAndStop(_local3);
}
} else {
this._visible = true;
}
}
};
}
}
}
function reset_one() {
for (var _local3 in _root.model_mc) {
if (typeof(_root.model_mc[_local3]) == "movieclip") {
_root.model_mc[_local3].enabled = true;
if (_root.model_mc[_local3]._name.substr(0, 3) == "cap") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing8._visible = true;
_root.on_clothing8 = undefined;
};
}
if (_root.model_mc[_local3]._name.substr(0, 4) == "top1") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing1._visible = true;
_root.on_clothing1 = undefined;
_root.model_mc.dress6.underwear1_mc._visible = true;
_root.model_mc.dress6.underwear2_mc._visible = true;
};
}
if (_root.model_mc[_local3]._name.substr(0, 4) == "top3") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing1._visible = true;
_root.on_clothing1 = undefined;
_root.model_mc.dress6.underwear1_mc._visible = true;
_root.model_mc.dress6.underwear2_mc._visible = true;
};
}
if (_root.model_mc[_local3]._name.substr(0, 4) == "top2") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing2._visible = true;
_root.on_clothing2 = undefined;
_root.model_mc.dress6.underwear1_mc._visible = true;
};
}
if (_root.model_mc[_local3]._name.substr(0, 4) == "bot1") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing3._visible = true;
_root.on_clothing3 = undefined;
_root.model_mc.dress6.underwear2_mc._visible = true;
};
}
if (_root.model_mc[_local3]._name.substr(0, 4) == "shoe") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing4._visible = true;
_root.on_clothing4 = undefined;
};
}
if (_root.model_mc[_local3]._name.substr(0, 5) == "jew01") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing5._visible = true;
_root.on_clothing5 = undefined;
};
}
if (_root.model_mc[_local3]._name.substr(0, 5) == "jew02") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing6._visible = true;
_root.on_clothing6 = undefined;
};
}
if (_root.model_mc[_local3]._name.substr(0, 3) == "bag") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing7._visible = true;
_root.on_clothing7 = undefined;
};
}
if (_root.model_mc[_local3]._name.substr(0, 5) == "waita") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing9._visible = true;
_root.on_clothing9 = undefined;
};
}
if (_root.model_mc[_local3]._name.substr(0, 5) == "jew04") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing21._visible = true;
_root.on_clothing21 = undefined;
};
}
if (_root.model_mc[_local3]._name.substr(0, 4) == "wazi") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing12._visible = true;
_root.on_clothing12 = undefined;
};
}
if (_root.model_mc[_local3]._name.substr(0, 5) == "yaoda") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.on_clothing13._visible = true;
_root.on_clothing13 = undefined;
};
}
}
}
}
function clothing_visible() {
var _local2 = 1;
while (_local2 < 23) {
_root["on_clothing" + _local2]._visible = false;
_local2++;
}
}
stop();
mymenu = new ContextMenu();
mymenu.hideBuiltInItems();
mymenu.builtInItems.print = true;
_root.menu = mymenu;
var mc_drag;
var scaleNo = 110;
girl(0, 0, 200);
var window_x0 = -120;
var window_x1 = 320;
clear_btn.onRelease = function () {
clear_ini();
};
next_btn.onRelease = function () {
gotoAndStop (112);
};
Instance of Symbol 255 MovieClip "model_mc" in Frame 111
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Instance of Symbol 359 MovieClip in Frame 111
onClipEvent (load) {
_parent.bgSound();
}
Frame 112
stop();
third_ch_ini();
reset_one();
clothing_visible();
girl(-330, -50, 110);
Frame 113
stop();
third_ch_ini();
reset_one();
clothing_visible();
Frame 114
getRandomPlayer();
girl(-110, -60, 110);
stop();
for (var i in _root.model_mc) {
if (typeof(_root.model_mc[i]) == "movieclip") {
model_mc[i].enabled = false;
}
}
Symbol 449 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 450 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 451 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 452 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 53 MovieClip Frame 1
stop();
Symbol 58 MovieClip Frame 1
stop();
Symbol 74 MovieClip Frame 1
stop();
Symbol 86 MovieClip Frame 1
stop();
Symbol 97 MovieClip Frame 1
stop();
Symbol 108 MovieClip Frame 1
stop();
Symbol 145 MovieClip Frame 1
stop();
Symbol 155 MovieClip Frame 1
stop();
Instance of Symbol 160 MovieClip in Symbol 161 MovieClip [a601] Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 160 MovieClip in Symbol 161 MovieClip [a601] Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 160 MovieClip in Symbol 161 MovieClip [a601] Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 160 MovieClip in Symbol 163 MovieClip [a602] Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 160 MovieClip in Symbol 163 MovieClip [a602] Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 160 MovieClip in Symbol 163 MovieClip [a602] Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 160 MovieClip in Symbol 163 MovieClip [a602] Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 160 MovieClip in Symbol 165 MovieClip [a603] Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 160 MovieClip in Symbol 167 MovieClip [a604] Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 160 MovieClip in Symbol 167 MovieClip [a604] Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 160 MovieClip in Symbol 167 MovieClip [a604] Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Symbol 168 MovieClip Frame 1
stop();
Symbol 178 MovieClip Frame 1
stop();
Symbol 190 MovieClip Frame 1
stop();
Symbol 202 MovieClip Frame 1
stop();
Symbol 212 MovieClip Frame 1
stop();
Symbol 222 MovieClip Frame 1
stop();
Symbol 233 MovieClip Frame 1
stop();
Instance of Symbol 160 MovieClip in Symbol 236 MovieClip [aj01] Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 160 MovieClip in Symbol 236 MovieClip [aj01] Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 160 MovieClip in Symbol 241 MovieClip [aj02] Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 160 MovieClip in Symbol 241 MovieClip [aj02] Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 160 MovieClip in Symbol 244 MovieClip [aj03] Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 160 MovieClip in Symbol 244 MovieClip [aj03] Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 160 MovieClip in Symbol 247 MovieClip [aj04] Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 160 MovieClip in Symbol 247 MovieClip [aj04] Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Symbol 248 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 1
stop();
Symbol 266 MovieClip Frame 1
_root.btn_go(this);
Symbol 270 MovieClip Frame 1
_root.btn_go(this);
Symbol 274 MovieClip Frame 1
_root.btn_go(this);
Symbol 278 MovieClip Frame 1
_root.btn_go(this);
Symbol 283 MovieClip Frame 1
_root.btn_go(this);
Symbol 287 MovieClip Frame 1
_root.btn_go(this);
Symbol 303 MovieClip Frame 15
stop();
Symbol 304 MovieClip Frame 15
stop();
Symbol 305 MovieClip Frame 1
stop();
_root.Mbtn_fun(this);
Symbol 310 MovieClip Frame 15
stop();
Symbol 311 MovieClip Frame 15
stop();
Symbol 312 MovieClip Frame 1
stop();
_root.Mbtn_fun(this);
Symbol 317 MovieClip Frame 15
stop();
Symbol 318 MovieClip Frame 15
stop();
Symbol 319 MovieClip Frame 1
stop();
_root.Mbtn_fun(this);
Symbol 324 MovieClip Frame 15
stop();
Symbol 325 MovieClip Frame 15
stop();
Symbol 326 MovieClip Frame 1
stop();
_root.Mbtn_fun(this);
Symbol 331 MovieClip Frame 15
stop();
Symbol 332 MovieClip Frame 15
stop();
Symbol 333 MovieClip Frame 1
stop();
_root.Mbtn_fun(this);
Symbol 337 Button
on (release) {
getURL ("http://www.i-dressup.com", "_self");
}
Symbol 345 MovieClip Frame 15
stop();
Symbol 346 MovieClip Frame 15
stop();
Symbol 347 MovieClip Frame 1
stop();
_root.Mbtn_fun(this);
Symbol 356 Button
on (release) {
this.gotoAndStop(2);
_parent.end_btn_sound_fun();
}
Symbol 358 Button
on (release) {
this.gotoAndStop(1);
_parent.bgSound();
}
Symbol 359 MovieClip Frame 1
stop();
Symbol 359 MovieClip Frame 2
stop();
Symbol 364 Button
on (press) {
gotoAndStop (111);
}
Symbol 365 Button
on (press) {
gotoAndStop (113);
}
Symbol 370 Button
on (release) {
gotoAndStop (114);
}
Symbol 374 Button
on (release) {
clear_ini();
}
Symbol 377 Button
on (release) {
getURL ("http://www.i-dressup.com", "_self");
}
Symbol 383 Button
on (press) {
gotoAndStop (112);
}
Symbol 384 Button
on (press) {
gotoAndStop (114);
}
Symbol 390 Button
on (release) {
gotoAndStop (111);
clear_ini();
clear_skin();
}
Symbol 403 MovieClip Frame 1
_visible = false;
Instance of Symbol 255 MovieClip "model_mc" in Symbol 403 MovieClip Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Symbol 414 Button
on (release) {
_parent.save2server();
}
Symbol 418 Button
on (release) {
_visible = false;
}
Symbol 422 Button
on (release) {
_visible = false;
}
Symbol 429 Button
on (release) {
_parent._visible = false;
}
Symbol 430 Button
on (release) {
_parent._parent.installToolbar();
}
Symbol 431 MovieClip Frame 1
bg.useHandCursor = false;
Symbol 432 MovieClip Frame 1
nm.restrict = "A-Z a-z 0-9 - _ .";
_visible = false;
Symbol 434 Button
on (release) {
joinBattle();
}
Symbol 436 Button
on (release) {
getTop20();
}
Symbol 438 MovieClip Frame 1
bg.useHandCursor = false;
Symbol 442 Button
on (release) {
if (_parent.curPage > 0) {
_parent.curPage--;
_parent.goPage();
if (_parent.curPage == 0) {
btn_l.enabled = false;
btn_l._alpha = 20;
}
btn_r.enabled = true;
btn_r._alpha = 100;
}
}
Symbol 443 Button
on (release) {
if (_parent.curPage < 3) {
_parent.curPage++;
_parent.goPage();
if (_parent.curPage == 3) {
btn_r.enabled = false;
btn_r._alpha = 20;
}
btn_l.enabled = true;
btn_l._alpha = 100;
}
}
Symbol 447 Button
on (release) {
_visible = false;
}
Symbol 448 MovieClip Frame 1
_visible = false;