Frame 1
_root.girl._yscale = _root.bar;
_root.percent = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) + "%";
_root.bar = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
play();
Frame 2
if (_framesloaded == _totalframes) {
gotoAndPlay (4);
} else {
gotoAndPlay (1);
}
Frame 3
Bar = 100;
Percent = "100%";
play();
Frame 4
stop();
Instance of Symbol 50 MovieClip "keys" in Frame 4
on (keyPress "<Left>") {
_root.direction = "left";
}
on (keyPress "<Right>") {
_root.direction = "right";
}
on (keyPress "<Up>") {
if (_root.box._y > 120) {
_root.direction2 = "up";
_root.updir = true;
} else {
_root.box._y = 120;
if (_root.alldown) {
_root.acceleration = _root.acceleration - ((_root.acceleration - 0.005) / 10);
_root.alldown = false;
}
}
}
on (keyPress "<Down>") {
if (_root.box._y < 280) {
_root.box._y = _root.box._y + 18;
_root.downdir = true;
_root.framepos++;
} else {
_root.box._y = 280;
_root.alldown = true;
}
}
on (keyPress "<Space>") {
if (_root.adren) {
_root.i = _root.i / 2;
_root.box._x = 200;
_root.adren = false;
}
}
Instance of Symbol 50 MovieClip "actions" in Frame 4
onClipEvent (load) {
_root.box._visible = 0;
_root.timeno = 0;
_root.scoreno = 0;
_root.direction = "right";
_root.i = 1;
_root.xcenter = 200;
_root.box._x = _root.xcenter;
_root.acceleration = 0.02;
_root.alldown = false;
_root.playing = false;
_root.score = 0;
_root.framepos = 1;
}
onClipEvent (enterFrame) {
_root.totaltime = getTimer();
if (_root.playing) {
_root.time = _root.totaltime - _root.stoptime;
_root.timeno = _root.time / 1000;
if (_root.time > _root.score) {
_root.score = _root.time;
_root.scoreno = _root.time / 1000;
}
}
if (_root.playing) {
if ((_root.box._x > 600) or (_root.box._x < -200)) {
_root.playing = false;
stopAllSounds();
if (_root.musicplaying) {
_root.music2.start(2.5, 50000);
}
if (_root.timeno < 20) {
_root.starter.rank.gotoAndStop(2);
} else if ((_root.timeno < 50) && (_root.timeno > 20)) {
_root.starter.rank.gotoAndStop(3);
} else if ((_root.timeno < 100) && (_root.timeno > 50)) {
_root.starter.rank.gotoAndStop(4);
} else {
_root.starter.rank.gotoAndStop(5);
}
}
if (_root.box._x > 350) {
_root.framepos2 = _root.framepos + 10;
} else if (_root.box._x < 50) {
_root.framepos2 = _root.framepos + 20;
} else {
_root.framepos2 = _root.framepos;
}
_root.allgame.kegger.gotoAndStop(_root.framepos2);
if (_root.i < 3) {
_root.i = _root.i + _root.acceleration;
} else if ((_root.i < 7) && (_root.i > 3)) {
_root.i = _root.i + (_root.acceleration * 4);
} else if ((_root.i > 7) && (_root.i < 12)) {
_root.i = _root.i + (_root.acceleration * 6);
} else {
_root.i = _root.i + (_root.acceleration * 8);
}
if (_root.direction == "left") {
_root.box._x = _root.box._x - _root.i;
} else if (_root.direction == "right") {
_root.box._x = _root.box._x + _root.i;
}
if ((_root.direction2 == "up") && (_root.updir)) {
_root.box._y = _root.box._y - 18;
_root.updir = false;
_root.framepos--;
} else if ((_root.direction2 == "down") && (_root.downdir)) {
_root.box._y = _root.box._y + 18;
_root.downdir = true;
_root.framepos++;
}
}
}
Instance of Symbol 52 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.playing) {
if (_root.alldown) {
_alpha = 100;
} else {
_alpha = 30;
}
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 52 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.playing) {
if (!_root.alldown) {
_alpha = 100;
} else {
_alpha = 30;
}
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 52 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.playing) {
if (_root.box._x > 500) {
_alpha = 100;
} else {
_alpha = 30;
}
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 52 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.playing) {
if (_root.box._x > 350) {
_alpha = 100;
} else {
_alpha = 30;
}
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 52 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.playing) {
if (_root.box._x > 250) {
_alpha = 100;
} else {
_alpha = 30;
}
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 52 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.playing) {
if (_root.box._x < -100) {
_alpha = 100;
} else {
_alpha = 30;
}
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 52 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.playing) {
if (_root.box._x < 50) {
_alpha = 100;
} else {
_alpha = 30;
}
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 52 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.playing) {
if (_root.box._x < 150) {
_alpha = 100;
} else {
_alpha = 30;
}
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 50 MovieClip "buttonactions" in Frame 4
onClipEvent (enterFrame) {
if (_root.playing) {
_root.starter._visible = false;
_root.allgame._visible = true;
} else {
_root.starter._visible = true;
_root.allgame._visible = false;
}
}
Instance of Symbol 50 MovieClip "musicthing" in Frame 4
onClipEvent (load) {
_root.music = new sound();
_root.music2 = new sound();
_root.music.attachSound("bgmusic");
_root.music2.attachSound("menumusic");
_root.music2.start(0, 50000);
_root.musicplaying = true;
}
Symbol 10 MovieClip Frame 1
stop();
Symbol 26 MovieClip Frame 1
kiss = random(50);
Symbol 26 MovieClip Frame 10
if (kiss < 5) {
gotoAndPlay (15);
} else {
gotoAndPlay (1);
}
Symbol 45 MovieClip Frame 1
stop();
Symbol 55 Button
on (press) {
_root.playing = true;
_root.i = 1;
_root.box._x = _root.xcenter;
_root.box._y = 120;
_root.acceleration = 0.02;
_root.alldown = false;
_root.stoptime = _root.totaltime;
_root.adren = true;
_root.scrolla = false;
_root.scrollb = false;
_root.framepos = 1;
stopAllSounds();
if (_root.musicplaying) {
_root.music.start(0, 50000);
}
}
Symbol 59 Button
on (press) {
_root.musicplaying = true;
_root.music2.start(0, 50000);
}
Symbol 62 Button
on (press) {
_root.musicplaying = false;
stopAllSounds();
}
Symbol 71 Button
on (release) {
getURL ("http://www.itscollege.com/games/flash-games/keg-stand.php", "_blank");
}
Symbol 74 Button
on (release) {
getURL (("aim:goim?screenname=Choose+a+buddy+from+this+box&message=I+just+did+a+" + _root.scoreno) + "+second+keg+stand,+you+think+you+can+do+better?:+http://www.itscollege.com/games/flash-games/keg-stand.php");
}
Symbol 95 MovieClip Frame 1
stop();
Symbol 98 Button
on (press) {
_root.scrolla = !_root.scrolla;
if (_root.scrollb) {
_root.scrollb = false;
}
}
Symbol 105 MovieClip Frame 1
stop();
Symbol 108 Button
on (press) {
_root.scrollb = !_root.scrollb;
if (_root.scrolla) {
_root.scrolla = false;
}
}
Symbol 119 Button
on (release) {
getURL ("http://www.zcasa.org", "_blank");
}
Symbol 122 Button
on (release) {
getURL ("mailto: sketchmichaels@hotmail.com", "_blank");
}
Symbol 123 Button
on (release) {
getURL ("mailto: zman@zcasa.org", "_blank");
}
Symbol 126 Button
on (release) {
getURL ("aim:goim?screenname=bohemoth2000&message=your+artwork+is+sweet+man");
}
Symbol 127 Button
on (release) {
getURL ("http://www.thefinalround.com", "_blank");
}
Symbol 129 MovieClip Frame 1
stop();
Instance of Symbol 105 MovieClip "instructions" in Symbol 130 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.scrolla) {
this.nextFrame();
} else {
this.prevFrame();
}
}
Instance of Symbol 129 MovieClip in Symbol 130 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.scrollb) {
this.nextFrame();
} else {
this.prevFrame();
}
}