Instance of Symbol 28 MovieClip in Frame 75
onClipEvent (load) {
n = random(33) + 1;
this.gotoAndPlay(n);
}
Instance of Symbol 28 MovieClip in Frame 75
onClipEvent (load) {
n = random(33) + 1;
this.gotoAndPlay(n);
}
Frame 109
stop();
loader_mc.onEnterFrame = function () {
var _local3 = this._parent;
var _local2 = _local3.getBytesLoaded() / _local3.getBytesTotal();
trace(_local2);
_local3.per = int(_local2 * 100);
this._xscale = int(_local2 * 100);
if (_local2 == 1) {
this.onEnterFrame = null;
_local3.nextFrame();
}
};
Frame 110
function start_link() {
gotoAndStop (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 saveit() {
mov = new Array();
frm = new Array();
vis = new Array();
for (var i in movarr) {
var tmpmc = eval ((mainmc + ".") + movarr[i]);
var hitmc = this.body;
if (tmpmc.hitTest(hitmc)) {
mov.push(new Array(movarr[i], int(tmpmc._x), int(tmpmc._y)));
}
}
for (var i in frmarr) {
var tmpmc = eval ((mainmc + ".") + frmarr[i]);
if (tmpmc._currentframe != 1) {
frm.push(new Array((mainmc + ".") + frmarr[i], tmpmc._currentframe));
}
}
for (var i in visarr) {
var tmpmc = eval ((mainmc + ".") + visarr[i]);
vis.push(new Array(visarr[i], tmpmc._visible));
}
savestr = (((("&mov=" + mov.join("|")) + "&frm=") + frm.join("|")) + "&vis=") + vis.join("|");
return(savestr);
}
loadMovieNum ("/control.swf", 10);
movarr = new Array();
for (var i in this) {
if ((typeof(this[i]) == "movieclip") and (this[i]._name.substr(0, 1) == "a")) {
movarr.push(this[i]._name);
}
}
frmarr = new Array("model_bady_mc", "dress_mc1", "dress_mc2", "dress_mc3", "dress_mc4", "dress_mc5", "dress_mc6", "dress_mc7", "dress_mc8", "dress_mc9", "dress_mc10");
visarr = new Array("model_bady_mc.underwear2_mc", "model_bady_mc.underwear1_mc");
hitmc = "body";
mainmc = "model_mc";
function to_initialize_fun(_mc, x0) {
_mc.xp = 0;
_mc.yp = 0;
_mc.onEnterFrame = function () {
this.xp = (this.xp * 0.1) + ((x0 - this._x) * 0.2);
this._x = this._x + this.xp;
if (Math.abs(this.xp) < 0.1) {
trace("a");
this._x = x0;
delete this.onEnterFrame;
this.lun1.stop();
this.lun2.stop();
}
};
}
function all_control_fun(v1, v2) {
if (v1 == 2) {
_root.model_mc.dress_mc0.underwear1_mc._visible = false;
} else if (v1 == 3) {
_root.model_mc.dress_mc0.underwear2_mc._visible = false;
}
this.model_mc[change_mc_array[v1]].gotoAndStop(v2 + 1);
}
function to_x0_y0_fun() {
var _local2 = 0;
while (_local2 <= 10) {
_root.model_mc["dress_mc" + _local2].gotoAndStop(1);
_local2++;
}
model_mc.dress_mc0.underwear1_mc._visible = true;
model_mc.dress_mc0.underwear2_mc._visible = true;
}
function tween() {
g++;
bg_mc0.gotoAndStop(g);
bg_mc.gotoAndStop(g);
mx.transitions.TransitionManager.start(bg_mc, {type:mx.transitions.Fade, direction:mx.transitions.Transition.IN, duration:1, easing:mx.transitions.easing.None.easeNone});
if (g == 4) {
g = 0;
}
}
function SetPrintJob() {
my_pj = new PrintJob();
my_pj.start();
my_pj.addPage("_root", {printAsBitmap:true});
my_pj.send();
delete my_pj;
}
function sound1() {
mySound = new Sound();
mySound.attachSound("s1");
mySound.start();
mySound.setVolume(100);
}
function sound2() {
mySound2 = new Sound();
mySound2.attachSound("s2");
mySound2.start();
mySound2.setVolume(100);
}
function sound3() {
mySound3 = new Sound(_root.menu_mc);
mySound3.attachSound("s3");
mySound3.start(0, 999);
mySound3.setVolume(100);
}
function end_btn_sound_fun() {
mySound3.stop();
}
stop();
bg_sd = true;
var g = 1;
a.onRelease = function () {
_root.to_initialize_fun(_root.menu_mc, -20.2);
};
b.onRelease = function () {
_root.to_initialize_fun(_root.menu_mc, -269.4);
};
change_mc_array = new Array();
var i = 0;
while (i < 10) {
change_mc_array[i] = "dress_mc" + i;
i++;
}
sound3();
Instance of Symbol 169 MovieClip "model_mc" in Frame 111
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.x1 = 260;
}
Instance of Symbol 230 MovieClip "menu_mc" in Frame 111
onClipEvent (load) {
this.x0 = this._x;
this.y0 = this._y;
this.x1 = -275;
}
Symbol 244 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 245 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 246 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 247 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 248 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 249 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 250 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 251 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";
}
Instance of Symbol 44 MovieClip "a1" in Symbol 45 MovieClip Frame 1
onClipEvent (enterFrame) {
xSpeed = random(3) - 1;
ySpeed = random(3) + 3;
this._x = this._x + xSpeed;
this._y = this._y - ySpeed;
}
Instance of Symbol 44 MovieClip "a3" in Symbol 45 MovieClip Frame 1
onClipEvent (enterFrame) {
xSpeed = random(3) - 1;
ySpeed = random(3) + 3;
this._x = this._x + xSpeed;
this._y = this._y - ySpeed;
}
Instance of Symbol 44 MovieClip "a6" in Symbol 45 MovieClip Frame 1
onClipEvent (enterFrame) {
xSpeed = random(3) - 1;
ySpeed = random(3) + 3;
this._x = this._x + xSpeed;
this._y = this._y - ySpeed;
}
Instance of Symbol 44 MovieClip "a7" in Symbol 45 MovieClip Frame 1
onClipEvent (enterFrame) {
xSpeed = random(3) - 1;
ySpeed = random(3) + 3;
this._x = this._x + xSpeed;
this._y = this._y - ySpeed;
}
Instance of Symbol 44 MovieClip "a9" in Symbol 45 MovieClip Frame 1
onClipEvent (enterFrame) {
xSpeed = random(3) - 1;
ySpeed = random(3) + 3;
this._x = this._x + xSpeed;
this._y = this._y - ySpeed;
}
Instance of Symbol 44 MovieClip "a4" in Symbol 45 MovieClip Frame 1
onClipEvent (enterFrame) {
xSpeed = random(3) - 1;
ySpeed = random(3) + 3;
this._x = this._x + xSpeed;
this._y = this._y - ySpeed;
}
Symbol 55 MovieClip Frame 1
stop();
Instance of Symbol 45 MovieClip in Symbol 55 MovieClip Frame 1
onClipEvent (enterFrame) {
var i = 1;
while (i <= 9) {
if (this["a" + i]._y < -400) {
this["a" + i]._x = random(450);
this["a" + i]._y = 200;
}
i++;
}
}
Symbol 55 MovieClip Frame 2
stop();
Symbol 55 MovieClip Frame 3
stop();
Symbol 55 MovieClip Frame 4
stop();
Symbol 67 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 1
stop();
Symbol 94 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 1
stop();
Symbol 122 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 1
stop();
Symbol 150 MovieClip Frame 1
stop();
Symbol 155 MovieClip Frame 1
stop();
Symbol 168 MovieClip Frame 1
stop();
Symbol 188 MovieClip Frame 1
stop();
Symbol 193 MovieClip Frame 1
stop();
Symbol 198 MovieClip Frame 1
stop();
Symbol 203 MovieClip Frame 1
stop();
Symbol 208 MovieClip Frame 1
stop();
Symbol 215 MovieClip Frame 1
stop();
Symbol 216 MovieClip Frame 1
stop();
close_btn.onRollOver = function () {
this.gotoAndStop(2);
};
close_btn.onRollOut = function () {
this.gotoAndStop(1);
};
close_btn.onRelease = function () {
_root.menu_mc.lun1.play();
_root.menu_mc.lun2.play();
this._parent.gotoAndStop(2);
_root.to_initialize_fun(_root.menu_mc, _root.menu_mc.x1);
_root.to_initialize_fun(_root.model_mc, _root.model_mc.x1);
_root.sound2();
};
Symbol 216 MovieClip Frame 2
stop();
open_btn.onRollOver = function () {
this.gotoAndStop(2);
};
open_btn.onRollOut = function () {
this.gotoAndStop(1);
};
open_btn.onRelease = function () {
_root.menu_mc.lun1.play();
_root.menu_mc.lun2.play();
this._parent.gotoAndStop(1);
_root.to_initialize_fun(_root.menu_mc, _root.menu_mc.x0);
_root.to_initialize_fun(_root.model_mc, _root.model_mc.x0);
_root.sound2();
};
Symbol 221 MovieClip Frame 1
stop();
Symbol 224 MovieClip Frame 1
stop();
Symbol 229 MovieClip Frame 1
stop();
Symbol 230 MovieClip Frame 1
function menu_init() {
var _local2 = this;
var _loc2 = this._parent;
for (var _local5 in _local2.menu_in) {
if (typeof(_local2.menu_in[_local5]) == "movieclip") {
if (_local2.menu_in[_local5]._name.substr(0, 1) == "a") {
_local2.menu_in[_local5].x0 = _local2.menu_in[_local5]._x;
_local2.menu_in[_local5].y0 = _local2.menu_in[_local5]._y;
_local2.menu_in[_local5].xscale0 = _local2.menu_in[_local5]._xscale;
_local2.menu_in[_local5].yscale0 = _local2.menu_in[_local5]._yscale;
_local2.menu_in[_local5].onPress = function () {
var _local2 = Number(this._name.substr(1, 1));
if (_local2 > 0) {
if (_local2 == 7) {
this.startDrag();
this._xscale = 300;
this._yscale = 300;
} else {
this.startDrag();
this._xscale = 85;
this._yscale = 85;
}
}
};
_local2.menu_in[_local5].onRelease = (_local2.menu_in[_local5].onReleaseOutside = function () {
var _local2 = Number(this._name.substr(1, 1));
var _local3 = Number(this._name.substr(2, 2));
if (_local2 == 0) {
_loc2.all_control_fun(_local2, _local3 - 1);
}
if (_local2 == 1) {
if (this._x > 280) {
_loc2.all_control_fun(_local2, _local3 - 1);
}
this.stopDrag();
this._x = this.x0;
this._y = this.y0;
this._xscale = this.xscale0;
this._yscale = this.yscale0;
} else {
if (this._x > 300) {
_loc2.all_control_fun(_local2, _local3);
}
this.stopDrag();
this._x = this.x0;
this._y = this.y0;
this._xscale = this.xscale0;
this._yscale = this.yscale0;
}
_loc2.sound1();
});
}
}
}
}
stop();
for (var i in this) {
var _loc1 = this;
var _loc2 = this._parent;
if (typeof(_loc1[i]) == "movieclip") {
if (_loc1[i]._name.substr(0, 1) == "n") {
_loc1[i].onRelease = function () {
_loc2.sound2();
var _local3 = Number(this._name.substr(4, 1));
var _local2 = 1;
while (_local2 < 4) {
_loc1["nbtn" + _local2].gotoAndStop(1);
_local2++;
}
this.gotoAndStop(2);
_loc1.menu_in.gotoAndStop(_local3);
_loc1.menu_init();
};
}
if (_loc1[i]._name.substr(0, 3) == "btn") {
_loc1[i].onRollOver = function () {
this.gotoAndStop(2);
};
_loc1[i].onRollOut = (_loc1[i].onReleaseOutside = function () {
this.gotoAndStop(1);
});
_loc1[i].onRelease = function () {
_loc2.sound2();
if (this._name.substr(4, 2) == "re") {
_loc2.to_x0_y0_fun();
}
if (this._name.substr(4, 2) == "pr") {
_loc2.SetPrintJob();
}
if (this._name.substr(4, 2) == "mi") {
if (_loc2.bg_sd == true) {
_loc2.end_btn_sound_fun();
_loc2.bg_sd = false;
trace("a");
} else {
_loc2.sound3();
_loc2.bg_sd = true;
}
}
if (this._name.substr(4, 2) == "bg") {
_loc2.tween();
}
};
}
}
}
menu_init();
Instance of Symbol 174 MovieClip "lun2" in Symbol 230 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 174 MovieClip "lun1" in Symbol 230 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Symbol 242 Button
on (release) {
getURL ("http://www.i-dressup.com", "_blank");
}