Frame 1
function itemHandler1(obj, item) {
getURL ("http://www.123peppy.com", "_blank");
}
this.onEnterFrame = function () {
my_mc._x = _xmouse;
my_mc._y = _ymouse;
};
var myMenu_cm = new ContextMenu();
myMenu_cm.hideBuiltInItems();
myMenu_cm.customItems.push(new ContextMenuItem("powered by www.123peppy.com", itemHandler1));
_root.menu = myMenu_cm;
Instance of Symbol 23 MovieClip in Frame 1
onClipEvent (enterFrame) {
loading = _parent.getBytesLoaded();
total = _parent.getBytesTotal();
if (percent == undefined) {
percent = 0;
}
percent = percent - ((percent - ((loading / total) * 100)) * 0.25);
per = int(percent);
percentage.text = per + "%";
loadBar._width = per;
if (percent >= 100) {
_parent.gotoAndStop(2);
}
}
Instance of Symbol 77 MovieClip "my_mc" in Frame 1
onClipEvent (load) {
_x = 0;
_y = 0;
speed = 5;
}
onClipEvent (enterFrame) {
endX = _root._xmouse;
endY = _root._ymouse;
_x = (_x + ((endX - _x) / speed));
_y = (_y + ((endY - _y) / speed));
}
Frame 2
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__("988bac95", this, 10301, true);
function starter() {
lightpalette._y = 781.5;
bookpalette._y = 781.5;
flowerpalette._y = 781.5;
bedpalette._y = 781.5;
windowpalette._y = 781.5;
photopalette._y = 781.5;
tablepalette._y = 781.5;
cir._x = -276.3;
var s1 = new Sound();
s1.attachSound("turn");
var s2 = new Sound();
s2.attachSound("button");
var s3 = new Sound();
s3.attachSound("pep");
var s4 = new Sound();
s4.attachSound("spark");
photoframe.gotoAndStop(1);
lights.gotoAndStop(1);
bed.gotoAndStop(1);
tables.gotoAndStop(1);
flowerpot.gotoAndStop(1);
books.gotoAndStop(1);
window.gotoAndStop(1);
carpet.gotoAndStop(1);
var a = 0;
cli.onPress = function () {
s2.start(0, 1);
if (a == 0) {
var _local1 = new mx.transitions.Tween(cir, "_x", mx.transitions.easing.Bounce.easeOut, -276.3, 363.3, 2, true);
if (lightpalette.hitTest(hit)) {
_local1 = new mx.transitions.Tween(lightpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
} else if (bedpalette.hitTest(hit)) {
_local1 = new mx.transitions.Tween(bedpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
} else if (photopalette.hitTest(hit)) {
_local1 = new mx.transitions.Tween(photopalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
} else if (tablepalette.hitTest(hit)) {
_local1 = new mx.transitions.Tween(tablepalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
} else if (windowpalette.hitTest(hit)) {
_local1 = new mx.transitions.Tween(windowpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
} else if (bookpalette.hitTest(hit)) {
_local1 = new mx.transitions.Tween(bookpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
} else if (flowerpalette.hitTest(hit)) {
_local1 = new mx.transitions.Tween(flowerpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
}
a++;
} else if (a == 1) {
if (lightpalette.hitTest(hit)) {
var _local1 = new mx.transitions.Tween(lightpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
} else if (bedpalette.hitTest(hit)) {
var _local1 = new mx.transitions.Tween(bedpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
} else if (photopalette.hitTest(hit)) {
var _local1 = new mx.transitions.Tween(photopalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
} else if (tablepalette.hitTest(hit)) {
var _local1 = new mx.transitions.Tween(tablepalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
} else if (windowpalette.hitTest(hit)) {
var _local1 = new mx.transitions.Tween(windowpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
} else if (bookpalette.hitTest(hit)) {
var _local1 = new mx.transitions.Tween(bookpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
} else if (flowerpalette.hitTest(hit)) {
var _local1 = new mx.transitions.Tween(flowerpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
}
var _local1 = new mx.transitions.Tween(cir, "_x", mx.transitions.easing.Regular.easeOut, 363.3, -276.3, 0.5, true);
a--;
}
};
cir.close.onPress = function () {
if (lightpalette.hitTest(hit)) {
var _local1 = new mx.transitions.Tween(lightpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
} else if (sofapalette.hitTest(hit)) {
var _local1 = new mx.transitions.Tween(sofapalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
} else if (bedpalette.hitTest(hit)) {
var _local1 = new mx.transitions.Tween(bedpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
} else if (photopalette.hitTest(hit)) {
var _local1 = new mx.transitions.Tween(photopalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
} else if (tablepalette.hitTest(hit)) {
var _local1 = new mx.transitions.Tween(tablepalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
} else if (windowpalette.hitTest(hit)) {
var _local1 = new mx.transitions.Tween(windowpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
} else if (bookpalette.hitTest(hit)) {
var _local1 = new mx.transitions.Tween(bookpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
} else if (flowerpalette.hitTest(hit)) {
var _local1 = new mx.transitions.Tween(flowerpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
}
var _local1 = new mx.transitions.Tween(cir, "_x", mx.transitions.easing.Regular.easeOut, 363.3, -276.3, 0.5, true);
a--;
};
cir.bed.onPress = function () {
s1.start(0, 2);
n = 2;
while (n <= 5) {
eval ("bedpalette.b" + n)._yscale = 0;
n++;
}
var f = (new mx.transitions.Tween(cir, "_x", mx.transitions.easing.Regular.easeOut, 363.3, -276.3, 0.5, true));
var s = (new mx.transitions.Tween(bedpalette, "_y", mx.transitions.easing.Regular.easeOut, 781.5, 421.5, 0.3, true));
a--;
s.onMotionFinished = function () {
var _local3 = new mx.transitions.Tween(bedpalette.b2, "_yscale", mx.transitions.easing.Regular.easeOut, 0, 100, 0.3, true);
_local3.onMotionFinished = function () {
var _local2 = new mx.transitions.Tween(bedpalette.b3, "_yscale", mx.transitions.easing.Regular.easeOut, 0, 100, 0.3, true);
_local2.onMotionFinished = function () {
var _local1 = new mx.transitions.Tween(bedpalette.b4, "_yscale", mx.transitions.easing.Regular.easeOut, 0, 100, 0.3, true);
_local1.onMotionFinished = function () {
var _local1 = new mx.transitions.Tween(bedpalette.b5, "_yscale", mx.transitions.easing.Regular.easeOut, 0, 100, 0.3, true);
};
};
};
};
if (tablepalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(tablepalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (photopalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(photopalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (lightpalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(lightpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (windowpalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(windowpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (bookpalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(bookpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (flowerpalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(flowerpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
}
};
cir.window.onPress = function () {
s1.start(0, 2);
n = 2;
while (n <= 5) {
eval ("windowpalette.f" + n)._yscale = 0;
n++;
}
a--;
var f = (new mx.transitions.Tween(cir, "_x", mx.transitions.easing.Regular.easeOut, 363.3, -276.3, 0.5, true));
var s = (new mx.transitions.Tween(windowpalette, "_y", mx.transitions.easing.Regular.easeOut, 781.5, 421.5, 0.3, true));
s.onMotionFinished = function () {
var _local3 = new mx.transitions.Tween(windowpalette.f2, "_yscale", mx.transitions.easing.Regular.easeOut, 0, 100, 0.3, true);
_local3.onMotionFinished = function () {
var _local2 = new mx.transitions.Tween(windowpalette.f3, "_yscale", mx.transitions.easing.Regular.easeOut, 0, 100, 0.3, true);
_local2.onMotionFinished = function () {
var _local1 = new mx.transitions.Tween(windowpalette.f4, "_yscale", mx.transitions.easing.Regular.easeOut, 0, 100, 0.3, true);
_local1.onMotionFinished = function () {
var _local1 = new mx.transitions.Tween(windowpalette.f5, "_yscale", mx.transitions.easing.Regular.easeOut, 0, 100, 0.3, true);
};
};
};
};
if (bedpalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(bedpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (tablepalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(tablepalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (photopalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(photopalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (lightpalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(lightpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (bookpalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(bookpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (flowerpalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(flowerpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
}
};
cir.table.onPress = function () {
s1.start(0, 2);
n = 2;
while (n <= 5) {
eval ("tablepalette.t" + n)._yscale = 0;
n++;
}
a--;
var f = (new mx.transitions.Tween(cir, "_x", mx.transitions.easing.Regular.easeOut, 363.3, -276.3, 0.5, true));
var s = (new mx.transitions.Tween(tablepalette, "_y", mx.transitions.easing.Regular.easeOut, 781.5, 421.5, 0.3, true));
s.onMotionFinished = function () {
var _local3 = new mx.transitions.Tween(tablepalette.t2, "_yscale", mx.transitions.easing.Regular.easeOut, 0, 100, 0.3, true);
_local3.onMotionFinished = function () {
var _local2 = new mx.transitions.Tween(tablepalette.t3, "_yscale", mx.transitions.easing.Regular.easeOut, 0, 100, 0.3, true);
_local2.onMotionFinished = function () {
var _local1 = new mx.transitions.Tween(tablepalette.t4, "_yscale", mx.transitions.easing.Regular.easeOut, 0, 100, 0.3, true);
_local1.onMotionFinished = function () {
var _local1 = new mx.transitions.Tween(tablepalette.t5, "_yscale", mx.transitions.easing.Regular.easeOut, 0, 100, 0.3, true);
};
};
};
};
if (bedpalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(bedpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (photopalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(photopalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (lightpalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(lightpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (windowpalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(windowpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (bookpalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(bookpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (flowerpalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(flowerpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
}
};
cir.photo.onPress = function () {
s1.start(0, 2);
n = 2;
while (n <= 5) {
eval ("photopalette.p" + n)._yscale = 0;
n++;
}
a--;
var f = (new mx.transitions.Tween(cir, "_x", mx.transitions.easing.Regular.easeOut, 363.3, -276.3, 0.5, true));
var s = (new mx.transitions.Tween(photopalette, "_y", mx.transitions.easing.Regular.easeOut, 781.5, 421.5, 0.3, true));
s.onMotionFinished = function () {
var _local3 = new mx.transitions.Tween(photopalette.p2, "_yscale", mx.transitions.easing.Regular.easeOut, 0, 100, 0.3, true);
_local3.onMotionFinished = function () {
var _local2 = new mx.transitions.Tween(photopalette.p3, "_yscale", mx.transitions.easing.Regular.easeOut, 0, 100, 0.3, true);
_local2.onMotionFinished = function () {
var _local1 = new mx.transitions.Tween(photopalette.p4, "_yscale", mx.transitions.easing.Regular.easeOut, 0, 100, 0.3, true);
_local1.onMotionFinished = function () {
var _local1 = new mx.transitions.Tween(photopalette.p5, "_yscale", mx.transitions.easing.Regular.easeOut, 0, 100, 0.3, true);
};
};
};
};
if (bedpalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(bedpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (tablepalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(tablepalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (lightpalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(lightpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (windowpalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(windowpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (bookpalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(bookpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (flowerpalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(flowerpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
}
};
cir.light.onPress = function () {
s1.start(0, 2);
n = 2;
while (n <= 5) {
eval ("lightpalette.l" + n)._yscale = 0;
n++;
}
a--;
var f = (new mx.transitions.Tween(cir, "_x", mx.transitions.easing.Regular.easeOut, 363.3, -276.3, 0.5, true));
var s = (new mx.transitions.Tween(lightpalette, "_y", mx.transitions.easing.Regular.easeOut, 781.5, 421.5, 0.3, true));
s.onMotionFinished = function () {
var _local3 = new mx.transitions.Tween(lightpalette.l2, "_yscale", mx.transitions.easing.Regular.easeOut, 0, 100, 0.3, true);
_local3.onMotionFinished = function () {
var _local2 = new mx.transitions.Tween(lightpalette.l3, "_yscale", mx.transitions.easing.Regular.easeOut, 0, 100, 0.3, true);
_local2.onMotionFinished = function () {
var _local1 = new mx.transitions.Tween(lightpalette.l4, "_yscale", mx.transitions.easing.Regular.easeOut, 0, 100, 0.3, true);
_local1.onMotionFinished = function () {
var _local1 = new mx.transitions.Tween(lightpalette.l5, "_yscale", mx.transitions.easing.Regular.easeOut, 0, 100, 0.3, true);
};
};
};
};
if (bedpalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(bedpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (photopalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(photopalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (tablepalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(tablepalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (windowpalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(windowpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (lightpalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(bookpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (flowerpalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(flowerpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
}
};
cir.book.onPress = function () {
s1.start(0, 2);
n = 2;
while (n <= 5) {
eval ("bookpalette.m" + n)._yscale = 0;
n++;
}
a--;
var f = (new mx.transitions.Tween(cir, "_x", mx.transitions.easing.Regular.easeOut, 363.3, -276.3, 0.5, true));
var s = (new mx.transitions.Tween(bookpalette, "_y", mx.transitions.easing.Regular.easeOut, 781.5, 421.5, 0.3, true));
s.onMotionFinished = function () {
var _local3 = new mx.transitions.Tween(bookpalette.m2, "_yscale", mx.transitions.easing.Regular.easeOut, 0, 100, 0.3, true);
_local3.onMotionFinished = function () {
var _local2 = new mx.transitions.Tween(bookpalette.m3, "_yscale", mx.transitions.easing.Regular.easeOut, 0, 100, 0.3, true);
_local2.onMotionFinished = function () {
var _local1 = new mx.transitions.Tween(bookpalette.m4, "_yscale", mx.transitions.easing.Regular.easeOut, 0, 100, 0.3, true);
_local1.onMotionFinished = function () {
var _local1 = new mx.transitions.Tween(bookpalette.m5, "_yscale", mx.transitions.easing.Regular.easeOut, 0, 100, 0.3, true);
};
};
};
};
if (bedpalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(bedpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (photopalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(photopalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (tablepalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(tablepalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (windowpalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(windowpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (flowerpalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(bookpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (lightpalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(flowerpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
}
};
cir.flower.onPress = function () {
s1.start(0, 2);
n = 2;
while (n <= 5) {
eval ("flowerpalette.f" + n)._yscale = 0;
n++;
}
a--;
var f = (new mx.transitions.Tween(cir, "_x", mx.transitions.easing.Regular.easeOut, 363.3, -276.3, 0.5, true));
var s = (new mx.transitions.Tween(flowerpalette, "_y", mx.transitions.easing.Regular.easeOut, 781.5, 421.5, 0.3, true));
s.onMotionFinished = function () {
var _local3 = new mx.transitions.Tween(flowerpalette.f2, "_yscale", mx.transitions.easing.Regular.easeOut, 0, 100, 0.3, true);
_local3.onMotionFinished = function () {
var _local2 = new mx.transitions.Tween(flowerpalette.f3, "_yscale", mx.transitions.easing.Regular.easeOut, 0, 100, 0.3, true);
_local2.onMotionFinished = function () {
var _local1 = new mx.transitions.Tween(flowerpalette.f4, "_yscale", mx.transitions.easing.Regular.easeOut, 0, 100, 0.3, true);
_local1.onMotionFinished = function () {
var _local1 = new mx.transitions.Tween(flowerpalette.f5, "_yscale", mx.transitions.easing.Regular.easeOut, 0, 100, 0.3, true);
};
};
};
};
if (bedpalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(bedpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (photopalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(photopalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (tablepalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(tablepalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (windowpalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(windowpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (bookpalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(bookpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
} else if (lightpalette.hitTest(hit)) {
var s = (new mx.transitions.Tween(flowerpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true));
}
};
i = 1;
while (i <= 5) {
eval ("bookpalette.m" + i).onPress = function () {
s4.start();
var _local2 = parseInt(this._name.substr(1));
books.gotoAndStop(_local2 + 1);
};
eval ("windowpalette.f" + i).onPress = function () {
s4.start();
var _local2 = parseInt(this._name.substr(1));
window.gotoAndStop(_local2 + 1);
};
eval ("flowerpalette.f" + i).onPress = function () {
s4.start();
var _local2 = parseInt(this._name.substr(1));
flowerpot.gotoAndStop(_local2 + 1);
};
eval ("lightpalette.l" + i).onPress = function () {
s4.start();
var _local2 = parseInt(this._name.substr(1));
lights.gotoAndStop(_local2 + 1);
};
eval ("tablepalette.t" + i).onPress = function () {
s4.start();
var _local2 = parseInt(this._name.substr(1));
tables.gotoAndStop(_local2 + 1);
};
eval ("bedpalette.b" + i).onPress = function () {
s4.start();
var _local2 = parseInt(this._name.substr(1));
bed.gotoAndStop(_local2 + 1);
};
eval ("photopalette.p" + i).onPress = function () {
s4.start();
var _local2 = parseInt(this._name.substr(1));
photoframe.gotoAndStop(_local2 + 1);
};
i++;
}
matbtn.onPress = function () {
cir._x = -276.3;
s2.start(0, 1);
carpet.nextFrame();
if (lightpalette.hitTest(hit)) {
var _local1 = new mx.transitions.Tween(lightpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
} else if (bedpalette.hitTest(hit)) {
var _local1 = new mx.transitions.Tween(bedpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
} else if (photopalette.hitTest(hit)) {
var _local1 = new mx.transitions.Tween(photopalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
} else if (tablepalette.hitTest(hit)) {
var _local1 = new mx.transitions.Tween(tablepalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
} else if (windowpalette.hitTest(hit)) {
var _local1 = new mx.transitions.Tween(windowpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
} else if (bookpalette.hitTest(hit)) {
var _local1 = new mx.transitions.Tween(bookpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
} else if (flowerpalette.hitTest(hit)) {
var _local1 = new mx.transitions.Tween(flowerpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
}
};
bgbtn.onPress = function () {
cir._x = -276.3;
s2.start(0, 1);
bg.nextFrame();
if (lightpalette.hitTest(hit)) {
var _local1 = new mx.transitions.Tween(lightpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
} else if (bedpalette.hitTest(hit)) {
var _local1 = new mx.transitions.Tween(bedpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
} else if (photopalette.hitTest(hit)) {
var _local1 = new mx.transitions.Tween(photopalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
} else if (tablepalette.hitTest(hit)) {
var _local1 = new mx.transitions.Tween(tablepalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
} else if (windowpalette.hitTest(hit)) {
var _local1 = new mx.transitions.Tween(windowpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
} else if (bookpalette.hitTest(hit)) {
var _local1 = new mx.transitions.Tween(bookpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
} else if (flowerpalette.hitTest(hit)) {
var _local1 = new mx.transitions.Tween(flowerpalette, "_y", mx.transitions.easing.Regular.easeOut, 421.5, 781.5, 0.5, true);
}
};
}
stop();
starter();
playagain.onPress = function () {
s2.start(0, 1);
starter();
};
Instance of Symbol 360 MovieClip "logo" in Frame 2
on (press) {
getURL ("http://www.123peppy.com", "_blank");
}
Symbol 12 MovieClip [org13] Frame 1
stop();
Symbol 12 MovieClip [org13] Frame 6
gotoAndPlay (1);
Symbol 30 MovieClip Frame 1
var btsLoaded = 0;
var btsTotal;
onEnterFrame = function () {
btsLoaded = _root.getBytesLoaded();
btsTotal = _root.getBytesTotal();
_root.loader.bar._x = _root.loader.percentage.text * 1.5;
percentage.text = Math.round((btsLoaded / btsTotal) * 100);
kbts.text = (((btsLoaded / 1000).toString() + "kb / ") + (btsTotal / 1000).toString()) + "kb";
if (percentage.text >= 100) {
_root.gotoAndPlay(2);
_root.loader._alpha = _root.loader._alpha - 8;
_root.loader._xscale = _root.loader._xscale - 2;
_root.loader._yscale = _root.loader._yscale - 2;
_root.loader.label1._visible = false;
_root.loader.percentage._visible = false;
_root.loader.kbts._visible = false;
if (_root.loader._alpha < 0) {
_root.gotoAndPlay(2);
onEnterFrame = null;
}
} else {
_root.gotoAndStop(1);
}
};
Symbol 38 MovieClip Frame 1
function init() {
makeFloats(200);
}
function makeFloats(num) {
var _local1 = num;
i = 20;
while (i < _local1) {
attachMovie("particle", "p" + i, i);
i++;
}
}
init();
Symbol 68 MovieClip Frame 47
stop();
Symbol 77 MovieClip Frame 57
_root.stop();
Symbol 363 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 364 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 365 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 366 MovieClip [__Packages.mx.transitions.easing.Bounce] Frame 0
class mx.transitions.easing.Bounce
{
function Bounce () {
}
static function easeOut(t, b, c, d) {
t = t / d;
if (t < 0.363636363636364) {
return((c * ((7.5625 * t) * t)) + b);
}
if (t < 0.727272727272727) {
t = t - 0.545454545454545;
return((c * (((7.5625 * t) * t) + 0.75)) + b);
}
if (t < 0.909090909090909) {
t = t - 0.818181818181818;
return((c * (((7.5625 * t) * t) + 0.9375)) + b);
}
t = t - 0.954545454545455;
return((c * (((7.5625 * t) * t) + 0.984375)) + b);
}
static function easeIn(t, b, c, d) {
return((c - easeOut(d - t, 0, c, d)) + b);
}
static function easeInOut(t, b, c, d) {
if (t < (d / 2)) {
return((easeIn(t * 2, 0, c, d) * 0.5) + b);
}
return(((easeOut((t * 2) - d, 0, c, d) * 0.5) + (c * 0.5)) + b);
}
static var version = "1.1.0.52";
}
Symbol 367 MovieClip [__Packages.mx.transitions.easing.Regular] Frame 0
class mx.transitions.easing.Regular
{
function Regular () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return(((c * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = t / d;
return((((-c) * t) * (t - 2)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return((((c / 2) * t) * t) + b);
}
t--;
return((((-c) / 2) * ((t * (t - 2)) - 1)) + b);
}
static var version = "1.1.0.52";
}
Symbol 147 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 6
gotoAndStop (1);
Symbol 162 MovieClip Frame 1
stop();
Symbol 162 MovieClip Frame 7
gotoAndStop (1);
Symbol 185 MovieClip Frame 1
stop();
Symbol 208 MovieClip Frame 1
stop();
Symbol 219 MovieClip Frame 1
stop();
Symbol 230 MovieClip Frame 1
stop();
Symbol 255 MovieClip Frame 1
stop();
Symbol 271 MovieClip Frame 1
stop();
Symbol 298 MovieClip Frame 1
stop();
Symbol 356 MovieClip Frame 1
var color = 16777215;
var alpha = 10;
var blurX = 9;
var blurY = 9;
var strength = 4;
var quality = 5;
var inner = false;
var knockout = false;
var array4 = (new flash.filters.GlowFilter(color, alpha, blurX, blurY, strength, quality, inner, knockout));
btn1.b1.onRollOver = function () {
btn1.filters = new Array(array4);
};
btn1.b1.onRollOut = function () {
btn1.filters = new Array();
};
btn2.b2.onRollOver = function () {
btn2.filters = new Array(array4);
};
btn2.b2.onRollOut = function () {
btn2.filters = new Array();
};
btn3.b3.onRollOver = function () {
btn3.filters = new Array(array4);
};
btn3.b3.onRollOut = function () {
btn3.filters = new Array();
};
btn4.b4.onRollOver = function () {
btn4.filters = new Array(array4);
};
btn4.b4.onRollOut = function () {
btn4.filters = new Array();
};
btn5.b5.onRollOver = function () {
btn5.filters = new Array(array4);
};
btn5.b5.onRollOut = function () {
btn5.filters = new Array();
};
btn6.b6.onRollOver = function () {
btn6.filters = new Array(array4);
};
btn6.b6.onRollOut = function () {
btn6.filters = new Array();
};
btn1.b1.onPress = function () {
this.nextFrame();
_root.b1.nextFrame();
};
btn2.b2.onPress = function () {
this.nextFrame();
_root.b2.nextFrame();
};
btn3.b3.onPress = function () {
this.nextFrame();
_root.b3.nextFrame();
};
btn4.b4.onPress = function () {
this.nextFrame();
_root.b4.nextFrame();
};
btn5.b5.onPress = function () {
this.nextFrame();
_root.b5.nextFrame();
};
btn6.b6.onPress = function () {
this.nextFrame();
_root.b6.nextFrame();
};