Frame 1
fscommand ("allowscale", true);
fscommand ("showmenu", false);
timesup = new Sound(this);
timesup.attachSound("timesup");
littlevoice = new Sound(this);
littlevoice.attachSound("littlevoice");
player1bonus = new Sound(this);
player1bonus.attachSound("player1bonus");
player2bonus = new Sound(this);
player2bonus.attachSound("player2bonus");
redlight = new Sound(this);
redlight.attachSound("redlight");
violation = new Sound(this);
violation.attachSound("violation");
iwarnedyou = new Sound(this);
iwarnedyou.attachSound("iwarnedyou");
splash = new Sound(this);
splash.attachSound("splash");
bounce1 = new Sound(this);
bounce1.attachSound("bounce1");
bounce2 = new Sound(this);
bounce2.attachSound("bounce2");
fall = new Sound(this);
fall.attachSound("fall");
augah = new Sound(this);
augah.attachSound("augah");
track_loop = new Sound(this);
track_loop.attachSound("track_loop");
cloud_loop = new Sound(this);
cloud_loop.attachSound("cloud_loop");
sally_rollover = new Sound(this);
sally_rollover.attachSound("sally_rollover");
conrad_rollover = new Sound(this);
conrad_rollover.attachSound("conrad_rollover");
stop();
Instance of Symbol 24 MovieClip in Frame 1
onClipEvent (load) {
percent = 0;
}
onClipEvent (enterFrame) {
percent = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (percent >= 99) {
_root.gotoAndStop("menu");
}
}
Frame 8
stopAllSounds();
_root.track_loop.start(0, 9999);
stop();
Instance of Symbol 31 MovieClip in Frame 8
onClipEvent (load) {
theFrame = 1;
time = getTimer();
}
onClipEvent (enterFrame) {
gotoAndStop(theFrame);
if ((getTimer() - time) >= 2000) {
if (theFrame >= 4) {
theFrame = 1;
} else {
theFrame++;
}
time = getTimer();
}
}
Instance of Symbol 79 MovieClip in Frame 8
onClipEvent (load) {
speech = 0;
}
onClipEvent (enterFrame) {
}
Frame 13
stop();
Frame 23
playerNum = 0;
stopAllSounds();
_root.track_loop.start(0, 9999);
stop();
Frame 29
trouble = 0;
hurt = 0;
warning = 0;
win = 0;
score = 0;
visit_count = 0;
bonusTime = 0;
goodieCount = 0;
flipCount = 0;
splitsCount = 0;
cannonballCount = 0;
comboCount = 0;
gotoAndPlay("player" add _root.playerNum);
Frame 33
stopAllSounds();
track_loop.start(0, 9999);
stop();
Instance of Symbol 232 MovieClip "bg" in Frame 33
onClipEvent (load) {
function thump() {
plant.visible = 1;
light1.visible = 1;
light2.visible = 1;
light3.visible = 1;
}
}
Instance of Symbol 236 MovieClip "feedbackCannonball" in Frame 33
onClipEvent (load) {
function award() {
if (_root.player._x > 360) {
this._x = _root.player._x - 150;
this._y = _root.player._y;
} else {
this._x = _root.player._x + 150;
this._y = _root.player._y;
}
visible = 1;
}
visible = 0;
}
onClipEvent (enterFrame) {
if (visible) {
nextFrame();
this._y = this._y - _root.player.ySpeed;
} else {
this._x = -100;
this._y = -100;
gotoAndStop (1);
}
}
Instance of Symbol 239 MovieClip "feedbackFlip" in Frame 33
onClipEvent (load) {
function award() {
if (_root.player._x > 360) {
this._x = _root.player._x - 150;
this._y = _root.player._y;
} else {
this._x = _root.player._x + 150;
this._y = _root.player._y;
}
visible = 1;
}
visible = 0;
}
onClipEvent (enterFrame) {
if (visible) {
nextFrame();
this._y = this._y - _root.player.ySpeed;
} else {
this._x = -100;
this._y = -100;
gotoAndStop (1);
}
}
Instance of Symbol 242 MovieClip "feedbackSplits" in Frame 33
onClipEvent (load) {
function award() {
if (_root.player._x > 360) {
this._x = _root.player._x - 150;
this._y = _root.player._y;
} else {
this._x = _root.player._x + 150;
this._y = _root.player._y;
}
visible = 1;
}
visible = 0;
}
onClipEvent (enterFrame) {
if (visible) {
nextFrame();
this._y = this._y - _root.player.ySpeed;
} else {
this._x = -100;
this._y = -100;
gotoAndStop (1);
}
}
Instance of Symbol 261 MovieClip "player" in Frame 33
onClipEvent (load) {
function jump(speed) {
air = 1;
ySpeed = speed;
}
function keyAction() {
if (Key.isDown(37)) {
this._xscale = -100;
xSpeed = -5;
}
if (Key.isDown(39)) {
this._xscale = 100;
xSpeed = 5;
}
if (Key.isDown(38)) {
if (air) {
rSpeed = 15;
}
}
if (Key.isDown(40)) {
if (air) {
rSpeed = -15;
}
}
if (Key.isDown(87)) {
if (air) {
if (cCount == 0) {
_root.cannonballCount++;
_root.feedbackCannonball.award();
_root.trickPoints.award();
cCount = 1;
}
gotoAndStop (4);
}
}
if (Key.isDown(69)) {
if (air) {
if (sCount == 0) {
_root.splitsCount++;
_root.feedbackSplits.award();
_root.trickPoints.award();
sCount = 1;
}
gotoAndStop (5);
}
}
if (Key.isDown(32)) {
if (!air) {
jump(-10);
}
}
}
function pointCount() {
_root.trickPoints.gotoAndStop(1);
fCount = 0;
cCount = 0;
sCount = 0;
}
function floorDetect() {
if (this._y > floor) {
this._y = floor;
if (Math.abs(this._rotation) < 30) {
gotoAndStop (1);
} else {
pointCount();
gotoAndStop (6);
_root.hurt = 1;
}
pointCount();
rotation = 0;
this._rotation = rotation;
rSpeed = 0;
air = 0;
}
}
function wallDetect() {
if (this._x < 90) {
xSpeed = 0;
this._x = 90;
}
if (this._x > 625) {
xSpeed = 0;
this._x = 625;
}
}
air = 0;
floor = 330;
rotation = 0;
xSpeed = 0;
if (_root.bonusTime) {
this._x = 275;
this._y = -300;
air = 1;
}
}
onClipEvent (enterFrame) {
if (air) {
gotoAndStop (3);
rotation = rotation + rSpeed;
this._rotation = rotation;
rSpeed = rSpeed * 0.6;
if (Math.abs(rotation) >= 360) {
_root.flipCount++;
_root.feedbackFlip.award();
_root.trickPoints.award();
fCount++;
rotation = 0;
}
this._x = this._x + xSpeed;
xSpeed = xSpeed * 0.8;
if (_root.bonusTime) {
this._y = this._y + ySpeed;
if (this._y < -400) {
_root.gotoAndPlay("bonus");
}
} else if (this._y <= 230) {
_root.bg._y = _root.bg._y - ySpeed;
if (_root.bg._y <= 450) {
_root.bg._y = 450;
this._y = 235;
}
} else {
this._y = this._y + ySpeed;
}
ySpeed = ySpeed + 0.6;
floorDetect();
} else if (((!_root.trouble) && (!_root.hurt)) && (!_root.win)) {
this._x = this._x + xSpeed;
xSpeed = xSpeed * 0.8;
if (Math.abs(xSpeed) > 0.5) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
if (((!_root.trouble) && (!_root.hurt)) && (!_root.win)) {
keyAction();
}
wallDetect();
}
Instance of Symbol 265 MovieClip "goodiePoints" in Frame 33
onClipEvent (load) {
function award() {
if (_root.player._x > 360) {
this._x = _root.player._x - 70;
this._y = _root.player._y;
} else {
this._x = _root.player._x + 70;
this._y = _root.player._y;
}
this.gotoAndPlay(2);
_root.goodieCount = _root.goodieCount + 1;
_root.score = _root.score + 150;
_root.sugarMeter.high = _root.sugarMeter.high + 30;
_root.goodie_sound.start();
}
}
Instance of Symbol 267 MovieClip in Frame 33
onClipEvent (enterFrame) {
if ((_root.trouble || (_root.hurt)) || (_root.win)) {
nextFrame();
}
}
Instance of Symbol 278 MovieClip "trickPoints" in Frame 33
onClipEvent (load) {
function award() {
nextFrame();
}
}
Instance of Symbol 79 MovieClip in Frame 33
onClipEvent (load) {
speech = 1;
fishTimer = getTimer();
}
onClipEvent (enterFrame) {
if (((!_root.trouble) && (!_root.hurt)) && (!_root.warning)) {
if ((getTimer() - fishTimer) >= 4000) {
if (speech) {
speech = 0;
} else {
speech = random(2);
}
fishTimer = getTimer();
gotoAndStop(random(5) + 1);
}
} else if (_root.trouble || (_root.bg.mom.visible)) {
gotoAndStop (8);
} else if (_root.hurt) {
gotoAndStop (7);
} else if (_root.warning) {
gotoAndStop (6);
}
}
Instance of Symbol 301 MovieClip "sugarMeter" in Frame 33
onClipEvent (load) {
high = 1;
timer = getTimer();
size = 100;
}
onClipEvent (enterFrame) {
if (this._currentframe < high) {
nextFrame();
} else if (this._currentframe > high) {
prevFrame();
}
if ((getTimer() - timer) > 2000) {
high--;
if (high < 1) {
high = 1;
}
timer = getTimer();
}
if (high >= 100) {
this.gotoAndStop(100);
if (size == 100) {
size = 105;
} else {
size = 100;
}
this._xscale = (this._yscale = size);
}
if (((Key.isDown(17) && (Key.isDown(67))) && (Key.isDown(65))) && (Key.isDown(84))) {
high = 150;
}
}
Instance of Symbol 304 MovieClip "ai" in Frame 33
onClipEvent (load) {
time = getTimer();
}
onClipEvent (enterFrame) {
if (!_root.trouble) {
if (_root.bg.mom.visible) {
if (((getTimer() - time) > 5000) && (_root.visit_count < 3)) {
_root.warning = 0;
_root.bg.mom.visible = 0;
time = getTimer();
}
} else {
if ((getTimer() - time) >= 33000) {
_root.visit_count++;
_root.bg.mom.visible = 1;
time = getTimer();
}
if ((getTimer() - time) > 25000) {
_root.warning = 1;
}
}
}
}
Frame 38
stopAllSounds();
track_loop.start(0, 9999);
stop();
Instance of Symbol 323 MovieClip "player" in Frame 38
onClipEvent (load) {
function jump(speed) {
air = 1;
ySpeed = speed;
}
function keyAction() {
if (Key.isDown(37)) {
this._xscale = -100;
xSpeed = -5;
}
if (Key.isDown(39)) {
this._xscale = 100;
xSpeed = 5;
}
if (Key.isDown(38)) {
if (air) {
rSpeed = 15;
}
}
if (Key.isDown(40)) {
if (air) {
rSpeed = -15;
}
}
if (Key.isDown(87)) {
if (air) {
if (cCount == 0) {
_root.cannonballCount++;
_root.feedbackCannonball.award();
_root.trickPoints.award();
cCount = 1;
}
gotoAndStop (4);
}
}
if (Key.isDown(69)) {
if (air) {
if (sCount == 0) {
_root.splitsCount++;
_root.feedbackSplits.award();
_root.trickPoints.award();
sCount = 1;
}
gotoAndStop (5);
}
}
if (Key.isDown(32)) {
if (!air) {
jump(-10);
}
}
}
function pointCount() {
_root.trickPoints.gotoAndStop(1);
fCount = 0;
cCount = 0;
sCount = 0;
}
function floorDetect() {
if (this._y > floor) {
this._y = floor;
if (Math.abs(this._rotation) < 30) {
gotoAndStop (1);
} else {
pointCount();
gotoAndStop (6);
_root.hurt = 1;
}
rotation = 0;
this._rotation = rotation;
rSpeed = 0;
air = 0;
}
}
function wallDetect() {
if (this._x < 90) {
xSpeed = 0;
this._x = 90;
}
if (this._x > 625) {
xSpeed = 0;
this._x = 625;
}
}
air = 0;
floor = 330;
rotation = 0;
xSpeed = 0;
if (_root.bonusTime) {
this._x = 275;
this._y = -300;
air = 1;
}
}
onClipEvent (enterFrame) {
if (air) {
gotoAndStop (3);
rotation = rotation + rSpeed;
this._rotation = rotation;
rSpeed = rSpeed * 0.6;
if (Math.abs(rotation) >= 360) {
_root.flipCount++;
_root.feedbackFlip.award();
_root.trickPoints.award();
fCount++;
rotation = 0;
}
this._x = this._x + xSpeed;
xSpeed = xSpeed * 0.8;
if (_root.bonusTime) {
this._y = this._y + ySpeed;
if (this._y < -400) {
_root.gotoAndPlay("bonus");
}
} else if (this._y <= 230) {
_root.bg._y = _root.bg._y - ySpeed;
if (_root.bg._y <= 450) {
_root.bg._y = 450;
this._y = 235;
}
} else {
this._y = this._y + ySpeed;
}
ySpeed = ySpeed + 0.6;
floorDetect();
} else if (((!_root.trouble) && (!_root.hurt)) && (!_root.win)) {
this._x = this._x + xSpeed;
xSpeed = xSpeed * 0.8;
if (Math.abs(xSpeed) > 0.5) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
if (((!_root.trouble) && (!_root.hurt)) && (!_root.win)) {
keyAction();
}
wallDetect();
}
Frame 44
stop();
Instance of Symbol 79 MovieClip in Frame 44
onClipEvent (load) {
speech = 0;
fishTimer = getTimer();
}
onClipEvent (enterFrame) {
if ((getTimer() - fishTimer) >= 300) {
fishTimer = getTimer();
gotoAndStop(random(5) + 1);
}
}
Frame 45
stop();
Frame 46
stopAllSounds();
_root.violation.start();
cloud_loop.start(0, 9999);
gotoAndPlay(("player" add _root.playerNum) add " bonus");
Instance of Symbol 265 MovieClip "goodiePoints" in Frame 46
onClipEvent (load) {
function award() {
this._x = _root.player._x - 70;
this._y = _root.player._y;
this.gotoAndPlay(2);
_root.goodieCount = _root.goodieCount + 1;
_root.score = _root.score + 150;
_root.sugarMeter.high = _root.sugarMeter.high + 30;
_root.goodie_sound.start();
}
}
Instance of Symbol 79 MovieClip in Frame 46
onClipEvent (load) {
speech = 0;
}
onClipEvent (enterFrame) {
this.gotoAndStop(9);
}
Frame 50
stop();
Instance of Symbol 261 MovieClip "player" in Frame 50
onClipEvent (load) {
function jump(speed) {
air = 1;
ySpeed = speed;
_root.jump_sound.start();
}
function keyAction() {
if (Key.isDown(37)) {
this._xscale = -40;
xSpeed = -5;
}
if (Key.isDown(39)) {
this._xscale = 40;
xSpeed = 5;
}
if (Key.isDown(32)) {
if (!air) {
jump(-10);
}
}
}
air = 1;
xSpeed = 0;
ySpeed = -20;
}
onClipEvent (enterFrame) {
if (air) {
if (ySpeed < 0) {
gotoAndStop (3);
} else {
gotoAndStop (1);
}
if (this._x >= 250) {
_root.bonusLevel._x = _root.bonusLevel._x - xSpeed;
} else {
this._x = this._x + xSpeed;
}
this._y = this._y + ySpeed;
xSpeed = xSpeed * 0.8;
ySpeed = ySpeed + 0.8;
} else {
if (this._x >= 250) {
_root.bonusLevel._x = _root.bonusLevel._x - xSpeed;
} else {
this._x = this._x + xSpeed;
}
xSpeed = xSpeed * 0.8;
if (Math.abs(xSpeed) > 0.5) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
if (this._y > 600) {
_root.gotoAndPlay("player" add _root.playerNum);
}
keyAction();
}
Instance of Symbol 372 MovieClip in Frame 50
onClipEvent (enterFrame) {
this._x = (_root.bonusLevel._x + 4918) - _root.player.xSpeed;
}
Frame 60
stop();
Instance of Symbol 323 MovieClip "player" in Frame 60
onClipEvent (load) {
function jump(speed) {
air = 1;
ySpeed = speed;
_root.jump_sound.start();
}
function keyAction() {
if (Key.isDown(37)) {
this._xscale = -40;
xSpeed = -5;
}
if (Key.isDown(39)) {
this._xscale = 40;
xSpeed = 5;
}
if (Key.isDown(32)) {
if (!air) {
jump(-10);
}
}
}
air = 1;
xSpeed = 0;
ySpeed = -20;
}
onClipEvent (enterFrame) {
if (air) {
if (ySpeed < 0) {
gotoAndStop (3);
} else {
gotoAndStop (1);
}
if (this._x >= 250) {
_root.bonusLevel._x = _root.bonusLevel._x - xSpeed;
} else {
this._x = this._x + xSpeed;
}
this._y = this._y + ySpeed;
xSpeed = xSpeed * 0.8;
ySpeed = ySpeed + 0.8;
} else {
if (this._x >= 250) {
_root.bonusLevel._x = _root.bonusLevel._x - xSpeed;
} else {
this._x = this._x + xSpeed;
}
xSpeed = xSpeed * 0.8;
if (Math.abs(xSpeed) > 0.5) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
if (this._y > 600) {
_root.gotoAndPlay("player" add _root.playerNum);
}
keyAction();
}
Frame 70
stop();
Instance of Symbol 401 MovieClip in Frame 70
onClipEvent (load) {
goodieCount = _root.goodieCount;
flipCount = _root.flipCount;
splitsCount = _root.splitsCount;
cannonballCount = _root.cannonballCount;
comboCount = _root.comboCount;
dinnerBonus = 0;
if (_root.trouble) {
this.gotoAndStop(3);
} else if (_root.hurt) {
this.gotoAndStop(2);
} else {
dinnerBonus = 1000;
}
score = _root.score + dinnerBonus;
}
Instance of Symbol 79 MovieClip in Frame 70
onClipEvent (load) {
speech = 0;
if (_root.trouble) {
_root.iwarnedyou.start();
this.gotoAndStop(4);
} else if (_root.hurt) {
_root.iwarnedyou.start();
this.gotoAndStop(4);
} else {
this.gotoAndStop(3);
_root.timesup.start();
}
}
Frame 75
stop();
Symbol 31 MovieClip Frame 1
stop();
Symbol 42 MovieClip Frame 1
stop();
Symbol 42 MovieClip Frame 6
splash = 0;
Symbol 69 MovieClip Frame 1
stop();
Symbol 72 MovieClip Frame 10
stop();
Symbol 79 MovieClip Frame 1
stop();
Instance of Symbol 42 MovieClip "bowl" in Symbol 79 MovieClip Frame 1
onClipEvent (load) {
splash = 0;
}
onClipEvent (enterFrame) {
if (splash) {
nextFrame();
} else {
prevFrame();
}
}
Instance of Symbol 47 MovieClip in Symbol 79 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.speech) {
nextFrame();
} else {
prevFrame();
}
}
Instance of Symbol 52 MovieClip "bubble3" in Symbol 79 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_parent.speech) {
nextFrame();
} else {
prevFrame();
}
}
Instance of Symbol 57 MovieClip "bubble1" in Symbol 79 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_parent.speech) {
nextFrame();
} else {
prevFrame();
}
}
Instance of Symbol 52 MovieClip "bubble3" in Symbol 79 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_parent.speech) {
nextFrame();
} else {
prevFrame();
}
}
Instance of Symbol 64 MovieClip "bubble4" in Symbol 79 MovieClip Frame 5
onClipEvent (load) {
splash = 0;
}
onClipEvent (enterFrame) {
if (splash) {
nextFrame();
} else {
prevFrame();
}
}
Symbol 79 MovieClip Frame 6
_root.redlight.start();
_root.splash.start();
bowl.splash = 1;
Instance of Symbol 69 MovieClip in Symbol 79 MovieClip Frame 6
onClipEvent (enterFrame) {
if (!_root.player.air) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Symbol 82 Button
on (release) {
gotoAndPlay (13);
}
Symbol 84 Button
on (release) {
gotoAndPlay (23);
}
Symbol 86 Button
on (release) {
gotoAndPlay (75);
}
Symbol 120 Button
on (press) {
scrollSpeed = -1;
}
on (rollOut, release, dragOut, releaseOutside) {
scrollSpeed = 0;
}
Symbol 121 Button
on (press) {
scrollSpeed = 1;
}
on (rollOut, release, dragOut, releaseOutside) {
scrollSpeed = 0;
}
Symbol 125 MovieClip Frame 1
content = "On the ground:\nUse your LEFT and RIGHT ARROWS to walk to or away from the couch\n\nPress the SPACE BAR to jump up on the couch\n\nOn the couch:\nUse your LEFT and RIGHT ARROWS to move side to side in the air.\n\nPressing the UP or DOWN arrow will help make you flip.\n\nThe W key is to Cannonball on the couch\n\nThe E key is to do the Splits.\n\nTo dismount, land on your feet on either side of the couch.\n\nDon't get caught by Mom!\n\nKeep your eye on the Fish. He'll warn you when Mom is coming. Jump off the couch quick and land on your feet before Mom catches you.\n\nMake sure you land on your feet! Landing on your head hurts and will end the game.";
Instance of Symbol 122 MovieClip in Symbol 125 MovieClip Frame 1
onClipEvent (load) {
scrollSpeed = 0;
}
onClipEvent (enterFrame) {
_parent.content.scroll = _parent.content.scroll + scrollSpeed;
}
Symbol 127 Button
on (release) {
gotoAndPlay (75);
}
Symbol 129 Button
on (release) {
gotoAndPlay (8);
}
Symbol 138 Button
on (release) {
_root.playerNum = 1;
gotoAndPlay (29);
}
on (rollOver) {
_root.conrad_rollover.start();
}
Symbol 141 Button
on (release) {
_root.playerNum = 2;
gotoAndPlay (29);
}
on (rollOver) {
_root.sally_rollover.start();
}
Symbol 151 MovieClip Frame 5
visible = 0;
Symbol 154 MovieClip Frame 6
visible = 0;
Symbol 157 MovieClip Frame 8
visible = 0;
Symbol 165 MovieClip Frame 1
stop();
Symbol 165 MovieClip Frame 5
gotoAndStop (2);
Symbol 172 MovieClip Frame 1
stop();
Symbol 172 MovieClip Frame 5
gotoAndStop (2);
Symbol 179 MovieClip Frame 1
stop();
Symbol 179 MovieClip Frame 5
gotoAndStop (2);
Symbol 198 MovieClip Frame 1
stop();
Symbol 202 MovieClip Frame 1
stop();
Instance of Symbol 198 MovieClip in Symbol 202 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.visit_count);
}
Instance of Symbol 202 MovieClip in Symbol 203 MovieClip Frame 25
onClipEvent (enterFrame) {
if (_root.visit_count >= 3) {
_root.win = 1;
}
if (_root.player._y <= 230) {
_root.trouble = 1;
this.gotoAndStop(2);
}
}
Symbol 230 MovieClip Frame 1
stop();
Symbol 231 MovieClip Frame 1
stop();
Instance of Symbol 230 MovieClip "candy" in Symbol 231 MovieClip Frame 2
onClipEvent (load) {
gotoAndStop(random(this._totalframes) + 1);
}
Instance of Symbol 151 MovieClip "plant" in Symbol 232 MovieClip Frame 1
onClipEvent (load) {
visible = 0;
}
onClipEvent (enterFrame) {
if (visible) {
nextFrame();
} else {
prevFrame();
}
}
Instance of Symbol 154 MovieClip "light2" in Symbol 232 MovieClip Frame 1
onClipEvent (load) {
visible = 0;
}
onClipEvent (enterFrame) {
if (visible) {
nextFrame();
} else {
prevFrame();
}
}
Instance of Symbol 157 MovieClip "light3" in Symbol 232 MovieClip Frame 1
onClipEvent (load) {
visible = 0;
}
onClipEvent (enterFrame) {
if (visible) {
nextFrame();
} else {
prevFrame();
}
}
Instance of Symbol 154 MovieClip "light1" in Symbol 232 MovieClip Frame 1
onClipEvent (load) {
visible = 0;
}
onClipEvent (enterFrame) {
if (visible) {
nextFrame();
} else {
prevFrame();
}
}
Instance of Symbol 165 MovieClip "cushion_L" in Symbol 232 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitspot.hitTest(_root.player.hitspot) && (_root.player.ySpeed > 0)) && (!_root.trouble)) {
if (_root.sugarMeter.high >= 100) {
_root.bonusTime = 1;
_root.bounce2.start();
_root.player.jump(-40);
} else {
_root.bonusTime = 0;
_root.bounce1.start();
_root.player.jump(-15);
}
_root.player.pointCount();
_parent.thump();
_parent.pillow_L.visible = 1;
this.play();
}
}
Instance of Symbol 172 MovieClip "cushion_R" in Symbol 232 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitspot.hitTest(_root.player.hitspot) && (_root.player.ySpeed > 0)) && (!_root.trouble)) {
if (_root.sugarMeter.high >= 100) {
_root.bonusTime = 1;
_root.bounce2.start();
_root.player.jump(-40);
} else {
_root.bonusTime = 0;
_root.bounce1.start();
_root.player.jump(-15);
}
_root.player.pointCount();
_parent.thump();
_parent.pillow_R.visible = 1;
this.play();
}
}
Instance of Symbol 179 MovieClip "cushion_M" in Symbol 232 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitspot.hitTest(_root.player.hitspot) && (_root.player.ySpeed > 0)) && (!_root.trouble)) {
if (_root.sugarMeter.high >= 100) {
_root.bonusTime = 1;
_root.bounce2.start();
_root.player.jump(-40);
} else {
_root.bonusTime = 0;
_root.bounce1.start();
_root.player.jump(-22);
}
_root.player.pointCount();
_parent.thump();
_parent.pillow_M.visible = 1;
this.play();
}
}
Instance of Symbol 182 MovieClip "pillow_M" in Symbol 232 MovieClip Frame 1
onClipEvent (load) {
activated = 0;
visible = 0;
ySpeed = -10;
}
onClipEvent (enterFrame) {
if (visible && (!activated)) {
this._y = this._y + ySpeed;
ySpeed = ySpeed + 1;
this._rotation = this._rotation + 15;
if ((this._y >= -190) && (ySpeed > 0)) {
visible = 0;
activated = 1;
this._visible = 0;
}
}
}
Instance of Symbol 182 MovieClip "pillow_L" in Symbol 232 MovieClip Frame 1
onClipEvent (load) {
activated = 0;
visible = 0;
ySpeed = -10;
}
onClipEvent (enterFrame) {
if (visible && (!activated)) {
this._y = this._y + ySpeed;
ySpeed = ySpeed + 1;
this._rotation = this._rotation - 15;
if ((this._y >= -190) && (ySpeed > 0)) {
visible = 0;
activated = 1;
this._visible = 0;
}
}
}
Instance of Symbol 182 MovieClip "pillow_R" in Symbol 232 MovieClip Frame 1
onClipEvent (load) {
activated = 0;
visible = 0;
ySpeed = -10;
}
onClipEvent (enterFrame) {
if (visible && (!activated)) {
this._y = this._y + ySpeed;
ySpeed = ySpeed + 1;
this._rotation = this._rotation + 15;
if ((this._y >= -190) && (ySpeed > 0)) {
visible = 0;
activated = 1;
this._visible = 0;
}
}
}
Instance of Symbol 203 MovieClip "mom" in Symbol 232 MovieClip Frame 1
onClipEvent (load) {
visible = 0;
if (_root.trouble) {
gotoAndStop (22);
visible = 1;
}
}
onClipEvent (enterFrame) {
if (visible) {
nextFrame();
} else {
prevFrame();
}
}
Instance of Symbol 231 MovieClip "goodies" in Symbol 232 MovieClip Frame 1
onClipEvent (load) {
time = getTimer();
show = 0;
}
onClipEvent (enterFrame) {
if (show) {
if ((getTimer() - time) > 4000) {
this.gotoAndStop("hide");
show = 0;
time = getTimer();
}
if (candy.hitTest(_root.player)) {
_root.goodiePoints.award();
this.gotoAndStop("hide");
show = 0;
time = getTimer();
}
} else if ((getTimer() - time) > 10000) {
if (random(2)) {
this._x = random(200);
} else {
this._x = -random(200);
}
this._y = (-random(250)) - 400;
this.gotoAndStop("show");
show = 1;
time = getTimer();
}
}
Symbol 236 MovieClip Frame 1
stop();
Symbol 236 MovieClip Frame 20
visible = 0;
stop();
Symbol 239 MovieClip Frame 1
stop();
Symbol 239 MovieClip Frame 20
visible = 0;
stop();
Symbol 242 MovieClip Frame 1
stop();
Symbol 242 MovieClip Frame 20
visible = 0;
stop();
Symbol 261 MovieClip Frame 1
stop();
Symbol 261 MovieClip Frame 2
stop();
Symbol 261 MovieClip Frame 3
stop();
Instance of Symbol 250 MovieClip in Symbol 261 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_parent.ySpeed < 0) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
}
Symbol 261 MovieClip Frame 4
stop();
Symbol 261 MovieClip Frame 5
stop();
Symbol 261 MovieClip Frame 6
_root.fall.start();
_root.bg.thump();
stop();
Symbol 265 MovieClip Frame 1
stop();
Symbol 265 MovieClip Frame 28
stop();
Symbol 267 MovieClip Frame 1
stop();
Symbol 267 MovieClip Frame 81
_root.gotoAndStop("stats");
stop();
Symbol 278 MovieClip Frame 1
stop();
Symbol 278 MovieClip Frame 2
_root.score = _root.score + 25;
Symbol 278 MovieClip Frame 3
_root.comboCount++;
_root.score = _root.score + 50;
Symbol 278 MovieClip Frame 4
_root.score = _root.score + 75;
Symbol 278 MovieClip Frame 5
_root.score = _root.score + 100;
Symbol 278 MovieClip Frame 6
_root.score = _root.score + 200;
Symbol 289 MovieClip Frame 1
stop();
Symbol 296 MovieClip Frame 15
stop();
Instance of Symbol 289 MovieClip "l2" in Symbol 301 MovieClip Frame 1
onClipEvent (load) {
time = getTimer();
}
onClipEvent (enterFrame) {
if ((getTimer() - time) > 200) {
this.gotoAndStop(random(this._totalframes) + 1);
time = getTimer();
}
}
Instance of Symbol 289 MovieClip "l3" in Symbol 301 MovieClip Frame 1
onClipEvent (load) {
time = getTimer();
}
onClipEvent (enterFrame) {
if ((getTimer() - time) > 200) {
this.gotoAndStop(random(this._totalframes) + 1);
time = getTimer();
}
}
Instance of Symbol 289 MovieClip "l1" in Symbol 301 MovieClip Frame 1
onClipEvent (load) {
time = getTimer();
}
onClipEvent (enterFrame) {
if ((getTimer() - time) > 200) {
this.gotoAndStop(random(this._totalframes) + 1);
time = getTimer();
}
}
Instance of Symbol 289 MovieClip "l4" in Symbol 301 MovieClip Frame 1
onClipEvent (load) {
time = getTimer();
}
onClipEvent (enterFrame) {
if ((getTimer() - time) > 200) {
this.gotoAndStop(random(this._totalframes) + 1);
time = getTimer();
}
}
Instance of Symbol 289 MovieClip in Symbol 301 MovieClip Frame 1
onClipEvent (load) {
time = getTimer();
}
onClipEvent (enterFrame) {
if ((getTimer() - time) > 200) {
this.gotoAndStop(random(this._totalframes) + 1);
time = getTimer();
}
}
Symbol 301 MovieClip Frame 100
_root.augah.start();
Symbol 316 MovieClip Frame 1
stop();
Symbol 323 MovieClip Frame 1
stop();
Symbol 323 MovieClip Frame 2
stop();
Symbol 323 MovieClip Frame 3
stop();
Instance of Symbol 316 MovieClip in Symbol 323 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_parent.ySpeed < 0) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
}
Symbol 323 MovieClip Frame 4
stop();
Symbol 323 MovieClip Frame 5
stop();
Symbol 323 MovieClip Frame 6
_root.fall.start();
_root.bg.thump();
stop();
Symbol 334 MovieClip Frame 15
stop();
Symbol 337 MovieClip Frame 15
stop();
Instance of Symbol 334 MovieClip "player1" in Symbol 339 MovieClip Frame 55
onClipEvent (load) {
visible = 0;
}
onClipEvent (enterFrame) {
if (visible) {
nextFrame();
} else {
prevFrame();
}
}
Instance of Symbol 337 MovieClip "player2" in Symbol 339 MovieClip Frame 55
onClipEvent (load) {
visible = 0;
}
onClipEvent (enterFrame) {
if (visible) {
nextFrame();
} else {
prevFrame();
}
}
Symbol 339 MovieClip Frame 56
eval ("player" add _root.playerNum).visible = 1;
Symbol 339 MovieClip Frame 91
_root.play();
stop();
Symbol 344 MovieClip Frame 1
eval ("player" add _root.playerNum).ySpeed = -20;
eval ("player" add _root.playerNum).gotoAndStop(3);
eval (("_root.player" add _root.playerNum) add "bonus").start();
stop();
Instance of Symbol 323 MovieClip "player2" in Symbol 344 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y + ySpeed;
if (this._y < -400) {
_root.play();
}
}
Instance of Symbol 261 MovieClip "player1" in Symbol 344 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y + ySpeed;
if (this._y < -400) {
_root.play();
}
}
Instance of Symbol 352 MovieClip in Symbol 353 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.player.ySpeed >= 0) && (this.hitTest(_root.player.hitspot))) {
_root.player._x = _root.player._x + _parent.xSpeed;
_root.player._y = _root.player._y + _parent.ySpeed;
_root.player.air = 0;
if (_root.player._x > 250) {
_parent._parent._x--;
_root.player._x--;
}
}
}
Instance of Symbol 352 MovieClip in Symbol 353 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && (!_root.player.air)) {
_root.player.air = 1;
_root.player.ySpeed = 0;
}
}
Instance of Symbol 360 MovieClip in Symbol 361 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(random(3) + 1);
}
Instance of Symbol 352 MovieClip in Symbol 361 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && (!_root.player.air)) {
_root.player.air = 1;
_root.player.ySpeed = 0;
}
}
Instance of Symbol 352 MovieClip in Symbol 361 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && (!_root.player.air)) {
_root.player.air = 1;
_root.player.ySpeed = 0;
}
}
Instance of Symbol 352 MovieClip in Symbol 361 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.player.ySpeed >= 0) && (this.hitTest(_root.player.hitspot))) {
_root.player._x = _root.player._x + _parent.xSpeed;
_root.player._y = _root.player._y + _parent.ySpeed;
_root.player.air = 0;
if (_root.player._x > 250) {
_parent._parent._x--;
_root.player._x--;
}
}
}
Symbol 366 MovieClip Frame 1
stop();
Symbol 366 MovieClip Frame 2
_root.bounce2.start();
Instance of Symbol 361 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
range = 100;
xSpeed = 2;
ySpeed = 0;
minX = this._x;
maxX = this._x + range;
}
onClipEvent (enterFrame) {
this._x = this._x + xSpeed;
if ((xSpeed > 0) && (this._x >= maxX)) {
xSpeed = xSpeed * -1;
}
if ((xSpeed < 0) && (this._x <= minX)) {
xSpeed = xSpeed * -1;
}
}
Instance of Symbol 361 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
range = 200;
xSpeed = 0;
ySpeed = 3;
minY = this._y;
maxY = this._y + range;
}
onClipEvent (enterFrame) {
this._y = this._y + ySpeed;
if ((ySpeed > 0) && (this._y >= maxY)) {
ySpeed = ySpeed * -1;
}
if ((ySpeed < 0) && (this._y <= minY)) {
ySpeed = ySpeed * -1;
}
}
Instance of Symbol 366 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hitspot)) {
_root.player.jump(-18);
this.gotoAndPlay(2);
}
}
Instance of Symbol 366 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hitspot)) {
_root.player.jump(-18);
this.gotoAndPlay(2);
}
}
Instance of Symbol 366 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hitspot)) {
_root.player.jump(-18);
this.gotoAndPlay(2);
}
}
Instance of Symbol 366 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hitspot)) {
_root.player.jump(-18);
this.gotoAndPlay(2);
}
}
Instance of Symbol 366 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hitspot)) {
_root.player.jump(-18);
this.gotoAndPlay(2);
}
}
Instance of Symbol 361 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
range = 150;
xSpeed = 0;
ySpeed = 4;
minY = this._y;
maxY = this._y + range;
}
onClipEvent (enterFrame) {
this._y = this._y + ySpeed;
if ((ySpeed > 0) && (this._y >= maxY)) {
ySpeed = ySpeed * -1;
}
if ((ySpeed < 0) && (this._y <= minY)) {
ySpeed = ySpeed * -1;
}
}
Instance of Symbol 361 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
range = 200;
xSpeed = 2;
ySpeed = 0;
minX = this._x;
maxX = this._x + range;
}
onClipEvent (enterFrame) {
this._x = this._x + xSpeed;
if ((xSpeed > 0) && (this._x >= maxX)) {
xSpeed = xSpeed * -1;
}
if ((xSpeed < 0) && (this._x <= minX)) {
xSpeed = xSpeed * -1;
}
}
Instance of Symbol 361 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
range = 150;
xSpeed = 2;
ySpeed = 0;
minX = this._x;
maxX = this._x + range;
}
onClipEvent (enterFrame) {
this._x = this._x + xSpeed;
if ((xSpeed > 0) && (this._x >= maxX)) {
xSpeed = xSpeed * -1;
}
if ((xSpeed < 0) && (this._x <= minX)) {
xSpeed = xSpeed * -1;
}
}
Instance of Symbol 361 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
range = 150;
xSpeed = 0;
ySpeed = 4;
minY = this._y - range;
maxY = this._y;
}
onClipEvent (enterFrame) {
this._y = this._y + ySpeed;
if ((ySpeed > 0) && (this._y >= maxY)) {
ySpeed = ySpeed * -1;
}
if ((ySpeed < 0) && (this._y <= minY)) {
ySpeed = ySpeed * -1;
}
}
Instance of Symbol 361 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
range = 150;
xSpeed = 0;
ySpeed = 4;
minY = this._y;
maxY = this._y + range;
}
onClipEvent (enterFrame) {
this._y = this._y + ySpeed;
if ((ySpeed > 0) && (this._y >= maxY)) {
ySpeed = ySpeed * -1;
}
if ((ySpeed < 0) && (this._y <= minY)) {
ySpeed = ySpeed * -1;
}
}
Instance of Symbol 361 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
range = 150;
xSpeed = 0;
ySpeed = 4;
minY = this._y - range;
maxY = this._y;
}
onClipEvent (enterFrame) {
this._y = this._y + ySpeed;
if ((ySpeed > 0) && (this._y >= maxY)) {
ySpeed = ySpeed * -1;
}
if ((ySpeed < 0) && (this._y <= minY)) {
ySpeed = ySpeed * -1;
}
}
Instance of Symbol 361 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
range = 200;
xSpeed = -2;
ySpeed = 2;
minX = this._x - range;
maxX = this._x;
}
onClipEvent (enterFrame) {
this._x = this._x + xSpeed;
this._y = this._y + ySpeed;
if ((xSpeed > 0) && (this._x >= maxX)) {
xSpeed = xSpeed * -1;
ySpeed = ySpeed * -1;
}
if ((xSpeed < 0) && (this._x <= minX)) {
xSpeed = xSpeed * -1;
ySpeed = ySpeed * -1;
}
}
Instance of Symbol 361 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
range = 200;
xSpeed = 2;
ySpeed = 2;
minX = this._x;
maxX = this._x + range;
}
onClipEvent (enterFrame) {
this._x = this._x + xSpeed;
this._y = this._y + ySpeed;
if ((xSpeed > 0) && (this._x >= maxX)) {
xSpeed = xSpeed * -1;
ySpeed = ySpeed * -1;
}
if ((xSpeed < 0) && (this._x <= minX)) {
xSpeed = xSpeed * -1;
ySpeed = ySpeed * -1;
}
}
Instance of Symbol 366 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hitspot)) {
_root.player.jump(-18);
this.gotoAndPlay(2);
}
}
Instance of Symbol 231 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
this._xscale = 40;
this._yscale = 40;
}
onClipEvent (enterFrame) {
if (candy.hitTest(_root.player)) {
_root.goodiePoints.award();
this.gotoAndStop("hide");
}
}
Instance of Symbol 231 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
this._xscale = 40;
this._yscale = 40;
}
onClipEvent (enterFrame) {
if (candy.hitTest(_root.player)) {
_root.goodiePoints.award();
this.gotoAndStop("hide");
}
}
Instance of Symbol 231 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
this._xscale = 40;
this._yscale = 40;
}
onClipEvent (enterFrame) {
if (candy.hitTest(_root.player)) {
_root.goodiePoints.award();
this.gotoAndStop("hide");
}
}
Instance of Symbol 231 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
this._xscale = 40;
this._yscale = 40;
}
onClipEvent (enterFrame) {
if (candy.hitTest(_root.player)) {
_root.goodiePoints.award();
this.gotoAndStop("hide");
}
}
Instance of Symbol 231 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
this._xscale = 40;
this._yscale = 40;
}
onClipEvent (enterFrame) {
if (candy.hitTest(_root.player)) {
_root.goodiePoints.award();
this.gotoAndStop("hide");
}
}
Instance of Symbol 231 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
this._xscale = 40;
this._yscale = 40;
}
onClipEvent (enterFrame) {
if (candy.hitTest(_root.player)) {
_root.goodiePoints.award();
this.gotoAndStop("hide");
}
}
Instance of Symbol 231 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
this._xscale = 40;
this._yscale = 40;
}
onClipEvent (enterFrame) {
if (candy.hitTest(_root.player)) {
_root.goodiePoints.award();
this.gotoAndStop("hide");
}
}
Instance of Symbol 231 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
this._xscale = 40;
this._yscale = 40;
}
onClipEvent (enterFrame) {
if (candy.hitTest(_root.player)) {
_root.goodiePoints.award();
this.gotoAndStop("hide");
}
}
Instance of Symbol 231 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
this._xscale = 40;
this._yscale = 40;
}
onClipEvent (enterFrame) {
if (candy.hitTest(_root.player)) {
_root.goodiePoints.award();
this.gotoAndStop("hide");
}
}
Instance of Symbol 231 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
this._xscale = 40;
this._yscale = 40;
}
onClipEvent (enterFrame) {
if (candy.hitTest(_root.player)) {
_root.goodiePoints.award();
this.gotoAndStop("hide");
}
}
Instance of Symbol 231 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
this._xscale = 40;
this._yscale = 40;
}
onClipEvent (enterFrame) {
if (candy.hitTest(_root.player)) {
_root.goodiePoints.award();
this.gotoAndStop("hide");
}
}
Instance of Symbol 231 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
this._xscale = 40;
this._yscale = 40;
}
onClipEvent (enterFrame) {
if (candy.hitTest(_root.player)) {
_root.goodiePoints.award();
this.gotoAndStop("hide");
}
}
Instance of Symbol 231 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
this._xscale = 40;
this._yscale = 40;
}
onClipEvent (enterFrame) {
if (candy.hitTest(_root.player)) {
_root.goodiePoints.award();
this.gotoAndStop("hide");
}
}
Instance of Symbol 231 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
this._xscale = 40;
this._yscale = 40;
}
onClipEvent (enterFrame) {
if (candy.hitTest(_root.player)) {
_root.goodiePoints.award();
this.gotoAndStop("hide");
}
}
Instance of Symbol 231 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
this._xscale = 40;
this._yscale = 40;
}
onClipEvent (enterFrame) {
if (candy.hitTest(_root.player)) {
_root.goodiePoints.award();
this.gotoAndStop("hide");
}
}
Instance of Symbol 231 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
this._xscale = 40;
this._yscale = 40;
}
onClipEvent (enterFrame) {
if (candy.hitTest(_root.player)) {
_root.goodiePoints.award();
this.gotoAndStop("hide");
}
}
Instance of Symbol 231 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
this._xscale = 40;
this._yscale = 40;
}
onClipEvent (enterFrame) {
if (candy.hitTest(_root.player)) {
_root.goodiePoints.award();
this.gotoAndStop("hide");
}
}
Instance of Symbol 231 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
this._xscale = 40;
this._yscale = 40;
}
onClipEvent (enterFrame) {
if (candy.hitTest(_root.player)) {
_root.goodiePoints.award();
this.gotoAndStop("hide");
}
}
Instance of Symbol 231 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
this._xscale = 40;
this._yscale = 40;
}
onClipEvent (enterFrame) {
if (candy.hitTest(_root.player)) {
_root.goodiePoints.award();
this.gotoAndStop("hide");
}
}
Instance of Symbol 231 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
this._xscale = 40;
this._yscale = 40;
}
onClipEvent (enterFrame) {
if (candy.hitTest(_root.player)) {
_root.goodiePoints.award();
this.gotoAndStop("hide");
}
}
Instance of Symbol 231 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
this._xscale = 40;
this._yscale = 40;
}
onClipEvent (enterFrame) {
if (candy.hitTest(_root.player)) {
_root.goodiePoints.award();
this.gotoAndStop("hide");
}
}
Instance of Symbol 231 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
this._xscale = 40;
this._yscale = 40;
}
onClipEvent (enterFrame) {
if (candy.hitTest(_root.player)) {
_root.goodiePoints.award();
this.gotoAndStop("hide");
}
}
Instance of Symbol 231 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
this._xscale = 40;
this._yscale = 40;
}
onClipEvent (enterFrame) {
if (candy.hitTest(_root.player)) {
_root.goodiePoints.award();
this.gotoAndStop("hide");
}
}
Instance of Symbol 231 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
this._xscale = 40;
this._yscale = 40;
}
onClipEvent (enterFrame) {
if (candy.hitTest(_root.player)) {
_root.goodiePoints.award();
this.gotoAndStop("hide");
}
}
Instance of Symbol 231 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
this._xscale = 40;
this._yscale = 40;
}
onClipEvent (enterFrame) {
if (candy.hitTest(_root.player)) {
_root.goodiePoints.award();
this.gotoAndStop("hide");
}
}
Instance of Symbol 231 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
this._xscale = 40;
this._yscale = 40;
}
onClipEvent (enterFrame) {
if (candy.hitTest(_root.player)) {
_root.goodiePoints.award();
this.gotoAndStop("hide");
}
}
Instance of Symbol 231 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(2);
this._xscale = 40;
this._yscale = 40;
}
onClipEvent (enterFrame) {
if (candy.hitTest(_root.player)) {
_root.goodiePoints.award();
this.gotoAndStop("hide");
}
}
Symbol 401 MovieClip Frame 1
stop();
Instance of Symbol 386 MovieClip "finalScore" in Symbol 401 MovieClip Frame 1
onClipEvent (load) {
display = 0;
targetNum = _parent.score;
}
onClipEvent (enterFrame) {
if (targetNum > display) {
difference = targetNum - display;
if (difference > 100) {
display = display + 100;
} else if (difference > 10) {
display = display + 10;
} else {
display = display + 1;
}
}
}
Symbol 402 Button
on (release) {
stopAllSounds();
gotoAndPlay (13);
}
Symbol 403 Button
on (release) {
stopAllSounds();
gotoAndPlay (75);
}
Symbol 406 Button
on (release) {
_root.toldyouso.stop();
_root.timesup.stop();
gotoAndPlay (23);
}
Symbol 419 Button
on (release) {
if (checkData()) {
_parent.var_mc.gotoAndPlay("send");
nextFrame();
}
}
Symbol 427 MovieClip Frame 1
stop();
Symbol 427 MovieClip Frame 2
stop();
Symbol 431 Button
on (release) {
gotoAndStop (1);
}
Symbol 434 MovieClip Frame 1
function checkData() {
star_yourName.gotoAndStop(1);
star_friendName.gotoAndStop(1);
star_yourEmail.gotoAndStop(1);
star_friendEmail.gotoAndStop(1);
star_yourMessage.gotoAndStop(1);
if ((yourName eq "") || (yourName eq "Enter Your Name Here")) {
yourName = "Enter Your Name Here";
star_yourName.gotoAndStop(2);
return(false);
}
if (((yourEmail eq "") || (yourEmail eq "Enter A Valid Email Here")) || (!yourEmail.isEmail())) {
yourEmail = "Enter A Valid Email Here";
star_yourEmail.gotoAndStop(2);
return(false);
}
if ((friendName eq "") || (friendName eq "Enter Friend's Name Here")) {
friendName = "Enter Friend's Name Here";
star_friendName.gotoAndStop(2);
return(false);
}
if (((friendEmail eq "") || (friendEmail eq "Enter A Valid Email Here")) || (!friendEmail.isEmail())) {
friendEmail = "Enter A Valid Email Here";
star_friendEmail.gotoAndStop(2);
return(false);
}
if ((yourMessage eq "") || (yourMessage eq "Enter Your Message Here")) {
yourMessage = "Enter Your Message Here";
star_yourMessage.gotoAndStop(2);
return(false);
}
return(true);
}
function clearData() {
yourName = "";
yourEmail = "";
friendName = "";
friendEmail = "";
yourMessage = "";
}
function previewEcard(id) {
stopMusic();
("javascript:launchwin(\"ecards/ecard" add id) add ".html\",400,300,\"ecard\");";
}
String.prototype.isEmail = function () {
if (this.length < 5) {
return(false);
}
var iChars = "*|,\":<>[]{}`';()&$#%";
var eLength = this.length;
var i = 0;
while (i < eLength) {
if (iChars.indexOf(this.charAt(i)) != -1) {
trace(("Invalid Email Address : Illegal Character in Email Address : -->" + this.charAt(i)) + "<--.");
return(false);
}
i++;
}
var atIndex = this.lastIndexOf("@");
if ((atIndex < 1) || (atIndex == (eLength - 1))) {
trace("Invalid Email Address : Email Address must contain @ as at least the second chararcter.");
return(false);
}
var pIndex = this.lastIndexOf(".");
if ((pIndex < 4) || (pIndex == (eLength - 1))) {
trace("Invalid Email Address : Email Address must contain at least one . (period) in a valid position");
return(false);
}
if (atIndex > pIndex) {
this.__error = "Invalid Email Address : Email Address must be in the form of name@domain.domaintype";
return(false);
}
return(true);
};
clearData();
stop();
Symbol 434 MovieClip Frame 2
stop();
Symbol 435 MovieClip Frame 1
stop();
Symbol 435 MovieClip Frame 6
game = "couch";
from_name = _parent.form.yourName;
to_name = _parent.form.friendName;
from_email = _parent.form.yourEmail;
to_email = _parent.form.friendEmail;
msg = _parent.form.yourMessage;
stop();