Frame 1
mcheck.onRelease = function () {
getURL ("http://www.dressupone.com/?utm_source=localhost&utm_medium=game&utm_campaign=my_first_dressing_room", "_blank");
};
if (_global.Behaviors == null) {
_global.Behaviors = {};
}
if (_global.Behaviors.Sound == null) {
_global.Behaviors.Sound = {};
}
if (typeof(this.createEmptyMovieClip) == "undefined") {
this._parent.createEmptyMovieClip("BS_lodsnd", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000));
_global.Behaviors.Sound.lodsnd = new Sound(this._parent.BS_lodsnd);
} else {
this.createEmptyMovieClip("_lodsnd_", new Date().getTime() - (Math.floor(new Date().getTime() / 10000) * 10000));
_global.Behaviors.Sound.lodsnd = new Sound(this.BS_lodsnd);
}
_global.Behaviors.Sound.lodsnd.attachSound("lodsin");
_global.Behaviors.Sound.lodsnd.start(0, 3);
function rightclick() {
getURL ("");
}
var fmm01_menu = new ContextMenu();
fmm01_menu.hideBuiltInItems();
_root.menu = fmm01_menu;
var item = new ContextMenuItem("", rightclick);
fmm01_menu.customItems[0] = item;
var loadper = 0;
Frame 86
s2.setMask(s1);
s1.cacheAsBitmap = true;
s2.cacheAsBitmap = true;
Frame 197
if (_framesloaded == _totalframes) {
gotoAndPlay (217);
} else {
setProperty(_root.bar, _xscale , (int(_root.getBytesLoaded() / 1000) / int(_root.getBytesTotal() / 1000)) * 100);
loadper = int(((_root.getBytesLoaded() / 1000) / (_root.getBytesTotal() / 1000)) * 100);
}
Frame 198
stop();
gotoAndPlay (197);
Frame 216
gotoAndStop (229);
Frame 228
gotoAndStop (229);
Frame 229
stop();
function top_reset() {
top1._x = (top1._y = (top2._x = (top2._y = (top3._x = (top3._y = (top4._x = (top4._y = (top5._x = (top5._y = (top6._x = (top6._y = (top7._x = (top7._y = (top8._x = (top8._y = (top9._x = (top9._y = 1000)))))))))))))))));
}
function bottom_reset() {
bottom1._x = (bottom1._y = (bottom2._x = (bottom2._y = (bottom3._x = (bottom3._y = (bottom4._x = (bottom4._y = (bottom5._x = (bottom5._y = (bottom6._x = (bottom6._y = 1000)))))))))));
}
function boot_reset() {
boot1._x = (boot1._y = (boot2._x = (boot2._y = (boot3._x = (boot3._y = (boot4._x = (boot4._y = (boot5._x = (boot5._y = (boot6._x = (boot6._y = 1000)))))))))));
}
function cap_reset() {
goggle1._x = (goggle1._y = (goggle2._x = (goggle2._y = (goggle3._x = (goggle3._y = (goggle4._x = (goggle4._y = (goggle5._x = (goggle5._y = 1000)))))))));
}
function back_reset() {
back1._x = (back1._y = (back2._x = (back2._y = (bk1._x = (bk1._y = (bk2._x = (bk2._y = (back3._x = (back3._y = (catfce._x = (catface._y = 2000)))))))))));
}
function hair_reset() {
p2n._x = (p2n._y = (p2._x = (p2._y = (hair1._x = (hair1._y = (hair2._x = (hair2._y = (hair3._x = (hair3._y = (hair4._x = (hair4._y = (hair5._x = (hair5._y = (hair6._x = (hair6._y = (hair7._x = (hair7._y = 1000)))))))))))))))));
}
function jewl_reset() {
jewel1._x = (jewel1._y = (jewel2._x = (jewel2._y = (jewel3._x = (jewel3._y = (jewel4._x = (jewel4._y = (jewel5._x = (jewel5._y = (jewel6._x = (jewel6._y = 1000)))))))))));
}
function tail_reset() {
tail1._x = (tail1._y = (tail2._x = (tail2._y = (tail3._x = (tail3._y = (tail4._x = (tail4._y = (tail5._x = (tail5._y = 1000)))))))));
}
function jewel_reset() {
jewel1._x = (jewel1._y = (jewel2._x = (jewel2._y = (jewel3._x = (jewel3._y = (jewel4._x = (jewel4._y = (jewel5._x = (jewel5._y = 1000)))))))));
}
function jewel_reset() {
jewel1._x = (jewel1._y = (jewel2._x = (jewel2._y = (jewel3._x = (jewel3._y = (jewel4._x = (jewel4._y = (jewel5._x = (jewel5._y = 1000)))))))));
}
stop();
mx.transitions.TransitionManager.start(t1, {type:mx.transitions.Zoom, direction:mx.transitions.Transition.IN, duration:2, easing:mx.transitions.easing.None.easeNone});
mx.transitions.TransitionManager.start(b1, {type:mx.transitions.Zoom, direction:mx.transitions.Transition.IN, duration:2, easing:mx.transitions.easing.None.easeNone});
mx.transitions.TransitionManager.start(h1, {type:mx.transitions.Zoom, direction:mx.transitions.Transition.IN, duration:2, easing:mx.transitions.easing.None.easeNone});
mx.transitions.TransitionManager.start(s1, {type:mx.transitions.Zoom, direction:mx.transitions.Transition.IN, duration:2, easing:mx.transitions.easing.None.easeNone});
mx.transitions.TransitionManager.start(g1, {type:mx.transitions.Zoom, direction:mx.transitions.Transition.IN, duration:2, easing:mx.transitions.easing.None.easeNone});
mx.transitions.TransitionManager.start(jw1, {type:mx.transitions.Zoom, direction:mx.transitions.Transition.IN, duration:2, easing:mx.transitions.easing.None.easeNone});
mx.transitions.TransitionManager.start(ta1, {type:mx.transitions.Zoom, direction:mx.transitions.Transition.IN, duration:2, easing:mx.transitions.easing.None.easeNone});
btdone._visible = true;
btreset._visible = false;
musicstart._visible = true;
musicstop._visible = false;
var top_obj = 0;
var bottom_obj = 0;
var boot_obj = 0;
var guitar_obj = 0;
var cap_obj = 0;
var back_obj = 0;
var hair_obj = 0;
var google_obj = 0;
var jewel_obj = 0;
var tail_obj = 0;
var jewl_obj = 0;
var col_obj = 0;
var skin_obj = 0;
playagain1._visible = true;
playmoregame1._visible = true;
print1._visible = true;
btndone.onRelease = function () {
playagain1._visible = true;
playmoregame1._visible = true;
print1._visible = true;
done1._visible = false;
btndone._visible = false;
btnrestart._visible = true;
btnprint1._visible = true;
btnmoregames._visible = true;
t1._visible = false;
b1._visible = false;
s1._visible = false;
h1._visible = false;
c1._visible = false;
j1._visible = false;
g1._visible = false;
dress_right._visible = false;
bottom_right._visible = false;
boot_right._visible = false;
hair_right._visible = false;
cap_right._visible = false;
jewel_right._visible = false;
goggle_right._visible = false;
mx.transitions.TransitionManager.start(btndone, {type:mx.transitions.Fade, direction:mx.transitions.Transition.IN, duration:1.5, easing:mx.transitions.easing.None.easeNone});
mx.transitions.TransitionManager.start(playmoregame1, {type:mx.transitions.Fade, direction:mx.transitions.Transition.IN, duration:1.5, easing:mx.transitions.easing.None.easeNone});
mx.transitions.TransitionManager.start(print1, {type:mx.transitions.Fade, direction:mx.transitions.Transition.IN, duration:1.5, easing:mx.transitions.easing.None.easeNone});
mx.transitions.TransitionManager.start(done1, {type:mx.transitions.Fade, direction:mx.transitions.Transition.OUT, duration:1.5, easing:mx.transitions.easing.None.easeNone});
};
btnrestart.onRelease = function () {
playagain1._visible = false;
playmoregame1._visible = false;
print1._visible = false;
done1._visible = true;
btndone._visible = true;
btnrestart._visible = false;
btnprint1._visible = false;
btnmoregames._visible = false;
t1._visible = true;
b1._visible = true;
s1._visible = true;
h1._visible = true;
c1._visible = true;
j1._visible = true;
g1._visible = true;
dress_right._visible = true;
bottom_right._visible = true;
boot_right._visible = true;
hair_right._visible = true;
cap_right._visible = true;
jewel_right._visible = true;
goggle_right._visible = true;
top_reset();
bottom_reset();
boot_reset();
cap_reset();
hair_reset();
goggle_reset();
jewel_reset();
hair5._x = 425.3;
hair5._y = 96.7;
top5._x = 448.6;
top5._y = 200.3;
bottom5._x = 417.3;
bottom5._y = 297.1;
mx.transitions.TransitionManager.start(playagain1, {type:mx.transitions.Fade, direction:mx.transitions.Transition.OUT, duration:1.5, easing:mx.transitions.easing.None.easeNone});
mx.transitions.TransitionManager.start(playmoregame1, {type:mx.transitions.Fade, direction:mx.transitions.Transition.OUT, duration:1.5, easing:mx.transitions.easing.None.easeNone});
mx.transitions.TransitionManager.start(print1, {type:mx.transitions.Fade, direction:mx.transitions.Transition.OUT, duration:1.5, easing:mx.transitions.easing.None.easeNone});
mx.transitions.TransitionManager.start(done1, {type:mx.transitions.Fade, direction:mx.transitions.Transition.IN, duration:1.5, easing:mx.transitions.easing.None.easeNone});
};
print1.onRelease = function () {
printAsBitmapNum (0, "bframe");
};
t1.onRelease = function () {
top_reset();
top_obj = top_obj + 1;
if (top_obj == 9) {
top_obj = 1;
} else if (top_obj == 1) {
top1._x = 175.6;
top1._y = 128.8;
} else if (top_obj == 2) {
top2._x = 208.3;
top2._y = 129.2;
} else if (top_obj == 3) {
top3._x = 206.5;
top3._y = 129.3;
} else if (top_obj == 4) {
top4._x = 195.8;
top4._y = 128.4;
} else if (top_obj == 5) {
top5._x = 195;
top5._y = 131.6;
} else if (top_obj == 6) {
top6._x = 175.4;
top6._y = 127;
} else if (top_obj == 7) {
top7._x = 207.7;
top7._y = 149.5;
} else if (top_obj == 8) {
top8._x = 203.3;
top8._y = 145.8;
top_obj = 0;
}
};
b1.onRelease = function () {
top7._x = (top7._y = 1000);
bottom_reset();
bottom_obj = bottom_obj + 1;
if (bottom_obj == 7) {
bottom_obj = 1;
}
if (bottom_obj == 1) {
bottom1._x = 206.2;
bottom1._y = 252.3;
} else if (bottom_obj == 2) {
bottom2._x = 207.8;
bottom2._y = 255.4;
} else if (bottom_obj == 3) {
bottom3._x = 207.3;
bottom3._y = 253.6;
} else if (bottom_obj == 4) {
bottom4._x = 194.3;
bottom4._y = 250.8;
} else if (bottom_obj == 5) {
bottom5._x = 203.7;
bottom5._y = 227.9;
} else if (bottom_obj == 6) {
bottom6._x = 209.5;
bottom6._y = 241.8;
bottom_obj = 0;
}
};
s1.onRelease = function () {
boot_reset();
boot_obj = boot_obj + 1;
if (boot_obj == 7) {
boot_obj = 1;
}
if (boot_obj == 1) {
boot1._x = 239.3;
boot1._y = 514.6;
} else if (boot_obj == 2) {
boot2._x = 240.6;
boot2._y = 504.5;
} else if (boot_obj == 3) {
boot3._x = 238.1;
boot3._y = 498.2;
} else if (boot_obj == 4) {
boot4._x = 240;
boot4._y = 516.1;
} else if (boot_obj == 5) {
boot5._x = 239.8;
boot5._y = 512.4;
} else if (boot_obj == 6) {
boot6._x = 237.4;
boot6._y = 497;
boot_obj = 0;
}
};
g1.onRelease = function () {
cap_reset();
cap_obj = cap_obj + 1;
if (cap_obj == 8) {
cap_obj = 1;
}
if (cap_obj == 1) {
goggle1._x = 208.5;
goggle1._y = 50;
} else if (cap_obj == 2) {
goggle2._x = 206.4;
goggle2._y = 55.5;
} else if (cap_obj == 3) {
goggle3._x = 214.3;
goggle3._y = 57.1;
} else if (cap_obj == 4) {
goggle4._x = 211.1;
goggle4._y = 55;
} else if (cap_obj == 5) {
goggle5._x = 208.5;
goggle5._y = 50;
} else if (cap_obj == 6) {
goggle6._x = 206.4;
goggle6._y = 55.5;
} else if (cap_obj == 7) {
goggle7._x = 210.2;
goggle7._y = 60.9;
}
};
skin_right.onRelease = function () {
skin_obj = skin_obj + 1;
if (skin_obj == 7) {
skin_obj = 1;
}
if (skin_obj == 1) {
var _local1 = new Color(model);
_local1.setRGB(16706777);
} else if (skin_obj == 2) {
var _local1 = new Color(model);
_local1.setRGB(16771794);
} else if (skin_obj == 3) {
var _local1 = new Color(model);
_local1.setRGB(16703165);
} else if (skin_obj == 4) {
var _local1 = new Color(model);
_local1.setRGB(16771536);
} else if (skin_obj == 5) {
var _local1 = new Color(model);
_local1.setRGB(16764311);
} else if (skin_obj == 6) {
var _local1 = new Color(model);
_local1.setRGB(15846825);
}
};
back_right.onRelease = function () {
back_reset();
back_obj = back_obj + 1;
if (back_obj == 3) {
back_obj = 1;
}
if (back_obj == 1) {
back2._x = -301.2;
back2._y = -160.7;
} else if (back_obj == 2) {
back1._x = -104;
back1._y = -88;
bk1._x = 1174.4;
bk1._y = 464.5;
bk2._x = -135.9;
bk2._y = 456.1;
back3._x = -212.1;
back3._y = -370.1;
bk3._x = 9.25;
bk3._y = -34.5;
catface._x = 113.9;
catface._y = 265.5;
}
};
back_left.onRelease = function () {
back_reset();
back_obj = back_obj - 1;
if (back_obj == -1) {
back_obj = 2;
}
if (back_obj == 0) {
back_obj = 2;
}
if (back_obj == 1) {
back1._x = -2.9;
back1._y = -8.7;
} else if (back_obj == 2) {
back2._x = -24.3;
back2._y = -0.7;
}
};
h1.onRelease = function () {
hair_reset();
hair_obj = hair_obj + 1;
if (hair_obj == 6) {
hair_obj = 1;
}
if (hair_obj == 1) {
hair1._x = 206.1;
hair1._y = 54.7;
} else if (hair_obj == 2) {
hair2._x = 207;
hair2._y = 53.6;
} else if (hair_obj == 3) {
hair3._x = 199.8;
hair3._y = 50.3;
} else if (hair_obj == 4) {
hair4._x = 186.8;
hair4._y = 48.5;
} else if (hair_obj == 5) {
hair5._x = 194.4;
hair5._y = 40.9;
}
};
jw1.onRelease = function () {
jewl_reset();
jewl_obj = jewl_obj + 1;
if (jewl_obj == 7) {
jewl_obj = 1;
}
if (jewl_obj == 1) {
jewel1._x = 239.1;
jewel1._y = 158.1;
} else if (jewl_obj == 2) {
jewel2._x = 229.2;
jewel2._y = 127.8;
} else if (jewl_obj == 3) {
jewel3._x = 248.4;
jewel3._y = 168;
} else if (jewl_obj == 4) {
jewel4._x = 227.4;
jewel4._y = 129.5;
} else if (jewl_obj == 5) {
jewel5._x = 240.5;
jewel5._y = 150.2;
} else if (jewl_obj == 6) {
jewel6._x = 440.5;
jewel6._y = 450.2;
}
};
ta1.onRelease = function () {
tail_reset();
tail_obj = tail_obj + 1;
if (tail_obj == 7) {
tail_obj = 1;
}
if (tail_obj == 1) {
tail1._x = 184.4;
tail1._y = 216.9;
} else if (tail_obj == 2) {
tail2._x = 180.8;
tail2._y = 212.6;
} else if (tail_obj == 3) {
tail3._x = 186.6;
tail3._y = 219.2;
} else if (tail_obj == 4) {
tail4._x = 183.9;
tail4._y = 221.3;
} else if (tail_obj == 5) {
tail5._x = 183.7;
tail5._y = 216.8;
} else if (tail_obj == 6) {
tail6._x = 254;
tail6._y = 438.4;
tail_obj = 0;
}
};
j1.onRelease = function () {
jewel_reset();
jewel_obj = jewel_obj + 1;
if (jewel_obj == 7) {
jewel_obj = 1;
}
if (jewel_obj == 1) {
jewel1._x = 462.9;
jewel1._y = 203.8;
} else if (jewel_obj == 2) {
jewel2._x = 463;
jewel2._y = 199.8;
} else if (jewel_obj == 3) {
jewel3._x = 463.7;
jewel3._y = 201.3;
} else if (jewel_obj == 4) {
jewel4._x = 463.3;
jewel4._y = 200.7;
} else if (jewel_obj == 5) {
jewel5._x = 465.4;
jewel5._y = 201.8;
}
};
c1.onRelease = function () {
col_obj = col_obj + 1;
if (col_obj == 4) {
col_obj = 1;
}
if (col_obj == 1) {
_root.modelmc.gotoAndStop(2);
} else if (col_obj == 2) {
_root.modelmc.gotoAndPlay(3);
} else if (col_obj == 3) {
_root.modelmc.gotoAndPlay(1);
}
};
musicstop.onRelease = function () {
musicstop._visible = false;
musicstart._visible = true;
var _local1 = new Sound();
_local1.attachSound("abc.mp3");
_local1.start();
};
musicstart.onRelease = function () {
musicstop._visible = true;
musicstart._visible = false;
stopAllSounds();
};
Symbol 68 Button
on (release) {
getURL ("http://www.dressupone.com/?utm_source=localhost&utm_medium=game&utm_campaign=my_first_dressing_room", "_blank");
}
Symbol 294 MovieClip [__Packages.mx.events.EventDispatcher] Frame 0
class mx.events.EventDispatcher
{
function EventDispatcher () {
}
static function _removeEventListener(queue, event, handler) {
if (queue != undefined) {
var _local4 = queue.length;
var _local1;
_local1 = 0;
while (_local1 < _local4) {
var _local2 = queue[_local1];
if (_local2 == handler) {
queue.splice(_local1, 1);
return(undefined);
}
_local1++;
}
}
}
static function initialize(object) {
if (_fEventDispatcher == undefined) {
_fEventDispatcher = new mx.events.EventDispatcher();
}
object.addEventListener = _fEventDispatcher.addEventListener;
object.removeEventListener = _fEventDispatcher.removeEventListener;
object.dispatchEvent = _fEventDispatcher.dispatchEvent;
object.dispatchQueue = _fEventDispatcher.dispatchQueue;
}
function dispatchQueue(queueObj, eventObj) {
var _local7 = "__q_" + eventObj.type;
var _local4 = queueObj[_local7];
if (_local4 != undefined) {
var _local5;
for (_local5 in _local4) {
var _local1 = _local4[_local5];
var _local3 = typeof(_local1);
if ((_local3 == "object") || (_local3 == "movieclip")) {
if (_local1.handleEvent != undefined) {
_local1.handleEvent(eventObj);
}
if (_local1[eventObj.type] != undefined) {
if (exceptions[eventObj.type] == undefined) {
_local1[eventObj.type](eventObj);
}
}
} else {
_local1.apply(queueObj, [eventObj]);
}
}
}
}
function dispatchEvent(eventObj) {
if (eventObj.target == undefined) {
eventObj.target = this;
}
this[eventObj.type + "Handler"](eventObj);
dispatchQueue(this, eventObj);
}
function addEventListener(event, handler) {
var _local3 = "__q_" + event;
if (this[_local3] == undefined) {
this[_local3] = new Array();
}
_global.ASSetPropFlags(this, _local3, 1);
_removeEventListener(this[_local3], event, handler);
this[_local3].push(handler);
}
function removeEventListener(event, handler) {
var _local2 = "__q_" + event;
_removeEventListener(this[_local2], event, handler);
}
static var _fEventDispatcher = undefined;
static var exceptions = {move:1, draw:1, load:1};
}
Symbol 295 MovieClip [__Packages.mx.transitions.Transition] Frame 0
class mx.transitions.Transition
{
var _manager, removeEventListener, addEventListener, _content, _twn, _easing, _progress, dispatchEvent, _innerBounds, _outerBounds, _width, _height;
function Transition (content, transParams, manager) {
if (!arguments.length) {
return;
}
init(content, transParams, manager);
}
function set manager(mgr) {
if (_manager != undefined) {
removeEventListener("transitionInDone", _manager);
removeEventListener("transitionOutDone", _manager);
removeEventListener("transitionProgress", _manager);
}
_manager = mgr;
addEventListener("transitionInDone", _manager);
addEventListener("transitionOutDone", _manager);
addEventListener("transitionProgress", _manager);
//return(manager);
}
function get manager() {
return(_manager);
}
function set content(c) {
if (typeof(c) == "movieclip") {
_content = c;
_twn.obj = c;
}
//return(content);
}
function get content() {
return(_content);
}
function set direction(direction) {
_direction = (direction ? 1 : 0);
//return(this.direction);
}
function get direction() {
return(_direction);
}
function set duration(d) {
if (d) {
_duration = d;
_twn.duration = d;
}
//return(duration);
}
function get duration() {
return(_duration);
}
function set easing(e) {
if (typeof(e) == "string") {
e = eval (e);
} else if (e == undefined) {
e = _noEase;
}
_easing = e;
_twn.easing = e;
//return(easing);
}
function get easing() {
return(_easing);
}
function set progress(p) {
if (_progress == p) {
return;
}
_progress = p;
if (_direction) {
_render(1 - p);
} else {
_render(p);
}
dispatchEvent({type:"transitionProgress", target:this, progress:p});
//return(progress);
}
function get progress() {
return(_progress);
}
function init(content, transParams, manager) {
this.content = (content);
direction = (transParams.direction);
duration = (transParams.duration);
easing = (transParams.easing);
this.manager = (manager);
_innerBounds = this.manager._innerBounds;
_outerBounds = this.manager._outerBounds;
_width = this.manager._width;
_height = this.manager._height;
_resetTween();
}
function toString() {
return(("[Transition " + className) + "]");
}
function start() {
content._visible = true;
_twn.start();
}
function stop() {
_twn.fforward();
_twn.stop();
}
function cleanUp() {
removeEventListener("transitionInDone", _manager);
removeEventListener("transitionOutDone", _manager);
removeEventListener("transitionProgress", _manager);
stop();
}
function getNextHighestDepthMC(mc) {
var _local4 = mc.getNextHighestDepth();
if (_local4 != undefined) {
return(_local4);
}
_local4 = -1;
var _local3;
var _local1;
for (var _local5 in mc) {
_local1 = mc[_local5];
if ((typeof(_local1) == "movieclip") && (_local1._parent == mc)) {
_local3 = _local1.getDepth();
if (_local3 > _local4) {
_local4 = _local3;
}
}
}
return(_local4 + 1);
}
function drawBox(mc, x, y, w, h) {
mc.moveTo(x, y);
mc.lineTo(x + w, y);
mc.lineTo(x + w, y + h);
mc.lineTo(x, y + h);
mc.lineTo(x, y);
}
function drawCircle(mc, x, y, r) {
mc.moveTo(x + r, y);
mc.curveTo(r + x, (0.414213562373095 * r) + y, (0.707106781186547 * r) + x, (0.707106781186547 * r) + y);
mc.curveTo((0.414213562373095 * r) + x, r + y, x, r + y);
mc.curveTo((-0.414213562373095 * r) + x, r + y, (-0.707106781186547 * r) + x, (0.707106781186547 * r) + y);
mc.curveTo((-r) + x, (0.414213562373095 * r) + y, (-r) + x, y);
mc.curveTo((-r) + x, (-0.414213562373095 * r) + y, (-0.707106781186547 * r) + x, (-0.707106781186547 * r) + y);
mc.curveTo((-0.414213562373095 * r) + x, (-r) + y, x, (-r) + y);
mc.curveTo((0.414213562373095 * r) + x, (-r) + y, (0.707106781186547 * r) + x, (-0.707106781186547 * r) + y);
mc.curveTo(r + x, (-0.414213562373095 * r) + y, r + x, y);
}
function _render(p) {
}
function _resetTween() {
_twn.stop();
_twn.removeListener(this);
_twn = new mx.transitions.Tween(this, null, easing, 0, 1, duration, true);
_twn.stop();
_twn.prop = "progress";
_twn.addListener(this);
}
function _noEase(t, b, c, d) {
return(((c * t) / d) + b);
}
function onMotionFinished(src) {
if (direction) {
dispatchEvent({type:"transitionOutDone", target:this});
} else {
dispatchEvent({type:"transitionInDone", target:this});
}
}
static var version = "1.1.0.52";
static var IN = 0;
static var OUT = 1;
var type = mx.transitions.Transition;
var className = "Transition";
var _direction = 0;
var _duration = 2;
static var __mixinFED = mx.events.EventDispatcher.initialize(mx.transitions.Transition.prototype);
}
Symbol 296 MovieClip [__Packages.mx.transitions.TransitionManager] Frame 0
class mx.transitions.TransitionManager
{
var _transitions, removeEventListener, _content, addEventListener, _contentAppearance, _innerBounds, _outerBounds, _width, _height, _triggerEvent, dispatchEvent;
function TransitionManager (content) {
this.content = (content);
_transitions = {};
}
function set content(c) {
removeEventListener("allTransitionsInDone", _content);
removeEventListener("allTransitionsOutDone", _content);
_content = c;
saveContentAppearance();
addEventListener("allTransitionsInDone", _content);
addEventListener("allTransitionsOutDone", _content);
//return(content);
}
function get content() {
return(_content);
}
function get transitionsList() {
return(_transitions);
}
function get numTransitions() {
var _local2 = 0;
for (var _local3 in _transitions) {
_local2++;
}
return(_local2);
}
function get numInTransitions() {
var _local3 = 0;
var _local2 = _transitions;
for (var _local4 in _local2) {
if (!_local2[_local4].direction) {
_local3++;
}
}
return(_local3);
}
function get numOutTransitions() {
var _local3 = 0;
var _local2 = _transitions;
for (var _local4 in _local2) {
if (_local2[_local4].direction) {
_local3++;
}
}
return(_local3);
}
function get contentAppearance() {
return(_contentAppearance);
}
static function start(content, transParams) {
if (content.__transitionManager == undefined) {
content.__transitionManager = new mx.transitions.TransitionManager(content);
}
if (transParams.direction == 1) {
content.__transitionManager._triggerEvent = "hide";
} else {
content.__transitionManager._triggerEvent = "reveal";
}
return(content.__transitionManager.startTransition(transParams));
}
function startTransition(transParams) {
removeTransition(findTransition(transParams));
var _local3 = transParams.type;
var _local2 = new _local3[undefined](_content, transParams, this);
addTransition(_local2);
_local2.start();
return(_local2);
}
function addTransition(trans) {
trans.ID = ++IDCount;
_transitions[trans.ID] = trans;
return(trans);
}
function removeTransition(trans) {
if (_transitions[trans.ID] == undefined) {
return(false);
}
trans.cleanUp();
return(delete _transitions[trans.ID]);
}
function findTransition(transParams) {
var _local2;
for (var _local4 in _transitions) {
_local2 = _transitions[_local4];
if (_local2.type == transParams.type) {
return(_local2);
}
}
return(undefined);
}
function removeAllTransitions() {
for (var _local2 in _transitions) {
_transitions[_local2].cleanUp();
removeTransition(_transitions[_local2]);
}
}
function saveContentAppearance() {
var _local2 = _content;
if (_contentAppearance == undefined) {
var _local3 = (_contentAppearance = {});
for (var _local4 in _visualPropList) {
_local3[_local4] = _local2[_local4];
}
_local3.colorTransform = new Color(_local2).getTransform();
}
_innerBounds = _local2.getBounds(targetPath(_local2));
_outerBounds = _local2.getBounds(targetPath(_local2._parent));
_width = _local2._width;
_height = _local2._height;
}
function restoreContentAppearance() {
var _local2 = _content;
var _local3 = _contentAppearance;
for (var _local4 in _visualPropList) {
_local2[_local4] = _local3[_local4];
}
new Color(_local2).setTransform(_local3.colorTransform);
}
function transitionInDone(e) {
removeTransition(e.target);
if (numInTransitions == 0) {
var _local2;
_local2 = _content._visible;
if ((_triggerEvent == "hide") || (_triggerEvent == "hideChild")) {
_content._visible = false;
}
if (_local2) {
dispatchEvent({type:"allTransitionsInDone", target:this});
}
}
}
function transitionOutDone(e) {
removeTransition(e.target);
if (numOutTransitions == 0) {
restoreContentAppearance();
var _local2;
_local2 = _content._visible;
if (_local2 && ((_triggerEvent == "hide") || (_triggerEvent == "hideChild"))) {
_content._visible = false;
}
updateAfterEvent();
if (_local2) {
dispatchEvent({type:"allTransitionsOutDone", target:this});
}
}
}
function toString() {
return("[TransitionManager]");
}
static var version = "1.1.0.52";
static var IDCount = 0;
var type = mx.transitions.TransitionManager;
var className = "TransitionManager";
var _visualPropList = {_x:null, _y:null, _xscale:null, _yscale:null, _alpha:null, _rotation:null};
static var __mixinFED = mx.events.EventDispatcher.initialize(mx.transitions.TransitionManager.prototype);
}
Symbol 297 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 298 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 299 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 300 MovieClip [__Packages.mx.transitions.Fade] Frame 0
class mx.transitions.Fade extends mx.transitions.Transition
{
var _alphaFinal, __get__manager, _content;
function Fade (content, transParams, manager) {
super();
init(content, transParams, manager);
}
function init(content, transParams, manager) {
super.init(content, transParams, manager);
_alphaFinal = __get__manager().__get__contentAppearance()._alpha;
}
function _render(p) {
_content._alpha = _alphaFinal * p;
}
static var version = "1.1.0.52";
var type = mx.transitions.Fade;
var className = "Fade";
}
Symbol 301 MovieClip [__Packages.mx.transitions.Zoom] Frame 0
class mx.transitions.Zoom extends mx.transitions.Transition
{
var _xscaleFinal, __get__manager, _yscaleFinal, _content;
function Zoom (content, transParams, manager) {
super();
init(content, transParams, manager);
}
function init(content, transParams, manager) {
super.init(content, transParams, manager);
_xscaleFinal = __get__manager().__get__contentAppearance()._xscale;
_yscaleFinal = __get__manager().__get__contentAppearance()._yscale;
}
function _render(p) {
if (p < 0) {
p = 0;
}
_content._xscale = p * _xscaleFinal;
_content._yscale = p * _yscaleFinal;
}
static var version = "1.1.0.52";
var type = mx.transitions.Zoom;
var className = "Zoom";
}
Symbol 302 MovieClip [__Packages.mx.transitions.easing.None] Frame 0
class mx.transitions.easing.None
{
function None () {
}
static function easeNone(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeIn(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeOut(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeInOut(t, b, c, d) {
return(((c * t) / d) + b);
}
static var version = "1.1.0.52";
}
Symbol 79 MovieClip Frame 35
stop();
Symbol 80 Button
on (release) {
getURL ("http://www.dressupone.com/", "_blank");
}
Symbol 100 MovieClip Frame 1
k = 0;
while (k < 100) {
duplicateMovieClip (this.snow, "snow" + k, 16384 + k);
k++;
}
Instance of Symbol 99 MovieClip "snow" in Symbol 100 MovieClip Frame 1
onClipEvent (load) {
movieWidth = 500;
movieHeight = 700;
i = 1 + (Math.random() * 5);
k = -3.14159 + (Math.random() * 3.14159);
this._xscale = (this._yscale = 50 + (Math.random() * 100));
this._alpha = 75 + (Math.random() * 100);
this._x = -10 + (Math.random() * movieWidth);
this._y = -10 + (Math.random() * movieHeight);
}
onClipEvent (enterFrame) {
rad = rad + ((k / 180) * 3.14159);
this._x = this._x - Math.cos(rad);
this._y = this._y + i;
if (this._y >= movieHeight) {
this._y = -5;
}
if ((this._x >= movieWidth) || (this._x <= 0)) {
this._x = -10 + (Math.random() * movieWidth);
this._y = -5;
}
}
Symbol 179 Button
on (release) {
var localDomainLC = new LocalConnection();
flashCurrentDomainName = localDomainLC.domain();
var btnUrl = "http://www.dressupone.com/?utm_source=localhost&utm_medium=game&utm_campaign=my_first_dressing_room";
getURL (btnUrl, "_blank");
}
Symbol 185 Button
on (release) {
_root.btdone._visible = false;
_root.btreset._visible = true;
_root.t1._x = 1000;
_root.t1._y = 1000;
_root.b1._x = 1000;
_root.b1._y = 1000;
_root.h1._x = 1000;
_root.h1._y = 1000;
_root.s1._x = 1000;
_root.s1._y = 1000;
_root.g1._x = 1000;
_root.g1._y = 1000;
_root.jw1._x = 1000;
_root.jw1._y = 1000;
_root.ta1._x = 1000;
_root.ta1._y = 1000;
}
Symbol 187 Button
on (release) {
_root.btdone._visible = true;
_root.btreset._visible = false;
_root.t1._x = 437.6;
_root.t1._y = 546.5;
_root.b1._x = 490.1;
_root.b1._y = 546.5;
_root.h1._x = 541.1;
_root.h1._y = 546.5;
_root.s1._x = 593.6;
_root.s1._y = 546.5;
_root.g1._x = 644.8;
_root.g1._y = 546.5;
_root.jw1._x = 697.3;
_root.jw1._y = 546.5;
_root.ta1._x = 751.3;
_root.ta1._y = 546.5;
_root.jewel_reset();
_root.tail_reset();
_root.hair_reset();
_root.cap_reset();
_root.boot_reset();
_root.bottom_reset();
_root.top_reset();
_root.hair1._x = 206.1;
_root.hair1._y = 54.7;
_root.top8._x = 203.3;
_root.top8._y = 145.8;
_root.bottom2._x = 207.8;
_root.bottom2._y = 255.4;
}
Instance of Symbol 193 MovieClip "p20" in Symbol 194 MovieClip Frame 1
on (press) {
if (_name.substr(0, 1) == "p") {
this.swapDepths(_root.d++);
this.startDrag();
}
}
on (release) {
if (_name.substr(0, 1) == "p") {
this.stopDrag();
_root.matchCheck(this);
}
}
Instance of Symbol 202 MovieClip "p104" in Symbol 203 MovieClip Frame 1
on (press) {
if (_name.substr(0, 1) == "p") {
this.swapDepths(_root.d++);
this.startDrag();
}
}
on (release) {
if (_name.substr(0, 1) == "p") {
this.stopDrag();
_root.matchCheck(this);
}
}
Symbol 214 Button
on (press) {
if (_name.substr(0, 1) == "p") {
this.swapDepths(_root.d++);
this.startDrag();
}
}
on (release) {
if (_name.substr(0, 1) == "p") {
this.stopDrag();
_root.matchCheck(this);
}
}
Symbol 217 Button
on (press) {
if (_name.substr(0, 1) == "p") {
this.swapDepths(_root.d++);
this.startDrag();
}
}
on (release) {
if (_name.substr(0, 1) == "p") {
this.stopDrag();
_root.matchCheck(this);
}
}
Symbol 220 Button
on (press) {
if (_name.substr(0, 1) == "p") {
this.swapDepths(_root.d++);
this.startDrag();
}
}
on (release) {
if (_name.substr(0, 1) == "p") {
this.stopDrag();
_root.matchCheck(this);
}
}
Symbol 292 Button
on (release) {
getURL ("http://www.dressupone.com/?utm_source=localhost&utm_medium=game&utm_campaign=my_first_dressing_room", "_blank");
}