Frame 1
function itemHandler1(obj, item) {
getURL ("http://www.123peppy.com", "_blank");
}
stop();
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 92 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 146 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
stop();
plbtn.onPress = function () {
_root.nextFrame();
};
Frame 3
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__("8b8d6c05", this, 10301, true);
function starter() {
var s1 = new Sound();
s1.attachSound("bt1");
var s2 = new Sound();
s2.attachSound("rollover");
var s3 = new Sound();
s3.attachSound("recyclebin");
stovepallete._visible = false;
windowpallete._visible = false;
roompallete._visible = false;
potpallete._visible = false;
chairpallete._visible = false;
palette.stovebtn.onPress = function () {
s1.start(0, 1);
stovepallete.swapDepths(getNextHighestDepth());
stovepallete._visible = true;
var _local1 = new mx.transitions.Tween(stovepallete, "_y", mx.transitions.easing.Bounce.easeOut, 737.2, 410.9, 1, true);
s2.start(0, 1);
windowpallete._visible = false;
roompallete._visible = false;
potpallete._visible = false;
chairpallete._visible = false;
palette.stovebtn.enabled = false;
palette.roombtn.enabled = true;
palette.potbtn.enabled = true;
palette.chairbtn.enabled = true;
palette.windowbtn.enabled = true;
};
palette.roombtn.onPress = function () {
s1.start(0, 1);
roompallete.swapDepths(getNextHighestDepth());
var _local1 = new mx.transitions.Tween(roompallete, "_y", mx.transitions.easing.Bounce.easeOut, 737.2, 410.9, 1, true);
s2.start(0, 1);
windowpallete._visible = false;
stovepallete._visible = false;
roompallete._visible = true;
potpallete._visible = false;
chairpallete._visible = false;
palette.roombtn.enabled = false;
palette.stovebtn.enabled = true;
palette.potbtn.enabled = true;
palette.chairbtn.enabled = true;
palette.windowbtn.enabled = true;
};
palette.windowbtn.onPress = function () {
s1.start(0, 1);
windowpallete.swapDepths(getNextHighestDepth());
var _local1 = new mx.transitions.Tween(windowpallete, "_y", mx.transitions.easing.Bounce.easeOut, 737.2, 410.9, 1, true);
s2.start(0, 1);
roompallete._visible = false;
stovepallete._visible = false;
windowpallete._visible = true;
potpallete._visible = false;
chairpallete._visible = false;
palette.windowbtn.enabled = false;
palette.stovebtn.enabled = true;
palette.potbtn.enabled = true;
palette.chairbtn.enabled = true;
palette.roombtn.enabled = true;
};
palette.chairbtn.onPress = function () {
s1.start(0, 1);
chairpallete.swapDepths(getNextHighestDepth());
var _local1 = new mx.transitions.Tween(chairpallete, "_y", mx.transitions.easing.Bounce.easeOut, 737.2, 410.9, 1, true);
s2.start(0, 1);
windowpallete._visible = false;
stovepallete._visible = false;
chairpallete._visible = true;
potpallete._visible = false;
roompallete._visible = false;
palette.chairbtn.enabled = false;
palette.stovebtn.enabled = true;
palette.potbtn.enabled = true;
palette.windowbtn.enabled = true;
palette.roombtn.enabled = true;
};
palette.potbtn.onPress = function () {
s1.start(0, 1);
potpallete.swapDepths(getNextHighestDepth());
var _local1 = new mx.transitions.Tween(potpallete, "_y", mx.transitions.easing.Bounce.easeOut, 737.2, 410.9, 1, true);
s2.start(0, 1);
windowpallete._visible = false;
stovepallete._visible = false;
potpallete._visible = true;
roompallete._visible = false;
chairpallete._visible = false;
palette.potbtn.enabled = false;
palette.stovebtn.enabled = true;
palette.windowbtn.enabled = true;
palette.chairbtn.enabled = true;
palette.roombtn.enabled = true;
};
var r = 0;
var a;
i = 1;
while (i <= 8) {
eval ("stovepallete.obj" + i).onPress = function () {
var s = this._name.substr(3);
r = r + 1;
a = attachMovie("obj" + s, "object" + r, getNextHighestDepth(), {_x:_xmouse, _y:_ymouse});
var twee = (new mx.transitions.Tween(stovepallete, "_y", mx.transitions.easing.Bounce.easeOut, 410.9, 737.2, 1, true));
eval ("object" + r).onPress = function () {
this.startDrag();
palette.potbtn.enabled = true;
palette.stovebtn.enabled = true;
palette.windowbtn.enabled = true;
palette.chairbtn.enabled = true;
palette.roombtn.enabled = true;
this.swapDepths(getNextHighestDepth());
this.onMouseMove = function () {
if (this.hitTest(palette.recycle)) {
s3.start(0, 1);
this._xscale = 10;
this._yscale = 10;
this.onMouseUp = function () {
this._visible = false;
};
}
};
};
eval ("object" + r).onMouseUp = function () {
this.stopDrag();
};
};
i++;
}
i = 9;
while (i <= 15) {
eval ("windowpallete.obj" + i).onPress = function () {
var s = this._name.substr(3);
palette.potbtn.enabled = true;
palette.stovebtn.enabled = true;
palette.windowbtn.enabled = true;
palette.chairbtn.enabled = true;
palette.roombtn.enabled = true;
r = r + 1;
attachMovie("obj" + s, "object" + r, getNextHighestDepth(), {_x:_xmouse, _y:_ymouse});
var twee = (new mx.transitions.Tween(windowpallete, "_y", mx.transitions.easing.Bounce.easeOut, 410.9, 737.2, 1, true));
eval ("object" + r).onPress = function () {
this.startDrag();
this.swapDepths(getNextHighestDepth());
this.onMouseMove = function () {
if (this.hitTest(palette.recycle)) {
s3.start(0, 1);
this._xscale = 10;
this._yscale = 10;
this.onMouseUp = function () {
this._visible = false;
};
}
};
};
eval ("object" + r).onMouseUp = function () {
this.stopDrag();
};
};
i++;
}
i = 16;
while (i <= 25) {
eval ("chairpallete.obj" + i).onPress = function () {
palette.potbtn.enabled = true;
palette.stovebtn.enabled = true;
palette.windowbtn.enabled = true;
palette.chairbtn.enabled = true;
palette.roombtn.enabled = true;
var s = this._name.substr(3);
r = r + 1;
attachMovie("obj" + s, "object" + r, getNextHighestDepth(), {_x:_xmouse, _y:_ymouse});
var twee = (new mx.transitions.Tween(chairpallete, "_y", mx.transitions.easing.Bounce.easeOut, 410.9, 737.2, 1, true));
eval ("object" + r).onPress = function () {
this.startDrag();
this.swapDepths(getNextHighestDepth());
this.onMouseMove = function () {
if (this.hitTest(palette.recycle)) {
s3.start(0, 1);
this._xscale = 10;
this._yscale = 10;
this.onMouseUp = function () {
this._visible = false;
};
}
};
};
eval ("object" + r).onMouseUp = function () {
this.stopDrag();
};
};
i++;
}
i = 26;
while (i <= 29) {
eval ("potpallete.obj" + i).onPress = function () {
palette.potbtn.enabled = true;
palette.stovebtn.enabled = true;
palette.windowbtn.enabled = true;
palette.chairbtn.enabled = true;
palette.roombtn.enabled = true;
var s = this._name.substr(3);
r = r + 1;
attachMovie("obj" + s, "object" + r, getNextHighestDepth(), {_x:_xmouse, _y:_ymouse});
var twee = (new mx.transitions.Tween(potpallete, "_y", mx.transitions.easing.Elastic.easeOut, 410.9, 737.2, 1, true));
eval ("object" + r).onPress = function () {
this.startDrag();
this.swapDepths(getNextHighestDepth());
this.onMouseMove = function () {
if (this.hitTest(palette.recycle)) {
s3.start(0, 1);
this._xscale = 10;
this._yscale = 10;
this.onMouseUp = function () {
this._visible = false;
};
}
};
};
eval ("object" + r).onMouseUp = function () {
this.stopDrag();
};
};
i++;
}
i = 1;
while (i <= 10) {
eval ("roompallete.o" + i).onPress = function () {
palette.potbtn.enabled = true;
palette.stovebtn.enabled = true;
palette.windowbtn.enabled = true;
palette.chairbtn.enabled = true;
palette.roombtn.enabled = true;
var _local3 = new mx.transitions.Tween(roompallete, "_y", mx.transitions.easing.Bounce.easeOut, 410.9, 737.2, 1, true);
var _local2 = parseInt(this._name.substr(1));
room.gotoAndStop(_local2);
};
i++;
}
}
stop();
starter();
Symbol 99 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 107 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 137 MovieClip Frame 47
stop();
Symbol 146 MovieClip Frame 57
_root.stop();
Symbol 241 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 242 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 243 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 244 MovieClip [__Packages.mx.transitions.easing.Elastic] Frame 0
class mx.transitions.easing.Elastic
{
function Elastic () {
}
static function easeIn(t, b, c, d, a, p) {
if (t == 0) {
return(b);
}
t = t / d;
if (t == 1) {
return(b + c);
}
if (!p) {
p = d * 0.3;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
var _local7 = p / 4;
} else {
var _local7 = (p / (Math.PI*2)) * Math.asin(c / a);
}
t = t - 1;
return((-((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p))) + b);
}
static function easeOut(t, b, c, d, a, p) {
if (t == 0) {
return(b);
}
t = t / d;
if (t == 1) {
return(b + c);
}
if (!p) {
p = d * 0.3;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
var _local7 = p / 4;
} else {
var _local7 = (p / (Math.PI*2)) * Math.asin(c / a);
}
return((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p)) + c) + b);
}
static function easeInOut(t, b, c, d, a, p) {
if (t == 0) {
return(b);
}
t = t / (d / 2);
if (t == 2) {
return(b + c);
}
if (!p) {
p = d * 0.45;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
var _local7 = p / 4;
} else {
var _local7 = (p / (Math.PI*2)) * Math.asin(c / a);
}
if (t < 1) {
t = t - 1;
return((-0.5 * ((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p))) + b);
}
t = t - 1;
return(((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p)) * 0.5) + c) + b);
}
static var version = "1.1.0.52";
}
Symbol 245 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 173 MovieClip Frame 1
stop();
Symbol 213 MovieClip Frame 5
stop();
Symbol 218 MovieClip Frame 5
stop();
Symbol 222 MovieClip Frame 5
stop();
Symbol 226 MovieClip Frame 5
stop();
Symbol 230 MovieClip Frame 5
stop();
Instance of Symbol 239 MovieClip "logo" in Symbol 240 MovieClip Frame 1
on (press) {
getURL ("http://www.123peppy.com", "_blank");
}