Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("ca4f7fe9", this, 10301, true);
stop();
Frame 2
function startEffect(n) {
var _local9 = 2;
var _local8 = 45;
var _local4 = 0;
var _local5 = 0.5;
var _local7 = 5;
var _local6 = 5;
var _local12 = 1;
var _local2 = 10;
var _local10 = false;
var _local13 = false;
var _local11 = false;
var _local3 = new flash.filters.DropShadowFilter(_local9, _local8, _local4, _local5, _local7, _local6, _local12, _local2, _local10, _local13, _local11);
var _local1 = new Array();
_local1.push(_local3);
n.filters = _local1;
}
function SnapToPlace(e, itemType, itemClass, depth) {
item = Items[(itemType + "_item_") + e];
item._visible = false;
item.oldDepth[itemClass] = item.getDepth();
item.depth[itemClass] = depth;
item.orix = item._x;
item.oriy = item._y;
item.type = itemClass;
item.e = e;
item.snapped = false;
item.dragging = false;
item.clip = Items[itemType + "_clip"];
item.clip._visible = false;
var speed = 3;
item.dragging = false;
item.onEnterFrame = function () {
this._visible = true;
if ((this.dragging == false) && (this.snapped == false)) {
if (this._x != this.orix) {
this._x = this._x - ((this._x - this.orix) / speed);
this._y = this._y - ((this._y - this.oriy) / speed);
} else if (this._x == this.orix) {
this._x = this.orix;
this._y = this.oriy;
}
}
if (false or (current_visible == "none")) {
if (this.snapped == false) {
this._visible = false;
}
}
};
item.onRollOver = function () {
if (this.snapped == false) {
startEffect(this);
this.clip._visible = true;
this.clip._alpha = 0;
}
};
item.onRollOut = function () {
this.filters = null;
this.clip._visible = false;
};
item.onPress = function () {
this.startDrag();
this.filters = null;
this.dragging = true;
newClip = this;
};
item.onRelease = (item.onReleaseOutside = function () {
this._xscale = (this._yscale = scale);
this.snapped = false;
this.stopDrag();
this.dragging = false;
if (this.hitTest(this.clip)) {
this._xscale = (this._yscale = 100);
this._x = this.clip._x;
this._y = this.clip._y;
this.snapped = true;
if ((oldClip[itemClass] != newClip) && (this.type == oldType[itemClass])) {
if (((((((((((oldClip[itemClass].snapped == true) or (oldClip1.snapped == true)) or (oldClip1.snapped == true)) or (oldClip3.snapped == true)) or (oldClip4.snapped == true)) or (oldClip5.snapped == true)) or (oldClip6.snapped == true)) or (oldClip7.snapped == true)) or (oldClip8.snapped == true)) or (oldClip9.snapped == true)) or (oldClip10.snapped == true)) {
if (itemClass == "accesories") {
if (itemType.slice(10) <= 5) {
oldClip1._xscale = (oldClip1._yscale = scale);
oldClip1.snapped = false;
oldClipType1 = itemType.slice(10);
oldClip1 = this;
}
if ((itemType.slice(10) > 5) && (itemType.slice(10) <= 12)) {
oldClip2._xscale = (oldClip2._yscale = scale);
oldClip2.snapped = false;
oldClipType2 = itemType.slice(10);
oldClip2 = this;
}
if ((itemType.slice(10) > 12) && (itemType.slice(10) <= 17)) {
oldClip3._xscale = (oldClip3._yscale = scale);
oldClip3.snapped = false;
oldClipType3 = itemType.slice(10);
oldClip3 = this;
trace(this);
}
if ((itemType.slice(10) > 17) && (itemType.slice(10) <= 20)) {
oldClip4._xscale = (oldClip4._yscale = scale);
oldClip4.snapped = false;
oldClipType4 = itemType.slice(10);
oldClip4 = this;
}
if ((itemType.slice(10) > 20) && (itemType.slice(10) <= 22)) {
oldClip5._xscale = (oldClip5._yscale = scale);
oldClip5.snapped = false;
oldClipType5 = itemType.slice(10);
oldClip5 = this;
}
if ((itemType.slice(10) > 22) && (itemType.slice(10) <= 23)) {
oldClip6._xscale = (oldClip6._yscale = scale);
oldClip6.snapped = false;
oldClipType6 = itemType.slice(10);
oldClip6 = this;
}
if ((itemType.slice(10) > 23) && (itemType.slice(10) <= 25)) {
oldClip7._xscale = (oldClip7._yscale = scale);
oldClip7.snapped = false;
oldClipType7 = itemType.slice(10);
oldClip7 = this;
}
if ((itemType.slice(10) > 25) && (itemType.slice(10) <= 26)) {
oldClip8._xscale = (oldClip8._yscale = scale);
oldClip8.snapped = false;
oldClipType8 = itemType.slice(10);
oldClip8 = this;
}
if ((itemType.slice(10) > 26) && (itemType.slice(10) <= 27)) {
oldClip9._xscale = (oldClip9._yscale = scale);
oldClip9.snapped = false;
oldClipType9 = itemType.slice(10);
oldClip9 = this;
}
if ((itemType.slice(10) > 27) && (itemType.slice(10) <= 28)) {
oldClip10._xscale = (oldClip10._yscale = scale);
oldClip10.snapped = false;
oldClipType10 = itemType.slice(10);
oldClip10 = this;
}
if ((itemType.slice(10) > 28) && (itemType.slice(10) <= 29)) {
oldClip11._xscale = (oldClip11._yscale = scale);
oldClip11.snapped = false;
oldClipType11 = itemType.slice(10);
oldClip11 = this;
}
} else {
trace(oldClip[itemClass]);
oldClip[itemClass]._xscale = (oldClip[itemClass]._yscale = scale);
oldClip[itemClass].snapped = false;
}
}
}
if (itemClass == "accesories") {
if ((itemType.slice(10) <= 5) && (!oldClipType1)) {
oldClip1 = this;
oldClip1.snapped = true;
oldClipType1 = itemType.slice(10);
}
if (((itemType.slice(10) > 5) && (itemType.slice(10) <= 12)) && (!oldClipType2)) {
oldClip2 = this;
oldClip2.snapped = true;
oldClipType2 = itemType.slice(10);
}
if (((itemType.slice(10) > 12) && (itemType.slice(10) <= 17)) && (!oldClipType3)) {
oldClip3 = this;
oldClip3.snapped = true;
oldClipType3 = itemType.slice(10);
}
if (((itemType.slice(10) > 17) && (itemType.slice(10) <= 20)) && (!oldClipType4)) {
oldClip4 = this;
oldClip4.snapped = true;
oldClipType4 = itemType.slice(10);
}
if (((itemType.slice(10) > 20) && (itemType.slice(10) <= 22)) && (!oldClipType5)) {
oldClip5 = this;
oldClip5.snapped = true;
oldClipType5 = itemType.slice(10);
}
if (((itemType.slice(10) > 22) && (itemType.slice(10) <= 23)) && (!oldClipType6)) {
oldClip6 = this;
oldClip6.snapped = true;
oldClipType6 = itemType.slice(10);
}
if (((itemType.slice(10) > 23) && (itemType.slice(10) <= 25)) && (!oldClipType7)) {
oldClip7 = this;
oldClip7.snapped = true;
oldClipType7 = itemType.slice(10);
}
if (((itemType.slice(10) > 25) && (itemType.slice(10) <= 26)) && (!oldClipType8)) {
oldClip8 = this;
oldClip8.snapped = true;
oldClipType8 = itemType.slice(10);
}
if (((itemType.slice(10) > 26) && (itemType.slice(10) <= 27)) && (!oldClipType9)) {
oldClip9 = this;
oldClip9.snapped = true;
oldClipType9 = itemType.slice(10);
}
if (((itemType.slice(10) > 27) && (itemType.slice(10) <= 28)) && (!oldClipType10)) {
oldClip10 = this;
oldClip10.snapped = true;
oldClipType10 = itemType.slice(10);
}
if (((itemType.slice(10) > 28) && (itemType.slice(10) <= 29)) && (!oldClipType11)) {
oldClip11 = this;
oldClip11.snapped = true;
oldClipType11 = itemType.slice(10);
}
}
oldClip[itemClass] = this;
oldType[itemClass] = oldClip[itemClass].type;
oldDepth[itemClass] = oldClip[itemClass].depth;
}
});
}
function Buttons(id, categ, itemClass) {
trace(this);
}
function aaa() {
categ = itemClass;
button = this["btn_" + categ];
current = current_visible;
button.categ = categ;
button.categories.gotoAndStop(categ);
button.origCategScale = (button.categories._xscale = button.categories._yscale);
button.origStarScale = (button.butonStar._xscale = button.butonStar._yscale);
button.onRollOver = function () {
if (this.categ != current) {
AttachSound("bleep", "on", 0.2, 1);
this.categories._xscale = (this.categories._yscale = rolCategScale);
this.butonStar._xscale = (this.butonStar._yscale = rolStarScale);
this.butonStar.onEnterFrame = function () {
this._rotation = this._rotation + 3;
};
}
};
button.onRollOut = function () {
if (this.categ != current) {
AttachSound("bleep", "off", 0, 1);
this.categories._xscale = (this.categories._yscale = origCategScale);
this.butonStar._xscale = (this.butonStar._yscale = origStarScale);
this.butonStar.onEnterFrame = function () {
this._rotation = 1;
};
}
};
button.onPress = function () {
AttachSound("click", "on", 0, 1);
};
button.onRelease = function () {
this.categories._xscale = (this.categories._yscale = rolCategScale);
this.butonStar._xscale = (this.butonStar._yscale = rolStarScale);
this.butonStar.onEnterFrame = function () {
this._rotation = this._rotation + 3;
};
if (this.categ != current) {
oldBtn.categories._xscale = (oldBtn.categories._yscale = origCategScale);
oldBtn.butonStar._xscale = (oldBtn.butonStar._yscale = origStarScale);
oldBtn.butonStar.onEnterFrame = function () {
this._rotation = 0;
};
}
current_visible = this.categ;
current = current_visible;
oldBtn = this;
};
}
function AttachSound(sunet, soundState, offset, loop) {
var _local1 = new Sound();
_local1.attachSound(sunet);
_local1.setVolume(30);
if (soundState == "on") {
_local1.start(offset, loop);
}
if (soundState == "off") {
_local1.stop(sunet);
}
}
function toggleFullScreen() {
if (Stage.displayState == "normal") {
Zoom.gotoAndStop("zoomedIn");
Stage.displayState = "fullScreen";
} else {
Zoom.gotoAndStop("zoomedOut");
Stage.displayState = "normal";
}
}
function PrintFunction(target) {
var _local2 = new PrintJob();
var _local3 = _local2.start();
frame = _root.Print_box;
frame_xMin = frame._x;
frame_xMax = frame_xMin + frame._width;
frame_yMin = frame._y;
frame_yMax = frame_yMin + frame._height;
if (_local3) {
_local2.addPage(target, {xMin:frame_xMin, xMax:frame_xMax, yMin:frame_yMin, yMax:frame_yMax}, {printAsBitmap:true}, 2);
_local2.send();
}
}
stop();
current_visible = "shoes";
current_item = _level0.Items.hair1_item_1;
oldClip = new Array();
oldType = new Array();
scale = 75;
oldDepth[itemClass] = new Array();
current = _level0.btn_hairs;
origCategScale = current.categories._xscale;
origStarScale = current.butonStar._xscale;
rolCategScale = "75";
rolStarScale = "150";
current.categories._xscale = (current.categories._yscale = 75);
current.butonStar._xscale = (current.butonStar._yscale = 150);
current.butonStar.onEnterFrame = function () {
this._rotation = this._rotation + 3;
};
oldBtn = _level0.btn_hairs;
var ItemLibrary = [{Class:"hairs", Items:"hair1:3,hair2:3,hair3:3,hair4:3,hair5:3,hair6:3,hair7:3,hair8:3,hair9:3,hair10:3,hair11:3,hair12:3", Depth:50}, {Class:"top", Items:"top1:2,top2:2,top3:2,top4:2,top5:2,top6:2,top7:2,top8:2,top9:2,top10:2", Depth:140}, {Class:"dress", Items:"dress1:3,dress2:3,dress3:3,dress4:3,dress5:3,dress6:3,dress7:3,dress8:3,dress9:3,dress10:3,dress11:3,dress12:3,dress13:3,dress14:3", Depth:100}, {Class:"pants", Items:"pants1:2,pants2:2,pants3:2,pants4:3,pants5:2,pants6:2", Depth:70}, {Class:"shoes", Items:"shoes1:3,shoes2:3,shoes3:3,shoes4:3,shoes5:3,shoes6:2,shoes7:2,shoes8:2,shoes9:2,shoes10:2", Depth:50}, {Class:"accesories", Items:"accesories1:2,accesories2:2,accesories3:2,accesories4:2,accesories5:2,accesories6:2,accesories7:2,accesories8:2,accesories9:2,accesories10:2,accesories11:2,accesories12:2,accesories13:2,accesories14:2,accesories15:2,accesories16:2,accesories17:2,accesories18:2,accesories19:2,accesories20:2,accesories21:2,accesories22:2,accesories23:2,accesories24:2,accesories25:2,accesories26:2,accesories27:2,accesories28:2,accesories29:2,accesories30:2,accesories31:2,accesories32:2,accesories33:2,accesories34:2,accesories35:2,accesories36:2,accesories37:2,accesories38:2,accesories39:2,accesories40:2,accesories41:2,accesories42:2,accesories43:2,accesories44:2,accesories45:2,accesories46:2,accesories47:2,accesories48:2,accesories49:2,accesories50:2,accesories51:2,accesories52:2,accesories53:2,accesories54:2,accesories55:2,accesories56:2,accesories57:2,accesories58:2,accesories59:2,accesories60:2,accesories61:2", Depth:20}];
d = 0;
while (d < ItemLibrary.length) {
var categoryItems = new Array(ItemLibrary[d].Items);
var categoryItem = categoryItems[0].split(",");
var itemStack = ItemLibrary[d].Items;
var itemClass = ItemLibrary[d].Class;
var itemDepth = ItemLibrary[d].Depth;
e = 0;
while (e < categoryItem.length) {
var itemCategory_and_count = categoryItem[e];
var itemCategory = itemCategory_and_count.split(":")[0];
var itemCount = parseInt(itemCategory_and_count.split(":")[1]);
c = 1;
while (c <= itemCount) {
SnapToPlace(c, itemCategory, itemClass, itemDepth);
Buttons(c, itemCategory, itemClass);
c++;
}
e++;
}
d++;
}
Items.inGameBtn.onPress = function () {
getURL ("http://www.enjoydressup.com", "_blank");
};
Items.star._x = Items.inGameBtn._x + (Items.inGameBtn._width / 2);
Items.star.onEnterFrame = function () {
this._rotation = this._rotation + 5;
};
Items.cat.onRollOver = function () {
AttachSound("kitten", "on", 0, 1);
};
Items.cat.onRollOut = function () {
AttachSound("kitten", "off");
};
Items.bear.onRollOver = function () {
AttachSound("snore", "on", 0, 1000);
};
Items.bear.onRollOut = function () {
AttachSound("snore", "off");
};
Zoom.onRollOver = function () {
if (this.zoomed == false) {
this.gotoAndStop(2);
}
if (this.zoomed == true) {
this.gotoAndStop(4);
}
};
Zoom.onRollOut = function () {
if (this.zoomed == false) {
this.gotoAndStop(1);
}
if (this.zoomed == true) {
this.gotoAndStop(3);
}
};
Zoom.onPress = function () {
toggleFullScreen();
};
Stage.align = "T";
AttachSound("soundtrack", "on", 0, 1000);
Music.onPress = function () {
nextF = this._currentframe + 1;
currentF = this._currentframe;
if (currentF == 2) {
nextF = 1;
}
if (currentF == 1) {
AttachSound("soundtrack", "off");
}
if (currentF == 2) {
AttachSound("soundtrack", "on", 0, 1000);
}
this.gotoAndStop(nextF);
};
Print_box._visible = false;
print_btn._visible = false;
print_btn.onPress = function () {
PrintFunction(0);
};
background_top._visible = false;
more_games_btn._visible = false;
play_again_btn._visible = false;
btn_none._visible = true;
back_clothes._visible = true;
btn_none.onRollOver = function () {
AttachSound("bleep", "on");
this.gotoAndStop(2);
};
btn_none.onRollOut = function () {
AttachSound("bleep", "off", 0, 1);
this.gotoAndStop(1);
};
btn_none.onPress = function () {
button_umbrella._visible = false;
tips._visible = false;
print_btn._visible = true;
current_visible = "none";
background_top._visible = true;
more_games_btn._visible = true;
btn_none._visible = false;
back_clothes._visible = false;
play_again_btn._visible = true;
this.gotoAndStop(1);
};
close_tips._visible = false;
tips_cover._visible = false;
tips.onPress = function () {
tipa._visible = false;
Items._visible = false;
back_clothes._visible = false;
Music._visible = false;
close_tips._visible = true;
tips._visible = false;
btn_none._visible = false;
tips_cover._visible = true;
};
close_tips.onPress = function () {
tipa._visible = true;
Items._visible = true;
back_clothes._visible = true;
Music._visible = true;
tips._visible = true;
btn_none._visible = true;
tips_cover._visible = false;
close_tips._visible = false;
};
play_again_btn.onRollOver = function () {
AttachSound("bleep", "on");
this.gotoAndStop(2);
};
play_again_btn.onRollOut = function () {
AttachSound("bleep", "off", 0, 1);
this.gotoAndStop(1);
};
play_again_btn.onRelease = function () {
gotoAndPlay (1);
gotoAndPlay (2);
};
more_games_btn.onRollOver = function () {
AttachSound("bleep", "on");
this.gotoAndStop(2);
};
more_games_btn.onRollOut = function () {
AttachSound("bleep", "off", 0, 1);
this.gotoAndStop(1);
};
more_games_btn.onPress = function () {
getURL ("http://www.enjoydressup.com", "_blank");
};
_level0.tipa.umbrela._level0.tipa.umbrela.umbrella1._visible = true;
_level0.tipa.umbrela._level0.tipa.umbrela.umbrella2._visible = false;
_level0.tipa.umbrela._level0.tipa.umbrela.umbrella3._visible = false;
_level0.tipa.umbrela._level0.tipa.umbrela.umbrella4._visible = false;
_level0.tipa.umbrela._level0.tipa.umbrela.umbrella5._visible = false;
_level0.tipa.umbrela.umbrella6._visible = false;
_level0.tipa.umbrela.umbrella7._visible = false;
_level0.tipa.umbrela.umbrella8._visible = false;
_level0.tipa.umbrela.umbrella9._visible = false;
_level0.tipa.umbrela._level0.tipa.umbrela.umbrella10._visible = false;
_level0.tipa.umbrela._level0.tipa.umbrela.umbrella11._visible = false;
var curent_umbrella = _level0.tipa.umbrela.umbrella1;
button_umbrella.onPress = function () {
switch (curent_umbrella) {
case _level0.tipa.umbrela.umbrella1 :
_level0.tipa.umbrela.umbrella2._visible = true;
_level0.tipa.umbrela.umbrella1._visible = false;
curent_umbrella = _level0.tipa.umbrela.umbrella2;
return;
case _level0.tipa.umbrela.umbrella2 :
_level0.tipa.umbrela.umbrella3._visible = true;
_level0.tipa.umbrela.umbrella2._visible = false;
curent_umbrella = _level0.tipa.umbrela.umbrella3;
return;
case _level0.tipa.umbrela.umbrella3 :
_level0.tipa.umbrela.umbrella4._visible = true;
_level0.tipa.umbrela.umbrella3._visible = false;
curent_umbrella = _level0.tipa.umbrela.umbrella4;
return;
case _level0.tipa.umbrela.umbrella4 :
_level0.tipa.umbrela.umbrella5._visible = true;
_level0.tipa.umbrela.umbrella4._visible = false;
curent_umbrella = _level0.tipa.umbrela.umbrella5;
return;
case _level0.tipa.umbrela.umbrella5 :
_level0.tipa.umbrela.umbrella6._visible = true;
_level0.tipa.umbrela.umbrella5._visible = false;
curent_umbrella = _level0.tipa.umbrela.umbrella6;
return;
case _level0.tipa.umbrela.umbrella6 :
_level0.tipa.umbrela.umbrella7._visible = true;
_level0.tipa.umbrela.umbrella6._visible = false;
curent_umbrella = _level0.tipa.umbrela.umbrella7;
return;
case _level0.tipa.umbrela.umbrella7 :
_level0.tipa.umbrela.umbrella8._visible = true;
_level0.tipa.umbrela.umbrella7._visible = false;
curent_umbrella = _level0.tipa.umbrela.umbrella8;
return;
case _level0.tipa.umbrela.umbrella8 :
_level0.tipa.umbrela.umbrella9._visible = true;
_level0.tipa.umbrela.umbrella8._visible = false;
curent_umbrella = _level0.tipa.umbrela.umbrella9;
return;
case _level0.tipa.umbrela.umbrella9 :
_level0.tipa.umbrela.umbrella11._visible = true;
_level0.tipa.umbrela.umbrella9._visible = false;
curent_umbrella = _level0.tipa.umbrela.umbrella10;
return;
case _level0.tipa.umbrela.umbrella10 :
_level0.tipa.umbrela.umbrella11._visible = true;
_level0.tipa.umbrela.umbrella10._visible = false;
curent_umbrella = _level0.tipa.umbrela.umbrella11;
return;
case _level0.tipa.umbrela.umbrella11 :
_level0.tipa.umbrela.umbrella1._visible = true;
_level0.tipa.umbrela.umbrella11._visible = false;
curent_umbrella = _level0.tipa.umbrela.umbrella1;
}
};
logo.onRollOver = function () {
AttachSound("bleep", "on");
this.gotoAndStop(2);
};
logo.onRollOut = function () {
AttachSound("bleep", "off", 0, 1);
this.gotoAndStop(1);
};
logo.onPress = function () {
getURL ("http://www.enjoydressup.com", "_blank");
};
logo_partener.onRollOver = function () {
AttachSound("bleep", "on");
this.gotoAndStop(2);
};
logo_partener.onRollOut = function () {
AttachSound("bleep", "off", 0, 1);
this.gotoAndStop(1);
};
logo_partener.onPress = function () {
getURL ("http://www.kibagames.com", "_blank");
};
Symbol 65 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 1
function AttachSound(volum, sunet, soundState, offset) {
var _local1 = new Sound();
_local1.attachSound(sunet);
_local1.setVolume(volum);
if (soundState == "on") {
_local1.start(offset, 1);
}
if (soundState == "off") {
_local1.stop();
}
}
stop();
var menu = new ContextMenu();
menu.hideBuiltInItems();
_root.menu = menu;
total = _root.getBytesTotal();
Stage.scaleMode = "showAll";
MovieWidth = Stage.width;
MovieHeight = Stage.height;
preloader_background._width = MovieWidth;
preloader_background._height = MovieHeight;
button._alpha = 0;
button._width = preloader_background._width;
button._height = preloader_background._height;
button._x = preloader_background._x;
button._y = 0;
button.onPress = function () {
getURL ("http://www.enjoydressup.com", "_blank");
};
branding._x = (preloader_background._width - branding._width) / 2;
branding._y = (preloader_background._height - branding._height) / 3;
play_btn._x = branding._x + ((branding._width - play_btn._width) / 2);
play_btn._y = (branding._y + branding._height) + (play_btn._height * 2);
play_btn_oriy = play_btn._y;
play_btn._alpha = 0;
preloader_star._x = play_btn._x + (play_btn._width / 2);
preloader_star._y = (play_btn_oriy + 20) + (play_btn._height / 2);
preloader_star._xscale = (preloader_star._yscale = 1);
Width = preloader._width;
preloader._width = branding._width;
preloader.progressB._width = 1;
preloader._x = (preloader_background._width - preloader._width) / 2;
preloader._y = preloader_background._height - (preloader._height * 2);
preloader.progressB._y = (preloader.progress_back._height - preloader.progressB._height) / 2;
this.onEnterFrame = function () {
loaded = _root.getBytesLoaded();
percent = Math.floor((loaded / total) * 100);
rand = random(100);
unit = Math.floor(Width / 100);
PB = preloader.progressB;
PB._width = Math.floor(percent * unit);
unit = 1;
if (percent == 100) {
step = 5;
scale = 10;
distance = 10;
preloader._y = preloader._y + step;
if (preloader._y > 600) {
preloader._visible = false;
}
play_btn._alpha = play_btn._alpha + step;
play_btn._y = play_btn._y + 1;
current_alpha = Math.round(play_btn._alpha);
if (current_alpha >= 100) {
play_btn._y = play_btn_oriy + 20;
play_btn._alpha = 100;
preloader_star._rotation = preloader_star._rotation + step;
preloader_star._xscale = (preloader_star._yscale = preloader_star._yscale + scale);
play_btn.onRollOver = function () {
AttachSound(30, "bleep", "on");
this.gotoAndStop(2);
};
play_btn.onRollOut = function () {
AttachSound(30, "bleep", "off");
this.gotoAndStop(1);
};
play_btn.onRelease = function () {
_root.gotoAndPlay(2);
};
}
current_scale = (preloader_star._xscale = preloader_star._yscale);
if (current_scale >= 100) {
preloader_star._xscale = (preloader_star._yscale = 100);
}
}
};
Symbol 245 MovieClip Frame 1
stop();