Instance of Symbol 25 MovieClip in Frame 75
onClipEvent (load) {
n = random(33) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 25 MovieClip in Frame 75
onClipEvent (load) {
n = random(33) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 25 MovieClip in Frame 76
onClipEvent (load) {
n = random(33) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 25 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 25 MovieClip in Frame 109
onClipEvent (load) {
n = random(33) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 25 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 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 bgSound() {
mySound3 = new Sound();
mySound3.attachSound("BG");
mySound3.start(0, 999);
mySound3.setVolume(100);
}
function end_btn_sound_fun() {
mySound3.stop();
}
function addSound(clip, loops, volume) {
var _local1 = volume;
if (_local1 == undefined) {
_local1 = 100;
}
mySound = new Sound(createEmptyMovieClip(clip + "Sfx", getNextHighestDepth()));
mySound.setVolume(_local1);
mySound.attachSound(clip);
mySound.start(0, loops);
}
function mainFun(_mc) {
for (var _local5 in _mc) {
if ((typeof(_mc[_local5]) == "movieclip") and (_mc[_local5]._name.substr(0, 1) == "a")) {
_mc[_local5].onRelease = function () {
addSound("sd01");
if (this._name.substr(0, 2) == "a1") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
_root.model_mc.top1_mc.gotoAndStop(_local3);
_root.model_mc.top2_mc.gotoAndStop(1);
_root.model_mc.bot1_mc.gotoAndStop(1);
_root.model_mc.skin2.underwear1_mc._visible = false;
_root.model_mc.skin2.underwear2_mc._visible = false;
}
if (this._name.substr(0, 2) == "at") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
_root.model_mc.top3_mc.gotoAndStop(_local3);
_root.model_mc.top1_mc.gotoAndStop(1);
_root.model_mc.skin2.underwear1_mc._visible = false;
_root.model_mc.skin2.underwear2_mc._visible = false;
}
if (this._name.substr(0, 2) == "a2") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
_root.model_mc.top2_mc.gotoAndStop(_local3);
_root.model_mc.top1_mc.gotoAndStop(1);
_root.model_mc.skin2.underwear1_mc._visible = false;
if (_root.model_mc.bot1_mc._currentframe == 1) {
_root.model_mc.skin2.underwear2_mc._visible = true;
}
}
if (this._name.substr(0, 2) == "a3") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
_root.model_mc.top1_mc.gotoAndStop(1);
_root.model_mc.bot1_mc.gotoAndStop(_local3);
_root.model_mc.skin2.underwear2_mc._visible = false;
if (_root.model_mc.top2_mc._currentframe == 1) {
_root.model_mc.skin2.underwear1_mc._visible = true;
}
}
if (this._name.substr(0, 2) == "a4") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
_root.model_mc.top1_mc.gotoAndStop(1);
_root.model_mc.top3_mc.gotoAndStop(_local3);
_root.model_mc.skin2.underwear1_mc._visible = false;
}
if (this._name.substr(0, 2) == "a5") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
_root.model_mc.bot2_mc.gotoAndStop(_local3);
_root.model_mc.skin2.underwear2_mc._visible = false;
}
if (this._name.substr(0, 2) == "a9") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
_root.model_mc.shoes_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "aj") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
_root.model_mc.jew01_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "a6") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
_root.model_mc.jew02_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "a7") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
_root.model_mc.bag_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "a8") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
_root.model_mc.cap_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "aw") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
_root.model_mc.waitao_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "ax") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
_root.model_mc.jew03_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "ay") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
_root.model_mc.yaodai_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "ag") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
_root.model_mc.glass_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "ah") {
var _local3 = Number(this._name.substr(2, 2));
_root.model_mc.hair_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "ak") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
_root.model_mc.wazi_mc.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "ap") {
var _local3 = Number(this._name.substr(2, 2)) + 1;
_root.model_mc.pifeng_mc.gotoAndStop(_local3);
}
};
_mc[_local5].onRollOver = function () {
this.gotoAndStop(2);
};
_mc[_local5].onRollOut = function () {
this.gotoAndStop(1);
};
}
}
}
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);
};
}
if (_root.model_mc[_local3]._name.substr(0, 4) == "top1") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.model_mc.skin2.underwear1_mc._visible = true;
_root.model_mc.skin2.underwear2_mc._visible = true;
};
}
if (_root.model_mc[_local3]._name.substr(0, 4) == "top3") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.model_mc.skin2.underwear1_mc._visible = true;
_root.model_mc.skin2.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.skin2.underwear1_mc._visible = true;
};
}
if (_root.model_mc[_local3]._name.substr(0, 4) == "bot1") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.model_mc.skin2.underwear2_mc._visible = true;
};
}
if (_root.model_mc[_local3]._name.substr(0, 4) == "shoe") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
};
}
if (_root.model_mc[_local3]._name.substr(0, 5) == "jew01") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
};
}
if (_root.model_mc[_local3]._name.substr(0, 5) == "jew02") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
};
}
if (_root.model_mc[_local3]._name.substr(0, 3) == "bag") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
};
}
if (_root.model_mc[_local3]._name.substr(0, 5) == "waita") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
_root.model_mc.waitao_mc.gotoAndStop(1);
};
}
if (_root.model_mc[_local3]._name.substr(0, 5) == "jew04") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
};
}
if (_root.model_mc[_local3]._name.substr(0, 5) == "jew03") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
};
}
if (_root.model_mc[_local3]._name.substr(0, 5) == "glass") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
};
}
if (_root.model_mc[_local3]._name.substr(0, 4) == "wazi") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
};
}
if (_root.model_mc[_local3]._name.substr(0, 4) == "pife") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
};
}
if (_root.model_mc[_local3]._name.substr(0, 5) == "yaoda") {
_root.model_mc[_local3].onRelease = function () {
this.gotoAndStop(1);
};
}
}
}
}
function menuBtnFun() {
var _local5 = _root;
var _loc2 = _root.menuBtn;
for (var _local4 in _loc2) {
if ((typeof(_loc2[_local4]) == "movieclip") and (_loc2[_local4]._name.substr(0, 3) == "btn")) {
_loc2[_local4].act = true;
_loc2[_local4].onRollOver = function () {
var _local2 = Number(this._name.substr(3, 1));
if (this.act == true) {
_loc2["c" + _local2].gotoAndPlay("over");
}
};
_loc2[_local4].onRollOut = function () {
var _local2 = Number(this._name.substr(3, 1));
if (this.act == true) {
_loc2["c" + _local2].gotoAndPlay("out");
}
};
_loc2[_local4].onRelease = function () {
var _local3 = Number(this._name.substr(3, 1));
var _local2 = 1;
while (_local2 < 6) {
_loc2["c" + _local2].gotoAndStop(1);
_loc2["btn" + _local2].act = true;
_local2++;
}
this.act = false;
_loc2["c" + _local3].gotoAndStop("stop");
loadEff(_local3);
switch (_local3) {
case 1 :
girl(0, -15, 100);
break;
case 2 :
girl(0, -15, 100);
break;
case 3 :
girl(-160, -30, 200);
break;
case 4 :
girl(-380, -100, 300);
break;
case 5 :
girl(0, -15, 100);
}
};
_loc2[_local4].onReleaseOutside = function () {
var _local3 = Number(this._name.substr(3, 1));
var _local2 = 1;
while (_local2 < 6) {
_loc2["c" + _local2].gotoAndStop(1);
_loc2["btn" + _local2].act = true;
_local2++;
}
this.act = false;
_loc2["c" + _local3].gotoAndStop("stop");
loadEff(_local3);
switch (_local3) {
case 1 :
girl(0, -15, 100);
break;
case 2 :
girl(0, -15, 100);
break;
case 3 :
girl(-160, -30, 200);
break;
case 4 :
girl(-380, -100, 300);
break;
case 5 :
girl(0, -15, 100);
}
};
}
}
}
function loadEff(no) {
var _local4 = _root;
var _local3 = _root.loadMc;
var _local2;
addSound("sd03");
_local2 = _local3.attachMovie("menu" + no, "_mc", 1);
go_xscale = new mx.transitions.Tween(_local2, "_xscale", mx.transitions.easing.Strong.easeOut, 40, 100, 10, false);
go_yscale = new mx.transitions.Tween(_local2, "_yscale", mx.transitions.easing.Strong.easeOut, 40, 100, 10, false);
}
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.jew03_mc.gotoAndStop(1);
_root.model_mc.glass_mc.gotoAndStop(1);
_root.model_mc.yaodai_mc.gotoAndStop(1);
_root.model_mc.cap_mc.gotoAndStop(1);
_root.model_mc.pifeng_mc.gotoAndStop(1);
_root.model_mc.bag_mc.gotoAndStop(1);
_root.model_mc.waitao_mc.gotoAndStop(1);
_root.model_mc.wazi_mc.gotoAndStop(1);
_root.model_mc.skin1.gotoAndStop(1);
_root.model_mc.skin2.gotoAndStop(1);
_root.model_mc.skin3.gotoAndStop(1);
_root.model_mc.skin1.face.gotoAndStop(1);
_root.model_mc.skin2.underwear1_mc._visible = true;
_root.model_mc.skin2.underwear2_mc._visible = true;
var _local2 = 1;
while (_local2 < 7) {
_root.model_mc["dress" + _local2].gotoAndStop(1);
_local2++;
}
}
function okFun() {
girl(200, -20, 105);
}
function SetPrintJob() {
my_pj = new PrintJob();
my_pj.start();
my_pj.addPage("_root", {printAsBitmap:true});
my_pj.send();
delete my_pj;
}
stop();
var skinNo = 1;
var lipNo = 1;
var mc_load;
girl(0, -15, 100);
reset_one();
menuBtnFun();
loadEff(1);
Instance of Symbol 335 MovieClip "model_mc" in Frame 111
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Instance of Symbol 341 MovieClip in Frame 111
onClipEvent (load) {
_parent.bgSound();
}
Frame 112
getRandomPlayer();
stop();
for (var i in _root.model_mc) {
if (typeof(_root.model_mc[i]) == "movieclip") {
model_mc[i].enabled = false;
}
}
Symbol 541 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 542 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 543 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 544 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 57 MovieClip Frame 1
stop();
Symbol 66 MovieClip Frame 1
stop();
Symbol 75 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 1
stop();
Symbol 93 MovieClip Frame 1
stop();
Symbol 102 MovieClip Frame 1
stop();
Symbol 111 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 1
stop();
Symbol 117 MovieClip Frame 1
stop();
Symbol 175 MovieClip Frame 1
stop();
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 175 MovieClip Frame 10
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 178 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 178 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 178 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 178 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 179 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 179 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 179 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 179 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 179 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 181 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 181 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 181 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 181 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 181 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Symbol 182 MovieClip Frame 1
stop();
Symbol 185 MovieClip Frame 1
stop();
Symbol 195 MovieClip Frame 1
stop();
Symbol 206 MovieClip Frame 1
stop();
Symbol 217 MovieClip Frame 1
stop();
Symbol 228 MovieClip Frame 1
stop();
Symbol 238 MovieClip Frame 1
stop();
Symbol 249 MovieClip Frame 1
stop();
Symbol 260 MovieClip Frame 1
stop();
Symbol 261 MovieClip Frame 1
stop();
Symbol 273 MovieClip Frame 1
stop();
Symbol 286 MovieClip Frame 1
stop();
Symbol 299 MovieClip Frame 1
stop();
Symbol 327 MovieClip Frame 1
stop();
Instance of Symbol 148 MovieClip in Symbol 329 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 329 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 331 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 331 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Symbol 334 MovieClip Frame 1
stop();
Symbol 338 Button
on (release) {
this.gotoAndStop(2);
_parent.end_btn_sound_fun();
}
Symbol 340 Button
on (release) {
this.gotoAndStop(1);
_parent.bgSound();
}
Symbol 341 MovieClip Frame 1
stop();
Symbol 341 MovieClip Frame 2
stop();
Symbol 354 MovieClip Frame 1
stop();
Symbol 356 MovieClip Frame 1
stop();
Symbol 357 MovieClip Frame 1
stop();
Symbol 381 MovieClip [menu1] Frame 1
function menu1_fun() {
var _local8 = _root;
var _local7 = _root.model_mc;
var _loc3 = _root.model_mc.hair_mc;
for (var _local6 in this) {
if ((typeof(this[_local6]) == "movieclip") and (this[_local6]._name.substr(0, 4) == "hbtn")) {
this[_local6].onRelease = function () {
_root.addSound("sd01");
var _local3 = Number(this._name.substr(4, 2));
_loc3.gotoAndStop(_local3);
};
this[_local6].onRollOver = function () {
this.gotoAndStop(2);
};
this[_local6].onRollOut = function () {
this.gotoAndStop(1);
};
}
if ((typeof(this[_local6]) == "movieclip") and (this[_local6]._name.substr(0, 4) == "cbtn")) {
this[_local6].onRelease = function () {
_root.addSound("sd01");
var _local4 = "0x" + this._name.substr(4);
var _local3 = new Color(_loc3.hair);
_local3.setRGB(_local4);
};
this[_local6].onRollOver = function () {
this.gotoAndStop(2);
};
this[_local6].onRollOut = function () {
this.gotoAndStop(1);
};
}
}
}
menu1_fun();
Symbol 384 MovieClip Frame 1
stop();
Symbol 405 MovieClip Frame 1
stop();
Instance of Symbol 148 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 148 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (load) {
n = random(59) + 1;
this.gotoAndPlay(n);
}
Symbol 408 MovieClip Frame 1
stop();
Symbol 410 MovieClip [menu2] Frame 1
function menu2_fun() {
var _local7 = _root;
var _loc2 = menuTop;
var _loc3 = menuBot;
var _loc4 = menuDress;
var _loc5 = menuShoe;
_root.mainFun(_loc2);
_root.mainFun(_loc3);
_root.mainFun(_loc4);
_root.mainFun(_loc5);
for (var _local6 in this) {
if ((typeof(this[_local6]) == "movieclip") and (this[_local6]._name.substr(0, 3) == "btn")) {
this[_local6].onRelease = function () {
var _local3 = this._name.substr(3, 2);
if (_local3 == "t1") {
_loc2.prevFrame();
_root.mainFun(_loc2);
}
if (_local3 == "t2") {
_loc2.nextFrame();
_root.mainFun(_loc2);
}
if (_local3 == "b1") {
_loc3.prevFrame();
_root.mainFun(_loc3);
}
if (_local3 == "b2") {
_loc3.nextFrame();
_root.mainFun(_loc3);
}
if (_local3 == "d1") {
_loc4.prevFrame();
_root.mainFun(_loc4);
}
if (_local3 == "d2") {
_loc4.nextFrame();
_root.mainFun(_loc4);
}
if (_local3 == "s1") {
_loc5.prevFrame();
_root.mainFun(_loc5);
}
if (_local3 == "s2") {
_loc5.nextFrame();
_root.mainFun(_loc5);
}
};
this[_local6].onRollOver = function () {
this.gotoAndStop(2);
};
this[_local6].onRollOut = function () {
this.gotoAndStop(1);
};
}
if ((typeof(this[_local6]) == "movieclip") and (this[_local6]._name.substr(0, 4) == "cbtn")) {
this[_local6].onRelease = function () {
var _local3 = "0x" + this._name.substr(4);
var _local2 = new Color(_loc3.hair);
_local2.setRGB(_local3);
};
this[_local6].onRollOver = function () {
this.gotoAndStop(2);
};
this[_local6].onRollOut = function () {
this.gotoAndStop(1);
};
}
}
}
menu2_fun();
Symbol 413 MovieClip [menu3] Frame 1
function menu3_fun() {
var _local6 = _root;
var _local5 = _root.model_mc;
var _loc3 = _root.model_mc.skin1;
var _loc4 = _root.model_mc.skin2;
var _loc5 = _root.model_mc.skin3;
for (var _local4 in this) {
if ((typeof(this[_local4]) == "movieclip") and (this[_local4]._name.substr(0, 4) == "sbtn")) {
this[_local4].onRelease = function () {
_root.addSound("sd01");
var _local3 = Number(this._name.substr(4, 2));
_loc3.gotoAndStop(_local3);
_loc3.face.gotoAndStop(_root.skinNo);
};
this[_local4].onRollOver = function () {
this.gotoAndStop(2);
};
this[_local4].onRollOut = function () {
this.gotoAndStop(1);
};
}
if ((typeof(this[_local4]) == "movieclip") and (this[_local4]._name.substr(0, 4) == "kbtn")) {
this[_local4].onRelease = function () {
_root.addSound("sd01");
var _local3 = Number(this._name.substr(4, 2));
_loc4.gotoAndStop(_local3);
_loc5.gotoAndStop(_local3);
_root.skinNo = _local3;
_loc3.face.gotoAndStop(_root.skinNo);
};
this[_local4].onRollOver = function () {
this.gotoAndStop(2);
};
this[_local4].onRollOut = function () {
this.gotoAndStop(1);
};
}
}
}
menu3_fun();
Symbol 416 MovieClip Frame 1
stop();
Symbol 419 MovieClip Frame 1
stop();
Symbol 423 MovieClip [menu4] Frame 1
function menu4_fun() {
var _local9 = _root;
var _local8 = _root.model_mc;
var _dress1 = _root.model_mc.dress1;
var _dress2 = _root.model_mc.dress2;
var _dress3 = _root.model_mc.dress3;
var _dress4 = _root.model_mc.dress4;
var _dress5 = _root.model_mc.dress5;
var _local7 = _root.model_mc.dress6;
for (var _local6 in this) {
if ((typeof(this[_local6]) == "movieclip") and (this[_local6]._name.substr(0, 1) == "d")) {
this[_local6].onRelease = function () {
_root.addSound("sd01");
if (this._name.substr(0, 2) == "d1") {
var _local3 = Number(this._name.substr(2, 2));
_dress1.gotoAndStop(_local3);
_dress1.lip.gotoAndStop(_root.lipNo);
}
if (this._name.substr(0, 2) == "dx") {
var _local3 = Number(this._name.substr(2, 2));
_root.lipNo = _local3;
_dress1.lip.gotoAndStop(_root.lipNo);
}
if (this._name.substr(0, 2) == "d2") {
var _local3 = Number(this._name.substr(2, 2));
_dress2.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "dy") {
var _local5 = "0x" + this._name.substr(2);
var _local4 = new Color(_dress2.lash);
_local4.setRGB(_local5);
}
if (this._name.substr(0, 2) == "d3") {
var _local3 = Number(this._name.substr(2, 2));
_dress3.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "ds") {
var _local5 = "0x" + this._name.substr(2);
var _local4 = new Color(_dress3.brow);
_local4.setRGB(_local5);
}
if (this._name.substr(0, 2) == "d4") {
var _local3 = Number(this._name.substr(2, 2));
_dress4.gotoAndStop(_local3);
}
if (this._name.substr(0, 2) == "d5") {
var _local3 = Number(this._name.substr(2, 2));
_dress5.gotoAndStop(_local3);
}
};
this[_local6].onRollOver = function () {
this.gotoAndStop(2);
};
this[_local6].onRollOut = function () {
this.gotoAndStop(1);
};
}
}
}
menu4_fun();
Symbol 425 MovieClip Frame 1
stop();
Symbol 426 MovieClip Frame 1
stop();
Symbol 428 MovieClip [menu5] Frame 1
function menu5_fun() {
var _local7 = _root;
var _loc2 = menuJew;
var _loc3 = menuCap;
var _loc4 = menuOther;
var _loc5 = menuShoe;
_root.mainFun(_loc2);
_root.mainFun(_loc3);
_root.mainFun(_loc4);
_root.mainFun(_loc5);
for (var _local6 in this) {
if ((typeof(this[_local6]) == "movieclip") and (this[_local6]._name.substr(0, 3) == "btn")) {
this[_local6].onRelease = function () {
var _local3 = this._name.substr(3, 2);
if (_local3 == "t1") {
_loc2.prevFrame();
_root.mainFun(_loc2);
}
if (_local3 == "t2") {
_loc2.nextFrame();
_root.mainFun(_loc2);
}
if (_local3 == "b1") {
_loc3.prevFrame();
_root.mainFun(_loc3);
}
if (_local3 == "b2") {
_loc3.nextFrame();
_root.mainFun(_loc3);
}
if (_local3 == "d1") {
_loc4.prevFrame();
_root.mainFun(_loc4);
}
if (_local3 == "d2") {
_loc4.nextFrame();
_root.mainFun(_loc4);
}
if (_local3 == "s1") {
_loc5.prevFrame();
_root.mainFun(_loc5);
}
if (_local3 == "s2") {
_loc5.nextFrame();
_root.mainFun(_loc5);
}
};
this[_local6].onRollOver = function () {
this.gotoAndStop(2);
};
this[_local6].onRollOut = function () {
this.gotoAndStop(1);
};
}
if ((typeof(this[_local6]) == "movieclip") and (this[_local6]._name.substr(0, 4) == "cbtn")) {
this[_local6].onRelease = function () {
var _local3 = "0x" + this._name.substr(4);
var _local2 = new Color(_loc3.hair);
_local2.setRGB(_local3);
};
this[_local6].onRollOver = function () {
this.gotoAndStop(2);
};
this[_local6].onRollOut = function () {
this.gotoAndStop(1);
};
}
}
}
menu5_fun();
Symbol 440 MovieClip Frame 1
stop();
Symbol 440 MovieClip Frame 10
stop();
Symbol 444 MovieClip Frame 1
stop();
Symbol 444 MovieClip Frame 10
stop();
Symbol 448 MovieClip Frame 1
stop();
Symbol 448 MovieClip Frame 10
stop();
Symbol 452 MovieClip Frame 1
stop();
Symbol 452 MovieClip Frame 10
stop();
Symbol 456 MovieClip Frame 1
stop();
Symbol 456 MovieClip Frame 10
stop();
Symbol 464 Button
on (release) {
gotoAndStop (112);
okFun();
}
Symbol 474 Button
on (release) {
getURL ("http://www.i-dressup.com", "_blank");
}
Symbol 478 Button
on (release) {
clear_ini();
gotoAndStop (111);
}
Symbol 481 Button
on (release) {
SetPrintJob();
}
Symbol 495 MovieClip Frame 1
_visible = false;
Instance of Symbol 335 MovieClip "model_mc" in Symbol 495 MovieClip Frame 1
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
}
Symbol 506 Button
on (release) {
_parent.save2server();
}
Symbol 510 Button
on (release) {
_visible = false;
}
Symbol 514 Button
on (release) {
_visible = false;
}
Symbol 521 Button
on (release) {
_parent._visible = false;
}
Symbol 522 Button
on (release) {
_parent._parent.installToolbar();
}
Symbol 523 MovieClip Frame 1
bg.useHandCursor = false;
Symbol 524 MovieClip Frame 1
nm.restrict = "A-Z a-z 0-9 - _ .";
_visible = false;
Symbol 526 Button
on (release) {
joinBattle();
}
Symbol 528 Button
on (release) {
getTop20();
}
Symbol 530 MovieClip Frame 1
bg.useHandCursor = false;
Symbol 534 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 535 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 539 Button
on (release) {
_visible = false;
}
Symbol 540 MovieClip Frame 1
_visible = false;