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 323 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();
pl_btn.onPress = function () {
_root.nextFrame();
};
_global.lang = 1;
i = 1;
while (i <= 11) {
eval ("b" + i).onPress = function () {
var _local3 = parseInt(this._name.substr(1));
_global.lang = _local3;
trace(_global.lang);
pl_btn.gotoAndStop(_global.lang);
};
i++;
}
Frame 3
function reset() {
doll.dresses.gotoAndStop(1);
doll.heads.gotoAndStop(1);
doll.ears.gotoAndStop(1);
doll.shoes.gotoAndStop(1);
doll.tops.gotoAndStop(1);
doll.bottoms.gotoAndStop(1);
doll.bags.gotoAndStop(1);
doll.chain.gotoAndStop(1);
eval (prev4)._visible = true;
dpc = prev4._name.substr(1);
var t1 = (new mx.transitions.Tween(prev4, "_x", mx.transitions.easing.Back.easeOut, prev4._x, dxaxis[dpc], 1, true));
var t1 = (new mx.transitions.Tween(prev4, "_y", mx.transitions.easing.Back.easeOut, prev4._y, dyaxis[dpc], 1, true));
eval (prev5)._visible = true;
bopc = prev5._name.substr(2);
var t1 = (new mx.transitions.Tween(prev5, "_x", mx.transitions.easing.Back.easeOut, prev5._x, boxaxis[bopc], 1, true));
var t1 = (new mx.transitions.Tween(prev5, "_y", mx.transitions.easing.Back.easeOut, prev5._y, boyaxis[bopc], 1, true));
eval (prev6)._visible = true;
tpc = prev6._name.substr(1);
var t1 = (new mx.transitions.Tween(prev6, "_x", mx.transitions.easing.Back.easeOut, prev6._x, txaxis[tpc], 1, true));
var t1 = (new mx.transitions.Tween(prev6, "_y", mx.transitions.easing.Back.easeOut, prev6._y, tyaxis[tpc], 1, true));
eval (prev1)._visible = true;
hpc = prev1._name.substr(1);
var t1 = (new mx.transitions.Tween(prev1, "_x", mx.transitions.easing.Back.easeOut, prev1._x, hexaxis[hpc], 1, true));
var t1 = (new mx.transitions.Tween(prev1, "_y", mx.transitions.easing.Back.easeOut, prev1._y, heyaxis[hpc], 1, true));
eval (prev7)._visible = true;
cpc = prev7._name.substr(1);
var t1 = (new mx.transitions.Tween(prev7, "_x", mx.transitions.easing.Back.easeOut, prev7._x, cxaxis[cpc], 1, true));
var t1 = (new mx.transitions.Tween(prev7, "_y", mx.transitions.easing.Back.easeOut, prev7._y, cyaxis[cpc], 1, true));
eval (prev2)._visible = true;
spc = prev2._name.substr(1);
var t1 = (new mx.transitions.Tween(prev2, "_x", mx.transitions.easing.Back.easeOut, prev2._x, sxaxis[spc], 1, true));
var t1 = (new mx.transitions.Tween(prev2, "_y", mx.transitions.easing.Back.easeOut, prev2._y, syaxis[spc], 1, true));
eval (prev3)._visible = true;
bpc = prev3._name.substr(1);
var t1 = (new mx.transitions.Tween(prev3, "_x", mx.transitions.easing.Back.easeOut, prev3._x, bxaxis[bpc], 1, true));
var t1 = (new mx.transitions.Tween(prev3, "_y", mx.transitions.easing.Back.easeOut, prev3._y, byaxis[bpc], 1, true));
eval (prev8)._visible = true;
epc = prev8._name.substr(1);
var t1 = (new mx.transitions.Tween(prev8, "_x", mx.transitions.easing.Back.easeOut, prev8._x, exaxis[epc], 1, true));
var t1 = (new mx.transitions.Tween(prev8, "_y", mx.transitions.easing.Back.easeOut, prev8._y, eyaxis[epc], 1, true));
dre = 0;
top = 0;
bot = 0;
}
stop();
_global.dr = 0;
_global.to = 0;
_global.bo = 0;
_global.ch = 0;
_global.sh = 0;
_global.ha = 0;
_global.wa = 0;
var dre = 0;
var top = 0;
var bot = 0;
reset_btn.gotoAndStop(_global.lang);
nextbtn.gotoAndStop(_global.lang);
this.onEnterFrame = function () {
if (dre == 1) {
nextbtn.enabled = true;
} else if ((top == 1) && (bot == 1)) {
nextbtn.enabled = true;
} else {
nextbtn.enabled = false;
}
};
i = 1;
while (i < 11) {
eval ("h" + i)._visible = true;
eval ("c" + i)._visible = true;
eval ("e" + i)._visible = true;
eval ("b" + i)._visible = true;
eval ("bo" + i)._visible = true;
eval ("d" + i)._visible = true;
eval ("t" + i)._visible = true;
eval ("s" + i)._visible = true;
i++;
}
var dxaxis = new Array();
var dyaxis = new Array();
var txaxis = new Array();
var tyaxis = new Array();
var boxaxis = new Array();
var boyaxis = new Array();
var hexaxis = new Array();
var heyaxis = new Array();
var cxaxis = new Array();
var cyaxis = new Array();
var sxaxis = new Array();
var syaxis = new Array();
var bxaxis = new Array();
var byaxis = new Array();
var exaxis = new Array();
var eyaxis = new Array();
i = 1;
while (i < 11) {
hexaxis[i] = eval ("h" + i)._x;
heyaxis[i] = eval ("h" + i)._y;
sxaxis[i] = eval ("s" + i)._x;
syaxis[i] = eval ("s" + i)._y;
bxaxis[i] = eval ("b" + i)._x;
byaxis[i] = eval ("b" + i)._y;
dxaxis[i] = eval ("d" + i)._x;
dyaxis[i] = eval ("d" + i)._y;
boxaxis[i] = eval ("bo" + i)._x;
boyaxis[i] = eval ("bo" + i)._y;
txaxis[i] = eval ("t" + i)._x;
tyaxis[i] = eval ("t" + i)._y;
cxaxis[i] = eval ("c" + i)._x;
cyaxis[i] = eval ("c" + i)._y;
exaxis[i] = eval ("e" + i)._x;
eyaxis[i] = eval ("e" + i)._y;
i++;
}
i = 0;
while (i < 11) {
eval ("h" + i).Hitted = false;
eval ("h" + i).onPress = function () {
eval ("h" + i).Hitted = false;
val = parseInt(this._name.substr(1));
hdepth = this.getDepth();
this.swapDepths(getNextHighestDepths());
startDrag (eval ("h" + val));
updateAfterEvent();
};
eval ("h" + i).onRelease = function () {
stopDrag();
this.swapDepths(hdepth);
if (!this.hitTest(doll)) {
hcode = this._name.substr(1);
var t1 = (new mx.transitions.Tween(eval ("h" + hcode), "_x", mx.transitions.easing.Back.easeOut, eval ("h" + hcode)._x, hexaxis[hcode], 1, true));
var t1 = (new mx.transitions.Tween(eval ("h" + hcode), "_y", mx.transitions.easing.Back.easeOut, eval ("h" + hcode)._y, heyaxis[hcode], 1, true));
}
if (this.hitTest(doll)) {
if (this != prev1) {
hpc = prev1._name.substr(1);
prev1._visible = true;
var t1 = (new mx.transitions.Tween(prev1, "_x", mx.transitions.easing.Back.easeOut, prev1._x, hexaxis[hpc], 1, true));
var t1 = (new mx.transitions.Tween(prev1, "_y", mx.transitions.easing.Back.easeOut, prev1._y, heyaxis[hpc], 1, true));
}
}
if (doll.hitTest(this)) {
prev1.Hitted = false;
prev1 = this;
this.Hitted = true;
this._visible = false;
hec = this._name.substr(1);
hec = parseInt(hec);
hec = hec;
doll.hair.gotoAndStop(hec);
_global.ha = hec;
}
};
i++;
}
i = 0;
while (i < 6) {
eval ("s" + i).Hitted = false;
eval ("s" + i).onPress = function () {
eval ("s" + i).Hitted = false;
val = parseInt(this._name.substr(1));
startDrag (eval ("s" + val));
updateAfterEvent();
};
eval ("s" + i).onRelease = function () {
stopDrag();
if (!this.hitTest(doll)) {
scode = this._name.substr(1);
var t1 = (new mx.transitions.Tween(eval ("s" + scode), "_x", mx.transitions.easing.Back.easeOut, eval ("s" + scode)._x, sxaxis[scode], 1, true));
var t1 = (new mx.transitions.Tween(eval ("s" + scode), "_y", mx.transitions.easing.Back.easeOut, eval ("s" + scode)._y, syaxis[scode], 1, true));
}
if (this.hitTest(doll)) {
if (this != prev2) {
spc = prev2._name.substr(1);
prev2._visible = true;
var t1 = (new mx.transitions.Tween(prev2, "_x", mx.transitions.easing.Back.easeOut, prev2._x, sxaxis[spc], 1, true));
var t1 = (new mx.transitions.Tween(prev2, "_y", mx.transitions.easing.Back.easeOut, prev2._y, syaxis[spc], 1, true));
}
}
if (doll.hitTest(this)) {
prev2.Hitted = false;
prev2 = this;
this.Hitted = true;
this._visible = false;
sc = this._name.substr(1);
sc = parseInt(sc);
sc = sc + 1;
doll.shoes.gotoAndStop(sc);
_global.sh = sc;
}
};
i++;
}
i = 0;
while (i < 6) {
eval ("b" + i).Hitted = false;
eval ("b" + i).onPress = function () {
eval ("b" + i).Hitted = false;
val = parseInt(this._name.substr(1));
bdepth = this.getDepth();
this.swapDepths(getNextHighestDepths());
startDrag (eval ("b" + val));
updateAfterEvent();
};
eval ("b" + i).onRelease = function () {
stopDrag();
this.swapDepths(bdepth);
if (!this.hitTest(doll)) {
bcode = this._name.substr(1);
var t1 = (new mx.transitions.Tween(eval ("b" + bcode), "_x", mx.transitions.easing.Back.easeOut, eval ("b" + bcode)._x, bxaxis[bcode], 1, true));
var t1 = (new mx.transitions.Tween(eval ("b" + bcode), "_y", mx.transitions.easing.Back.easeOut, eval ("b" + bcode)._y, byaxis[bcode], 1, true));
}
if (this.hitTest(doll)) {
if (this != prev3) {
bpc = prev3._name.substr(1);
prev3._visible = true;
var t1 = (new mx.transitions.Tween(prev3, "_x", mx.transitions.easing.Back.easeOut, prev3._x, bxaxis[bpc], 1, true));
var t1 = (new mx.transitions.Tween(prev3, "_y", mx.transitions.easing.Back.easeOut, prev3._y, byaxis[bpc], 1, true));
}
}
if (doll.hitTest(this)) {
prev3.Hitted = false;
prev3 = this;
this.Hitted = true;
this._visible = false;
bc = this._name.substr(1);
bc = parseInt(bc);
bc = bc + 1;
doll.watches.gotoAndStop(bc);
_global.wa = bc;
}
};
i++;
}
i = 1;
while (i < 11) {
eval ("d" + i).Hitted = false;
eval ("d" + i).onPress = function () {
eval ("d" + i).Hitted = false;
val = parseInt(this._name.substr(1));
ddepth = this.getDepth();
this.swapDepths(getNextHighestDepth());
startDrag (eval ("d" + val));
updateAfterEvent();
};
eval ("d" + i).onRelease = function () {
stopDrag();
this.swapDepths(ddepth);
if (!this.hitTest(doll)) {
dcode = this._name.substr(1);
var t1 = (new mx.transitions.Tween(eval ("d" + dcode), "_x", mx.transitions.easing.Back.easeOut, eval ("d" + dcode)._x, dxaxis[dcode], 1, true));
var t1 = (new mx.transitions.Tween(eval ("d" + dcode), "_y", mx.transitions.easing.Back.easeOut, eval ("d" + dcode)._y, dyaxis[dcode], 1, true));
}
if (this.hitTest(doll)) {
if (this != prev4) {
dpc = prev4._name.substr(1);
prev4._visible = true;
var t1 = (new mx.transitions.Tween(prev4, "_x", mx.transitions.easing.Back.easeOut, prev4._x, dxaxis[dpc], 1, true));
var t1 = (new mx.transitions.Tween(prev4, "_y", mx.transitions.easing.Back.easeOut, prev4._y, dyaxis[dpc], 1, true));
}
}
if (doll.hitTest(this)) {
prev4.Hitted = false;
prev4 = this;
this.Hitted = true;
this._visible = false;
dc = this._name.substr(1);
dc = parseInt(dc);
dc = dc + 1;
doll.bottoms.gotoAndStop(1);
eval (prev5)._visible = true;
bopc = prev5._name.substr(2);
var t1 = (new mx.transitions.Tween(prev5, "_x", mx.transitions.easing.Back.easeOut, prev5._x, boxaxis[bopc], 1, true));
var t1 = (new mx.transitions.Tween(prev5, "_y", mx.transitions.easing.Back.easeOut, prev5._y, boyaxis[bopc], 1, true));
doll.tops.gotoAndStop(1);
eval (prev6)._visible = true;
tpc = prev6._name.substr(1);
var t1 = (new mx.transitions.Tween(prev6, "_x", mx.transitions.easing.Back.easeOut, prev6._x, txaxis[tpc], 1, true));
var t1 = (new mx.transitions.Tween(prev6, "_y", mx.transitions.easing.Back.easeOut, prev6._y, tyaxis[tpc], 1, true));
doll.dresses.gotoAndStop(dc);
_global.dr = dc;
_global.to = 0;
_global.bo = 0;
dre = 1;
top = 0;
bot = 0;
}
};
i++;
}
i = 1;
while (i < 11) {
eval ("bo" + i).Hitted = false;
eval ("bo" + i).onPress = function () {
eval ("bo" + i).Hitted = false;
val = parseInt(this._name.substr(2));
bodepth = this.getDepth();
this.swapDepths(getNextHighestDepth());
startDrag (eval ("bo" + val));
updateAfterEvent();
};
eval ("bo" + i).onRelease = function () {
stopDrag();
this.swapDepths(bodepth);
if (!this.hitTest(doll)) {
bocode = this._name.substr(2);
var t1 = (new mx.transitions.Tween(eval ("bo" + bocode), "_x", mx.transitions.easing.Back.easeOut, eval ("bo" + bocode)._x, boxaxis[bocode], 1, true));
var t1 = (new mx.transitions.Tween(eval ("bo" + bocode), "_y", mx.transitions.easing.Back.easeOut, eval ("bo" + bocode)._y, boyaxis[bocode], 1, true));
}
if (this.hitTest(doll)) {
if (this != prev5) {
bopc = prev5._name.substr(2);
prev5._visible = true;
var t1 = (new mx.transitions.Tween(prev5, "_x", mx.transitions.easing.Back.easeOut, prev5._x, boxaxis[bopc], 1, true));
var t1 = (new mx.transitions.Tween(prev5, "_y", mx.transitions.easing.Back.easeOut, prev5._y, boyaxis[bopc], 1, true));
}
}
if (doll.hitTest(this)) {
prev5.Hitted = false;
prev5 = this;
this.Hitted = true;
this._visible = false;
boc = this._name.substr(2);
boc = parseInt(boc);
boc = boc + 1;
doll.dresses.gotoAndStop(1);
eval (prev4)._visible = true;
dpc = prev4._name.substr(1);
var t1 = (new mx.transitions.Tween(prev4, "_x", mx.transitions.easing.Back.easeOut, prev4._x, dxaxis[dpc], 1, true));
var t1 = (new mx.transitions.Tween(prev4, "_y", mx.transitions.easing.Back.easeOut, prev4._y, dyaxis[dpc], 1, true));
doll.bottoms.gotoAndStop(boc);
_global.bo = boc;
_global.dr = 0;
bot = 1;
dre = 0;
}
};
i++;
}
i = 1;
while (i < 11) {
eval ("t" + i).Hitted = false;
eval ("t" + i).onPress = function () {
eval ("t" + i).Hitted = false;
val = parseInt(this._name.substr(1));
tdepth = this.getDepth();
this.swapDepths(getNextHighestDepth());
startDrag (eval ("t" + val));
updateAfterEvent();
};
eval ("t" + i).onRelease = function () {
stopDrag();
this.swapDepths(tdepth);
if (!this.hitTest(doll)) {
tcode = this._name.substr(1);
var t1 = (new mx.transitions.Tween(eval ("t" + tcode), "_x", mx.transitions.easing.Back.easeOut, eval ("t" + tcode)._x, txaxis[tcode], 1, true));
var t1 = (new mx.transitions.Tween(eval ("t" + tcode), "_y", mx.transitions.easing.Back.easeOut, eval ("t" + tcode)._y, tyaxis[tcode], 1, true));
}
if (this.hitTest(doll)) {
if (this != prev6) {
tpc = prev6._name.substr(1);
prev6._visible = true;
var t1 = (new mx.transitions.Tween(prev6, "_x", mx.transitions.easing.Back.easeOut, prev6._x, txaxis[tpc], 1, true));
var t1 = (new mx.transitions.Tween(prev6, "_y", mx.transitions.easing.Back.easeOut, prev6._y, tyaxis[tpc], 1, true));
}
}
if (doll.hitTest(this)) {
prev6.Hitted = false;
prev6 = this;
this.Hitted = true;
this._visible = false;
tc = this._name.substr(1);
tc = parseInt(tc);
tc = tc + 1;
doll.dresses.gotoAndStop(1);
eval (prev4)._visible = true;
dpc = prev4._name.substr(1);
var t1 = (new mx.transitions.Tween(prev4, "_x", mx.transitions.easing.Back.easeOut, prev4._x, dxaxis[dpc], 1, true));
var t1 = (new mx.transitions.Tween(prev4, "_y", mx.transitions.easing.Back.easeOut, prev4._y, dyaxis[dpc], 1, true));
doll.tops.gotoAndStop(tc);
_global.to = tc;
_global.dr = 0;
top = 1;
dre = 0;
}
};
i++;
}
i = 1;
while (i < 6) {
eval ("c" + i).Hitted = false;
eval ("c" + i).onPress = function () {
eval ("c" + i).Hitted = false;
val = parseInt(this._name.substr(1));
cdepth = this.getDepth();
this.swapDepths(getNextHighestDepth());
startDrag (eval ("c" + val));
updateAfterEvent();
};
eval ("c" + i).onRelease = function () {
stopDrag();
this.swapDepths(cdepth);
if (!this.hitTest(doll)) {
ccode = this._name.substr(1);
var t1 = (new mx.transitions.Tween(eval ("c" + ccode), "_x", mx.transitions.easing.Back.easeOut, eval ("c" + ccode)._x, cxaxis[ccode], 1, true));
var t1 = (new mx.transitions.Tween(eval ("c" + ccode), "_y", mx.transitions.easing.Back.easeOut, eval ("c" + ccode)._y, cyaxis[ccode], 1, true));
}
if (this.hitTest(doll)) {
if (this != prev7) {
cpc = prev7._name.substr(1);
prev7._visible = true;
var t1 = (new mx.transitions.Tween(prev7, "_x", mx.transitions.easing.Back.easeOut, prev7._x, cxaxis[cpc], 1, true));
var t1 = (new mx.transitions.Tween(prev7, "_y", mx.transitions.easing.Back.easeOut, prev7._y, cyaxis[cpc], 1, true));
}
}
if (doll.hitTest(this)) {
prev7.Hitted = false;
prev7 = this;
this.Hitted = true;
this._visible = false;
cc = this._name.substr(1);
cc = parseInt(cc);
cc = cc + 1;
doll.chain.gotoAndStop(cc);
_global.ch = cc;
}
};
i++;
}
i = 1;
while (i < 6) {
eval ("e" + i).Hitted = false;
eval ("e" + i).onPress = function () {
eval ("e" + i).Hitted = false;
val = parseInt(this._name.substr(1));
edepth = this.getDepth();
this.swapDepths(getNextHighestDepth());
startDrag (eval ("e" + val));
updateAfterEvent();
};
eval ("e" + i).onRelease = function () {
stopDrag();
this.swapDepths(edepth);
if (!this.hitTest(doll)) {
ecode = this._name.substr(1);
var t1 = (new mx.transitions.Tween(eval ("e" + ecode), "_x", mx.transitions.easing.Back.easeOut, eval ("e" + ecode)._x, exaxis[ecode], 1, true));
var t1 = (new mx.transitions.Tween(eval ("e" + ecode), "_y", mx.transitions.easing.Back.easeOut, eval ("e" + ecode)._y, eyaxis[ecode], 1, true));
}
if (this.hitTest(doll)) {
if (this != prev8) {
epc = prev8._name.substr(1);
prev8._visible = true;
var t1 = (new mx.transitions.Tween(prev8, "_x", mx.transitions.easing.Back.easeOut, prev8._x, exaxis[epc], 1, true));
var t1 = (new mx.transitions.Tween(prev8, "_y", mx.transitions.easing.Back.easeOut, prev8._y, eyaxis[epc], 1, true));
}
}
if (doll.hitTest(this)) {
prev8.Hitted = false;
prev8 = this;
this.Hitted = true;
this._visible = false;
ec = this._name.substr(1);
ec = parseInt(ec);
ec = ec + 1;
doll.ears.gotoAndStop(ec);
}
};
i++;
}
reset_btn.onPress = function () {
reset();
};
dox = doll._x;
doy = doll._y;
lastbg._visible = false;
next_btn.onPress = function () {
lastbg._visible = true;
openbg._visible = false;
i = 1;
while (i < 11) {
eval ("h" + i)._visible = false;
eval ("c" + i)._visible = false;
eval ("e" + i)._visible = false;
eval ("b" + i)._visible = false;
eval ("bo" + i)._visible = false;
eval ("d" + i)._visible = false;
eval ("t" + i)._visible = false;
eval ("s" + i)._visible = false;
i++;
}
doll._x = 350;
doll._y = 280;
next_btn._visible = false;
reset_btn._visible = false;
};
lastbg.playagain.onPress = function () {
lastbg._visible = false;
openbg._visible = true;
i = 1;
while (i < 11) {
eval ("h" + i)._visible = true;
eval ("c" + i)._visible = true;
eval ("e" + i)._visible = true;
eval ("b" + i)._visible = true;
eval ("bo" + i)._visible = true;
eval ("d" + i)._visible = true;
eval ("t" + i)._visible = true;
eval ("s" + i)._visible = true;
i++;
}
doll._x = dox;
doll._y = doy;
next_btn._visible = true;
reset_btn._visible = true;
reset();
};
logo_mc.onPress = function () {
getURL ("http://www.123peppy.com/", "_blank");
};
nextbtn.onPress = function () {
_root.nextFrame();
};
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;
stop();
Instance of Symbol 515 MovieClip "logo_mc" in Frame 3
on (press) {
getURL ("http://www.123peppy.com", "_blank");
}
Frame 4
function moves() {
this.onMouseMove = function () {
Zoom_Mc._x = _xmouse - (Zoom_Bitmap.rectangle.width / 2);
Zoom_Mc._y = _ymouse - (Zoom_Bitmap.rectangle.height / 2);
Zoom_Matrix.tx = ((Zoom_Bitmap.rectangle.width / 2) - ((Image._x - Picture._x) * Zoom_Number)) - (_xmouse * Zoom_Number);
Zoom_Matrix.ty = ((Zoom_Bitmap.rectangle.height / 2) - ((Image._y - Picture._y) * Zoom_Number)) - (_ymouse * Zoom_Number);
Zoom_Bitmap.draw(this, Zoom_Matrix);
updateAfterEvent();
};
this.onMouseDown = function () {
sou1.start(0, 1);
delete Photo_Bitmap;
var _local3 = photocontainer["p" + Inc_Xpos];
var Photo_Bitmap = (new flash.display.BitmapData(Zoom_Bitmap.rectangle.width, Zoom_Bitmap.rectangle.height, true, 0));
_local3.attachBitmap(Photo_Bitmap, Inc_Xpos);
var _local2 = AllPhotos.createEmptyMovieClip("Photo_Mc" + Inc_Xpos, Inc_Xpos);
_local2._x = 60 + (Inc_Xpos * 85);
_local2._y = 490;
_local2.attachBitmap(Photo_Bitmap, Inc_Xpos);
Photo_Bitmap.draw(this, Zoom_Matrix);
_local2._xscale = (_local2._yscale = 75);
Inc_Xpos++;
if (Inc_Xpos >= 8) {
Inc_Xpos = 0;
}
};
}
stop();
var sou1 = new Sound();
sou1.attachSound("cam");
var xpos;
var ypos;
var Zoom_Number = 2;
var Inc_Xpos = 0;
var Zoom_Matrix = (new flash.geom.Matrix());
var Photo_Matrix = (new flash.geom.Matrix());
var photosArray = new Array();
var photosArray = new Array();
attachMovie("Image", "Image", 2, {_x:Stage.width * 1.5, _y:Picture._y, _width:Picture._width, _height:Picture._height});
var Zoom_Bitmap = (new flash.display.BitmapData(112.5, 146, true, 0));
this.createEmptyMovieClip("Zoom_Mc", 100);
this.createEmptyMovieClip("AllPhotos", 120);
Zoom_Matrix.scale(Zoom_Number, Zoom_Number);
btn.onPress = function () {
if (this._currentframe == 1) {
Zoom_Mc._visible = true;
Zoom_Mc.attachBitmap(Zoom_Bitmap, 1);
Mouse.hide();
moves();
this.gotoAndStop(2);
} else {
Zoom_Mc._visible = false;
Mouse.show();
delete onMouseMove;
delete onMouseDown;
this.gotoAndStop(1);
}
};
btn.onRollOver = function () {
Zoom_Mc._visible = false;
Mouse.show();
delete onMouseMove;
delete onMouseDown;
};
btn.onRollOut = function () {
if (this._currentframe == 2) {
Zoom_Mc._visible = true;
Mouse.hide();
moves();
}
};
rect.onRollOver = function () {
Zoom_Mc._visible = false;
Mouse.show();
delete onMouseMove;
delete onMouseDown;
};
rect.onRollOut = function () {
if (btn._currentframe == 2) {
Zoom_Mc._visible = true;
Mouse.hide();
moves();
}
};
rect.onPress = function () {
Mouse.show();
delete onMouseMove;
delete onMouseDown;
AllPhotos.removeMovieClip();
removeMovieClip(Zoom_Mc);
nextFrame();
};
i = 1;
while (i < 11) {
eval ("h" + i)._visible = false;
eval ("c" + i)._visible = false;
eval ("e" + i)._visible = false;
eval ("b" + i)._visible = false;
eval ("bo" + i)._visible = false;
eval ("d" + i)._visible = false;
eval ("t" + i)._visible = false;
eval ("s" + i)._visible = false;
i++;
}
doll.dresses.gotoAndStop(_global.dr);
doll.tops.gotoAndStop(_global.to);
doll.bottoms.gotoAndStop(_global.bo);
doll.chain.gotoAndStop(_global.ch);
doll.earring.gotoAndStop(_global.ea);
doll.shoes.gotoAndStop(_global.sh);
doll.tattoos.gotoAndStop(_global.ta);
doll.hair.gotoAndStop(_global.ha);
doll.watches.gotoAndStop(_global.wa);
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;
Frame 5
stop();
photocontainer._x = (photocontainer._y = 0);
playagain.gotoAndStop(_global.lang);
playmore.gotoAndStop(_global.lang);
playagain.onPress = function () {
_root.gotoAndStop(2);
};
playmore.onPress = function () {
getURL ("http://www.123peppy.com", "_blank");
};
doll.dresses.gotoAndStop(_global.dr);
doll.tops.gotoAndStop(_global.to);
doll.bottoms.gotoAndStop(_global.bo);
doll.chain.gotoAndStop(_global.ch);
doll.earring.gotoAndStop(_global.ea);
doll.shoes.gotoAndStop(_global.sh);
doll.tattoos.gotoAndStop(_global.ta);
doll.hair.gotoAndStop(_global.ha);
doll.bags.gotoAndStop(_global.ba);
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 593 MovieClip "playmore" in Frame 5
on (press) {
getURL ("http://www.123peppy.com", "_blank");
}
Symbol 47 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 7
gotoAndStop (1);
Symbol 110 MovieClip Frame 1
stop();
Symbol 110 MovieClip Frame 12
gotoAndStop (1);
Symbol 210 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 12
gotoAndStop (1);
Symbol 242 MovieClip Frame 1
stop();
Symbol 242 MovieClip Frame 4
gotoAndStop (1);
Symbol 280 MovieClip Frame 1
stop();
Symbol 280 MovieClip Frame 7
gotoAndStop (1);
Symbol 293 MovieClip Frame 1
stop();
Symbol 293 MovieClip Frame 5
gotoAndStop (1);
Symbol 310 MovieClip Frame 1
stop();
Symbol 310 MovieClip Frame 7
gotoAndStop (1);
Symbol 312 MovieClip [Image] Frame 1
doll.dresses.gotoAndStop(_global.dr);
doll.tops.gotoAndStop(_global.to);
doll.bottoms.gotoAndStop(_global.bo);
doll.chain.gotoAndStop(_global.ch);
doll.earring.gotoAndStop(_global.ea);
doll.shoes.gotoAndStop(_global.sh);
doll.tattoos.gotoAndStop(_global.ta);
doll.hair.gotoAndStop(_global.ha);
doll.watches.gotoAndStop(_global.wa);
Symbol 330 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 352 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 382 MovieClip Frame 47
stop();
Symbol 391 MovieClip Frame 57
_root.stop();
Symbol 594 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 595 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 596 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 597 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 407 MovieClip Frame 1
stop();
Symbol 499 MovieClip Frame 1
stop();
Symbol 512 MovieClip Frame 1
stop();
Symbol 541 MovieClip Frame 1
stop();
Symbol 553 MovieClip Frame 1
stop();
Symbol 564 MovieClip Frame 1
stop();
Symbol 565 MovieClip Frame 1
stop();
co.gotoAndStop(_global.lang);
Symbol 565 MovieClip Frame 2
cof.gotoAndStop(_global.lang);
Symbol 580 MovieClip Frame 1
stop();
Symbol 593 MovieClip Frame 1
stop();