Frame 1
loadMovieNum ("Title_Music.swf", 200);
Frame 2
stop();
Frame 3
_quality = "high";
loadVariables ("asteroid_config.php", "_root.varTarget1");
loadVariables ("fruit_config.php", "_root.varTarget2");
Score = 0;
TotalEp1Score = 0;
TotalEp2Score = 0;
TotalEp3Score = 0;
TotalScore = 0;
EnemiesKilled = 0;
DragonLife = 0;
DragonLifeTotal = 200;
Stamp = new Date();
TimeStamp = Stamp.getTime();
Frame 4
if ((_root.varTarget1.loading == "done") and (_root.varTarget2.loading == "done")) {
gotoAndPlay ("Go");
}
Frame 5
prevFrame();
play();
Frame 99
if (_level200._currentframe == 1) {
_level200.play();
}
removeMovieClip(_level5.tiles);
_level5.gotoAndPlay(1);
_level201.gotoAndStop("Start");
Frame 160
Mouse.show();
Instance of Symbol 58 MovieClip in Frame 183
onClipEvent (load) {
buttonname = "BUY NOW!";
doaction = 0;
}
onClipEvent (enterFrame) {
if (doaction == 1) {
doaction = 0;
getURL ("http://www.gamestop.com/product.asp?product%5Fid=230044", "_blank");
}
}
Instance of Symbol 58 MovieClip in Frame 183
onClipEvent (load) {
buttonname = "CREDITS";
doaction = 0;
}
onClipEvent (enterFrame) {
if (doaction == 1) {
doaction = 0;
_root.SectionToLoad = 3;
_root.play();
}
}
Instance of Symbol 58 MovieClip in Frame 183
onClipEvent (load) {
buttonname = "RECEIVE UPDATES";
doaction = 0;
}
onClipEvent (enterFrame) {
if (doaction == 1) {
doaction = 0;
getURL ("/newsblast/game_signup.php?game=bananablitz", "_blank");
}
}
Instance of Symbol 58 MovieClip in Frame 183
onClipEvent (load) {
buttonname = "ABOUT THE GAME";
doaction = 0;
}
onClipEvent (enterFrame) {
if (doaction == 1) {
doaction = 0;
getURL ("http://www.sega.com/gamesite/bananablitz/", "_blank");
}
}
Instance of Symbol 58 MovieClip in Frame 183
onClipEvent (load) {
buttonname = "SEND POSTCARD";
doaction = 0;
}
onClipEvent (enterFrame) {
if (doaction == 1) {
doaction = 0;
_root.SectionToLoad = 2;
_root.play();
}
}
Instance of Symbol 58 MovieClip in Frame 183
onClipEvent (load) {
buttonname = "VIEW HIGH SCORES";
doaction = 0;
}
onClipEvent (enterFrame) {
if (doaction == 1) {
doaction = 0;
_root.choosegameaction = "scores";
_root.SectionToLoad = 1;
_root.play();
}
}
Instance of Symbol 58 MovieClip in Frame 183
onClipEvent (load) {
buttonname = "HOW TO PLAY";
doaction = 0;
}
onClipEvent (enterFrame) {
if (doaction == 1) {
doaction = 0;
_root.SectionToLoad = 5;
_root.play();
}
}
Instance of Symbol 58 MovieClip in Frame 183
onClipEvent (load) {
buttonname = "CHOOSE A GAME";
doaction = 0;
}
onClipEvent (enterFrame) {
if (doaction == 1) {
doaction = 0;
_root.choosegameaction = "game";
_root.SectionToLoad = 1;
_root.play();
}
}
Frame 190
stop();
Frame 206
if (SectionToLoad == 1) {
gotoAndPlay ("ChooseGame");
} else if (SectionToLoad == 2) {
gotoAndPlay ("Email");
} else if (SectionToLoad == 3) {
gotoAndPlay ("Credits");
} else if (SectionToLoad == 4) {
gotoAndPlay ("ViewHighScores");
} else if (SectionToLoad == 5) {
gotoAndPlay ("HowToPlay");
} else if (SectionToLoad == 6) {
gotoAndPlay ("BuyNow");
}
Frame 223
stop();
Instance of Symbol 58 MovieClip in Frame 223
onClipEvent (load) {
buttonname = "RETURN TO MENU";
doaction = 0;
}
onClipEvent (enterFrame) {
if (doaction == 1) {
doaction = 0;
_root.gotoAndPlay("Menu");
}
}
Frame 237
stop();
Instance of Symbol 58 MovieClip in Frame 237
onClipEvent (load) {
buttonname = "RETURN TO MENU";
doaction = 0;
}
onClipEvent (enterFrame) {
if (doaction == 1) {
doaction = 0;
_root.gotoAndPlay("Menu");
}
}
Instance of Symbol 58 MovieClip in Frame 237
onClipEvent (load) {
buttonname = "ASTEROID CRASH";
doaction = 0;
}
onClipEvent (enterFrame) {
if (doaction == 1) {
doaction = 0;
if (_root.choosegameaction == "game") {
_level200.gotoAndStop(3);
_root.gotoAndPlay("Level1");
} else if (_root.choosegameaction == "scores") {
_root.gotoAndPlay("ViewHighScores1");
}
}
}
Instance of Symbol 58 MovieClip in Frame 237
onClipEvent (load) {
buttonname = "FRUIT BASKET";
doaction = 0;
}
onClipEvent (enterFrame) {
if (doaction == 1) {
doaction = 0;
if (_root.choosegameaction == "game") {
_level200.gotoAndStop(3);
_root.gotoAndPlay("Level2");
} else if (_root.choosegameaction == "scores") {
_root.gotoAndPlay("ViewHighScores2");
}
}
}
Frame 253
stop();
Instance of Symbol 58 MovieClip in Frame 253
onClipEvent (load) {
buttonname = "RETURN TO MENU";
doaction = 0;
}
onClipEvent (enterFrame) {
if (doaction == 1) {
doaction = 0;
_root.gotoAndPlay("Menu");
}
}
Frame 270
stop();
Instance of Symbol 58 MovieClip in Frame 270
onClipEvent (load) {
buttonname = "RETURN TO MENU";
doaction = 0;
}
onClipEvent (enterFrame) {
if (doaction == 1) {
doaction = 0;
_root.gotoAndPlay("Menu");
}
}
Frame 292
stop();
Frame 296
stop();
loadMovieNum ("Asteroid.swf", 5);
Frame 304
stop();
loadMovieNum ("Fruit.swf", 5);
Frame 312
_root.scoretable.filename = _root.varTarget1.filename;
_root.scoretable.scoresize = 20;
_root.scoretable.action = "VIEW";
_root.scoretable.viewtype = _root.varTarget1.viewingtype;
_root.scoretable.winname = _root.name;
_root.scoretable.winscore = _root.score;
_root.traceurl = (("http://" + _root.varTarget1.server) + _root.varTarget1.base) + _root.varTarget1.scoresurl;
_root.scoretable.loadVariables((("http://" + _root.varTarget1.server) + _root.varTarget1.base) + _root.varTarget1.scoresurl, "GET");
Instance of Symbol 58 MovieClip in Frame 312
onClipEvent (load) {
buttonname = "SEND POSTCARD";
doaction = 0;
}
onClipEvent (enterFrame) {
if (doaction == 1) {
doaction = 0;
_root.gotoAndPlay("Email");
}
}
Instance of Symbol 58 MovieClip in Frame 312
onClipEvent (load) {
buttonname = "RETURN TO MENU";
doaction = 0;
}
onClipEvent (enterFrame) {
if (doaction == 1) {
doaction = 0;
_root.gotoAndPlay("Menu");
}
}
Frame 317
prevFrame();
play();
Frame 319
_root.scoretable.filename = _root.varTarget2.filename;
_root.scoretable.scoresize = 20;
_root.scoretable.action = "VIEW";
_root.scoretable.viewtype = _root.varTarget2.viewingtype;
_root.scoretable.winname = _root.name;
_root.scoretable.winscore = _root.score;
_root.traceurl = (("http://" + _root.varTarget2.server) + _root.varTarget2.base) + _root.varTarget2.scoresurl;
_root.scoretable.loadVariables((("http://" + _root.varTarget2.server) + _root.varTarget2.base) + _root.varTarget2.scoresurl, "GET");
Instance of Symbol 58 MovieClip in Frame 319
onClipEvent (load) {
buttonname = "SEND POSTCARD";
doaction = 0;
}
onClipEvent (enterFrame) {
if (doaction == 1) {
doaction = 0;
_root.gotoAndPlay("Email");
}
}
Instance of Symbol 58 MovieClip in Frame 319
onClipEvent (load) {
buttonname = "RETURN TO MENU";
doaction = 0;
}
onClipEvent (enterFrame) {
if (doaction == 1) {
doaction = 0;
_root.gotoAndPlay("Menu");
}
}
Frame 324
prevFrame();
play();
Symbol 17 MovieClip Frame 1
loadedbytes = _parent.getBytesLoaded();
totalbytes = _parent.getBytesTotal();
loadedkbytes = Math.ceil(loadedbytes / 1000);
totalkbytes = Math.ceil(totalbytes / 1000);
if (loadedbytes == totalbytes) {
_parent.gotoAndPlay("Start");
}
frame = int(loadedbytes / (totalbytes / 100));
barmovement = frame - oldframe;
loader.Loadbar._x = loader.Loadbar._x + (barmovement * 3);
oldframe = frame;
Symbol 17 MovieClip Frame 2
prevFrame();
play();
Symbol 50 MovieClip Frame 1
this._width = _parent._parent.mainbar._width;
Symbol 50 MovieClip Frame 2
gotoAndPlay (1);
Symbol 54 MovieClip Frame 1
buttontext.autoSize = "center";
buttonhighlight.autoSize = "center";
buttonshadow.autoSize = "center";
Symbol 57 Button
on (release) {
doaction = 1;
}
Symbol 58 MovieClip Frame 1
buttontext.autoSize = "center";
buttonhighlight.autoSize = "center";
buttonshadow.autoSize = "center";
hotspot.buttontext.autoSize = "center";
hotspot.buttonhighlight.autoSize = "center";
hotspot.buttonshadow.autoSize = "center";
stop();
Instance of Symbol 41 MovieClip "mainbar" in Symbol 58 MovieClip Frame 1
onClipEvent (enterFrame) {
this._width = _parent.buttontext._width;
this._x = _parent.buttontext._x + (_parent.buttontext._width / 2);
}
Instance of Symbol 43 MovieClip "rightcap" in Symbol 58 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = (_parent.mainbar._x + (_parent.mainbar._width / 2)) - 0.5;
}
Instance of Symbol 45 MovieClip "leftcap" in Symbol 58 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = (_parent.mainbar._x - (_parent.mainbar._width / 2)) + 0.5;
}
Symbol 67 Button
on (press) {
if (_root.choosegameaction == "game") {
_level200.gotoAndStop(3);
_root.gotoAndPlay("Level1");
} else if (_root.choosegameaction == "scores") {
_root.gotoAndPlay("ViewHighScores1");
}
}
Symbol 70 Button
on (press) {
if (_root.choosegameaction == "game") {
_level200.gotoAndStop(3);
_root.gotoAndPlay("Level2");
} else if (_root.choosegameaction == "scores") {
_root.gotoAndPlay("ViewHighScores2");
}
}
Symbol 91 MovieClip Frame 1
function sendMail() {
action = "send";
loadVariablesNum ("email.php", 0, "POST");
}
useremail = "";
answer = "";
friendemail = "";
friendname = "";
username = "";
comments = "";
loadMovieNum ("Postcard_Thumb.swf", 15);
Instance of Symbol 58 MovieClip in Symbol 91 MovieClip Frame 1
onClipEvent (load) {
buttonname = "RETURN TO MENU";
doaction = 0;
}
onClipEvent (enterFrame) {
if (doaction == 1) {
doaction = 0;
unloadMovieNum (15);
_root.gotoAndPlay("Menu");
}
}
Instance of Symbol 58 MovieClip in Symbol 91 MovieClip Frame 1
onClipEvent (load) {
buttonname = "SEND POSTCARD";
doaction = 0;
}
onClipEvent (enterFrame) {
if (doaction == 1) {
doaction = 0;
if (((!_parent.useremail.length) || (_parent.useremail.indexOf("@") == -1)) || (_parent.useremail.indexOf(".") == -1)) {
_parent.answer = "Please enter a valid E-mail address";
} else if (((!_parent.friendemail.length) || (_parent.friendemail.indexOf("@") == -1)) || (_parent.friendemail.indexOf(".") == -1)) {
_parent.answer = "Please enter a valid E-mail address to send this to";
} else if (!_parent.friendname.length) {
_parent.answer = "Please enter the name of who you are sending this to";
} else if (!_parent.username.length) {
_parent.answer = "Please Enter your name before Sending";
} else {
_parent.sendMail();
_parent.answer = "Sending... One Moment Please...";
unloadMovieNum (15);
_parent.play();
}
}
}
Symbol 91 MovieClip Frame 2
stop();
Symbol 91 MovieClip Frame 3
loadVariablesNum ("email.php", 0);
if (answer != "Sending... One Moment Please....") {
stop();
this.gotoAndPlay("Done");
} else {
play();
}
Symbol 91 MovieClip Frame 4
prevFrame();
Instance of Symbol 58 MovieClip in Symbol 91 MovieClip Frame 5
onClipEvent (load) {
buttonname = "RETURN TO MENU";
doaction = 0;
}
onClipEvent (enterFrame) {
if (doaction == 1) {
doaction = 0;
_root.gotoAndPlay("Menu");
}
}
Instance of Symbol 58 MovieClip in Symbol 91 MovieClip Frame 5
onClipEvent (load) {
buttonname = "SEND POSTCARD";
doaction = 0;
}
onClipEvent (enterFrame) {
if (doaction == 1) {
doaction = 0;
loadMovieNum ("Postcard_Thumb.swf", 15);
_parent.gotoAndPlay("Entry");
}
}
Symbol 91 MovieClip Frame 6
stop();
Stamp = new Date();
TimeStamp = Stamp.getTime();
Symbol 94 MovieClip Frame 1
stop();
Symbol 94 MovieClip Frame 2
filename = "sonicscores";
state = "busy";
name21 = "";
score21 = 0;
loadVariables ("http://immersion-a.sega.com/cgi-bin/SonicDBread.cgi", "", "POST");
Symbol 94 MovieClip Frame 4
if (state eq "busy") {
gotoAndPlay (3);
}
Symbol 94 MovieClip Frame 5
if (state eq "done") {
i = 1;
while (Number(i) <= 20) {
Set("/:name" add i, eval ("name" add i));
Set("/:score" add i, eval ("score" add i));
i = Number(i) + 1;
}
}
stop();
Symbol 96 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 2
filename = "sonicscores";
state = "busy";
name21 = "";
score21 = 0;
loadVariables ("http://immersion-a.sega.com/cgi-bin/SonicDBread.cgi", "", "POST");
Symbol 96 MovieClip Frame 4
if (state eq "busy") {
gotoAndPlay (3);
}
Symbol 96 MovieClip Frame 5
if (state eq "done") {
i = 1;
while (Number(i) <= 20) {
Set("/:name" add i, eval ("name" add i));
Set("/:score" add i, eval ("score" add i));
i = Number(i) + 1;
}
}
if (/:score ne "") {
name21 = /:name;
Set("/:name21", /:name);
score21 = /:score;
Set("/:score21", /:score);
scoretemp = score21;
nametemp = name21;
if (score21 < score20) {
score20 = score20;
} else {
scoretemp = score20;
nametemp = name20;
score20 = score21;
Set("/:score20", score21);
name20 = name21;
Set("/:name20", name21);
score21 = scoretemp;
name21 = nametemp;
}
i = 20;
while (i > 1) {
j = i - 1;
if (eval ("score" add i) > eval ("score" add j)) {
Set(scoretemp, eval ("score" add i));
Set(nametemp, eval ("name" add i));
Set("score" add i, eval ("score" add j));
Set("/:score" add i, eval ("score" add j));
Set("name" add i, eval ("name" add j));
Set("/:name" add i, eval ("name" add j));
Set("score" add j, eval (scoretemp));
Set("/:score" add j, eval (scoretemp));
Set("name" add j, eval (nametemp));
Set("/:name" add j, eval (nametemp));
}
i--;
}
}
filename = "sonicscores";
loadVariables ("http://immersion-a.sega.com/cgi-bin/SonicDBwrite.cgi", "", "POST");
gotoAndStop (1);
Symbol 159 MovieClip Frame 1
stop();
Symbol 159 MovieClip Frame 2
stop();