Frame 1
stop();
_root.nomore = false;
Frame 2
stop();
Frame 3
stop();
Frame 4
function acces() {
if (overg == 1) {
if (mc_glass1 != undefined) {
mc_glass1.removeMovieClip();
mc_glass1._visible = false;
}
mc_glass = attachMovie(selg, selg1, model.getDepth() + r);
mc_glass._x = x_glass[tg];
mc_glass._y = y_glass[tg];
mc_glass._xscale = selectg._xscale;
mc_glass._yscale = selectg._yscale;
selectg.gotoAndStop(1);
mc_glass.swapDepths(70);
for_spark = mc_glass;
sparks();
overg = 2;
r = 1;
clearInterval(f);
}
if (overn == 1) {
if (mc_neck1 != undefined) {
mc_neckk.removeMovieClip();
mc_neck1._visible = false;
}
mc_neck = attachMovie(seln, sele1, (model.getDepth() + r) + 1);
mc_neck._x = x_neck[tn];
mc_neck._y = y_neck[tn];
mc_neck._xscale = selectn._xscale;
mc_neck._yscale = selectn._yscale;
mc_neck.swapDepths(80);
selectn.gotoAndStop(1);
sele1.removeMovieClip();
for_spark = mc_neck;
sparks();
overn = 2;
r = 1;
clearInterval(f);
}
mc_glass.onRelease = function () {
if (shows != 1) {
this.removeMovieClip();
tg = undefined;
}
};
mc_neck.onRelease = function () {
if (shows != 1) {
this.removeMovieClip();
tn = undefined;
}
};
}
function sparks() {
_root.ss2s.play();
spark_x = for_spark._x;
spark_y = for_spark._y;
spark_w = for_spark._width;
spark_h = for_spark._width;
i = 0;
while (i < 5) {
sp = attachMovie("spark1", "spark" + (random(100000) + i), _root.getNextHighestDepth());
sp._x = spark_x + random(spark_w);
sp._y = spark_y + random(spark_h);
i++;
}
i = 0;
while (i < 50) {
sp1 = attachMovie("spark", "spark" + (random(100000) + i), _root.getNextHighestDepth());
sp1._x = spark_x + random(spark_w);
sp1._y = spark_y + random(spark_h);
i++;
}
}
stop();
shows = 0;
dresses = new Array();
dre_x = new Array();
dre_y = new Array();
dresses = [dr2.top1, dr2.top2, dr3.top1, dr3.top2, dr1.top1, dr1.top2, to2.top1, to2.top2, to3.top1, to3.top2, to1.top1, to1.top2];
dre_x = [422.75, 409.15, 416.7, 424.9, 431.85, 412.9, 427, 424.6, 418.15, 418.95, 436.1, 435.6];
dre_y = [315.1, 305.5, 315.75, 317.35, 305.95, 300, 298.95, 316.65, 313.85, 314.45, 304, 304.45];
bots = new Array();
bot_x = new Array();
bot_y = new Array();
bots = [sk2.top1, sk2.top2, sk3.top1, sk3.top2, sk1.top1, sk1.top2, bo2.top1, bo2.top2, bo3.top1, bo1.top1, bo1.top2];
bot_x = [466.4, 466.55, 462.05, 464.45, 453.6, 455.4, 454.1, 454.45, 457.85, 452.95, 451.9];
bot_y = [383.1, 382, 379.3, 386.9, 414.65, 409.95, 442.3, 442.35, 433.4, 440.75, 438.85];
bags = new Array();
bag_x = new Array();
bag_y = new Array();
bags = [bag1, bag2, bag3, bag4, bag5, bag6, bag7, bag8];
bag_x = [501.4, 501.05, 503.1, 500.9, 501, 506.05, 506.35, 505.7];
bag_y = [406.75, 404.95, 392.95, 404.15, 404.5, 387.75, 387.4, 387.65];
hairs = new Array();
hair_x = new Array();
hair_y = new Array();
hairs = [hair1, hair2, hair3, hair4, hair5, hair6];
hair_x = [455.15, 458.3, 463.25, 454.6, 450.2, 458.65];
hair_y = [286.95, 271.8, 280.15, 299.65, 294.6, 285.15];
shoes = new Array();
shoe_x = new Array();
shoe_y = new Array();
shoes = [shoe1, shoe2, shoe3, shoe4, shoe5, shoe6, shoe7, shoe8, shoe9];
shoe_x = [448.1, 451.5, 449.25, 450.75, 453.4, 451.55, 449.05, 450.85, 447.8];
shoe_y = [520.8, 523.75, 497.35, 519.95, 523.95, 496.95, 499.4, 497.65, 495.95];
var mc_bot = mc_doing.createEmptyMovieClip("botf", mc_doing.getNextHighestDepth());
var mc_hair = mc_doing.createEmptyMovieClip("hairf", mc_doing.getNextHighestDepth());
var mc_dress = mc_doing.createEmptyMovieClip("dressf", mc_doing.getNextHighestDepth());
var mc_bag = mc_doing.createEmptyMovieClip("bagf", mc_doing.getNextHighestDepth());
var mc_shoe = mc_doing.createEmptyMovieClip("shoef", mc_doing.getNextHighestDepth());
var mc_glass = mc_doing.createEmptyMovieClip("glassf", mc_doing.getNextHighestDepth());
var mc_neck = mc_doing.createEmptyMovieClip("neckf", mc_doing.getNextHighestDepth());
for (i in dresses) {
dresses[i].onRollOver = function () {
if (this._currentframe == 1) {
this.gotoAndStop(5);
}
};
dresses[i].onRollOut = function () {
if (this._currentframe == 5) {
this.gotoAndStop(1);
}
};
dresses[i].onPress = function () {
dep = this.getDepth();
if ((this._currentframe == 5) || (this._currentframe == 1)) {
this.swapDepths(_root.getNextHighestDepth());
this.gotoAndStop(4);
this.startDrag();
dres = this;
for (i in dresses) {
if (dresses[i] == dres) {
ti = i;
}
}
xd = this._x;
yd = this._y;
}
};
dresses[i].onRelease = (dresses[i].onReleaseOutside = function () {
this.stopDrag();
if (this._currentframe == 4) {
this.gotoAndStop(1);
}
if (this.hitTest(model)) {
if (mc_dress != undefined) {
mc_dress.removeMovieClip();
}
selec_dress = substring(dres, 9, 8);
mc_dress = attachMovie(selec_dress, dres + "t", 50);
mc_dress._x = dre_x[ti];
mc_dress._y = dre_y[ti];
mc_dress._xscale = dres._xscale;
mc_dress._yscale = dres._yscale;
for_spark = mc_dress;
sparks();
}
mc_dress.onRelease = function () {
if (shows != 1) {
this.removeMovieClip();
ti = undefined;
}
};
if (this._currentframe == 1) {
dres._x = xd;
dres._y = yd;
dres.swapDepths(dep);
}
});
}
for (i in bots) {
bots[i].onRollOver = function () {
if (this._currentframe == 1) {
this.gotoAndStop(5);
}
};
bots[i].onRollOut = function () {
if (this._currentframe == 5) {
this.gotoAndStop(1);
}
};
bots[i].onPress = function () {
dep = this.getDepth();
if ((this._currentframe == 5) || (this._currentframe == 1)) {
this.swapDepths(_root.getNextHighestDepth());
this.gotoAndStop(4);
this.startDrag();
bot = this;
for (i in bots) {
if (bots[i] == bot) {
tb = i;
}
}
xbo = this._x;
ybo = this._y;
}
};
bots[i].onRelease = (bots[i].onReleaseOutside = function () {
this.stopDrag();
if (this._currentframe == 4) {
this.gotoAndStop(1);
}
if (this.hitTest(model)) {
if (mc_bot != undefined) {
mc_bot.removeMovieClip();
}
selec_bot = substring(bot, 9, 8);
mc_bot = attachMovie(selec_bot, bot + "t", 20);
mc_bot._x = bot_x[tb];
mc_bot._y = bot_y[tb];
mc_bot._xscale = bot._xscale;
mc_bot._yscale = bot._yscale;
for_spark = mc_bot;
sparks();
}
mc_bot.onRelease = function () {
if (shows != 1) {
this.removeMovieClip();
tb = undefined;
}
};
if (this._currentframe == 1) {
bot._x = xbo;
bot._y = ybo;
bot.swapDepths(dep);
}
});
}
for (i in bags) {
bags[i].onPress = function () {
this.gotoAndStop(2);
dep = this.getDepth();
this.swapDepths(_root.getNextHighestDepth());
this.startDrag();
bag = this;
for (i in bags) {
if (bags[i] == bag) {
tba = i;
}
}
xb = this._x;
yb = this._y;
};
bags[i].onRelease = (bags[i].onReleaseOutside = function () {
this.stopDrag();
this.gotoAndStop(1);
if (this.hitTest(model)) {
if (mc_bag != undefined) {
mc_bag.removeMovieClip();
}
selec_bag = substring(bag, 9, 4);
mc_bag = attachMovie(selec_bag, bag + "t", 55);
mc_bag._x = bag_x[tba];
mc_bag._y = bag_y[tba];
mc_bag._xscale = bag._xscale;
mc_bag._yscale = bag._yscale;
for_spark = mc_bag;
sparks();
}
mc_bag.onRelease = function () {
if (shows != 1) {
this.removeMovieClip();
tba = undefined;
}
};
bag._x = xb;
bag._y = yb;
bag.swapDepths(dep);
});
}
for (i in hairs) {
hairs[i].onPress = function () {
this.gotoAndStop(2);
dep = this.getDepth();
this.swapDepths(_root.getNextHighestDepth());
this.startDrag();
hair = this;
for (i in hairs) {
if (hairs[i] == hair) {
th = i;
}
}
xh = this._x;
yh = this._y;
};
hairs[i].onRelease = (hairs[i].onReleaseOutside = function () {
this.stopDrag();
this.gotoAndStop(1);
if (this.hitTest(model)) {
if (mc_hair != undefined) {
mc_hair.removeMovieClip();
}
selec_hair = substring(hair, 9, 5);
mc_hair = attachMovie(selec_hair, hair + "t", 100);
mc_hair._x = hair_x[th];
mc_hair._y = hair_y[th];
mc_hair._xscale = hair._xscale;
mc_hair._yscale = hair._yscale;
for_spark = mc_hair;
sparks();
}
mc_hair.onRelease = function () {
if (shows != 1) {
this.removeMovieClip();
th = undefined;
}
};
hair._x = xh;
hair._y = yh;
hair.swapDepths(dep);
});
}
for (i in shoes) {
shoes[i].onPress = function () {
this.gotoAndStop(2);
dep = this.getDepth();
this.swapDepths(_root.getNextHighestDepth());
this.startDrag();
shoe = this;
for (i in shoes) {
if (shoes[i] == shoe) {
ts = i;
}
}
xs = this._x;
ys = this._y;
};
shoes[i].onRelease = (shoes[i].onReleaseOutside = function () {
this.stopDrag();
this.gotoAndStop(1);
if (this.hitTest(model)) {
if (mc_shoe != undefined) {
mc_shoe.removeMovieClip();
}
selec_shoe = substring(shoe, 9, 5);
mc_shoe = attachMovie(selec_shoe, shoe + "t", 10);
mc_shoe._x = shoe_x[ts];
mc_shoe._y = shoe_y[ts];
mc_shoe._xscale = shoe._xscale;
mc_shoe._yscale = shoe._yscale;
for_spark = mc_shoe;
sparks();
}
mc_shoe.onRelease = function () {
if (shows != 1) {
this.removeMovieClip();
ts = undefined;
}
};
shoe._x = xs;
shoe._y = ys;
shoe.swapDepths(dep);
});
}
glass = new Array();
neck = new Array();
x_glass = new Array();
y_glass = new Array();
x_neck = new Array();
y_neck = new Array();
glass = [glass1, glass2, glass3, glass4, glass5, glass6];
neck = [neck1, neck2, neck3, neck4, neck5, neck6];
x_glass = [461.55, 461.1, 461.4, 461.25, 457.05, 462.1];
y_glass = [280.95, 280.7, 280, 280.05, 280.45, 281.4];
x_neck = [455.55, 457.35, 449.75, 452.95, 456.6, 454];
y_neck = [319, 305.4, 308.75, 315.7, 317.9, 316.15];
er = 1;
r = 1;
n = 1;
for (i in glass) {
glass[i].onPress = function () {
this.gotoAndStop(2);
};
glass[i].onRelease = function () {
selectg = this;
glas = selectg;
selg = substring(selectg, 9, 6);
mc_glass.removeMovieClip();
mc_glass1 = attachMovie(selg, selg1, -5);
mc_glass1._x = selectg._x;
mc_glass1._y = selectg._y;
mc_glass1._xscale = selectg._xscale;
mc_glass1._yscale = selectg._yscale;
for (i in glass) {
if (selectg == glass[i]) {
tg = i;
}
}
selectg.play();
f = setInterval(acces, 100);
};
}
for (i in neck) {
neck[i].onPress = function () {
if (this._currentframe == 1) {
this.gotoAndStop(2);
}
};
neck[i].onRelease = function () {
if (this._currentframe == 2) {
selectn = this;
seln = substring(selectn, 9, 5);
if (mc_neck != undefined) {
mc_neck.removeMovieClip();
}
mc_neck1 = attachMovie(seln, sele1, -100);
mc_neck1._x = selectn._x;
mc_neck1._y = selectn._y;
mc_neck1._xscale = selectn._xscale;
mc_neck1._yscale = selectn._yscale;
n++;
for (i in neck) {
if (selectn == neck[i]) {
tn = i;
}
}
selectn.play();
f = setInterval(acces, 100);
}
};
}
function rest() {
reset = 1;
select_hairs.gotoAndStop(1);
mc_dress.removeMovieClip();
mc_bot.removeMovieClip();
mc_shoe.removeMovieClip();
mc_hair.removeMovieClip();
mc_bag.removeMovieClip();
mc_hat.removeMovieClip();
mc_glass.removeMovieClip();
mc_ear.removeMovieClip();
mc_neck.removeMovieClip();
mc_neck1.removeMovieClip();
ticks.removeMovieClip();
mc_dress = (mc_bot = (mc_shoe = (mc_hair = (mc_bag = (mc_hat = (mc_glass = (mc_ear = (mc_neck = (mc_neck1 = undefined)))))))));
sel_dup._visible = false;
if (sees == 1) {
save_appear();
sees = 0;
}
}
function saves() {
po_char = char;
saved.data.chars = po_char;
po_dress = save_dress[ti];
saved.data.mc_dress1 = po_dress;
po_bot = save_dress[tb];
saved.data.mc_bot1 = po_bot;
po_shoe = save_dress[ts];
saved.data.mc_shoe1 = po_shoe;
po_hair = save_dress[th];
saved.data.mc_hair1 = po_hair;
po_bag = save_dress[tba];
saved.data.mc_bag1 = po_bag;
po_hat = save_dress[tha];
saved.data.mc_hat1 = po_hat;
po_glass = save_dress[tg];
saved.data.mc_glass1 = po_glass;
po_ear = save_dress[te];
saved.data.mc_ear1 = po_ear;
po_neck = save_dress[tn];
saved.data.mc_neck1 = po_neck;
saved.flush();
}
function save_appear() {
p = saved.data.chars;
model.gotoAndStop(p);
p = saved.data.mc_dress1;
selecsd = dresses[p];
dress_names1 = substring(selecsd, 9, 8);
mc_dress2 = attachMovie(dress_names1, dre1, 50);
mc_dress2._x = dre_x[p];
mc_dress2._y = dre_y[p];
mc_dress2._xscale = selecsd._xscale;
mc_dress2._yscale = selecsd._yscale;
p = saved.data.mc_bot1;
selecsb = bots[p];
bots_names = substring(selecsb, 9, 8);
mc_bot2 = attachMovie(bots_names, bots1, 20);
mc_bot2._x = bot_x[p];
mc_bot2._y = bot_y[p];
mc_bot2._xscale = selecsb._xscale;
mc_bot2._yscale = selecsb._yscale;
p = saved.data.mc_shoe1;
selecss = shoes[p];
shoe_names = substring(selecss, 9, 5);
mc_shoe2 = attachMovie(shoe_names, shoe_name1, 10);
mc_shoe2._x = shoe_x[p];
mc_shoe2._y = shoe_y[p];
mc_shoe2._xscale = selecss._xscale;
mc_shoe2._yscale = selecss._yscale;
p = saved.data.mc_hair1;
selecsh = hairs[p];
hair_names = substring(selecsh, 9, 5);
mc_hair2 = attachMovie(hair_names, hair_name1, 100);
mc_hair2._x = hair_x[p];
mc_hair2._y = hair_y[p];
mc_hair2._xscale = selecsh._xscale;
mc_hair2._yscale = selecsh._yscale;
p = saved.data.mc_bag1;
selecsba = bags[p];
bag_names = substring(selecsba, 9, 4);
mc_bag2 = attachMovie(bag_names, bag_name1, 55);
mc_bag2._x = bag_x[p];
mc_bag2._y = bag_y[p];
mc_bag2._xscale = selecsba._xscale;
mc_bag2._yscale = selecsba._yscale;
p = saved.data.mc_glass1;
selecsg = glass[p];
selg = substring(selecsg, 9, 6);
mc_glass2 = attachMovie(selg, selg1, model.getDepth() + 1);
mc_glass2._x = x_glass[p];
mc_glass2._y = y_glass[p];
mc_glass2._xscale = selecsg._xscale;
mc_glass2._yscale = selecsg._yscale;
p = saved.data.mc_neck1;
selecsn = neck[p];
seln = substring(selecsn, 9, 5);
mc_neck2 = attachMovie(seln, sele1, 80);
mc_neck2._x = x_neck[p];
mc_neck2._y = y_neck[p];
mc_neck2._xscale = selecsn._xscale;
mc_neck2._yscale = selecsn._yscale;
}
function contin() {
selecsd = dresses[ti];
dress_names1 = substring(selecsd, 9, 8);
mc_dress = attachMovie(dress_names1, dre1, 50);
mc_dress._x = dre_x[ti];
mc_dress._y = dre_y[ti];
mc_dress._xscale = selecsd._xscale;
mc_dress._yscale = selecsd._yscale;
selecsb = bots[tb];
bots_names = substring(selecsb, 9, 8);
mc_bot = attachMovie(bots_names, bots1, 20);
mc_bot._x = bot_x[tb];
mc_bot._y = bot_y[tb];
mc_bot._xscale = selecsb._xscale;
mc_bot._yscale = selecsb._yscale;
selecss = shoes[ts];
shoe_names = substring(selecss, 9, 5);
mc_shoe = attachMovie(shoe_names, shoe_name1, 10);
mc_shoe._x = shoe_x[ts];
mc_shoe._y = shoe_y[ts];
mc_shoe._xscale = selecss._xscale;
mc_shoe._yscale = selecss._yscale;
selecsh = hairs[th];
hair_names = substring(selecsh, 9, 5);
mc_hair = attachMovie(hair_names, hair_name1, 100);
mc_hair._x = hair_x[th];
mc_hair._y = hair_y[th];
mc_hair._xscale = selecsh._xscale;
mc_hair._yscale = selecsh._yscale;
selecsba = bags[tba];
bag_names = substring(selecsba, 9, 4);
mc_bag = attachMovie(bag_names, bag_name1, 55);
mc_bag._x = bag_x[tba];
mc_bag._y = bag_y[tba];
mc_bag._xscale = selecsba._xscale;
mc_bag._yscale = selecsba._yscale;
selecsg = glass[tg];
selg = substring(selecsg, 9, 6);
mc_glass = attachMovie(selg, selg1, 70);
mc_glass._x = x_glass[tg];
mc_glass._y = y_glass[tg];
mc_glass._xscale = selecsg._xscale;
mc_glass._yscale = selecsg._yscale;
selecsn = neck[tn];
seln = substring(selecsn, 9, 5);
mc_neck1 = attachMovie(seln, sele1, 80);
mc_neck1._x = x_neck[tn];
mc_neck1._y = y_neck[tn];
mc_neck1._xscale = selecsn._xscale;
mc_neck1._yscale = selecsn._yscale;
mc_dress.onRelease = function () {
this.removeMovieClip();
ti = undefined;
};
mc_bot.onRelease = function () {
this.removeMovieClip();
tb = undefined;
};
mc_bag.onRelease = function () {
this.removeMovieClip();
tba = undefined;
};
mc_hair.onRelease = function () {
this.removeMovieClip();
th = undefined;
};
mc_hat.onRelease = function () {
this.removeMovieClip();
tha = undefined;
};
mc_shoe.onRelease = function () {
this.removeMovieClip();
ts = undefined;
};
mc_glass.onRelease = function () {
this.removeMovieClip();
tg = undefined;
};
mc_ear.onRelease = function () {
this.removeMovieClip();
te = undefined;
};
mc_neck1.onRelease = function () {
this.removeMovieClip();
tn = undefined;
};
}
save_dress = {};
sees = 0;
save_dress = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15"];
show_off.onRelease = function () {
stopAllSounds();
setdem();
shows = 1;
gotoAndStop ("showoff");
};
reset_but.onPress = function () {
contin();
reset = 1;
rest();
selecsn = neck[tn];
seln = substring(selecsn, 9, 5);
mc_neck1 = attachMovie(seln, sele1, 30);
mc_neck1._x = x_neck[tn];
mc_neck1._y = y_neck[tn];
mc_neck1._xscale = selecsn._xscale;
mc_neck1._yscale = selecsn._yscale;
mc_neck1._visible = false;
mc_neck1.removeMovieClip();
ti = (tb = (ts = (th = (tha = (tba = (tg = (tn = (te = undefined))))))));
res = 1;
};
contin();
var saved = SharedObject.getLocal("pos");
var modexists = (saved.data.mc_dress1 != undefined);
see.onPress = function () {
sees = 1;
rest();
continue_go = 1;
save_appear();
gotoAndStop ("load");
};
function getDepths() {
for (i in clothsarray1) {
dep2[i] = clothsarray1[i].getDepth();
}
}
function setDepths1() {
clothsarray2[0].swapDepths(a3.getDepth() + DEPTHARR[0]);
clothsarray2[1].swapDepths(a3.getDepth() + DEPTHARR[1]);
clothsarray2[2].swapDepths(a3.getDepth() + DEPTHARR[2]);
clothsarray1[0].swapDepths(a2.getDepth() + DEPTHARR[0]);
clothsarray1[1].swapDepths(a2.getDepth() + DEPTHARR[1]);
clothsarray1[2].swapDepths(a2.getDepth() + DEPTHARR[2]);
clothsarray0[0].swapDepths(a1.getDepth() + DEPTHARR[0]);
clothsarray0[1].swapDepths(a1.getDepth() + DEPTHARR[1]);
clothsarray0[2].swapDepths(a1.getDepth() + DEPTHARR[2]);
}
function clOrder(a, b) {
if (a.bState < b.bState) {
return(-1);
}
if (a.bState > b.bState) {
return(1);
}
return(0);
}
function selectButton() {
btnselected = true;
}
function unselectButton() {
btnselected = false;
}
function isRotating() {
return((((com.mosesSupposes.fuse.ZigoEngine.getTweens(clothsarray[0]) == 0) || (isNaN(com.mosesSupposes.fuse.ZigoEngine.getTweens(clothsarray[0])))) && ((com.mosesSupposes.fuse.ZigoEngine.getTweens(clothsarray[2]) == 0) || (isNaN(com.mosesSupposes.fuse.ZigoEngine.getTweens(clothsarray[2]))))) && ((com.mosesSupposes.fuse.ZigoEngine.getTweens(clothsarray[1]) == 0) || (isNaN(com.mosesSupposes.fuse.ZigoEngine.getTweens(clothsarray[1])))));
}
function rotateFirst1() {
clothsarray[2].unselect();
clothsarray[2].swapDepths(a.getDepth() + MIDDEPTHARR[2]);
com.mosesSupposes.fuse.ZigoEngine.doTween(clothsarray[2], "_bezier_", {x:"70", y:"-18", controlY:"-2", controlX:"38"}, 0.2, com.mosesSupposes.fuse.PennerEasing.easeInCirc, 0, {scope:this, func:"rotateFirst2"});
com.mosesSupposes.fuse.ZigoEngine.doTween(btns, "frame", [btns.frame + 10], 0.4, com.mosesSupposes.fuse.PennerEasing.easeInQuint, 0);
}
function rotateFirst2() {
clothsarray[2].unselect();
clothsarray[2].swapDepths(clothsarray[2].getDepth() - 5);
com.mosesSupposes.fuse.ZigoEngine.doTween(clothsarray[2], "_bezier_", {x:"-70", y:"-18", controlY:"2", controlX:"3"}, 0.2, com.mosesSupposes.fuse.PennerEasing.easeOutCirc, 0, {scope:this, func:"afterRotateFirst"});
}
function rotateSecond() {
clothsarray[1].unselect();
clothsarray.swapDepths(a.getDepth() + MIDDEPTHARR[1]);
com.mosesSupposes.fuse.ZigoEngine.doTween(clothsarray[1], "_bezier_", {x:"70", y:"18", controlY:"2", controlX:"-38"}, 0.4, com.mosesSupposes.fuse.PennerEasing.easeInOutQuint, 0, {scope:this, func:"afterRotateSecond"});
}
function rotateFird() {
clothsarray[0].unselect();
clothsarray[0].swapDepths(a.getDepth() + MIDDEPTHARR[0]);
com.mosesSupposes.fuse.ZigoEngine.doTween(clothsarray[0], "_bezier_", {x:"-70", y:"18", controlY:"2", controlX:"-38"}, 0.4, com.mosesSupposes.fuse.PennerEasing.easeInOutQuint, 0, {scope:this, func:"afterRotateFird"});
}
function setDepths() {
clothsarray[0].swapDepths(a.getDepth() + DEPTHARR[0]);
clothsarray[1].swapDepths(a.getDepth() + DEPTHARR[1]);
clothsarray[2].swapDepths(a.getDepth() + DEPTHARR[2]);
}
function updatebStates() {
if (isRotating()) {
if (!statesUpdated) {
clothsarray[0].swapDepths(a.getDepth() + DEPTHARR[1]);
clothsarray[1].swapDepths(a.getDepth() + DEPTHARR[2]);
clothsarray[2].swapDepths(a.getDepth() + DEPTHARR[0]);
clothsarray[0].bState = 1;
clothsarray[1].bState = 2;
clothsarray[2].bState = 0;
statesUpdated = true;
rotating = false;
clothsarray.sort(clOrder);
tostop();
if (placeClothers() == true) {
clothsarray[0].swapDepths(clothsarray[1]);
clothsarray[0].bState = BSTATE_GRAY;
clothsarray[1].bState = BSTATE_BLACK;
var _local2 = clothsarray[0]._x;
var _local1 = clothsarray[0]._y;
clothsarray.sort(clOrder);
}
}
}
}
function afterRotateFirst() {
updatebStates();
}
function afterRotateSecond() {
updatebStates();
}
function afterRotateFird() {
updatebStates();
if (!btns.hitTest(_root._xmouse, _root._ymouse)) {
unselectButton();
}
}
function placeClothers() {
if ((clothsarray[1].requestName_ == clothsarray[2].requestName_) && (clothsarray[0].requestName_ != clothsarray[2].requestName_)) {
return(true);
}
return(false);
}
stopAllSounds();
clothsarray = new Array();
r1 = (r2 = (r3 = (r4 = 0)));
MIDDEPTHARR = new Array(-4, 2, 4);
okCount_ = 0;
DEPTHARR = new Array(-3, 1, 3);
BSTATE_BLACK = 0;
BSTATE_GRAY = 1;
BSTATE_LIGHT = 2;
clothsarray0 = new Array();
clothsarray0 = [to1, to3, to2];
clothsarray1 = new Array();
clothsarray1 = [dr1, dr3, dr2];
clothsarray2 = new Array();
clothsarray2 = [sk1, sk3, sk2];
clothsarray3 = new Array();
clothsarray3 = [bo1, bo3, bo2];
dep1 = new Array();
dep2 = new Array();
rack1.btn.onPress = function () {
if (r2 == 1) {
clothsarray1 = clothsarray;
}
if (r3 == 1) {
clothsarray2 = clothsarray;
}
if (r4 == 1) {
clothsarray3 = clothsarray;
}
r2 = 0;
r3 = 0;
r4 = 0;
if (r1 != 1) {
a = rack1;
btns = rack1.btn;
clothsarray = clothsarray0;
r1 = 1;
}
};
rack2.btn.onPress = function () {
if (r1 == 1) {
clothsarray0 = clothsarray;
}
if (r3 == 1) {
clothsarray2 = clothsarray;
}
if (r4 == 1) {
clothsarray3 = clothsarray;
}
r1 = 0;
r3 = 0;
r4 = 0;
if (r2 != 1) {
a = rack2;
btns = rack2.btn;
clothsarray = clothsarray1;
r2 = 1;
}
};
rack3.btn.onPress = function () {
if (r1 == 1) {
clothsarray0 = clothsarray;
}
if (r2 == 1) {
clothsarray1 = clothsarray;
}
if (r4 == 1) {
clothsarray3 = clothsarray;
}
r1 = 0;
r2 = 0;
r4 = 0;
if (r3 != 1) {
a = rack3;
btns = rack3.btn;
clothsarray = clothsarray2;
r3 = 1;
}
};
rack4.btn.onPress = function () {
if (r1 == 1) {
clothsarray0 = clothsarray;
}
if (r2 == 1) {
clothsarray1 = clothsarray;
}
if (r3 == 1) {
clothsarray2 = clothsarray;
}
r1 = 0;
r2 = 0;
r3 = 0;
if (r4 != 1) {
a = rack4;
btns = rack4.btn;
clothsarray = clothsarray3;
r4 = 1;
}
};
tostop1 = function () {
clothsarray0[0].top1.gotoAndStop(2);
clothsarray0[0].top2.gotoAndStop(2);
clothsarray0[1].top1.gotoAndStop(3);
clothsarray0[1].top2.gotoAndStop(3);
clothsarray0[2].top1.gotoAndStop(1);
clothsarray0[2].top2.gotoAndStop(1);
clothsarray1[0].top1.gotoAndStop(2);
clothsarray1[0].top2.gotoAndStop(2);
clothsarray1[1].top1.gotoAndStop(3);
clothsarray1[1].top2.gotoAndStop(3);
clothsarray1[2].top1.gotoAndStop(1);
clothsarray1[2].top2.gotoAndStop(1);
clothsarray2[0].top1.gotoAndStop(2);
clothsarray2[0].top2.gotoAndStop(2);
clothsarray2[1].top1.gotoAndStop(3);
clothsarray2[1].top2.gotoAndStop(3);
clothsarray2[2].top1.gotoAndStop(1);
clothsarray2[2].top2.gotoAndStop(1);
clothsarray3[0].top1.gotoAndStop(2);
clothsarray3[0].top2.gotoAndStop(2);
clothsarray3[1].top1.gotoAndStop(3);
clothsarray3[1].top2.gotoAndStop(3);
clothsarray3[2].top1.gotoAndStop(1);
clothsarray3[2].top2.gotoAndStop(1);
};
tostop1();
tostop = function () {
clothsarray[0].top1.gotoAndStop(2);
clothsarray[0].top2.gotoAndStop(2);
clothsarray[1].top1.gotoAndStop(3);
clothsarray[1].top2.gotoAndStop(3);
clothsarray[2].top1.gotoAndStop(1);
clothsarray[2].top2.gotoAndStop(1);
};
onMouseMove = function () {
if (btns.hitTest(_root._xmouse, _root._ymouse) && (btnselected != true)) {
selectButton();
}
if ((!btns.hitTest(_root._xmouse, _root._ymouse)) && (btnselected == true)) {
unselectButton();
}
};
rack1.btn.onRollOver = function () {
this.gotoAndPlay(2);
if (r2 == 1) {
clothsarray1 = clothsarray;
}
if (r3 == 1) {
clothsarray2 = clothsarray;
}
if (r4 == 1) {
clothsarray3 = clothsarray;
}
r2 = 0;
r3 = 0;
r4 = 0;
if (r1 != 1) {
a = rack1;
btns = rack1.btn;
clothsarray = clothsarray0;
r1 = 1;
}
};
rack1.btn.onRollOut = function () {
this.gotoAndStop(1);
if (btnselected == true) {
btnselected = false;
}
};
rack2.btn.onRollOver = function () {
this.gotoAndPlay(2);
if (r1 == 1) {
clothsarray0 = clothsarray;
}
if (r3 == 1) {
clothsarray2 = clothsarray;
}
if (r4 == 1) {
clothsarray3 = clothsarray;
}
r1 = 0;
r3 = 0;
r4 = 0;
if (r2 != 1) {
a = rack2;
btns = rack2.btn;
clothsarray = clothsarray1;
r2 = 1;
}
};
rack2.btn.onRollOut = function () {
rack2.btn.gotoAndStop(1);
if (btnselected == true) {
btnselected = false;
}
};
rack3.btn.onRollOver = function () {
this.gotoAndPlay(2);
if (r1 == 1) {
clothsarray0 = clothsarray;
}
if (r2 == 1) {
clothsarray1 = clothsarray;
}
if (r4 == 1) {
clothsarray3 = clothsarray;
}
r1 = 0;
r2 = 0;
r4 = 0;
if (r3 != 1) {
a = rack3;
btns = rack3.btn;
clothsarray = clothsarray2;
r3 = 1;
}
};
rack3.btn.onRollOut = function () {
rack3.btn.gotoAndStop(1);
if (btnselected == true) {
btnselected = false;
}
};
rack4.btn.onRollOver = function () {
this.gotoAndPlay(2);
if (r1 == 1) {
clothsarray0 = clothsarray;
}
if (r2 == 1) {
clothsarray1 = clothsarray;
}
if (r3 == 1) {
clothsarray2 = clothsarray;
}
r1 = 0;
r2 = 0;
r3 = 0;
if (r4 != 1) {
a = rack4;
btns = rack4.btn;
clothsarray = clothsarray3;
r4 = 1;
}
};
rack4.btn.onRollOut = function () {
rack4.btn.gotoAndStop(1);
if (btnselected == true) {
btnselected = false;
}
};
rack1.btn.onRelease = function () {
if ((rotating != true) && (btnselected == true)) {
statesUpdated = false;
clothsarray.sort(clorder);
rotateFirst1();
rotateSecond();
rotateFird();
rack1.btn.gotoAndPlay(7);
rotating = true;
}
};
rack2.btn.onRelease = function () {
if ((rotating != true) && (btnselected == true)) {
statesUpdated = false;
clothsarray.sort(clorder);
rotateFirst1();
rotateSecond();
rotateFird();
rack2.btn.gotoAndPlay(7);
rotating = true;
}
};
rack3.btn.onRelease = function () {
if ((rotating != true) && (btnselected == true)) {
statesUpdated = false;
clothsarray.sort(clorder);
rotateFirst1();
rotateSecond();
rotateFird();
rack3.btn.gotoAndPlay(7);
rotating = true;
}
};
rack4.btn.onRelease = function () {
if ((rotating != true) && (btnselected == true)) {
statesUpdated = false;
clothsarray.sort(clorder);
rotateFirst1();
rotateSecond();
rotateFird();
rack4.btn.gotoAndPlay(7);
rotating = true;
}
};
Instance of Symbol 90 MovieClip [bag5] "bag5" in Frame 4
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Instance of Symbol 85 MovieClip [bag4] "bag4" in Frame 4
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Instance of Symbol 80 MovieClip [bag3] "bag3" in Frame 4
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Instance of Symbol 97 MovieClip [bag7] "bag7" in Frame 4
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Instance of Symbol 93 MovieClip [bag6] "bag6" in Frame 4
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Instance of Symbol 101 MovieClip [bag8] "bag8" in Frame 4
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Instance of Symbol 74 MovieClip [bag2] "bag2" in Frame 4
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Instance of Symbol 70 MovieClip [bag1] "bag1" in Frame 4
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Instance of Symbol 259 MovieClip [shoe5] "shoe5" in Frame 4
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Instance of Symbol 256 MovieClip [shoe4] "shoe4" in Frame 4
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Instance of Symbol 245 MovieClip [shoe1] "shoe1" in Frame 4
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Instance of Symbol 249 MovieClip [shoe2] "shoe2" in Frame 4
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Instance of Symbol 263 MovieClip [shoe6] "shoe6" in Frame 4
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Instance of Symbol 252 MovieClip [shoe3] "shoe3" in Frame 4
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Instance of Symbol 272 MovieClip [shoe9] "shoe9" in Frame 4
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Instance of Symbol 266 MovieClip [shoe7] "shoe7" in Frame 4
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Instance of Symbol 269 MovieClip [shoe8] "shoe8" in Frame 4
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
gotoAndStop (1);
}
Frame 5
stop();
for (i in clothsarray1) {
clothsarray1[i]._visible = false;
}
for (i in clothsarray0) {
clothsarray0[i]._visible = false;
}
for (i in clothsarray2) {
clothsarray2[i]._visible = false;
}
for (i in clothsarray3) {
clothsarray3[i]._visible = false;
}
Frame 6
stop();
cont.onPress = function () {
mc_dress2.removeMovieClip();
mc_bot2.removeMovieClip();
mc_shoe2.removeMovieClip();
mc_hair2.removeMovieClip();
mc_bag2.removeMovieClip();
mc_hat2.removeMovieClip();
mc_glass2.removeMovieClip();
mc_ear2.removeMovieClip();
mc_neck2.removeMovieClip();
ticks.removeMovieClip();
co = 0;
firs = 0;
res = 1;
gotoAndPlay ("game");
continued = 1;
};
for (i in clothsarray1) {
clothsarray1[i]._visible = false;
}
for (i in clothsarray0) {
clothsarray0[i]._visible = false;
}
for (i in clothsarray2) {
clothsarray2[i]._visible = false;
}
for (i in clothsarray3) {
clothsarray3[i]._visible = false;
}
Frame 7
stop();
print (_level0, "bmax");
gotoAndStop ("game");
for (i in clothsarray1) {
clothsarray1[i]._visible = false;
}
for (i in clothsarray0) {
clothsarray0[i]._visible = false;
}
for (i in clothsarray2) {
clothsarray2[i]._visible = false;
}
for (i in clothsarray3) {
clothsarray3[i]._visible = false;
}
Symbol 2 Button
on (release) {
getURL ("http://www.girlgamesclub.com", "_blank");
}
Symbol 60 MovieClip Frame 1
stepp = 0;
step2 = 0;
Instance of Symbol 59 MovieClip "loaderbar" in Symbol 60 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.loaderbar.gotoAndStop(_parent.stepp);
if ((_parent.step2 < 30) && (_parent.stepp > 90)) {
if ((_parent.step2 % 10) == 0) {
_parent.stepp = _parent.stepp + (1 + random(2));
}
_parent.step2++;
return(undefined);
}
if ((_root.getBytesLoaded() / _root.getBytesTotal()) > (_parent.stepp / 100)) {
if ((random(2) > 0) || (_parent.stepp < 10)) {
_parent.stepp = _parent.stepp + (2 + random(2));
} else if (random(2) == 0) {
_parent.stepp++;
}
}
if (_parent.stepp >= 100) {
_root.gotoAndStop(3);
}
}
Symbol 522 MovieClip [__Packages.com.mosesSupposes.fuse.PennerEasing] Frame 0
class com.mosesSupposes.fuse.PennerEasing
{
function PennerEasing () {
}
static function linear(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeInQuad(t, b, c, d) {
t = t / d;
return(((c * t) * t) + b);
}
static function easeOutQuad(t, b, c, d) {
t = t / d;
return((((-c) * t) * (t - 2)) + b);
}
static function easeInOutQuad(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 function easeInExpo(t, b, c, d) {
return(((t == 0) ? (b) : ((c * Math.pow(2, 10 * ((t / d) - 1))) + b)));
}
static function easeOutExpo(t, b, c, d) {
return(((t == d) ? (b + c) : ((c * ((-Math.pow(2, (-10 * t) / d)) + 1)) + b)));
}
static function easeInOutExpo(t, b, c, d) {
if (t == 0) {
return(b);
}
if (t == d) {
return(b + c);
}
t = t / (d / 2);
if (t < 1) {
return(((c / 2) * Math.pow(2, 10 * (t - 1))) + b);
}
t--;
return(((c / 2) * ((-Math.pow(2, -10 * t)) + 2)) + b);
}
static function easeOutInExpo(t, b, c, d) {
if (t == 0) {
return(b);
}
if (t == d) {
return(b + c);
}
t = t / (d / 2);
if (t < 1) {
return(((c / 2) * ((-Math.pow(2, -10 * t)) + 1)) + b);
}
return(((c / 2) * (Math.pow(2, 10 * (t - 2)) + 1)) + b);
}
static function easeInElastic(t, b, c, d, a, p) {
var _local5;
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;
_local5 = p / 4;
} else {
_local5 = (p / 6.283185) * Math.asin(c / a);
}
t = t - 1;
return((((-a) * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local5) * 6.283185) / p)) + b);
}
static function easeOutElastic(t, b, c, d, a, p) {
var _local5;
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;
_local5 = p / 4;
} else {
_local5 = (p / 6.283185) * Math.asin(c / a);
}
return((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local5) * 6.283185) / p)) + c) + b);
}
static function easeInOutElastic(t, b, c, d, a, p) {
var _local5;
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;
_local5 = p / 4;
} else {
_local5 = (p / 6.283185) * Math.asin(c / a);
}
if (t < 1) {
t = t - 1;
return((-0.5 * ((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local5) * 6.283185) / p))) + b);
}
t = t - 1;
return(((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local5) * 6.283185) / p)) * 0.5) + c) + b);
}
static function easeOutInElastic(t, b, c, d, a, p) {
var _local5;
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;
_local5 = p / 4;
} else {
_local5 = (p / 6.283185) * Math.asin(c / a);
}
if (t < 1) {
return(((0.5 * ((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local5) * 6.283185) / p))) + (c / 2)) + b);
}
return(((c / 2) + (0.5 * ((a * Math.pow(2, 10 * (t - 2))) * Math.sin((((t * d) - _local5) * 6.283185) / p)))) + b);
}
static function easeInBack(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 easeOutBack(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 easeInOutBack(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 function easeOutInBack(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = t / (d / 2);
if (t < 1) {
t--;
s = s * 1.525;
return(((c / 2) * (((t * t) * (((s + 1) * t) + s)) + 1)) + b);
}
t--;
s = s * 1.525;
return(((c / 2) * (((t * t) * (((s + 1) * t) - s)) + 1)) + b);
}
static function easeOutBounce(t, b, c, d) {
t = t / d;
if (t < 0.3636364) {
return((c * ((7.5625 * t) * t)) + b);
}
if (t < 0.7272727) {
t = t - 0.5454545;
return((c * (((7.5625 * t) * t) + 0.75)) + b);
}
if (t < 0.9090909) {
t = t - 0.8181818;
return((c * (((7.5625 * t) * t) + 0.9375)) + b);
}
t = t - 0.9545455;
return((c * (((7.5625 * t) * t) + 0.984375)) + b);
}
static function easeInBounce(t, b, c, d) {
return((c - easeOutBounce(d - t, 0, c, d)) + b);
}
static function easeInOutBounce(t, b, c, d) {
if (t < (d / 2)) {
return((easeInBounce(t * 2, 0, c, d) * 0.5) + b);
}
return(((easeOutBounce((t * 2) - d, 0, c, d) * 0.5) + (c * 0.5)) + b);
}
static function easeOutInBounce(t, b, c, d) {
if (t < (d / 2)) {
return((easeOutBounce(t * 2, 0, c, d) * 0.5) + b);
}
return(((easeInBounce((t * 2) - d, 0, c, d) * 0.5) + (c * 0.5)) + b);
}
static function easeInCubic(t, b, c, d) {
t = t / d;
return((((c * t) * t) * t) + b);
}
static function easeOutCubic(t, b, c, d) {
t = (t / d) - 1;
return((c * (((t * t) * t) + 1)) + b);
}
static function easeInOutCubic(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return(((((c / 2) * t) * t) * t) + b);
}
t = t - 2;
return(((c / 2) * (((t * t) * t) + 2)) + b);
}
static function easeOutInCubic(t, b, c, d) {
t = t / (d / 2);
t--;
return(((c / 2) * (((t * t) * t) + 1)) + b);
}
static function easeInQuart(t, b, c, d) {
t = t / d;
return(((((c * t) * t) * t) * t) + b);
}
static function easeOutQuart(t, b, c, d) {
t = (t / d) - 1;
return(((-c) * ((((t * t) * t) * t) - 1)) + b);
}
static function easeInOutQuart(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return((((((c / 2) * t) * t) * t) * t) + b);
}
t = t - 2;
return((((-c) / 2) * ((((t * t) * t) * t) - 2)) + b);
}
static function easeOutInQuart(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
t--;
return((((-c) / 2) * ((((t * t) * t) * t) - 1)) + b);
}
t--;
return(((c / 2) * ((((t * t) * t) * t) + 1)) + b);
}
static function easeInQuint(t, b, c, d) {
t = t / d;
return((((((c * t) * t) * t) * t) * t) + b);
}
static function easeOutQuint(t, b, c, d) {
t = (t / d) - 1;
return((c * (((((t * t) * t) * t) * t) + 1)) + b);
}
static function easeInOutQuint(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return(((((((c / 2) * t) * t) * t) * t) * t) + b);
}
t = t - 2;
return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b);
}
static function easeOutInQuint(t, b, c, d) {
t = t / (d / 2);
t--;
return(((c / 2) * (((((t * t) * t) * t) * t) + 1)) + b);
}
static function easeInSine(t, b, c, d) {
return((((-c) * Math.cos((t / d) * 1.570796)) + c) + b);
}
static function easeOutSine(t, b, c, d) {
return((c * Math.sin((t / d) * 1.570796)) + b);
}
static function easeInOutSine(t, b, c, d) {
return((((-c) / 2) * (Math.cos((3.141593 * t) / d) - 1)) + b);
}
static function easeOutInSine(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return(((c / 2) * Math.sin((3.141593 * t) / 2)) + b);
}
t--;
return((((-c) / 2) * (Math.cos((3.141593 * t) / 2) - 2)) + b);
}
static function easeInCirc(t, b, c, d) {
t = t / d;
return(((-c) * (Math.sqrt(1 - (t * t)) - 1)) + b);
}
static function easeOutCirc(t, b, c, d) {
t = (t / d) - 1;
return((c * Math.sqrt(1 - (t * t))) + b);
}
static function easeInOutCirc(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return((((-c) / 2) * (Math.sqrt(1 - (t * t)) - 1)) + b);
}
t = t - 2;
return(((c / 2) * (Math.sqrt(1 - (t * t)) + 1)) + b);
}
static function easeOutInCirc(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
t--;
return(((c / 2) * Math.sqrt(1 - (t * t))) + b);
}
t--;
return(((c / 2) * (2 - Math.sqrt(1 - (t * t)))) + b);
}
static var registryKey = "pennerEasing";
}
Symbol 523 MovieClip [__Packages.com.mosesSupposes.fuse.FuseKitCommon] Frame 0
class com.mosesSupposes.fuse.FuseKitCommon
{
static var logOutput;
function FuseKitCommon () {
}
static function _cts() {
return("|_tint|_tintPercent|_brightness|_brightOffset|_contrast|_invertColor|_colorReset|_colorTransform|");
}
static function _resetTo100() {
return("|_alpha|_contrast|_invertColor|_tintPercent|_xscale|_yscale|_scale|");
}
static function _resetTo0() {
return("|_brightness|_brightOffset|_colorReset|_rotation|");
}
static function _underscoreable() {
return(_cts() + "_frame|_x|_y|_xscale|_yscale|_scale|_width|_height|_size|_rotation|_alpha|_fade|_visible|");
}
static function _cbprops() {
return("|skipLevel|cycles|roundResults|extra1|extra2|func|scope|args|startfunc|startscope|startargs|updfunc|updscope|updargs|");
}
static function _fuseEvents() {
return("|onStart|onStop|onPause|onResume|onAdvance|onComplete|");
}
static function _fuseprops() {
return("|command|label|delay|event|eventparams|target|addTarget|trigger|startAt|ease|easing|seconds|duration|time|");
}
static function _validateFuseCommand(c, inGroup, hasArg, outputLevel, simple) {
var _local1 = false;
var _local2 = false;
switch (c) {
case "start" :
case "stop" :
case "pause" :
case "resume" :
case "setStartProps" :
if (inGroup != true) {
_local1 = true;
}
break;
case "delay" :
case "trigger" :
if (simple == true) {
if (hasArg == true) {
_local1 = true;
}
} else {
_local2 = true;
}
inGroup = false;
break;
case "skipTo" :
if (!((hasArg == true) && (inGroup != true))) {
break;
}
_local1 = true;
}
if ((outputLevel > 0) && (_local1 == false)) {
error("109", c, inGroup, _local2);
}
return(_local1);
}
static function output(s) {
if (typeof(logOutput) == "function") {
logOutput(s);
}
}
static function error(errorCode) {
var _local3 = arguments[1];
var _local4 = arguments[2];
var _local6 = arguments[3];
if (VERBOSE != true) {
output(("[FuseKitCommon#" + errorCode) + "]");
return(undefined);
}
var _local2 = "";
var _local5 = newline;
switch (errorCode) {
case "001" :
_local2 = _local2 + "** ERROR: When using simpleSetup to extend prototypes, you must pass the Shortcuts class. **";
_local2 = _local2 + (_local5 + " import com.mosesSupposes.fuse.*;");
_local2 = _local2 + ((_local5 + " ZigoEngine.simpleSetup(Shortcuts);") + _local5);
break;
case "002" :
_local2 = _local2 + "** ZigoEngine.doShortcut: shortcuts missing. Use the setup commands: import com.mosesSupposes.fuse.*; ZigoEngine.register(Shortcuts); **";
break;
case "003" :
_local2 = _local2 + ((_local5 + "*** Error: DO NOT use #include \"lmc_tween.as\" with this version of ZigoEngine! ***") + _local5);
break;
case "004" :
_local2 = _local2 + (("** ZigoEngine.doTween - too few arguments [" + _local3) + "].");
if (Boolean(_local4) == true) {
_local2 = _local2 + " If you are trying to use Object Syntax without Fuse, pass FuseItem in your register() or simpleSetup() call. **";
} else {
_local2 = _local2 + " Object syntax call failed. **";
}
break;
case "005" :
_local2 = _local2 + (((("** ZigoEngine.doTween - missing targets[" + _local3) + "] and/or props[") + _local4) + "] **");
break;
case "006" :
_local2 = _local2 + (("** Error: easing shortcut string not recognized (\"" + _local3) + "\"). You may need to pass the in PennerEasing class during register or simpleSetup. **");
break;
case "007" :
_local2 = _local2 + (((("- ZigoEngine: Target locked [" + _local3) + "], ignoring tween call [") + _local4) + "]");
break;
case "008" :
_local2 = _local2 + "** You must register the Shortcuts class in order to use easy string-type callback parsing. **";
break;
case "009" :
_local2 = _local2 + (("** ZigoEngine: A callback parameter \"" + _local3) + "\" was not recognized. **");
break;
case "010" :
_local2 = _local2 + ((((("** " + ((_local3 == true) ? "ZigoEngine" : "FuseItem")) + " unable to parse ") + ((_local4 == 1) ? "callback[" : (String(_local4) + " callbacks["))) + _local6) + "]. Try using the syntax {scope:this, func:\"myFunction\"} **");
break;
case "011" :
_local2 = _local2 + (((("- ZigoEngine: Callbacks discarded via skipLevel 2 option [" + _local3) + "|") + _local4) + "].");
break;
case "012" :
_local2 = _local2 + (((((("- Engine set props or ignored no-change tween on: " + _local3) + ", props passed:[") + _local4) + "], endvals passed:[") + _local6) + "]");
break;
case "013" :
_local2 = _local2 + (((((("- Engine added tween on:\n\ttargets:[" + _local3) + "]\n\tprops:[") + _local4) + "]\n\tendvals:[") + _local6) + "]");
break;
case "014" :
_local2 = _local2 + "** Error: easing function passed is not usable with this engine. Functions need to follow the Robert Penner model. **";
break;
case "015" :
_local2 = _local2 + "** Error: The CustomEasing class must be passed during setup (register or simpleSetup) to use custom easing Arrays. **";
break;
case "016" :
_local2 = _local2 + (("[ ZigoEngine.TIME_MULTIPLIER: " + String(Number(Number(_local3) * 100))) + "% ]");
break;
case "101" :
_local2 = _local2 + "** ERROR: Fuse simpleSetup was removed in version 2.0! **";
_local2 = _local2 + (_local5 + " You must now use the following commands:");
_local2 = _local2 + ((_local5 + _local5) + "\timport com.mosesSupposes.fuse.*;");
_local2 = _local2 + (_local5 + "\tZigoEngine.simpleSetup(Shortcuts, PennerEasing, Fuse);");
_local2 = _local2 + ((_local5 + "Note that PennerEasing is optional, and FuseFMP is also accepted. (FuseFMP.simpleSetup is run automatically if included.)") + _local5);
break;
case "102" :
_local2 = _local2 + (((("** Fuse " + _local3) + " index or label not found (") + _local4) + ") or out of range. **");
break;
case "103" :
_local2 = _local2 + (((("** Fuse skipTo (" + _local3) + ") ignored - targets the current index (") + _local4) + "). **");
break;
case "104" :
_local2 = _local2 + (("** Fuse fastForward index out of play range (" + _local3) + ") - skipTo has been called instead. **");
break;
case "105" :
_local2 = _local2 + "** An unsupported Array method was called on Fuse. **";
break;
case "106" :
_local2 = _local2 + "** ERROR: You have not set up Fuse correctly. **";
_local2 = _local2 + (_local5 + "You must now use the following commands (PennerEasing is optional).");
_local2 = _local2 + (_local5 + "\timport com.mosesSupposes.fuse.*;");
_local2 = _local2 + ((_local5 + "\tZigoEngine.simpleSetup(Shortcuts, PennerEasing, Fuse);") + _local5);
break;
case "107" :
_local2 = _local2 + "** Fuse :: id not found - Aborting open(). **";
break;
case "108" :
_local2 = _local2 + "** Fuse.startRecent: No recent Fuse found to start! **";
break;
case "109" :
_local2 = _local2 + (("** Command \"" + _local3) + "\" discarded. ");
if (_local4 == true) {
_local2 = _local2 + "Not allowed within a group. **";
} else if (_local6 == true) {
_local2 = _local2 + (("Not supported in Object Syntax, use the " + _local3) + " property instead. **");
} else {
_local2 = _local2 + "The command may be unrecognized or missing an argument. **";
}
break;
case "110" :
_local2 = _local2 + (((("** " + _local3) + " illegal Fuse property discarded:\"") + _local4) + "\". Bezier keywords other than x and y cannot be set as start values. **");
break;
case "112" :
_local2 = _local2 + "** Fuse: missing com.mosesSupposes.fuse.ZigoEngine! Cannot tween. **";
break;
case "113" :
_local2 = _local2 + "** FuseItem: A callback has been discarded. Actions with a command may only contain: label, delay, scope, args. **";
break;
case "115" :
_local2 = _local2 + ((_local3 + " overlapping prop discarded: ") + _local4);
break;
case "116" :
_local2 = _local2 + ("** FuseItem Error: Delays within groups (arrays) and start/update callbacks are not supported when using Fuse without ZigoEngine. Although you need to restructure your Fuse, it should be possible to achieve the same results. **" + _local5);
break;
case "117" :
_local2 = _local2 + (("** " + _local3) + ": infinite cycles are not allowed within Fuses - discarded. **");
break;
case "118" :
_local2 = _local2 + ((("** " + _local3) + ": No targets found!") + ((_local4 == true) ? " [Unable to set start props] **" : " [Skipping tween parameters in this action] **"));
break;
case "119" :
_local2 = _local2 + ((((("** " + _local3) + ": ") + ((_local4 == 1) ? "" : (_local4 + " actions in the group"))) + " missing targets") + ((_local6 == true) ? " during setStartProps **" : " **"));
break;
case "120" :
_local2 = _local2 + (((("** " + _local3) + ": conflict with \"") + _local4) + "\". Property might be doubled within a grouped-action array. **");
break;
case "121" :
_local2 = _local2 + "** Fuse timecode formatting requires \"00:\" formatting (example:\"01:01:33\" yields 61.33 seconds.) **";
break;
case "122" :
_local2 = _local2 + (("** Event \"" + _local3) + "\" reserved by Fuse. **");
break;
case "123" :
_local2 = _local2 + (("** A Fuse event parameter failed in " + _local3) + " **");
break;
case "124" :
_local2 = _local2 + (((("** " + _local3) + ": trigger:") + _local4) + " ignored - only one trigger is allowed per action **");
break;
case "125" :
_local2 = _local2 + (_local3 + " Warning - fastForward hit an item during its tween cycle, may malfunction.");
break;
case "201" :
_local2 = _local2 + (("**** FuseFMP cannot initialize argument " + _local3) + " (BitmapFilters cannot be applied to this object type) ****");
break;
case "202" :
_local2 = _local2 + (((("** FuseFMP error: A " + _local3) + " could not be created for ") + _local4) + " **");
break;
case "203" :
_local2 = _local2 + (("** FuseFMP.setFilterProps - too few arguments passed (" + _local3) + ") - minimum 2 required. **");
break;
case "204" :
_local2 = _local2 + (("** FuseFMP.setFilterProps could not locate the filter passed. (" + _local3) + ") **");
}
output(_local2);
}
static function parseCallback(callback, targets, outputLevel, callerIsEngine, addprefix) {
if (callback._vcb == true) {
return(callback);
}
var _local10 = {_vcb:true, skipLevel:_global.com.mosesSupposes.fuse.ZigoEngine.SKIP_LEVEL, cycles:1};
if (callback == undefined) {
return(_local10);
}
var _local20 = [];
if (typeof(callback) == "object") {
if (((callback.skipLevel != undefined) && (typeof(callback.skipLevel) == "number")) && (callback.skipLevel != _global.com.mosesSupposes.fuse.ZigoEngine.SKIP_LEVEL)) {
if ((callback.skipLevel >= 0) && (callback.skipLevel <= 2)) {
_local10.skipLevel = callback.skipLevel;
}
}
if (callback.cycles != undefined) {
if ((typeof(callback.cycles) == "number") && (callback.cycles > -1)) {
_local10.cycles = callback.cycles;
} else if (callback.cycles.toUpperCase() == "LOOP") {
_local10.cycles = 0;
}
}
if (callback.extra1 != undefined) {
_local10.extra1 = callback.extra1;
}
if (callback.extra2 != undefined) {
_local10.extra2 = callback.extra2;
}
if ((callback.roundResults === true) || (callback.roundResults === false)) {
_local10.roundResults = callback.roundResults;
}
} else {
callback = {func:callback};
}
var _local14 = ["start", "upd", ""];
var _local13 = _global.com.mosesSupposes.fuse.Shortcuts.parseStringTypeCallback;
for (var _local24 in _local14) {
var _local6 = _local14[_local24];
var _local8 = callback[_local6 + "func"];
if (((_local8 != undefined) && (typeof(_local8) == "string")) && (_local8.indexOf("(") > -1)) {
if (_local13 != undefined) {
var _local9 = _local13(_local8);
if (_local9.func != undefined) {
callback[_local6 + "scope"] = _local9.scope;
callback[_local6 + "func"] = _local9.func;
callback[_local6 + "args"] = _local9.args;
}
continue;
}
if (outputLevel > 0) {
error("008");
}
}
}
var _local22 = callback.scope;
for (var _local24 in callback) {
var _local11 = _local24.toLowerCase().indexOf("func");
if (_local11 > -1) {
var _local6 = _local24.slice(0, _local11);
var _local2 = callback[_local24];
var _local7 = callback[_local6 + "args"];
var _local4 = ((callback[_local6 + "scope"] == undefined) ? (_local22) : (callback[_local6 + "scope"]));
if ((typeof(_local2) == "string") && (_local4[_local2] == undefined)) {
for (var _local17 in targets) {
var _local5 = targets[_local17];
if (typeof(_local5[_local2]) == "function") {
_local4 = _local5;
break;
}
if (typeof(_local5._parent[_local2]) == "function") {
_local4 = _local5._parent;
break;
}
}
if ((_local4 == undefined) && (_level0[_local2] != undefined)) {
_local4 = _level0;
}
if ((_local4 == undefined) && (_global[_local2] != undefined)) {
_local4 = _global;
}
}
if (typeof(_local2) != "function") {
if (typeof(_local4[String(_local2)]) == "function") {
_local2 = _local4[String(_local2)];
} else {
_local2 = String(_local2);
}
}
if (_local2 == undefined) {
_local20.push(String((((((((addprefix == null) ? (_local24) : (addprefix + _local24)) + ":") + ((typeof(callback[_local24]) == "string") ? (("\"" + callback[_local24]) + "\"") : (callback[_local24]))) + "/") + _local6) + "scope:") + _local4));
} else {
if ((_local7 != undefined) && (!(_local7 instanceof Array))) {
_local7 = [_local7];
}
if (_local6 == "") {
_local6 = "end";
}
_local10[_local6] = {s:_local4, f:_local2, a:_local7};
if (callerIsEngine == true) {
_local10[_local6].id = (cbTicker = ++cbTicker);
}
if (_local6 == "start") {
_local10.start.fired = false;
}
}
continue;
}
if (_cbprops().indexOf(("|" + _local24) + "|") == -1) {
error("009", _local24);
}
}
if ((_local20.length > 0) && (outputLevel > 0)) {
if (outputLevel > 0) {
error("010", callerIsEngine, _local20.length, _local20.toString());
}
}
return(_local10);
}
static var VERSION = "Fuse Kit 2.1.4 Copyright (c) 2006 Moses Gunesch, MosesSupposes.com under MIT Open Source License";
static var VERBOSE = true;
static var ALL = "ALL";
static var ALLCOLOR = "ALLCOLOR";
static var cbTicker = 0;
}
Symbol 524 MovieClip [__Packages.com.mosesSupposes.fuse.ZigoEngine] Frame 0
class com.mosesSupposes.fuse.ZigoEngine
{
static var extensions, updateTime, tweenHolder, instance, _listeners, broadcastMessage, updateIntId;
function ZigoEngine () {
}
static function addListener(handler) {
AsBroadcaster.initialize(com.mosesSupposes.fuse.ZigoEngine);
addListener(handler);
}
static function removeListener(handler) {
}
static function isPlaying() {
return(_playing);
}
static function simpleSetup(shortcutsClass) {
if (arguments.length > 0) {
register.apply(com.mosesSupposes.fuse.ZigoEngine, arguments);
}
_global.ZigoEngine = com.mosesSupposes.fuse.ZigoEngine;
if (extensions.fuse != undefined) {
_global.Fuse = extensions.fuse;
}
if (extensions.fuseFMP != undefined) {
extensions.fuseFMP.simpleSetup();
}
initialize(MovieClip.prototype, Button.prototype, TextField.prototype);
if (extensions.shortcuts == undefined) {
com.mosesSupposes.fuse.FuseKitCommon.error("001");
}
}
static function register(classReference) {
if (extensions == undefined) {
extensions = {};
}
var _local3 = "|fuse|fuseItem|fuseFMP|shortcuts|pennerEasing|customEasing|";
for (var _local4 in arguments) {
var _local2 = arguments[_local4].registryKey;
if ((extensions[_local2] == undefined) && (_local3.indexOf(("|" + _local2) + "|") > -1)) {
extensions[_local2] = arguments[_local4];
if ((_local2 == "fuseFMP") || (_local2 == "shortcuts")) {
Object(extensions[_local2]).initialize();
}
}
}
}
static function initialize(target) {
if (arguments.length > 0) {
initializeTargets.apply(com.mosesSupposes.fuse.ZigoEngine, arguments);
if (extensions.shortcuts != undefined) {
extensions.shortcuts.addShortcutsTo.apply(extensions.shortcuts, arguments);
}
}
}
static function deinitialize(target) {
if ((arguments.length == 0) || (target == null)) {
arguments.push(MovieClip.prototype, Button.prototype, TextField.prototype);
}
deinitializeTargets.apply(com.mosesSupposes.fuse.ZigoEngine, arguments);
if (extensions.shortcuts != undefined) {
extensions.shortcuts.removeShortcutsFrom.apply(extensions.shortcuts, arguments);
}
}
static function getUpdateInterval() {
return(updateTime);
}
static function setUpdateInterval(time) {
if (_playing) {
setup(true);
updateTime = time;
setup();
} else {
updateTime = time;
}
}
static function getControllerDepth() {
return(tweenHolder.getDepth());
}
static function setControllerDepth(depth) {
if ((depth == null) || (_global.isNaN(depth) == true)) {
depth = 6789;
}
if (Object(tweenHolder).proof != null) {
tweenHolder.swapDepths(depth);
} else {
tweenHolder = _root.createEmptyMovieClip("ZigoEnginePulse", depth);
}
}
static function doShortcut(targets, methodName) {
if (extensions.shortcuts == undefined) {
if (OUTPUT_LEVEL > 0) {
com.mosesSupposes.fuse.FuseKitCommon.error("002");
}
return(null);
}
return(extensions.shortcuts.doShortcut.apply(extensions.shortcuts, arguments));
}
static function doTween(targets, props, endvals, seconds, ease, delay, callback) {
if (extensions.fuse.addBuildItem(arguments) == true) {
return(null);
}
if (TIME_MULTIPLIER != prevTimeMult) {
TIME_MULTIPLIER = Math.abs(TIME_MULTIPLIER);
if (_global.isNaN(TIME_MULTIPLIER) == true) {
TIME_MULTIPLIER = 1;
}
if (OUTPUT_LEVEL > 0) {
com.mosesSupposes.fuse.FuseKitCommon.error("016", TIME_MULTIPLIER);
}
prevTimeMult = TIME_MULTIPLIER;
}
if ((instance == undefined) || ((Object(tweenHolder).proof == undefined) && (updateTime == undefined))) {
if ((MovieClip.prototype.tween != null) && (typeof(_global.$tweenManager) == "object")) {
com.mosesSupposes.fuse.FuseKitCommon.error("003");
}
instance = new com.mosesSupposes.fuse.ZManager();
_playing = false;
}
var _local4 = instance.paramsObj(targets, props, endvals, true);
var _local7 = (((_local4.tg[0] == null) || (_local4.tg.length == 0)) ? undefined : (_local4.tg));
if (((_local4.pa == undefined) || (_local7 == undefined)) || (arguments.length < 3)) {
if (((extensions.fuseItem != null) && (arguments.length == 1)) && (typeof(arguments[0]) == "object")) {
return(extensions.fuseItem.doTween(arguments[0]));
}
if (OUTPUT_LEVEL > 0) {
if (arguments.length < 3) {
com.mosesSupposes.fuse.FuseKitCommon.error("004", (((arguments.length == 1) && (arguments[0] == null)) ? "1 (null)" : (String(arguments.length))), Boolean(extensions.fuseItem == null));
} else {
com.mosesSupposes.fuse.FuseKitCommon.error("005", _local7.toString(), _local4.pa.toString());
}
}
return(null);
}
if (_playing != true) {
setup();
}
if ((seconds == null) || (_global.isNaN(seconds) == true)) {
seconds = DURATION || 1;
} else if (seconds < 0.01) {
seconds = 0;
}
seconds = seconds * TIME_MULTIPLIER;
if (((delay < 0.01) || (delay == null)) || (_global.isNaN(delay) == true)) {
delay = 0;
}
delay = delay * TIME_MULTIPLIER;
var _local12 = com.mosesSupposes.fuse.FuseKitCommon.parseCallback(callback, _local7, OUTPUT_LEVEL, true);
var _local9;
if (typeof(ease) == "function") {
if (typeof(Function(ease).call(null, 1, 1, 1, 1)) == "number") {
_local9 = Function(ease);
} else if (OUTPUT_LEVEL > 0) {
com.mosesSupposes.fuse.FuseKitCommon.error("014", ease);
}
} else if ((ease == null) || (ease == "")) {
if (EASING instanceof Function) {
_local9 = Function(EASING);
} else if (extensions.pennerEasing != undefined) {
ease = EASING;
}
}
if ((typeof(ease) == "string") && (ease != "")) {
if (extensions.pennerEasing[ease] != undefined) {
_local9 = extensions.pennerEasing[ease];
} else if (OUTPUT_LEVEL > 0) {
com.mosesSupposes.fuse.FuseKitCommon.error("006", ease);
}
} else if (ease instanceof Array) {
if (extensions.customEasing != undefined) {
_local12.extra1 = ease;
if (typeof(ease[0]) == "number") {
_local9 = extensions.customEasing.precalced;
} else {
_local9 = extensions.customEasing.fromCurve;
}
} else if (OUTPUT_LEVEL > 0) {
com.mosesSupposes.fuse.FuseKitCommon.error("015", ease);
}
}
if (typeof(_local9) != "function") {
_local9 = function (t, b, c, d) {
t = (t / d) - 1;
return((c * (((((t * t) * t) * t) * t) + 1)) + b);
};
}
if (_listeners.length > 0) {
broadcastMessage.call(com.mosesSupposes.fuse.ZigoEngine, "onTweenAdd", _local7, _local4.pa, _local4.va, seconds, _local9, delay, _local12);
}
var _local6 = "";
for (var _local13 in _local7) {
var _local3 = _local7[_local13];
if (_local3.__zigoID__ == null) {
initializeTargets(_local3);
} else if (instance.getStatus("locked", _local3) == true) {
if (OUTPUT_LEVEL > 0) {
com.mosesSupposes.fuse.FuseKitCommon.error("007", ((_local3._name != undefined) ? (_local3._name) : (_local3.toString())), _local4.pa.toString());
}
continue;
}
var _local5 = instance.addTween(_local3, _local4.pa, _local4.va, seconds, _local9, delay, _local12);
_local6 = ((_local5 == null) ? "|" : (_local5 + "|")) + _local6;
}
_local6 = _local6.slice(0, -1);
return((((_local6 == "") || (_local6 == "|")) ? null : (_local6)));
}
static function removeTween(targs, props) {
instance.removeTween(targs, props);
}
static function isTweening(targ, prop) {
return(Boolean(instance.getStatus("active", targ, prop)));
}
static function getTweens(targ) {
if (instance == undefined) {
return(0);
}
return(Number(instance.getStatus("count", targ)));
}
static function lockTween(targ, setLocked) {
instance.alterTweens("lock", targ, setLocked == true);
}
static function isTweenLocked(targ) {
return(Boolean(instance.getStatus("locked", targ)));
}
static function ffTween(targs, props, suppressEndEvents) {
instance.alterTweens("ff", targs, props, null, suppressEndEvents);
}
static function skipTweenTo(seconds, targs, props) {
instance.alterTweens("skipTo", targs, props, false, false, seconds);
}
static function rewTween(targs, props, pauseFlag, suppressStartEvents) {
instance.alterTweens("rewind", targs, props, pauseFlag, suppressStartEvents);
}
static function isTweenPaused(targ, prop) {
return(Boolean(instance.getStatus("paused", targ, prop)));
}
static function pauseTween(targs, props) {
instance.alterTweens("pause", targs, props);
}
static function unpauseTween(targs, props) {
instance.alterTweens("unpause", targs, props);
}
static function resumeTween(targs, props) {
instance.alterTweens("unpause", targs, props);
}
static function setColorByKey(targetObj, type, amt, rgb) {
new Color(targetObj).setTransform(getColorTransObj(type, amt, rgb));
}
static function getColorTransObj(type, amt, rgb) {
switch (type) {
case "brightness" :
var _local3 = 100 - Math.abs(amt);
var _local4 = ((amt > 0) ? (255 * (amt / 100)) : 0);
return({ra:_local3, rb:_local4, ga:_local3, gb:_local4, ba:_local3, bb:_local4});
case "brightOffset" :
return({ra:100, rb:255 * (amt / 100), ga:100, gb:255 * (amt / 100), ba:100, bb:255 * (amt / 100)});
case "contrast" :
return({ra:amt, rb:128 - (1.28 * amt), ga:amt, gb:128 - (1.28 * amt), ba:amt, bb:128 - (1.28 * amt)});
case "invertColor" :
return({ra:100 - (2 * amt), rb:amt * 2.55, ga:100 - (2 * amt), gb:amt * 2.55, ba:100 - (2 * amt), bb:amt * 2.55});
case "tint" :
if (rgb == null) {
break;
}
var _local5;
if (typeof(rgb) == "string") {
if (rgb.charAt(0) == "#") {
rgb = rgb.slice(1);
}
rgb = ((rgb.charAt(1).toLowerCase() != "x") ? ("0x" + rgb) : (rgb));
}
_local5 = Number(rgb);
return({ra:100 - amt, rb:(_local5 >> 16) * (amt / 100), ga:100 - amt, gb:((_local5 >> 8) & 255) * (amt / 100), ba:100 - amt, bb:(_local5 & 255) * (amt / 100)});
}
return({rb:0, ra:100, gb:0, ga:100, bb:0, ba:100});
}
static function getColorKeysObj(targOrTransObj) {
var _local1 = ((targOrTransObj.ra != undefined) ? (targOrTransObj) : (new Color(targOrTransObj).getTransform()));
var _local6 = (_local1.ra == _local1.ga) && (_local1.ga == _local1.ba);
var _local8 = (_local1.rb == _local1.gb) && (_local1.gb == _local1.bb);
var _local3 = {tintPercent:Number(((_local6 == true) ? (100 - _local1.ra) : 0))};
if (_local3.tintPercent != 0) {
var _local5 = 100 / _local3.tintPercent;
_local3.tint = (((_local1.rb * _local5) << 16) | ((_local1.gb * _local5) << 8)) | (_local1.bb * _local5);
var _local2 = _local3.tint.toString(16);
var _local4 = 6 - _local2.length;
while ((_local4--) > 0) {
_local2 = "0" + _local2;
}
_local3.tintString = "0x" + _local2.toUpperCase();
}
if ((_local6 == true) && (_local8 == true)) {
if (_local1.ra < 0) {
_local3.invertColor = _local1.rb * 0.3921569;
} else if ((_local1.ra == 100) && (_local1.rb != 0)) {
_local3.brightOffset = _local1.rb * 0.3921569;
}
if (_local1.ra != 100) {
if ((_local1.rb == 0) || ((_local1.rb != 0) && (((255 * ((100 - _local1.ra) / 100)) - _local1.rb) <= 1))) {
_local3.brightness = ((_local1.rb != 0) ? (100 - _local1.ra) : (_local1.ra - 100));
}
if (((128 - (1.28 * _local1.ra)) - _local1.rb) <= 1) {
_local3.contrast = _local1.ra;
}
}
}
return(_local3);
}
static function initializeTargets() {
for (var _local5 in arguments) {
var _local4 = arguments[_local5];
if ((((_local4 == MovieClip.prototype) || (_local4 == Button.prototype)) || (_local4 == TextField.prototype)) || (_local4 == Object.prototype)) {
if (_local4.oldAddListener == undefined) {
if (_local4 == TextField.prototype) {
_local4.oldAddListener = _local4.addListener;
_global.ASSetPropFlags(_local4, "oldAddListener", 7, 1);
}
_local4.addListener = function (o) {
if (this.__zigoID__ == undefined) {
com.mosesSupposes.fuse.ZigoEngine.initializeTargets(this);
}
if (this instanceof TextField) {
Function(this.oldAddListener).call(this, o);
} else {
this.addListener(o);
}
};
if (_local4 == MovieClip.prototype) {
_global.ASSetPropFlags(_local4, "addListener", 7, 1);
}
}
continue;
}
if (_local4.__zigoID__ == undefined) {
_local4.__zigoID__ = zigoIDs;
_global.ASSetPropFlags(_local4, "__zigoID__", 7, 1);
zigoIDs = ++zigoIDs;
if ((_local4._listeners == null) || (_local4.addListener == null)) {
AsBroadcaster.initialize(_local4);
}
}
}
}
static function deinitializeTargets() {
for (var _local4 in arguments) {
var _local3 = arguments[_local4];
if (_local3.__zigoID__ != undefined) {
_global.ASSetPropFlags(_local3, "__zigoID__,_listeners,broadcastMessage,addListener,removeListener", 0, 2);
delete _local3.__zigoID__;
delete _local3._listeners;
delete _local3.broadcastMessage;
delete _local3.addListener;
delete _local3.removeListener;
}
if (_local3.oldAddListener != undefined) {
_global.ASSetPropFlags(_local3, "oldAddListener", 0, 2);
_local3.addListener = _local3.oldAddListener;
delete _local3.oldAddListener;
}
}
}
static function __mgrRelay(inst, method, args) {
if (inst == instance) {
Function(com.mosesSupposes.fuse.ZigoEngine[method]).apply(com.mosesSupposes.fuse.ZigoEngine, args);
}
}
static function setup(deinitFlag) {
if (deinitFlag == true) {
_playing = false;
clearInterval(updateIntId);
delete tweenHolder.onEnterFrame;
return(undefined);
}
instance.cleanUp();
clearInterval(updateIntId);
delete updateIntId;
if ((updateTime != null) && (updateTime > 0)) {
updateIntId = setInterval(instance, "update", updateTime);
} else {
if (Object(tweenHolder).proof == null) {
setControllerDepth(6789);
Object(tweenHolder).proof = 1;
}
var _inst = instance;
tweenHolder.onEnterFrame = function () {
_inst.update.call(_inst);
};
}
_playing = true;
instance.now = getTimer();
}
static var VERSION = com.mosesSupposes.fuse.FuseKitCommon.VERSION + ", ZigoEngine based on concepts by L.Zigo";
static var EASING = "easeOutQuint";
static var DURATION = 1;
static var TIME_MULTIPLIER = 1;
static var ROUND_RESULTS = false;
static var OUTPUT_LEVEL = 1;
static var AUTOSTOP = false;
static var SKIP_LEVEL = 0;
static var _playing = false;
static var zigoIDs = 0;
static var prevTimeMult = 1;
}
Symbol 525 MovieClip [__Packages.com.mosesSupposes.fuse.ZManager] Frame 0
class com.mosesSupposes.fuse.ZManager
{
var tweens, now;
function ZManager () {
tweens = {};
numTweens = 0;
}
function addTween(obj, props, endvals, seconds, ease, delay, callback) {
var _local24 = ((callback.skipLevel == undefined) ? 0 : (callback.skipLevel));
var _local44 = ((callback.cycles == undefined) ? 1 : (callback.cycles));
var _local30 = callback.extra1;
var _local29 = callback.extra2;
var _local23 = [];
var _local14 = _global.com.mosesSupposes.fuse.FuseFMP;
var _local43 = String(("|" + _local14.getAllShortcuts().join("|")) + "|");
var _local42 = com.mosesSupposes.fuse.FuseKitCommon._cts();
var _local25 = "";
var _local28 = "";
var _local22 = obj.__zigoID__;
var _local7 = tweens[String(_local22)];
if ((_local7 != undefined) && (com.mosesSupposes.fuse.ZigoEngine.AUTOSTOP == true)) {
if (obj._listeners.length > 0) {
for (var _local40 in _local7.props) {
_local23.unshift(_local40);
}
}
_local7.numProps = 0;
cleanUp(true);
}
for (var _local47 in props) {
var _local5 = props[_local47];
var _local4 = endvals[_local47];
var _local15 = 0;
if (_local5 == "_fade") {
_local5 = "_alpha";
_local15 = ((_local4 < 50) ? -1 : 1);
}
var _local16 = _local42.indexOf(("|" + _local5) + "|") > -1;
var _local18 = _local7.colorProp;
if (_local7 != undefined) {
if ((_local16 == true) && (_local18 != undefined)) {
_local23.unshift(_local18);
delete _local7.props[_local18];
delete _local7.colorProp;
_local7.numProps--;
} else if (_local7.props[_local5] != undefined) {
_local23.unshift(_local5);
delete _local7[_local5];
_local7.numProps--;
}
}
var _local3 = {c:-1, fmp:-1, complex:-1};
var _local11 = ((_local24 == 0) && ((seconds + delay) == 0)) || ((_local24 > 0) && (seconds == 0));
var _local10 = false;
var _local13 = (_local14 != undefined) && (_local43.indexOf(("|" + _local5) + "|") > -1);
var _local19 = (_local5.toLowerCase().indexOf("colors") > -1) && (_local4 instanceof Array);
var _local27 = ((_local13 == true) && (_local5.indexOf("lor") > -1)) && (_local5.charAt(2) != "l");
if (_local13 == true) {
_local3.fmp = _local14;
_local3.ps = _local14.getFilterProp(obj, _local5, true);
_local3.special = true;
}
if (((_local16 == true) || (_local19 == true)) || (_local27 && (_local11 == false))) {
_local3.complex = 1;
if (_local16 == true) {
_local3.c = new Color(obj);
_local3.ps = Color(_local3.c).getTransform();
var _local17 = ((((_local5 == "_tint") || (_local5 == "_tintPercent")) || (_local5 == "_colorReset")) ? "tint" : (_local5.slice(1)));
var _local9 = null;
var _local12 = null;
if (_local5 != "_colorTransform") {
if (_local17 == "tint") {
if (typeof(_local4) == "object") {
_local12 = _local4.tint;
_local9 = ((_global.isNaN(_local4.percent) == true) ? 100 : (_local4.percent));
} else if ((_local5 == "_tintPercent") || (_local5 == "_colorReset")) {
var _local20 = com.mosesSupposes.fuse.ZigoEngine.getColorKeysObj(obj).tintPercent;
if (_local5 == "_colorReset") {
_local9 = Math.min(_local20, 100 - Math.abs(Number(_local4)));
} else {
_local9 = ((typeof(_local4) == "string") ? ((_local20 || 0) + Number(_local4)) : Number(_local4));
}
_local9 = Math.max(0, Math.min(_local9, 100));
_local12 = com.mosesSupposes.fuse.ZigoEngine.getColorKeysObj(obj).tint || 0;
} else {
_local12 = _local4;
_local9 = 100;
}
} else {
_local9 = ((typeof(_local4) == "string") ? ((com.mosesSupposes.fuse.ZigoEngine.getColorKeysObj(obj)[_local17] || 0) + Number(_local4)) : (_local4));
}
_local4 = com.mosesSupposes.fuse.ZigoEngine.getColorTransObj(_local17, _local9, _local12);
}
if (_local11 == true) {
if (_local5 == "_colorTransform") {
Color(_local3.c).setTransform(_local4);
} else {
com.mosesSupposes.fuse.ZigoEngine.setColorByKey(obj, _local17, _local9, _local12);
}
} else {
var _local21 = getChangeObj(_local3.ps, _local4, false, false);
_local3.ch = _local21.map;
if (_local21.changed == true) {
_local10 = true;
}
}
} else if (_local11 == true) {
_local14.setFilterProp(obj, _local5, _local4);
} else if (_local19 == true) {
_local3.c = 2;
_local3.ch = [];
for (var _local40 in _local4) {
if (_local4[_local40] != null) {
if (_local3.ps == null) {
_local3.ps = [];
}
_local3.ps[_local40] = com.mosesSupposes.fuse.ZigoEngine.getColorTransObj("tint", 100, ((_local3.ps[_local40] == null) ? obj[_local5][_local40] : _local3.ps[_local40]));
var _local21 = getChangeObj(_local3.ps[_local40], com.mosesSupposes.fuse.ZigoEngine.getColorTransObj("tint", 100, _local4[_local40]), true, false);
_local3.ch[_local40] = _local21.map;
if (_local21.changed == true) {
_local10 = true;
}
}
}
} else {
_local3.c = 1;
_local3.ps = com.mosesSupposes.fuse.ZigoEngine.getColorTransObj("tint", 100, _local3.ps);
var _local21 = getChangeObj(_local3.ps, com.mosesSupposes.fuse.ZigoEngine.getColorTransObj("tint", 100, _local4), true, false);
_local3.ch = _local21.map;
if (_local21.changed == true) {
_local10 = true;
}
}
} else if (_local5 == "_bezier_") {
removeTween(obj, "_x,_y", true);
if (_local11 == true) {
if ((_local4.x != null) && (_global.isNaN(Number(_local4.x)) == false)) {
obj._x = ((typeof(_local4.x) == "string") ? (obj._x + Number(_local4.x)) : (_local4.x));
}
if ((_local4.y != null) && (_global.isNaN(Number(_local4.y)) == false)) {
obj._y = ((typeof(_local4.y) == "string") ? (obj._y + Number(_local4.y)) : (_local4.y));
}
} else {
_local3.special = true;
_local3.ps = 0;
_local3.ch = 1;
_local3.bz = {sx:obj._x, sy:obj._y};
if ((_local4.x == null) || (_global.isNaN(Number(_local4.x)))) {
_local4.x = _local3.bz.sx;
}
if ((_local4.y == null) || (_global.isNaN(Number(_local4.y)))) {
_local4.y = _local3.bz.sy;
}
_local3.bz.chx = ((typeof(_local4.x) == "string") ? (Number(_local4.x)) : (_local4.x - _local3.bz.sx));
if (_global.isNaN(_local3.bz.chx) == true) {
_local3.bx.chx = 0;
}
_local3.bz.chy = ((typeof(_local4.y) == "string") ? (Number(_local4.y)) : (_local4.y - _local3.bz.sy));
if (_global.isNaN(_local3.bz.chy) == true) {
_local3.bx.chy = 0;
}
if ((_local4.controlX == null) || (_global.isNaN(Number(_local4.controlX)))) {
_local3.bz.ctrlx = _local3.bz.sx + (_local3.bz.chx / 2);
} else {
_local3.bz.ctrlx = ((typeof(_local4.controlX) == "string") ? (_local3.bz.sx + Number(_local4.controlX)) : (_local4.controlX));
}
if ((_local4.controlY == null) || (_global.isNaN(Number(_local4.controlY)))) {
_local3.bz.ctrly = _local3.bz.sy + (_local3.bz.chy / 2);
} else {
_local3.bz.ctrly = ((typeof(_local4.controlY) == "string") ? (_local3.bz.sy + Number(_local4.controlY)) : (_local4.controlY));
}
_local3.bz.ctrlx = _local3.bz.ctrlx - _local3.bz.sx;
_local3.bz.ctrly = _local3.bz.ctrly - _local3.bz.sy;
_local10 = (_local3.bz.chx + _local3.bz.chy) != 0;
}
} else {
if (typeof(_local4) == "object") {
_local3.complex = ((_local4 instanceof Array) ? 0 : 1);
}
if ((_local5 == "_x") || (_local5 == "_y")) {
removeTween(obj, "_bezier_", true);
}
if ((_local5 == "_frame") && (typeof(obj) == "movieclip")) {
_local3.ps = obj._currentframe;
_local3.special = true;
} else if (_local13 == false) {
if (_local3.complex > -1) {
_local3.ps = ((_local3.complex == 0) ? ([]) : ({}));
for (var _local40 in _local4) {
_local3.ps[_local40] = obj[_local5][_local40];
}
} else {
_local3.ps = obj[_local5];
}
}
if (_local11 == true) {
if (_local13 == true) {
_local14.setFilterProp(obj, _local5, ((typeof(_local4) == "string") ? (_local3.ps + Number(_local4)) : (_local4)));
} else if (_local3.complex > -1) {
for (var _local40 in _local4) {
if ((_local4[_local40] != null) && (_global.isNaN(Number(_local4[_local40])) == false)) {
obj[_local5][_local40] = ((typeof(_local4[_local40]) == "string") ? (_local3.ps[_local40] + Number(_local4[_local40])) : _local4[_local40]);
if (_global.isNaN(obj[_local5][_local40]) == true) {
obj[_local5][_local40] = 0;
}
}
}
} else {
obj[_local5] = ((typeof(_local4) == "string") ? (_local3.ps + Number(_local4)) : (_local4));
if (_local15 == 1) {
obj._visible = true;
} else if (_local15 == -1) {
obj._visible = false;
}
}
} else if (_local3.complex > -1) {
var _local21 = getChangeObj(_local3.ps, _local4, _local13, _local3.complex == 0);
_local3.ch = _local21.map;
if (_local21.changed == true) {
_local10 = true;
}
} else {
if ((_local4 == null) || (_global.isNaN(Number(_local4)))) {
_local4 = _local3.ps;
}
_local3.ch = ((typeof(_local4) == "string") ? (Number(_local4)) : (Number(_local4) - _local3.ps));
if (_global.isNaN(_local3.ch) == true) {
_local3.ch = 0;
}
_local10 = _local3.ch != 0;
}
}
if (((_local24 == 0) && ((_local10 == true) || (_local11 == false))) || ((_local10 == true) && (_local11 == false))) {
if ((_local3.complex > -1) && (!(_local3.c === 2))) {
_local3.ps = [_local3.ps];
_local3.ch = [_local3.ch];
}
_local3.ts = now + (delay * 1000);
_local3.pt = -1;
_local3.d = seconds * 1000;
_local3.ef = ease;
_local3.sf = false;
_local3.cycles = _local44;
if (_local30 != undefined) {
_local3.e1 = _local30;
}
if (_local29 != undefined) {
_local3.e2 = _local29;
}
_local3.v = _local15;
if (callback.start != undefined) {
_local3.scb = callback.start;
}
if (callback.upd != undefined) {
_local3.ucb = callback.upd;
}
if (callback.end != undefined) {
_local3.ecb = callback.end;
}
if (callback.roundResults != undefined) {
_local3.rr = callback.roundResults;
}
if (tweens[String(_local22)] == undefined) {
_local7 = (tweens[String(_local22)] = {numProps:0, locked:false, targ:obj, targID:String(("\"" + ((obj._name != undefined) ? (obj._name) : (obj.toString()))) + "\""), targZID:_local22, props:{}});
numTweens++;
}
if (_local16 == true) {
_local7.colorProp = _local5;
}
_local7.props[_local5] = _local3;
_local7.numProps++;
_local25 = (_local5 + ",") + _local25;
_local28 = (((typeof(_local4) == "string") ? (("\"" + _local4) + "\"") : (_local4)) + ",") + _local28;
}
_local3 = undefined;
}
if ((_local7 == undefined) || (_local7.numProps <= 0)) {
cleanUp();
}
if ((_local23.length > 0) && (com.mosesSupposes.fuse.ZigoEngine._listeners.length > 0)) {
com.mosesSupposes.fuse.ZigoEngine.broadcastMessage("onTweenInterrupt", {target:obj, props:_local23, __zigoID__:_local22, during:"add"});
}
if (_local25 == "") {
if (_local24 == 2) {
if (com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL == 2) {
com.mosesSupposes.fuse.FuseKitCommon.error("011", ((obj._name != undefined) ? (obj._name) : (obj.toString())), props.toString());
}
} else {
var _local48 = obj._listeners.length > 0;
if (_local48 == true) {
obj.broadcastMessage("onTweenStart", {target:obj, props:props});
}
if (callback.start != undefined) {
callback.start.f.apply(callback.start.s, callback.start.a);
}
if (_local48 == true) {
obj.broadcastMessage("onTweenUpdate", {target:obj, props:props});
}
if (callback.upd != undefined) {
callback.upd.f.apply(callback.upd.s, callback.upd.a);
}
if (_local48 == true) {
obj.broadcastMessage("onTweenEnd", {target:obj, props:props});
}
if (callback.end != undefined) {
callback.end.f.apply(callback.end.s, callback.end.a);
}
}
cleanUp();
}
if (com.mosesSupposes.fuse.ZigoEngine.OUTPUT_LEVEL == 2) {
if (_local25 == "") {
com.mosesSupposes.fuse.FuseKitCommon.error("012", ((obj._name != undefined) ? (obj._name) : (obj.toString())), props.toString(), endvals.toString());
} else {
com.mosesSupposes.fuse.FuseKitCommon.error("013", ((obj._name != undefined) ? (obj._name) : (obj.toString())), _local25.slice(0, -1), _local28.slice(0, -1));
}
}
return(((_local25 == "") ? null : (_local25.slice(0, -1))));
}
function removeTween(targs, props, noInit) {
var _local4 = {};
var _local12 = paramsObj(targs, props);
if (_local12.none == true) {
return(undefined);
}
var _local16 = _local12.all;
var _local17 = _local12.allprops;
var _local9 = ((_local16 == true) ? (tweens) : (Object(_local12.tg)));
var _local8 = false;
for (var _local20 in _local9) {
var _local3 = ((_local16 == true) ? (_local20) : (String(_local9[_local20].__zigoID__)));
var _local2 = tweens[_local3];
var _local6 = ((_local17 == true) ? (_local2.props) : (_local12.props));
for (var _local14 in _local6) {
var _local5 = (_local14 == com.mosesSupposes.fuse.FuseKitCommon.ALLCOLOR) && (_local2.colorProp != undefined);
if ((_local2.props[_local14] != undefined) || (_local5 == true)) {
if (_local4[_local3] == null) {
_local4[_local3] = [];
}
_local4[_local3].unshift(_local14);
if ((_local14 == _local2.colorProp) || (_local5 == true)) {
delete _local2.props[_local2.colorProp];
delete _local2.colorProp;
} else {
delete _local2.props[_local14];
}
_local2.numProps--;
if (_local2.numProps <= 0) {
_local8 = true;
break;
}
}
}
}
if (com.mosesSupposes.fuse.ZigoEngine._listeners.length > 0) {
for (var _local19 in _local4) {
var _local7 = tweens[_local19].targ;
com.mosesSupposes.fuse.ZigoEngine.broadcastMessage("onTweenInterrupt", {target:((typeof(_local7.addProperty) == "function") ? (_local7) : (("[MISSING(\"" + tweens[_local19].targID) + "\")]")), props:_local4[_local19], __zigoID__:tweens[_local19].targZID, during:((noInit == true) ? "add" : "remove")});
}
}
if (_local8 == true) {
cleanUp(noInit);
}
}
function alterTweens(type, targs, props, pauseFlag, noEvents, skipTo) {
if (type == "lock") {
tweens[String(targs.__zigoID__)].locked = props;
return(undefined);
}
var _local11 = paramsObj(targs, props);
if (_local11.none == true) {
return(undefined);
}
var _local14 = _local11.all;
var _local15 = _local11.allprops;
var _local9 = ((_local14 == true) ? (tweens) : (Object(_local11.tg)));
var _local8 = 0;
for (var _local16 in _local9) {
var _local7 = ((_local14 == true) ? (_local16) : (String(_local9[_local16].__zigoID__)));
var _local5 = tweens[_local7];
var _local4 = ((_local15 == true) ? (_local5.props) : (_local11.props));
if (_local4.ALLCOLOR == true) {
_local4[_local5.colorProp] = true;
delete _local4.ALLCOLOR;
}
for (var _local10 in _local4) {
_local8++;
var _local2 = _local5.props[_local10];
if (type == "rewind") {
if (pauseFlag == true) {
_local2.pt = now;
}
_local2.ts = now;
if (noEvents != true) {
_local2.sf = false;
if (_local2.scb != undefined) {
_local2.scb.fired = false;
}
}
continue;
}
if (type == "ff") {
if (noEvents == true) {
_local2.suppressEnd = true;
}
_local2.o = true;
_local2.pt = -1;
_local2.ts = now - _local2.d;
continue;
}
if (type == "skipTo") {
_local2.ts = Math.min(now, (_local2.ts + (now - _local2.ts)) - (skipTo * 1000));
continue;
}
if (type == "pause") {
if (_local2.pt == -1) {
_local2.pt = now;
}
continue;
}
if (type == "unpause") {
if (_local2.pt != -1) {
_local2.ts = now - (_local2.pt - _local2.ts);
_local2.pt = -1;
}
}
}
}
if ((type == "ff") && (_local8 > 0)) {
update();
} else if ((type == "rewind") && (_local8 > 0)) {
update(true);
}
}
function getStatus(type, targ, param) {
if (targ == null) {
return(null);
}
var _local8 = String(targ).toUpperCase() == com.mosesSupposes.fuse.FuseKitCommon.ALL;
var _local4 = tweens[String(targ.__zigoID__)];
switch (type) {
case "paused" :
var _local2 = _local4.props;
if (param != null) {
if (_local2[String(param)] == undefined) {
return(false);
}
return(Boolean(_local2[String(param)].pt != -1));
}
for (var _local6 in _local2) {
if (_local2[_local6].pt != -1) {
return(true);
}
}
return(false);
case "active" :
if (param == null) {
return(Boolean(_local4 != undefined));
}
if (String(param).toUpperCase() == com.mosesSupposes.fuse.FuseKitCommon.ALLCOLOR) {
return(Boolean(_local4.colorProp != undefined));
}
return(Boolean(_local4.props[String(param)] != undefined));
case "count" :
if (!_local8) {
return(_local4.numProps);
}
var _local3 = 0;
for (var _local6 in tweens) {
_local3 = _local3 + tweens[_local6].numProps;
}
return(_local3);
case "locked" :
return(_local4.locked);
}
}
function update(force) {
var _local22 = {};
var _local24 = {};
var _local23 = {};
var _local15 = {};
var _local13 = {};
var _local14 = {};
var _local26 = false;
var _local20 = com.mosesSupposes.fuse.ZigoEngine.ROUND_RESULTS;
for (var _local35 in tweens) {
var _local12 = tweens[_local35];
var _local5 = _local12.targ;
var _local34 = _local12.props;
var _local21 = _local5._listeners.length > 0;
if (_local5.__zigoID__ == undefined) {
_local26 = true;
if (com.mosesSupposes.fuse.ZigoEngine._listeners.length > 0) {
var _local25 = [];
for (var _local30 in _local34) {
_local25.unshift(_local30);
}
com.mosesSupposes.fuse.ZigoEngine.broadcastMessage("onTweenInterrupt", {target:((typeof(_local5.addProperty) == "function") ? (_local5) : (("[MISSING:" + _local12.targID) + "]")), props:_local25, __zigoID__:_local12.targZID, during:"update"});
}
continue;
}
for (var _local30 in _local34) {
var _local3 = _local34[_local30];
if (((_local3.ts > now) || (_local3.pt != -1)) && (force != true)) {
continue;
}
var _local9 = now >= (_local3.ts + _local3.d);
if (_local3.complex == -1) {
var _local6;
if (_local9 == true) {
_local6 = _local3.ps + _local3.ch;
if ((_local3.cycles > 1) || (_local3.cycles == 0)) {
if (_local3.cycles > 1) {
_local3.cycles--;
}
_local3.ps = _local6;
_local3.ch = -_local3.ch;
_local3.ts = now;
_local9 = false;
}
} else {
_local6 = _local3.ef(now - _local3.ts, _local3.ps, _local3.ch, _local3.d, _local3.e1, _local3.e2);
}
if (_global.isNaN(_local6) == false) {
if ((_local30 != "_bezier_") && ((_local3.rr == true) || ((_local20 == true) && (!(_local3.rr === false))))) {
_local6 = Math.round(Number(_local6));
}
if (_local3.special != true) {
_local5[_local30] = _local6;
} else if (_local3.fmp != -1) {
_local3.fmp.setFilterProp(_local5, _local30, _local6);
} else if (_local30 == "_bezier_") {
var _local10 = _local3.bz;
var _local18 = _local10.sx + (_local6 * (((2 * (1 - _local6)) * _local10.ctrlx) + (_local6 * _local10.chx)));
var _local17 = _local10.sy + (_local6 * (((2 * (1 - _local6)) * _local10.ctrly) + (_local6 * _local10.chy)));
if ((_local3.rr == true) || ((_local20 == true) && (!(_local3.rr === false)))) {
_local18 = Math.round(Number(_local18));
_local17 = Math.round(Number(_local17));
}
_local5._x = _local18;
_local5._y = _local17;
} else if (_local30 == "_frame") {
MovieClip(_local5).gotoAndStop(Math.ceil(_local6));
}
}
} else {
var _local16 = (_local9 == true) && ((_local3.cycles > 1) || (_local3.cycles == 0));
var _local7 = [];
for (var _local27 in _local3.ch) {
var _local4 = ((_local3.complex == 0) ? ([]) : ({}));
for (var _local28 in _local3.ch[_local27]) {
var _local8 = _local3.ch[_local27][_local28];
var _local11 = _local3.ps[_local27][_local28];
if (_local9 == true) {
_local4[_local28] = _local11 + _local8;
if (_local16 == true) {
_local3.ch[_local27][_local28] = -_local8;
}
} else {
_local4[_local28] = _local3.ef(now - _local3.ts, _local11, _local8, _local3.d, _local3.e1, _local3.e2);
}
if (_global.isNaN(_local4[_local28]) == false) {
if ((_local3.rr == true) || ((_local20 == true) && (!(_local3.rr === false)))) {
_local4[_local28] = Math.round(_local4[_local28]);
}
}
if ((_local3.fmp == -1) && (_local3.c == -1)) {
_local5[_local30][_local28] = _local4[_local28];
}
}
_local7.push(_local4);
if ((_local3.fmp == -1) && (_local3.c == 2)) {
_local5[_local30][_local27] = Number(((_local4.rb << 16) | (_local4.gb << 8)) | _local4.bb);
}
}
if (_local3.fmp != -1) {
if (_local3.c == 1) {
_local3.fmp.setFilterProp(_local5, _local30, ((_local7[0].rb << 16) | (_local7[0].gb << 8)) | _local7[0].bb);
} else if (_local3.c == 2) {
var _local19 = [];
for (var _local28 in _local7) {
_local19.unshift(((_local7[_local28].rb << 16) | (_local7[_local28].gb << 8)) | _local7[_local28].bb);
}
_local3.fmp.setFilterProp(_local5, _local30, _local19);
} else {
_local3.fmp.setFilterProp(_local5, _local30, _local7[0]);
}
} else if (_local3.c != -1) {
_local3.c.setTransform(_local7[0]);
}
if (_local16 == true) {
if (_local3.cycles > 1) {
_local3.cycles--;
}
_local9 = false;
_local3.ts = now;
_local3.ps = _local7;
}
}
if (_local3.sf == false) {
if (_local3.v != 0) {
_local5._visible = true;
}
if (_local21 == true) {
if (_local15[_local35] == undefined) {
_local15[_local35] = [_local5, []];
}
_local15[_local35][1].unshift(_local30);
}
_local3.sf = true;
}
if (_local3.scb.fired == false) {
_local22[String(_local3.scb.id)] = _local3.scb;
_local3.scb.fired = true;
}
if (_local21 == true) {
if (_local13[_local35] == undefined) {
_local13[_local35] = [_local5, []];
}
_local13[_local35][1].unshift(_local30);
}
if (_local3.ucb != undefined) {
_local24[String(_local3.ucb.id)] = _local3.ucb;
}
if (_local9 == true) {
if (_local3.v === -1) {
_local5._visible = false;
}
if (_local3.suppressEnd != true) {
if (_local21 == true) {
if (_local14[_local35] == undefined) {
_local14[_local35] = [_local5, []];
}
_local14[_local35][1].unshift(_local30);
}
if (_local3.ecb != undefined) {
_local23[String(_local3.ecb.id)] = _local3.ecb;
}
}
delete _local34[_local30];
if (_local30 == _local12.colorProp) {
delete _local12.colorProp;
}
_local12.numProps--;
if (_local12.numProps <= 0) {
_local26 = true;
}
}
delete _local3.suppressEnd;
}
}
for (var _local35 in _local15) {
_local15[_local35][0].broadcastMessage("onTweenStart", {target:_local15[_local35][0], props:_local15[_local35][1]});
}
for (var _local35 in _local22) {
_local22[_local35].f.apply(_local22[_local35].s, _local22[_local35].a);
}
for (var _local35 in _local13) {
_local13[_local35][0].broadcastMessage("onTweenUpdate", {target:_local13[_local35][0], props:_local13[_local35][1]});
}
for (var _local35 in _local24) {
_local24[_local35].f.apply(_local24[_local35].s, _local24[_local35].a);
}
for (var _local35 in _local14) {
_local14[_local35][0].broadcastMessage("onTweenEnd", {target:_local14[_local35][0], props:_local14[_local35][1]});
}
for (var _local35 in _local23) {
_local23[_local35].f.apply(_local23[_local35].s, _local23[_local35].a);
}
if (_local26) {
cleanUp();
}
now = getTimer();
}
function cleanUp(noInit) {
for (var _local4 in tweens) {
var _local2 = tweens[_local4].targ;
if ((tweens[_local4].numProps <= 0) || (_local2.__zigoID__ == undefined)) {
if ((((_local2 != undefined) && (_local2.tween == undefined)) && (noInit != true)) && (_local2._listeners.length <= 0)) {
com.mosesSupposes.fuse.ZigoEngine.deinitializeTargets(_local2);
}
delete tweens[_local4];
numTweens--;
}
}
if (numTweens <= 0) {
numTweens = 0;
delete tweens;
tweens = {};
if (noInit != true) {
com.mosesSupposes.fuse.ZigoEngine.__mgrRelay(this, "setup", [true]);
}
}
}
function paramsObj(targs, props, endvals, retainFade) {
var _local6 = {};
_local6.all = String(targs).toUpperCase() == com.mosesSupposes.fuse.FuseKitCommon.ALL;
_local6.none = Boolean(targs == null);
if (_local6.all == true) {
_local6.tg = [null];
} else {
_local6.tg = ((targs instanceof Array) ? (targs) : ([targs]));
for (var _local11 in _local6.tg) {
var _local7 = _local6.tg[_local11];
if ((_local7 == null) || (!((typeof(_local7) == "object") || (typeof(_local7) == "movieclip")))) {
_local6.tg.splice(Number(_local11), 1);
}
}
}
_local6.allprops = props == null;
var _local1;
var _local4;
var _local3 = {};
if (_local6.allprops == false) {
if ((typeof(props) == "string") && ((String(props).indexOf(" ") > -1) || (String(props).indexOf(",") > -1))) {
props = String(props.split(" ").join("")).split(",");
}
_local1 = ((props instanceof Array) ? (props.slice()) : ([props]));
if (endvals != undefined) {
if ((typeof(endvals) == "string") && ((String(endvals).indexOf(" ") > -1) || (String(endvals).indexOf(",") > -1))) {
endvals = String(endvals.split(" ").join("")).split(",");
}
_local4 = ((endvals instanceof Array) ? (endvals.slice()) : ([endvals]));
while (_local4.length < _local1.length) {
_local4.push(_local4[_local4.length - 1]);
}
_local4.splice(_local1.length, _local4.length - _local1.length);
}
for (var _local11 in _local1) {
var _local2 = Number(_local11);
if ((_local1[_local11] != "_scale") && (_local1[_local11] != "_size")) {
if (_local3[_local1[_local11]] == undefined) {
if ((_local1[_local11] == "_fade") && (retainFade != true)) {
_local1[_local11] = "_alpha";
}
if (String(_local1[_local11]).toUpperCase() == com.mosesSupposes.fuse.FuseKitCommon.ALLCOLOR) {
_local1[_local11] = com.mosesSupposes.fuse.FuseKitCommon.ALLCOLOR;
}
_local3[_local1[_local11]] = true;
} else {
_local1.splice(_local2, 1);
_local4.splice(_local2, 1);
}
continue;
}
var _local8 = String(_local1.splice(_local2, 1)[0]);
var _local5 = _local4.splice(_local2, 1)[0];
if (_local8 == "_scale") {
if (_local3._xscale == undefined) {
_local1.splice(_local2, 0, "_xscale");
_local4.splice(_local2, 0, _local5);
_local3._xscale = true;
_local2++;
}
if (_local3._yscale == undefined) {
_local1.splice(_local2, 0, "_yscale");
_local4.splice(_local2, 0, _local5);
_local3._yscale = true;
}
}
if (_local8 == "_size") {
if (_local3._width == undefined) {
_local1.splice(_local2, 0, "_width");
_local4.splice(_local2, 0, _local5);
_local3._width = true;
_local2++;
}
if (_local3._yscale == undefined) {
_local1.splice(_local2, 0, "_height");
_local4.splice(_local2, 0, _local5);
_local3._height = true;
}
}
}
for (var _local11 in _local1) {
if (((_local1[_local11] == "_xscale") && (_local3._width == true)) || ((_local1[_local11] == "_yscale") && (_local3._height == true))) {
_local1.splice(Number(_local11), 1);
_local4.splice(Number(_local11), 1);
delete _local3[_local1[_local11]];
}
}
}
_local6.pa = _local1;
_local6.va = _local4;
_local6.props = _local3;
return(_local6);
}
function getChangeObj(ps, ep, isFMP, useArray) {
var _local3 = {map:((useArray == true) ? ([]) : ({})), changed:false};
for (var _local7 in ep) {
if ((((((isFMP == true) && (_local7.charAt(1) == "b")) || (ep[_local7] != ps[_local7])) || (useArray == true)) && (ep[_local7] != null)) && (_global.isNaN(Number(ep[_local7])) == false)) {
_local3.map[_local7] = ((typeof(ep[_local7]) == "string") ? (Number(ep[_local7])) : (ep[_local7] - ps[_local7]));
if (_global.isNaN(_local3.map[_local7]) == true) {
_local3.map[_local7] = 0;
continue;
}
if (_local3.map[_local7] != 0) {
_local3.changed = true;
}
}
}
return(_local3);
}
var numTweens = 0;
}
Symbol 65 Button
on (release) {
getURL ("http://www.123mommy.com", "_blank");
}
on (rollOver) {
_root.voicebox.play();
}
Symbol 70 MovieClip [bag1] Frame 1
stop();
Symbol 74 MovieClip [bag2] Frame 1
stop();
Symbol 80 MovieClip [bag3] Frame 1
stop();
Symbol 85 MovieClip [bag4] Frame 1
stop();
Symbol 90 MovieClip [bag5] Frame 1
stop();
Symbol 93 MovieClip [bag6] Frame 1
stop();
Symbol 97 MovieClip [bag7] Frame 1
stop();
Symbol 101 MovieClip [bag8] Frame 1
stop();
Symbol 107 MovieClip [bo1.top1] Frame 1
stop();
Symbol 114 MovieClip [bo1.top2] Frame 1
stop();
Symbol 120 MovieClip [bo2.top1] Frame 1
stop();
Symbol 127 MovieClip [bo2.top2] Frame 1
stop();
Symbol 134 MovieClip [bo3.top1] Frame 1
stop();
Symbol 141 MovieClip [dr1.top1] Frame 1
stop();
Symbol 148 MovieClip [dr1.top2] Frame 1
stop();
Symbol 159 MovieClip [dr2.top1] Frame 1
stop();
Symbol 165 MovieClip [dr2.top2] Frame 1
stop();
Symbol 172 MovieClip [dr3.top1] Frame 1
stop();
Symbol 178 MovieClip [dr3.top2] Frame 1
stop();
Symbol 185 MovieClip [glass1] Frame 1
stop();
Instance of Symbol 183 MovieClip "sparker" in Symbol 185 MovieClip [glass1] Frame 3
onClipEvent (enterFrame) {
i = 0;
while (i < 1) {
temp = _parent.attachMovie("spark", "spark" + (random(100000) + i), random(100000) + i);
temp._x = (_x - 15) + random(30);
temp._y = _y + random(10);
i++;
}
}
Symbol 185 MovieClip [glass1] Frame 20
stop();
_parent.overg = 1;
gotoAndStop (1);
Symbol 190 MovieClip [glass2] Frame 1
stop();
Instance of Symbol 183 MovieClip "sparker" in Symbol 190 MovieClip [glass2] Frame 3
onClipEvent (enterFrame) {
i = 0;
while (i < 1) {
temp = _parent.attachMovie("spark", "spark" + (random(100000) + i), random(100000) + i);
temp._x = (_x - 15) + random(30);
temp._y = _y + random(10);
i++;
}
}
Symbol 190 MovieClip [glass2] Frame 20
stop();
_parent.overg = 1;
gotoAndStop (1);
Symbol 194 MovieClip [glass3] Frame 1
stop();
Instance of Symbol 183 MovieClip "sparker" in Symbol 194 MovieClip [glass3] Frame 3
onClipEvent (enterFrame) {
i = 0;
while (i < 1) {
temp = _parent.attachMovie("spark", "spark" + (random(100000) + i), random(100000) + i);
temp._x = (_x - 15) + random(30);
temp._y = _y + random(10);
i++;
}
}
Symbol 194 MovieClip [glass3] Frame 18
stop();
_parent.overg = 1;
gotoAndStop (1);
Symbol 198 MovieClip [glass4] Frame 1
stop();
Instance of Symbol 183 MovieClip "sparker" in Symbol 198 MovieClip [glass4] Frame 3
onClipEvent (enterFrame) {
i = 0;
while (i < 1) {
temp = _parent.attachMovie("spark", "spark" + (random(100000) + i), random(100000) + i);
temp._x = (_x - 15) + random(30);
temp._y = _y + random(10);
i++;
}
}
Symbol 198 MovieClip [glass4] Frame 21
stop();
_parent.overg = 1;
gotoAndStop (1);
Symbol 202 MovieClip [glass5] Frame 1
stop();
Instance of Symbol 183 MovieClip "sparker" in Symbol 202 MovieClip [glass5] Frame 3
onClipEvent (enterFrame) {
i = 0;
while (i < 1) {
temp = _parent.attachMovie("spark", "spark" + (random(100000) + i), random(100000) + i);
temp._x = (_x - 15) + random(30);
temp._y = _y + random(10);
i++;
}
}
Symbol 202 MovieClip [glass5] Frame 20
stop();
_parent.overg = 1;
gotoAndStop (1);
Symbol 206 MovieClip [glass6] Frame 1
stop();
Instance of Symbol 183 MovieClip "sparker" in Symbol 206 MovieClip [glass6] Frame 3
onClipEvent (enterFrame) {
i = 0;
while (i < 1) {
temp = _parent.attachMovie("spark", "spark" + (random(100000) + i), random(100000) + i);
temp._x = (_x - 15) + random(30);
temp._y = _y + random(10);
i++;
}
}
Symbol 206 MovieClip [glass6] Frame 20
stop();
_parent.overg = 1;
gotoAndStop (1);
Symbol 208 MovieClip [hair1] Frame 1
stop();
Symbol 210 MovieClip [hair2] Frame 1
stop();
Symbol 212 MovieClip [hair3] Frame 1
stop();
Symbol 214 MovieClip [hair4] Frame 1
stop();
Symbol 216 MovieClip [hair5] Frame 1
stop();
Symbol 218 MovieClip [hair6] Frame 1
stop();
Symbol 221 MovieClip [neck1] Frame 1
stop();
Instance of Symbol 183 MovieClip "sparker" in Symbol 221 MovieClip [neck1] Frame 3
onClipEvent (enterFrame) {
i = 0;
while (i < 1) {
temp = _parent.attachMovie("spark", "spark" + (random(100000) + i), random(100000) + i);
temp._x = (_x - 15) + random(30);
temp._y = _y + random(10);
i++;
}
}
Symbol 221 MovieClip [neck1] Frame 20
stop();
_parent.overn = 1;
gotoAndStop (1);
Symbol 224 MovieClip [neck2] Frame 1
stop();
Instance of Symbol 183 MovieClip "sparker" in Symbol 224 MovieClip [neck2] Frame 3
onClipEvent (enterFrame) {
i = 0;
while (i < 1) {
temp = _parent.attachMovie("spark", "spark" + (random(100000) + i), random(100000) + i);
temp._x = (_x - 15) + random(30);
temp._y = _y + random(10);
i++;
}
}
Symbol 224 MovieClip [neck2] Frame 22
stop();
_parent.overn = 1;
gotoAndStop (1);
Symbol 228 MovieClip [neck3] Frame 1
stop();
Symbol 228 MovieClip [neck3] Frame 15
stop();
_parent.overn = 1;
gotoAndStop (1);
Symbol 231 MovieClip [neck4] Frame 1
stop();
Instance of Symbol 183 MovieClip "sparker" in Symbol 231 MovieClip [neck4] Frame 3
onClipEvent (enterFrame) {
i = 0;
while (i < 1) {
temp = _parent.attachMovie("spark", "spark" + (random(100000) + i), random(100000) + i);
temp._x = (_x - 15) + random(30);
temp._y = _y + random(10);
i++;
}
}
Symbol 231 MovieClip [neck4] Frame 20
stop();
_parent.overn = 1;
gotoAndStop (1);
Symbol 236 MovieClip [neck5] Frame 1
stop();
Symbol 236 MovieClip [neck5] Frame 17
stop();
_parent.overn = 1;
gotoAndStop (1);
Symbol 241 MovieClip [neck6] Frame 1
stop();
Instance of Symbol 183 MovieClip "sparker" in Symbol 241 MovieClip [neck6] Frame 3
onClipEvent (enterFrame) {
i = 0;
while (i < 1) {
temp = _parent.attachMovie("spark", "spark" + (random(100000) + i), random(100000) + i);
temp._x = (_x - 15) + random(30);
temp._y = _y + random(10);
i++;
}
}
Symbol 241 MovieClip [neck6] Frame 20
stop();
_parent.overn = 1;
gotoAndStop (1);
Symbol 245 MovieClip [shoe1] Frame 1
stop();
Symbol 245 MovieClip [shoe1] Frame 2
stop();
Symbol 249 MovieClip [shoe2] Frame 1
stop();
Symbol 249 MovieClip [shoe2] Frame 2
stop();
Symbol 252 MovieClip [shoe3] Frame 1
stop();
Symbol 252 MovieClip [shoe3] Frame 2
stop();
Symbol 256 MovieClip [shoe4] Frame 1
stop();
Symbol 256 MovieClip [shoe4] Frame 2
stop();
Symbol 259 MovieClip [shoe5] Frame 1
stop();
Symbol 259 MovieClip [shoe5] Frame 2
stop();
Symbol 263 MovieClip [shoe6] Frame 1
stop();
Symbol 263 MovieClip [shoe6] Frame 2
stop();
Symbol 266 MovieClip [shoe7] Frame 1
stop();
Symbol 266 MovieClip [shoe7] Frame 2
stop();
Symbol 269 MovieClip [shoe8] Frame 1
stop();
Symbol 269 MovieClip [shoe8] Frame 2
stop();
Symbol 272 MovieClip [shoe9] Frame 1
stop();
Symbol 272 MovieClip [shoe9] Frame 2
stop();
Symbol 279 MovieClip [sk1.top1] Frame 1
stop();
Symbol 285 MovieClip [sk1.top2] Frame 1
stop();
Symbol 291 MovieClip [sk2.top1] Frame 1
stop();
Symbol 296 MovieClip [sk2.top2] Frame 1
stop();
Symbol 302 MovieClip [sk3.top1] Frame 1
stop();
Symbol 308 MovieClip [sk3.top2] Frame 1
stop();
Symbol 310 MovieClip [spark] Frame 1
if (random(10) < 4) {
if (_visible) {
_visible = false;
} else {
_visible = true;
}
}
Symbol 310 MovieClip [spark] Frame 2
if (random(10) < 4) {
if (_visible) {
_visible = false;
} else {
_visible = true;
}
}
Symbol 310 MovieClip [spark] Frame 3
if (random(10) < 4) {
if (_visible) {
_visible = false;
} else {
_visible = true;
}
}
Symbol 310 MovieClip [spark] Frame 4
if (random(10) < 4) {
if (_visible) {
_visible = false;
} else {
_visible = true;
}
}
Symbol 310 MovieClip [spark] Frame 5
if (random(10) < 4) {
if (_visible) {
_visible = false;
} else {
_visible = true;
}
}
Symbol 310 MovieClip [spark] Frame 6
if (random(10) < 4) {
if (_visible) {
_visible = false;
} else {
_visible = true;
}
}
Symbol 310 MovieClip [spark] Frame 7
if (random(10) < 4) {
if (_visible) {
_visible = false;
} else {
_visible = true;
}
}
Symbol 310 MovieClip [spark] Frame 8
if (random(10) < 4) {
if (_visible) {
_visible = false;
} else {
_visible = true;
}
}
Symbol 310 MovieClip [spark] Frame 9
if (random(10) < 4) {
if (_visible) {
_visible = false;
} else {
_visible = true;
}
}
Symbol 310 MovieClip [spark] Frame 10
if (random(10) < 4) {
if (_visible) {
_visible = false;
} else {
_visible = true;
}
}
Symbol 310 MovieClip [spark] Frame 11
if (random(10) < 4) {
if (_visible) {
_visible = false;
} else {
_visible = true;
}
}
Symbol 310 MovieClip [spark] Frame 12
if (random(10) < 4) {
if (_visible) {
_visible = false;
} else {
_visible = true;
}
}
Symbol 310 MovieClip [spark] Frame 13
if (random(10) < 4) {
if (_visible) {
_visible = false;
} else {
_visible = true;
}
}
Symbol 310 MovieClip [spark] Frame 14
if (random(10) < 4) {
if (_visible) {
_visible = false;
} else {
_visible = true;
}
}
Symbol 310 MovieClip [spark] Frame 15
if (random(10) < 4) {
if (_visible) {
_visible = false;
} else {
_visible = true;
}
}
Symbol 310 MovieClip [spark] Frame 16
if (random(10) < 4) {
if (_visible) {
_visible = false;
} else {
_visible = true;
}
}
Symbol 310 MovieClip [spark] Frame 17
if (random(10) < 4) {
if (_visible) {
_visible = false;
} else {
_visible = true;
}
}
Symbol 310 MovieClip [spark] Frame 18
if (random(10) < 4) {
if (_visible) {
_visible = false;
} else {
_visible = true;
}
}
Symbol 310 MovieClip [spark] Frame 19
if (random(10) < 4) {
if (_visible) {
_visible = false;
} else {
_visible = true;
}
}
Symbol 310 MovieClip [spark] Frame 20
if (random(10) < 4) {
if (_visible) {
_visible = false;
} else {
_visible = true;
}
}
Symbol 310 MovieClip [spark] Frame 21
if (random(10) < 4) {
if (_visible) {
_visible = false;
} else {
_visible = true;
}
}
Symbol 310 MovieClip [spark] Frame 22
if (random(10) < 4) {
if (_visible) {
_visible = false;
} else {
_visible = true;
}
}
Symbol 310 MovieClip [spark] Frame 23
if (random(10) < 4) {
if (_visible) {
_visible = false;
} else {
_visible = true;
}
}
Symbol 310 MovieClip [spark] Frame 24
stop();
removeMovieClip(this);
Symbol 316 MovieClip [to1.top1] Frame 1
stop();
Symbol 322 MovieClip [to1.top2] Frame 1
stop();
Symbol 328 MovieClip [to2.top1] Frame 1
stop();
Symbol 334 MovieClip [to2.top2] Frame 1
stop();
Symbol 340 MovieClip [to3.top1] Frame 1
stop();
Symbol 345 MovieClip [to3.top2] Frame 1
stop();
Symbol 346 MovieClip Frame 1
stop();
Symbol 373 Button
on (release) {
_root.gotoAndStop(4);
}
Symbol 376 Button
on (release) {
_root.getURL("http://www.girlgamesclub.com", "_blank");
}
Symbol 377 MovieClip Frame 55
stop();
Symbol 379 Button
on (release) {
_root.getURL("http://www.girlgamesclub.com", "_blank");
}
Symbol 431 MovieClip Frame 1
stop();
Symbol 431 MovieClip Frame 6
stop();
Symbol 431 MovieClip Frame 17
stop();
Symbol 457 Button
on (release) {
_root.getURL("http://www.girlgamesclub.com", "_blank");
}
Symbol 460 MovieClip Frame 1
if (_root.nomore) {
stop();
}
Symbol 460 MovieClip Frame 2
stop();
_root.nomore = true;
Symbol 463 MovieClip Frame 1
stop();
Symbol 500 MovieClip Frame 16
stop();
Symbol 508 Button
on (release) {
_root.sound_pop.play();
getURL ("http://www.girlgamesclub.com/exclusive_games.html", "_blank");
}
on (rollOver) {
_root.sound_pop.play();
}
Symbol 513 Button
on (release) {
_root.saves();
}
Symbol 516 Button
on (release) {
_root.gotoAndStop("#p");
}
Symbol 518 Button
on (release) {
_root.cbcb._visible = false;
_root.continue_go = 1;
_root.sound_menu.gotoAndPlay("stop");
_root.gotoAndPlay("game");
}
Symbol 520 Button
on (release) {
mc_dress2.removeMovieClip();
mc_bot2.removeMovieClip();
mc_shoe2.removeMovieClip();
mc_hair2.removeMovieClip();
mc_bag2.removeMovieClip();
mc_hat2.removeMovieClip();
mc_glass2.removeMovieClip();
mc_ear2.removeMovieClip();
mc_neck2.removeMovieClip();
ticks.removeMovieClip();
co = 0;
firs = 0;
res = 1;
gotoAndPlay ("game");
continued = 1;
}