Frame 1
function freefall() {
tarzan._x = tarzan._x + _root:x;
if (_root:grav == true) {
tarzan._y = tarzan._y + _root:y;
} else {
tarzan._y = tarzan._y + 10;
}
Set("_root:x", _root:x * 0.85);
Set("_root:y", (_root:y + _root:g) * 0.85);
}
function scrolling(name, speed) {
item = _root[name];
w = item._width;
xPos = _root.tarzan._x;
yPos = _root.tarzan._y;
xPos = xPos - _root.border._x;
if (_root.tarzan:scrollStart == true) {
item._x = item._x - (xPos / speed);
if (item._x < (-(w / 2))) {
item._x = 0.01;
} else if (0 < item._x) {
item._x = (-w) / 2;
}
}
}
function scroll2(name) {
subject = _root[name];
speed = 10;
xPos = _root.tarzan._x;
yPos = _root.tarzan._y;
xPos = xPos - _root.border._x;
if (_root.tarzan:scrollStart == true) {
subject._x = subject._x - (xPos / speed);
}
}
function ranNumArray(values, limit) {
var count = -1;
while (values >= numbers.length) {
var match = false;
count++;
var ran = random(limit);
var x = 0;
while (numbers.length >= x) {
if (ran == numbers[x]) {
match = true;
break;
}
x++;
}
if (!match) {
numbers[count] = ran;
} else {
count--;
}
}
numbers.sort(function (a, b) {
return(a - b);
});
return(numbers);
}
function editscroll(name) {
subject = _root[name];
speed = 10;
begin = 50;
end = -50 - _root.masterland._width;
scrollxPos = _root._xmouse;
scrollxPos = scrollxPos - (600 - _root._xmouse);
if ((_root._ymouse < 220) and (65 < _root._ymouse)) {
subject._x = subject._x - (scrollxPos / speed);
}
}
function slidegrow(name, newscale, xpos, ypos) {
symbol = _root[name];
symbol._xscale = symbol._xscale + ((newscale - symbol._xscale) / 5);
symbol._yscale = symbol._yscale + ((newscale - symbol._yscale) / 5);
if (_root:drag == false) {
symbol._x = symbol._x + ((xpos - symbol._x) / 5);
symbol._y = symbol._y + ((ypos - symbol._y) / 5);
}
}
if (0 < tag) {
import = true;
Set("_root:testing", "generic");
}
if (data != null) {
cookieExists = true;
} else {
cookieExists = false;
}
_root.loadingx.duplicateMovieClip("loading", 4002);
_root.loadingx._x = -1000;
n = 0;
lives = 3;
score = 0;
levels = 1;
sign = 0;
diamondtotal = 0;
meter = 100;
loaded = false;
edit = false;
redo = 50;
pause = false;
soundon = true;
dup = true;
sound1 = new Sound();
sound1.attachSound("diamondbell");
grunt1 = new Sound();
grunt1.attachSound("grunt");
String.prototype.findstring = function (string) {
if (this.indexOf(string) != -1) {
return(true);
}
return(false);
};
String.prototype.countletters = function (letter) {
var string = this;
var counter;
i = 0;
while (i < string.length) {
if (string.charAt(i) == letter) {
counter++;
}
i++;
}
return(counter);
};
percent = 0;
Set("_root.timer:timerOn", 0);
endload = false;
Instance of Symbol 9 MovieClip "loadingx" in Frame 1
onClipEvent (enterFrame) {
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
this._visible = false;
Set("_root:endload", true);
}
}
Instance of Symbol 12 MovieClip "cover" in Frame 1
onClipEvent (enterFrame) {
Set("_root:percent", ("loading" + int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100)) + "%");
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
_root.loading.gotoAndPlay(2);
}
}
Instance of Symbol 15 MovieClip "dist" in Frame 1
onClipEvent (load) {
this._xscale = 1;
}
onClipEvent (enterFrame) {
var dist = _root.masterland._width;
var pos = _root.masterland._x;
this._xscale = ((-pos) / dist) * 100;
}
Instance of Symbol 16 MovieClip "line" in Frame 1
onClipEvent (load) {
this._xscale = 1;
}
onClipEvent (enterFrame) {
if (_root:loaded == false) {
this._xscale = _root:scale;
} else if (0 < this._xscale) {
this._xscale = this._xscale + ((_root:meter - this._xscale) / 10);
if (this._xscale < 20) {
Set("_root.tarzan:fall", true);
Set("_root.tarzan:active", false);
}
}
}
Instance of Symbol 21 MovieClip in Frame 1
/* no clip actions */
Frame 2
scale = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
ifFrameLoaded (4) {
gotoAndPlay (4);
_root.cover.gotoAndPlay(2);
}
Frame 3
gotoAndPlay (2);
Frame 4
_root.introx.duplicateMovieClip("intro", 4001);
_root.introx._x = -1000;
_root.loadendx.duplicateMovieClip("loadend", 4000);
_root.loadendx._x = -2000;
Instance of Symbol 118 MovieClip "timer" in Frame 4
onClipEvent (enterFrame) {
timerFunk();
}
Instance of Symbol 189 MovieClip "masterland" in Frame 4
onClipEvent (enterFrame) {
if (_root:edit == true) {
this._xscale = this._xscale + ((50 - this._xscale) / 10);
this._yscale = this._yscale + ((50 - this._yscale) / 10);
if (setx != true) {
this._x = this._x + ((-this._x) / 10);
if (_root.masterland._x < 5) {
setx = true;
}
} else if (_root:tech != true) {
_root.editscroll(this._name);
}
this._y = this._y + ((200 - this._y) / 10);
} else {
this._xscale = 100;
this._yscale = 100;
this._y = 285.7;
_root.scroll2(this._name);
}
}
Instance of Symbol 193 MovieClip "sky" in Frame 4
onClipEvent (load) {
butn.duplicateMovieClip("butn2", 100);
butn2._x = butn._x + butn._width;
}
onClipEvent (enterFrame) {
_root.scrolling("sky", 20);
}
Instance of Symbol 197 MovieClip "mainGround" in Frame 4
onClipEvent (load) {
ground.duplicateMovieClip("ground2", 100);
ground2._x = ground._x + ground._width;
}
onClipEvent (enterFrame) {
_root.scrolling("mainground", 40);
}
Frame 5
if (dup == true) {
_root.levelboxx.duplicateMovieClip("levelbox", 3998);
dup = false;
}
stopAllSounds();
removeMovieClip(_root.life3);
removeMovieClip(_root.life2);
removeMovieClip(_root.life1);
loaded = true;
tmi = "2";
x = 0;
y = 0;
g = 3;
ground = 200;
vinejump = false;
delay = false;
if (_root:levels == 1) {
if (_root:import == true) {
imported = new Array();
h = 0;
while (h < 50) {
digit = tag.charAt(h);
_root.imported.push(digit);
h++;
}
checkup = _root.imported.toString();
terrain = _root.imported;
} else {
terrain = new Array(2, 5, 3, 3, 4, 3, 3, 3, 5, 1, 3, 4, 3, 1, 4, 3, 7, 3, 2, 3, 2, 2, 2, 7, 3, 5, 4, 3, 3, 5, 5, 3, 3, 3, 1, 3, 3, 3, 4, 5, 3, 3, 3, 2, 3, 2, 3, 7, 3, 1);
}
} else if (_root:levels == 2) {
terrain = new Array(1, 8, 2, 5, 5, 3, 6, 1, 4, 3, 8, 5, 3, 7, 3, 9, 4, 8, 3, 2, 6, 5, 2, 1, 3, 3, 3, 4, 5, 8, 3, 4, 9, 5, 9, 3, 5, 5, 5, 3, 7, 4, 3, 6, 1, 9, 3, 8, 8, 2);
} else if (_root:levels == 3) {
terrain = new Array(3, 9, 3, 3, 3, 8, 6, 6, 7, 8, 1, 4, 5, 5, 6, 4, 8, 3, 3, 3, 4, 5, 9, 4, 8, 5, 3, 3, 3, 3, 3, 3, 3, 3, 1, 3, 3, 3, 3, 3, 3, 9, 5, 8, 8, 7, 3, 3, 3, 3);
}
if (lives == -1) {
_root.masterland.gotoAndPlay(3);
_root.gotoAndStop("gameover");
}
_root.masterland.gotoAndStop(2);
Instance of Symbol 256 MovieClip "levelboxx" in Frame 5
/* no clip actions */
Frame 6
if (n == 0) {
stop();
n++;
}
Frame 7
trace("lives=" + lives);
k = 1;
while (lives >= k) {
life.duplicateMovieClip("life" + k, k + 300);
newLife = _root["life" + k];
prevLife = _root["life" + (k - 1)];
newLife._x = 492 + (k * 30);
k++;
}
tarzan._y = 0;
r = tarzan._width / 2;
if (sign == 0) {
_root.levelbox.gotoAndPlay(2);
_root.levelbox.message.gotoAndStop(levels);
sign = 1;
}
numbers = new Array();
ranNumArray(25, 50);
trace(ranNumArray(25, 50));
Instance of Symbol 285 MovieClip "emailform" in Frame 7
onClipEvent (load) {
intx = this._x;
inty = this._y;
ypos = inty;
}
onClipEvent (enterFrame) {
this._y = this._y + ((ypos - this._y) / 5);
}
Instance of Symbol 291 MovieClip "life" in Frame 7
onClipEvent (load) {
if (this._name == "life") {
this._visible = false;
}
}
Instance of Symbol 311 MovieClip "tarzan" in Frame 7
onClipEvent (load) {
this._xscale = -100;
this.gotoAndStop("fall");
this._x = _root:redo;
vinehit = false;
delay = false;
groundhit = false;
jumpcount = 0;
jump = false;
frame = 0;
scrollStart = false;
n = 0;
name = 0;
curname = 0;
prevname = 0;
vine = 0;
curvine = 0;
prevvine = 0;
space = 0;
alligator = false;
spaceup = false;
end = false;
fall = false;
loop = 0;
}
onClipEvent (enterFrame) {
active = false;
prevname = name;
prevvine = vine;
masterObj = _root.masterland;
for (eachObj in masterObj) {
finalObj = masterObj[eachObj].solid;
land = masterObj[eachObj];
if ((land._currentframe == 1) || (land._currentframe == 7)) {
if (this.hitTest(masterObj[eachObj].vine.end)) {
trace("hit");
activevine = true;
vine = masterObj[eachObj].vine.end;
vineparent = masterObj[eachObj].vine;
}
}
if (this.box.hitTest(finalObj) and (fall == false)) {
p = {x:finalObj._x, y:finalObj._y};
masterObj.localToGlobal(p);
Set("_root:level", p.y);
name = masterObj[eachObj];
frame = name._currentframe;
if (frame == 5) {
landpos = {x:name._x};
gator = {x:name.croc._x};
masterObj.localToGlobal(landpos);
name.localToGlobal(gator);
trace("alligator");
alligator = true;
follow = (landpos.x + gator.x) + _root.masterland._x;
trace((((((((("tarzan:" + _root.tarzan._x) + " masterland: ") + _root.masterland._x) + " landpos: ") + landpos.x) + " gatorx: ") + gator.x) + " croc: ") + masterObj[eachObj].croc._x);
}
active = true;
if (land._name == "land50") {
end = true;
}
}
}
curname = name;
if ((curname != prevname) and (end == false)) {
Set("_root.timer:timerOn", 1);
trace("ground contact" + (n++));
}
curvine = vine;
if (curvine != prevvine) {
trace("unique vine contact" + (n++));
vinehit = true;
}
if (active == true) {
if ((end == true) and (loop < 1)) {
trace("this is the end");
scrollStart = false;
Set("_root.timer:timerOn", 0);
_root.timer.gotoAndStop(3);
newlevel = Number(_root:levels);
newlevel++;
_root.levelbox.gotoAndPlay(2);
_root.levelbox.message.gotoAndPlay(5);
Set("_root:sign", 0);
trace("new level= " + newlevel);
Set("_root:levels", newlevel);
trace("level= " + _root:level);
loop++;
}
hit = true;
vine = 0;
if (jump == false) {
jump = true;
this.gotoAndPlay("crouch");
scrollStart = false;
}
} else if (active == false) {
hit = false;
}
if (vinehit == true) {
this.gotoAndStop("swing");
point = {x:curvine._x, y:curvine._y};
vineparent.localToGlobal(point);
dotx = point.x;
doty = point.y;
this._x = dotx;
this._y = doty;
if (_root:pause == false) {
scrollStart = true;
} else {
scrollStart = false;
}
if (spaceup == true) {
jump = true;
}
}
if ((_root:pause == false) and (end == false)) {
if (Key.isDown(Key.SPACE) and (jump == true)) {
spaceup = false;
trace("jumping");
_root.y = _root.y - 25;
jump = false;
jumpcount++;
vinehit = false;
alligator = false;
this.gotoAndStop("fall");
}
if (Key.isDown(Key.RIGHT) and (vinehit == false)) {
_root.x = _root.x + 2;
this._xscale = -100;
if (this._currentframe == 1) {
this.gotoAndPlay(2);
}
scrollStart = true;
_root.border._x = _root.border._x + ((100 - _root.border._x) / 15);
}
if (Key.isDown(Key.LEFT) and (vinehit == false)) {
_root.x = _root.x - 2;
this._xscale = 100;
if (this._currentframe == 1) {
this.gotoAndPlay(2);
}
if (0 < _root.masterland._x) {
scrollStart = false;
_root.border._x = _root.border._x + ((195 - _root.border._x) / 15);
} else {
scrollStart = true;
_root.border._x = _root.border._x + ((500 - _root.border._x) / 15);
}
}
if ((((_y + _root.r) + _root.y) >= _root:level) and (hit == true)) {
this._y = _root:level - _root.r;
_root.y = -_root.y;
_root.y = (_root.y + _root.g) * 0.4;
this._x = this._x + _root.x;
_root.x = _root.x * 0.85;
}
if ((_root.border._x - 200) >= ((_x - _root.r) + _root.x)) {
this._x = _root:r + (_root.border._x - 200);
this._y = this._y + _root.y;
}
if (((_x + _root.r) + _root.x) >= (_root.border._x + 200)) {
this._x = (_root.border._x + 200) - _root:r;
this._y = this._y + _root.y;
}
}
if ((vinehit == false) and (end == false)) {
if (alligator == false) {
this._x = this._x + _root.x;
} else {
this._x = follow;
}
if (_root:pause == false) {
this._y = this._y + _root.y;
_root.x = _root.x * 0.85;
_root.y = (_root.y + _root.g) * 0.85;
}
}
if (450 < this._y) {
Set("_root:lives", _root:lives - 1);
Set("_root:redo", this._x);
Set("_root:meter", 100);
_root.gotoAndPlay(5);
}
}
onClipEvent (keyUp) {
if (Key.getCode() == Key.RIGHT) {
scrollStart = false;
if (hit == true) {
this.gotoAndStop(1);
}
}
if (Key.getCode() == Key.LEFT) {
scrollStart = false;
if (hit == true) {
this.gotoAndStop(1);
}
}
if (Key.getCode() == Key.SPACE) {
spaceup = true;
}
}
Instance of Symbol 344 MovieClip "panther" in Frame 7
onClipEvent (load) {
if (this._name == "panther") {
this._visible = false;
this.gotoAndStop(1);
}
roar = new Sound(this);
roar.attachSound("growl");
timeout = 0;
}
onClipEvent (enterFrame) {
if ((0 < this._x) and (this._x < 600)) {
this.roar.setVolume(100);
} else {
this.roar.setVolume(0);
}
_root.scroll2(this._name);
if ((this.hitTest(_root.tarzan) and (timeout == 0)) and (_root:pause == false)) {
_root.tarzan.gotoAndPlay("crouch2");
_root.tarzan._x = _root.tarzan._x - 5;
_root.tarzan._y = _root.tarzan._y - 10;
_root.grunt1.start();
Set("_root:meter", _root:meter - 25);
timeout = 1;
}
if (timeout < 15) {
timeout++;
} else {
timeout = 0;
}
}
Instance of Symbol 346 MovieClip "diamond" in Frame 7
onClipEvent (load) {
this.gotoAndStop(1);
diamond = this._name;
}
onClipEvent (enterFrame) {
_root.scroll2(diamond);
if (this._x < 650) {
if (this.hitTest(_root.tarzan)) {
Set("_root:score", _root:score + 500);
_root:diamondtotal++;
_root.sound1.start();
this.removeMovieClip();
}
}
}
Instance of Symbol 349 MovieClip "scorebox" in Frame 7
/* no clip actions */
Instance of Symbol 352 MovieClip "border" in Frame 7
onClipEvent (load) {
this._visible = false;
}
Frame 10
if (sign == 1) {
j = 1;
while (25 >= j) {
diamond.duplicateMovieClip("diamond" + j, j + 200);
newDia = _root["diamond" + j];
xpos = numbers[j - 1];
trace(xpos);
newDia._x = 400 + (xpos * 300);
newDia._y = 180 - random(110);
j++;
}
w = 2;
while (50 >= w) {
chain = terrain.join("");
chain2 = new String(chain);
segment = chain2.slice(w - 3, w);
trace("segment= " + segment);
if (segment == "333") {
if ((_root:levels == 3) || (_root:import == true)) {
_root.panther.duplicateMovieClip("panther" + w, w + 2500);
newpanther = _root["panther" + w];
newpanther._x = _root.masterland._x + ((w - 1) * 300);
trace((("newpanther= " + newpanther) + " xpos= ") + newpanther._x);
}
}
w = w + 3;
}
sign = 2;
}
stop();
Frame 16
_root.timer.gotoAndStop(3);
_root.levelbox.gotoAndPlay(2);
_root.levelbox.message.gotoAndStop("over");
Frame 17
Set("_root.editbkgd:scale", 150);
newTerrain = new Array();
stop();
Instance of Symbol 361 MovieClip "landform9" in Frame 17
onClipEvent (load) {
platform.gotoAndStop(9);
platform.bkgd.gotoAndStop(2);
var value = 9;
var newscale = 100;
var intx = this._x;
var inty = this._y;
var xpos = intx;
var ypos = inty;
}
onClipEvent (enterFrame) {
platform.gotoAndStop(9);
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
newscale = 200;
} else {
newscale = 100;
}
_root.slidegrow(this._name, newscale, xpos, ypos);
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
Set("_parent:status", "");
startDrag (this, true);
Set("_root:drag", true);
}
}
onClipEvent (mouseUp) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
present = _root:selectnumber;
prevFr = _root.masterland["land" + (Number(present) - 1)]._currentframe;
nextFr = _root.masterland["land" + (Number(present) + 1)]._currentframe;
next = _root.masterland["land" + (Number(present) + 1)];
if (nextFr == 2) {
_parent.statusbox.gotoAndPlay(1);
Set("_parent:status", "Error: Placing Landform9 to the left of Landform1 would create a waterfall too great to leap across.");
} else if (nextFr == 7) {
_parent.statusbox.gotoAndPlay(1);
Set("_parent:status", "Error: Landform9 cannot be placed to the left of Landform6.");
} else if (nextFr == 6) {
_parent.statusbox.gotoAndPlay(1);
Set("_parent:status", "Error: Placing Landform9 to the left of Landform7 would create a waterfall too great to leap across.");
} else {
block = eval (_root:selection);
trace(block);
block.gotoAndStop(value);
block.buttonhold.gotoAndStop("select");
if (nextFr == 1) {
next.edge._visible = false;
}
this._x = intx;
this._y = inty;
this._xscale = 1;
this._yscale = 1;
Set("_parent:status", "");
}
Set("_root:drag", false);
stopDrag();
}
}
Instance of Symbol 362 MovieClip "landform8" in Frame 17
onClipEvent (load) {
platform.gotoAndStop(8);
platform.bkgd.gotoAndStop(2);
var value = 8;
var newscale = 100;
var intx = this._x;
var inty = this._y;
var xpos = intx;
var ypos = inty;
}
onClipEvent (enterFrame) {
platform.gotoAndStop(8);
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
newscale = 200;
} else {
newscale = 100;
}
_root.slidegrow(this._name, newscale, xpos, ypos);
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
Set("_parent:status", "");
startDrag (this, true);
Set("_root:drag", true);
}
}
onClipEvent (mouseUp) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
block = eval (_root:selection);
trace(block);
block.gotoAndStop(value);
block.buttonhold.gotoAndStop("select");
Set("_root:drag", false);
stopDrag();
this._x = intx;
this._y = inty;
this._xscale = 1;
this._yscale = 1;
}
}
Instance of Symbol 363 MovieClip "landform7" in Frame 17
onClipEvent (load) {
platform.gotoAndStop(6);
platform.bkgd.gotoAndStop(2);
var value = 6;
var newscale = 100;
var intx = this._x;
var inty = this._y;
var xpos = intx;
var ypos = inty;
}
onClipEvent (enterFrame) {
platform.gotoAndStop(6);
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
newscale = 200;
} else {
newscale = 100;
}
_root.slidegrow(this._name, newscale, xpos, ypos);
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
Set("_parent:status", "");
startDrag (this, true);
Set("_root:drag", true);
}
}
onClipEvent (mouseUp) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
present = _root:selectnumber;
prevFr = _root.masterland["land" + (Number(present) - 1)]._currentframe;
nextFr = _root.masterland["land" + (Number(present) + 1)]._currentframe;
if (prevFr == 4) {
_parent.statusbox.gotoAndPlay(1);
Set("_parent:status", "Error: Placing Landform7 to the right of Landform3 would create a waterfall too great to leap across.");
} else if (prevFr == 1) {
_parent.statusbox.gotoAndPlay(1);
Set("_parent:status", "Error: Landform7 cannot be placed to the right of Landform5.");
} else if (prevFr == 9) {
_parent.statusbox.gotoAndPlay(1);
Set("_parent:status", "Error: Placing Landform7 to the right of landform9 would create a waterfall too great to leap across.");
} else if (prevFr == 7) {
_parent.statusbox.gotoAndPlay(1);
Set("_parent:status", "Error: Landform7 cannot be placed to the right of Landform6.");
} else {
block = eval (_root:selection);
trace(block);
block.gotoAndStop(value);
block.buttonhold.gotoAndStop("select");
this._x = intx;
this._y = inty;
this._xscale = 1;
this._yscale = 1;
Set("_parent:status", "");
}
Set("_root:drag", false);
stopDrag();
}
}
Instance of Symbol 364 MovieClip "landform6" in Frame 17
onClipEvent (load) {
platform.gotoAndStop(7);
platform.bkgd.gotoAndStop(2);
var value = 7;
var newscale = 100;
var intx = this._x;
var inty = this._y;
var xpos = intx;
var ypos = inty;
}
onClipEvent (enterFrame) {
platform.gotoAndStop(7);
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
newscale = 200;
} else {
newscale = 100;
}
_root.slidegrow(this._name, newscale, xpos, ypos);
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
Set("_parent:status", "");
startDrag (this, true);
Set("_root:drag", true);
}
}
onClipEvent (mouseUp) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
present = _root:selectnumber;
prevFr = _root.masterland["land" + (Number(present) - 1)]._currentframe;
nextFr = _root.masterland["land" + (Number(present) + 1)]._currentframe;
if (prevFr == 4) {
_parent.statusbox.gotoAndPlay(1);
Set("_parent:status", "Error: Landform6 cannot be placed to the right of Landform3.");
} else if (prevFr == 1) {
_parent.statusbox.gotoAndPlay(1);
Set("_parent:status", "Error: Landform6 cannot be placed to the right of Landform5.");
} else if (prevFr == 9) {
_parent.statusbox.gotoAndPlay(1);
Set("_parent:status", "Error: Landform6 cannot be placed to the right of Landform9.");
} else if (prevFr == 7) {
_parent.statusbox.gotoAndPlay(1);
Set("_parent:status", "Error: Landform6 cannot be placed to the right of itself.");
} else if (prevFr == 5) {
_parent.statusbox.gotoAndPlay(1);
Set("_parent:status", "Error: Landform6 cannot be placed to the right of Landform4.");
} else if (nextFr == 5) {
_parent.statusbox.gotoAndPlay(1);
Set("_parent:status", "Error: Landform6 cannot be placed to the left of Landform4.");
} else if (nextFr == 7) {
_parent.statusbox.gotoAndPlay(1);
Set("_parent:status", "Error: Landform6 cannot be placed to the right of itself.");
} else if (nextFr == 1) {
_parent.statusbox.gotoAndPlay(1);
Set("_parent:status", "Error: Landform6 cannot be placed to the left of Landform5.");
} else if (nextFr == 2) {
_parent.statusbox.gotoAndPlay(1);
Set("_parent:status", "Error: Landform6 cannot be placed to the left of Landform1.");
} else if (nextFr == 6) {
_parent.statusbox.gotoAndPlay(1);
Set("_parent:status", "Error: Landform6 cannot be placed to the left of Landform7.");
} else {
block = eval (_root:selection);
trace(block);
block.gotoAndStop(value);
block.buttonhold.gotoAndStop("select");
this._x = intx;
this._y = inty;
this._xscale = 1;
this._yscale = 1;
Set("_parent:status", "");
}
Set("_root:drag", false);
stopDrag();
}
}
Instance of Symbol 365 MovieClip "landform5" in Frame 17
onClipEvent (load) {
platform.gotoAndStop(1);
platform.bkgd.gotoAndStop(2);
var value = 1;
var newscale = 100;
var intx = this._x;
var inty = this._y;
var xpos = intx;
var ypos = inty;
}
onClipEvent (enterFrame) {
platform.gotoAndStop(1);
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
newscale = 200;
} else {
newscale = 100;
}
_root.slidegrow(this._name, newscale, xpos, ypos);
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
Set("_parent:status", "");
startDrag (this, true);
Set("_root:drag", true);
}
}
onClipEvent (mouseUp) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
present = _root:selectnumber;
prevFr = _root.masterland["land" + (Number(present) - 1)]._currentframe;
nextFr = _root.masterland["land" + (Number(present) + 1)]._currentframe;
if (prevFr == 7) {
_parent.statusbox.gotoAndPlay(1);
Set("_parent:status", "Error: Landform5 cannot be placed to the right of Landform6.");
} else if (prevFr == 1) {
_parent.statusbox.gotoAndPlay(1);
Set("_parent:status", "Error: Landform5 cannot be placed to the right of itself.");
} else if (nextFr == 7) {
_parent.statusbox.gotoAndPlay(1);
Set("_parent:status", "Error: Landform5 cannot be placed to the left of Landform6.");
} else if (nextFr == 2) {
_parent.statusbox.gotoAndPlay(1);
Set("_parent:status", "Error: Landform5 cannot be placed to the left of Landform1.");
} else if (nextFr == 6) {
_parent.statusbox.gotoAndPlay(1);
Set("_parent:status", "Error: Landform5 cannot be placed to the right of Landform7.");
} else if (nextFr == 1) {
_parent.statusbox.gotoAndPlay(1);
Set("_parent:status", "Error: Landform5 cannot be placed to the right of itself");
} else {
block = eval (_root:selection);
trace(block);
block.gotoAndStop(value);
block.buttonhold.gotoAndStop("select");
if (((prevFr == 5) or (prevFr == 4)) or (prevFr == 9)) {
block.edge._visible = false;
}
this._x = intx;
this._y = inty;
this._xscale = 1;
this._yscale = 1;
Set("_parent:status", "");
}
Set("_root:drag", false);
stopDrag();
}
}
Instance of Symbol 366 MovieClip "landform4" in Frame 17
onClipEvent (load) {
platform.gotoAndStop(5);
platform.bkgd.gotoAndStop(2);
var value = 5;
var newscale = 100;
var intx = this._x;
var inty = this._y;
var xpos = intx;
var ypos = inty;
}
onClipEvent (enterFrame) {
platform.gotoAndStop(5);
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
newscale = 200;
} else {
newscale = 100;
}
_root.slidegrow(this._name, newscale, xpos, ypos);
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
Set("_parent:status", "");
startDrag (this, true);
Set("_root:drag", true);
}
}
onClipEvent (mouseUp) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
present = _root:selectnumber;
prevFr = _root.masterland["land" + (Number(present) - 1)]._currentframe;
nextFr = _root.masterland["land" + (Number(present) + 1)]._currentframe;
next = _root.masterland["land" + (Number(present) + 1)];
if (prevFr == 1) {
_parent.statusbox.gotoAndPlay(1);
Set("_parent:status", "Error: Landform4 cannot be placed to the right of Landform5.");
} else if (prevFr == 7) {
_parent.statusbox.gotoAndPlay(1);
Set("_parent:status", "Error: Landform4 cannot be placed to the right of Landform6.");
} else if (nextFr == 7) {
_parent.statusbox.gotoAndPlay(1);
Set("_parent:status", "Error: Landform4 cannot be placed to the left of Landform6.");
} else {
block = eval (_root:selection);
trace(block);
block.gotoAndStop(value);
block.buttonhold.gotoAndStop("select");
if (nextFr == 1) {
next.edge._visible = false;
}
this._x = intx;
this._y = inty;
this._xscale = 1;
this._yscale = 1;
Set("_parent:status", "");
}
Set("_root:drag", false);
stopDrag();
}
}
Instance of Symbol 367 MovieClip "landform3" in Frame 17
onClipEvent (load) {
platform.gotoAndStop(4);
platform.bkgd.gotoAndStop(2);
var value = 4;
var newscale = 100;
var intx = this._x;
var inty = this._y;
var xpos = intx;
var ypos = inty;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
newscale = 200;
} else {
newscale = 100;
}
_root.slidegrow(this._name, newscale, xpos, ypos);
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
Set("_parent:status", "");
startDrag (this, true);
Set("_root:drag", true);
}
}
onClipEvent (mouseUp) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
present = _root:selectnumber;
prevFr = _root.masterland["land" + (Number(present) - 1)]._currentframe;
nextFr = _root.masterland["land" + (Number(present) + 1)]._currentframe;
next = _root.masterland["land" + (Number(present) + 1)];
if (nextFr == 2) {
_parent.statusbox.gotoAndPlay(1);
Set("_parent:status", "Error: Placing Landform3 to the left of Landform1 would create a waterfall too great to leap across.");
} else if (nextFr == 7) {
_parent.statusbox.gotoAndPlay(1);
Set("_parent:status", "Error: Landform3 cannot be placed to the left of Landform6.");
} else if (nextFr == 6) {
_parent.statusbox.gotoAndPlay(1);
Set("_parent:status", "Error: Placing Landform3 to the left of Landform7 would create a waterfall too great to leap across.");
} else {
block = eval (_root:selection);
trace(block);
block.gotoAndStop(value);
block.buttonhold.gotoAndStop("select");
if (nextFr == 1) {
next.edge._visible = false;
}
this._x = intx;
this._y = inty;
this._xscale = 1;
this._yscale = 1;
Set("_parent:status", "");
}
Set("_root:drag", false);
stopDrag();
}
}
Instance of Symbol 368 MovieClip "landform2" in Frame 17
onClipEvent (load) {
platform.gotoAndStop(3);
platform.bkgd.gotoAndStop(2);
var value = 3;
var newscale = 100;
var intx = this._x;
var inty = this._y;
var xpos = intx;
var ypos = inty;
}
onClipEvent (enterFrame) {
platform.gotoAndStop(3);
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
newscale = 200;
} else {
newscale = 100;
}
_root.slidegrow(this._name, newscale, xpos, ypos);
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
Set("_parent:status", "");
startDrag (this, true);
Set("_root:drag", true);
}
}
onClipEvent (mouseUp) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
block = eval (_root:selection);
trace(block);
block.gotoAndStop(value);
block.buttonhold.gotoAndStop("select");
_parent.statusbox.gotoAndPlay(1);
Set("_parent:status", "Hint: Placing 3 of these landforms in a row will insert a panther into the game.");
Set("_root:drag", false);
stopDrag();
this._x = intx;
this._y = inty;
this._xscale = 1;
this._yscale = 1;
}
}
Instance of Symbol 369 MovieClip "landform1" in Frame 17
onClipEvent (load) {
platform.gotoAndStop(2);
platform.bkgd.gotoAndStop(2);
var value = 2;
var newscale = 100;
var intx = this._x;
var inty = this._y;
var xpos = intx;
var ypos = inty;
}
onClipEvent (enterFrame) {
platform.gotoAndStop(2);
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
newscale = 200;
} else {
newscale = 100;
}
_root.slidegrow(this._name, newscale, xpos, ypos);
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
Set("_parent:status", "");
startDrag (this, true);
Set("_root:drag", true);
}
}
onClipEvent (mouseUp) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
present = _root:selectnumber;
prevForm = eval ("land" + (Number(present) - 1));
nextForm = eval ("land" + (Number(present) + 1));
prevObj = _root.masterland["land" + (Number(present) - 1)];
nextObj = _root.masterland["land" + (Number(present) + 1)];
prevFr = prevObj._currentframe;
nextFr = nextObj._currentframe;
if (prevFr == 4) {
_parent.statusbox.gotoAndPlay(1);
Set("_parent:status", "Error: Placing Landform1 to the right of Landform3 would create a waterfall too great to leap across.");
} else if (prevFr == 1) {
_parent.statusbox.gotoAndPlay(1);
Set("_parent:status", "Error: Landform1 cannot be placed to the right of Landform5.");
} else if (prevFr == 9) {
_parent.statusbox.gotoAndPlay(1);
Set("_parent:status", "Error: Placing Landform1 to the right of landform9 would create a waterfall too great to leap across.");
} else if (prevFr == 7) {
_parent.statusbox.gotoAndPlay(1);
Set("_parent:status", "Error: Landform1 cannot be placed to the right of Landform6.");
} else {
block = eval (_root:selection);
trace(block);
block.gotoAndStop(value);
block.buttonhold.gotoAndStop("select");
this._x = intx;
this._y = inty;
this._xscale = 1;
this._yscale = 1;
Set("_parent:status", "");
}
Set("_root:drag", false);
stopDrag();
}
}
Instance of Symbol 371 MovieClip "editbkgd" in Frame 17
onClipEvent (load) {
var scale = 100;
}
onClipEvent (enterFrame) {
this._xscale = this._xscale + ((scale - this._xscale) / 5);
this._yscale = this._yscale + ((scale - this._yscale) / 5);
}
Frame 18
stop();
Symbol 9 MovieClip Frame 1
stop();
Symbol 12 MovieClip Frame 1
stop();
Symbol 12 MovieClip Frame 7
stop();
Symbol 26 Button
on (rollOver) {
if (_root:pause == false) {
edittxt.nextFrame();
textbox.gotoAndStop(4);
}
}
on (rollOut) {
if (_root:pause == false) {
edittxt.prevFrame();
}
}
on (press) {
if (((_root:cookieExists == true) and (_root:endload == true)) and (_root:pause == false)) {
stopAllSounds();
removeMovieClip(_root.life3);
removeMovieClip(_root.life2);
removeMovieClip(_root.life1);
j = 1;
while (25 >= j) {
disappear = _root["diamond" + j];
kill = _root["panther" + j];
removeMovieClip(disappear);
removeMovieClip(kill);
j++;
}
_root.gotoAndStop("edit");
Set("_root:edit", true);
_root.levelbox.gotoAndStop(1);
_parent.gotoAndPlay("goaway");
}
}
Symbol 27 Button
on (rollOver) {
if (_root:pause == false) {
instructions.nextFrame();
textbox.gotoAndStop(2);
}
}
on (rollOut) {
if ((_root:pause == false) and (_root:endload == true)) {
instructions.prevFrame();
}
}
Symbol 28 Button
on (rollOver) {
if (_root:pause == false) {
playgame.nextFrame();
textbox.gotoAndStop(1);
}
}
on (rollOut) {
if (_root:pause == false) {
playgame.prevFrame();
}
}
on (press) {
_root.loading._visible = false;
if ((_root:pause == false) and (_root:endload == true)) {
_root.levelbox.message.gotoAndStop(1);
search = _root:data;
if (_root:import == true) {
_parent.gotoAndPlay("goaway");
_root.gotoAndPlay(7);
_root.help.gotoAndPlay("grow");
} else if (search.length < 2) {
Set("_root:testing", "standard");
_parent.gotoAndPlay("goaway");
_root.gotoAndPlay(7);
_root.help.gotoAndPlay("grow");
} else if (1 < search.length) {
textbox.gotoAndStop("saved");
}
}
}
Symbol 38 Button
on (rollOver) {
resume.gotoAndStop(2);
}
on (rollOut) {
resume.gotoAndStop(1);
}
on (press) {
_root.intro.gotoAndPlay("goaway");
_root.help.gotoAndPlay("grow");
Set("_root:pause", false);
_root.timer.gotoAndStop(2);
}
Symbol 39 Button
on (rollOver) {
home.gotoAndStop(2);
}
on (rollOut) {
home.gotoAndStop(1);
}
on (press) {
getURL ("http://disney.go.com/disneyvideos/animatedfilms/tarzanandjane/tarzanflash.html", "_self");
}
Symbol 40 Button
on (rollOver) {
main.gotoAndStop(2);
}
on (rollOut) {
main.gotoAndStop(1);
}
on (press) {
gotoAndStop (1);
Set("_root:import", false);
Set("_root:pause", false);
_root.masterland._x = 0;
_root.masterland.gotoAndPlay(3);
_root.timer.gotoAndStop(2);
_root.gotoAndPlay(5);
Set("_root:n", 0);
Set("_root:lives", 3);
Set("_root:score", 0);
Set("_root:levels", 1);
Set("_root:sign", 0);
Set("_root:diamondtotal", 0);
Set("_root:meter", 100);
_root.timer.gotoAndStop(1);
Set("_root:redo", 50);
_parent.playgame.gotoAndStop(1);
_parent.instructions.gotoAndStop(1);
_parent.edittxt.gotoAndStop(1);
}
Symbol 41 Button
on (rollOver) {
music.nextFrame();
}
on (rollOut) {
music.prevFrame();
}
on (press) {
if (music._currentframe < 3) {
music.gotoAndStop(4);
stopAllSounds();
Set("_root:soundon", false);
_root.themesong.gotoAndStop(1);
} else {
music.gotoAndStop(1);
Set("_root:soundon", true);
_root.themesong.gotoAndPlay(2);
}
}
Symbol 42 Button
on (rollOver) {
restart.gotoAndStop(2);
}
on (rollOut) {
restart.gotoAndStop(1);
}
on (press) {
_root.help.gotoAndPlay("grow");
_root.intro.gotoAndPlay("goaway");
Set("_root:pause", false);
_root.timer.gotoAndStop(2);
_root.masterland._x = 0;
_root.masterland.gotoAndPlay(3);
_root.gotoAndPlay(5);
Set("_root:lives", 3);
Set("_root:score", 0);
Set("_root:levels", 1);
Set("_root:sign", 0);
Set("_root:diamondtotal", 0);
Set("_root:meter", 100);
_root.timer.gotoAndStop(1);
Set("_root:redo", 50);
}
Symbol 49 MovieClip Frame 1
stop();
Symbol 53 MovieClip Frame 1
stop();
Symbol 57 MovieClip Frame 1
stop();
Symbol 61 MovieClip Frame 1
stop();
Symbol 65 MovieClip Frame 1
stop();
Symbol 77 Button
on (press) {
if (0 < m) {
savemenu["game" + m]._visible = true;
savemenu["game" + (m + 8)]._visible = false;
savemenu._y = savemenu._y + 20;
up.gotoAndStop(1);
m--;
}
if (m == Number(increment)) {
down.gotoAndPlay(2);
}
}
on (release) {
if (0 < m) {
up.gotoAndPlay(2);
}
}
Symbol 78 Button
on (press) {
if (m < increment) {
savemenu._y = savemenu._y - 20;
savemenu["game" + m]._visible = false;
savemenu["game" + (m + 8)]._visible = true;
down.gotoAndStop(1);
m++;
} else {
down.gotoAndStop(1);
}
if (m == 1) {
up.gotoAndPlay(2);
}
}
on (release) {
if (m < increment) {
down.gotoAndPlay(2);
}
}
Symbol 81 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 2
play();
Symbol 81 MovieClip Frame 18
gotoAndPlay (2);
Symbol 82 MovieClip Frame 1
stop();
Symbol 82 MovieClip Frame 2
play();
Symbol 82 MovieClip Frame 18
gotoAndPlay (2);
Symbol 84 Button
on (rollOver) {
over._alpha = 20;
}
on (rollOut) {
over._alpha = 0;
}
on (press) {
if (this._name == "game1") {
_root.intro.gotoAndPlay("goaway");
_root.gotoAndPlay(7);
_root.help.gotoAndPlay("grow");
Set("_root:testing", "standard");
} else {
scoretag = gameValue.indexOf("|");
newtag = gameValue.substr(0, scoretag);
Set("_root:tag", newtag);
Set("_root:import", true);
_root.intro.gotoAndPlay("goaway");
_root.masterland.gotoAndPlay(3);
Set("_root:n", 1);
Set("_root:testing", savedGame);
_root.gotoAndPlay(5);
_root.help.gotoAndPlay("grow");
}
Set("_root:hiscore", high);
_root.levelbox.message.gotoAndStop(1);
}
Instance of Symbol 88 MovieClip "over" in Symbol 90 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Symbol 93 MovieClip Frame 1
stop();
Instance of Symbol 67 MovieClip "blocked" in Symbol 93 MovieClip Frame 4
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root:cookieExists == true) {
this._visible = false;
} else {
this._visible = true;
}
}
Symbol 93 MovieClip Frame 5
m = 0;
newData = _root:data;
tail = newData.length;
spot = newData.lastindexOf(":");
newData1 = newData.substring(1, spot);
newData2 = newData.substring(spot + 1);
DataArray = newData.split(":");
Set("savemenu.game1:savedGame", "standard version: 3 levels");
setScore = DataArray[0];
newhigh = setScore.split("|");
Set("savemenu.game1:high", newhigh[1]);
numObj = DataArray.length;
j = 2;
while (numObj >= j) {
savemenu.game1.duplicateMovieClip("game" + j, j + 1000);
curGame = savemenu["game" + j];
prevGame = savemenu["game" + (j - 1)];
series = DataArray[j - 1];
series.toString();
seperate = series.indexOf(",");
id = series.substring(0, seperate);
value = series.substring(seperate + 1);
if (value.indexOf("|") != -1) {
dash = value.indexOf("|");
tally = value.substr(dash + 1);
Set("curGame:high", tally);
} else {
Set("curGame:high", 0);
}
Set("curGame:gameValue", value);
Set("curGame:savedGame", id);
curgame._y = prevGame._y + prevGame._height;
if (8 < j) {
curgame._visible = false;
}
j++;
}
column = savemenu._height - 100;
increment = column / 20;
Instance of Symbol 81 MovieClip "up" in Symbol 93 MovieClip Frame 5
/* no clip actions */
Instance of Symbol 82 MovieClip "down" in Symbol 93 MovieClip Frame 5
onClipEvent (load) {
gotoAndPlay (2);
}
onClipEvent (enterFrame) {
if (_parent:m < _parent:increment) {
nextFrame();
} else {
gotoAndStop (1);
}
}
Symbol 96 MovieClip Frame 1
stop();
Symbol 99 MovieClip Frame 1
stop();
Symbol 102 MovieClip Frame 1
stop();
Symbol 104 Button
on (press) {
getURL ("javascript:loadinparent('http://disney.go.com/disneyvideos/animatedfilms/tarzanandjane/tarzanflash.html','true')");
}
Symbol 114 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 7
intropage.textbox.gotoAndStop(1);
stop();
Symbol 115 MovieClip Frame 8
if (_root:pause == true) {
intropage.playgame.gotoAndStop(2);
intropage.instructions.gotoAndStop(2);
intropage.edittxt.gotoAndStop(2);
} else {
intropage.playgame.gotoAndStop(1);
intropage.instructions.gotoAndStop(1);
intropage.edittxt.gotoAndStop(1);
}
Symbol 115 MovieClip Frame 13
_root.loadend.gotoAndStop(1);
Symbol 118 MovieClip Frame 1
stop();
timerON = 0;
check = 1;
reset = 1;
mark = 0;
function timerFunk() {
if (pickup) {
freeze = microtime;
pickUp = 0;
}
if (reset) {
freeze = 0;
time = atime.join("");
reset = 0;
}
if (timerOn) {
if (check) {
timeBase = getTimer();
check = 0;
}
timeNow = getTimer();
microtime = (Number(timeNow) - Number(timeBase)) + Number(freeze);
mts = (microtime / 1000).toString().split(".");
if (59 < mts[0]) {
check = 1;
}
atime[6] = mts[1].substr(0, 1);
if (atime[6].toString().length < 1) {
atime[6] = "0";
}
atime[4] = mts[0];
if (atime[4].toString().length < 2) {
atime[4] = "0" add atime[4];
}
if (atime[4].toString().length < 1) {
atime[4] = "00";
}
if (59 < atime[4]) {
atime[2] = Number(atime[2]) + Number(1);
mark = atime[2];
atime[4] = "00";
}
if (atime[2].toString().length < 2) {
atime[2] = "0" add atime[2].toString();
}
if (59 < atime[2]) {
atime[0] = Number(atime[0]) + Number(1);
atime[2] = "00";
}
if (atime[0].toString().length < 2) {
atime[0] = "0" add atime[0];
}
if (atime[0].toString().length < 1) {
atime[0] = "00";
}
time = atime.join("");
}
}
atime = new Array();
atime[0] = "00";
atime[1] = ":";
atime[2] = "00";
atime[3] = ":";
atime[4] = "00";
atime[5] = ".";
atime[6] = "0";
getTimer();
Symbol 118 MovieClip Frame 2
stop();
timerON = 1;
check = 1;
Symbol 118 MovieClip Frame 3
stop();
timerON = 0;
check = 1;
pickUp = 1;
Symbol 121 Button
on (press) {
Set("_root:pause", true);
_root.timer.gotoAndStop(3);
_root.intro.gotoAndPlay("menu");
_root.intro.intropage.textbox.gotoAndStop("paused");
gotoAndPlay (11);
}
Symbol 122 MovieClip Frame 1
stop();
Symbol 122 MovieClip Frame 10
stop();
Symbol 124 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 9
stop();
Symbol 135 MovieClip Frame 1
stop();
Instance of Symbol 128 MovieClip "end" in Symbol 135 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 139 Button
on (press) {
if (_parent:select == true) {
startDrag (_parent._parent, true);
}
}
Symbol 141 MovieClip Frame 1
stop();
Symbol 141 MovieClip Frame 2
Symbol 141 MovieClip Frame 14
_parent.overcast.gotoAndPlay(2);
Symbol 141 MovieClip Frame 20
_parent.gotoAndStop(12);
objectname = _parent._name;
Symbol 141 MovieClip Frame 23
stop();
Symbol 143 MovieClip Frame 1
stop();
Symbol 153 MovieClip Frame 1
stop();
Symbol 175 MovieClip Frame 1
gotoAndPlay(random(64) + 1);
Instance of Symbol 167 MovieClip in Symbol 175 MovieClip Frame 61
onClipEvent (load) {
this._visible = false;
delay = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.tarzan) and (delay == 0)) {
_root.tarzan.gotoAndPlay("crouch2");
_root.tarzan._x = _root.tarzan._x - 5;
_root.tarzan._y = _root.tarzan._y - 10;
_root.grunt1.start();
Set("_root:meter", _root:meter - 25);
delay = 1;
}
if (delay < 10) {
delay++;
} else {
delay = 0;
}
}
Symbol 175 MovieClip Frame 85
gotoAndPlay (2);
Symbol 183 MovieClip Frame 1
stop();
Symbol 188 MovieClip Frame 1
stop();
Instance of Symbol 135 MovieClip "vine" in Symbol 188 MovieClip Frame 1
onClipEvent (load) {
a = 1;
}
onClipEvent (enterFrame) {
this._rotation = (Math.sin(1 * a) * Math.pow(1, a)) * 55;
a = a + 0.1;
}
Instance of Symbol 141 MovieClip "buttonhold" in Symbol 188 MovieClip Frame 1
onClipEvent (load) {
exit = _root:edit;
}
onClipEvent (enterFrame) {
now = _root:edit;
if ((_root:edit == true) and (now != exit)) {
this.gotoAndPlay(2);
}
if (_root:edit == false) {
this.gotoAndStop(1);
}
if (20 < this._currentframe) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
gotoAndStop (22);
highlighted = "_root.masterland." + _parent._name;
Set("_root:selectnumber", highlighted.slice(21));
trace("you've highlighted-" + highlighted);
Set("_root:selection", highlighted);
} else {
gotoAndStop (23);
}
}
exit = _root:edit;
}
Symbol 188 MovieClip Frame 3
var t = (random(2) + 1);
trace("t=" + t);
this.widetrees.gotoAndStop(t);
Instance of Symbol 153 MovieClip "widetrees" in Symbol 188 MovieClip Frame 3
/* no clip actions */
Instance of Symbol 158 MovieClip "croc" in Symbol 188 MovieClip Frame 5
onClipEvent (load) {
a = 1;
unit = random(5) + 5;
inc = unit / 100;
}
onClipEvent (enterFrame) {
initX = this._x;
this._x = ((Math.sin(1 * a) * Math.pow(1, a)) * 70) + 150;
newX = this._x;
if ((newX - initX) < 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
a = a + inc;
}
Instance of Symbol 159 MovieClip "solid" in Symbol 188 MovieClip Frame 5
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = _parent.croc._x;
}
Instance of Symbol 135 MovieClip "vine" in Symbol 188 MovieClip Frame 7
onClipEvent (load) {
a = 1;
}
onClipEvent (enterFrame) {
this._rotation = (Math.sin(1 * a) * Math.pow(1, a)) * 55;
a = a + 0.1;
}
Instance of Symbol 153 MovieClip "widetrees" in Symbol 188 MovieClip Frame 8
/* no clip actions */
Instance of Symbol 153 MovieClip "widetrees" in Symbol 188 MovieClip Frame 10
/* no clip actions */
Instance of Symbol 153 MovieClip "widetrees" in Symbol 188 MovieClip Frame 15
/* no clip actions */
Instance of Symbol 153 MovieClip "widetrees" in Symbol 188 MovieClip Frame 15
/* no clip actions */
Instance of Symbol 187 MovieClip "solid" in Symbol 188 MovieClip Frame 15
onClipEvent (load) {
this._visible = false;
}
Symbol 189 MovieClip Frame 1
stop();
Instance of Symbol 188 MovieClip "land1" in Symbol 189 MovieClip Frame 1
onClipEvent (load) {
if (this._name == "land1") {
this.gotoAndStop(10);
} else if (this._name == "land50") {
this.gotoAndStop(15);
}
}
onClipEvent (enterFrame) {
if ((this._name == "land1") and (_root:edit == false)) {
this.gotoAndStop(10);
} else if ((this._name == "land50") and (_root:edit == false)) {
this.gotoAndStop(15);
}
}
Symbol 189 MovieClip Frame 2
numObj = _parent.terrain.length;
j = 2;
while (50 >= j) {
this.land1.duplicateMovieClip("land" + j, j + 1000);
curLand = eval ("land" + j);
prevLand = eval ("land" + (j - 1));
obselect = Number(_parent.terrain[j - 1]);
type = Number(_parent.terrain[j]);
Set("curland:object", j);
curland._x = prevland._x + 300;
curland.gotoAndStop(obselect);
if (curland._currentframe == 1) {
if (((prevland._currentframe == 4) || (prevland._currentframe == 5)) || (prevland._currentframe == 9)) {
curland.edge._visible = false;
}
}
j++;
}
stop();
Symbol 189 MovieClip Frame 3
j = 1;
while (50 >= j) {
removeMovieClip("land" + j);
oldpanther = _root["panther" + j];
trace(oldpanther);
removeMovieClip(oldpanther);
j++;
}
gotoAndPlay (1);
Symbol 193 MovieClip Frame 1
Symbol 196 MovieClip Frame 1
stop();
Symbol 211 Button
on (release) {
Set("_root:flyemail", true);
_root.emailform.swapDepths(3999);
Set("_root:tech", true);
Set("_root.emailform:ypos", 175);
_root.emailform.gotoAndStop(1);
}
Symbol 214 Button
on (rollOver) {
playagain.nextFrame();
}
on (rollOut) {
playagain.prevFrame();
}
on (release) {
_root.emailform.swapDepths(3999);
Set("_root:tech", true);
Set("_root.emailform:ypos", 175);
_root.emailform.gotoAndStop(2);
}
Symbol 215 Button
on (release) {
Set("_root:edit", false);
Set("_root:pause", false);
Set("_root.tarzan:end", false);
Set("_root:lives", 3);
Set("_root:score", 0);
Set("_root:levels", 1);
Set("_root:diamondtotal", 0);
Set("_root:finalscore", 0);
_root.masterland._x = 0;
_root.masterland.gotoAndPlay(3);
_root.gotoAndPlay(5);
Set("_root:sign", 0);
Set("_root:redo", 50);
_root.help.gotoAndPlay("grow");
Set("_root.timer:timerOn", 0);
_root.timer.gotoAndStop(1);
_parent._parent.nextFrame();
}
Symbol 220 MovieClip Frame 1
stop();
Symbol 226 MovieClip Frame 1
stop();
Symbol 228 Button
on (rollOver) {
playagain.nextFrame();
}
on (rollOut) {
playagain.prevFrame();
}
on (release) {
Set("_root:flyemail", true);
_root.emailform.swapDepths(3999);
Set("_root:tech", true);
Set("_root.emailform:ypos", 175);
_root.emailform.gotoAndStop(1);
}
Symbol 229 Button
on (press) {
if (_root:hiscore < _root:score) {
highscore = _root:score;
stringX = _root:data;
subject = _root:testing;
curTarget = stringX.indexOf(subject);
remainder = stringX.substr(curtarget);
pre = stringX.substr(0, curtarget);
chop = remainder.indexOf(":");
cropped = remainder.substr(0, chop);
cropper = remainder.substr(chop);
if (cropper.indexOf(":") == -1) {
cropper = "";
} else {
cropper = remainder.substr(chop);
}
if (cropped.indexOf("|") == -1) {
oldname = cropped;
getURL (((((("javascript:putCookie('" + pre) + oldname) + "|") + highscore) + cropper) + "')");
Set("_root:data", (((pre + oldname) + "|") + highscore) + cropper);
} else {
dash = cropped.indexOf("|");
oldname = cropped.substr(0, dash);
getURL (((((("javascript:putCookie('" + pre) + oldname) + "|") + highscore) + cropper) + "')");
Set("_root:data", (((pre + oldname) + "|") + highscore) + cropper);
}
}
}
on (release) {
Set("_root:edit", false);
Set("_root.tarzan:end", false);
Set("_root:pause", false);
Set("_root:lives", 3);
Set("_root:score", 0);
Set("_root:levels", 1);
Set("_root:diamondtotal", 0);
Set("_root:finalscore", 0);
_root.masterland._x = 0;
_root.masterland.gotoAndPlay(3);
_root.gotoAndPlay(5);
Set("_root:sign", 0);
Set("_root:redo", 50);
_root.help.gotoAndPlay("grow");
Set("_root.timer:timerOn", 0);
_root.timer.gotoAndStop(1);
_parent._parent.nextFrame();
}
Symbol 230 MovieClip Frame 1
stop();
Symbol 231 Button
on (rollOver) {
playagain.nextFrame();
}
on (rollOut) {
playagain.prevFrame();
}
on (release) {
Set("_root:import", false);
Set("_root:lives", 3);
Set("_root:score", 0);
Set("_root:levels", 1);
Set("_root:diamondtotal", 0);
Set("_root:finalscore", 0);
_root.masterland._x = 0;
_root.masterland.gotoAndPlay(3);
_root.gotoAndPlay(5);
Set("_root:sign", 0);
Set("_root:redo", 50);
_root.help.gotoAndPlay("grow");
Set("_root.timer:timerOn", 0);
_root.timer.gotoAndStop(1);
_parent.nextFrame();
}
Symbol 239 MovieClip Frame 1
if (newscore >= _root:score) {
Set("_root:score", _root:score + 100);
} else {
this._gotoAndStop(3);
_parent.nextFrame();
}
Symbol 239 MovieClip Frame 3
gotoAndPlay (1);
Symbol 239 MovieClip Frame 4
stop();
Symbol 247 MovieClip Frame 1
if (newscore >= _root:score) {
Set("_root:score", _root:score + 100);
} else {
this._gotoAndStop(3);
_parent.nextFrame();
}
Symbol 247 MovieClip Frame 3
gotoAndPlay (1);
Symbol 247 MovieClip Frame 4
stop();
Symbol 255 MovieClip Frame 1
stop();
Symbol 255 MovieClip Frame 2
stop();
stop();
Symbol 255 MovieClip Frame 3
stop();
Symbol 255 MovieClip Frame 4
if (_root:cookieExists == false) {
highscore = _root:score;
getURL (("javascript:putCookie('x|" + highscore) + "')");
Set("_root:data", "x|" + highscore);
Set("_root:cookieExists", true);
}
if ((_root:testing == null) || (_root:testing == "standard")) {
extra._visible = false;
if (_root:hiscore < _root:score) {
highscore = _root:score;
string1 = _root:data;
snap = string1.indexOf(":");
standard = string1.substr(0, snap);
rest = string1.substr(snap);
getURL ((("javascript:putCookie('x|" + highscore) + rest) + "')");
Set("_root:data", ("x|" + highscore) + rest);
}
} else if (_root:testing == "generic") {
extra._visible = true;
extra.gameover.gotoAndStop(1);
extra.gotoAndStop(1);
} else {
extra._visible = true;
extra.gameover.gotoAndStop(1);
extra.gotoAndStop(2);
}
Symbol 255 MovieClip Frame 5
Set("_root:pause", true);
extra._visible = false;
_root.loadend.loadMovie("gameend4.swf");
play();
Set("_root.timer:timerOn", 0);
Symbol 255 MovieClip Frame 11
Set("_root.tarzan:scrollStart", false);
Symbol 255 MovieClip Frame 76
stop();
Instance of Symbol 239 MovieClip "tally" in Symbol 255 MovieClip Frame 76
onClipEvent (load) {
newscore = _root:score + 10000;
ring = new Sound(this);
ring.attachSound("diamondbell");
n = 1;
}
onClipEvent (enterFrame) {
round = Math.floor(n);
if (_root:score < newscore) {
n = n + 0.2;
Set("_root:score", _root:score + 100);
result = n - round;
trace(result);
if (0.99999999 < result) {
ring.start();
}
} else {
this.gotoAndStop(4);
ring.stop();
_parent.nextFrame();
}
}
Symbol 255 MovieClip Frame 77
play();
Symbol 255 MovieClip Frame 81
minute = _root.timer:microtime;
milli = ("(" + minute) + " ms)";
trace("milliseconds=" + milli);
play();
Symbol 255 MovieClip Frame 112
if (_root.timer:mark < 2) {
gotoAndPlay (114);
}
Symbol 255 MovieClip Frame 113
if (_root:levels == 4) {
this.gotoAndStop("win");
} else if ((_root:testing != "generic") and (_root:testing != "standard")) {
extra._visible = true;
extra.gotoAndStop(2);
extra.gameover.gotoAndStop(2);
stop();
} else if (_root:testing == "generic") {
extra._visible = true;
extra.gotoAndStop(1);
extra.gameover.gotoAndStop(2);
stop();
} else {
_parent.nextFrame();
stop();
}
Symbol 255 MovieClip Frame 114
stop();
digit = _root.timer:mark - 1;
id = digit * 60000;
bonustotal = Math.floor((120000 - (id + minute)) / 1000);
bonustotal = Math.round(bonustotal) * 100;
Instance of Symbol 247 MovieClip "tally" in Symbol 255 MovieClip Frame 114
onClipEvent (load) {
newscore = _root:score + _parent:bonustotal;
ring = new Sound(this);
ring.attachSound("diamondbell");
n = 1;
}
onClipEvent (enterFrame) {
round = Math.floor(n);
if (_root:score < newscore) {
n = n + 0.2;
Set("_root:score", _root:score + 100);
result = n - round;
trace(result);
if (0.99999999 < result) {
ring.start();
}
} else {
this.gotoAndStop(4);
ring.stop();
_parent.nextFrame();
}
}
Symbol 255 MovieClip Frame 115
play();
Symbol 255 MovieClip Frame 149
if (_root:levels == 4) {
gotoAndStop (151);
} else if ((_root:testing != "generic") and (_root:testing != "standard")) {
extra._visible = true;
extra.gotoAndStop(2);
extra.gameover.gotoAndStop(2);
stop();
} else if (_root:testing == "generic") {
extra._visible = true;
extra.gotoAndStop(1);
extra.gameover.gotoAndStop(2);
stop();
}
Symbol 255 MovieClip Frame 150
_parent.nextFrame();
stop();
Symbol 255 MovieClip Frame 151
_root.loadend.gotoAndPlay(5);
if (_root:hiscore < _root:score) {
highscore = _root:score;
string1 = _root:data;
snap = string1.indexOf(":");
standard = string1.substr(0, snap);
rest = string1.substr(snap);
getURL ((("javascript:putCookie('x|" + highscore) + rest) + "')");
Set("_root:data", ("x|" + highscore) + rest);
}
play();
Symbol 255 MovieClip Frame 157
stop();
Symbol 256 MovieClip Frame 1
stop();
Symbol 256 MovieClip Frame 2
play();
Symbol 256 MovieClip Frame 26
if ((_root:lives == -1) or (_root.tarzan:end == true)) {
stop();
}
Symbol 256 MovieClip Frame 27
play();
Symbol 256 MovieClip Frame 42
if (_root.tarzan:end == true) {
Set("_root:sign", 0);
_root.masterland._x = 0;
_root.masterland.gotoAndPlay(3);
_root.gotoAndPlay(5);
Set("_root.tarzan:end", false);
_root.timer.gotoAndStop(1);
Set("_root:redo", 50);
if (_root:lives < 3) {
Set("_root:lives", _root:lives + 1);
}
Set("_root:diamondtotal", 0);
Set("_root:pause", false);
}
Symbol 258 MovieClip Frame 1
stop();
Symbol 260 Button
on (press) {
youremail = "";
friend1 = "";
friend2 = "";
friend3 = "";
friend4 = "";
friend5 = "";
errormessage.gotoAndStop(1);
trace(youremail);
}
on (release) {
Set("_root:flyemail", false);
ypos = inty;
Set("_root:tech", false);
}
Symbol 264 Button
on (press) {
if (yourName != null) {
yourName = yourName + "";
}
if (friendName != null) {
friendName = friendName + "";
}
if (friendEmail != null) {
if (((((friendEmail.indexOf(" ") != -1) || (friendEmail.indexOf("@") == -1)) || (friendEmail.indexOf(".") == -1)) || (friendEmail.length < 6)) || (friendEmail.lastIndexOf(".") < friendEmail.indexOf("@"))) {
friendEmail = friendEmail + "*";
error = true;
}
}
}
on (release) {
if (error == false) {
masterObj = _root.masterland;
for (eachObj in masterObj) {
finalObj = masterObj[eachObj];
land = masterObj[eachObj];
newnumber = land._currentframe;
_root.newTerrain.unshift(newNumber);
}
newstring2 = _root.newTerrain.join();
i = 0;
while (i < 50) {
interval = _root.newTerrain[i];
append = interval.toString();
newstring = newstring + append;
newstring.toString();
i++;
}
trace(newstring);
ypos = inty;
Set("_root:tech", false);
if (_root:flyemail == true) {
if (_root:score < _root:hiscore) {
curScore = _root:hiscore;
} else {
curScore = _root:score;
}
getURL ("sendmail.html", "blank", "GET");
} else {
getURL ("sendmail.html", "blank", "GET");
}
newstring = "";
yourName = "";
friendName = "";
friendEmail = "";
delete newstring;
_parent.statusbox.gotoAndPlay(1);
_parent.status = "Email has been sent";
errormessage.gotoAndStop(1);
Set("_root:flyemail", false);
} else {
errormessage.gotoAndStop(2);
}
}
Symbol 275 Button
on (press) {
levelname = "";
trace(youremail);
}
on (release) {
Set("_root:tech", false);
ypos = inty;
}
Symbol 278 Button
on (press) {
if (((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((levelname eq "POO") or (levelname eq "POOP")) or (levelname eq "FUCK")) or (levelname eq "SHIT")) or (levelname eq "PISS")) or (levelname eq "ANAL")) or (levelname eq "ANALSEX")) or (levelname eq "ARSE")) or (levelname eq "ARSEHOLE")) or (levelname eq "ARSES")) or (levelname eq "ASS")) or (levelname eq "ASSES")) or (levelname eq "ASSHOLE")) or (levelname eq "ASSMUNCH")) or (levelname eq "ASSWIPE")) or (levelname eq "ASSWIPES")) or (levelname eq "BASTARD")) or (levelname eq "BASTARDS")) or (levelname eq "BEAVER")) or (levelname eq "BEAVERS")) or (levelname eq "BITCH")) or (levelname eq "BITCHES")) or (levelname eq "BOINK")) or (levelname eq "BOINKED")) or (levelname eq "BONER")) or (levelname eq "BONERS")) or (levelname eq "BONERZ")) or (levelname eq "BOOB")) or (levelname eq "BOOBS")) or (levelname eq "BOOBIES")) or (levelname eq "BREASTS")) or (levelname eq "BREAST")) or (levelname eq "BULLSHIT")) or (levelname eq "BULLSHITS")) or (levelname eq "BULLSHITTED")) or (levelname eq "BULLSHITTER")) or (levelname eq "BULLSHITTING")) or (levelname eq "BUNG")) or (levelname eq "BUNGHOLE")) or (levelname eq "BUTT")) or (levelname eq "BUTTS")) or (levelname eq "BUTTHOLE")) or (levelname eq "BUTTMUNCH")) or (levelname eq "BUTTWEED")) or (levelname eq "CLIT")) or (levelname eq "CLITORIS")) or (levelname eq "CLITS")) or (levelname eq "COCK")) or (levelname eq "COCKSUCKED")) or (levelname eq "COCKSUCKER")) or (levelname eq "COCKSUCKING")) or (levelname eq "CONDOM")) or (levelname eq "CONDOMS")) or (levelname eq "CRAP")) or (levelname eq "CRAPPING")) or (levelname eq "CRAPS")) or (levelname eq "CROTCH")) or (levelname eq "CROTCHES")) or (levelname eq "CUM")) or (levelname eq "CUMMING")) or (levelname eq "CUMS")) or (levelname eq "CUMSTAIN")) or (levelname eq "CUNNILINGUS")) or (levelname eq "CUNT")) or (levelname eq "DAMMIT")) or (levelname eq "DAMN")) or (levelname eq "DEFECATE")) or (levelname eq "DICKHEAD")) or (levelname eq "DICK")) or (levelname eq "DICKS")) or (levelname eq "DILDO")) or (levelname eq "DILDOE")) or (levelname eq "DILDOS")) or (levelname eq "DOGSHIT")) or (levelname eq "DOUCHE")) or (levelname eq "DOUCHEBAG")) or (levelname eq "EJACULATE")) or (levelname eq "EJACULATES")) or (levelname eq "EJACULATED")) or (levelname eq "EJACULATION")) or (levelname eq "ERECTION")) or (levelname eq "EROTIC")) or (levelname eq "FART")) or (levelname eq "FARTING")) or (levelname eq "FARTS")) or (levelname eq "FCKER")) or (levelname eq "FCKERS")) or (levelname eq "FCKING")) or (levelname eq "FCKS")) or (levelname eq "FETISH")) or (levelname eq "FORESKIN")) or (levelname eq "FUCK")) or (levelname eq "FUCKED")) or (levelname eq "FUCKER")) or (levelname eq "FUCKERS")) or (levelname eq "FUCKFACE")) or (levelname eq "FUCKFACES")) or (levelname eq "FUCKING")) or (levelname eq "FUCKS")) or (levelname eq "GENITALIA")) or (levelname eq "GENITALS")) or (levelname eq "GODDAMMIT")) or (levelname eq "GODDAMN")) or (levelname eq "GODDAMNED")) or (levelname eq "HARDON")) or (levelname eq "HARD ON")) or (levelname eq "HOOKER")) or (levelname eq "HORNY")) or (levelname eq "HORSESHIT")) or (levelname eq "HUMP")) or (levelname eq "HUMPS")) or (levelname eq "HUMPING")) or (levelname eq "JACKOFF")) or (levelname eq "JACK OFF")) or (levelname eq "JERKOFF")) or (levelname eq "JERK OFF")) or (levelname eq "JISM")) or (levelname eq "KINKY")) or (levelname eq "MAMMARIES")) or (levelname eq "MASTURBATE")) or (levelname eq "MASTURBATES")) or (levelname eq "MASTURBATING")) or (levelname eq "MASTURBATION")) or (levelname eq "MOTHER FUCKER")) or (levelname eq "MUFF")) or (levelname eq "NAKED")) or (levelname eq "NUDE")) or (levelname eq "NYMPH")) or (levelname eq "NYMPHOMANIAC")) or (levelname eq "NYMPHOS")) or (levelname eq "ORGASM")) or (levelname eq "ORGASMIC")) or (levelname eq "ORGY")) or (levelname eq "ORGIES")) or (levelname eq "PANTIES")) or (levelname eq "PANTY")) or (levelname eq "PECKER")) or (levelname eq "PECKERS")) or (levelname eq "PENIS")) or (levelname eq "PENISES")) or (levelname eq "PERVETED")) or (levelname eq "PHUCK")) or (levelname eq "PHUCKERS")) or (levelname eq "PHUCKING")) or (levelname eq "PISS")) or (levelname eq "PISSED")) or (levelname eq "PISSES")) or (levelname eq "PISSING")) or (levelname eq "POONTANG")) or (levelname eq "PUBE")) or (levelname eq "PUBES")) or (levelname eq "PUBIC")) or (levelname eq "PUNANNI")) or (levelname eq "PUSSI")) or (levelname eq "PUSSY")) or (levelname eq "PUSSYS")) or (levelname eq "PUSSIES")) or (levelname eq "RUBBERS")) or (levelname eq "SCREW")) or (levelname eq "SCREWED")) or (levelname eq "SCREWING")) or (levelname eq "SCREWS")) or (levelname eq "SEMEN")) or (levelname eq "SEX")) or (levelname eq "SEX KITTEN")) or (levelname eq "SEXUAL")) or (levelname eq "SHIT")) or (levelname eq "SHITTED")) or (levelname eq "SHITFACE")) or (levelname eq "SHITFACED")) or (levelname eq "SHITHEAD")) or (levelname eq "SHITS")) or (levelname eq "SHITTY")) or (levelname eq "SLUT")) or (levelname eq "SLUTTY")) or (levelname eq "SNATCH")) or (levelname eq "SNATCHES")) or (levelname eq "SODOMIZE")) or (levelname eq "SODOMY")) or (levelname eq "SONOFABITCH")) or (levelname eq "SPANK")) or (levelname eq "SPANKED")) or (levelname eq "SPANKING")) or (levelname eq "SPERM")) or (levelname eq "STIFFY")) or (levelname eq "TESTICLE")) or (levelname eq "TESTICLES")) or (levelname eq "TIT")) or (levelname eq "TITS")) or (levelname eq "TWATS")) or (levelname eq "UNDERWEAR")) or (levelname eq "URINE")) or (levelname eq "URINATE")) or (levelname eq "URINATES")) or (levelname eq "URINATED")) or (levelname eq "URINATING")) or (levelname eq "VAGINA")) or (levelname eq "VAGINAL")) or (levelname eq "VAGINAS")) or (levelname eq "VIBRATOR")) or (levelname eq "VOYEUR")) or (levelname eq "VOYEURISM")) or (levelname eq "WANKER")) or (levelname eq "WHORE")) or (levelname eq "WHOREHOUSE")) or (levelname eq "XX")) or (levelname eq "XXX")) {
gotoAndStop (3);
}
if (levelname != null) {
if ((((levelname.indexOf(" ") != -1) || (levelname.indexOf(",") != -1)) || (levelname.indexOf("_") != -1)) || (levelname.indexOf("-") != -1)) {
shortened = levelname.split(" ");
short = shortened.join();
shortened = short.split(":");
short = shortened.join();
shortened = short.split("|");
short = shortened.join();
shortened = short.split(",");
c = 0;
while (c < shortened.length) {
title = shortened[c];
letter = title.toString();
trace(letter);
newname = newname + letter;
newname.toString();
c++;
}
} else {
newname = levelname;
}
}
}
on (release) {
trace(_root:data);
if (levelname != null) {
masterObj = _root.masterland;
for (eachObj in masterObj) {
finalObj = masterObj[eachObj];
land = masterObj[eachObj];
newnumber = land._currentframe;
_root.newTerrain.unshift(newNumber);
}
newstring2 = _root.newTerrain.join();
i = 0;
while (i < 50) {
interval = _root.newTerrain[i];
append = interval.toString();
newstring = newstring + append;
newstring.toString();
i++;
}
trace(newstring);
ypos = inty;
Set("_root:tech", false);
existdata = _root:data;
if (_root:testing == "generic") {
getURL (((((((("javascript:putCookie('" + existdata) + ":") + newname) + ",") + _root:tag) + "|") + _root:score) + "')");
Set("_root:data", (((((existdata + ":") + newname) + ",") + _root:tag) + "|") + _root:score);
} else {
getURL (((((("javascript:putCookie('" + existdata) + ":") + newname) + ",") + newstring) + "')");
Set("_root:data", (((existdata + ":") + newname) + ",") + newstring);
}
levelname = "";
_parent.statusbox.gotoAndPlay(1);
_parent.status = ("Level " + newname) + " has been saved.";
delete newstring;
delete shortened;
delete short;
delete letter;
delete title;
} else {
trace("not done yet");
levelname = "please fill in this form";
}
}
Symbol 284 Button
on (release) {
gotoAndStop (2);
}
Symbol 285 MovieClip Frame 1
stop();
error = false;
Symbol 285 MovieClip Frame 2
delete levelname;
Instance of Symbol 274 MovieClip in Symbol 285 MovieClip Frame 2
onClipEvent (keyUp) {
_parent.levelname = _parent.levelname.toUpperCase();
}
Symbol 293 MovieClip Frame 1
Symbol 293 MovieClip Frame 2
if (_root:soundon == false) {
gotoAndStop (1);
}
Symbol 293 MovieClip Frame 3
stop();
Instance of Symbol 297 MovieClip "box" in Symbol 311 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 311 MovieClip Frame 15
gotoAndPlay (3);
Symbol 311 MovieClip Frame 24
_root.tarzan._x = _root.tarzan._x + 2;
gotoAndStop (1);
Symbol 343 MovieClip Frame 24
_parent.nextFrame();
stop();
Symbol 344 MovieClip Frame 35
leap = random(10);
if (5 < leap) {
gotoAndStop (36);
} else {
gotoAndPlay (39);
}
Symbol 344 MovieClip Frame 36
roar.start();
Symbol 344 MovieClip Frame 37
play();
Symbol 344 MovieClip Frame 38
gotoAndPlay (46);
Symbol 344 MovieClip Frame 39
play();
Symbol 344 MovieClip Frame 67
gotoAndPlay (1);
Symbol 346 MovieClip Frame 1
stop();
Symbol 349 MovieClip Frame 1
stop();
Symbol 349 MovieClip Frame 6
stop();
Symbol 353 Button
on (release) {
_root.intro.gotoAndPlay("menu");
Set("_root:edit", false);
}
Symbol 354 Button
on (rollOver) {
statusbox.gotoAndPlay(1);
status = "After filling all sections, SAVE your custom level to play again later.";
}
on (rollOut) {
status = "";
}
on (press) {
t = 0;
n = 0;
i = 0;
while (i < 50) {
n++;
dirt = _root.masterland["land" + i];
if (9 < dirt._currentframe) {
trace("false--more blocks to fill");
} else {
t++;
}
i++;
}
trace("n=" + n);
trace("t=" + t);
}
on (release) {
if (48 < t) {
Set("_root:tech", true);
Set("emailform:ypos", 200);
emailform.gotoAndStop(2);
} else {
statusbox.gotoAndPlay(1);
status = "Incomplete. Not all land positions have been filled";
}
}
Symbol 355 Button
on (rollOver) {
statusbox.gotoAndPlay(1);
status = "Use FILL ALL to place Landform2 in every empty section.";
}
on (rollOut) {
status = "";
}
on (press) {
i = 1;
while (i < 51) {
land = _root.masterland["land" + i];
if (9 < land._currentframe) {
land.gotoAndStop(3);
}
i++;
}
}
on (release) {
statusbox.gotoAndPlay(1);
status = "All selections have been made";
}
Symbol 356 Button
on (rollOver) {
statusbox.gotoAndPlay(1);
status = "After filling all sections, TEST your custom level.";
}
on (rollOut) {
status = "";
}
on (press) {
if (emailform:newname != null) {
Set("_root:testing", emailform:newname);
delete emailform:newname;
} else {
Set("_root:testing", "generic");
}
t = 0;
n = 0;
i = 0;
while (i < 50) {
n++;
dirt = _root.masterland["land" + i];
if (9 < dirt._currentframe) {
trace("false--more blocks to fill");
} else {
t++;
}
i++;
}
trace("n=" + n);
trace("t=" + t);
}
on (release) {
if (48 < t) {
masterObj = _root.masterland;
for (eachObj in masterObj) {
finalObj = masterObj[eachObj];
land = masterObj[eachObj];
newnumber = land._currentframe;
_root.newTerrain.unshift(newNumber);
}
i = 0;
while (i < 50) {
interval = _root.newTerrain[i];
append = interval.toString();
newstring = newstring + append;
newstring.toString();
i++;
}
Set("_root:tag", newstring);
Set("_root:pause", false);
_root.masterland._x = 0;
_root.timer.gotoAndStop(2);
_root.gotoAndPlay(5);
Set("_root:edit", false);
_root.help.gotoAndPlay("grow");
Set("_root:import", true);
Set("_root:n", 1);
Set("_root:lives", 3);
Set("_root:score", 0);
Set("_root:hiscore", 0);
Set("_root:levels", 1);
Set("_root:sign", 0);
Set("_root:diamondtotal", 0);
Set("_root:meter", 100);
_root.timer.gotoAndStop(1);
Set("_root:redo", 50);
} else {
statusbox.gotoAndPlay(1);
status = "Incomplete. Not all land positions have been filled";
}
}
Symbol 357 Button
on (rollOver) {
statusbox.gotoAndPlay(1);
status = "Use CLEAR ALL to remove all the landforms you've selected.";
}
on (rollOut) {
status = "";
}
on (press) {
i = 1;
while (i < 51) {
land = _root.masterland["land" + i];
land.gotoAndStop(11);
i++;
}
}
on (release) {
statusbox.gotoAndPlay(1);
status = "All landforms have been cleared";
}
Symbol 358 Button
on (rollOver) {
statusbox.gotoAndPlay(1);
status = "After filling all sections, EMAIL your custom level to your friends.";
}
on (rollOut) {
status = "";
}
on (press) {
t = 0;
n = 0;
i = 0;
while (i < 50) {
n++;
dirt = _root.masterland["land" + i];
if (9 < dirt._currentframe) {
trace("false--more blocks to fill");
} else {
t++;
}
i++;
}
trace("n=" + n);
trace("t=" + t);
}
on (release) {
if (48 < t) {
Set("_root:tech", true);
Set("emailform:ypos", 200);
emailform.gotoAndStop(1);
} else {
statusbox.gotoAndPlay(1);
status = "Incomplete. Not all land positions have been filled";
}
}
Symbol 360 MovieClip Frame 1
stop();
Instance of Symbol 135 MovieClip "vine" in Symbol 360 MovieClip Frame 1
onClipEvent (load) {
a = 1;
}
onClipEvent (enterFrame) {
this._rotation = (Math.sin(1 * a) * Math.pow(1, a)) * 55;
a = a + 0.1;
}
Instance of Symbol 141 MovieClip "buttonhold" in Symbol 360 MovieClip Frame 1
onClipEvent (load) {
exit = _root:edit;
}
onClipEvent (enterFrame) {
now = _root:edit;
if ((_root:edit == true) and (now != exit)) {
this.gotoAndPlay(2);
}
if (_root:edit == false) {
this.gotoAndStop(1);
}
if (20 < this._currentframe) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
gotoAndStop (22);
highlighted = "_root.masterland." + _parent._name;
Set("_root:selectnumber", highlighted.slice(21));
trace("you've highlighted-" + highlighted);
Set("_root:selection", highlighted);
} else {
gotoAndStop (23);
}
}
exit = _root:edit;
}
Symbol 360 MovieClip Frame 3
var t = (random(2) + 1);
trace("t=" + t);
this.widetrees.gotoAndStop(t);
Instance of Symbol 153 MovieClip "widetrees" in Symbol 360 MovieClip Frame 3
/* no clip actions */
Instance of Symbol 158 MovieClip "croc" in Symbol 360 MovieClip Frame 5
onClipEvent (load) {
a = 1;
unit = random(5) + 5;
inc = unit / 100;
}
onClipEvent (enterFrame) {
initX = this._x;
this._x = ((Math.sin(1 * a) * Math.pow(1, a)) * 70) + 150;
newX = this._x;
if ((newX - initX) < 0) {
this._xscale = -100;
} else {
this._xscale = 100;
}
a = a + inc;
}
Instance of Symbol 159 MovieClip "solid" in Symbol 360 MovieClip Frame 5
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
this._x = _parent.croc._x;
}
Instance of Symbol 135 MovieClip "vine" in Symbol 360 MovieClip Frame 7
onClipEvent (load) {
a = 1;
}
onClipEvent (enterFrame) {
this._rotation = (Math.sin(1 * a) * Math.pow(1, a)) * 55;
a = a + 0.1;
}
Instance of Symbol 153 MovieClip "widetrees" in Symbol 360 MovieClip Frame 8
/* no clip actions */
Instance of Symbol 153 MovieClip "widetrees" in Symbol 360 MovieClip Frame 10
/* no clip actions */
Instance of Symbol 153 MovieClip "widetrees" in Symbol 360 MovieClip Frame 15
/* no clip actions */
Instance of Symbol 153 MovieClip "widetrees" in Symbol 360 MovieClip Frame 15
/* no clip actions */
Instance of Symbol 187 MovieClip "solid" in Symbol 360 MovieClip Frame 15
onClipEvent (load) {
this._visible = false;
}
Symbol 371 MovieClip Frame 9
_parent.nextFrame();
stop();
Symbol 374 MovieClip Frame 6
stop();
Symbol 394 MovieClip Frame 89
gotoAndPlay (9);