Frame 1
playerversion = $version;
majorversion = substring(playerversion, "6", "2");
minorversion = substring(playerversion, "9", "2");
Frame 34
ifFrameLoaded (35) {
frameLoaded = "1";
}
if (frameLoaded == "1") {
gotoAndStop (35);
} else {
gotoAndPlay (33);
}
Frame 35
stop();
Symbol 16 MovieClip Frame 9
gotoAndPlay (1);
Symbol 28 Button
on (release) {
stopAllSounds();
tellTarget ("sounds") {
gotoAndPlay ("strike");
};
gotoAndPlay (2);
}
Symbol 36 MovieClip Frame 2
gotoAndStop (1);
Symbol 36 MovieClip Frame 3
gotoAndStop (1);
Symbol 36 MovieClip Frame 4
gotoAndStop (1);
Symbol 36 MovieClip Frame 5
gotoAndStop (1);
Symbol 36 MovieClip Frame 6
gotoAndStop (1);
Symbol 46 Button
on (release) {
tellTarget ("sounds") {
gotoAndPlay ("snap");
};
Set("workArea:activityState", "watch");
setProperty("workArea", _visible , "0");
call("workArea/stageManager:removeIndicator");
gotoAndPlay (4);
}
Symbol 51 Button
on (release) {
tellTarget ("sounds") {
gotoAndPlay ("pick");
};
call("librarian:pageDown");
}
Symbol 52 Button
on (release) {
tellTarget ("sounds") {
gotoAndPlay ("pick");
};
call("librarian:pageUp");
}
Symbol 81 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 2
stop();
Symbol 81 MovieClip Frame 3
stop();
Symbol 81 MovieClip Frame 4
stop();
Symbol 81 MovieClip Frame 5
stop();
Symbol 81 MovieClip Frame 6
stop();
Symbol 81 MovieClip Frame 7
stop();
Symbol 89 MovieClip Frame 1
theBackground = random(getProperty("../backgrounds", _totalframes)) + "1";
Set("../:theBackground", theBackground);
tellTarget ("../backgrounds") {
theBackground = ../:theBackground;
gotoAndStop(theBackground);
};
tellTarget ("../../scenarios") {
theBackground = ../workArea:theBackground;
gotoAndStop(theBackground);
};
tellTarget ("../../scenarios/text") {
i = random("3") + "1";
gotoAndStop(i);
};
stop();
Symbol 89 MovieClip Frame 2
curNumClips = curNumClips + "1";
theClipName = "stageClip" add curNumClips;
theClip = "../" add theClipName;
duplicateMovieClip ("../stageClip0", theClipName, curNumClips);
setProperty(theClip, _x , theLocH);
setProperty(theClip, _y , theLocV);
setProperty(theClip, _rotation , theRotation);
setProperty(theClip, _xscale , theWidth);
setProperty(theClip, _yscale , theHeight);
Set(theClip add ":theInventory", theInventory);
Set(theClip add ":theImage", theImage);
if (theInventory == "1") {
tellTarget (theClip add "/inventory1") {
theImage = ../:theImage;
gotoAndStop(theImage);
};
tellTarget (theClip add "/inventory2") {
gotoAndStop (1);
};
} else {
tellTarget (theClip add "/inventory1") {
gotoAndStop (1);
};
tellTarget (theClip add "/inventory2") {
theImage = ../:theImage;
gotoAndStop(theImage);
};
}
tellTarget (theClip) {
gotoAndStop ("active");
};
call("showTools");
Symbol 89 MovieClip Frame 3
if ("0" < curNumClips) {
tellTarget ("../stageClip" add curNumClips) {
gotoAndStop ("inactive");
};
}
call("removeTools");
Symbol 89 MovieClip Frame 4
tellTarget ("../../tools") {
gotoAndStop ("active");
}
Symbol 89 MovieClip Frame 5
tellTarget ("../../tools") {
gotoAndStop ("inactive");
}
Symbol 158 MovieClip Frame 1
stop();
Symbol 158 MovieClip Frame 2
stop();
Symbol 158 MovieClip Frame 3
stop();
Symbol 158 MovieClip Frame 4
Set("../:theImage", _currentframe);
stop();
Symbol 158 MovieClip Frame 5
stop();
Symbol 158 MovieClip Frame 6
stop();
Symbol 158 MovieClip Frame 7
stop();
Symbol 158 MovieClip Frame 8
stop();
Symbol 158 MovieClip Frame 9
stop();
Symbol 158 MovieClip Frame 10
stop();
Symbol 158 MovieClip Frame 11
stop();
Symbol 158 MovieClip Frame 12
stop();
Symbol 158 MovieClip Frame 13
stop();
Symbol 158 MovieClip Frame 14
stop();
Symbol 158 MovieClip Frame 15
stop();
Symbol 158 MovieClip Frame 16
Set("../:theImage", _currentframe);
stop();
Symbol 158 MovieClip Frame 17
stop();
Symbol 158 MovieClip Frame 18
stop();
Symbol 158 MovieClip Frame 19
stop();
Symbol 158 MovieClip Frame 20
stop();
Symbol 158 MovieClip Frame 21
stop();
Symbol 158 MovieClip Frame 22
stop();
Symbol 158 MovieClip Frame 23
stop();
Symbol 158 MovieClip Frame 24
stop();
Symbol 158 MovieClip Frame 25
stop();
Symbol 158 MovieClip Frame 26
stop();
Symbol 158 MovieClip Frame 27
Set("../:theImage", _currentframe);
stop();
Symbol 158 MovieClip Frame 28
stop();
Symbol 158 MovieClip Frame 29
stop();
Symbol 158 MovieClip Frame 30
stop();
Symbol 158 MovieClip Frame 31
stop();
Symbol 158 MovieClip Frame 32
stop();
Symbol 158 MovieClip Frame 33
stop();
Symbol 158 MovieClip Frame 34
stop();
Symbol 158 MovieClip Frame 35
stop();
Symbol 158 MovieClip Frame 36
stop();
Symbol 158 MovieClip Frame 37
stop();
Symbol 158 MovieClip Frame 38
Set("../:theImage", _currentframe);
stop();
Symbol 158 MovieClip Frame 39
stop();
Symbol 158 MovieClip Frame 40
stop();
Symbol 158 MovieClip Frame 41
stop();
Symbol 158 MovieClip Frame 42
stop();
Symbol 158 MovieClip Frame 43
stop();
Symbol 158 MovieClip Frame 44
stop();
Symbol 158 MovieClip Frame 45
stop();
Symbol 158 MovieClip Frame 46
stop();
Symbol 158 MovieClip Frame 47
stop();
Symbol 158 MovieClip Frame 48
stop();
Symbol 158 MovieClip Frame 49
Set("../:theImage", _currentframe);
stop();
Symbol 158 MovieClip Frame 50
stop();
Symbol 158 MovieClip Frame 51
stop();
Symbol 158 MovieClip Frame 52
stop();
Symbol 158 MovieClip Frame 53
stop();
Symbol 158 MovieClip Frame 54
stop();
Symbol 158 MovieClip Frame 55
stop();
Symbol 158 MovieClip Frame 56
stop();
Symbol 158 MovieClip Frame 57
stop();
Symbol 158 MovieClip Frame 58
stop();
Symbol 158 MovieClip Frame 59
stop();
Symbol 158 MovieClip Frame 60
Set("../:theImage", _currentframe);
stop();
Symbol 158 MovieClip Frame 61
stop();
Symbol 158 MovieClip Frame 62
stop();
Symbol 158 MovieClip Frame 63
stop();
Symbol 158 MovieClip Frame 64
stop();
Symbol 158 MovieClip Frame 65
stop();
Symbol 158 MovieClip Frame 66
stop();
Symbol 158 MovieClip Frame 67
stop();
Symbol 158 MovieClip Frame 68
stop();
Symbol 158 MovieClip Frame 69
stop();
Symbol 158 MovieClip Frame 70
stop();
Symbol 158 MovieClip Frame 71
stop();
Symbol 158 MovieClip Frame 72
stop();
Symbol 158 MovieClip Frame 73
stop();
Symbol 160 Button
on (press) {
if (../:activityState eq "play") {
duplicateMovieClip ("../../offHandClip", "inHandClip", "0");
Set("../stageManager:theLocH", _x);
Set("../stageManager:theLocV", _y);
Set("../stageManager:theRotation", _rotation);
Set("../stageManager:theHeight", _yscale);
Set("../stageManager:theWidth", _xscale);
Set("../stageManager:theInventory", theInventory);
Set("../stageManager:theImage", theImage);
Set("../../inHandClip:theCaller", "stage");
Set("../../inHandClip:theInventory", theInventory);
Set("../../inHandClip:theImage", theImage);
setProperty("../../inHandClip", _x , _x);
setProperty("../../inHandClip", _y , _y);
setProperty("../../inHandClip", _rotation , _rotation);
setProperty("../../inHandClip", _xscale , _xscale);
setProperty("../../inHandClip", _yscale , _yscale);
tellTarget ("../../inHandClip/inventory" add theInventory) {
theImage = ../:theImage;
gotoAndStop(theImage);
};
startDrag ("../../inHandClip");
call("../stageManager:removeIndicator");
removeMovieClip("/main/workArea/" add _name);
}
}
Symbol 162 MovieClip Frame 1
stop();
Symbol 162 MovieClip Frame 2
if (theInventory == "1") {
tellTarget ("inventory1") {
theImage = ../:theImage;
gotoAndStop(theImage);
};
tellTarget ("inventory2") {
gotoAndStop (1);
};
} else {
tellTarget ("inventory1") {
gotoAndStop (1);
};
tellTarget ("inventory2") {
theImage = ../:theImage;
gotoAndStop(theImage);
};
}
theRotation = _rotation;
if (theRotation < "0") {
theRotation = theRotation + "360";
} else if ("360" < theRotation) {
theRotation = theRotation - "360";
}
if (("90" >= theRotation) or (theRotation >= "270")) {
theRotation = "360" - theRotation;
} else if ("180" >= theRotation) {
theRotation = "180" + ("180" - theRotation);
} else if ("180" < theRotation) {
theRotation = "180" - (theRotation - "180");
}
setProperty("../" add _name, _rotation , theRotation);
gotoAndStop (3);
Symbol 162 MovieClip Frame 3
stop();
Symbol 163 MovieClip Frame 1
activityState = "play";
stop();
Symbol 165 MovieClip Frame 1
totalLibraryNum = "4";
totalItemNum = getProperty("../libraryClip1/inventory1", _totalframes) - "1";
thePage = "1";
pageMax = totalItemNum / "4";
call("createLibrary");
call("createPage");
stop();
Symbol 165 MovieClip Frame 2
if (theImage == "0") {
theImage = "1";
}
if (theImage == "1") {
tellTarget ("../" add theTarget) {
gotoAndPlay ("inactive");
};
} else {
tellTarget ("../" add theTarget) {
gotoAndPlay ("active");
};
}
Set(("../" add theTarget) add ":theInventory", "1");
Set(("../" add theTarget) add ":theImage", theImage);
tellTarget (("../" add theTarget) add "/inventory1") {
theImage = ../:theImage;
gotoAndStop(theImage);
};
call("doPageMod");
if (theCaller eq "internal") {
Set(("../" add theTarget) add ":theItem", theItem);
} else {
Set("item" add eval (("../" add theTarget) add ":theItem"), theImage);
}
Symbol 165 MovieClip Frame 3
x = "0";
while (x < totalItemNum) {
x = x + "1";
Set("item" add x, x + "1");
}
Symbol 165 MovieClip Frame 4
theCaller = "internal";
call("doPageMod");
i = "5";
if (theDirection eq "down") {
x = "0";
while (x < "4") {
x = x + "1";
i = i - "1";
theItem = i + thePush;
theImage = eval ("item" add theItem);
theTarget = "libraryClip" add x;
call("createClip");
}
} else {
x = "5";
while ("1" < x) {
x = x - "1";
i = i - "1";
theItem = i + thePush;
theImage = eval ("item" add theItem);
theTarget = "libraryClip" add ("5" - x);
call("createClip");
}
}
Symbol 165 MovieClip Frame 5
thePage = thePage + "1";
theDirection = "up";
if (pageMax < thePage) {
thePage = "1";
} else if (thePage < "1") {
thePage = pageMax;
}
call("createPage");
Symbol 165 MovieClip Frame 6
thePage = thePage - "1";
theDirection = "down";
if (pageMax < thePage) {
thePage = "1";
} else if (thePage < "1") {
thePage = pageMax;
}
call("createPage");
Symbol 165 MovieClip Frame 7
thePush = (thePage - "1") * "4";
Symbol 166 Button
on (press) {
theDropTarget = substring(_droptarget, "0", "14");
if (theDropTarget eq "/main/workArea") {
Set("../workArea/stageManager:theLocH", _x);
Set("../workArea/stageManager:theLocV", _y);
Set("../workArea/stageManager:theRotation", _rotation);
Set("../workArea/stageManager:theHeight", _yscale);
Set("../workArea/stageManager:theWidth", _xscale);
Set("../workArea/stageManager:theImage", theImage);
Set("../workArea/stageManager:theInventory", theInventory);
call("../workArea/stageManager:createClip");
} else {
libraryNum = "0";
onaSpot = "0";
while (libraryNum < ../librarian:totalLibraryNum) {
libraryNum = libraryNum + "1";
theSpotName = "/main/libraryClip" add libraryNum;
theDropTarget = substring(_droptarget, "1", "18" + (libraryNum / "10"));
if (theDropTarget eq theSpotName) {
if (eval (theDropTarget add "/inventory1:theImage") == "1") {
theSpot = libraryNum;
}
}
}
if ("0" < theSpot) {
tellTarget ("../sounds") {
gotoAndPlay ("pick");
};
Set("../librarian:theTarget", "libraryClip" add theSpot);
Set("../librarian:theImage", theImage);
Set("../librarian:theCaller", external);
call("../librarian:createClip");
} else if (theCaller eq "stage") {
call("../workArea/stageManager:createClip");
} else {
Set("../librarian:theTarget", ../librarian:theOriginal);
Set("../librarian:theImage", theImage);
call("../librarian:createClip");
}
}
removeMovieClip("/main/inHandClip");
}
Symbol 167 MovieClip Frame 1
stop();
Symbol 169 MovieClip Frame 2
theClip = "../workArea/stageClip" add ../workArea/stageManager:curNumClips;
if ((theAction ne "none") and (theClip ne "none")) {
if (theAction eq "shrink") {
setProperty(theClip, _xscale , getProperty(theClip, _xscale) - "10");
setProperty(theClip, _yscale , getProperty(theClip, _yscale) - "10");
} else if (theAction eq "grow") {
setProperty(theClip, _xscale , getProperty(theClip, _xscale) + "10");
setProperty(theClip, _yscale , getProperty(theClip, _yscale) + "10");
} else if (theAction eq "spin") {
setProperty(theClip, _rotation , getProperty(theClip, _rotation) + "5");
} else if (theAction eq "flip") {
theAction = "none";
theInventory = eval (theClip add ":theInventory") + "1";
if (theInventory >= "3") {
theInventory = "1";
}
Set(theClip add ":theInventory", theInventory);
tellTarget (theClip) {
gotoAndStop ("flip");
};
}
}
gotoAndPlay (1);
Symbol 174 Button
on (release) {
call("../workArea/stageManager:removeIndicator");
}
Symbol 177 Button
on (press) {
Set("../transformer:theAction", "shrink");
}
on (release, releaseOutside) {
Set("../transformer:theAction", "none");
}
Symbol 180 Button
on (press) {
Set("../transformer:theAction", "flip");
}
on (release, releaseOutside) {
Set("../transformer:theAction", "none");
}
Symbol 183 Button
on (press) {
Set("../transformer:theAction", "spin");
}
on (release, releaseOutside) {
Set("../transformer:theAction", "none");
}
Symbol 186 Button
on (press) {
Set("../transformer:theAction", "grow");
}
on (release, releaseOutside) {
Set("../transformer:theAction", "none");
}
Symbol 187 MovieClip Frame 1
stop();
Symbol 187 MovieClip Frame 2
stop();
Symbol 190 Button
on (press) {
theH = _x;
theV = _y;
Set("../librarian:theOriginal", _name);
duplicateMovieClip ("../offHandClip", "inHandClip", "0");
Set("../inHandClip:theCaller", "library");
Set("../inHandClip:theInventory", theInventory);
Set("../inHandClip:theImage", theImage);
tellTarget ("../inHandClip/inventory1") {
theImage = ../:theImage;
gotoAndStop(theImage);
};
setProperty("../inHandClip", _x , theH);
setProperty("../inHandClip", _y , theV);
i = random("2");
if (i == "0") {
theRotation = random("25");
} else {
theRotation = random("25") * (-"1");
}
setProperty("../inHandClip", _rotation , theRotation);
startDrag ("../inHandClip");
theImage = "1";
Set("../librarian:theTarget", _name);
Set("../librarian:theImage", theImage);
Set("../librarian:theCaller", "external");
call("../librarian:createClip");
call("../workArea/stageManager:removeIndicator");
}
Symbol 191 MovieClip Frame 3
stop();
Symbol 191 MovieClip Frame 6
stop();
Symbol 195 MovieClip Frame 3
gotoAndPlay (1);
Symbol 200 Button
on (release) {
tellTarget ("../sounds") {
gotoAndPlay ("strike");
};
tellTarget ("../") {
gotoAndPlay ("play");
}
}
Symbol 206 Button
on (release) {
tellTarget ("../") {
gotoAndPlay ("print.staging");
}
}
Symbol 208 MovieClip Frame 1
stopAllSounds();
Symbol 208 MovieClip Frame 8
stopAllSounds();
tellTarget ("../sounds") {
gotoAndPlay ("end");
};
setProperty("../workArea", _visible , "1");
setProperty("../workArea", _rotation , -"12.6");
setProperty("../workArea", _xscale , getProperty("../workArea", _xscale) * "0.56");
setProperty("../workArea", _yscale , getProperty("../workArea", _yscale) * "0.56");
setProperty("../workArea", _x , "62");
setProperty("../workArea", _y , "83");
Symbol 208 MovieClip Frame 9
setProperty("../workArea", _xscale , getProperty("../workArea", _xscale) * "1.05");
setProperty("../workArea", _yscale , getProperty("../workArea", _yscale) * "1.05");
setProperty("../workArea", _rotation , getProperty("../workArea", _rotation) + "1.3");
Symbol 208 MovieClip Frame 10
majorversion = substring(../../:playerversion, "6", "2");
minorversion = substring(../../:playerversion, "9", "2");
if ((majorversion >= "5") or (minorversion >= "20")) {
setProperty("Print Movie", _visible , "1");
} else {
setProperty("Print Movie", _visible , "0");
}
stop();
setProperty("../workArea", _xscale , getProperty("../workArea", _xscale) * "0.95");
setProperty("../workArea", _yscale , getProperty("../workArea", _yscale) * "0.95");
setProperty("../workArea", _rotation , -"12.6");
stop();
Symbol 208 MovieClip Frame 12
ScaleFactor = "10";
setProperty("../workArea", _rotation , "0");
setProperty("../workArea", _xscale , "80");
setProperty("../workArea", _yscale , "80");
setProperty("../workArea", _y , getProperty("../workArea", _y) - "50");
setProperty("../workArea", _x , getProperty("../workArea", _x) - "20");
Symbol 208 MovieClip Frame 13
setProperty("../workArea", _xscale , getProperty("../workArea", _xscale) + ScaleFactor);
setProperty("../workArea", _yscale , getProperty("../workArea", _yscale) + ScaleFactor);
Symbol 208 MovieClip Frame 14
setProperty("../workArea", _xscale , getProperty("../workArea", _xscale) + ScaleFactor);
setProperty("../workArea", _yscale , getProperty("../workArea", _yscale) + ScaleFactor);
Symbol 208 MovieClip Frame 15
setProperty("../workArea", _xscale , getProperty("../workArea", _xscale) + ScaleFactor);
setProperty("../workArea", _yscale , getProperty("../workArea", _yscale) + ScaleFactor);
Symbol 208 MovieClip Frame 16
setProperty("../workArea", _xscale , getProperty("../workArea", _xscale) + ScaleFactor);
setProperty("../workArea", _yscale , getProperty("../workArea", _yscale) + ScaleFactor);
Symbol 208 MovieClip Frame 20
setProperty("../workArea", _visible , "1");
Symbol 208 MovieClip Frame 21
getURL ("printAsBitMap:", "/main");
Symbol 208 MovieClip Frame 22
stop();
Symbol 214 MovieClip Frame 1
tellTarget ("sounds") {
gotoAndPlay ("beginning");
};
stop();
Symbol 214 MovieClip Frame 3
stopAllSounds();
stop();
Symbol 214 MovieClip Frame 4
stop();
Symbol 214 MovieClip Frame 5
stopAllSounds();