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 12 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);
}
}
Frame 2
stop();
play_btn.onPress = function () {
nextFrame();
};
Frame 3
doll.dresses.gotoAndStop(1);
doll.tops.gotoAndStop(1);
doll.bottoms.gotoAndStop(1);
doll.ears.gotoAndStop(1);
doll.shoes.gotoAndStop(1);
doll.chains.gotoAndStop(1);
doll.bags.gotoAndStop(1);
bno = 0;
dre = 0;
bot = 0;
top = 0;
i = 1;
while (i <= 8) {
eval ("b" + i).onRollOver = function () {
butno = this._name.substr(1);
var buto = (new mx.transitions.Tween(eval ("b" + butno), "_xscale", mx.transitions.easing.Regular.easeOut, eval ("b" + butno)._xscale, 150, 0.2, true));
var buto = (new mx.transitions.Tween(eval ("b" + butno), "_yscale", mx.transitions.easing.Regular.easeOut, eval ("b" + butno)._xscale, 150, 0.2, true));
};
eval ("b" + i).onRollOut = function () {
butno = this._name.substr(1);
var buto = (new mx.transitions.Tween(eval ("b" + butno), "_xscale", mx.transitions.easing.Regular.easeOut, 150, 100, 0.2, true));
var buto = (new mx.transitions.Tween(eval ("b" + butno), "_yscale", mx.transitions.easing.Regular.easeOut, 150, 100, 0.2, true));
};
i++;
}
click_btn.onPress = function () {
click_btn._visible = false;
start_btn._visible = false;
i = 1;
while (i <= 8) {
var tween = (new mx.transitions.Tween(eval ("b" + i), "_x", mx.transitions.easing.Regular.easeOut, -218.8, 130.2, i, true));
i++;
}
};
i = 1;
while (i < 8) {
eval ("b" + i).onPress = function () {
bno = this._name.substr(1);
bno = parseInt(bno);
var buto = (new mx.transitions.Tween(eval ("b" + bno), "_xscale", mx.transitions.easing.Regular.easeOut, 150, 100, 0.2, true));
var buto = (new mx.transitions.Tween(eval ("b" + bno), "_yscale", mx.transitions.easing.Regular.easeOut, 150, 100, 0.2, true));
if (bno == 1) {
py = doll.dresses._y + doll._y;
var t1 = (new mx.transitions.Tween(eval ("p" + bno), "_y", mx.transitions.easing.Back.easeOut, -500, py, 1, true));
var t1 = (new mx.transitions.Tween(but, "_y", mx.transitions.easing.Back.easeOut, but._y, py, 1, true));
obno = bno - 1;
nbno = bno + 1;
i = 1;
while (i < 8) {
eval ("b" + i).enabled = false;
i++;
}
i = 1;
while (i <= obno) {
eval ("p" + i)._y = -500;
i++;
}
i = nbno;
while (i < 8) {
eval ("p" + i)._y = -500;
i++;
}
t1.onMotionFinished = function () {
i = 1;
while (i < 8) {
eval ("b" + i).enabled = true;
i++;
}
};
}
if (bno == 2) {
py = doll.tops._y + doll._y;
var t1 = (new mx.transitions.Tween(eval ("p" + bno), "_y", mx.transitions.easing.Back.easeOut, -500, py, 1, true));
var t1 = (new mx.transitions.Tween(but, "_y", mx.transitions.easing.Back.easeOut, but._y, py, 1, true));
but._y = py;
obno = bno - 1;
nbno = bno + 1;
i = 1;
while (i < 8) {
eval ("b" + i).enabled = false;
i++;
}
i = 1;
while (i <= obno) {
eval ("p" + i)._y = -500;
i++;
}
i = nbno;
while (i < 8) {
eval ("p" + i)._y = -500;
i++;
}
t1.onMotionFinished = function () {
i = 1;
while (i < 8) {
eval ("b" + i).enabled = true;
i++;
}
};
}
if (bno == 3) {
py = doll.bottoms._y + doll._y;
var t1 = (new mx.transitions.Tween(eval ("p" + bno), "_y", mx.transitions.easing.Back.easeOut, -500, py, 1, true));
var t1 = (new mx.transitions.Tween(but, "_y", mx.transitions.easing.Back.easeOut, but._y, py, 1, true));
but._y = py;
obno = bno - 1;
nbno = bno + 1;
i = 1;
while (i < 8) {
eval ("b" + i).enabled = false;
i++;
}
i = 1;
while (i <= obno) {
eval ("p" + i)._y = -500;
i++;
}
i = nbno;
while (i < 8) {
eval ("p" + i)._y = -500;
i++;
}
t1.onMotionFinished = function () {
i = 1;
while (i < 8) {
eval ("b" + i).enabled = true;
i++;
}
};
}
if (bno == 4) {
py = doll.ears._y + doll._y;
var t1 = (new mx.transitions.Tween(eval ("p" + bno), "_y", mx.transitions.easing.Back.easeOut, -500, py, 1, true));
var t1 = (new mx.transitions.Tween(but, "_y", mx.transitions.easing.Back.easeOut, but._y, py, 1, true));
but._y = py;
obno = bno - 1;
nbno = bno + 1;
i = 1;
while (i < 8) {
eval ("b" + i).enabled = false;
i++;
}
i = 1;
while (i <= obno) {
eval ("p" + i)._y = -500;
i++;
}
i = nbno;
while (i < 8) {
eval ("p" + i)._y = -500;
i++;
}
t1.onMotionFinished = function () {
i = 1;
while (i < 8) {
eval ("b" + i).enabled = true;
i++;
}
};
}
if (bno == 5) {
py = doll.chains._y + doll._y;
var t1 = (new mx.transitions.Tween(eval ("p" + bno), "_y", mx.transitions.easing.Back.easeOut, -500, py, 1, true));
var t1 = (new mx.transitions.Tween(but, "_y", mx.transitions.easing.Back.easeOut, but._y, py, 1, true));
but._y = py;
obno = bno - 1;
nbno = bno + 1;
i = 1;
while (i < 8) {
eval ("b" + i).enabled = false;
i++;
}
i = 1;
while (i <= obno) {
eval ("p" + i)._y = -500;
i++;
}
i = nbno;
while (i < 8) {
eval ("p" + i)._y = -500;
i++;
}
t1.onMotionFinished = function () {
i = 1;
while (i < 8) {
eval ("b" + i).enabled = true;
i++;
}
};
}
if (bno == 6) {
py = doll.bags._y + doll._y;
var t1 = (new mx.transitions.Tween(eval ("p" + bno), "_y", mx.transitions.easing.Back.easeOut, -500, py, 1, true));
var t1 = (new mx.transitions.Tween(but, "_y", mx.transitions.easing.Back.easeOut, but._y, py, 1, true));
but._y = py;
obno = bno - 1;
nbno = bno + 1;
i = 1;
while (i < 8) {
eval ("b" + i).enabled = false;
i++;
}
i = 1;
while (i <= obno) {
eval ("p" + i)._y = -500;
i++;
}
i = nbno;
while (i < 8) {
eval ("p" + i)._y = -500;
i++;
}
t1.onMotionFinished = function () {
i = 1;
while (i < 8) {
eval ("b" + i).enabled = true;
i++;
}
};
}
if (bno == 7) {
py = doll.shoes._y + doll._y;
var t1 = (new mx.transitions.Tween(eval ("p" + bno), "_y", mx.transitions.easing.Back.easeOut, -500, py, 1, true));
var t1 = (new mx.transitions.Tween(but, "_y", mx.transitions.easing.Back.easeOut, but._y, py, 1, true));
but._y = py;
obno = bno - 1;
nbno = bno + 1;
i = 1;
while (i < 8) {
eval ("b" + i).enabled = false;
i++;
}
i = 1;
while (i <= obno) {
eval ("p" + i)._y = -500;
i++;
}
i = nbno;
while (i < 8) {
eval ("p" + i)._y = -500;
i++;
}
t1.onMotionFinished = function () {
i = 1;
while (i < 8) {
eval ("b" + i).enabled = true;
i++;
}
};
}
};
i++;
}
but.up.onPress = function () {
eval ("p" + bno).nextFrame();
};
but.down.onPress = function () {
eval ("p" + bno).prevFrame();
};
i = 1;
while (i < 8) {
eval ("p" + i).onPress = function () {
pno = this._name.substr(1);
if (pno == 1) {
oc = eval ("p" + pno)._currentframe;
oc = oc + 1;
doll.dresses.gotoAndStop(oc);
dre = 1;
doll.tops.gotoAndStop(1);
doll.bottoms.gotoAndStop(1);
}
if (pno == 2) {
oc = eval ("p" + pno)._currentframe;
oc = oc + 1;
doll.tops.gotoAndStop(oc);
top = 1;
doll.dresses.gotoAndStop(1);
}
if (pno == 3) {
oc = eval ("p" + pno)._currentframe;
oc = oc + 1;
doll.bottoms.gotoAndStop(oc);
bot = 1;
doll.dresses.gotoAndStop(1);
}
if (pno == 4) {
oc = eval ("p" + pno)._currentframe;
oc = oc + 1;
doll.ears.gotoAndStop(oc);
}
if (pno == 5) {
oc = eval ("p" + pno)._currentframe;
oc = oc + 1;
doll.chains.gotoAndStop(oc);
}
if (pno == 6) {
oc = eval ("p" + pno)._currentframe;
oc = oc + 1;
doll.bags.gotoAndStop(oc);
}
if (pno == 7) {
oc = eval ("p" + pno)._currentframe;
oc = oc + 1;
doll.shoes.gotoAndStop(oc);
}
};
i++;
}
b8.onPress = function () {
if (dre == 1) {
nextFrame();
i = 1;
while (i <= 8) {
eval ("b" + i)._x = -218.8;
i++;
}
}
if ((bot == 1) & (top == 1)) {
nextFrame();
i = 1;
while (i <= 8) {
eval ("b" + i)._x = -218.8;
i++;
}
}
};
function decvol() {
((this._name.substr(0, 3) == "dec") ? (((snd <= 0) ? ((snd = 0)) : ((snd = snd - 5)))) : (((snd >= 100) ? ((snd = 100)) : ((snd = snd + 5)))));
bgsnd.setVolume(snd);
}
function sndstp() {
ply_btn.enabled = true;
bgsnd.stop();
}
var bgsnd = new Sound();
if (bgsnd) {
bgsnd.stop();
}
var snd = 50;
bgsnd.attachSound("bg");
bgsnd.setVolume(90);
ply_btn.enabled = false;
dec_vol.onPress = decvol;
inc_vol.onPress = decvol;
bgsnd.start(0, 100);
ply_btn.onPress = function () {
sndstp();
this.enabled = false;
bgsnd.start(0, 100);
bgsnd.onSoundComplete = function () {
bgsnd.start(0, 100);
};
};
stp_btn.onPress = sndstp;
Instance of Symbol 339 MovieClip "logo_mc" in Frame 3
on (press) {
getURL ("http://www.123peppy.com", "_blank");
}
Frame 4
stop();
playagain.onPress = function () {
prevFrame();
};
Symbol 19 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 41 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 71 MovieClip Frame 47
stop();
Symbol 80 MovieClip Frame 57
_root.stop();
Symbol 348 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 349 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 350 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 351 MovieClip [__Packages.mx.transitions.easing.Back] Frame 0
class mx.transitions.easing.Back
{
function Back () {
}
static function easeIn(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = t / d;
return((((c * t) * t) * (((s + 1) * t) - s)) + b);
}
static function easeOut(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = (t / d) - 1;
return((c * (((t * t) * (((s + 1) * t) + s)) + 1)) + b);
}
static function easeInOut(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = t / (d / 2);
if (t < 1) {
s = s * 1.525;
return(((c / 2) * ((t * t) * (((s + 1) * t) - s))) + b);
}
t = t - 2;
s = s * 1.525;
return(((c / 2) * (((t * t) * (((s + 1) * t) + s)) + 2)) + b);
}
static var version = "1.1.0.52";
}
Symbol 352 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 171 MovieClip Frame 1
stop();
Symbol 171 MovieClip Frame 7
gotoAndStop (1);
Symbol 232 MovieClip Frame 1
stop();
Symbol 232 MovieClip Frame 10
stop();
Symbol 256 MovieClip Frame 1
stop();
Symbol 256 MovieClip Frame 11
gotoAndStop (1);
Symbol 257 MovieClip Frame 1
stop();
Symbol 257 MovieClip Frame 5
stop();
Symbol 266 MovieClip Frame 1
stop();
Symbol 266 MovieClip Frame 5
stop();
Symbol 283 MovieClip Frame 1
stop();
Symbol 283 MovieClip Frame 5
stop();
Symbol 295 MovieClip Frame 1
stop();
Symbol 295 MovieClip Frame 5
stop();
Symbol 304 MovieClip Frame 1
stop();
Symbol 304 MovieClip Frame 5
stop();
Symbol 309 MovieClip Frame 1
stop();
Symbol 309 MovieClip Frame 7
gotoAndStop (1);
Symbol 310 MovieClip Frame 1
stop();
Symbol 310 MovieClip Frame 12
gotoAndStop (1);
Symbol 311 MovieClip Frame 1
stop();
Symbol 311 MovieClip Frame 12
gotoAndStop (1);
Symbol 312 MovieClip Frame 1
stop();
Symbol 312 MovieClip Frame 7
gotoAndStop (1);
Symbol 313 MovieClip Frame 1
stop();
Symbol 313 MovieClip Frame 7
gotoAndStop (1);
Symbol 314 MovieClip Frame 1
stop();
Symbol 314 MovieClip Frame 7
gotoAndStop (1);