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__("df4dad06", this, 10301, true);
stop();
var dress = "none";
var hair = "none";
var shoes = "none";
var saddle = "none";
var logo = "none";
var shirt = "none";
var tr = "none";
var face = "none";
var nowBtn = {dress:"", hair:"", shoes:"", saddle:"", logo:"", shirt:"", tr:"", face:""};
_playbtn.onRelease = function () {
gotoAndStop ("main");
};
_morebtn.onRelease = function () {
getURL ("http://www.rainbowdressup.com", "_blank");
};
_addbtn.onRelease = function () {
getURL ("http://www.rainbowdressup.com/download-dressup-games.php", "_blank");
};
Instance of Symbol 49 MovieClip in Frame 1
on (release) {
getURL ("http://www.rainbowdressup.com", "_blank");
}
Frame 2
stop();
var dress = "none";
var hair = "none";
var shoes = "none";
var saddle = "none";
var logo = "none";
var shirt = "none";
var tr = "none";
var face = "none";
var nowBtn = {dress:"", hair:"", shoes:"", saddle:"", logo:"", shirt:"", tr:"", face:""};
_donebtn.onRelease = function () {
gotoAndStop ("done");
};
_replaybtn.onRelease = function () {
gotoAndStop ("start");
};
Instance of Symbol 58 MovieClip in Frame 2
on (release) {
getURL ("http://www.rainbowdressup.com", "_blank");
}
Frame 3
stop();
_backbtn.onRelease = function () {
gotoAndStop ("main");
};
Symbol 187 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 188 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 189 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 190 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 191 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 62 MovieClip Frame 2
stop();
Symbol 65 MovieClip Frame 2
stop();
Symbol 74 MovieClip Frame 1
stop();
Symbol 79 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 1
stop();
Symbol 98 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 1
stop();
Symbol 111 MovieClip Frame 1
stop();
Symbol 132 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 1
stop();
Symbol 145 MovieClip Frame 1
stop();
Symbol 173 MovieClip Frame 1
function goFrame(mc, str) {
mc.onRelease = function () {
gotoAndStop(str);
};
}
function initNoneBtn(mc, harleyMC, dressStr) {
mc.onRelease = function () {
var _local1 = new mx.transitions.Tween(harleyMC, "_alpha", mx.transitions.easing.Strong.easeIn, 100, 0, 0.2, true);
_local1.onMotionFinished = function () {
harleyMC.gotoAndStop("none");
dressStr = "none";
new mx.transitions.Tween(harleyMC, "_alpha", mx.transitions.easing.None.easeNone, 0, 100, 0.2, true);
};
};
}
function initOneBtn(mc, str, harleyMC, 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._yscale = this._yscale * 1.2;
this._xscale = this._xscale * 1.2;
};
mc.onRollOut = (mc.onReleaseOutside = function () {
this._yscale = this._yscale / 1.2;
this._xscale = this._xscale / 1.2;
});
mc.onRelease = function () {
var tween_handler = (new mx.transitions.Tween(harleyMC, "_alpha", mx.transitions.easing.None.easeNone, 100, 0, 0.2, true));
tween_handler.onMotionFinished = function () {
if (dressStr == "dress") {
_root._girlmc._shirtmc.gotoAndStop("none");
_root._girlmc._trmc.gotoAndStop("none");
_root.shirt = "none";
_root.trousers = "none";
_root.nowBtn.shirt = "none";
_root.nowBtn.tr = "none";
}
if ((dressStr == "shirt") || (dressStr == "tr")) {
_root._girlmc._dressmc.gotoAndStop("none");
_root.dress = "none";
_root.nowBtn.dress = "none";
}
if (_root[dressStr] == str) {
colorMC(mc);
harleyMC.gotoAndStop("none");
_root[dressStr] = "none";
_root.nowBtn[dressStr] = "none";
} else {
harleyMC.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(harleyMC, "_alpha", mx.transitions.easing.None.easeNone, 0, 100, 0.2, 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();
goFrame(_saddlebtn, "saddle");
goFrame(_hairbtn, "hair");
goFrame(_dressbtn, "dress");
goFrame(_shoesbtn, "shoes");
goFrame(_logobtn, "logo");
goFrame(_shirtbtn, "shirt");
goFrame(_trbtn, "tr");
goFrame(_facebtn, "face");
gotoAndStop (2);
Symbol 173 MovieClip Frame 2
function initHairBtn() {
initOneBtn(_hairbtn1, "hair1", _root._girlmc._hairmc, "hair");
initOneBtn(_hairbtn2, "hair2", _root._girlmc._hairmc, "hair");
initOneBtn(_hairbtn3, "hair3", _root._girlmc._hairmc, "hair");
initOneBtn(_hairbtn4, "hair4", _root._girlmc._hairmc, "hair");
initOneBtn(_hairbtn5, "hair5", _root._girlmc._hairmc, "hair");
initOneBtn(_hairbtn6, "hair6", _root._girlmc._hairmc, "hair");
initOneBtn(_hairbtn7, "hair7", _root._girlmc._hairmc, "hair");
}
initHairBtn();
setBtnGray(_root.nowBtn.hair);
Symbol 173 MovieClip Frame 3
function initdressBtn() {
initOneBtn(_dressbtn1, "dress1", _root._girlmc._dressmc, "dress");
initOneBtn(_dressbtn2, "dress2", _root._girlmc._dressmc, "dress");
initOneBtn(_dressbtn3, "dress3", _root._girlmc._dressmc, "dress");
initOneBtn(_dressbtn4, "dress4", _root._girlmc._dressmc, "dress");
initOneBtn(_dressbtn5, "dress5", _root._girlmc._dressmc, "dress");
initOneBtn(_dressbtn6, "dress6", _root._girlmc._dressmc, "dress");
initOneBtn(_dressbtn7, "dress7", _root._girlmc._dressmc, "dress");
}
initdressBtn();
setBtnGray(_root.nowBtn.dress);
Symbol 173 MovieClip Frame 4
function initshoesBtn() {
initOneBtn(_shoesbtn1, "shoes1", _root._girlmc._shoesmc, "shoes");
initOneBtn(_shoesbtn2, "shoes2", _root._girlmc._shoesmc, "shoes");
initOneBtn(_shoesbtn3, "shoes3", _root._girlmc._shoesmc, "shoes");
initOneBtn(_shoesbtn4, "shoes4", _root._girlmc._shoesmc, "shoes");
initOneBtn(_shoesbtn5, "shoes5", _root._girlmc._shoesmc, "shoes");
initOneBtn(_shoesbtn6, "shoes6", _root._girlmc._shoesmc, "shoes");
initOneBtn(_shoesbtn7, "shoes7", _root._girlmc._shoesmc, "shoes");
}
initshoesBtn();
setBtnGray(_root.nowBtn.shoes);
Symbol 173 MovieClip Frame 5
function initsaddleBtn() {
initOneBtn(_saddlebtn1, "saddle1", _root._motomc._saddlemc, "saddle");
initOneBtn(_saddlebtn2, "saddle2", _root._motomc._saddlemc, "saddle");
initOneBtn(_saddlebtn3, "saddle3", _root._motomc._saddlemc, "saddle");
initOneBtn(_saddlebtn4, "saddle4", _root._motomc._saddlemc, "saddle");
initOneBtn(_saddlebtn5, "saddle5", _root._motomc._saddlemc, "saddle");
initOneBtn(_saddlebtn6, "saddle6", _root._motomc._saddlemc, "saddle");
initOneBtn(_saddlebtn7, "saddle7", _root._motomc._saddlemc, "saddle");
}
initsaddleBtn();
setBtnGray(_root.nowBtn.saddle);
Symbol 173 MovieClip Frame 6
function initlogoBtn() {
initOneBtn(_logobtn1, "logo1", _root._motomc._logomc, "logo");
initOneBtn(_logobtn2, "logo2", _root._motomc._logomc, "logo");
initOneBtn(_logobtn3, "logo3", _root._motomc._logomc, "logo");
initOneBtn(_logobtn4, "logo4", _root._motomc._logomc, "logo");
initOneBtn(_logobtn5, "logo5", _root._motomc._logomc, "logo");
initOneBtn(_logobtn6, "logo6", _root._motomc._logomc, "logo");
initOneBtn(_logobtn7, "logo7", _root._motomc._logomc, "logo");
}
initlogoBtn();
setBtnGray(_root.nowBtn.logo);
Symbol 173 MovieClip Frame 7
function initfaceBtn() {
initOneBtn(_facebtn1, "face1", _root._girlmc._facemc, "face");
initOneBtn(_facebtn2, "face2", _root._girlmc._facemc, "face");
initOneBtn(_facebtn3, "face3", _root._girlmc._facemc, "face");
initOneBtn(_facebtn4, "face4", _root._girlmc._facemc, "face");
initOneBtn(_facebtn5, "face5", _root._girlmc._facemc, "face");
initOneBtn(_facebtn6, "face6", _root._girlmc._facemc, "face");
initOneBtn(_facebtn7, "face7", _root._girlmc._facemc, "face");
}
initfaceBtn();
setBtnGray(_root.nowBtn.face);
Symbol 173 MovieClip Frame 8
function initshirtBtn() {
initOneBtn(_shirtbtn1, "shirt1", _root._girlmc._shirtmc, "shirt");
initOneBtn(_shirtbtn2, "shirt2", _root._girlmc._shirtmc, "shirt");
initOneBtn(_shirtbtn3, "shirt3", _root._girlmc._shirtmc, "shirt");
initOneBtn(_shirtbtn4, "shirt4", _root._girlmc._shirtmc, "shirt");
initOneBtn(_shirtbtn5, "shirt5", _root._girlmc._shirtmc, "shirt");
initOneBtn(_shirtbtn6, "shirt6", _root._girlmc._shirtmc, "shirt");
initOneBtn(_shirtbtn7, "shirt7", _root._girlmc._shirtmc, "shirt");
}
initshirtBtn();
setBtnGray(_root.nowBtn.shirt);
Symbol 173 MovieClip Frame 9
function inittrBtn() {
initOneBtn(_trbtn1, "tr1", _root._girlmc._trmc, "tr");
initOneBtn(_trbtn2, "tr2", _root._girlmc._trmc, "tr");
initOneBtn(_trbtn3, "tr3", _root._girlmc._trmc, "tr");
initOneBtn(_trbtn4, "tr4", _root._girlmc._trmc, "tr");
initOneBtn(_trbtn5, "tr5", _root._girlmc._trmc, "tr");
initOneBtn(_trbtn6, "tr6", _root._girlmc._trmc, "tr");
initOneBtn(_trbtn7, "tr7", _root._girlmc._trmc, "tr");
}
inittrBtn();
setBtnGray(_root.nowBtn.tr);
Symbol 183 Button
on (release) {
getURL ("http://www.rainbowdressup.com/corvette-girl-dress-up.php", "_blank");
}
Symbol 186 Button
on (release) {
getURL ("http://www.rainbowdressup.com/red-carpet.php", "_blank");
}