Frame 1
counter = "0";
if (_framesloaded == _totalframes) {
gotoAndPlay (7);
}
Frame 4
ifFrameLoaded (counter) {
counter = counter + "1";
angle = "-40" + (counter / "2.2");
setProperty("bar/needle", _rotation , angle);
if (counter >= "175") {
gotoAndPlay (6);
}
}
Frame 5
gotoAndPlay(_currentframe - "1");
Frame 7
delay = "2500";
delaySmall = "1000";
Frame 8
if (!/:zoom) {
gotoAndStop (10);
}
Frame 9
gotoAndPlay(_currentframe - "1");
Frame 10
stop();
Frame 11
vase2lock = "0";
vase3lock = "0";
vase4lock = "0";
vase5lock = "0";
scale = "25";
messageCounter = "1";
call("/code:vis1");
Frame 33
tellTarget ("/bobhead/bobmouth") {
gotoAndPlay ("shock");
};
tellTarget ("/wendyhead/wendymouth") {
gotoAndPlay ("shock");
};
Frame 57
tellTarget ("message") {
gotoAndPlay ("smash");
};
Frame 58
setProperty("/vase2shad", _x , getProperty("/vase2", _x));
setProperty("/vase3shad", _x , getProperty("/vase3", _x));
setProperty("/vase4shad", _x , getProperty("/vase4", _x));
setProperty("/vase5shad", _x , getProperty("/vase5", _x));
setProperty("/vase2shad", _xscale , "80" - (("300" - getProperty("/vase2", _y)) / "8"));
setProperty("/vase2shad", _yscale , "80" - (("300" - getProperty("/vase2", _y)) / "8"));
setProperty("/vase3shad", _xscale , "95" - (("300" - getProperty("/vase3", _y)) / "8"));
setProperty("/vase3shad", _yscale , "95" - (("300" - getProperty("/vase3", _y)) / "8"));
setProperty("/vase4shad", _xscale , "60" - (("300" - getProperty("/vase4", _y)) / "8"));
setProperty("/vase4shad", _yscale , "60" - (("300" - getProperty("/vase4", _y)) / "8"));
setProperty("/vase5shad", _xscale , "45" - (("300" - getProperty("/vase5", _y)) / "8"));
setProperty("/vase5shad", _yscale , "45" - (("300" - getProperty("/vase5", _y)) / "8"));
if (/:finished == "1") {
gotoAndStop (60);
}
if (/:moving) {
call("code:move1");
}
Frame 59
gotoAndPlay(_currentframe - "1");
Frame 60
stop();
Frame 61
if (!/:zoom) {
gotoAndPlay (63);
}
Frame 62
gotoAndPlay(_currentframe - "1");
Frame 64
if (!/:zoom) {
gotoAndPlay (66);
}
Frame 65
gotoAndPlay(_currentframe - "1");
Frame 66
plant1lock = "0";
plant2lock = "0";
plant3lock = "0";
plant4lock = "0";
plant5lock = "0";
plant6lock = "0";
scale = "20";
wormPlay = "0";
wormToggle = "1";
messageCounter = "1";
call("/code:vis2");
Frame 89
tellTarget ("/bobhead/bobmouth") {
gotoAndPlay ("shock");
};
tellTarget ("/wendyhead/wendymouth") {
gotoAndPlay ("shock");
};
Frame 113
tellTarget ("message") {
gotoAndPlay ("smash");
};
Frame 114
if (/:finished == "1") {
gotoAndStop (116);
}
if (/:moving) {
call("code:move1");
}
rand = random("100");
if ((/:wormPlay == "0") and (rand < "1")) {
if (/:wormToggle == "1") {
tellTarget ("/cactus/cactus/worm") {
gotoAndPlay (2);
};
} else {
tellTarget ("/cactus/cactus/worm2") {
gotoAndPlay (2);
};
}
Set("/:wormToggle", !/:wormToggle);
}
Frame 115
gotoAndPlay(_currentframe - "1");
Frame 116
stop();
Frame 117
if (!/:zoom) {
gotoAndPlay (119);
}
Frame 118
gotoAndPlay(_currentframe - "1");
Frame 120
if (!/:zoom) {
gotoAndPlay (122);
}
Frame 121
gotoAndPlay(_currentframe - "1");
Frame 122
glass1lock = "0";
glass2lock = "0";
glass3lock = "0";
glass4lock = "0";
glass5lock = "0";
glass6lock = "0";
glass7lock = "0";
scale = "20";
messageCounter = "1";
call("/code:vis3");
Frame 145
tellTarget ("/bobhead/bobmouth") {
gotoAndPlay ("shock");
};
tellTarget ("/wendyhead/wendymouth") {
gotoAndPlay ("shock");
};
Frame 169
tellTarget ("message") {
gotoAndPlay ("smash");
};
Frame 170
if ((/:finished == "1") and (/:bobSpeak == "0")) {
gotoAndStop (172);
}
if (/:moving) {
call("code:move1");
}
Frame 171
gotoAndPlay(_currentframe - "1");
Frame 172
tellTarget ("message") {
gotoAndPlay ("finish");
};
stop();
Frame 173
if (!/:zoom) {
gotoAndPlay (7);
}
Frame 174
gotoAndPlay(_currentframe - "1");
Symbol 22 MovieClip Frame 1
stop();
Symbol 26 MovieClip Frame 1
stop();
Symbol 26 MovieClip Frame 3
stop();
Symbol 26 MovieClip Frame 5
stop();
Symbol 26 MovieClip Frame 7
stop();
Symbol 30 MovieClip Frame 1
stop();
Symbol 30 MovieClip Frame 22
gotoAndStop (1);
Symbol 30 MovieClip Frame 23
stop();
Symbol 42 MovieClip Frame 1
Set("/:finished", "0");
Set("/:moving", "0");
Set("/:bobSpeak", "0");
Set("/:interval", "1000");
Set("/:leftOrRight", "1");
stop();
Symbol 42 MovieClip Frame 2
setProperty("/vase2end", _visible , "0");
setProperty("/vase3end", _visible , "0");
setProperty("/vase4end", _visible , "0");
setProperty("/vase5end", _visible , "0");
setProperty("/vase2shad", _visible , "1");
setProperty("/vase3shad", _visible , "1");
setProperty("/vase4shad", _visible , "1");
setProperty("/vase5shad", _visible , "1");
Symbol 42 MovieClip Frame 4
if ((("/" add /:myName) add "drop") eq /:myDrop) {
setProperty("/" add /:myName, _visible , "0");
setProperty(("/" add /:myName) add "end", _visible , "1");
setProperty(("/" add /:myName) add "shad", _visible , "0");
Set(("/:" add /:myName) add "lock", "1");
if ((((/:vase2lock == "1") and (/:vase3lock == "1")) and (/:vase4lock == "1")) and (/:vase5lock == "1")) {
Set("/:finished", "1");
tellTarget ("/message") {
gotoAndPlay ("complete");
};
} else {
tellTarget ("/message") {
gotoAndPlay("correct" add /:messageCounter);
};
Set("/:messageCounter", /:messageCounter + "1");
}
tellTarget ("/sound") {
gotoAndPlay ("clink");
};
} else {
call("/code:pos1");
tellTarget ("/message") {
gotoAndPlay ("wrong");
};
tellTarget ("/sound") {
gotoAndPlay ("whoosh");
};
}
Symbol 42 MovieClip Frame 6
setProperty("/vase2", _x , "476");
setProperty("/vase2", _y , "284.4");
setProperty("/vase3", _x , "180");
setProperty("/vase3", _y , "298");
setProperty("/vase4", _x , "396");
setProperty("/vase4", _y , "287");
setProperty("/vase5", _x , "107");
setProperty("/vase5", _y , "300");
Symbol 42 MovieClip Frame 8
setProperty("/plant1end", _visible , "0");
setProperty("/plant2end", _visible , "0");
setProperty("/plant3end", _visible , "0");
setProperty("/plant4end", _visible , "0");
setProperty("/plant5end", _visible , "0");
setProperty("/plant6end", _visible , "0");
setProperty("/plant1shad", _visible , "1");
setProperty("/plant2shad", _visible , "1");
setProperty("/plant3shad", _visible , "1");
setProperty("/plant4shad", _visible , "1");
setProperty("/plant5shad", _visible , "1");
setProperty("/plant6shad", _visible , "1");
Symbol 42 MovieClip Frame 10
if ((("/" add /:myName) add "drop") eq /:myDrop) {
setProperty("/" add /:myName, _visible , "0");
setProperty(("/" add /:myName) add "end", _visible , "1");
setProperty(("/" add /:myName) add "shad", _visible , "0");
Set(("/:" add /:myName) add "lock", "1");
if ((((((/:plant1lock == "1") and (/:plant2lock == "1")) and (/:plant3lock == "1")) and (/:plant4lock == "1")) and (/:plant5lock == "1")) and (/:plant6lock == "1")) {
Set("/:finished", "1");
tellTarget ("/message") {
gotoAndPlay ("complete");
};
} else {
tellTarget ("/message") {
gotoAndPlay("correct" add /:messageCounter);
};
Set("/:messageCounter", /:messageCounter + "1");
}
tellTarget ("/sound") {
gotoAndPlay ("clink");
};
} else {
call("/code:pos2");
tellTarget ("/message") {
gotoAndPlay ("wrong");
};
tellTarget ("/sound") {
gotoAndPlay ("whoosh");
};
}
Symbol 42 MovieClip Frame 12
setProperty("/plant1", _x , "170");
setProperty("/plant1", _y , "355");
setProperty("/plant2", _x , "440");
setProperty("/plant2", _y , "359");
setProperty("/plant3", _x , "380");
setProperty("/plant3", _y , "355");
setProperty("/plant4", _x , "501");
setProperty("/plant4", _y , "347");
setProperty("/plant5", _x , "51");
setProperty("/plant5", _y , "351");
setProperty("/plant6", _x , "103");
setProperty("/plant6", _y , "356");
Symbol 42 MovieClip Frame 14
setProperty("/glass1end", _visible , "0");
setProperty("/glass2end", _visible , "0");
setProperty("/glass3end", _visible , "0");
setProperty("/glass4end", _visible , "0");
setProperty("/glass5end", _visible , "0");
setProperty("/glass6end", _visible , "0");
setProperty("/glass7end", _visible , "0");
setProperty("/glass1shad", _visible , "1");
setProperty("/glass2shad", _visible , "1");
setProperty("/glass3shad", _visible , "1");
setProperty("/glass4shad", _visible , "1");
setProperty("/glass5shad", _visible , "1");
setProperty("/glass6shad", _visible , "1");
setProperty("/glass7shad", _visible , "1");
Symbol 42 MovieClip Frame 16
if ((("/" add /:myName) add "drop") eq /:myDrop) {
setProperty("/" add /:myName, _visible , "0");
setProperty(("/" add /:myName) add "end", _visible , "1");
setProperty(("/" add /:myName) add "shad", _visible , "0");
Set(("/:" add /:myName) add "lock", "1");
if (((((((/:glass1lock == "1") and (/:glass2lock == "1")) and (/:glass3lock == "1")) and (/:glass4lock == "1")) and (/:glass5lock == "1")) and (/:glass6lock == "1")) and (/:glass7lock == "1")) {
Set("/:finished", "1");
tellTarget ("/message") {
gotoAndPlay ("completefinal");
};
} else {
tellTarget ("/message") {
gotoAndPlay("correct" add /:messageCounter);
};
Set("/:messageCounter", /:messageCounter + "1");
}
tellTarget ("/sound") {
gotoAndPlay ("glass");
};
} else {
call("/code:pos3");
tellTarget ("/message") {
gotoAndPlay ("wrong");
};
tellTarget ("/sound") {
gotoAndPlay ("whoosh");
};
}
Symbol 42 MovieClip Frame 18
setProperty("/glass1", _x , "548");
setProperty("/glass1", _y , "340");
setProperty("/glass2", _x , "237");
setProperty("/glass2", _y , "349");
setProperty("/glass3", _x , "400");
setProperty("/glass3", _y , "346");
setProperty("/glass4", _x , "55");
setProperty("/glass4", _y , "341");
setProperty("/glass5", _x , "175");
setProperty("/glass5", _y , "340");
setProperty("/glass6", _x , "478");
setProperty("/glass6", _y , "344");
setProperty("/glass7", _x , "119");
setProperty("/glass7", _y , "341");
Symbol 42 MovieClip Frame 20
xDiff = getProperty(/:myName, _x) - getProperty(/:myDrop, _x);
yDiff = getProperty(/:myName, _y) - getProperty(/:myDrop, _y);
if (getProperty(/:myName, _droptarget) ne /:myDrop) {
if ((!/:bobSpeak) and ((/:timeNow + /:interval) < getTimer())) {
if (/:leftOrRight) {
if (xDiff < "0") {
tellTarget ("/message") {
gotoAndPlay ("right");
};
} else if ("0" < xDiff) {
tellTarget ("/message") {
gotoAndPlay ("left");
};
}
} else if (yDiff < "0") {
tellTarget ("/message") {
gotoAndPlay ("down");
};
} else if ("0" < yDiff) {
tellTarget ("/message") {
gotoAndPlay ("up");
};
}
Set("/:leftOrRight", !/:leftOrRight);
}
} else if (/:bobSpeak == "0") {
tellTarget ("/message") {
gotoAndPlay ("there");
};
}
startDrag (/:myName, true, /:dragLeft, /:dragTop, /:dragRight, /:dragBottom);
Symbol 66 Button
on (release) {
Set("/:zoom", "1");
gotoAndStop (1);
tellTarget ("..") {
gotoAndPlay(_currentframe + "1");
};
}
Symbol 69 Button
on (release) {
gotoAndPlay (59);
}
Symbol 76 MovieClip Frame 1
Set("/:timeNow", getTimer());
Set("/:bobSpeak", "0");
stop();
Symbol 76 MovieClip Frame 2
start = getTimer();
Set("/:bobSpeak", "1");
tellTarget ("/wendyhead/wendymouth") {
gotoAndPlay (2);
};
Symbol 76 MovieClip Frame 3
now = getTimer();
if ((start + /:delay) < now) {
gotoAndPlay (5);
}
Symbol 76 MovieClip Frame 4
gotoAndPlay(_currentframe - "1");
Symbol 76 MovieClip Frame 5
start = getTimer();
Set("/:bobSpeak", "1");
tellTarget ("/wendyhead/wendymouth") {
gotoAndPlay (2);
};
Symbol 76 MovieClip Frame 6
now = getTimer();
if ((start + /:delay) < now) {
gotoAndStop (1);
}
Symbol 76 MovieClip Frame 7
gotoAndPlay(_currentframe - "1");
Symbol 76 MovieClip Frame 8
start = getTimer();
Set("/:bobSpeak", "1");
tellTarget ("/bobhead/bobmouth") {
gotoAndStop (1);
};
tellTarget ("/wendyhead/wendymouth") {
gotoAndPlay (2);
};
Symbol 76 MovieClip Frame 9
now = getTimer();
if ((start + /:delaySmall) < now) {
gotoAndStop (1);
}
Symbol 76 MovieClip Frame 10
gotoAndPlay(_currentframe - "1");
Symbol 76 MovieClip Frame 11
start = getTimer();
Set("/:bobSpeak", "1");
tellTarget ("/bobhead/bobmouth") {
gotoAndStop (1);
};
tellTarget ("/wendyhead/wendymouth") {
gotoAndPlay (2);
};
Symbol 76 MovieClip Frame 12
now = getTimer();
if ((start + /:delaySmall) < now) {
gotoAndStop (1);
}
Symbol 76 MovieClip Frame 13
gotoAndPlay(_currentframe - "1");
Symbol 76 MovieClip Frame 14
start = getTimer();
Set("/:bobSpeak", "1");
tellTarget ("/bobhead/bobmouth") {
gotoAndStop (1);
};
tellTarget ("/wendyhead/wendymouth") {
gotoAndPlay (2);
};
Symbol 76 MovieClip Frame 15
now = getTimer();
if ((start + /:delaySmall) < now) {
gotoAndStop (1);
}
Symbol 76 MovieClip Frame 16
gotoAndPlay(_currentframe - "1");
Symbol 76 MovieClip Frame 17
start = getTimer();
Set("/:bobSpeak", "1");
tellTarget ("/bobhead/bobmouth") {
gotoAndStop (1);
};
tellTarget ("/wendyhead/wendymouth") {
gotoAndPlay (2);
};
Symbol 76 MovieClip Frame 18
now = getTimer();
if ((start + /:delaySmall) < now) {
gotoAndStop (1);
}
Symbol 76 MovieClip Frame 19
gotoAndPlay(_currentframe - "1");
Symbol 76 MovieClip Frame 20
start = getTimer();
Set("/:bobSpeak", "1");
tellTarget ("/bobhead/bobmouth") {
gotoAndStop (1);
};
tellTarget ("/wendyhead/wendymouth") {
gotoAndPlay (2);
};
Symbol 76 MovieClip Frame 21
now = getTimer();
if ((start + /:delaySmall) < now) {
gotoAndStop (1);
}
Symbol 76 MovieClip Frame 22
gotoAndPlay(_currentframe - "1");
Symbol 76 MovieClip Frame 23
start = getTimer();
Set("/:bobSpeak", "1");
tellTarget ("/bobhead/bobmouth") {
gotoAndStop (1);
};
tellTarget ("/wendyhead/wendymouth") {
gotoAndPlay (2);
};
Symbol 76 MovieClip Frame 24
now = getTimer();
if ((start + /:delaySmall) < now) {
gotoAndStop (1);
}
Symbol 76 MovieClip Frame 25
gotoAndPlay(_currentframe - "1");
Symbol 76 MovieClip Frame 26
start = getTimer();
tellTarget ("/wendyhead/wendymouth") {
gotoAndPlay (2);
};
Symbol 76 MovieClip Frame 27
now = getTimer();
if ((start + /:delay) < now) {
gotoAndPlay (29);
}
Symbol 76 MovieClip Frame 28
gotoAndPlay(_currentframe - "1");
Symbol 76 MovieClip Frame 29
start = getTimer();
tellTarget ("/bobhead/bobmouth") {
gotoAndPlay (2);
};
Symbol 76 MovieClip Frame 30
now = getTimer();
if ((start + /:delay) < now) {
gotoAndPlay (32);
}
Symbol 76 MovieClip Frame 31
gotoAndPlay(_currentframe - "1");
Symbol 76 MovieClip Frame 32
start = getTimer();
tellTarget ("/bobhead/bobmouth") {
gotoAndPlay (2);
};
Symbol 76 MovieClip Frame 33
now = getTimer();
if ((start + /:delay) < now) {
gotoAndStop (1);
}
Symbol 76 MovieClip Frame 34
gotoAndPlay(_currentframe - "1");
Symbol 76 MovieClip Frame 35
start = getTimer();
Set("/:bobSpeak", "1");
tellTarget ("/bobhead/bobmouth") {
gotoAndPlay (2);
};
Symbol 76 MovieClip Frame 36
now = getTimer();
if ((start + /:delaySmall) < now) {
gotoAndStop (1);
}
Symbol 76 MovieClip Frame 37
gotoAndPlay(_currentframe - "1");
Symbol 76 MovieClip Frame 38
start = getTimer();
Set("/:bobSpeak", "1");
tellTarget ("/bobhead/bobmouth") {
gotoAndPlay (2);
};
Symbol 76 MovieClip Frame 39
now = getTimer();
if ((start + /:delaySmall) < now) {
gotoAndStop (1);
}
Symbol 76 MovieClip Frame 40
gotoAndPlay(_currentframe - "1");
Symbol 76 MovieClip Frame 41
start = getTimer();
Set("/:bobSpeak", "1");
tellTarget ("/bobhead/bobmouth") {
gotoAndPlay (2);
};
Symbol 76 MovieClip Frame 42
now = getTimer();
if ((start + /:delaySmall) < now) {
gotoAndStop (1);
}
Symbol 76 MovieClip Frame 43
gotoAndPlay(_currentframe - "1");
Symbol 76 MovieClip Frame 44
start = getTimer();
Set("/:bobSpeak", "1");
tellTarget ("/bobhead/bobmouth") {
gotoAndPlay (2);
};
Symbol 76 MovieClip Frame 45
now = getTimer();
if ((start + /:delaySmall) < now) {
gotoAndStop (1);
}
Symbol 76 MovieClip Frame 46
gotoAndPlay(_currentframe - "1");
Symbol 76 MovieClip Frame 47
start = getTimer();
Set("/:bobSpeak", "1");
tellTarget ("/bobhead/bobmouth") {
gotoAndPlay (2);
};
Symbol 76 MovieClip Frame 48
now = getTimer();
if ((start + /:delaySmall) < now) {
gotoAndStop (1);
}
Symbol 76 MovieClip Frame 49
gotoAndPlay(_currentframe - "1");
Symbol 76 MovieClip Frame 50
start = getTimer();
Set("/:bobSpeak", "1");
tellTarget ("/bobhead/bobmouth") {
gotoAndPlay (2);
};
Symbol 76 MovieClip Frame 51
now = getTimer();
if ((start + /:delaySmall) < now) {
gotoAndStop (1);
}
Symbol 76 MovieClip Frame 52
gotoAndPlay(_currentframe - "1");
Symbol 76 MovieClip Frame 53
start = getTimer();
Set("/:bobSpeak", "1");
tellTarget ("/bobhead/bobmouth") {
gotoAndPlay (2);
};
Symbol 76 MovieClip Frame 54
now = getTimer();
if ((start + /:delaySmall) < now) {
gotoAndStop (1);
}
Symbol 76 MovieClip Frame 55
gotoAndPlay(_currentframe - "1");
Symbol 76 MovieClip Frame 56
Set("/:bobSpeak", "1");
tellTarget ("/wendyhead/wendymouth") {
gotoAndPlay (2);
};
Symbol 76 MovieClip Frame 58
gotoAndPlay(_currentframe - "1");
Symbol 76 MovieClip Frame 59
start = getTimer();
Set("/:speak", "1");
tellTarget ("/wendyhead/mouth") {
gotoAndPlay (2);
};
Symbol 76 MovieClip Frame 60
now = getTimer();
if ((start + /:delay) < now) {
loadMovieNum ("town.swf", 0);
}
Symbol 76 MovieClip Frame 61
gotoAndPlay(_currentframe - "1");
Symbol 76 MovieClip Frame 62
start = getTimer();
tellTarget ("/wendyhead/wendymouth") {
gotoAndPlay (2);
};
Symbol 76 MovieClip Frame 63
now = getTimer();
if ((start + /:delay) < now) {
gotoAndPlay (65);
}
Symbol 76 MovieClip Frame 64
gotoAndPlay(_currentframe - "1");
Symbol 76 MovieClip Frame 65
start = getTimer();
tellTarget ("/bobhead/bobmouth") {
gotoAndPlay (2);
};
Symbol 76 MovieClip Frame 66
now = getTimer();
if ((start + /:delay) < now) {
gotoAndPlay (68);
}
Symbol 76 MovieClip Frame 67
gotoAndPlay(_currentframe - "1");
Symbol 76 MovieClip Frame 68
start = getTimer();
tellTarget ("/bobhead/bobmouth") {
gotoAndPlay (2);
};
Symbol 76 MovieClip Frame 69
now = getTimer();
if ((start + /:delay) < now) {
gotoAndStop (1);
}
Symbol 76 MovieClip Frame 70
gotoAndPlay(_currentframe - "1");
Symbol 76 MovieClip Frame 71
start = getTimer();
Set("/:bobSpeak", "1");
tellTarget ("/wendyhead/wendymouth") {
gotoAndPlay (2);
};
Symbol 76 MovieClip Frame 72
now = getTimer();
if ((start + /:delay) < now) {
gotoAndStop (1);
}
Symbol 76 MovieClip Frame 73
gotoAndPlay(_currentframe - "1");
Symbol 79 MovieClip Frame 1
Set("/:zoom", "1");
maxScale = "2100";
minScale = "100";
outlineScale = minScale;
lastTime = getTimer();
Symbol 79 MovieClip Frame 2
time = getTimer();
if (outlineScale < maxScale) {
setProperty("outline", _xscale , outlineScale);
setProperty("outline", _yscale , outlineScale);
outlineScale = outlineScale + (time - lastTime);
} else {
gotoAndPlay (4);
}
lastTime = time;
Symbol 79 MovieClip Frame 3
gotoAndPlay(_currentframe - "1");
Symbol 79 MovieClip Frame 4
outlineScale = maxScale;
Set("/:zoom", "0");
stop();
Symbol 89 Button
on (press) {
tellTarget ("/message") {
gotoAndPlay ("help");
};
}
Symbol 92 Button
on (press) {
tellTarget ("/message") {
gotoAndStop (1);
};
gotoAndPlay(_currentframe + "1");
}
Symbol 125 MovieClip Frame 1
_xscale = /:scale;
_yscale = /:scale;
Symbol 128 Button
on (release) {
loadMovieNum ("town.swf", 0);
}
Symbol 130 Button
on (press) {
if ((/:vase3lock == "1") or (/:vase4lock == "1")) {
Set("/:dragLeft", "89");
Set("/:dragTop", "106");
Set("/:dragRight", "518");
Set("/:dragBottom", "300");
Set("/:myName", "/" add _name);
Set("/:myDrop", /:myName add "drop");
Set("/:moving", "1");
} else {
stopDrag();
call("/code:pos1");
tellTarget ("/message") {
gotoAndPlay ("order");
};
}
}
on (release, releaseOutside) {
stopDrag();
Set("/:myName", _name);
Set("/:myDrop", _droptarget);
Set("/:moving", "0");
if ((/:vase3lock == "1") or (/:vase4lock == "1")) {
call("/code:check1");
}
}
Symbol 133 Button
on (press) {
if ((/:vase2lock == "1") or (/:vase3lock == "1")) {
Set("/:dragLeft", "93");
Set("/:dragTop", "133");
Set("/:dragRight", "513");
Set("/:dragBottom", "287");
Set("/:myName", "/" add _name);
Set("/:myDrop", /:myName add "drop");
Set("/:moving", "1");
} else {
stopDrag();
call("/code:pos1");
tellTarget ("/message") {
gotoAndPlay ("order");
};
}
}
on (release, releaseOutside) {
stopDrag();
Set("/:myName", _name);
Set("/:myDrop", _droptarget);
Set("/:moving", "0");
if ((/:vase2lock == "1") or (/:vase3lock == "1")) {
call("/code:check1");
}
}
Symbol 136 Button
on (press) {
Set("/:dragLeft", "111");
Set("/:dragTop", "121");
Set("/:dragRight", "497");
Set("/:dragBottom", "306");
Set("/:myName", "/" add _name);
Set("/:myDrop", /:myName add "drop");
Set("/:moving", "1");
}
on (release, releaseOutside) {
stopDrag();
Set("/:myName", _name);
Set("/:myDrop", _droptarget);
Set("/:moving", "0");
call("/code:check1");
}
Symbol 139 Button
on (press) {
Set("/:dragLeft", "106");
Set("/:dragTop", "116");
Set("/:dragRight", "500");
Set("/:dragBottom", "284");
Set("/:myName", "/" add _name);
Set("/:myDrop", /:myName add "drop");
Set("/:moving", "1");
}
on (release, releaseOutside) {
stopDrag();
Set("/:myName", _name);
Set("/:myDrop", _droptarget);
Set("/:moving", "0");
call("/code:check1");
}
Symbol 145 Button
on (press) {
Set("/:zoom", "1");
gotoAndPlay(_currentframe + "1");
tellTarget ("/message") {
gotoAndStop (1);
};
}
Symbol 146 MovieClip Frame 1
Set("/:zoom", "1");
maxScale = "2100";
minScale = "100";
outlineScale = maxScale;
lastTime = getTimer();
Symbol 146 MovieClip Frame 2
Set("/:zoom", "1");
time = getTimer();
if (minScale < outlineScale) {
setProperty("outline", _xscale , outlineScale);
setProperty("outline", _yscale , outlineScale);
outlineScale = outlineScale - (time - lastTime);
} else {
gotoAndPlay (4);
}
lastTime = time;
Symbol 146 MovieClip Frame 3
gotoAndPlay(_currentframe - "1");
Symbol 146 MovieClip Frame 4
outlineScale = minScale;
Set("/:zoom", "0");
stop();
Symbol 147 MovieClip Frame 1
Set("/:finished", "0");
Set("/:moving", "0");
Set("/:bobSpeak", "0");
Set("/:interval", "1000");
Set("/:leftOrRight", "1");
stop();
Symbol 147 MovieClip Frame 2
setProperty("/vase2end", _visible , "0");
setProperty("/vase3end", _visible , "0");
setProperty("/vase4end", _visible , "0");
setProperty("/vase5end", _visible , "0");
setProperty("/vase2shad", _visible , "1");
setProperty("/vase3shad", _visible , "1");
setProperty("/vase4shad", _visible , "1");
setProperty("/vase5shad", _visible , "1");
Symbol 147 MovieClip Frame 4
if ((("/" add /:myName) add "drop") eq /:myDrop) {
setProperty("/" add /:myName, _visible , "0");
setProperty(("/" add /:myName) add "end", _visible , "1");
setProperty(("/" add /:myName) add "shad", _visible , "0");
Set(("/:" add /:myName) add "lock", "1");
if ((((/:vase2lock == "1") and (/:vase3lock == "1")) and (/:vase4lock == "1")) and (/:vase5lock == "1")) {
Set("/:finished", "1");
tellTarget ("/message") {
gotoAndPlay ("complete");
};
} else {
tellTarget ("/message") {
gotoAndPlay("correct" add /:messageCounter);
};
Set("/:messageCounter", /:messageCounter + "1");
}
tellTarget ("/sound") {
gotoAndPlay ("clink");
};
} else {
call("/code:pos1");
tellTarget ("/message") {
gotoAndPlay ("wrong");
};
tellTarget ("/sound") {
gotoAndPlay ("whoosh");
};
}
Symbol 147 MovieClip Frame 6
setProperty("/vase2", _x , "476");
setProperty("/vase2", _y , "284.4");
setProperty("/vase3", _x , "180");
setProperty("/vase3", _y , "298");
setProperty("/vase4", _x , "396");
setProperty("/vase4", _y , "287");
setProperty("/vase5", _x , "107");
setProperty("/vase5", _y , "300");
Symbol 147 MovieClip Frame 8
setProperty("/plant1end", _visible , "0");
setProperty("/plant2end", _visible , "0");
setProperty("/plant3end", _visible , "0");
setProperty("/plant4end", _visible , "0");
setProperty("/plant5end", _visible , "0");
setProperty("/plant6end", _visible , "0");
setProperty("/plant1shad", _visible , "1");
setProperty("/plant2shad", _visible , "1");
setProperty("/plant3shad", _visible , "1");
setProperty("/plant4shad", _visible , "1");
setProperty("/plant5shad", _visible , "1");
setProperty("/plant6shad", _visible , "1");
Symbol 147 MovieClip Frame 10
if ((("/" add /:myName) add "drop") eq /:myDrop) {
setProperty("/" add /:myName, _visible , "0");
setProperty(("/" add /:myName) add "end", _visible , "1");
setProperty(("/" add /:myName) add "shad", _visible , "0");
Set(("/:" add /:myName) add "lock", "1");
if ((((((/:plant1lock == "1") and (/:plant2lock == "1")) and (/:plant3lock == "1")) and (/:plant4lock == "1")) and (/:plant5lock == "1")) and (/:plant6lock == "1")) {
Set("/:finished", "1");
tellTarget ("/message") {
gotoAndPlay ("complete");
};
} else {
tellTarget ("/message") {
gotoAndPlay("correct" add /:messageCounter);
};
Set("/:messageCounter", /:messageCounter + "1");
}
tellTarget ("/sound") {
gotoAndPlay ("clink");
};
} else {
call("/code:pos2");
tellTarget ("/message") {
gotoAndPlay ("wrong");
};
tellTarget ("/sound") {
gotoAndPlay ("whoosh");
};
}
Symbol 147 MovieClip Frame 12
setProperty("/plant1", _x , "170");
setProperty("/plant1", _y , "355");
setProperty("/plant2", _x , "440");
setProperty("/plant2", _y , "359");
setProperty("/plant3", _x , "380");
setProperty("/plant3", _y , "355");
setProperty("/plant4", _x , "501");
setProperty("/plant4", _y , "347");
setProperty("/plant5", _x , "51");
setProperty("/plant5", _y , "351");
setProperty("/plant6", _x , "103");
setProperty("/plant6", _y , "356");
Symbol 147 MovieClip Frame 14
setProperty("/glass1end", _visible , "0");
setProperty("/glass2end", _visible , "0");
setProperty("/glass3end", _visible , "0");
setProperty("/glass4end", _visible , "0");
setProperty("/glass5end", _visible , "0");
setProperty("/glass6end", _visible , "0");
setProperty("/glass7end", _visible , "0");
setProperty("/glass1shad", _visible , "1");
setProperty("/glass2shad", _visible , "1");
setProperty("/glass3shad", _visible , "1");
setProperty("/glass4shad", _visible , "1");
setProperty("/glass5shad", _visible , "1");
setProperty("/glass6shad", _visible , "1");
setProperty("/glass7shad", _visible , "1");
Symbol 147 MovieClip Frame 16
if ((("/" add /:myName) add "drop") eq /:myDrop) {
setProperty("/" add /:myName, _visible , "0");
setProperty(("/" add /:myName) add "end", _visible , "1");
setProperty(("/" add /:myName) add "shad", _visible , "0");
Set(("/:" add /:myName) add "lock", "1");
if (((((((/:glass1lock == "1") and (/:glass2lock == "1")) and (/:glass3lock == "1")) and (/:glass4lock == "1")) and (/:glass5lock == "1")) and (/:glass6lock == "1")) and (/:glass7lock == "1")) {
Set("/:finished", "1");
tellTarget ("/message") {
gotoAndPlay ("completefinal");
};
} else {
tellTarget ("/message") {
gotoAndPlay("correct" add /:messageCounter);
};
Set("/:messageCounter", /:messageCounter + "1");
}
tellTarget ("/sound") {
gotoAndPlay ("glass");
};
} else {
call("/code:pos3");
tellTarget ("/message") {
gotoAndPlay ("wrong");
};
tellTarget ("/sound") {
gotoAndPlay ("whoosh");
};
}
Symbol 147 MovieClip Frame 18
setProperty("/glass1", _x , "548");
setProperty("/glass1", _y , "340");
setProperty("/glass2", _x , "237");
setProperty("/glass2", _y , "349");
setProperty("/glass3", _x , "400");
setProperty("/glass3", _y , "346");
setProperty("/glass4", _x , "55");
setProperty("/glass4", _y , "341");
setProperty("/glass5", _x , "175");
setProperty("/glass5", _y , "340");
setProperty("/glass6", _x , "478");
setProperty("/glass6", _y , "344");
setProperty("/glass7", _x , "119");
setProperty("/glass7", _y , "341");
Symbol 147 MovieClip Frame 20
xDiff = getProperty(/:myName, _x) - getProperty(/:myDrop, _x);
yDiff = getProperty(/:myName, _y) - getProperty(/:myDrop, _y);
if (getProperty(/:myName, _droptarget) ne /:myDrop) {
if ((!/:bobSpeak) and ((/:timeNow + /:interval) < getTimer())) {
if (/:leftOrRight) {
if (xDiff < "0") {
tellTarget ("/message") {
gotoAndPlay ("right");
};
} else if ("0" < xDiff) {
tellTarget ("/message") {
gotoAndPlay ("left");
};
}
} else if (yDiff < "0") {
tellTarget ("/message") {
gotoAndPlay ("down");
};
} else if ("0" < yDiff) {
tellTarget ("/message") {
gotoAndPlay ("up");
};
}
Set("/:leftOrRight", !/:leftOrRight);
}
} else if (/:bobSpeak == "0") {
tellTarget ("/message") {
gotoAndPlay ("there");
};
}
startDrag (/:myName, true, /:dragLeft, /:dragTop, /:dragRight, /:dragBottom);
Symbol 154 MovieClip Frame 1
Set("/:wormPlay", "0");
stop();
Symbol 154 MovieClip Frame 2
Set("/:wormPlay", "1");
Symbol 176 Button
on (rollOver) {
if (!/:wormPlay) {
if (/:wormToggle == "1") {
tellTarget ("cactus/worm") {
gotoAndPlay (2);
};
} else {
tellTarget ("cactus/worm2") {
gotoAndPlay (2);
};
}
Set("/:wormToggle", !/:wormToggle);
}
}
Symbol 179 MovieClip Frame 1
_xscale = /:scale;
_yscale = /:scale;
Symbol 181 Button
on (press) {
if (((/:plant3lock == "1") or (/:plant4lock == "1")) or (/:plant6lock == "1")) {
Set("/:dragLeft", "43");
Set("/:dragTop", "97");
Set("/:dragRight", "555");
Set("/:dragBottom", "357");
Set("/:myName", "/" add _name);
Set("/:myDrop", /:myName add "drop");
Set("/:moving", "1");
} else {
stopDrag();
call("/code:pos2");
tellTarget ("/message") {
gotoAndPlay ("order");
};
}
}
on (release, releaseOutside) {
stopDrag();
Set("/:myName", _name);
Set("/:myDrop", _droptarget);
Set("/:moving", "0");
if (((/:plant3lock == "1") or (/:plant4lock == "1")) or (/:plant6lock == "1")) {
call("/code:check2");
}
}
Symbol 184 Button
on (press) {
Set("/:dragLeft", "41");
Set("/:dragTop", "92");
Set("/:dragRight", "560");
Set("/:dragBottom", "361");
Set("/:myName", "/" add _name);
Set("/:myDrop", /:myName add "drop");
Set("/:moving", "1");
}
on (release, releaseOutside) {
stopDrag();
Set("/:myName", _name);
Set("/:myDrop", _droptarget);
Set("/:moving", "0");
call("/code:check2");
}
Symbol 187 Button
on (press) {
Set("/:dragLeft", "43");
Set("/:dragTop", "100");
Set("/:dragRight", "557");
Set("/:dragBottom", "352");
Set("/:myName", "/" add _name);
Set("/:myDrop", /:myName add "drop");
Set("/:moving", "1");
}
on (release, releaseOutside) {
stopDrag();
Set("/:myName", _name);
Set("/:myDrop", _droptarget);
Set("/:moving", "0");
call("/code:check2");
}
Symbol 190 Button
on (press) {
if ((((/:plant1lock == "1") or (/:plant2lock == "1")) or (/:plant4lock == "1")) or (/:plant5lock == "1")) {
Set("/:dragLeft", "41");
Set("/:dragTop", "97");
Set("/:dragRight", "560");
Set("/:dragBottom", "357");
Set("/:myName", "/" add _name);
Set("/:myDrop", /:myName add "drop");
Set("/:moving", "1");
} else {
stopDrag();
call("/code:pos2");
tellTarget ("/message") {
gotoAndPlay ("order");
};
}
}
on (release, releaseOutside) {
stopDrag();
Set("/:myName", _name);
Set("/:myDrop", _droptarget);
Set("/:moving", "0");
if ((((/:plant1lock == "1") or (/:plant2lock == "1")) or (/:plant4lock == "1")) or (/:plant5lock == "1")) {
call("/code:check2");
}
}
Symbol 193 Button
on (press) {
Set("/:dragLeft", "36");
Set("/:dragTop", "94");
Set("/:dragRight", "565");
Set("/:dragBottom", "360");
Set("/:myName", "/" add _name);
Set("/:myDrop", /:myName add "drop");
Set("/:moving", "1");
}
on (release, releaseOutside) {
stopDrag();
Set("/:myName", _name);
Set("/:myDrop", _droptarget);
Set("/:moving", "0");
call("/code:check2");
}
Symbol 196 Button
on (press) {
Set("/:dragLeft", "45");
Set("/:dragTop", "97");
Set("/:dragRight", "556");
Set("/:dragBottom", "356");
Set("/:myName", "/" add _name);
Set("/:myDrop", /:myName add "drop");
Set("/:moving", "1");
}
on (release, releaseOutside) {
stopDrag();
Set("/:myName", _name);
Set("/:myDrop", _droptarget);
Set("/:moving", "0");
call("/code:check2");
}
Symbol 198 Button
on (press) {
Set("/:zoom", "1");
gotoAndPlay(_currentframe + "1");
tellTarget ("/message") {
gotoAndStop (1);
};
}
Symbol 221 MovieClip Frame 1
_xscale = /:scale;
_yscale = /:scale;
Symbol 223 Button
on (press) {
Set("/:dragTop", "106");
Set("/:dragLeft", "31");
Set("/:dragBottom", "349");
Set("/:dragRight", "568");
Set("/:myName", "/" add _name);
Set("/:myDrop", /:myName add "drop");
Set("/:moving", "1");
}
on (release, releaseOutside) {
stopDrag();
Set("/:myName", _name);
Set("/:myDrop", _droptarget);
Set("/:moving", "0");
call("/code:check3");
}
Symbol 226 Button
on (press) {
Set("/:dragTop", "103");
Set("/:dragLeft", "38");
Set("/:dragBottom", "350");
Set("/:dragRight", "561");
Set("/:myName", "/" add _name);
Set("/:myDrop", /:myName add "drop");
Set("/:moving", "1");
}
on (release, releaseOutside) {
stopDrag();
Set("/:myName", _name);
Set("/:myDrop", _droptarget);
Set("/:moving", "0");
call("/code:check3");
}
Symbol 229 Button
on (press) {
Set("/:dragTop", "107");
Set("/:dragLeft", "38");
Set("/:dragBottom", "346");
Set("/:dragRight", "560");
Set("/:myName", "/" add _name);
Set("/:myDrop", /:myName add "drop");
Set("/:moving", "1");
}
on (release, releaseOutside) {
stopDrag();
Set("/:myName", _name);
Set("/:myDrop", _droptarget);
Set("/:moving", "0");
call("/code:check3");
}
Symbol 232 Button
on (press) {
Set("/:dragTop", "109");
Set("/:dragLeft", "50");
Set("/:dragBottom", "348");
Set("/:dragRight", "550");
Set("/:myName", "/" add _name);
Set("/:myDrop", /:myName add "drop");
Set("/:moving", "1");
}
on (release, releaseOutside) {
stopDrag();
Set("/:myName", _name);
Set("/:myDrop", _droptarget);
Set("/:moving", "0");
call("/code:check3");
}
Symbol 235 Button
on (press) {
Set("/:dragTop", "103");
Set("/:dragLeft", "56");
Set("/:dragBottom", "352");
Set("/:dragRight", "544");
Set("/:myName", "/" add _name);
Set("/:myDrop", /:myName add "drop");
Set("/:moving", "1");
}
on (release, releaseOutside) {
stopDrag();
Set("/:myName", _name);
Set("/:myDrop", _droptarget);
Set("/:moving", "0");
call("/code:check3");
}
Symbol 238 Button
on (press) {
Set("/:dragTop", "99");
Set("/:dragLeft", "44");
Set("/:dragBottom", "356");
Set("/:dragRight", "556");
Set("/:myName", "/" add _name);
Set("/:myDrop", /:myName add "drop");
Set("/:moving", "1");
}
on (release, releaseOutside) {
stopDrag();
Set("/:myName", _name);
Set("/:myDrop", _droptarget);
Set("/:moving", "0");
call("/code:check3");
}
Symbol 241 Button
on (press) {
Set("/:dragTop", "107");
Set("/:dragLeft", "48");
Set("/:dragBottom", "347");
Set("/:dragRight", "552");
Set("/:myName", "/" add _name);
Set("/:myDrop", /:myName add "drop");
Set("/:moving", "1");
}
on (release, releaseOutside) {
stopDrag();
Set("/:myName", _name);
Set("/:myDrop", _droptarget);
Set("/:moving", "0");
call("/code:check3");
}