Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("f49f4f3e", this, 10301, true);
stop();
Instance of Symbol 12 MovieClip in Frame 1
on (press) {
getURL ("http://www.rainbowdressup.com", "_blank");
}
Frame 2
stop();
var nowBtn = {head:"", dress:"", nose:"", tail:"", eyes:"", other:""};
play_btn.onRelease = function () {
gotoAndStop ("main");
};
more_btn.onRelease = function () {
getURL ("http://www.rainbowdressup.com", "_blank");
};
add_btn.onRelease = function () {
getURL ("http://www.rainbowdressup.com/download-dressup-games.php", "_blank");
};
Frame 3
stop();
done_btn.onRelease = function () {
gotoAndStop ("done");
};
replay_btn.onRelease = function () {
gotoAndStop ("start");
};
Instance of Symbol 197 MovieClip in Frame 3
on (release) {
getURL ("http://www.rainbowdressup.com", "_blank");
}
Frame 4
stop();
back_btn.onRelease = function () {
gotoAndStop ("main");
};
more_btn.onRelease = function () {
getURL ("http://www.rainbowdressup.com", "_blank");
};
Symbol 15 MovieClip Frame 20
this.removeMovieClip();
Symbol 16 MovieClip Frame 1
Frame_num = 1;
angle = 360;
plus_angle = 0;
scene_width = 400;
scene_height = 45;
bar_mc.i = 0;
bar_mc._visible = 0;
bar_mc.onEnterFrame = function () {
var _local2 = this;
if ((_local2.i % Frame_num) == 0) {
mc = _local2.duplicateMovieClip("bar_mc" + _local2.i, _local2.i);
mc._x = random(scene_width);
mc._y = random(scene_height);
mc._rotation = random(angle) + plus_angle;
}
_local2.i++;
};
Symbol 40 MovieClip Frame 30
stop();
Symbol 52 MovieClip Frame 21
stop();
Symbol 57 MovieClip Frame 100
stop();
_parent.gotoAndPlay("start");
Symbol 68 Button
on (press) {
_root.gotoAndStop(2);
}
Symbol 69 MovieClip Frame 1
loaded = _root.getBytesLoaded();
total = _root.getBytesTotal();
pre = int((loaded / total) * 40);
loadingbar.gotoAndPlay(pre);
stop();
loadingbar.onRelease = function () {
getURL ("http://www.rainbowdressup.com", "_blank");
};
Instance of Symbol 53 MovieClip in Symbol 69 MovieClip Frame 1
on (release) {
getURL ("http://www.rainbowdressup.com", "_blank");
}
Symbol 69 MovieClip Frame 20
stop();
Symbol 235 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 236 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 237 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 238 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 239 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 119 MovieClip Frame 1
stop();
Symbol 126 MovieClip Frame 1
stop();
Symbol 132 MovieClip Frame 1
stop();
Symbol 140 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 1
stop();
Symbol 155 MovieClip Frame 1
stop();
Symbol 205 MovieClip Frame 1
stop();
Symbol 212 MovieClip Frame 1
stop();
Symbol 219 MovieClip Frame 1
stop();
Symbol 220 MovieClip Frame 1
function initNoneBtn(mc, dinosaurMC, dressStr) {
mc.onRelease = function () {
var _local1 = new mx.transitions.Tween(dinosaurMC, "_alpha", mx.transitions.easing.Strong.easeIn, 100, 0, 0.2, true);
_local1.onMotionFinished = function () {
dinosaurMC.gotoAndStop("none");
dressStr = "none";
new mx.transitions.Tween(dinosaurMC, "_alpha", mx.transitions.easing.None.easeNone, 0, 100, 0.2, true);
};
};
}
function initOneBtn(mc, str, dinosaurMC, dressStr) {
mc.gotoAndStop(str);
var myDropFilter = (new flash.filters.DropShadowFilter(8));
myDropFilter.alpha = 0.8;
var myFilters1 = new Array();
myFilters1.push(myDropFilter);
mc.filters = myFilters1;
mc.onRollOver = function () {
this._alpha = this._alpha * 0.5;
};
mc.onRollOut = (mc.onReleaseOutside = function () {
this._alpha = this._alpha / 0.5;
});
mc.onRelease = function () {
if ((dressStr == "hair") || (dressStr == "bra")) {
if (_root[dressStr] == str) {
colorMC(mc);
dinosaurMC.gotoAndStop("none");
_root[dressStr] = "none";
_root.nowBtn[dressStr] = "none";
} else {
dinosaurMC.gotoAndStop(str);
_root[dressStr] = str;
var other = String(mc).substr(0, length(String(mc)) - 1);
var i = 1;
while (i < 10) {
if (eval (other + String(i)) != undefined) {
colorMC(eval (other + String(i)));
}
i++;
}
grayMC(mc);
_root.nowBtn[dressStr] = String(mc);
}
} else {
var tween_handler = (new mx.transitions.Tween(dinosaurMC, "_alpha", mx.transitions.easing.None.easeNone, 100, 0, 0.2, true));
tween_handler.onMotionFinished = function () {
if (_root[dressStr] == str) {
colorMC(mc);
dinosaurMC.gotoAndStop("none");
_root[dressStr] = "none";
_root.nowBtn[dressStr] = "none";
} else {
dinosaurMC.gotoAndStop(str);
_root[dressStr] = str;
var other = String(mc).substr(0, length(String(mc)) - 1);
var i = 1;
while (i < 10) {
if (eval (other + String(i)) != undefined) {
colorMC(eval (other + String(i)));
}
i++;
}
grayMC(mc);
_root.nowBtn[dressStr] = String(mc);
}
new mx.transitions.Tween(dinosaurMC, "_alpha", mx.transitions.easing.None.easeNone, 0, 100, 0.6, true);
};
}
};
}
function grayMC(e) {
var _local3 = [0.3086, 0.6094, 0.082, 0, 0, 0.3086, 0.6094, 0.082, 0, 0, 0.3086, 0.6094, 0.082, 0, 0, 0, 0, 0, 1, 0];
var _local4 = new flash.filters.ColorMatrixFilter(_local3);
var _local2 = new flash.filters.DropShadowFilter(8);
_local2.alpha = 0.8;
var _local1 = new Array();
_local1.push(_local4);
_local1.push(_local2);
e.filters = _local1;
}
function colorMC(e) {
var _local3 = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0];
var _local4 = new flash.filters.ColorMatrixFilter(_local3);
var _local2 = new flash.filters.DropShadowFilter(8);
_local2.alpha = 0.8;
var _local1 = new Array();
_local1.push(_local4);
_local1.push(_local2);
e.filters = _local1;
}
function setBtnGray(btn) {
for (var mc in this) {
if (mc.indexOf(btn)) {
grayMC(eval (btn));
}
}
}
stop();
Symbol 220 MovieClip Frame 2
function inithairBtn() {
initOneBtn(hairMc1, "hair1", _root.beautyMc.hair, "hair");
initOneBtn(hairMc2, "hair2", _root.beautyMc.hair, "hair");
initOneBtn(hairMc3, "hair3", _root.beautyMc.hair, "hair");
initOneBtn(hairMc4, "hair4", _root.beautyMc.hair, "hair");
initOneBtn(hairMc5, "hair5", _root.beautyMc.hair, "hair");
initOneBtn(hairMc6, "hair6", _root.beautyMc.hair, "hair");
}
inithairBtn();
setBtnGray(_root.nowBtn.hair);
Symbol 220 MovieClip Frame 3
function initbraBtn() {
initOneBtn(braMc1, "bra1", _root.beautyMc.bra, "bra");
initOneBtn(braMc2, "bra2", _root.beautyMc.bra, "bra");
initOneBtn(braMc3, "bra3", _root.beautyMc.bra, "bra");
initOneBtn(braMc4, "bra4", _root.beautyMc.bra, "bra");
initOneBtn(braMc5, "bra5", _root.beautyMc.bra, "bra");
initOneBtn(braMc6, "bra6", _root.beautyMc.bra, "bra");
}
initbraBtn();
setBtnGray(_root.nowBtn.bra);
Symbol 220 MovieClip Frame 4
function initskirtBtn() {
initOneBtn(skirtMc1, "skirt1", _root.beautyMc.skirt, "skirt");
initOneBtn(skirtMc2, "skirt2", _root.beautyMc.skirt, "skirt");
initOneBtn(skirtMc3, "skirt3", _root.beautyMc.skirt, "skirt");
initOneBtn(skirtMc4, "skirt4", _root.beautyMc.skirt, "skirt");
initOneBtn(skirtMc5, "skirt5", _root.beautyMc.skirt, "skirt");
initOneBtn(skirtMc6, "skirt6", _root.beautyMc.skirt, "skirt");
}
initskirtBtn();
setBtnGray(_root.nowBtn.skirt);
Symbol 220 MovieClip Frame 5
function inithandFlowerBtn() {
initOneBtn(handFlowerMc1, "handFlower1", _root.beautyMc.handFlower, "handFlower");
initOneBtn(handFlowerMc2, "handFlower2", _root.beautyMc.handFlower, "handFlower");
initOneBtn(handFlowerMc3, "handFlower3", _root.beautyMc.handFlower, "handFlower");
initOneBtn(handFlowerMc4, "handFlower4", _root.beautyMc.handFlower, "handFlower");
initOneBtn(handFlowerMc5, "handFlower5", _root.beautyMc.handFlower, "handFlower");
initOneBtn(handFlowerMc6, "handFlower6", _root.beautyMc.handFlower, "handFlower");
}
inithandFlowerBtn();
setBtnGray(_root.nowBtn.handFlower);
Symbol 220 MovieClip Frame 6
function initheadFlowerBtn() {
initOneBtn(headFlowerMc1, "headFlower1", _root.beautyMc.headFlower, "headFlower");
initOneBtn(headFlowerMc2, "headFlower2", _root.beautyMc.headFlower, "headFlower");
initOneBtn(headFlowerMc3, "headFlower3", _root.beautyMc.headFlower, "headFlower");
initOneBtn(headFlowerMc4, "headFlower4", _root.beautyMc.headFlower, "headFlower");
initOneBtn(headFlowerMc5, "headFlower5", _root.beautyMc.headFlower, "headFlower");
initOneBtn(headFlowerMc6, "headFlower6", _root.beautyMc.headFlower, "headFlower");
}
initheadFlowerBtn();
setBtnGray(_root.nowBtn.headFlower);
Symbol 220 MovieClip Frame 7
function initneckFlowerBtn() {
initOneBtn(neckFlowerMc1, "neckFlower1", _root.beautyMc.neckFlower, "neckFlower");
initOneBtn(neckFlowerMc2, "neckFlower2", _root.beautyMc.neckFlower, "neckFlower");
initOneBtn(neckFlowerMc3, "neckFlower3", _root.beautyMc.neckFlower, "neckFlower");
initOneBtn(neckFlowerMc4, "neckFlower4", _root.beautyMc.neckFlower, "neckFlower");
initOneBtn(neckFlowerMc5, "neckFlower5", _root.beautyMc.neckFlower, "neckFlower");
initOneBtn(neckFlowerMc6, "neckFlower6", _root.beautyMc.neckFlower, "neckFlower");
}
initneckFlowerBtn();
setBtnGray(_root.nowBtn.neckFlower);
Symbol 225 MovieClip Frame 1
function goFrame(mc, str, tmc) {
mc.onRollOver = function () {
};
mc.onRollOut = function () {
};
mc.onRelease = function () {
tmc.gotoAndStop(str);
new mx.transitions.Tween(tmc, "_alpha", mx.transitions.easing.None.easeNone, 0, 100, 1, true);
};
}
stop();
goFrame(hairBtn, "hair", _item);
goFrame(braBtn, "bra", _item);
goFrame(skirtBtn, "skirt", _item);
goFrame(handFlowerBtn, "handFlower", _item);
goFrame(headFlowerBtn, "headFlower", _item);
goFrame(neckFlowerBtn, "neckFlower", _item);