Frame 2
ifFrameLoaded (91) {
bumperPlay = "1";
}
if (bumperPlay <> "1") {
gotoAndPlay (1);
}
Frame 91
stop();
Frame 93
stopAllSounds();
Frame 687
tellTarget ("bpic") {
gotoAndStop (1);
};
tellTarget ("/ball00/ball01GR") {
gotoAndStop (1);
};
Set("/:xs", "100");
Set("/:ys", "100");
Set("/:speed", "0.9");
Set("/:friction", "0.99");
Set("/:pgravity", "-4");
Set("/:horz", "234");
Set("/:ballrad", "30");
Set("/:xskid", "0.1");
Set("/:yskid", "0.1");
Set("/:zskid", "0.1");
Set("/:wallskid", "0.4");
Set("/:vdist", "150");
Set("/:maxx", "450");
Set("/:maxy", "300");
Set("/:maxz", "500" - /:ballrad);
Set("/:wallmax", /:maxx);
Set("/:wallmin", /:maxx * "-1");
Set("/:wallwid", /:wallmax - /:wallmin);
Set("/:endshot", "0");
Set("/:totGifts", "0");
i = "0";
while (i < "5") {
tellTarget ("/gift" add i) {
gotoAndStop (10);
};
i = i + "1";
}
tellTarget ("/gift3") {
gotoAndStop (10);
};
tellTarget ("/gift4") {
gotoAndStop (10);
};
play();
Frame 688
i = "0";
while (i < "5") {
tellTarget ("/gift" add i) {
gotoAndStop (10);
};
i = i + "1";
}
gotoAndPlay (694);
Frame 694
Set("/:roundflag", "0");
Set("/:bottleNum", "0");
gotoAndPlay (701);
Frame 701
Set("/:endflag", "0");
Set("/:bcount", "5");
Set("/:curball", "/ball");
Set("/:shooting", "false");
Set("/:ballx", "0");
Set("/:bally", "35");
Set("/:ballz", /:vdist);
duplicateMovieClip ("/ball00", "ball", 40);
tellTarget ("/ball/ball01GR") {
gotoAndStop ("stopball");
};
Set("/:zspeed", "10");
Set("/:crossNum", random("5"));
Set("/:crInitX0", "-20");
Set("/:crInitY0", "0");
Set("/:crInitZ0", "180");
Set("/:crInitRot0", "-45");
Set("/:crInitXSpeed0", "5");
Set("/:crInitYSpeed0", "0");
Set("/:crInitRotSpeed0", "5");
Set("/:crInitMaxCount0", "15");
Set("/:crInitX1", "-150");
Set("/:crInitY1", "20");
Set("/:crInitZ1", "220");
Set("/:crInitRot1", "-25");
Set("/:crInitXSpeed1", "10");
Set("/:crInitYSpeed1", "0");
Set("/:crInitRotSpeed1", "2");
Set("/:crInitMaxCount1", "25");
Set("/:crInitX2", "0");
Set("/:crInitY2", "400");
Set("/:crInitZ2", "160");
Set("/:crInitRot2", "-190");
Set("/:crInitXSpeed2", "0");
Set("/:crInitYSpeed2", "0");
Set("/:crInitRotSpeed2", "2");
Set("/:crInitMaxCount2", "10");
Set("/:crInitX3", "0");
Set("/:crInitY3", "-30");
Set("/:crInitZ3", "200");
Set("/:crInitRot3", "-90");
Set("/:crInitXSpeed3", "0");
Set("/:crInitYSpeed3", "0");
Set("/:crInitRotSpeed3", "6");
Set("/:crInitMaxCount3", "28");
Set("/:crInitX4", "190");
Set("/:crInitY4", "120");
Set("/:crInitZ4", "150");
Set("/:crInitRot4", "-90");
Set("/:crInitXSpeed4", "0");
Set("/:crInitYSpeed4", "0");
Set("/:crInitRotSpeed4", "0");
Set("/:crInitMaxCount4", "10");
gotoAndPlay (707);
Frame 707
Set("/:santaX", eval ("/:crInitX" add /:crossNum));
Set("/:santaY", eval ("/:crInitY" add /:crossNum));
Set("/:santaZ", eval ("/:crInitZ" add /:crossNum));
Set("/:santaRot", eval ("/:crInitRot" add /:crossNum));
Set("/:santaSpeedX", eval ("/:crInitXSpeed" add /:crossNum));
Set("/:santaSpeedY", eval ("/:crInitYSpeed" add /:crossNum));
Set("/:santaSpeedRot", eval ("/:crInitRotSpeed" add /:crossNum));
Set("/:maxCount", eval ("/:crInitMaxCount" add /:crossNum));
Set("/:gonnaBreak", "false");
duplicateMovieClip ("/counterTop", "counter", 38);
setProperty("/counter", _x , "0");
setProperty("/counter", _y , "0");
duplicateMovieClip ("/santaOrg", "santa", 35);
call("santaCalc");
if ((/:crossNum == "4") or (/:crossNum == "2")) {
tellTarget ("/santa") {
gotoAndStop (2);
};
}
Set("/:i", "0");
while (/:maxCount >= /:i) {
call("santaPreCalc");
Set("/:i", /:i + "1");
}
Set("/:count", "1");
Set("/:countDir", "1");
call("targinit");
Set("/:txBottleNum", /:bottleNum);
gotoAndPlay (715);
Frame 715
stop();
Frame 722
tellTarget ("/ball00/ball01BT") {
gotoAndStop ("ball01rel");
};
removeMovieClip(/:curball);
tellTarget ("/santa") {
gotoAndStop (3);
};
play();
Frame 727
tellTarget ("/gift" add (/:totGifts - "1")) {
gotoAndStop(/:totGifts);
};
Frame 732
removeMovieClip(/:santa);
if ((/:bottleNum == "10") or (/:totGifts == "5")) {
gotoAndStop (734);
} else {
gotoAndPlay (701);
}
Set("/:endshot", "0");
Set("/:txStatus", "");
Frame 734
removeMovieClip("/counter");
stopAllSounds();
if ("1" < /:totGifts) {
gotoAndStop (776);
} else {
gotoAndStop (768);
}
Frame 740
obj_z0 = "-999";
obj_z1 = "150";
obj_z2 = eval ("/:crInitZ" add /:crossNum);
obj_z3 = "270";
obj_z4 = "999";
Set("/:zonenum_z", "4");
obj_x0 = "-999";
obj_x1 = "-300";
obj_x2 = "450";
obj_x3 = "999";
Set("/:zonenum_x", "3");
obj_y0 = "-999";
obj_y1 = "0";
obj_y2 = "5000";
Set("/:zonenum_y", "2");
Frame 747
setProperty("/santa", _x , eval ("/:xpos" add /:count));
setProperty("/santa", _y , eval ("/:ypos" add /:count));
setProperty("/santa", _xscale , eval ("/:tmpscale" add /:count) * "100");
setProperty("/santa", _yscale , eval ("/:tmpscale" add /:count) * "100");
setProperty("/santa", _rotation , eval ("/:santaRot" add /:count));
Frame 756
tmpscale = /:vdist / /:santaZ;
Set("/:tmpscale" add i, tmpscale);
Set("/:xpos" add /:i, (/:santaX * tmpscale) + (/:maxx / "2"));
Set("/:ypos" add /:i, (/:maxy - (/:santaY * tmpscale)) - (/:horz - (/:horz * tmpscale)));
Set("/:xposRaw" add /:i, /:santaX);
Set("/:yposRaw" add /:i, /:santaY);
Set("/:santaRot" add /:i, /:santaRot + /:santaSpeedRot);
Set("/:santaRot", /:santaRot + /:santaSpeedRot);
Set("/:santaX", /:santaX + /:santaSpeedX);
Set("/:santaY", /:santaY + /:santaSpeedY);
Frame 768
stop();
Frame 776
stop();
Frame 784
Set("/:targDropY", getProperty("/targDrop0", _y));
Set("/:targDropX0", getProperty("/targDrop0", _x));
Set("/:targDropX1", getProperty("/targDrop1", _x));
Set("/:targDropX2", getProperty("/targDrop2", _x));
Set("/:targDropX3", getProperty("/targDrop3", _x));
Set("/:targDropX4", getProperty("/targDrop4", _x));
Set("/:numPerson", "5");
Set("/:animSteps", "6");
Set("/:i", "0");
while (/:i < /:numPerson) {
if (/:i < /:totGifts) {
tellTarget ("/gift" add /:i) {
gotoAndStop(/:i + "1");
};
} else {
tellTarget ("/gift" add /:i) {
gotoAndStop (10);
};
tellTarget ("/btGift" add /:i) {
gotoAndStop (2);
};
}
setProperty("/gift" add /:i, _x , getProperty("/shelfSlot" add /:i, _x));
setProperty("/gift" add /:i, _y , getProperty("/shelfSlot" add /:i, _y));
Set(("giftSlot" add /:i) add "/:full", "false");
Set(("shelfSlot" add /:i) add "/:full", "true");
Set("/:i", /:i + "1");
}
Set("/:happyGifts", "0");
Set("/:hint0", "Something sure to be a perfect fit.");
Set("/:hint1", "A soothing little something...");
Set("/:hint2", "Knowledge is never a pain in the ass.");
Set("/:hint3", "Sure to trigger lots of joy!");
Set("/:hint4", "Give the gift of happiness!");
stop();
Frame 787
stopAllSounds();
Frame 793
Set("/:i", "0");
while (/:i < /:numPerson) {
tellTarget ("/giftItem" add /:i) {
gotoAndStop (6);
};
if (/:i < /:totGifts) {
tellTarget ("/gift" add /:i) {
gotoAndStop(/:i + "1");
};
} else {
tellTarget ("/gift" add /:i) {
gotoAndStop (10);
};
}
Set("/:i", /:i + "1");
}
Set("/:i", "0");
while (/:i < /:numPerson) {
if (eval ("/:person" add /:i) <> "-99") {
setProperty("/gift" add eval ("/:person" add /:i), _x , getProperty("/giftSlot" add /:i, _x));
setProperty("/gift" add eval ("/:person" add /:i), _y , getProperty("/giftSlot" add /:i, _y));
} else {
setProperty("/gift" add eval ("/:person" add /:i), _x , getProperty("/shelfSlot" add /:i, _x));
setProperty("/gift" add eval ("/:person" add /:i), _y , getProperty("/shelfSlot" add /:i, _y));
}
Set("/:i", /:i + "1");
}
if (eval ("/:person" add /:personCount) <> "-99") {
tempName = eval ("/:person" add /:personCount);
trace("tn: " add tempName);
Set("/:txHint", eval ("/:hint" add tempName));
} else {
Set("/:txHint", "Sorry, I didn't get you anything...");
}
Set("/:i", "0");
while (/:i < /:personCount) {
if (eval ("/:person" add /:i) <> "-99") {
trace("open" add /:i);
tellTarget ("/giftItem" add /:i) {
gotoAndStop(eval ("/:person" add /:i) + "1");
};
tellTarget ("/gift" add eval ("/:person" add /:i)) {
gotoAndStop (10);
};
tellTarget ("/perIcon" add /:i) {
gotoAndStop(eval ("/:personHappy" add /:i));
};
}
Set("/:i", /:i + "1");
}
play();
Frame 794
tellTarget ("dragToBox" add /:personCount) {
gotoAndStop (2);
};
Frame 796
tellTarget ("dragToBox" add /:personCount) {
gotoAndStop (1);
};
Frame 798
tellTarget ("dragToBox" add /:personCount) {
gotoAndStop (2);
};
Frame 800
tellTarget ("dragToBox" add /:personCount) {
gotoAndStop (1);
};
Frame 802
tellTarget ("dragToBox" add /:personCount) {
gotoAndStop (2);
};
Frame 804
tellTarget ("dragToBox" add /:personCount) {
gotoAndStop (1);
};
Frame 806
tellTarget ("dragToBox" add /:personCount) {
gotoAndStop (2);
};
Frame 808
tellTarget ("dragToBox" add /:personCount) {
gotoAndStop (1);
};
Frame 810
tellTarget ("dragToBox" add /:personCount) {
gotoAndStop (2);
};
Frame 812
tellTarget ("dragToBox" add /:personCount) {
gotoAndStop (1);
};
Frame 814
tellTarget ("dragToBox" add /:personCount) {
gotoAndStop (2);
};
Frame 816
gotoAndStop("jmp" add /:personCount);
Frame 817
if (/:person0 == "-99") {
gotoAndPlay (839);
} else {
if (((/:person0 == "0") or (/:person0 == "1")) or (/:person0 == "4")) {
Set("/:giftReact", "mama03");
Set("/:personHappy0", "2");
Set("/:happyGifts", /:happyGifts + "1");
} else {
Set("/:giftReact", "mama04");
Set("/:personHappy0", "3");
}
Set("/:openGift", ("gift" add /:person0) add "f");
gotoAndPlay (928);
}
Frame 818
if (/:person1 == "-99") {
gotoAndPlay (1038);
} else {
if (((/:person1 == "1") or (/:person1 == "2")) or (/:person1 == "3")) {
Set("/:giftReact", "boss03");
Set("/:personHappy1", "2");
Set("/:happyGifts", /:happyGifts + "1");
} else {
Set("/:giftReact", "boss04");
Set("/:personHappy1", "3");
}
Set("/:openGift", ("gift" add /:person1) add "m");
gotoAndPlay (1091);
}
Frame 819
if (/:person2 == "-99") {
gotoAndPlay (1201);
} else {
if ((/:person2 == "3") or (/:person2 == "4")) {
Set("/:giftReact", "best03");
Set("/:personHappy2", "2");
Set("/:happyGifts", /:happyGifts + "1");
} else {
Set("/:giftReact", "best04");
Set("/:personHappy2", "3");
}
Set("/:openGift", ("gift" add /:person2) add "m");
gotoAndPlay (1274);
}
Frame 820
if (/:person3 == "-99") {
gotoAndPlay (1369);
} else {
if (((/:person3 == "0") or (/:person3 == "2")) or (/:person3 == "4")) {
Set("/:giftReact", "girl03");
Set("/:personHappy3", "2");
Set("/:happyGifts", /:happyGifts + "1");
} else {
Set("/:giftReact", "girl04");
Set("/:personHappy3", "3");
}
Set("/:openGift", ("gift" add /:person3) add "f");
gotoAndPlay (1436);
}
Frame 821
if (/:person4 == "-99") {
Set("/:happyGifts", /:happyGifts + "1");
gotoAndPlay (1523);
} else {
Set("/:giftReact", "dog03");
Set("/:openGift", ("gift" add /:person4) add "m");
Set("/:happyGifts", /:happyGifts + "1");
gotoAndPlay (1577);
}
Frame 824
Set("/:personCount", /:personCount + "1");
if (/:personCount >= /:numPerson) {
if (/:happyGifts >= /:numPerson) {
gotoAndPlay (2776);
} else {
gotoAndPlay (2997);
}
} else {
gotoAndPlay (793);
}
Frame 922
gotoAndPlay (824);
Frame 928
tellTarget ("/mvGift") {
gotoAndStop(/:person0 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (1);
};
Frame 946
tellTarget ("/mvGift") {
gotoAndStop(/:person0 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (1);
};
Frame 947
tellTarget ("/mvGift") {
gotoAndStop(/:person0 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (1);
};
Frame 961
tellTarget ("/mvGift") {
gotoAndStop(/:person0 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (1);
};
Frame 967
tellTarget ("/mvGift") {
gotoAndStop(/:person0 + "1");
};
Frame 983
tellTarget ("/mvGift") {
gotoAndStop(/:person0 + "1");
};
Frame 996
tellTarget ("/mvGift") {
gotoAndStop(/:person0 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (1);
};
Frame 997
tellTarget ("/mvGift") {
gotoAndStop(/:person0 + "1");
};
Frame 1001
tellTarget ("/mvGift") {
gotoAndStop(/:person0 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndPlay (2);
};
Frame 1022
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (27);
};
Frame 1032
gotoAndStop (1661);
Frame 1085
gotoAndPlay (824);
Frame 1091
tellTarget ("/mvGift") {
gotoAndStop(/:person1 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (1);
};
Frame 1097
tellTarget ("/mvGift") {
gotoAndStop(/:person1 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (3);
};
Frame 1103
tellTarget ("/mvGift") {
gotoAndStop(/:person1 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (1);
};
Frame 1137
tellTarget ("/mvGift") {
gotoAndStop(/:person1 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (2);
};
Frame 1155
tellTarget ("/mvGift") {
gotoAndStop(/:person1 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (1);
};
Frame 1162
tellTarget ("/mvGift") {
gotoAndStop(/:person1 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (2);
};
Frame 1169
tellTarget ("/mvGift") {
gotoAndStop(/:person1 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (1);
};
Frame 1170
tellTarget ("/mvGift") {
gotoAndStop(/:person1 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (1);
};
Frame 1172
tellTarget ("/mvGift") {
gotoAndStop(/:person1 + "1");
};
Frame 1173
tellTarget ("/mvGift/mvGiftInner") {
gotoAndPlay (2);
};
Frame 1184
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (25);
};
Frame 1185
tellTarget ("/mvGift") {
gotoAndStop(/:person1 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (27);
};
Frame 1195
gotoAndStop (1661);
Frame 1268
gotoAndPlay (824);
Frame 1274
tellTarget ("/mvGift") {
gotoAndStop(/:person2 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (1);
};
Frame 1281
tellTarget ("/mvGift") {
gotoAndStop(/:person2 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (3);
};
Frame 1287
tellTarget ("/mvGift") {
gotoAndStop(/:person2 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (1);
};
Frame 1329
tellTarget ("/mvGift") {
gotoAndStop(/:person2 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (1);
};
Frame 1336
tellTarget ("/mvGift") {
gotoAndStop(/:person2 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (1);
};
Frame 1338
tellTarget ("/mvGift") {
gotoAndStop(/:person2 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndPlay (2);
};
Frame 1357
tellTarget ("/mvGift") {
gotoAndStop(/:person2 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (25);
};
Frame 1362
gotoAndStop (1661);
Frame 1429
gotoAndPlay (824);
Frame 1446
tellTarget ("/mvGift") {
gotoAndStop(/:person3 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (3);
};
Frame 1456
tellTarget ("/mvGift") {
gotoAndStop(/:person3 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (1);
};
Frame 1480
tellTarget ("/mvGift") {
gotoAndStop(/:person3 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (1);
};
Frame 1493
tellTarget ("/mvGift") {
gotoAndStop(/:person3 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndPlay (2);
};
Frame 1494
tellTarget ("/mvGift") {
gotoAndStop(/:person3 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndPlay (3);
};
Frame 1513
tellTarget ("/mvGift") {
gotoAndStop(/:person3 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (25);
};
Frame 1517
gotoAndStop (1661);
Frame 1571
gotoAndPlay (824);
Frame 1577
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (1);
};
Frame 1597
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1598
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1599
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1600
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1601
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1602
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1603
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1604
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1609
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1610
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1611
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1612
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1613
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1614
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1615
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1616
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1627
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1628
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1629
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1630
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1631
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1632
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1633
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1634
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1635
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1636
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1637
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1638
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1639
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1640
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1641
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1642
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1643
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1644
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1645
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1646
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1647
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1648
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1649
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
Frame 1654
gotoAndPlay (824);
Frame 1661
gotoAndPlay (1662);
Frame 1662
gotoAndPlay(/:openGift);
Frame 1721
gotoAndPlay (2295);
Frame 1789
gotoAndPlay (2295);
Frame 1851
gotoAndPlay (2295);
Frame 1940
gotoAndPlay (2295);
Frame 2032
gotoAndPlay (2295);
Frame 2126
gotoAndPlay (2295);
Frame 2196
gotoAndPlay (2295);
Frame 2288
gotoAndPlay (2295);
Frame 2295
gotoAndPlay(/:giftReact);
Frame 2297
tellTarget ("/mvGift") {
gotoAndStop(/:person0 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (27);
};
tellTarget ("/giftAll") {
gotoAndStop(/:person0 + "1");
};
Frame 2324
gotoAndPlay (824);
Frame 2332
tellTarget ("/mvGift") {
gotoAndStop(/:person0 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (27);
};
tellTarget ("/giftAll") {
gotoAndStop(/:person0 + "1");
};
Frame 2344
tellTarget ("/mvGift") {
gotoAndStop(/:person0 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (27);
};
Frame 2346
tellTarget ("/mvGift") {
gotoAndStop(/:person0 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (27);
};
Frame 2365
gotoAndPlay (824);
Frame 2373
tellTarget ("/mvGift") {
gotoAndStop(/:person1 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (27);
};
tellTarget ("/giftAll") {
gotoAndStop(/:person1 + "1");
};
Frame 2420
gotoAndPlay (824);
Frame 2427
tellTarget ("/mvGift") {
gotoAndStop(/:person1 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (27);
};
tellTarget ("/giftAll") {
gotoAndStop(/:person1 + "1");
};
Frame 2497
gotoAndPlay (824);
Frame 2504
tellTarget ("/mvGift") {
gotoAndStop(/:person2 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (27);
};
Frame 2531
tellTarget ("/giftAll") {
gotoAndStop(/:person2 + "1");
};
Frame 2532
tellTarget ("/giftAll") {
gotoAndStop(/:person2 + "1");
};
Frame 2537
tellTarget ("/giftAll") {
gotoAndStop(/:person2 + "1");
};
Frame 2538
tellTarget ("/giftAll") {
gotoAndStop(/:person2 + "1");
};
Frame 2539
tellTarget ("/giftAll") {
gotoAndStop(/:person2 + "1");
};
Frame 2540
tellTarget ("/giftAll") {
gotoAndStop(/:person2 + "1");
};
Frame 2551
tellTarget ("/giftAll") {
gotoAndStop(/:person2 + "1");
};
Frame 2558
gotoAndPlay (824);
Frame 2565
tellTarget ("/mvGift") {
gotoAndStop(/:person2 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (27);
};
tellTarget ("/giftAll") {
gotoAndStop(/:person2 + "1");
};
Frame 2631
gotoAndPlay (824);
Frame 2638
tellTarget ("/mvGift") {
gotoAndStop(/:person3 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (27);
};
tellTarget ("/giftAll") {
gotoAndStop(/:person3 + "1");
};
Frame 2702
gotoAndPlay (824);
Frame 2709
tellTarget ("/mvGift") {
gotoAndStop(/:person3 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (27);
};
tellTarget ("/giftAll") {
gotoAndStop(/:person3 + "1");
};
Frame 2762
gotoAndPlay (824);
Frame 2769
tellTarget ("/mvGift") {
gotoAndStop(/:person4 + "1");
};
tellTarget ("/mvGift/mvGiftInner") {
gotoAndStop (27);
};
tellTarget ("/giftAll") {
gotoAndStop(/:person4 + "1");
};
Frame 2770
gotoAndPlay (824);
Frame 2993
gotoAndPlay (3212);
Frame 3248
stop();
Symbol 7 Button
on (release) {
tellTarget ("../") {
gotoAndPlay ("done");
};
}
Symbol 8 MovieClip Frame 1
amtToPreload = "60";
loadedPct = (getProperty("/", _framesloaded) / getProperty("/", _totalframes)) * "100";
preloadPct = int(((loadedPct / amtToPreload) * "100") + "0.5");
if (preloadPct >= "100") {
preloadPct = "100";
gotoAndStop (5);
}
load = ("LOADING " add preloadPct) add "%";
Symbol 8 MovieClip Frame 2
gotoAndPlay (1);
Symbol 185 Button
on (press) {
startDrag (_target);
Set("/:endshot", "3");
}
Symbol 197 MovieClip Frame 5
stop();
Symbol 198 MovieClip Frame 1
stop();
Symbol 198 MovieClip Frame 2
stop();
Symbol 198 MovieClip Frame 3
stop();
Symbol 199 Button
on (press) {
startDrag (/:curball add "/ball01BT");
gotoAndStop (3);
}
on (release) {
stopDrag();
setProperty(/:curball, _x , getProperty(/:curball, _x) + getProperty(/:curball add "/ball01GR", _x));
setProperty(/:curball, _y , getProperty(/:curball, _y) + getProperty(/:curball add "/ball01GR", _y));
setProperty(/:curball add "/ball01GR", _x , "0");
setProperty(/:curball add "/ball01GR", _y , "0");
setProperty(/:curball add "/ball01GR", _x , "0");
setProperty(/:curball add "/ball01GR", _y , "0");
Set("/:gravity", /:pgravity);
Set("/:xspeed", /:xspeed * "2");
if ("20" < /:xspeed) {
Set("/:xspeed", "20");
}
if (/:xspeed < "-20") {
Set("/:xspeed", "-20");
}
if ("0" < /:xspeed) {
Set("/:xdir", "1");
} else {
Set("/:xspeed", /:xspeed * "-1");
Set("/:xdir", "-1");
}
Set("/:ballx", getProperty(/:curball, _x) - (/:maxx / "2"));
i = "0";
while (i < /:zonenum_x) {
if (eval ("/:obj_x" add i) < /:ballx) {
Set("/:zonex", i);
}
i = i + "1";
}
Set("/:yspeed", (/:yspeed * "-0.5") * (/:wallwid / /:maxx));
Set("/:yspeed", "45");
Set("/:bally", /:maxy - getProperty(/:curball, _y));
Set("/:zoney", "0");
i = "0";
while (i < /:zonenum_y) {
if (eval ("/:obj_y" add i) < /:bally) {
Set("/:zoney", i);
}
i = i + "1";
}
Set("/:ydir", (("0" < /:ydir) * "2") - "1");
Set("/:zonez", "0");
Set("/:zdir", "1");
Set("/:xflag", "u");
Set("/:yflag", "u");
Set("/:zflag", "u");
call("createCrossTarg");
duplicateMovieClip ("/bpic", "bpic_dup", 55);
setProperty("/bpic_dup", _x , getProperty(/:curball, _x));
setProperty("/bpic_dup", _y , getProperty(/:curball, _y));
setProperty("/bpic_dup", _xscale , getProperty(/:curball, _xscale));
setProperty("/bpic_dup", _yscale , getProperty(/:curball, _yscale));
tellTarget ("/bpic_dup") {
gotoAndStop ("botSpin");
};
tellTarget ("/ball00/ball01BT") {
gotoAndPlay ("ball01throwit");
};
}
Symbol 200 MovieClip Frame 1
oldx = getProperty(/:curball add "/ball01GR", _x);
oldy = getProperty(/:curball add "/ball01GR", _y);
newx = getProperty(/:curball add "/ball01BT", _x);
newy = getProperty(/:curball add "/ball01BT", _y);
xdif = newx - oldx;
Set("/:moveX", xdif);
ydif = newy - oldy;
if ("16" < (xdif * xdif)) {
Set("/:xspeed", (xdif * /:speed) + ("1" / (xdif / "12")));
} else {
Set("/:xspeed", xdif);
}
if ("16" < (ydif * ydif)) {
Set("/:yspeed", (ydif * /:speed) + ("1" / (ydif / "12")));
} else {
Set("/:yspeed", ydif);
}
setProperty(/:curball add "/ball01GR", _x , oldx + /:xspeed);
setProperty(/:curball add "/ball01GR", _y , oldy + /:yspeed);
setProperty(/:curball add "/ball01GR", _xscale , /:xs);
setProperty(/:curball add "/ball01GR", _yscale , /:ys);
Symbol 200 MovieClip Frame 2
oldx = getProperty(/:curball add "/ball01GR", _x);
oldy = getProperty(/:curball add "/ball01GR", _y);
newx = getProperty(/:curball add "/ball01BT", _x);
newy = getProperty(/:curball add "/ball01BT", _y);
xdif = newx - oldx;
ydif = newy - oldy;
if ("16" < (xdif * xdif)) {
Set("/:xspeed", (xdif * /:speed) + ("1" / (xdif / "12")));
} else {
Set("/:xspeed", xdif);
}
if ("16" < (ydif * ydif)) {
Set("/:yspeed", (ydif * /:speed) + ("1" / (ydif / "12")));
} else {
Set("/:yspeed", ydif);
}
setProperty(/:curball add "/ball01GR", _x , oldx + /:xspeed);
setProperty(/:curball add "/ball01GR", _y , oldy + /:yspeed);
setProperty(/:curball add "/ball01GR", _xscale , /:xs);
setProperty(/:curball add "/ball01GR", _yscale , /:ys);
Symbol 203 MovieClip Frame 1
stop();
Symbol 203 MovieClip Frame 9
gotoAndStop (1);
Symbol 203 MovieClip Frame 12
stop();
Symbol 203 MovieClip Frame 22
gotoAndStop (1);
Symbol 203 MovieClip Frame 24
stop();
Symbol 203 MovieClip Frame 32
gotoAndStop (1);
Symbol 203 MovieClip Frame 33
stop();
Symbol 203 MovieClip Frame 40
gotoAndStop (1);
Symbol 204 MovieClip Frame 1
call("/ball00/:calc_XYZ");
call("chk_targ0");
call("/ball00/:set_ball");
Symbol 204 MovieClip Frame 2
gotoAndPlay (1);
Symbol 204 MovieClip Frame 7
Set("/:lev", "0");
call("set_zones");
call(("znz_" add /:zflag) add (/:zdir + "1"));
call(("znx_" add /:xflag) add (/:xdir + "1"));
call(("zny_" add /:yflag) add (/:ydir + "1"));
Set("/:zonex", /:zonex + xch);
Set("/:zoney", /:zoney + ych);
Set("/:zonez", /:zonez + zch);
xch = "0";
ych = "0";
zch = "0";
Symbol 204 MovieClip Frame 16
Set("/:xflag", "u");
diradd = "0" < /:xdir;
Set("/:xbnd", eval ("/:obj_x" add (/:zonex + diradd)));
if ("0" < ((/:ballx - /:xbnd) * /:xdir)) {
Set("/:zonex", /:zonex + /:xdir);
Set("/:xflag", /:zonex);
}
Set("/:yflag", "u");
diradd = "0" < /:ydir;
Set("/:ybnd", eval ("/:obj_y" add (/:zoney + diradd)));
if ("0" < ((/:bally - /:ybnd) * /:ydir)) {
Set("/:zoney", /:zoney + /:ydir);
Set("/:yflag", /:zoney);
}
Set("/:ydir", (("0" < /:yspeed) * "2") - "1");
Set("/:zflag", "u");
diradd = "0" < /:zdir;
Set("/:zbnd", eval ("/:obj_z" add (/:zonez + diradd)));
if ("0" < ((/:ballz - /:zbnd) * /:zdir)) {
Set("/:zonez", /:zonez + /:zdir);
Set("/:zflag", /:zonez);
}
Symbol 204 MovieClip Frame 29
Set("/:xdir", /:xdir * "-1");
xch = /:xdir;
Set("/:ballx", /:xbnd - (/:ballx - /:xbnd));
Set("/:xspeed", /:xspeed * /:wallskid);
Set("/:zspeed", /:zspeed * /:wallskid);
tellTarget ("bounceFL") {
gotoAndPlay ("bSwall");
};
Symbol 204 MovieClip Frame 36
Set("/:xdir", /:xdir * "-1");
xch = /:xdir;
Set("/:ballx", /:xbnd - (/:ballx - /:xbnd));
Set("/:xspeed", /:xspeed * /:wallskid);
Set("/:zspeed", /:zspeed * /:wallskid);
tellTarget ("bounceFL") {
gotoAndPlay ("bSwall");
};
Symbol 204 MovieClip Frame 49
Set("/:ydir", /:ydir * "-1");
ych = /:ydir;
Set("/:bally", /:bally * "-1");
Set("/:yspeed", ((/:yspeed * "-1") * /:yskid) - "3");
Set("/:xspeed", /:xspeed * /:wallskid);
Set("/:zspeed", /:zspeed * /:wallskid);
tellTarget ("/ball") {
gotoAndStop ("botExplode");
};
if (/:yspeed < (/:gravity + "12")) {
Set("/:yspeed", "0");
Set("/:gravity", "0");
Set("/:bally", "-0.1");
tellTarget ("bounceFL") {
gotoAndPlay ("bFL");
};
call("chk_end");
} else {
tellTarget ("bounceFL") {
gotoAndPlay ("bFL");
};
}
if ("0.1" < /:xspeed) {
Set("/:xspeed", (/:xspeed * "0.95") - /:xskid);
}
if ("0.1" < /:zspeed) {
Set("/:zspeed", (/:zspeed * "0.95") - /:zskid);
}
Symbol 204 MovieClip Frame 56
if (/:zonez == "2") {
if (/:zonex == "3") {
trace(/:bally);
ych = /:ydir;
Set("/:yspeed", "0");
Set("/:xspeed", /:xspeed * /:wallskid);
Set("/:zspeed", "0");
Set("/sb:completed", /sb:completed + "1");
} else if ((/:zonex == "2") or (/:zonex == "4")) {
Set("/:ydir", /:ydir * "-1");
ych = /:ydir;
Set("/:bally", /:ybnd - (/:bally - /:ybnd));
Set("/:yspeed", ((/:yspeed * "-1") * /:yskid) - "3");
Set("/:xspeed", /:xspeed * /:wallskid);
Set("/:zspeed", /:zspeed * /:wallskid);
}
}
Symbol 204 MovieClip Frame 65
if (/:gonnaBreak eq "false") {
duplicateMovieClip ("/ball", "temp", 30);
removeMovieClip("/ball");
setProperty("/temp", _name , "ball");
tellTarget ("/ball") {
gotoAndStop ("botSpin");
};
Set("/:txStatus", "MISSED...");
} else {
Set("/:totGifts", /:totGifts + "1");
Set("/:xspeed", "0");
Set("/:yspeed", "0");
Set("/:zspeed", "0");
tellTarget ("bounceFL") {
gotoAndPlay ("bWAL");
};
tellTarget ("/ball") {
gotoAndStop ("botExplode");
};
tellTarget ("/santa") {
gotoAndStop (2);
};
Set("/:txStatus", "HIT!");
}
Symbol 204 MovieClip Frame 73
Set("/:zdir", /:zdir * "-1");
zch = /:zdir;
Set("/:ballz", /:zbnd - (/:ballz - /:zbnd));
Set("/:zspeed", /:zspeed * /:wallskid);
Set("/:xspeed", /:xspeed * /:wallskid);
tellTarget ("bounceFL") {
gotoAndPlay ("bSwall");
};
tellTarget ("/ball") {
gotoAndStop ("botExplode");
};
Symbol 204 MovieClip Frame 87
if (((/:bally == "-0.1") and (/:xspeed < "0.1")) and (/:zspeed < "0.1")) {
if (!/:endflag) {
tellTarget ("/") {
gotoAndStop ("shot");
};
}
}
Symbol 205 MovieClip Frame 1
tmpscale = /:vdist / /:ballz;
xpos = (/:ballx * tmpscale) + (/:maxx / "2");
ypos = (/:maxy - (/:bally * tmpscale)) - (/:horz - (/:horz * tmpscale));
setProperty(/:curball, _x , xpos);
setProperty(/:curball, _y , ypos);
setProperty(/:curball, _xscale , tmpscale * "100");
setProperty(/:curball, _yscale , tmpscale * "100");
Symbol 205 MovieClip Frame 2
stop();
Symbol 205 MovieClip Frame 3
stop();
Symbol 205 MovieClip Frame 4
removeMovieClip(/:curball);
setProperty("/bpic_dup", _name , "ball");
Set("/:bottleNum", /:bottleNum + "1");
Set("/:txBottleNum", /:bottleNum);
Symbol 205 MovieClip Frame 5
stop();
Symbol 205 MovieClip Frame 6
stop();
Symbol 205 MovieClip Frame 10
crossCount = /:count + (/:stepsToSanta * /:countDir);
if (/:maxCount < crossCount) {
crossCount = /:maxCount - (crossCount - /:maxCount);
}
if (crossCount < "1") {
crossCount = (crossCount - "1") * "-1";
}
duplicateMovieClip ("/hitAreaOrg", "hitArea", 37);
duplicateMovieClip ("/missAreaOrg", "missArea", 36);
setProperty("/missArea", _x , "0");
setProperty("/missArea", _y , "0");
Set("/:stepsToSanta", int((/:santaZ - /:vdist) / /:zspeed));
tempYspeed = "-45";
tempY = eval ("/:yposRaw" add crossCount);
i = /:stepsToSanta;
while ("0" < i) {
tempSignif = /:vdist / (((/:stepsToSanta - i) * /:zspeed) + /:vdist);
tempY = tempY + (tempYspeed * tempSignif);
tempYspeed = tempYspeed - /:pgravity;
i = i - "1";
}
hitX = eval ("/:xposRaw" add crossCount);
hitY = tempY;
hitZ = /:vdist + /:zspeed;
tmpscale = /:vdist / hitZ;
xpos = ((hitX * tmpscale) + (/:maxx / "2")) - ((/:xspeed * /:stepsToSanta) * /:xdir);
ypos = ((/:maxy - (hitY * tmpscale)) - (/:horz - (/:horz * tmpscale))) + (/:santaSpeedY * /:stepsToSanta);
setProperty("/hitArea", _x , xpos);
setProperty("/hitArea", _y , ypos);
setProperty("/hitArea", _xscale , tmpscale * "100");
setProperty("/hitArea", _yscale , tmpscale * "100");
setProperty("/hitArea", _rotation , eval ("/:santaRot" add crossCount));
Symbol 206 MovieClip Frame 1
stop();
Symbol 206 MovieClip Frame 9
tmpscale = /:vdist / /:ballz;
xpos = (/:ballx * tmpscale) + (/:maxx / "2");
ypos = (/:maxy - (/:bally * tmpscale)) - (/:horz - (/:horz * tmpscale));
setProperty(/:curball, _x , xpos);
setProperty(/:curball, _y , ypos);
setProperty(/:curball, _xscale , tmpscale * "100");
setProperty(/:curball, _yscale , tmpscale * "100");
Symbol 206 MovieClip Frame 16
Set("/:yspeed", /:yspeed + /:gravity);
Set("/:ballx", /:ballx + (/:xspeed * /:xdir));
Set("/:bally", /:bally + /:yspeed);
Set("/:ballz", /:ballz + (/:zspeed * /:zdir));
Symbol 208 MovieClip Frame 6
stop();
Symbol 209 MovieClip Frame 1
stop();
Symbol 209 MovieClip Frame 2
tellTarget ("santaStrug") {
gotoAndPlay (25);
};
stop();
Symbol 209 MovieClip Frame 3
stop();
Symbol 209 MovieClip Frame 4
stop();
Symbol 209 MovieClip Frame 5
stop();
Symbol 209 MovieClip Frame 6
stop();
Symbol 209 MovieClip Frame 7
stop();
Symbol 211 Button
on (rollOver) {
Set("/:gonnaBreak", "true");
removeMovieClip("/hitArea");
removeMovieClip("/missArea");
Set("/:shooting", "true");
}
Symbol 215 Button
on (rollOver) {
Set("/:gonnaBreak", "false");
Set("/:obj_z3", "250");
removeMovieClip("/hitArea");
removeMovieClip("/missArea");
Set("/:shooting", "true");
}
Symbol 228 MovieClip Frame 1
if ("0" < ../:stepsToRest) {
setProperty("../../", _x , getProperty("../../", _x) + ../:incX);
setProperty("../../", _y , getProperty("../../", _y) + ../:incY);
Set("../:stepsToRest", ../:stepsToRest - "1");
} else {
tellTarget ("../") {
gotoAndStop (1);
};
}
Symbol 228 MovieClip Frame 2
gotoAndPlay (1);
Symbol 229 MovieClip Frame 1
stop();
Symbol 229 MovieClip Frame 2
stop();
Symbol 231 MovieClip Frame 1
stop();
Symbol 231 MovieClip Frame 2
stop();
Symbol 233 MovieClip Frame 1
stop();
Symbol 233 MovieClip Frame 2
stop();
Symbol 235 MovieClip Frame 1
stop();
Symbol 235 MovieClip Frame 2
stop();
Symbol 237 MovieClip Frame 1
stop();
Symbol 237 MovieClip Frame 2
stop();
Symbol 239 MovieClip Frame 1
stop();
Symbol 239 MovieClip Frame 2
stop();
Symbol 240 MovieClip Frame 1
stop();
Symbol 240 MovieClip Frame 2
stop();
Symbol 240 MovieClip Frame 3
stop();
Symbol 240 MovieClip Frame 4
stop();
Symbol 240 MovieClip Frame 5
stop();
Symbol 240 MovieClip Frame 10
stop();
Symbol 244 MovieClip Frame 1
if ((/:count >= /:maxCount) or ("0" >= /:count)) {
Set("/:countDir", /:countDir * "-1");
}
Set("/:count", /:count + /:countDir);
call("/:santaCalc");
Symbol 244 MovieClip Frame 2
gotoAndPlay (1);
Symbol 252 Button
on (release) {
gotoAndPlay (687);
}
Symbol 257 Button
on (release) {
gotoAndPlay (784);
}
Symbol 264 MovieClip Frame 1
stop();
Symbol 264 MovieClip Frame 2
stop();
Symbol 289 MovieClip Frame 1
stop();
Symbol 289 MovieClip Frame 2
stop();
Symbol 289 MovieClip Frame 3
stop();
Symbol 294 MovieClip Frame 1
stop();
Symbol 294 MovieClip Frame 2
stop();
Symbol 294 MovieClip Frame 3
stop();
Symbol 300 MovieClip Frame 1
stop();
Symbol 300 MovieClip Frame 2
stop();
Symbol 300 MovieClip Frame 3
stop();
Symbol 308 MovieClip Frame 1
stop();
Symbol 308 MovieClip Frame 2
stop();
Symbol 308 MovieClip Frame 3
stop();
Symbol 311 MovieClip Frame 1
stop();
Symbol 311 MovieClip Frame 2
stop();
Symbol 311 MovieClip Frame 3
stop();
Symbol 313 Button
on (press) {
tellTarget ("../dragThis") {
gotoAndStop (1);
};
tempName = _name;
tempName = substring(tempName, "7", "1");
tellTarget (("/gift" add tempName) add "/giftHighlight") {
gotoAndStop (1);
};
Set("/:giftPick", tempName);
tellTarget ("../proj01") {
gotoAndStop ("lblGiftDrag");
};
startDrag ("../dragThis", true);
tempX = getProperty("../gift" add /:giftPick, _x);
tempY = getProperty("../gift" add /:giftPick, _y);
setProperty("../dragThis", _x , tempX);
setProperty("../dragThis", _y , tempY);
if (eval (("../shelfSlot" add /:giftPick) add "/:full") ne "true") {
Set(("../giftSlot" add eval (("../shelfSlot" add /:giftPick) add "/:full")) add "/:full", "false");
Set(("../shelfSlot" add /:giftPick) add "/:full", "true");
}
}
on (release, releaseOutside) {
tellTarget ("../proj01") {
gotoAndStop (1);
};
stopDrag();
tempX = getProperty("../gift" add /:giftPick, _x);
tempY = getProperty("../gift" add /:giftPick, _y);
if (/:DropZoneY eq "/giftSlot") {
destX = getProperty((".." add /:DropZoneY) add /:curDropTarg, _x);
destY = getProperty((".." add /:DropZoneY) add /:curDropTarg, _y);
Set(("../giftSlot" add /:curDropTarg) add "/:full", "true");
Set(("../shelfSlot" add /:giftPick) add "/:full", /:curDropTarg);
} else {
destX = getProperty((".." add /:DropZoneY) add /:giftPick, _x);
destY = getProperty((".." add /:DropZoneY) add /:giftPick, _y);
}
difX = destX - tempX;
difY = destY - tempY;
setProperty("../btGift" add /:giftPick, _x , destX);
setProperty("../btGift" add /:giftPick, _y , destY);
Set(("../gift" add /:giftPick) add "/mvGiftInner/:incX", difX / /:animSteps);
Set(("../gift" add /:giftPick) add "/mvGiftInner/:incY", difY / /:animSteps);
Set(("../gift" add /:giftPick) add "/mvGiftInner/:stepsToRest", /:animSteps);
tellTarget (("../gift" add /:giftPick) add "/mvGiftInner") {
gotoAndStop (2);
};
Set("/:giftPick", "0");
i = "0";
while (i < /:numPerson) {
tellTarget ("../dragToBox" add i) {
gotoAndStop (1);
};
i = i + "1";
}
}
on (rollOver) {
startDrag ("../dragThis", true);
i = "0";
while (i < /:personNum) {
tellTarget (("/gift" add i) add "/giftHighlight") {
gotoAndStop (1);
};
i = i + "1";
}
tellTarget ("../dragThis") {
gotoAndPlay (2);
};
tempName = _name;
tempName = substring(tempName, "7", "1");
Set("../dragThis:txHint", eval ("/:hint" add tempName));
tellTarget (("/gift" add tempName) add "/giftHighlight") {
gotoAndStop (2);
};
}
on (rollOut) {
tempName = _name;
tempName = substring(tempName, "7", "1");
tellTarget (("/gift" add tempName) add "/giftHighlight") {
gotoAndStop (1);
};
tellTarget ("../dragThis") {
gotoAndStop (1);
};
}
Symbol 314 MovieClip Frame 1
stop();
Symbol 314 MovieClip Frame 2
stop();
Symbol 320 Button
on (release) {
i = "0";
while (i < /:numPerson) {
Set("/:person" add i, "-99");
i = i + "1";
}
i = "0";
while (i < /:numPerson) {
if (eval (("/shelfSlot" add i) add "/:full") >= "0") {
Set("/:person" add eval (("/shelfSlot" add i) add "/:full"), i);
}
i = i + "1";
}
Set("/:personCount", "0");
i = "0";
while (i < /:numPerson) {
trace((("person" add i) add ": ") add eval ("/:person" add i));
i = i + "1";
}
gotoAndPlay (787);
}
Symbol 323 MovieClip Frame 1
tempX = getProperty("/dragThis", _x);
tempY = getProperty("/dragThis", _y);
setProperty("/gift" add /:giftPick, _x , tempX);
setProperty("/gift" add /:giftPick, _y , tempY);
if (tempY < /:targDropY) {
Set("/:DropZoneY", "/giftSlot");
i = "0";
while (i < /:numPerson) {
if (eval ("/:targDropX" add i) < tempX) {
Set("/:curDropTarg", i);
}
tellTarget ("../../dragToBox" add i) {
gotoAndStop (1);
};
i = i + "1";
}
if (eval (("../../giftSlot" add /:curDropTarg) add ":full") eq "false") {
tellTarget ("../../dragToBox" add /:curDropTarg) {
gotoAndStop (2);
};
slotFull = "false";
} else {
slotFull = "true";
}
}
if ((tempY >= /:targDropY) or (slotFull eq "true")) {
Set("/:DropZoneY", "/shelfSlot");
i = "0";
while (i < /:numPerson) {
tellTarget ("../../dragToBox" add i) {
gotoAndStop (1);
};
i = i + "1";
}
}
Symbol 323 MovieClip Frame 2
gotoAndPlay (1);
Symbol 324 MovieClip Frame 1
stop();
Symbol 324 MovieClip Frame 2
stop();
Symbol 331 MovieClip Frame 1
stop();
Symbol 331 MovieClip Frame 2
play();
Symbol 331 MovieClip Frame 10
stop();
Symbol 341 MovieClip Frame 1
stop();
Symbol 341 MovieClip Frame 2
stop();
Symbol 341 MovieClip Frame 3
stop();
Symbol 341 MovieClip Frame 4
stop();
Symbol 341 MovieClip Frame 5
stop();
Symbol 341 MovieClip Frame 6
stop();
Symbol 410 MovieClip Frame 1
stop();
Symbol 410 MovieClip Frame 26
stop();
Symbol 410 MovieClip Frame 27
stop();
Symbol 420 MovieClip Frame 1
stop();
Symbol 420 MovieClip Frame 26
stop();
Symbol 420 MovieClip Frame 27
stop();
Symbol 430 MovieClip Frame 1
stop();
Symbol 430 MovieClip Frame 26
stop();
Symbol 430 MovieClip Frame 27
stop();
Symbol 440 MovieClip Frame 1
stop();
Symbol 440 MovieClip Frame 26
stop();
Symbol 440 MovieClip Frame 27
stop();
Symbol 449 MovieClip Frame 1
stop();
Symbol 449 MovieClip Frame 26
stop();
Symbol 449 MovieClip Frame 27
stop();
Symbol 450 MovieClip Frame 1
stop();
Symbol 450 MovieClip Frame 2
stop();
Symbol 450 MovieClip Frame 3
stop();
Symbol 450 MovieClip Frame 4
stop();
Symbol 450 MovieClip Frame 5
stop();
Symbol 485 MovieClip Frame 1
stop();
Symbol 485 MovieClip Frame 2
stop();
Symbol 485 MovieClip Frame 3
stop();
Symbol 487 MovieClip Frame 1
stop();
Symbol 487 MovieClip Frame 2
stop();
Symbol 487 MovieClip Frame 3
stop();
Symbol 490 MovieClip Frame 1
stop();
Symbol 490 MovieClip Frame 2
stop();
Symbol 490 MovieClip Frame 3
stop();
Symbol 492 MovieClip Frame 1
stop();
Symbol 492 MovieClip Frame 2
stop();
Symbol 492 MovieClip Frame 3
stop();
Symbol 495 MovieClip Frame 1
stop();
Symbol 495 MovieClip Frame 2
stop();
Symbol 495 MovieClip Frame 3
stop();
Symbol 496 MovieClip Frame 1
stop();
Symbol 496 MovieClip Frame 2
stop();
Symbol 496 MovieClip Frame 3
stop();
Symbol 496 MovieClip Frame 4
stop();
Symbol 496 MovieClip Frame 5
stop();
Symbol 754 Button
on (release) {
gotoAndPlay (95);
}
Symbol 756 Button
on (release) {
getURL ("http://www.romp.com/p/coo16", "_blank");
}