Frame 1
function quality() {
if (_quality == "LOW") {
_quality = "MEDIUM";
} else if (_quality == "MEDIUM") {
_quality = "HIGH";
} else if (_quality == "HIGH") {
_quality = "LOW";
}
}
function calcMod() {
var tskill = _root[_root.workingfilename].flashskill;
if (tskill > 500) {
tskill = 500;
}
return((((3 * tskill) - 750) / 1250) / 2);
}
_root.NewgroundsAPI_id = 67;
_root.debug = false;
KEYS = new Object();
KEYS.onKeyDown = function () {
KEYS.val = Key.getCode();
};
KEYS.onKeyUp = function () {
if (KEYS.val == 81) {
quality();
}
};
Key.addListener(KEYS);
dailyUpdate = function (i) {
var lol = 1.59;
if (_root[_root.workingfilename].alias == "goeasyonme") {
lol = 1;
} else if (_root[_root.workingfilename].alias == "ilikeachallenge") {
lol = 2.59;
}
if ((((_root[_root.workingfilename].MOVIES[i].score <= lol) || (_root[_root.workingfilename].alias == "illwillpress")) && (_root[_root.workingfilename].alias != "adamphillips")) && (_root[_root.workingfilename].MOVIES[i].underJudgement)) {
_root[_root.workingfilename].moviesblammed++;
_root[_root.workingfilename].MOVIES[i].blammed = true;
_root[_root.workingfilename].MOVIES[i].inPortal = false;
var sco = int(_root[_root.workingfilename].MOVIES[i].score * 100);
sco = sco / 100;
var topic = (("\"" + _root[_root.workingfilename].MOVIES[i].title) + "\" blammed");
var body = ((((((((((("This is an automated message from Newgrounds (http://www.newgrounds.com). \n\nWe're sorry to inform you that your Portal submission \"" + _root[_root.workingfilename].MOVIES[i].title) + "\" has been") + " removed due to a low user rating. If you have questions regarding the minimum") + " ratings needed to keep your submission on the Portal, consult the Portal FAQ at") + " http://www.newgrounds.com/portal/faq.html.") + "\n\nAt the time of removal, your submission had accumulated a score of ") + sco) + "/5.00") + "\n\nPlease do not re-submit your movie in its current form. If you would like your") + " movie to have a second chance, please try to improve upon it first.") + "\n\nDespite how things turned out this time, thanks for your submission!");
_root[_root.workingfilename].EMAIL.push(new _root.MailMessage(topic, body, "P-bot", true));
_root[_root.workingfilename].mailindex++;
} else {
var ANB;
var chanceMail = random(100);
var mailtosend = 0;
if (chanceMail > 60) {
mailtosend = random(2) + 1;
}
var upper = false;
var choice = random(100);
if (choice >= 80) {
upper = true;
}
if (_root[_root.workingfilename].MOVIES[i].kind == "stick") {
this.views = this.views + (random(30) + 10);
this.reviews = this.reviews + (random(20) + 5);
ANB = 0;
if (chance(7)) {
sendBadEmail(mailtosend);
}
trace(((_root[_root.workingfilename].MOVIES[i].title + " sends ") + mailtosend) + " messages");
} else if (_root[_root.workingfilename].MOVIES[i].kind == "dressup") {
_root[_root.workingfilename].MOVIES[i].views = _root[_root.workingfilename].MOVIES[i].views + (random(30) + 15);
_root[_root.workingfilename].MOVIES[i].reviews = _root[_root.workingfilename].MOVIES[i].reviews + (random(20) + 10);
if (upper) {
ANB = random(1);
}
if (chance(7)) {
sendBadEmail(mailtosend);
}
} else if (_root[_root.workingfilename].MOVIES[i].kind == "video") {
_root[_root.workingfilename].MOVIES[i].views = _root[_root.workingfilename].MOVIES[i].views + (random(30) + 20);
_root[_root.workingfilename].MOVIES[i].reviews = _root[_root.workingfilename].MOVIES[i].reviews + (random(20) + 20);
if (upper) {
ANB = random(2);
}
if (chance(7)) {
sendBadEmail(mailtosend);
}
if (chance(11)) {
sendGoodEmail(mailtosend);
}
} else if (_root[_root.workingfilename].MOVIES[i].kind == "sprite") {
_root[_root.workingfilename].MOVIES[i].views = _root[_root.workingfilename].MOVIES[i].views + (random(30) + 30);
_root[_root.workingfilename].MOVIES[i].reviews = _root[_root.workingfilename].MOVIES[i].reviews + (random(20) + 25);
if (upper) {
ANB = random(2);
}
if (chance(6)) {
sendBadEmail(mailtosend);
}
if (chance(6)) {
sendGoodEmail(mailtosend);
}
} else if (_root[_root.workingfilename].MOVIES[i].kind == "parody") {
_root[_root.workingfilename].MOVIES[i].views = _root[_root.workingfilename].MOVIES[i].views + (random(30) + 100);
_root[_root.workingfilename].MOVIES[i].reviews = _root[_root.workingfilename].MOVIES[i].reviews + (random(20) + 50);
if (upper) {
ANB = random(3);
}
if (chance(7)) {
sendBadEmail(mailtosend);
}
if (chance(5)) {
sendGoodEmail(mailtosend);
}
} else if (_root[_root.workingfilename].MOVIES[i].kind == "game") {
_root[_root.workingfilename].MOVIES[i].views = _root[_root.workingfilename].MOVIES[i].views + (random(50) + 200);
_root[_root.workingfilename].MOVIES[i].reviews = _root[_root.workingfilename].MOVIES[i].reviews + (random(50) + 50);
if (upper) {
ANB = random(5);
}
if (chance(10)) {
sendBadEmail(mailtosend);
}
if (chance(6)) {
sendGoodEmail(mailtosend);
}
} else if (_root[_root.workingfilename].MOVIES[i].kind == "groundbreak") {
_root[_root.workingfilename].MOVIES[i].views = _root[_root.workingfilename].MOVIES[i].views + (random(100) + 400);
_root[_root.workingfilename].MOVIES[i].reviews = _root[_root.workingfilename].MOVIES[i].reviews + (random(100) + 50);
if (upper) {
ANB = random(10);
}
if (chance(15)) {
sendBadEmail(mailtosend);
}
if (chance(5)) {
sendGoodEmail(mailtosend);
}
}
do {
if (_root[_root.workingfilename].MOVIES[i].views <= 100) {
_root[_root.workingfilename].MOVIES[i].score = _root[_root.workingfilename].MOVIES[i].score + ((Math.random() * 0.2) - 0.075);
} else if ((_root[_root.workingfilename].MOVIES[i].views > 100) && (_root[_root.workingfilename].MOVIES[i].views <= 250)) {
_root[_root.workingfilename].MOVIES[i].score = _root[_root.workingfilename].MOVIES[i].score + ((Math.random() * 0.15) - 0.05);
} else if ((_root[_root.workingfilename].MOVIES[i].views > 250) && (_root[_root.workingfilename].MOVIES[i].views <= 500)) {
_root[_root.workingfilename].MOVIES[i].score = _root[_root.workingfilename].MOVIES[i].score + ((Math.random() * 0.1) - 0.04);
} else if ((_root[_root.workingfilename].MOVIES[i].views > 500) && (_root[_root.workingfilename].MOVIES[i].views <= 1000)) {
_root[_root.workingfilename].MOVIES[i].score = _root[_root.workingfilename].MOVIES[i].score + ((Math.random() * 0.05) - 0.02);
} else if ((_root[_root.workingfilename].MOVIES[i].views > 1000) && (_root[_root.workingfilename].MOVIES[i].views <= 2500)) {
_root[_root.workingfilename].MOVIES[i].score = _root[_root.workingfilename].MOVIES[i].score + ((Math.random() * 0.025) - 0.015);
}
} while (_root[_root.workingfilename].MOVIES[i].score > 5);
var tempscore = int(_root[_root.workingfilename].MOVIES[i].score * 100);
_root[_root.workingfilename].MOVIES[i].score = tempscore / 100;
_root[_root.workingfilename].bookmarked = _root[_root.workingfilename].bookmarked + ANB;
}
};
Stage.showMenu = false;
Stage.scaleMode = "noScale";
MailMessage = function (s, b, f, p) {
this.subject = s;
this.body = b;
this.from = f;
this.newmsg = true;
this.canbedeleted = p;
};
PortalAward = function (t, m) {
this.kind = t;
this.movie = m;
};
FlashMovie = function (T, K, DL, HPTK, EXP) {
this.title = T;
this.kind = K;
this.drain = HPTK;
this.daysleft = DL;
this.expinc = EXP;
this.canwinweekly = true;
this.canwindaily = true;
this.views = 0;
this.score = 0;
this.reviews = 0;
this.inProgress = true;
this.canbesubmitted = false;
this.inPortal = false;
this.underJudgement = false;
this.blammed = false;
if (this.kind == "stick") {
this.views = random(75) + 50;
this.reviews = random(20) + 5;
this.score = Math.random() * 1.8;
} else if (this.kind == "dressup") {
this.views = random(100) + 75;
this.reviews = random(40) + 10;
this.score = (Math.random() * 2) + 0.9;
_root[_root.workingfilename].bookmarked = _root[_root.workingfilename].bookmarked + random(3);
} else if (this.kind == "video") {
this.views = random(200) + 100;
this.reviews = random(50) + 30;
this.score = Math.random() + 1.5;
_root[_root.workingfilename].bookmarked = _root[_root.workingfilename].bookmarked + random(5);
} else if (this.kind == "sprite") {
this.views = random(200) + 150;
this.reviews = random(50) + 50;
this.score = Math.random() + 1.75;
_root[_root.workingfilename].bookmarked = _root[_root.workingfilename].bookmarked + random(10);
} else if (this.kind == "parody") {
this.views = random(200) + 400;
this.reviews = random(100) + 150;
this.score = Math.random() + 2.9;
_root[_root.workingfilename].bookmarked = _root[_root.workingfilename].bookmarked + random(10);
} else if (this.kind == "game") {
this.views = random(250) + 500;
this.reviews = random(100) + 200;
this.score = Math.random() + 3;
_root[_root.workingfilename].bookmarked = _root[_root.workingfilename].bookmarked + random(25);
} else if (this.kind == "groundbreak") {
this.views = random(500) + 1000;
this.reviews = random(100) + 400;
do {
this.score = (Math.random() * 0.4) + 3.9;
} while (this.score > 5);
_root[_root.workingfilename].bookmarked = _root[_root.workingfilename].bookmarked + random(50);
}
this.toString = function () {
trace(((("This is a " + this.kind) + " movie called \"") + this.title) + "\"");
};
this.score = this.score + calcMod();
if (this.score < 0) {
this.score = 0;
}
if (this.score > 4.8) {
this.score = 4.8;
}
this.dailyUpdate = function () {
if (this.score < _root.blamthreshold) {
_root[_root.workingfilename].moviesblammed++;
this.blammed = true;
this.inPortal = false;
} else {
if (this.kind == "stick") {
this.views = this.views + (random(30) + 10);
this.reviews = this.reviews + (random(5) + 1);
ANB = 0;
} else if (this.kind == "dressup") {
this.views = this.views + (random(30) + 15);
this.reviews = this.reviews + (random(10) + 1);
ANB = random(1);
} else if (this.kind == "video") {
this.views = this.views + (random(30) + 20);
this.reviews = this.reviews + (random(10) + 1);
ANB = random(2);
} else if (this.kind == "sprite") {
this.views = this.views + (random(30) + 30);
this.reviews = this.reviews + (random(10) + 1);
ANB = random(2);
} else if (this.kind == "parody") {
this.views = this.views + (random(30) + 100);
this.reviews = this.reviews + (random(15) + 1);
ANB = random(3);
} else if (this.kind == "game") {
this.views = this.views + (random(50) + 200);
this.reviews = this.reviews + (random(15) + 5);
ANB = random(5);
} else if (this.kind == "groundbreak") {
this.views = this.views + (random(100) + 400);
this.reviews = this.reviews + (random(50) + 50);
ANB = random(10);
}
do {
if (this.views <= 100) {
this.score = this.score + ((Math.random() * 0.2) - 0.075);
} else if ((this.views > 100) && (this.views <= 250)) {
this.score = this.score + ((Math.random() * 0.15) - 0.05);
} else if ((this.views > 250) && (this.views <= 500)) {
this.score = this.score + ((Math.random() * 0.1) - 0.04);
} else if ((this.views > 500) && (this.views <= 1000)) {
this.score = this.score + ((Math.random() * 0.05) - 0.02);
} else if ((this.views > 1000) && (this.views <= 2500)) {
this.score = this.score + ((Math.random() * 0.025) - 0.015);
}
} while (this.score > 5);
var tempscore = int(this.score * 100);
this.score = tempscore / 100;
}
};
};
_root.soundstart = false;
_root.soundoff = false;
_root.voldown = 30;
_root.statsok = true;
_root.delMode = false;
_root.fileGo = "";
_root.workingFile = 0;
_root.picURL = "";
_root.aPicURL = "";
_root.blamthreshold = 1.59;
_root.camefrom = "";
_root.saveprompt = false;
_root.coolpoints = 5;
_root.intelligence = 5;
_root.flashskill = 0;
_root.premain = 15;
_root.alias = "";
_root.age = "";
_root.habitat = "";
_root.job = "";
_root.aim = "";
_root.webname = "";
_root.weburl = "";
_root.film1 = "";
_root.film2 = "";
_root.film3 = "";
_root.band1 = "";
_root.band2 = "";
_root.band3 = "";
_root.profMessage = "";
_root.gender = "male";
_root.aurastring = "neutral";
_root.banAry = new Array();
_root.banAry[0] = "Picture Spamming. If you like the image that much please put it in your sig";
_root.banAry[1] = "Flaming other users";
_root.banAry[2] = "Spamming";
_root.banAry[3] = "Obnoxious all-caps posts";
_root.banAry[4] = "Replying to a spam thread";
_root.banAry[5] = "Posting a malicious link";
_root.banAry[6] = "\"TLDR\"If it's too long for you to read, then don't post";
_root.banAry[7] = "Starting a spam topic";
_root.banAry[8] = "Discussion of piracy is not allowed";
_root.banAry[9] = "Posting real-life information of another user";
_root.banAry[10] = "Using racial and hateful slang";
_root.HPinc = 5;
runDailies = function () {
var onetaken = false;
var twotaken = false;
var threetaken = false;
var fourtaken = false;
var fivetaken = false;
i = 0;
while (i <= _root[_root.workingfilename].flashindex) {
var tempObj = _root[_root.workingfilename].MOVIES[i];
if (tempObj.canwindaily && (tempObj.inPortal)) {
_root[_root.workingfilename].MOVIES[i].canwindaily = false;
if (((tempObj.score >= 4) && (!onetaken)) || (_root[_root.workingfilename].alias == "dailydominator")) {
_root[_root.workingfilename].STICKERS[9] = true;
_root[_root.workingfilename].AWARDS[_root[_root.workingfilename].awardindex] = new _root.PortalAward("Daily Feature", tempObj.title);
_root[_root.workingfilename].awardindex++;
_root[_root.workingfilename].awardswon++;
onetaken = true;
} else if ((tempObj.score >= 3.75) && (tempObj.score < 4)) {
win = chance(3);
if (win && (!twotaken)) {
_root[_root.workingfilename].AWARDS[_root[_root.workingfilename].awardindex] = new _root.PortalAward("Daily 2nd Place", tempObj.title);
_root[_root.workingfilename].awardindex++;
_root[_root.workingfilename].awardswon++;
twotaken = true;
}
} else if ((tempObj.score >= 3.5) && (tempObj.score < 3.75)) {
win = chance(4);
if (win && (!threetaken)) {
_root[_root.workingfilename].AWARDS[_root[_root.workingfilename].awardindex] = new _root.PortalAward("Daily 3rd Place", tempObj.title);
_root[_root.workingfilename].awardindex++;
_root[_root.workingfilename].awardswon++;
threetaken = true;
}
} else if ((tempObj.score >= 3.25) && (tempObj.score < 3.5)) {
win = chance(5);
if (win && (!fourtaken)) {
_root[_root.workingfilename].AWARDS[_root[_root.workingfilename].awardindex] = new _root.PortalAward("Daily 4th Place", tempObj.title);
_root[_root.workingfilename].awardindex++;
_root[_root.workingfilename].awardswon++;
fourtaken = true;
}
} else if ((tempObj.score >= 3) && (tempObj.score < 3.25)) {
win = chance(5);
if (win && (!fivetaken)) {
_root[_root.workingfilename].AWARDS[_root[_root.workingfilename].awardindex] = new _root.PortalAward("Daily 5th Place", tempObj.title);
_root[_root.workingfilename].awardindex++;
_root[_root.workingfilename].awardswon++;
fivetaken = true;
}
}
}
i++;
}
};
runWeeklys = function () {
var onetaken = false;
var twotaken = false;
var threetaken = false;
var fourtaken = false;
var fivetaken = false;
var turdtaken = false;
var crewpicktaken = false;
i = 0;
while (i <= _root[_root.workingfilename].flashindex) {
var tempObj = _root[_root.workingfilename].MOVIES[i];
if (tempObj.canwinweekly && (tempObj.inPortal)) {
_root[_root.workingfilename].MOVIES[i].canwinweekly = false;
if (((tempObj.score >= 4.3) && (!onetaken)) || (_root[_root.workingfilename].alias == "weeklywarrior")) {
_root[_root.workingfilename].AWARDS[_root[_root.workingfilename].awardindex] = new _root.PortalAward("Weekly Users' Choice", tempObj.title);
_root[_root.workingfilename].awardindex++;
_root[_root.workingfilename].awardswon++;
onetaken = true;
} else if ((tempObj.score >= 4) && (tempObj.score < 4.3)) {
win = chance(3);
if (win && (!twotaken)) {
_root[_root.workingfilename].AWARDS[_root[_root.workingfilename].awardindex] = new _root.PortalAward("Weekly 2nd Place", tempObj.title);
_root[_root.workingfilename].awardindex++;
_root[_root.workingfilename].awardswon++;
twotaken = true;
}
} else if ((tempObj.score >= 3.9) && (tempObj.score < 4)) {
win = chance(4);
if (win && (!threetaken)) {
_root[_root.workingfilename].AWARDS[_root[_root.workingfilename].awardindex] = new _root.PortalAward("Weekly 3rd Place", tempObj.title);
_root[_root.workingfilename].awardindex++;
_root[_root.workingfilename].awardswon++;
threetaken = true;
}
} else if ((tempObj.score >= 3.8) && (tempObj.score < 3.9)) {
win = chance(5);
if (win && (!fourtaken)) {
_root[_root.workingfilename].AWARDS[_root[_root.workingfilename].awardindex] = new _root.PortalAward("Weekly 4th Place", tempObj.title);
_root[_root.workingfilename].awardindex++;
_root[_root.workingfilename].awardswon++;
fourtaken = true;
}
} else if ((tempObj.score >= 3.7) && (tempObj.score < 3.8)) {
win = chance(5);
if (win && (!fivetaken)) {
_root[_root.workingfilename].AWARDS[_root[_root.workingfilename].awardindex] = new _root.PortalAward("Weekly 5th Place", tempObj.title);
_root[_root.workingfilename].awardindex++;
_root[_root.workingfilename].awardswon++;
fivetaken = true;
}
}
if ((tempObj.score <= 1.85) || (_root[_root.workingfilename].alias == "shitbomb")) {
win = chance(2);
if ((win && (!turdtaken)) || (_root[_root.workingfilename].alias == "shitbomb")) {
_root[_root.workingfilename].STICKERS[7] = true;
_root[_root.workingfilename].AWARDS[_root[_root.workingfilename].awardindex] = new _root.PortalAward("Turd of the Week", tempObj.title);
_root[_root.workingfilename].awardindex++;
_root[_root.workingfilename].awardswon++;
turdtaken = true;
}
}
if ((tempObj.score >= 4.1) || (_root[_root.workingfilename].alias == "crewcoaxer")) {
win = chance(5);
if ((win && (!crewpicktaken)) || (_root[_root.workingfilename].alias == "crewcoaxer")) {
_root[_root.workingfilename].STICKERS[8] = true;
_root[_root.workingfilename].AWARDS[_root[_root.workingfilename].awardindex] = new _root.PortalAward("Review Crew Pick", tempObj.title);
_root[_root.workingfilename].awardindex++;
_root[_root.workingfilename].awardswon++;
crewpicktaken = true;
}
}
}
i++;
}
};
chance = function (num) {
var num2 = random(num);
if (num2 == 1) {
return(true);
}
return(false);
};
votingPower = function () {
var baseexp;
switch (_root[_root.workingfilename].lvl) {
case 1 :
_root[_root.workingfilename].basevp = 1;
baseexp = 0;
break;
case 2 :
_root[_root.workingfilename].basevp = 1.5;
baseexp = 50;
break;
case 3 :
_root[_root.workingfilename].basevp = 2;
baseexp = 100;
break;
case 4 :
_root[_root.workingfilename].basevp = 2.5;
baseexp = 150;
break;
case 5 :
_root[_root.workingfilename].basevp = 3;
baseexp = 200;
break;
case 6 :
_root[_root.workingfilename].basevp = 3.5;
baseexp = 250;
break;
case 7 :
_root[_root.workingfilename].basevp = 4;
baseexp = 300;
break;
case 8 :
_root[_root.workingfilename].basevp = 4.5;
baseexp = 350;
break;
case 9 :
_root[_root.workingfilename].basevp = 5;
baseexp = 400;
break;
case 10 :
_root[_root.workingfilename].basevp = 5.25;
baseexp = 500;
break;
case 11 :
_root[_root.workingfilename].basevp = 5.5;
baseexp = 600;
break;
case 12 :
_root[_root.workingfilename].basevp = 5.75;
baseexp = 700;
break;
case 13 :
_root[_root.workingfilename].basevp = 6;
baseexp = 800;
break;
case 14 :
_root[_root.workingfilename].basevp = 6.25;
baseexp = 900;
break;
case 15 :
_root[_root.workingfilename].basevp = 6.5;
baseexp = 1000;
break;
case 16 :
_root[_root.workingfilename].basevp = 6.75;
baseexp = 1100;
break;
case 17 :
_root[_root.workingfilename].basevp = 7;
baseexp = 1200;
break;
case 18 :
_root[_root.workingfilename].basevp = 7.25;
baseexp = 1300;
break;
case 19 :
_root[_root.workingfilename].basevp = 7.5;
baseexp = 1400;
break;
case 20 :
_root[_root.workingfilename].basevp = 7.75;
baseexp = 1500;
break;
case 21 :
_root[_root.workingfilename].basevp = 8;
baseexp = 1600;
break;
case 22 :
_root[_root.workingfilename].basevp = 8.25;
baseexp = 1700;
break;
case 23 :
_root[_root.workingfilename].basevp = 8.5;
baseexp = 1800;
break;
case 24 :
_root[_root.workingfilename].basevp = 8.75;
baseexp = 1900;
break;
case 25 :
_root[_root.workingfilename].basevp = 9;
baseexp = 2000;
break;
case 26 :
_root[_root.workingfilename].basevp = 9.22;
baseexp = 2200;
break;
case 27 :
_root[_root.workingfilename].basevp = 9.4;
baseexp = 2400;
break;
case 28 :
_root[_root.workingfilename].basevp = 9.67;
baseexp = 2600;
break;
case 29 :
_root[_root.workingfilename].basevp = 9.84;
baseexp = 2800;
break;
case 30 :
_root[_root.workingfilename].basevp = 10;
baseexp = 3000;
}
trace(_root[_root.workingfilename].basevp);
var expin = (_root[_root.workingfilename].exppoints - baseexp);
var tillnext;
var vpercent;
var L = _root[_root.workingfilename].lvl;
if ((L >= 1) && (L <= 8)) {
tillnext = 50;
vpercent = 0.5;
} else if ((L >= 9) && (L <= 24)) {
tillnext = 100;
vpercent = 0.25;
} else {
tillnext = 200;
vpercent = 0.225;
}
if (L == 30) {
tillnext = 0;
}
var expadd = ((expin / tillnext) * vpercent);
if (L == 30) {
expadd = 0;
}
var temp = (_root[_root.workingfilename].basevp + expadd);
trace("base vp: " + _root[_root.workingfilename].basevp);
trace("exp add: " + expadd);
var extrabp = (temp * _root[_root.workingfilename].extrapercent);
temp = temp + extrabp;
temp = int(temp * 100);
temp = temp / 100;
_root[_root.workingfilename].votingpower = temp;
_root[_root.workingfilename].tillnextlevel = baseexp + tillnext;
};
blamProtect = function () {
var total = (_root[_root.workingfilename].protectpoints + _root[_root.workingfilename].blampoints);
var r = "";
var p = 0;
var l = 0;
if ((total >= 0) && (total < 100)) {
r = "Citizen";
p = 0;
l = 1;
} else if ((total >= 100) && (total < 200)) {
r = "Safety Patrol";
p = 0.02;
l = 2;
} else if ((total >= 200) && (total < 300)) {
r = "Security Guard";
p = 0.04;
l = 3;
} else if ((total >= 300) && (total < 400)) {
r = "Police Officer";
p = 0.06;
l = 4;
} else if ((total >= 400) && (total < 500)) {
r = "Police Sergeant";
p = 0.08;
l = 5;
} else if ((total >= 500) && (total < 1000)) {
r = "Police Lieutenant";
p = 0.1;
l = 6;
} else if ((total >= 1000) && (total < 1500)) {
r = "Police Captain";
p = 0.12;
l = 7;
} else if ((total >= 1500) && (total < 2000)) {
r = "Elite Guard Private";
p = 0.14;
l = 8;
} else if ((total >= 2000) && (total < 2500)) {
r = "Elite Guard Private First Class";
p = 0.16;
l = 9;
} else if ((total >= 2500) && (total < 3000)) {
r = "Elite Guard Corporal";
p = 0.18;
l = 10;
} else if ((total >= 3000) && (total < 4000)) {
r = "Elite Guard Sergeant";
p = 0.2;
l = 11;
} else if ((total >= 4000) && (total < 5000)) {
r = "Elite Guard Staff Sergeant";
p = 0.22;
l = 12;
} else if ((total >= 5000) && (total < 6000)) {
r = "Elite Guard Sergeant First Class";
p = 0.24;
l = 13;
} else if ((total >= 6000) && (total < 7000)) {
r = "Elite Guard Master Sergeant";
p = 0.26;
l = 14;
} else if ((total >= 7000) && (total < 8000)) {
r = "Elite Guard Sergeant Major";
p = 0.28;
l = 15;
} else if ((total >= 8000) && (total < 9500)) {
r = "Elite Guard Praporshchik";
p = 0.3;
l = 16;
} else if ((total >= 9500) && (total < 11000)) {
r = "Elite Guard Second Lieutenant";
p = 0.32;
l = 17;
} else if ((total >= 11000) && (total < 12500)) {
r = "Elite Guard First Lieutenant";
p = 0.34;
l = 18;
} else if ((total >= 12500) && (total < 14000)) {
r = "Elite Guard Captain";
p = 0.36;
l = 19;
} else if ((total >= 14000) && (total < 15500)) {
r = "Elite Guard Major";
p = 0.38;
l = 20;
} else if ((total >= 15500) && (total < 17500)) {
r = "Elite Guard Lieutenant Colonel";
p = 0.4;
l = 21;
} else if ((total >= 17500) && (total < 19500)) {
r = "Elite Guard Colonel";
p = 0.42;
l = 22;
} else if ((total >= 19500) && (total < 21500)) {
r = "Elite Guard Brigadier General";
p = 0.44;
l = 23;
} else if ((total >= 21500) && (total < 23500)) {
r = "Elite Guard Major General";
p = 0.46;
l = 24;
} else if ((total >= 23500) && (total < 25500)) {
r = "Elite Guard Lietenant General";
p = 0.5;
l = 25;
} else if ((total >= 25500) && (total < 30000)) {
r = "Elite Guard General";
p = 0.55;
l = 26;
} else if (total >= 30000) {
r = "Elite Guard Supreme Commander";
p = 0.6;
l = 27;
}
_root[_root.workingfilename].BPrank = r;
_root[_root.workingfilename].extrapercent = p;
_root[_root.workingfilename].BPlevel = l;
};
whistle = function () {
var w;
var total = (_root[_root.workingfilename].protectpoints + _root[_root.workingfilename].blampoints);
if (total < 500) {
w = "Normal";
} else if ((total >= 500) && (total < 2000)) {
w = "Bronze";
} else if ((total >= 2000) && (total < 10000)) {
w = "Silver";
} else if ((total >= 10000) && (total < 25000)) {
w = "Gold";
} else if (total >= 25000) {
w = "Deity";
}
_root[_root.workingfilename].whistle = w;
};
battingAverage = function () {
var numinportal = 0;
i = 0;
while (i <= _root[_root.workingfilename].flashindex) {
var tempObj = _root[_root.workingfilename].MOVIES[i];
if (tempObj.inPortal) {
numinportal++;
}
i++;
}
if (numinportal >= 3) {
var scoreholder = 0;
var todiv = 0;
i = 0;
while (i <= _root[_root.workingfilename].flashindex) {
var tempObj = _root[_root.workingfilename].MOVIES[i];
if (tempObj.inPortal) {
todiv++;
scoreholder = scoreholder + tempObj.score;
}
i++;
}
scoreholder = scoreholder / todiv;
scoreholder = int(scoreholder * 100);
scoreholder = scoreholder / 100;
_root[_root.workingfilename].BA = scoreholder;
if (_root[_root.workingfilename].alias == "unheardof") {
_root[_root.workingfilename].BA = "5.00";
}
var bag;
if ((scoreholder >= 0) && (scoreholder < 1.8)) {
bag = "F";
} else if ((scoreholder >= 1.8) && (scoreholder < 2.2)) {
bag = "D+";
} else if ((scoreholder >= 2.2) && (scoreholder < 2.6)) {
bag = "C+";
} else if ((scoreholder >= 2.6) && (scoreholder < 3.4)) {
bag = "B+";
} else if (scoreholder >= 3.4) {
bag = "A+";
}
_root[_root.workingfilename].BAgrade = bag;
if (_root[_root.workingfilename].alias == "unheardof") {
_root[_root.workingfilename].BAgrade = "S+";
}
}
};
updateMovieStats = function () {
var newReviews = 0;
var newViews = 0;
i = 0;
while (i <= _root[_root.workingfilename].flashindex) {
var tempObj = _root[_root.workingfilename].MOVIES[i];
if (tempObj.inPortal) {
newReviews = newReviews + tempObj.reviews;
newViews = newViews + tempObj.views;
}
i++;
}
_root[_root.workingfilename].totrevs = newReviews;
_root[_root.workingfilename].totviews = newViews;
};
levelUp = function () {
switch (_root[_root.workingfilename].exppoints) {
case 50 :
_root[_root.workingfilename].lvl++;
_root[_root.workingfilename].HP = _root[_root.workingfilename].HP + _root.HPinc;
lvlbox.nextFrame();
break;
case 100 :
_root[_root.workingfilename].lvl++;
_root[_root.workingfilename].HP = _root[_root.workingfilename].HP + _root.HPinc;
lvlbox.nextFrame();
break;
case 150 :
_root[_root.workingfilename].lvl++;
_root[_root.workingfilename].HP = _root[_root.workingfilename].HP + _root.HPinc;
lvlbox.nextFrame();
break;
case 200 :
_root[_root.workingfilename].lvl++;
_root[_root.workingfilename].HP = _root[_root.workingfilename].HP + _root.HPinc;
lvlbox.nextFrame();
break;
case 250 :
_root[_root.workingfilename].lvl++;
_root[_root.workingfilename].HP = _root[_root.workingfilename].HP + _root.HPinc;
lvlbox.nextFrame();
break;
case 300 :
_root[_root.workingfilename].lvl++;
_root[_root.workingfilename].HP = _root[_root.workingfilename].HP + _root.HPinc;
lvlbox.nextFrame();
break;
case 350 :
_root[_root.workingfilename].lvl++;
_root[_root.workingfilename].HP = _root[_root.workingfilename].HP + _root.HPinc;
lvlbox.nextFrame();
break;
case 400 :
_root[_root.workingfilename].lvl++;
_root[_root.workingfilename].HP = _root[_root.workingfilename].HP + _root.HPinc;
lvlbox.nextFrame();
break;
case 500 :
_root[_root.workingfilename].lvl++;
_root[_root.workingfilename].HP = _root[_root.workingfilename].HP + _root.HPinc;
lvlbox.nextFrame();
break;
case 600 :
_root[_root.workingfilename].lvl++;
_root[_root.workingfilename].HP = _root[_root.workingfilename].HP + _root.HPinc;
lvlbox.nextFrame();
break;
case 700 :
_root[_root.workingfilename].lvl++;
_root[_root.workingfilename].HP = _root[_root.workingfilename].HP + _root.HPinc;
lvlbox.nextFrame();
break;
case 800 :
_root[_root.workingfilename].lvl++;
_root[_root.workingfilename].HP = _root[_root.workingfilename].HP + _root.HPinc;
lvlbox.nextFrame();
break;
case 900 :
_root[_root.workingfilename].lvl++;
_root[_root.workingfilename].HP = _root[_root.workingfilename].HP + _root.HPinc;
lvlbox.nextFrame();
break;
case 1000 :
_root[_root.workingfilename].lvl++;
_root[_root.workingfilename].HP = _root[_root.workingfilename].HP + _root.HPinc;
lvlbox.nextFrame();
break;
case 1100 :
_root[_root.workingfilename].lvl++;
_root[_root.workingfilename].HP = _root[_root.workingfilename].HP + _root.HPinc;
lvlbox.nextFrame();
break;
case 1200 :
_root[_root.workingfilename].lvl++;
_root[_root.workingfilename].HP = _root[_root.workingfilename].HP + _root.HPinc;
lvlbox.nextFrame();
break;
case 1300 :
_root[_root.workingfilename].lvl++;
_root[_root.workingfilename].HP = _root[_root.workingfilename].HP + _root.HPinc;
lvlbox.nextFrame();
break;
case 1400 :
_root[_root.workingfilename].lvl++;
_root[_root.workingfilename].HP = _root[_root.workingfilename].HP + _root.HPinc;
lvlbox.nextFrame();
break;
case 1500 :
_root[_root.workingfilename].lvl++;
_root[_root.workingfilename].HP = _root[_root.workingfilename].HP + _root.HPinc;
lvlbox.nextFrame();
break;
case 1600 :
_root[_root.workingfilename].lvl++;
_root[_root.workingfilename].HP = _root[_root.workingfilename].HP + _root.HPinc;
lvlbox.nextFrame();
break;
case 1700 :
_root[_root.workingfilename].lvl++;
_root[_root.workingfilename].HP = _root[_root.workingfilename].HP + _root.HPinc;
lvlbox.nextFrame();
break;
case 1800 :
_root[_root.workingfilename].lvl++;
_root[_root.workingfilename].HP = _root[_root.workingfilename].HP + _root.HPinc;
lvlbox.nextFrame();
break;
case 1900 :
_root[_root.workingfilename].lvl++;
_root[_root.workingfilename].HP = _root[_root.workingfilename].HP + _root.HPinc;
lvlbox.nextFrame();
break;
case 2000 :
_root[_root.workingfilename].lvl++;
_root[_root.workingfilename].HP = _root[_root.workingfilename].HP + _root.HPinc;
lvlbox.nextFrame();
break;
case 2200 :
_root[_root.workingfilename].lvl++;
_root[_root.workingfilename].HP = _root[_root.workingfilename].HP + _root.HPinc;
lvlbox.nextFrame();
break;
case 2400 :
_root[_root.workingfilename].lvl++;
_root[_root.workingfilename].HP = _root[_root.workingfilename].HP + _root.HPinc;
lvlbox.nextFrame();
break;
case 2600 :
_root[_root.workingfilename].lvl++;
_root[_root.workingfilename].HP = _root[_root.workingfilename].HP + _root.HPinc;
lvlbox.nextFrame();
break;
case 2800 :
_root[_root.workingfilename].lvl++;
_root[_root.workingfilename].HP = _root[_root.workingfilename].HP + _root.HPinc;
lvlbox.nextFrame();
break;
case 3000 :
_root[_root.workingfilename].lvl++;
_root[_root.workingfilename].HP = _root[_root.workingfilename].HP + _root.HPinc;
lvlbox.nextFrame();
break;
}
lvlbox.leveluptext.text = (("You have reached level " + _root[_root.workingfilename].lvl) + ". Your max HP is now ") + _root[_root.workingfilename].HP;
};
ppd = function () {
var tempppd = int((_root[_root.workingfilename].posts / (_root[_root.workingfilename].day - 1)) * 100);
_root[_root.workingfilename].postsperday = tempppd / 100;
};
statusChecks = function () {
if (!_root[_root.workingfilename].assignedAdmin) {
if (_root[_root.workingfilename].assignedMod && (_root[_root.workingfilename].assignedAffil)) {
if (_root[_root.workingfilename].lvl >= 25) {
if (_root[_root.workingfilename].coolpoints >= 500) {
_root[_root.workingfilename].assignedAdmin = true;
_root[_root.workingfilename].NGstatus = "ADMIN";
_root.eHandBag.stop();
gotoAndPlay (261);
}
}
}
}
_root[_root.workingfilename].NGstatus;
if (!_root[_root.workingfilename].assignedMod) {
if (_root[_root.workingfilename].lvl >= 15) {
if (_root[_root.workingfilename].posts >= 5000) {
if (_root[_root.workingfilename].reviews >= 200) {
if ((_root[_root.workingfilename].blampoints + _root[_root.workingfilename].protectpoints) >= 5000) {
if (_root[_root.workingfilename].coolpoints >= 150) {
_root[_root.workingfilename].banimmune = true;
_root[_root.workingfilename].assignedMod = true;
if (_root[_root.workingfilename].NGstatus == "Affiliate") {
_root[_root.workingfilename].NGstatus = "Affiliate, Moderator";
} else {
_root[_root.workingfilename].NGstatus = "Moderator";
}
specialtext.text = specialtext.text + "You are now a moderator! Check your email for more information. ";
var body = "I've seen your recent forum activity, and decided it would be in Newgrounds' best interests to make you a moderator!";
body = body + " As a moderator you'll find that you can no longer be banned from the BBS. Also, you will get more cool points for posting.";
body = body + " Keep that in mind, cause you're gonna need an awful lot of cool points to become an admin!";
_root[_root.workingfilename].EMAIL.push(new _root.MailMessage("Moderator Status", body, "Wade Fulp", false));
}
}
}
}
}
}
if (!_root[_root.workingfilename].assignedAffil) {
if (((_root[_root.workingfilename].totrevs >= 500) && (_root[_root.workingfilename].totviews >= 3000)) && (_root[_root.workingfilename].bookmarked >= 250)) {
var movcount = 0;
var groundbreak = false;
i = 0;
while (i <= _root[_root.workingfilename].flashindex) {
var tempObj = _root[_root.workingfilename].MOVIES[i];
if (tempObj.inPortal) {
movcount++;
}
if (tempObj.kind == "groundbreak") {
groundbreak = true;
}
i++;
}
if (groundbreak && (movcount >= 10)) {
_root[_root.workingfilename].assignedAffil = true;
_root[_root.workingfilename].banimmune = true;
if (_root[_root.workingfilename].NGstatus == "Moderator") {
_root[_root.workingfilename].NGstatus = "Moderator, Affiliate";
} else {
_root[_root.workingfilename].NGstatus = "Affiliate";
}
specialtext.text = specialtext.text + "You are now a site affiliate! Check your email for more information. ";
body = "I've been keeping an eye on your flash works, and I have to say.. they're amazing!";
body = body + " So in turn I have made you a site affiliate. You cannot be banned, and you will receive";
body = body + " extra cool points each time you submit a movie. Remember, admin status takes a lot of cool points!";
_root[_root.workingfilename].EMAIL.push(new _root.MailMessage("Site Affiliate", body, "Tom Fulp", false));
}
}
}
};
complogoff = new Sound();
complogoff.attachSound("XPlogoff");
complogon = new Sound();
complogon.attachSound("XPlogon");
eHandbag = new Sound();
eHandbag.attachSound("handbag");
eHandbag.onSoundComplete = function () {
eHandbag.start();
};
TC = new Sound();
TC.attachSound("timeclock");
BK = new Sound();
BK.attachSound("books");
Instance of Symbol 529 MovieClip in Frame 1
onClipEvent (enterFrame) {
_xscale = ((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
_root.loadPercent = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) + "%";
}
Instance of Symbol 571 MovieClip in Frame 1
/* no clip actions */
Frame 2
if (_framesloaded >= _totalframes) {
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Frame 8
dailyUpdate22 = function (i) {
trace("special looop");
var lol = 1.59;
if (_root[_root.workingfilename].alias == "goeasyonme") {
lol = 1;
} else if (_root[_root.workingfilename].alias == "ilikeachallenge") {
lol = 2.59;
}
if ((((_root[_root.workingfilename].MOVIES[i].score <= lol) || (_root[_root.workingfilename].alias == "illwillpress")) && (_root[_root.workingfilename].alias != "adamphillips")) && (_root[_root.workingfilename].MOVIES[i].underJudgement)) {
_root[_root.workingfilename].moviesblammed++;
_root[_root.workingfilename].MOVIES[i].blammed = true;
_root[_root.workingfilename].MOVIES[i].inPortal = false;
var sco = int(_root[_root.workingfilename].MOVIES[i].score * 100);
sco = sco / 100;
var topic = (("\"" + _root[_root.workingfilename].MOVIES[i].title) + "\" blammed");
var body = ((((((((((("This is an automated message from Newgrounds (http://www.newgrounds.com). \n\nWe're sorry to inform you that your Portal submission \"" + _root[_root.workingfilename].MOVIES[i].title) + "\" has been") + " removed due to a low user rating. If you have questions regarding the minimum") + " ratings needed to keep your submission on the Portal, consult the Portal FAQ at") + " http://www.newgrounds.com/portal/faq.html.") + "\n\nAt the time of removal, your submission had accumulated a score of ") + sco) + "/5.00") + "\n\nPlease do not re-submit your movie in its current form. If you would like your") + " movie to have a second chance, please try to improve upon it first.") + "\n\nDespite how things turned out this time, thanks for your submission!");
_root[_root.workingfilename].EMAIL.push(new _root.MailMessage(topic, body, "P-bot", true));
_root[_root.workingfilename].mailindex++;
} else {
var ANB;
var upper = false;
var choice = random(100);
if (choice >= 80) {
upper = true;
}
if (_root[_root.workingfilename].MOVIES[i].kind == "stick") {
this.views = this.views + (random(30) + 10);
this.reviews = this.reviews + (random(20) + 5);
ANB = 0;
trace(((_root[_root.workingfilename].MOVIES[i].title + " sends ") + mailtosend) + " messages");
} else if (_root[_root.workingfilename].MOVIES[i].kind == "dressup") {
_root[_root.workingfilename].MOVIES[i].views = _root[_root.workingfilename].MOVIES[i].views + (random(30) + 15);
_root[_root.workingfilename].MOVIES[i].reviews = _root[_root.workingfilename].MOVIES[i].reviews + (random(20) + 10);
if (upper) {
ANB = random(1);
}
} else if (_root[_root.workingfilename].MOVIES[i].kind == "video") {
_root[_root.workingfilename].MOVIES[i].views = _root[_root.workingfilename].MOVIES[i].views + (random(30) + 20);
_root[_root.workingfilename].MOVIES[i].reviews = _root[_root.workingfilename].MOVIES[i].reviews + (random(20) + 20);
if (upper) {
ANB = random(2);
}
} else if (_root[_root.workingfilename].MOVIES[i].kind == "sprite") {
_root[_root.workingfilename].MOVIES[i].views = _root[_root.workingfilename].MOVIES[i].views + (random(30) + 30);
_root[_root.workingfilename].MOVIES[i].reviews = _root[_root.workingfilename].MOVIES[i].reviews + (random(20) + 25);
if (upper) {
ANB = random(2);
}
} else if (_root[_root.workingfilename].MOVIES[i].kind == "parody") {
_root[_root.workingfilename].MOVIES[i].views = _root[_root.workingfilename].MOVIES[i].views + (random(30) + 100);
_root[_root.workingfilename].MOVIES[i].reviews = _root[_root.workingfilename].MOVIES[i].reviews + (random(20) + 50);
if (upper) {
ANB = random(3);
}
} else if (_root[_root.workingfilename].MOVIES[i].kind == "game") {
_root[_root.workingfilename].MOVIES[i].views = _root[_root.workingfilename].MOVIES[i].views + (random(50) + 200);
_root[_root.workingfilename].MOVIES[i].reviews = _root[_root.workingfilename].MOVIES[i].reviews + (random(50) + 50);
if (upper) {
ANB = random(5);
}
} else if (_root[_root.workingfilename].MOVIES[i].kind == "groundbreak") {
_root[_root.workingfilename].MOVIES[i].views = _root[_root.workingfilename].MOVIES[i].views + (random(100) + 400);
_root[_root.workingfilename].MOVIES[i].reviews = _root[_root.workingfilename].MOVIES[i].reviews + (random(100) + 50);
if (upper) {
ANB = random(10);
}
}
_root[_root.workingfilename].bookmarked = _root[_root.workingfilename].bookmarked + ANB;
}
};
Frame 14
mailSenders = new Array();
mailSenders.push("Someguy");
mailSenders.push("Lolwtf?");
mailSenders.push("Dave");
mailSenders.push("Mark");
mailSenders.push("Steve");
mailSenders.push("Chrissy");
mailSenders.push("Stacy");
mailSenders.push("Mary");
mailSenders.push("H3llr@is3r");
mailSenders.push("Ben S.");
mailSenders.push("JoJo Action");
mailSenders.push("Spec");
mailSenders.push("Commie");
mailSenders.push("Hitlur");
mailSenders.push("<>");
mailSenders.push("hottie2rox");
mailSenders.push("jock07");
mailSenders.push("cumgetsum");
mailSenders.push("usux");
mailSenders.push("cutiePie Angel");
mailSenders.push("Hardckore haxx");
mailSenders.push("SuperNinjer");
mailSenders.push("John");
mailSenders.push("Sarah");
mailSenders.push("PsychicPsycho");
mailSenders.push("SiLeNt KiLlEr");
mailSenders.push("Joshie");
mailSenders.push("Newgrounder");
mailSenders.push("haha");
mailSenders.push("Laura");
mailSenders.push("Angery botz");
mailSenders.push("HackedtehGibson");
mailSenders.push("Twiddle");
mailSenders.push("Starbow");
mailSenders.push("InsANITY");
mailSenders.push("Emochick");
mailSenders.push("2cool 4U");
spamSenders = new Array();
spamSenders.push("Mark G.");
spamSenders.push("Good Deals 4 u");
spamSenders.push("Mailer Daemon");
spamSenders.push("Postmaster");
spamSenders.push("Credit Card Office");
spamSenders.push("Workplace");
spamSenders.push("Men's health");
spamSenders.push("Women's health");
spamSenders.push("Doctors Office");
spamSenders.push("2 hot 2 pass up");
spamSenders.push("Sexy Lady");
spamSenders.push("Hot cockx");
spamSenders.push("Polly Zelder");
spamSenders.push("Ethan Marx");
spamSenders.push("Tom Jude");
spamSenders.push("Mister Guy");
spamSenders.push("Stony Mc Stonerton");
spamSenders.push("Ben Dow");
spamSenders.push("Bowling tickets");
spamSenders.push("Hot.Dates");
spamSenders.push("Hot.co-eds");
spamSenders.push("The Best");
spamSenders.push("Great Dealz");
spamSenders.push(";alkjdfjeojdk");
spamSenders.push("IMPORTANT NOTICES***");
spamSenders.push(";AJD;AKJSD;FL");
goodMailTopics = new Array();
goodMailTopics.push("Ur movie");
goodMailTopics.push("Awesome!!");
goodMailTopics.push("LOL");
goodMailTopics.push("cool stuff");
goodMailTopics.push("RE:");
goodMailTopics.push("loved it");
goodMailTopics.push("hello");
goodMailTopics.push("hihi");
goodMailTopics.push("wats up??");
goodMailTopics.push("yo");
goodMailTopics.push("hey");
goodMailTopics.push("cools!");
goodMailTopics.push("OH SNAP");
badMailTopics = new Array();
badMailTopics.push("wtf??");
badMailTopics.push("hey..");
badMailTopics.push("u suck");
badMailTopics.push("die");
badMailTopics.push("your movie");
badMailTopics.push("Stop coming to newgrounds");
badMailTopics.push("hated it");
badMailTopics.push("terrible");
badMailTopics.push("bad");
badMailTopics.push("hey");
badMailTopics.push("shitty");
badMailTopics.push("what??");
badMailTopics.push("crap");
spamMailTopics = new Array();
spamMailTopics.push("SECKS");
spamMailTopics.push("Penis Enlargement");
spamMailTopics.push("Hot HOT HOT");
spamMailTopics.push("Prescription Pills CHEAP");
spamMailTopics.push("no worries");
spamMailTopics.push("OFFERS");
spamMailTopics.push("cum check her out!");
spamMailTopics.push("bargain prices");
spamMailTopics.push("look inside");
spamMailTopics.push("FREE!11!");
spamMailTopics.push("Always Please your woman");
spamMailTopics.push("Unlimited Orgasms");
spamMailTopics.push("h0t st0ck tips!");
spamMailTopics.push("great st0ck 0ffers");
spamMailTopics.push("can't pass it up");
randomMailTopics = new Array();
randomMailTopics.push("sup");
randomMailTopics.push("Hey");
randomMailTopics.push("yo man");
randomMailTopics.push("lols");
randomMailTopics.push("but...");
randomMailTopics.push("RE:");
randomMailTopics.push("Just wondering");
randomMailTopics.push("nah");
randomMailTopics.push("Hi");
randomMailTopics.push("???");
randomMailTopics.push("what if?");
spamMailBodies = new Array();
spamMailBodies.push("All that you want for only $5.00! join now!");
spamMailBodies.push("Don't wait any longer or you'll be screwed. Reply to this message immediately!");
spamMailBodies.push("BEST DEALS EVER!!");
spamMailBodies.push("We provide the absolute best in penal health. Try our system free for thirty days");
spamMailBodies.push("H0t st0ck tips 4 the best st0cks!");
spamMailBodies.push("uytvi76tuytfrkldjrihjhdshiluhjmv859u98erveo87ydo4ekvjn84nn809j n08v9jns984ru984ubveo8yb847ydibuvrgu5");
spamMailBodies.push("Don't be fooled by other companies offering the same");
spamMailBodies.push("Unrivaled product guarantees with us. You wont be sorry");
spamMailBodies.push("HOTSEXSLUTS HOTSEXSLUTS HOTSEXSLUTS HOTSEXSLUTS HOTSEXSLUTS HOTSEXSLUTS HOTSEXSLUTS HOTSEXSLUTS HOTSEXSLUTS HOTSEXSLUTS HOTSEXSLUTS HOTSEXSLUTS HOTSEXSLUTS HOTSEXSLUTS HOTSEXSLUTS HOTSEXSLUTS HOTSEXSLUTS HOTSEXSLUTS HOTSEXSLUTS HOTSEXSLUTS");
spamMailBodies.push("SPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAMSPAM");
spamMailBodies.push("Send this message to ten other people and receive $100,000,000!!! THIS IS NOT A SCAM, I TRIED IT MYSELF LOL");
spamMailBodies.push("Disgustingly low prices! You wont belive your eyes! L@@K!!!!!!!!!!!!!!1");
spamMailBodies.push("Is your woman unsatisfied? Try our viagra by-product today! (side effects may include leprosy and death)");
spamMailBodies.push("BIG FAT COCKS R WHUT U GET");
spamMailBodies.push("This is a once in a lifetime opportunity, ACT NOWEZ!1");
randomMailBodies = new Array();
randomMailBodies.push("Hey man where can I get flash 4 free yoz?");
randomMailBodies.push("How do I deposit experience points????");
randomMailBodies.push("fuck u");
randomMailBodies.push("Lol, you pwnd him!!!");
randomMailBodies.push("ASL PLZ");
randomMailBodies.push("Are you guys gay?");
randomMailBodies.push("Hey can I have ur account password?");
randomMailBodies.push("Lol wats up yo? Haven't talked to u in a while");
randomMailBodies.push("Newgrounds rocks, don't you think so?");
randomMailBodies.push("Please reply");
randomMailBodies.push("Can u maek me a moderator???");
randomMailBodies.push("How long have u been going to newgrounds??");
goodMailBodies = new Array();
goodMailBodies.push("Hey how do you make flash so good man?");
goodMailBodies.push("That was the best movie I've ever seen on newgrounds. I'm starting flash because of you :)");
goodMailBodies.push("Excellent movie, keep it up");
goodMailBodies.push("I look forward to seeing more man");
goodMailBodies.push("ALL MY FIVE WERE BELONG 2 THAT!");
goodMailBodies.push("unrivaled excellency");
goodMailBodies.push("I didn't know flash could produce such high quality works. You've made me a believer!!");
goodMailBodies.push("You sir are a flash god");
goodMailBodies.push("TOTALLY AWESOME");
goodMailBodies.push("Hey, where I can I get flash?");
goodMailBodies.push("Holy shit, how do you make flash so good?");
goodMailBodies.push("I just saw your movie, and I have to say you have yourself a new fan : )");
goodMailBodies.push("It's people like you who make the portal worth coming to");
goodMailBodies.push("Never in all my years on the internet have I seen something so cool");
badMailBodies = new Array();
badMailBodies.push("I hope u hang yourself and die");
badMailBodies.push("Worst flash movie I've ever fucking seen.");
badMailBodies.push("Do yourself a favor and quit flash forever");
badMailBodies.push("Your shit is way too overrated");
badMailBodies.push("FUCKING STUPID SHIT. UR FLASH SUX");
badMailBodies.push("Quit submitting the same shit over and over man. Seriously try some flash tutorials");
badMailBodies.push("I really don't find your style of humor funny, in fact some of it offends me");
badMailBodies.push("Newgrounds wasn't made so you could dump all your shit there >:(");
badMailBodies.push("Give up flash. NOW");
badMailBodies.push("Your sense of humor is terrible, stop watching saturday morning cartoons");
badMailBodies.push("What the hell was that????");
badMailBodies.push("Complete trash. Try again");
badMailBodies.push("You only have a score because of fanboys. You like that eh?");
badMailBodies.push("Here's hoping your computer burns down in a fire");
spam = function () {
if (_root[_root.workingfilename].alias != "nospam") {
var numToSend = (random(10) - 5);
if (_root[_root.workingfilename].alias == "treatmelikehotmail") {
numToSend = numToSend + 10;
}
if (numToSend > 0) {
i = 1;
while (i <= numToSend) {
var topic = spamMailTopics[random(15)];
var sender = spamSenders[random(26)];
var body = spamMailBodies[random(15)];
_root[_root.workingfilename].mailindex++;
_root[_root.workingfilename].EMAIL.push(new _root.MailMessage(topic, body, sender, true));
i++;
}
}
}
};
randomEmail = function () {
if (_root[_root.workingfilename].alias != "nospam") {
var send = chance(5);
if (send) {
var topic = randomMailTopics[random(11)];
var sender = mailSenders[random(37)];
var body = randomMailBodies[random(12)];
_root[_root.workingfilename].mailindex++;
_root[_root.workingfilename].EMAIL.push(new _root.MailMessage(topic, body, sender, true));
}
}
};
sendGoodEmail = function (num) {
if (_root[_root.workingfilename].alias != "nospam") {
if (_root[_root.workingfilename].EMAIL.length < 500) {
var sloopcount;
i = 1;
while (i <= num) {
var topic = goodMailTopics[random(13)];
var sender = mailSenders[random(37)];
var body = goodMailBodies[random(14)];
_root[_root.workingfilename].mailindex++;
_root[_root.workingfilename].EMAIL.push(new _root.MailMessage(topic, body, sender, true));
sloopcount++;
i++;
}
trace(("This loop executed " + sloopcount) + " times");
}
}
};
sendBadEmail = function (num) {
if (_root[_root.workingfilename].alias != "nospam") {
if (_root[_root.workingfilename].EMAIL.length < 500) {
var sloopcount;
i = 1;
while (i <= num) {
var topic = badMailTopics[random(13)];
var sender = mailSenders[random(37)];
var body = badMailBodies[random(14)];
_root[_root.workingfilename].mailindex++;
_root[_root.workingfilename].EMAIL.push(new _root.MailMessage(topic, body, sender, true));
sloopcount++;
i++;
}
trace(("This loop executed " + sloopcount) + " times");
}
}
};
oneTimeCodes = function () {
if (_root[_root.workingfilename].alias == "cashwad") {
_root[_root.workingfilename].money = 1000000 /* 0x0F4240 */;
} else if (_root[_root.workingfilename].alias == "kingoftheportal") {
_root[_root.workingfilename].flashskill = 1000;
} else if (_root[_root.workingfilename].alias == "1337haxx0r") {
_root[_root.workingfilename].coolpoints = 1000;
} else if (_root[_root.workingfilename].alias == "highiq") {
_root[_root.workingfilename].intelligence = 1000;
} else if (_root[_root.workingfilename].alias == "bbsspammer") {
_root[_root.workingfilename].posts = 50000;
} else if (_root[_root.workingfilename].alias == "toomanyreviews") {
_root[_root.workingfilename].reviews = 50000;
} else if (_root[_root.workingfilename].alias == "indestructab13") {
_root[_root.workingfilename].HP = 3000;
_root[_root.workingfilename].currentHP = 3000;
} else if (_root[_root.workingfilename].alias == "whathappen?") {
_root[_root.workingfilename].day = 500;
} else if (_root[_root.workingfilename].alias == "WADEPLZMOD") {
_root[_root.workingfilename].banimmune = true;
_root[_root.workingfilename].assignedMod = true;
_root[_root.workingfilename].NGstatus = "Moderator";
} else if (_root[_root.workingfilename].alias == "nextbigartist") {
_root[_root.workingfilename].assignedAffil = true;
_root[_root.workingfilename].banimmune = true;
_root[_root.workingfilename].NGstatus = "Affiliate";
} else if (_root[_root.workingfilename].alias == "ilovepiracy") {
_root[_root.workingfilename].hasflash = true;
} else if (_root[_root.workingfilename].alias == "needatut") {
_root[_root.workingfilename].moviesblammed = 100000 /* 0x0186A0 */;
}
};
stickerCheck = function () {
var bptotal = (_root[_root.workingfilename].protectpoints + _root[_root.workingfilename].blampoints);
var movcount;
i = 0;
while (i <= _root[_root.workingfilename].flashindex) {
var tempObj = _root[_root.workingfilename].MOVIES[i];
if (tempObj.inPortal) {
movcount++;
}
i++;
}
if (_root[_root.workingfilename].lvl >= 30) {
_root[_root.workingfilename].STICKERS[1] = true;
}
if (bptotal >= 25000) {
_root[_root.workingfilename].STICKERS[2] = true;
}
if (bptotal >= 30000) {
_root[_root.workingfilename].STICKERS[3] = true;
}
if (_root[_root.workingfilename].assignedMod) {
_root[_root.workingfilename].STICKERS[4] = true;
}
if (_root[_root.workingfilename].assignedAffil) {
_root[_root.workingfilename].STICKERS[5] = true;
}
if (movcount >= 20) {
_root[_root.workingfilename].STICKERS[6] = true;
}
if (_root[_root.workingfilename].posts >= 5000) {
_root[_root.workingfilename].STICKERS[10] = true;
}
if (_root[_root.workingfilename].posts >= 10000) {
_root[_root.workingfilename].STICKERS[11] = true;
}
if (_root[_root.workingfilename].moneymade >= 100000) {
_root[_root.workingfilename].STICKERS[12] = true;
}
if (_root[_root.workingfilename].coolpoints >= 750) {
_root[_root.workingfilename].STICKERS[13] = true;
}
if (_root[_root.workingfilename].flashskill >= 1000) {
_root[_root.workingfilename].STICKERS[14] = true;
}
if (_root[_root.workingfilename].intelligence >= 500) {
_root[_root.workingfilename].STICKERS[15] = true;
}
if (_root[_root.workingfilename].hoursworked >= 750) {
_root[_root.workingfilename].STICKERS[16] = true;
}
if (_root[_root.workingfilename].booksread >= 500) {
_root[_root.workingfilename].STICKERS[17] = true;
}
if (_root[_root.workingfilename].hourslurked >= 200) {
_root[_root.workingfilename].STICKERS[18] = true;
}
if (_root[_root.workingfilename].votingpower >= 13) {
_root[_root.workingfilename].STICKERS[19] = true;
}
var stickcount = 0;
i = 1;
while (i <= 20) {
if (_root[_root.workingfilename].STICKERS[i]) {
stickcount++;
}
i++;
}
_root[_root.workingfilename].stickersnum = stickcount;
if (stickcount == 20) {
_root[_root.workingfilename].debugAccess = true;
}
};
specialEmail = function () {
var D = _root[_root.workingfilename].day;
var body;
if (D == 50) {
body = "Hello. This is Amazon's customer service team, just letting you know that we are featuring a new product this week that is sure to increase your flash ability. Stop by the site and see!";
_root[_root.workingfilename].mailindex++;
_root[_root.workingfilename].EMAIL.push(new _root.MailMessage("Amazon Products", body, "Amazon.com", false));
body = "Hey guys. I guess it's time to fill you in on the sticker stat. Basically, you get stickers for completing certain \"challenges.\" To see a list of these challenges, click the STICKERS icon on your desktop. Collect them all!";
_root[_root.workingfilename].mailindex++;
_root[_root.workingfilename].EMAIL.push(new _root.MailMessage("Sticker Stat?", body, "Afro Ninja", false));
}
if (D == 100) {
body = "Hello. This is Amazon's customer service team, just letting you know that we are featuring a new product this week that is sure to increase your flash ability. Stop by the site and see!";
_root[_root.workingfilename].mailindex++;
_root[_root.workingfilename].EMAIL.push(new _root.MailMessage("Amazon Products", body, "Amazon.com", false));
}
if (D == 150) {
body = "Hello. This is Amazon's customer service team, just letting you know that we are featuring a new product this week that is sure to increase your flash ability. Stop by the site and see!";
_root[_root.workingfilename].mailindex++;
_root[_root.workingfilename].EMAIL.push(new _root.MailMessage("Amazon Products", body, "Amazon.com", false));
}
if (D == 160) {
body = "Well, I suppose it's time to start letting everyone in on a few secrets. For starters, there are a number of hidden desktop wallpapers you can view. Enter your name as \"Afro_Ninja\" to get my logo. In fact, a majority of the Mod and Admin usernames will work. Along with a few hidden ones =O";
_root[_root.workingfilename].mailindex++;
_root[_root.workingfilename].EMAIL.push(new _root.MailMessage("Secret Desktops", body, "Afro Ninja", false));
}
if (D == 200) {
body = "Aside from the desktop codes, there's a whole shitload of codes that can be activated by entering certain usernames when you make a new file. For example, try starting a game as \"cashwad\" to start with $1,000,000, or \"indestructab13\" to start with 3000 HP. These are one-time codes. I'll reveal more of them later.";
_root[_root.workingfilename].mailindex++;
_root[_root.workingfilename].EMAIL.push(new _root.MailMessage("Secret Codes??", body, "Afro Ninja", false));
}
if (D == 250) {
body = "Here are some more one-time codes you can try out:\nbbsspammer : Start with 50,000 posts\ntoomanyreviews : Start with 50,000 reviews\nhighiq : Start with 1000 intelligence\nilovepiracy : Start the game with flash";
_root[_root.workingfilename].mailindex++;
_root[_root.workingfilename].EMAIL.push(new _root.MailMessage("More codes", body, "Afro Ninja", false));
}
if (D == 300) {
body = "You're a pretty persistent player! Well then, time to clue you in on the last set of codes. These are codes that can be entered anytime in the game to achieve certain effects. These codes are only active while your name stays as that code. Change your name to \"takeoutthetrash\" to give yourself the garbage whistle in your profile. Or try \"dailydominator\" to make sure all of your movies get daily first place. More to come...";
_root[_root.workingfilename].mailindex++;
_root[_root.workingfilename].EMAIL.push(new _root.MailMessage("More Codes!!", body, "Afro Ninja", false));
}
if (D == 499) {
body = "Damn, you made it this far? You're hardcore. Here are more any-time codes for you to try out!\npennybainsextoy : Level 31 level icon??\nwalkonwater : Always have the deity whistle\nnospam : Never receive spam mail\ndeleteallemail : Remove all email you currently have\nwhitepower : Can't be banned from the BBS";
_root[_root.workingfilename].mailindex++;
_root[_root.workingfilename].EMAIL.push(new _root.MailMessage("More Codes!!", body, "Afro Ninja", false));
}
};
Frame 15
stop();
Frame 16
play();
Frame 166
stop();
Frame 197
stop();
if (!_root.soundstart) {
_root.soundstart = true;
eHandbag.start();
}
Frame 216
gotoAndStop (217);
Frame 217
stop();
mySO = SharedObject.getLocal("test");
if ((!mySO.flush(1)) && (!_root.saveprompt)) {
soclip.nextFrame();
_root.saveprompt = true;
}
MAINOBJ = SharedObject.getLocal("NGSIMV3SAVES");
if (MAINOBJ.data.f1.alias == undefined) {
_root.F1.gotoAndStop(1);
} else {
_root.F1.gotoAndStop(2);
_root.F1.name.text = MAINOBJ.data.f1.alias;
_root.F1.level.text = "Level " + MAINOBJ.data.f1.lvl;
_root.F1.name2.text = MAINOBJ.data.f1.alias;
_root.F1.level2.text = "Level " + MAINOBJ.data.f1.lvl;
}
if (MAINOBJ.data.f2.alias == undefined) {
_root.F2.gotoAndStop(1);
} else {
_root.F2.gotoAndStop(2);
_root.F2.name.text = MAINOBJ.data.f2.alias;
_root.F2.level.text = "Level " + MAINOBJ.data.f2.lvl;
_root.F2.name2.text = MAINOBJ.data.f2.alias;
_root.F2.level2.text = "Level " + MAINOBJ.data.f2.lvl;
}
if (MAINOBJ.data.f3.alias == undefined) {
_root.F3.gotoAndStop(1);
} else {
_root.F3.gotoAndStop(2);
_root.F3.name.text = MAINOBJ.data.f3.alias;
_root.F3.level.text = "Level " + MAINOBJ.data.f3.lvl;
_root.F3.name2.text = MAINOBJ.data.f3.alias;
_root.F3.level2.text = "Level " + MAINOBJ.data.f3.lvl;
}
if (MAINOBJ.data.f4.alias == undefined) {
_root.F4.gotoAndStop(1);
} else {
_root.F4.gotoAndStop(2);
_root.F4.name.text = MAINOBJ.data.f4.alias;
_root.F4.level.text = "Level " + MAINOBJ.data.f4.lvl;
_root.F4.name2.text = MAINOBJ.data.f4.alias;
_root.F4.level2.text = "Level " + MAINOBJ.data.f4.lvl;
}
if (MAINOBJ.data.f5.alias == undefined) {
_root.F5.gotoAndStop(1);
} else {
_root.F5.gotoAndStop(2);
_root.F5.name.text = MAINOBJ.data.f5.alias;
_root.F5.level.text = "Level " + MAINOBJ.data.f5.lvl;
_root.F5.name2.text = MAINOBJ.data.f5.alias;
_root.F5.level2.text = "Level " + MAINOBJ.data.f5.lvl;
}
if ((((MAINOBJ.data.f1.debugAccess || (MAINOBJ.data.f2.debugAccess)) || (MAINOBJ.data.f3.debugAccess)) || (MAINOBJ.data.f4.debugAccess)) || (MAINOBJ.data.f5.debugAccess)) {
_root.debug = true;
}
Instance of Symbol 633 MovieClip "F2" in Frame 217
on (release) {
_root.workingFile = 2;
if (_root.delMode) {
if (this._currentframe == 1) {
_root.fileMessage.gotoAndStop(4);
} else {
_root.fileMessage.gotoAndStop(5);
}
} else if (this._currentframe == 1) {
_root.fileGo = "new";
_root.fileMessage.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.fileGo = "old";
_root.fileMessage.gotoAndStop(3);
}
}
Instance of Symbol 633 MovieClip "F3" in Frame 217
on (release) {
_root.workingFile = 3;
if (_root.delMode) {
if (this._currentframe == 1) {
_root.fileMessage.gotoAndStop(4);
} else {
_root.fileMessage.gotoAndStop(5);
}
} else if (this._currentframe == 1) {
_root.fileGo = "new";
_root.fileMessage.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.fileGo = "old";
_root.fileMessage.gotoAndStop(3);
}
}
Instance of Symbol 633 MovieClip "F4" in Frame 217
on (release) {
_root.workingFile = 4;
if (_root.delMode) {
if (this._currentframe == 1) {
_root.fileMessage.gotoAndStop(4);
} else {
_root.fileMessage.gotoAndStop(5);
}
} else if (this._currentframe == 1) {
_root.fileGo = "new";
_root.fileMessage.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.fileGo = "old";
_root.fileMessage.gotoAndStop(3);
}
}
Instance of Symbol 633 MovieClip "F5" in Frame 217
on (release) {
_root.workingFile = 5;
if (_root.delMode) {
if (this._currentframe == 1) {
_root.fileMessage.gotoAndStop(4);
} else {
_root.fileMessage.gotoAndStop(5);
}
} else if (this._currentframe == 1) {
_root.fileGo = "new";
_root.fileMessage.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.fileGo = "old";
_root.fileMessage.gotoAndStop(3);
}
}
Instance of Symbol 633 MovieClip "F1" in Frame 217
on (release) {
_root.workingFile = 1;
if (_root.delMode) {
if (this._currentframe == 1) {
_root.fileMessage.gotoAndStop(4);
} else {
_root.fileMessage.gotoAndStop(5);
}
} else if (this._currentframe == 1) {
_root.fileGo = "new";
_root.fileMessage.gotoAndStop(2);
} else if (this._currentframe == 2) {
_root.fileGo = "old";
_root.fileMessage.gotoAndStop(3);
}
}
Frame 220
if (_root.fileGo == "new") {
gotoAndStop (222);
} else {
if (_root.workingFile == 1) {
FILE1 = MAINOBJ.data.f1;
} else if (_root.workingFile == 2) {
FILE2 = MAINOBJ.data.f2;
} else if (_root.workingFile == 3) {
FILE3 = MAINOBJ.data.f3;
} else if (_root.workingFile == 4) {
FILE4 = MAINOBJ.data.f4;
} else if (_root.workingFile == 5) {
FILE5 = MAINOBJ.data.f5;
}
gotoAndStop (229);
}
Frame 221
_root.workingfilename = "FILE" + _root.workingFile;
if (_root.workingFile == 1) {
for (a in MAINOBJ.data.f1) {
delete MAINOBJ.data.f1[a];
}
MAINOBJ.flush();
} else if (_root.workingFile == 2) {
for (a in MAINOBJ.data.f2) {
delete MAINOBJ.data.f2[a];
}
MAINOBJ.flush();
} else if (_root.workingFile == 3) {
for (a in MAINOBJ.data.f3) {
delete MAINOBJ.data.f3[a];
}
MAINOBJ.flush();
} else if (_root.workingFile == 4) {
for (a in MAINOBJ.data.f4) {
delete MAINOBJ.data.f4[a];
}
MAINOBJ.flush();
} else if (_root.workingFile == 5) {
for (a in MAINOBJ.data.f5) {
delete MAINOBJ.data.f5[a];
}
MAINOBJ.flush();
}
_root.delMode = false;
gotoAndStop (217);
Frame 222
stop();
auraPick = function () {
_root.aurastring = achoice.getValue();
_root.AURA.gotoAndStop([achoice.getValue()]);
};
genderPick = function () {
_root.gender = genderS.getValue();
};
if (_root.gender == "Female") {
_root.genderS.setSelectedIndex(1);
}
_root.nametb.tabIndex = 0;
_root.agetb.tabIndex = 1;
_root.habtb.tabIndex = 3;
_root.jobtb.tabIndex = 4;
_root.aimtb.tabIndex = 5;
_root.webtb.tabIndex = 6;
_root.weburltb.tabIndex = 7;
_root.film1tb.tabIndex = 8;
_root.film2tb.tabIndex = 9;
_root.film3tb.tabIndex = 10;
_root.band1tb.tabIndex = 11;
_root.band2tb.tabIndex = 12;
_root.band3tb.tabIndex = 13;
Instance of Symbol 519 MovieClip [FComboBoxSymbol] "genderS" in Frame 222
//component parameters
onClipEvent (initialize) {
editable = false;
labels = [];
labels[0] = "Male";
labels[1] = "Female";
data = [];
data[0] = "Male";
data[1] = "Female";
rowCount = 8;
changeHandler = "genderPick";
}
Frame 223
_root.URL.tabIndex = 0;
_root.MSG.tabIndex = 1;
if (_root.aurastring == "Dark") {
_root.achoice.setSelectedIndex(1);
} else if (_root.aurastring == "Light") {
_root.achoice.setSelectedIndex(2);
}
if ((_root.aPicURL != null) && (_root.aPicURL != "")) {
loadMovie ([_root.aPicURL], "PC");
}
Instance of Symbol 738 MovieClip "PC" in Frame 223
onClipEvent (data) {
this.PICLOAD = true;
_height = 150;
_width = 150;
}
Instance of Symbol 748 MovieClip "message" in Frame 223
onClipEvent (enterFrame) {
if (_root.PC.PICLOAD) {
this.gotoAndStop(1);
}
}
Instance of Symbol 519 MovieClip [FComboBoxSymbol] "achoice" in Frame 223
//component parameters
onClipEvent (initialize) {
editable = false;
labels = [];
labels[0] = "neutral";
labels[1] = "dark";
labels[2] = "light";
data = [];
data[0] = "Neutral";
data[1] = "Dark";
data[2] = "Light";
rowCount = 8;
changeHandler = "auraPick";
}
Instance of Symbol 756 MovieClip "AURA" in Frame 223
onClipEvent (load) {
this.gotoAndStop(_root.aurastring);
}
Frame 225
if (_root.workingFile == 1) {
_root.FILE1 = {};
} else if (_root.workingFile == 2) {
_root.FILE2 = {};
} else if (_root.workingFile == 3) {
_root.FILE3 = {};
} else if (_root.workingFile == 4) {
_root.FILE4 = {};
} else if (_root.workingFile == 5) {
_root.FILE5 = {};
}
_root.workingfilename = "FILE" + _root.workingFile;
_root[_root.workingfilename].debugAccess = false;
_root[_root.workingfilename].alias = _root.alias;
_root[_root.workingfilename].age = _root.age;
_root[_root.workingfilename].habitat = _root.habitat;
_root[_root.workingfilename].job = _root.job;
_root[_root.workingfilename].aim = _root.aim;
_root[_root.workingfilename].webname = _root.webname;
_root[_root.workingfilename].weburl = _root.weburl;
_root[_root.workingfilename].film1 = _root.film1;
_root[_root.workingfilename].film2 = _root.film2;
_root[_root.workingfilename].film3 = _root.film3;
_root[_root.workingfilename].band1 = _root.band1;
_root[_root.workingfilename].band2 = _root.band2;
_root[_root.workingfilename].band3 = _root.band3;
_root[_root.workingfilename].gender = _root.gender;
_root[_root.workingfilename].aura = _root.aurastring;
_root[_root.workingfilename].profileMessage = _root.profMessage;
_root[_root.workingfilename].picURL = _root.aPicURL;
_root[_root.workingfilename].coolpoints = _root.coolpoints;
_root[_root.workingfilename].intelligence = _root.intelligence;
_root[_root.workingfilename].flashskill = _root.flashskill;
_root[_root.workingfilename].money = 0;
_root[_root.workingfilename].lvl = 1;
_root[_root.workingfilename].exppoints = 0;
_root[_root.workingfilename].BPlevel = 1;
_root[_root.workingfilename].posts = 0;
_root[_root.workingfilename].blampoints = 0;
_root[_root.workingfilename].protectpoints = 0;
_root[_root.workingfilename].reviews = 0;
_root[_root.workingfilename].whistle = "normal";
_root[_root.workingfilename].BA = "n/a";
_root[_root.workingfilename].BAgrade;
_root[_root.workingfilename].votingpower = 1;
_root[_root.workingfilename].stickersnum = 0;
_root[_root.workingfilename].postsperday = 0;
_root[_root.workingfilename].basevp = 1;
_root[_root.workingfilename].tillnextlevel = 50;
_root[_root.workingfilename].HP = 100;
_root[_root.workingfilename].currentHP = 100;
_root[_root.workingfilename].NGstatus = "Member";
_root[_root.workingfilename].BPrank = "Citizen";
_root[_root.workingfilename].extrapercent = 0;
_root[_root.workingfilename].bookmarked = 0;
_root[_root.workingfilename].day = 1;
_root[_root.workingfilename].booksread = 0;
_root[_root.workingfilename].hoursworked = 0;
_root[_root.workingfilename].moneymade = 0;
_root[_root.workingfilename].hasmovies = false;
_root[_root.workingfilename].hourslurked = 0;
_root[_root.workingfilename].topicsmade = 0;
_root[_root.workingfilename].moviesblammed = 0;
_root[_root.workingfilename].cutscenes = true;
_root[_root.workingfilename].awardswon = 0;
_root[_root.workingfilename].assignedMod = false;
_root[_root.workingfilename].assignedAffil = false;
_root[_root.workingfilename].assignedAdmin = false;
_root[_root.workingfilename].postsinoneday = 0;
_root[_root.workingfilename].banned = false;
_root[_root.workingfilename].banimmune = false;
_root[_root.workingfilename].banreason;
_root[_root.workingfilename].fullban;
_root[_root.workingfilename].bandaysleft;
_root[_root.workingfilename].timesbanned = 0;
_root[_root.workingfilename].hastrashsecret = false;
_root[_root.workingfilename].hasflash = false;
_root[_root.workingfilename].hasflashbook = false;
_root[_root.workingfilename].hasphotoshop = false;
_root[_root.workingfilename].hasswift = false;
_root[_root.workingfilename].hastablet = false;
_root[_root.workingfilename].hasasbook = false;
_root[_root.workingfilename].secspassed = 0;
_root[_root.workingfilename].minspassed = 0;
_root[_root.workingfilename].hourspassed = 0;
_root[_root.workingfilename].timedisplay = "";
_root[_root.workingfilename].MOVIES = new Array();
_root[_root.workingfilename].flashindex = 0;
_root[_root.workingfilename].submitIndex = 0;
_root[_root.workingfilename].totrevs = 0;
_root[_root.workingfilename].totsubs = 0;
_root[_root.workingfilename].totviews = 0;
_root[_root.workingfilename].EMAIL = new Array();
_root[_root.workingfilename].mailindex = 1;
_root[_root.workingfilename].EMAIL[0] = new _root.MailMessage("RE: NG SIM", "Hey, this is just to show you what the email messages look like. Feel free to delete and move on, and have fun playing the game!", "Afro Ninja", true);
_root[_root.workingfilename].AWARDS = new Array();
_root[_root.workingfilename].awardindex = 1;
_root[_root.workingfilename].STICKERS = new Array();
_root[_root.workingfilename].STICKERS[0] = null;
i = 1;
while (i <= 20) {
_root[_root.workingfilename].STICKERS[i] = false;
i++;
}
var lol = new Date();
var temp = new String(lol.getFullYear());
_root[_root.workingfilename].signup = ((((lol.getMonth() + 1) + "/") + lol.getDate()) + "/") + temp.substr(2, 2);
Instance of Symbol 792 MovieClip in Frame 225
onClipEvent (load) {
_visible = _root.debug;
if (_root.alias == "ssdebug001") {
_visible = true;
}
}
Frame 226
if (_root.workingFile == 1) {
MAINOBJ.data.f1 = FILE1;
} else if (_root.workingFile == 2) {
MAINOBJ.data.f2 = FILE2;
} else if (_root.workingFile == 3) {
MAINOBJ.data.f3 = FILE3;
} else if (_root.workingFile == 4) {
MAINOBJ.data.f4 = FILE4;
} else if (_root.workingFile == 5) {
MAINOBJ.data.f5 = FILE5;
}
MAINOBJ.flush();
gotoAndStop (229);
_root.picURL = "";
_root.aPicURL = "";
_root.stamina = 5;
_root.intelligence = 5;
_root.flashskill = 0;
_root.premain = 15;
_root.alias = "";
_root.age = "";
_root.habitat = "";
_root.job = "";
_root.aim = "";
_root.webname = "";
_root.weburl = "";
_root.film1 = "";
_root.film2 = "";
_root.film3 = "";
_root.band1 = "";
_root.band2 = "";
_root.band3 = "";
_root.profMessage = "";
_root.gender = "male";
_root.aurastring = "neutral";
_root.stamina = 5;
_root.intelligence = 5;
_root.flashskill = 0;
oneTimeCodes();
Instance of Symbol 515 MovieClip [FCheckBoxSymbol] "modbox" in Frame 227
//component parameters
onClipEvent (initialize) {
label = "";
initialValue = false;
labelPlacement = "right";
changeHandler = "";
}
Instance of Symbol 515 MovieClip [FCheckBoxSymbol] "affilbox" in Frame 227
//component parameters
onClipEvent (initialize) {
label = "";
initialValue = false;
labelPlacement = "right";
changeHandler = "";
}
Frame 228
_root[_root.workingfilename].coolpoints = new Number(_root.Dcp);
_root[_root.workingfilename].intelligence = new Number(_root.Di);
_root[_root.workingfilename].flashskill = new Number(_root.Dfs);
_root[_root.workingfilename].money = new Number(_root.Dmoney);
_root[_root.workingfilename].posts = new Number(_root.Dposts);
_root[_root.workingfilename].blampoints = new Number(_root.Dblams);
_root[_root.workingfilename].protectpoints = new Number(_root.Dsaves);
_root[_root.workingfilename].reviews = new Number(_root.Dreviews);
_root[_root.workingfilename].day = new Number(_root.Dday);
_root[_root.workingfilename].HP = new Number(_root.Dhp);
_root[_root.workingfilename].currentHP = new Number(_root.Dhp);
_root[_root.workingfilename].bookmarked = new Number(_root.Dbooked);
if (_root.Dlvl > 30) {
_root.Dlvl = 30;
}
if (_root.Dlvl <= 0) {
_root.Dlvl = 1;
}
_root[_root.workingfilename].lvl = new Number(_root.Dlvl);
_root[_root.workingfilename].lvl = _root[_root.workingfilename].lvl + 0;
switch (_root[_root.workingfilename].lvl) {
case 1 :
_root[_root.workingfilename].exppoints = 0;
break;
case 2 :
_root[_root.workingfilename].exppoints = 50;
break;
case 3 :
_root[_root.workingfilename].exppoints = 100;
break;
case 4 :
_root[_root.workingfilename].exppoints = 150;
break;
case 5 :
_root[_root.workingfilename].exppoints = 200;
break;
case 6 :
_root[_root.workingfilename].exppoints = 250;
break;
case 7 :
_root[_root.workingfilename].exppoints = 300;
break;
case 8 :
_root[_root.workingfilename].exppoints = 350;
break;
case 9 :
_root[_root.workingfilename].exppoints = 400;
break;
case 10 :
_root[_root.workingfilename].exppoints = 500;
break;
case 11 :
_root[_root.workingfilename].exppoints = 600;
break;
case 12 :
_root[_root.workingfilename].exppoints = 700;
break;
case 13 :
_root[_root.workingfilename].exppoints = 800;
break;
case 14 :
_root[_root.workingfilename].exppoints = 900;
break;
case 15 :
_root[_root.workingfilename].exppoints = 1000;
break;
case 16 :
_root[_root.workingfilename].exppoints = 1100;
break;
case 17 :
_root[_root.workingfilename].exppoints = 1200;
break;
case 18 :
_root[_root.workingfilename].exppoints = 1300;
break;
case 19 :
_root[_root.workingfilename].exppoints = 1400;
break;
case 20 :
_root[_root.workingfilename].exppoints = 1500;
break;
case 21 :
_root[_root.workingfilename].exppoints = 1600;
break;
case 22 :
_root[_root.workingfilename].exppoints = 1700;
break;
case 23 :
_root[_root.workingfilename].exppoints = 1800;
break;
case 24 :
_root[_root.workingfilename].exppoints = 1900;
break;
case 25 :
_root[_root.workingfilename].exppoints = 2000;
trace("level 25 reached");
break;
case 26 :
_root[_root.workingfilename].exppoints = 2200;
break;
case 27 :
_root[_root.workingfilename].exppoints = 2400;
break;
case 28 :
_root[_root.workingfilename].exppoints = 2600;
break;
case 29 :
_root[_root.workingfilename].exppoints = 2800;
break;
case 30 :
_root[_root.workingfilename].exppoints = 3000;
break;
default :
_root[_root.workingfilename].exppoints = 6969;
}
if (_root.workingFile == 1) {
MAINOBJ.data.f1 = FILE1;
} else if (_root.workingFile == 2) {
MAINOBJ.data.f2 = FILE2;
} else if (_root.workingFile == 3) {
MAINOBJ.data.f3 = FILE3;
} else if (_root.workingFile == 4) {
MAINOBJ.data.f4 = FILE4;
} else if (_root.workingFile == 5) {
MAINOBJ.data.f5 = FILE5;
}
MAINOBJ.flush();
blamProtect();
whistle();
ppd();
votingPower();
gotoAndStop (229);
_root[_root.workingfilename].coolpoints = _root[_root.workingfilename].coolpoints + 0;
_root[_root.workingfilename].intelligence = _root[_root.workingfilename].intelligence + 0;
_root[_root.workingfilename].flashskill = _root[_root.workingfilename].flashskill + 0;
_root[_root.workingfilename].money = _root[_root.workingfilename].money + 0;
_root[_root.workingfilename].exppoints = _root[_root.workingfilename].exppoints + 0;
_root[_root.workingfilename].posts = _root[_root.workingfilename].posts + 0;
_root[_root.workingfilename].blampoints = _root[_root.workingfilename].blampoints + 0;
_root[_root.workingfilename].protectpoints = _root[_root.workingfilename].protectpoints + 0;
_root[_root.workingfilename].reviews = _root[_root.workingfilename].reviews + 0;
_root[_root.workingfilename].HP = _root[_root.workingfilename].HP + 0;
_root[_root.workingfilename].currentHP = _root[_root.workingfilename].currentHP + 0;
_root[_root.workingfilename].bookmarked = _root[_root.workingfilename].bookmarked + 0;
_root[_root.workingfilename].lvl = _root[_root.workingfilename].lvl + 0;
_root[_root.workingfilename].day = _root[_root.workingfilename].day + 0;
_root.picURL = "";
_root.aPicURL = "";
_root.stamina = 5;
_root.intelligence = 5;
_root.flashskill = 0;
_root.premain = 15;
_root.alias = "";
_root.age = "";
_root.habitat = "";
_root.job = "";
_root.aim = "";
_root.webname = "";
_root.weburl = "";
_root.film1 = "";
_root.film2 = "";
_root.film3 = "";
_root.band1 = "";
_root.band2 = "";
_root.band3 = "";
_root.profMessage = "";
_root.gender = "male";
_root.aurastring = "neutral";
_root.stamina = 5;
_root.intelligence = 5;
_root.flashskill = 0;
Frame 229
_root.workingfilename = "FILE" + _root.workingFile;
_root.dayDisplay = "Day " + _root[_root.workingfilename].day;
if ((_root[_root.workingfilename].picURL != null) && (_root[_root.workingfilename].picURL != "")) {
loadMovie (_root[_root.workingfilename].picURL, "display.PC2");
}
eHandBag.setVolume(100);
secretb.useHandCursor = false;
stop();
Instance of Symbol 846 MovieClip in Frame 229
on (release) {
_root[_root.workingfilename].EMAIL.splice(0, 3000);
_root[_root.workingfilename].mailindex = 0;
trace(_root[_root.workingfilename].flashindex);
i = 1;
while (i <= 200) {
i++;
}
}
Instance of Symbol 848 MovieClip "smblip" in Frame 229
onClipEvent (load) {
if (_root[_root.workingfilename].SMchkd) {
_visible = false;
}
}
Instance of Symbol 870 MovieClip "display" in Frame 229
onClipEvent (load) {
_root.workingfilename = "FILE" + _root.workingFile;
mon = "$" + _root[_root.workingfilename].money;
stam = (("HP: " + _root[_root.workingfilename].currentHP) + "/") + _root[_root.workingfilename].HP;
this.money.text = mon;
this.stamina.text = stam;
}
onClipEvent (enterFrame) {
_root.workingfilename = "FILE" + _root.workingFile;
mon = "$" + _root[_root.workingfilename].money;
stam = (("HP: " + _root[_root.workingfilename].currentHP) + "/") + _root[_root.workingfilename].HP;
this.money.text = mon;
this.stamina.text = stam;
this.sbar._xscale = Math.floor((_root[_root.workingfilename].currentHP / _root[_root.workingfilename].HP) * 100) + 2;
}
Instance of Symbol 873 MovieClip "speaker" in Frame 229
onClipEvent (load) {
if (_root.soundoff) {
this.nextFrame();
}
}
on (release) {
if (_currentframe == 1) {
nextFrame();
_root.eHandBag.stop();
_root.soundoff = true;
} else {
prevFrame();
_root.eHandBag.start();
_root.soundoff = false;
}
}
Instance of Symbol 883 MovieClip in Frame 229
onClipEvent (load) {
if (!_root[_root.workingfilename].cutscenes) {
this.gotoAndStop(2);
}
}
on (press) {
if (_currentframe == 1) {
this.nextFrame();
_root[_root.workingfilename].cutscenes = false;
} else {
this.prevFrame();
_root[_root.workingfilename].cutscenes = true;
}
}
Instance of Symbol 913 MovieClip in Frame 229
onClipEvent (enterFrame) {
if (_root.statsok) {
this.gotoAndStop(Key.isDown(83) + 1);
} else {
this.gotoAndStop(1);
}
}
Frame 230
bendsound = new Sound(this);
Instance of Symbol 1003 MovieClip "wpc" in Frame 230
onClipEvent (load) {
this.gotoAndStop(_root[_root.workingfilename].alias);
}
Instance of Symbol 1007 MovieClip in Frame 230
onClipEvent (load) {
if (_root[_root.workingfilename].day >= 50) {
_visible = true;
} else {
_visible = false;
}
}
on (release) {
_root.picviewer.gotoAndStop(2);
_root.tools.gotoAndStop(7);
}
Instance of Symbol 1010 MovieClip in Frame 230
onClipEvent (load) {
_visible = _root[_root.workingfilename].assignedAdmin;
}
on (release) {
_root.picviewer.gotoAndStop(3);
_root.tools.gotoAndStop(7);
}
Instance of Symbol 1014 MovieClip in Frame 230
onClipEvent (load) {
_visible = _root[_root.workingfilename].assignedAdmin;
}
on (press) {
_root.eHandBag.setVolume(15);
_root.wmp.play();
_root.tools.gotoAndStop(6);
}
Instance of Symbol 1018 MovieClip in Frame 230
on (release) {
_root.outlook.gotoAndPlay(2);
_root.tools.gotoAndStop(5);
}
Instance of Symbol 1022 MovieClip "flashicos" in Frame 230
onClipEvent (load) {
_visible = _root[_root.workingfilename].hasflash;
}
on (release) {
_root.flash.gotoAndPlay(2);
_root.tools.gotoAndStop(4);
}
Instance of Symbol 1388 MovieClip in Frame 230
onClipEvent (enterFrame) {
time = new Date();
tempHours = time.getHours();
if (tempHours >= 12) {
tempHours = tempHours - 12;
ampm = "PM";
} else {
ampm = "AM";
}
if (tempHours == 0) {
tempHours = 12;
}
tempMinutes = time.getMinutes();
if (tempMinutes < 10) {
tempMinutes = "0" + new String(tempMinutes);
}
_root.displaytime = (((tempHours + ":") + tempMinutes) + " ") + ampm;
}
Frame 231
eHandBag.setVolume(_root.voldown);
if (!_root[_root.workingfilename].cutscenes) {
nextFrame();
}
Instance of Symbol 1429 MovieClip in Frame 231
onClipEvent (load) {
if (!_root[_root.workingfilename].cutscenes) {
this.stop();
}
}
Frame 232
var moneyEarn = (new Number(_root[_root.workingfilename].intelligence) * 2);
MON.text = "$" + moneyEarn;
_root[_root.workingfilename].hoursworked = _root[_root.workingfilename].hoursworked + 5;
_root[_root.workingfilename].moneymade = _root[_root.workingfilename].moneymade + moneyEarn;
_root[_root.workingfilename].money = _root[_root.workingfilename].money + moneyEarn;
Frame 233
if (_root.workingFile == 1) {
MAINOBJ.data.f1 = FILE1;
} else if (_root.workingFile == 2) {
MAINOBJ.data.f2 = FILE2;
} else if (_root.workingFile == 3) {
MAINOBJ.data.f3 = FILE3;
} else if (_root.workingFile == 4) {
MAINOBJ.data.f4 = FILE4;
} else if (_root.workingFile == 5) {
MAINOBJ.data.f5 = FILE5;
}
MAINOBJ.flush();
eHandBag.setVolume(_root.voldown);
if (!_root[_root.workingfilename].cutscenes) {
nextFrame();
}
Instance of Symbol 1444 MovieClip in Frame 233
onClipEvent (load) {
if (!_root[_root.workingfilename].cutscenes) {
this.stop();
}
}
Frame 234
_root[_root.workingfilename].day++;
_root[_root.workingfilename].postsinoneday = 0;
daydisp.text = "You are now on Day " + _root[_root.workingfilename].day;
_root[_root.workingfilename].exppoints = _root[_root.workingfilename].exppoints + 10;
_root[_root.workingfilename].topicsmade = Math.floor(_root[_root.workingfilename].posts / 25);
levelUp();
_root[_root.workingfilename].currentHP = _root[_root.workingfilename].HP;
if (_root[_root.workingfilename].banned) {
_root[_root.workingfilename].bandaysleft = _root[_root.workingfilename].bandaysleft - 1;
if (_root[_root.workingfilename].bandaysleft == 0) {
_root[_root.workingfilename].banned = false;
}
}
s = 0;
while (s <= _root[_root.workingfilename].MOVIES.length) {
var tempObj = _root[_root.workingfilename].MOVIES[s];
if (tempObj.inProgress) {
_root[_root.workingfilename].MOVIES[s].daysleft = _root[_root.workingfilename].MOVIES[s].daysleft - 1;
_root[_root.workingfilename].currentHP = _root[_root.workingfilename].currentHP - _root[_root.workingfilename].MOVIES[s].drain;
}
tempObj = _root[_root.workingfilename].MOVIES[s];
if (tempObj.daysleft == 0) {
specialtext.text = specialtext.text + (("\"" + tempObj.title) + "\" has been completed. ");
_root[_root.workingfilename].MOVIES[s].inProgress = false;
_root[_root.workingfilename].MOVIES[s].canbesubmitted = true;
_root[_root.workingfilename].totsubs++;
_root[_root.workingfilename].MOVIES[s].daysleft = _root[_root.workingfilename].MOVIES[s].daysleft - 1;
_root[_root.workingfilename].flashskill = _root[_root.workingfilename].flashskill + _root[_root.workingfilename].MOVIES[s].expinc;
}
if (tempObj.inPortal) {
if (!_root[_root.workingfilename].SAFEMODE) {
_root.dailyUpdate(s);
} else {
_root.dailyUpdate22(s);
}
_root[_root.workingfilename].MOVIES[s].underJudgement = false;
}
if (s > 70) {
break;
}
s++;
}
battingAverage();
updateMovieStats();
runDailies();
votingPower();
var d = _root[_root.workingfilename].day;
if ((d >= 7) && ((d % 7) == 0)) {
runWeeklys();
}
if (!_root[_root.workingfilename].SAFEMODE) {
ppd();
}
statusChecks();
stickerCheck();
specialEmail();
Frame 235
eHandBag.setVolume(_root.voldown);
if (!_root[_root.workingfilename].cutscenes) {
nextFrame();
}
Instance of Symbol 1458 MovieClip in Frame 235
onClipEvent (load) {
if (!_root[_root.workingfilename].cutscenes) {
this.gotoAndStop(24);
}
}
Frame 236
_root[_root.workingfilename].booksread = _root[_root.workingfilename].booksread + 3;
_root[_root.workingfilename].intelligence = _root[_root.workingfilename].intelligence + 2;
readdisp.text = "Your Intelligence has been raised to " + _root[_root.workingfilename].intelligence;
Frame 237
eHandBag.setVolume(_root.voldown);
if (!_root[_root.workingfilename].cutscenes) {
nextFrame();
}
Instance of Symbol 1467 MovieClip in Frame 237
onClipEvent (load) {
if (!_root[_root.workingfilename].cutscenes) {
this.stop();
}
}
Frame 238
_root[_root.workingfilename].coolpoints = _root[_root.workingfilename].coolpoints + 2;
_root[_root.workingfilename].hourslurked = _root[_root.workingfilename].hourslurked + 1;
lurk.text = ("You now have " + _root[_root.workingfilename].coolpoints) + " cool points";
Frame 239
eHandBag.setVolume(_root.voldown);
if (!_root[_root.workingfilename].cutscenes) {
nextFrame();
}
Instance of Symbol 1477 MovieClip in Frame 239
onClipEvent (load) {
if (!_root[_root.workingfilename].cutscenes) {
this.stop();
}
}
Frame 240
_root[_root.workingfilename].posts = _root[_root.workingfilename].posts + Math.floor(_root[_root.workingfilename].coolpoints / 1.5);
_root[_root.workingfilename].postsinoneday++;
post.text = "Your post count has been raised to " + _root[_root.workingfilename].posts;
if (_root[_root.workingfilename].assignedMod) {
_root[_root.workingfilename].coolpoints = _root[_root.workingfilename].coolpoints + 10;
post.text = post.text + "\n(+10 cool points)";
}
var tempppd = int((_root[_root.workingfilename].posts / (_root[_root.workingfilename].day - 1)) * 100);
_root[_root.workingfilename].postsperday = tempppd / 100;
Frame 241
eHandBag.setVolume(_root.voldown);
if (!_root[_root.workingfilename].cutscenes) {
nextFrame();
}
Instance of Symbol 1486 MovieClip in Frame 241
onClipEvent (load) {
if (!_root[_root.workingfilename].cutscenes) {
this.stop();
}
}
Frame 242
_root[_root.workingfilename].reviews = _root[_root.workingfilename].reviews + Math.floor((_root[_root.workingfilename].coolpoints + _root[_root.workingfilename].intelligence) / 5);
reviews.text = ("You have now written " + _root[_root.workingfilename].reviews) + " reviews";
Frame 243
eHandBag.setVolume(_root.voldown);
var daylit;
if (_root[_root.workingfilename].bandaysleft == 1) {
daylit = "day";
} else {
daylit = "days";
}
banmain.text = ((((("You have been temporarily banned from posting to the BBS for " + _root[_root.workingfilename].fullban) + " days. You have ") + _root[_root.workingfilename].bandaysleft) + " ") + daylit) + " left until your ban is lifted. Do not attempt to create a secondary account to get around this ban. If we find evidence of you doing so all your accounts will be terminated.";
banreason.html = true;
banreason.htmlText = "<b>Reason for ban:</b> " + _root[_root.workingfilename].banreason;
Frame 244
eHandBag.setVolume(_root.voldown);
if (!_root[_root.workingfilename].cutscenes) {
nextFrame();
}
Instance of Symbol 1517 MovieClip in Frame 244
onClipEvent (load) {
if (!_root[_root.workingfilename].cutscenes) {
this.gotoAndStop(54);
}
}
Frame 245
_root[_root.workingfilename].blampoints = _root[_root.workingfilename].blampoints + (_root[_root.workingfilename].intelligence * (random(3) + 1));
_root[_root.workingfilename].protectpoints = _root[_root.workingfilename].protectpoints + (_root[_root.workingfilename].intelligence * (random(3) + 1));
blamtext.text = ((("Blams raised to: " + _root[_root.workingfilename].blampoints) + newline) + "Saves raised to: ") + _root[_root.workingfilename].protectpoints;
Frame 246
eHandBag.setVolume(_root.voldown);
if (!_root[_root.workingfilename].cutscenes) {
nextFrame();
}
Instance of Symbol 1523 MovieClip in Frame 246
onClipEvent (load) {
if (!_root[_root.workingfilename].cutscenes) {
this.stop();
}
}
Frame 247
_root[_root.workingfilename].flashskill = _root[_root.workingfilename].flashskill + 1;
skilz.text = "Flash Skill raised to " + _root[_root.workingfilename].flashskill;
Frame 248
stop();
Instance of Symbol 1527 MovieClip in Frame 248
onClipEvent (load) {
_x = (Stage.width / 2);
_y = (Stage.height + (_height / 2));
}
onClipEvent (enterFrame) {
_y = (_y - 2.25);
this.bottom = this._y + (this._height / 2);
if (this.bottom < 0) {
_root.nextFrame();
}
}
Frame 249
play();
_root[_root.workingfilename].STICKERS[20] = true;
Frame 260
stop();
Frame 1418
stop();
Symbol 17 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 20 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(background_mc, "background");
Symbol 23 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(background_mc, "backgroundDisabled");
Symbol 25 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(background_mc, "backgroundDisabled");
Symbol 28 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(check_mc, "foregroundDisabled");
Symbol 31 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(check_mc, "check");
Symbol 32 MovieClip [fcb_states] Frame 1
stop();
Symbol 32 MovieClip [fcb_states] Frame 2
stop();
Symbol 32 MovieClip [fcb_states] Frame 3
stop();
Symbol 32 MovieClip [fcb_states] Frame 4
stop();
Symbol 32 MovieClip [fcb_states] Frame 5
stop();
Symbol 32 MovieClip [fcb_states] Frame 6
stop();
Symbol 41 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(frame5, "face");
component.registerSkinElement(frame3, "shadow");
component.registerSkinElement(frame1, "darkshadow");
component.registerSkinElement(frame4, "highlight");
component.registerSkinElement(frame2, "highlight3D");
Symbol 47 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(frame5, "face");
component.registerSkinElement(frame3, "shadow");
component.registerSkinElement(frame1, "darkshadow");
component.registerSkinElement(frame4, "highlight");
component.registerSkinElement(frame2, "highlight3D");
Symbol 53 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(frame5, "face");
component.registerSkinElement(frame4, "shadow");
component.registerSkinElement(frame2, "darkshadow");
component.registerSkinElement(frame3, "highlight");
component.registerSkinElement(frame1, "highlight3D");
Symbol 59 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(frame5, "face");
component.registerSkinElement(frame3, "shadow");
component.registerSkinElement(frame1, "darkshadow");
component.registerSkinElement(frame4, "highlight");
component.registerSkinElement(frame2, "highlight3D");
Symbol 60 MovieClip [fpb_states] Frame 1
stop();
Symbol 60 MovieClip [fpb_states] Frame 2
stop();
Symbol 60 MovieClip [fpb_states] Frame 3
stop();
Symbol 60 MovieClip [fpb_states] Frame 4
stop();
Symbol 63 MovieClip [FBoundingBoxSymbol] Frame 1
var component = _parent;
component.registerSkinElement(boundingBox, "background");
stop();
Symbol 63 MovieClip [FBoundingBoxSymbol] Frame 2
component.registerSkinElement(boundingBox2, "backgroundDisabled");
stop();
Symbol 66 MovieClip [FPushButtonSymbol] Frame 1
#initclip 7
function FPushButtonClass() {
this.init();
}
FPushButtonClass.prototype = new FUIComponentClass();
Object.registerClass("FPushButtonSymbol", FPushButtonClass);
FPushButtonClass.prototype.init = function () {
super.setSize(this._width, this._height);
this.boundingBox_mc.unloadMovie();
this.attachMovie("fpb_states", "fpbState_mc", 1);
this.attachMovie("FLabelSymbol", "fLabel_mc", 2);
this.attachMovie("fpb_hitArea", "fpb_hitArea_mc", 3);
super.init();
this.btnState = false;
this.setClickHandler(this.clickHandler);
this._xscale = 100;
this._yscale = 100;
this.setSize(this.width, this.height);
if (this.label != undefined) {
this.setLabel(this.label);
}
this.ROLE_SYSTEM_PUSHBUTTON = 43;
this.STATE_SYSTEM_PRESSED = 8;
this.EVENT_OBJECT_STATECHANGE = 32778;
this.EVENT_OBJECT_NAMECHANGE = 32780;
this._accImpl.master = this;
this._accImpl.stub = false;
this._accImpl.get_accRole = this.get_accRole;
this._accImpl.get_accName = this.get_accName;
this._accImpl.get_accState = this.get_accState;
this._accImpl.get_accDefaultAction = this.get_accDefaultAction;
this._accImpl.accDoDefaultAction = this.accDoDefaultAction;
};
FPushButtonClass.prototype.setHitArea = function (w, h) {
var hit = this.fpb_hitArea_mc;
this.hitArea = hit;
hit._visible = false;
hit._width = w;
hit._height = ((arguments.length > 1) ? (h) : (hit._height));
};
FPushButtonClass.prototype.setSize = function (w, h) {
w = ((w < 6) ? 6 : (w));
if (arguments.length > 1) {
if (h < 6) {
h = 6;
}
}
super.setSize(w, h);
this.setLabel(this.getLabel());
this.arrangeLabel();
this.setHitArea(w, h);
this.boundingBox_mc._width = w;
this.boundingBox_mc._height = h;
this.drawFrame();
if (this.focused) {
super.myOnSetFocus();
}
this.initContentPos("fLabel_mc");
};
FPushButtonClass.prototype.arrangeLabel = function () {
var label = this.fLabel_mc;
var h = this.height;
var w = (this.width - 2);
var b = 1;
this.fLabel_mc.setSize(w - (b * 4));
label._x = b * 3;
label._y = (h / 2) - (label._height / 2);
};
FPushButtonClass.prototype.getLabel = function () {
return(this.fLabel_mc.labelField.text);
};
FPushButtonClass.prototype.setLabel = function (label) {
this.fLabel_mc.setLabel(label);
this.txtFormat();
this.arrangeLabel();
if (Accessibility.isActive()) {
Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_NAMECHANGE);
}
};
FPushButtonClass.prototype.getEnabled = function () {
return(this.enabled);
};
FPushButtonClass.prototype.setEnabled = function (enable) {
if (enable || (enable == undefined)) {
this.gotoFrame(1);
this.drawFrame();
this.flabel_mc.setEnabled(true);
this.enabled = true;
super.setEnabled(true);
} else {
this.gotoFrame(4);
this.drawFrame();
this.flabel_mc.setEnabled(false);
this.enabled = false;
super.setEnabled(false);
}
};
FPushButtonClass.prototype.txtFormat = function () {
var txtS = this.textStyle;
var sTbl = this.styleTable;
txtS.align = ((sTbl.textAlign.value == undefined) ? ((txtS.align = "center")) : undefined);
txtS.leftMargin = ((sTbl.textLeftMargin.value == undefined) ? ((txtS.leftMargin = 1)) : undefined);
txtS.rightMargin = ((sTbl.textRightMargin.value == undefined) ? ((txtS.rightMargin = 1)) : undefined);
if (this.fLabel_mc._height > this.height) {
super.setSize(this.width, this.fLabel_mc._height);
} else {
super.setSize(this.width, this.height);
}
this.fLabel_mc.labelField.setTextFormat(this.textStyle);
this.setEnabled(this.enable);
};
FPushButtonClass.prototype.drawFrame = function () {
var b = 1;
var x1 = 0;
var y1 = 0;
var x2 = this.width;
var y2 = this.height;
var mc_array = ["up_mc", "over_mc", "down_mc", "disabled_mc"];
var frame = mc_array[this.fpbState_mc._currentframe - 1];
var mc = "frame";
var i = 0;
while (i < 6) {
x1 = x1 + ((i % 2) * b);
y1 = y1 + ((i % 2) * b);
x2 = x2 - (((i + 1) % 2) * b);
y2 = y2 - (((i + 1) % 2) * b);
var w = (Math.abs(x1 - x2) + (2 * b));
var h = (Math.abs(y1 - y2) + (2 * b));
this.fpbState_mc[frame][mc + i]._width = w;
this.fpbState_mc[frame][mc + i]._height = h;
this.fpbState_mc[frame][mc + i]._x = x1 - b;
this.fpbState_mc[frame][mc + i]._y = y1 - b;
i++;
}
};
FPushButtonClass.prototype.setClickHandler = function (chng, obj) {
this.handlerObj = ((arguments.length < 2) ? (this._parent) : (obj));
this.clickHandler = chng;
};
FPushButtonClass.prototype.executeCallBack = function () {
this.handlerObj[this.clickHandler](this);
};
FPushButtonClass.prototype.initContentPos = function (mc) {
this.incrVal = 1;
this.initx = this[mc]._x - (this.getBtnState() * this.incrVal);
this.inity = this[mc]._y - (this.getBtnState() * this.incrVal);
this.togx = this.initx + this.incrVal;
this.togy = this.inity + this.incrVal;
};
FPushButtonClass.prototype.setBtnState = function (state) {
this.btnState = state;
if (state) {
this.fLabel_mc._x = this.togx;
this.fLabel_mc._y = this.togy;
} else {
this.fLabel_mc._x = this.initx;
this.fLabel_mc._y = this.inity;
}
};
FPushButtonClass.prototype.getBtnState = function () {
return(this.btnState);
};
FPushButtonClass.prototype.myOnSetFocus = function () {
this.focused = true;
super.myOnSetFocus();
};
FPushButtonClass.prototype.onPress = function () {
this.pressFocus();
this.fpbState_mc.gotoAndStop(3);
this.drawFrame();
this.setBtnState(true);
if (Accessibility.isActive()) {
Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_STATECHANGE, true);
}
};
FPushButtonClass.prototype.onRelease = function () {
this.fpbState_mc.gotoAndStop(2);
this.drawFrame();
this.executeCallBack();
this.setBtnState(false);
if (Accessibility.isActive()) {
Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_STATECHANGE, true);
}
};
FPushButtonClass.prototype.onRollOver = function () {
this.fpbState_mc.gotoAndStop(2);
this.drawFrame();
};
FPushButtonClass.prototype.onRollOut = function () {
this.fpbState_mc.gotoAndStop(1);
this.drawFrame();
};
FPushButtonClass.prototype.onReleaseOutside = function () {
this.setBtnState(false);
this.fpbState_mc.gotoAndStop(1);
this.drawFrame();
};
FPushButtonClass.prototype.onDragOut = function () {
this.setBtnState(false);
this.fpbState_mc.gotoAndStop(1);
this.drawFrame();
};
FPushButtonClass.prototype.onDragOver = function () {
this.setBtnState(true);
this.fpbState_mc.gotoAndStop(3);
this.drawFrame();
};
FPushButtonClass.prototype.myOnKeyDown = function () {
if ((Key.getCode() == 32) && (this.pressOnce == undefined)) {
this.onPress();
this.pressOnce = 1;
}
};
FPushButtonClass.prototype.myOnKeyUp = function () {
if (Key.getCode() == 32) {
this.onRelease();
this.pressOnce = undefined;
}
};
FPushButtonClass.prototype.get_accRole = function (childId) {
return(this.master.ROLE_SYSTEM_PUSHBUTTON);
};
FPushButtonClass.prototype.get_accName = function (childId) {
return(this.master.getLabel());
};
FPushButtonClass.prototype.get_accState = function (childId) {
if (this.pressOnce) {
return(this.master.STATE_SYSTEM_PRESSED);
}
return(this.master.STATE_SYSTEM_DEFAULT);
};
FPushButtonClass.prototype.get_accDefaultAction = function (childId) {
return("Press");
};
FPushButtonClass.prototype.accDoDefaultAction = function (childId) {
this.master.onPress();
this.master.onRelease();
};
#endinitclip
boundingBox_mc._visible = false;
deadPreview._visible = false;
Symbol 67 MovieClip [FListItemSymbol] Frame 1
#initclip 11
function FListItemClass() {
this.init();
}
FListItemClass.prototype = new FSelectableItemClass();
Object.registerClass("FListItemSymbol", FListItemClass);
#endinitclip
Symbol 69 MovieClip Frame 1
var component = _parent;
component.registerSkinElement(track_mc, "scrollTrack");
Symbol 70 MovieClip [FScrollBarSymbol] Frame 1
#initclip 4
FScrollBarClass = function () {
if (this._height == 4) {
return(undefined);
}
this.init();
this.minPos = (this.maxPos = (this.pageSize = (this.largeScroll = 0)));
this.smallScroll = 1;
this.width = (this.horizontal ? (this._width) : (this._height));
this._xscale = (this._yscale = 100);
this.setScrollPosition(0);
this.tabEnabled = false;
if (this._targetInstanceName.length > 0) {
this.setScrollTarget(this._parent[this._targetInstanceName]);
}
this.tabChildren = false;
this.setSize(this.width);
};
FScrollBarClass.prototype = new FUIComponentClass();
FScrollBarClass.prototype.setHorizontal = function (flag) {
if (this.horizontal && (!flag)) {
this._xscale = 100;
this._rotation = 0;
} else if (flag && (!this.horizontal)) {
this._xscale = -100;
this._rotation = -90;
}
this.horizontal = flag;
};
FScrollBarClass.prototype.setScrollProperties = function (pSize, mnPos, mxPos) {
if (!this.enable) {
return(undefined);
}
this.pageSize = pSize;
this.minPos = Math.max(mnPos, 0);
this.maxPos = Math.max(mxPos, 0);
this.scrollPosition = Math.max(this.minPos, this.scrollPosition);
this.scrollPosition = Math.min(this.maxPos, this.scrollPosition);
if ((this.maxPos - this.minPos) <= 0) {
this.scrollThumb_mc.removeMovieClip();
this.upArrow_mc.gotoAndStop(3);
this.downArrow_mc.gotoAndStop(3);
this.downArrow_mc.onPress = (this.downArrow_mc.onRelease = (this.downArrow_mc.onDragOut = null));
this.upArrow_mc.onPress = (this.upArrow_mc.onRelease = (this.upArrow_mc.onDragOut = null));
this.scrollTrack_mc.onPress = (this.scrollTrack_mc.onRelease = null);
this.scrollTrack_mc.onDragOut = (this.scrollTrack_mc.onRollOut = null);
this.scrollTrack_mc.useHandCursor = false;
} else {
var tmp = this.getScrollPosition();
this.upArrow_mc.gotoAndStop(1);
this.downArrow_mc.gotoAndStop(1);
this.upArrow_mc.onPress = (this.upArrow_mc.onDragOver = this.startUpScroller);
this.upArrow_mc.onRelease = (this.upArrow_mc.onDragOut = this.stopScrolling);
this.downArrow_mc.onPress = (this.downArrow_mc.onDragOver = this.startDownScroller);
this.downArrow_mc.onRelease = (this.downArrow_mc.onDragOut = this.stopScrolling);
this.scrollTrack_mc.onPress = (this.scrollTrack_mc.onDragOver = this.startTrackScroller);
this.scrollTrack_mc.onRelease = this.stopScrolling;
this.scrollTrack_mc.onDragOut = this.stopScrolling;
this.scrollTrack_mc.onRollOut = this.stopScrolling;
this.scrollTrack_mc.useHandCursor = false;
this.attachMovie("ScrollThumb", "scrollThumb_mc", 3);
this.scrollThumb_mc._x = 0;
this.scrollThumb_mc._y = this.upArrow_mc._height;
this.scrollThumb_mc.onPress = this.startDragThumb;
this.scrollThumb_mc.controller = this;
this.scrollThumb_mc.onRelease = (this.scrollThumb_mc.onReleaseOutside = this.stopDragThumb);
this.scrollThumb_mc.useHandCursor = false;
this.thumbHeight = (this.pageSize / ((this.maxPos - this.minPos) + this.pageSize)) * this.trackSize;
this.thumbMid_mc = this.scrollThumb_mc.mc_sliderMid;
this.thumbTop_mc = this.scrollThumb_mc.mc_sliderTop;
this.thumbBot_mc = this.scrollThumb_mc.mc_sliderBot;
this.thumbHeight = Math.max(this.thumbHeight, 6);
this.midHeight = (this.thumbHeight - this.thumbTop_mc._height) - this.thumbBot_mc._height;
this.thumbMid_mc._yScale = (this.midHeight * 100) / this.thumbMid_mc._height;
this.thumbMid_mc._y = this.thumbTop_mc._height;
this.thumbBot_mc._y = this.thumbTop_mc._height + this.midHeight;
this.scrollTop = this.scrollThumb_mc._y;
this.trackHeight = this.trackSize - this.thumbHeight;
this.scrollBot = this.trackHeight + this.scrollTop;
tmp = Math.min(tmp, this.maxPos);
this.setScrollPosition(Math.max(tmp, this.minPos));
}
};
FScrollBarClass.prototype.getScrollPosition = function () {
return(this.scrollPosition);
};
FScrollBarClass.prototype.setScrollPosition = function (pos) {
this.scrollPosition = pos;
if (this.scrollThumb_mc != undefined) {
pos = Math.min(pos, this.maxPos);
pos = Math.max(pos, this.minPos);
}
this.scrollThumb_mc._y = (((pos - this.minPos) * this.trackHeight) / (this.maxPos - this.minPos)) + this.scrollTop;
this.executeCallBack();
};
FScrollBarClass.prototype.setLargeScroll = function (lScroll) {
this.largeScroll = lScroll;
};
FScrollBarClass.prototype.setSmallScroll = function (sScroll) {
this.smallScroll = sScroll;
};
FScrollBarClass.prototype.setEnabled = function (enabledFlag) {
var wasEnabled = this.enable;
if (enabledFlag && (!wasEnabled)) {
this.enable = enabledFlag;
if (this.textField != undefined) {
this.setScrollTarget(this.textField);
} else {
this.setScrollProperties(this.pageSize, this.cachedMinPos, this.cachedMaxPos);
this.setScrollPosition(this.cachedPos);
}
this.clickFilter = undefined;
} else if ((!enabledFlag) && (wasEnabled)) {
this.textField.removeListener(this);
this.cachedPos = this.getScrollPosition();
this.cachedMinPos = this.minPos;
this.cachedMaxPos = this.maxPos;
if (this.clickFilter == undefined) {
this.setScrollProperties(this.pageSize, 0, 0);
} else {
this.clickFilter = true;
}
this.enable = enabledFlag;
}
};
FScrollBarClass.prototype.setSize = function (hgt) {
if (this._height == 1) {
return(undefined);
}
this.width = hgt;
this.scrollTrack_mc._yscale = 100;
this.scrollTrack_mc._yscale = (100 * this.width) / this.scrollTrack_mc._height;
if (this.upArrow_mc == undefined) {
this.attachMovie("UpArrow", "upArrow_mc", 1);
this.attachMovie("DownArrow", "downArrow_mc", 2);
this.downArrow_mc.controller = (this.upArrow_mc.controller = this);
this.upArrow_mc.useHandCursor = (this.downArrow_mc.useHandCursor = false);
this.upArrow_mc._x = (this.upArrow_mc._y = 0);
this.downArrow_mc._x = 0;
}
this.scrollTrack_mc.controller = this;
this.downArrow_mc._y = this.width - this.downArrow_mc._height;
this.trackSize = this.width - (2 * this.downArrow_mc._height);
if (this.textField != undefined) {
this.onTextChanged();
} else {
this.setScrollProperties(this.pageSize, this.minPos, this.maxPos);
}
};
FScrollBarClass.prototype.scrollIt = function (inc, mode) {
var delt = this.smallScroll;
if (inc != "one") {
delt = ((this.largeScroll == 0) ? (this.pageSize) : (this.largeScroll));
}
var newPos = (this.getScrollPosition() + (mode * delt));
if (newPos > this.maxPos) {
newPos = this.maxPos;
} else if (newPos < this.minPos) {
newPos = this.minPos;
}
this.setScrollPosition(newPos);
};
FScrollBarClass.prototype.startDragThumb = function () {
this.lastY = this._ymouse;
this.onMouseMove = this.controller.dragThumb;
};
FScrollBarClass.prototype.dragThumb = function () {
this.scrollMove = this._ymouse - this.lastY;
this.scrollMove = this.scrollMove + this._y;
if (this.scrollMove < this.controller.scrollTop) {
this.scrollMove = this.controller.scrollTop;
} else if (this.scrollMove > this.controller.scrollBot) {
this.scrollMove = this.controller.scrollBot;
}
this._y = this.scrollMove;
var c = this.controller;
c.scrollPosition = Math.round(((c.maxPos - c.minPos) * (this._y - c.scrollTop)) / c.trackHeight) + c.minPos;
this.controller.isScrolling = true;
updateAfterEvent();
this.controller.executeCallBack();
};
FScrollBarClass.prototype.stopDragThumb = function () {
this.controller.isScrolling = false;
this.onMouseMove = null;
};
FScrollBarClass.prototype.startTrackScroller = function () {
this.controller.trackScroller();
this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "page", -1);
};
FScrollBarClass.prototype.scrollInterval = function (inc, mode) {
clearInterval(this.scrolling);
if (inc == "page") {
this.trackScroller();
} else {
this.scrollIt(inc, mode);
}
this.scrolling = setInterval(this, "scrollInterval", 35, inc, mode);
};
FScrollBarClass.prototype.trackScroller = function () {
if ((this.scrollThumb_mc._y + this.thumbHeight) < this._ymouse) {
this.scrollIt("page", 1);
} else if (this.scrollThumb_mc._y > this._ymouse) {
this.scrollIt("page", -1);
}
};
FScrollBarClass.prototype.stopScrolling = function () {
this.controller.downArrow_mc.gotoAndStop(1);
this.controller.upArrow_mc.gotoAndStop(1);
clearInterval(this.controller.scrolling);
};
FScrollBarClass.prototype.startUpScroller = function () {
this.controller.upArrow_mc.gotoAndStop(2);
this.controller.scrollIt("one", -1);
this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "one", -1);
};
FScrollBarClass.prototype.startDownScroller = function () {
this.controller.downArrow_mc.gotoAndStop(2);
this.controller.scrollIt("one", 1);
this.controller.scrolling = setInterval(this.controller, "scrollInterval", 500, "one", 1);
};
FScrollBarClass.prototype.setScrollTarget = function (tF) {
if (tF == undefined) {
this.textField.removeListener(this);
delete this.textField[(this.horizontal ? "hScroller" : "vScroller")];
if ((this.textField.hScroller != undefined) && (this.textField.vScroller != undefined)) {
this.textField.unwatch("text");
this.textField.unwatch("htmltext");
}
}
this.textField = undefined;
if (!(tF instanceof TextField)) {
return(undefined);
}
this.textField = tF;
this.textField[(this.horizontal ? "hScroller" : "vScroller")] = this;
this.onTextChanged();
this.onChanged = function () {
this.onTextChanged();
};
this.onScroller = function () {
if (!this.isScrolling) {
if (!this.horizontal) {
this.setScrollPosition(this.textField.scroll);
} else {
this.setScrollPosition(this.textField.hscroll);
}
}
};
this.textField.addListener(this);
this.textField.watch("text", this.callback);
this.textField.watch("htmlText", this.callback);
};
FScrollBarClass.prototype.callback = function (prop, oldVal, newVal) {
clearInterval(this.hScroller.synchScroll);
clearInterval(this.vScroller.synchScroll);
this.hScroller.synchScroll = setInterval(this.hScroller, "onTextChanged", 50);
this.vScroller.synchScroll = setInterval(this.vScroller, "onTextChanged", 50);
return(newVal);
};
FScrollBarClass.prototype.onTextChanged = function () {
if ((!this.enable) || (this.textField == undefined)) {
return(undefined);
}
clearInterval(this.synchScroll);
if (this.horizontal) {
var pos = this.textField.hscroll;
this.setScrollProperties(this.textField._width, 0, this.textField.maxhscroll);
this.setScrollPosition(Math.min(pos, this.textField.maxhscroll));
} else {
var pos = this.textField.scroll;
var pageSize = (this.textField.bottomScroll - this.textField.scroll);
this.setScrollProperties(pageSize, 1, this.textField.maxscroll);
this.setScrollPosition(Math.min(pos, this.textField.maxscroll));
}
};
FScrollBarClass.prototype.executeCallBack = function () {
if (this.textField == undefined) {
super.executeCallBack();
} else if (this.horizontal) {
this.textField.hscroll = this.getScrollPosition();
} else {
this.textField.scroll = this.getScrollPosition();
}
};
Object.registerClass("FScrollBarSymbol", FScrollBarClass);
#endinitclip
Symbol 71 MovieClip [DataProviderSymbol] Frame 1
#initclip 2
_global.DataProviderClass = function () {
this.init();
};
DataProviderClass.prototype.init = function () {
this.items = new Array();
this.uniqueID = 0;
this.views = new Array();
};
DataProviderClass.prototype.addView = function (viewRef) {
this.views.push(viewRef);
var eventObj = {event:"updateAll"};
viewRef.modelChanged(eventObj);
};
DataProviderClass.prototype.addItemAt = function (index, value) {
if (index < this.getLength()) {
this.items.splice(index, 0, "tmp");
}
this.items[index] = new Object();
if (typeof(value) == "object") {
this.items[index] = value;
} else {
this.items[index].label = value;
}
this.items[index].__ID__ = this.uniqueID++;
var eventObj = {event:"addRows", firstRow:index, lastRow:index};
this.updateViews(eventObj);
};
DataProviderClass.prototype.addItem = function (value) {
this.addItemAt(this.getLength(), value);
};
DataProviderClass.prototype.removeItemAt = function (index) {
var tmpItm = this.items[index];
this.items.splice(index, 1);
var eventObj = {event:"deleteRows", firstRow:index, lastRow:index};
this.updateViews(eventObj);
return(tmpItm);
};
DataProviderClass.prototype.removeAll = function () {
this.items = new Array();
this.updateViews({event:"deleteRows", firstRow:0, lastRow:this.getLength() - 1});
};
DataProviderClass.prototype.replaceItemAt = function (index, itemObj) {
if ((index < 0) || (index >= this.getLength())) {
return(undefined);
}
var tmpID = this.getItemID(index);
if (typeof(itemObj) == "object") {
this.items[index] = itemObj;
} else {
this.items[index].label = itemObj;
}
this.items[index].__ID__ = tmpID;
this.updateViews({event:"updateRows", firstRow:index, lastRow:index});
};
DataProviderClass.prototype.getLength = function () {
return(this.items.length);
};
DataProviderClass.prototype.getItemAt = function (index) {
return(this.items[index]);
};
DataProviderClass.prototype.getItemID = function (index) {
return(this.items[index].__ID__);
};
DataProviderClass.prototype.sortItemsBy = function (fieldName, order) {
this.items.sortOn(fieldName);
if (order == "DESC") {
this.items.reverse();
}
this.updateViews({event:"sort"});
};
DataProviderClass.prototype.updateViews = function (eventObj) {
var i = 0;
while (i < this.views.length) {
this.views[i].modelChanged(eventObj);
i++;
}
};
#endinitclip
Symbol 72 MovieClip [FSelectableItemSymbol] Frame 1
#initclip 9
function FSelectableItemClass() {
this.init();
}
FSelectableItemClass.prototype = new FUIComponentClass();
FSelectableItemClass.prototype.init = function () {
if (this._name != "itemAsset") {
this.highlighted = false;
this.layoutContent(100);
}
};
FSelectableItemClass.prototype.drawItem = function (itmObj, selected) {
this.displayContent(itmObj, selected);
if ((this.highlighted != selected) || ((this.controller.focused != this.oldFocus) && (selected))) {
this.setHighlighted(selected);
}
this.oldFocus = this.controller.focused;
};
FSelectableItemClass.prototype.setSize = function (width, height) {
var LOWEST_DEPTH = -16384;
this.width = width;
this.layoutContent(width);
this.attachMovie("FHighlightSymbol", "highlight_mc", LOWEST_DEPTH);
this.highlight_mc._x = 0.5;
this.highlight_mc._width = width - 0.5;
this.highlight_mc._height = height;
this.highlight_mc.controller = this;
this.highlight_mc._alpha = 0;
this.highlight_mc.trackAsMenu = true;
this.highlight_mc.onPress = function () {
if (this.controller.enable) {
this.controller.controller.clickHandler(this.controller.itemNum);
}
};
this.highlight_mc.onDragOver = function () {
if (this.controller.controller.focused) {
this.onPress();
}
};
this.highlight_mc.useHandCursor = false;
this.highlight_mc.trackAsMenu = true;
};
FSelectableItemClass.prototype.setEnabled = function (enabledFlag) {
this.enable = enabledFlag;
this.fLabel_mc.setEnabled(enabledFlag);
this.highlight_mc.gotoAndStop((enabledFlag ? "unfocused" : "disabled"));
};
FSelectableItemClass.prototype.layoutContent = function (width) {
this.attachMovie("FLabelSymbol", "fLabel_mc", 2, {hostComponent:this.controller});
this.fLabel_mc._x = 2;
this.fLabel_mc._y = 0;
this.fLabel_mc.setSize(width - 2);
this.fLabel_mc.labelField.selectable = false;
};
FSelectableItemClass.prototype.displayContent = function (itmObj, selected) {
var tmpLabel = "";
if (itmObj.label != undefined) {
tmpLabel = itmObj.label;
} else if (typeof(itmObj) == "object") {
for (var i in itmObj) {
if (i != "__ID__") {
tmpLabel = (itmObj[i] + ", ") + tmpLabel;
}
}
tmpLabel = tmpLabel.substring(0, tmpLabel.length - 2);
} else {
tmpLabel = itmObj;
}
if (this.fLabel_mc.labelField.text != tmpLabel) {
this.fLabel_mc.setLabel(tmpLabel);
}
var clr = (selected ? (this.controller.styleTable.textSelected.value) : (this.controller.styleTable.textColor.value));
if (clr == undefined) {
clr = (selected ? 16777215 : 0);
}
this.fLabel_mc.setColor(clr);
};
FSelectableItemClass.prototype.getItemIndex = function () {
return(this.controller.getScrollPosition() + this.itemNum);
};
FSelectableItemClass.prototype.getItemModel = function () {
return(this.controller.getItemAt(this.getItemIndex()));
};
FSelectableItemClass.prototype.getHostDataProvider = function () {
return(this.controller.dataProvider);
};
FSelectableItemClass.prototype.setHighlighted = function (flag) {
fade = this.controller.styleTable.fadeRate.value;
if (((fade == undefined) || (fade == 0)) || (!flag)) {
this.highlight_mc._alpha = (flag ? 100 : 0);
delete this.onEnterFrame;
} else {
this.fadeN = fade;
this.fadeX = 1;
this.highLight_mc._alpha = 20;
this.onEnterFrame = function () {
this.highLight_mc._alpha = (60 * Math.sqrt((this.fadeX++) / this.fadeN)) + 40;
if (this.fadeX > this.fadeN) {
delete this.onEnterFrame;
}
};
}
this.highlighted = flag;
};
#endinitclip
Symbol 73 MovieClip [FSelectableListSymbol] Frame 1
#initclip 5
function FSelectableListClass() {
this.init();
}
FSelectableListClass.prototype = new FUIComponentClass();
FSelectableListClass.prototype.init = function () {
super.init();
this.enable = true;
this.selected = new Array();
this.topDisplayed = (this.numDisplayed = 0);
this.lastSelected = 0;
this.tabChildren = false;
if (this._name != undefined) {
this.dataProvider = new DataProviderClass();
this.dataProvider.addView(this);
}
};
FSelectableListClass.prototype.addItemAt = function (index, label, data) {
if ((index < 0) || (!this.enable)) {
return(undefined);
}
this.dataProvider.addItemAt(index, {label:label, data:data});
};
FSelectableListClass.prototype.addItem = function (label, data) {
if (!this.enable) {
return(undefined);
}
this.dataProvider.addItem({label:label, data:data});
};
FSelectableListClass.prototype.removeItemAt = function (index) {
this.selectHolder = this.getSelectedIndex();
var item = this.getItemAt(index);
this.dataProvider.removeItemAt(index);
return(item);
};
FSelectableListClass.prototype.removeAll = function () {
this.dataProvider.removeAll();
};
FSelectableListClass.prototype.replaceItemAt = function (index, newLabel, newData) {
this.dataProvider.replaceItemAt(index, {label:newLabel, data:newData});
};
FSelectableListClass.prototype.sortItemsBy = function (fieldName, order) {
this.lastSelID = this.dataProvider.getItemID(this.lastSelected);
this.dataProvider.sortItemsBy(fieldName, order);
};
FSelectableListClass.prototype.getLength = function () {
return(this.dataProvider.getLength());
};
FSelectableListClass.prototype.getSelectedIndex = function () {
for (var uniqueID in this.selected) {
var tmpInd = this.selected[uniqueID].sIndex;
if (tmpInd != undefined) {
return(tmpInd);
}
}
};
FSelectableListClass.prototype.getSelectedItem = function () {
return(this.getItemAt(this.getSelectedIndex()));
};
FSelectableListClass.prototype.getItemAt = function (index) {
return(this.dataProvider.getItemAt(index));
};
FSelectableListClass.prototype.getEnabled = function () {
return(this.enable);
};
FSelectableListClass.prototype.getValue = function () {
var item = this.getSelectedItem();
return(((item.data == undefined) ? (item.label) : (item.data)));
};
FSelectableListClass.prototype.setSelectedIndex = function (index, flag) {
if (((index >= 0) && (index < this.getLength())) && (this.enable)) {
this.clearSelected();
this.selectItem(index, true);
this.lastSelected = index;
this.invalidate("updateControl");
if (flag != false) {
this.executeCallBack();
}
}
};
FSelectableListClass.prototype.setDataProvider = function (obj) {
this.setScrollPosition(0);
this.clearSelected();
if (obj instanceof Array) {
this.dataProvider = new DataProviderClass();
var i = 0;
while (i < obj.length) {
var value = ((typeof(obj[i]) == "string") ? ({label:obj[i]}) : (obj[i]));
this.dataProvider.addItem(value);
i++;
}
} else {
this.dataProvider = obj;
}
this.dataProvider.addView(this);
};
FSelectableListClass.prototype.setItemSymbol = function (linkID) {
this.tmpPos = this.getScrollPosition();
this.itemSymbol = linkID;
this.invalidate("setSize");
this.setScrollPosition(this.tmpPos);
};
FSelectableListClass.prototype.setEnabled = function (enabledFlag) {
this.cleanUI();
super.setEnabled(enabledFlag);
this.enable = enabledFlag;
this.boundingBox_mc.gotoAndStop((this.enable ? "enabled" : "disabled"));
var limit = Math.min(this.numDisplayed, this.getLength());
var i = 0;
while (i < limit) {
this.container_mc[("fListItem" + i) + "_mc"].setEnabled(this.enable);
i++;
}
if (this.enable) {
this.invalidate("updateControl");
}
};
FSelectableListClass.prototype.updateControl = function () {
var i = 0;
while (i < this.numDisplayed) {
this.container_mc[("fListItem" + i) + "_mc"].drawItem(this.getItemAt(this.topDisplayed + i), this.isSelected(this.topDisplayed + i));
i++;
}
};
FSelectableListClass.prototype.setSize = function (w, h) {
super.setSize(w, h);
this.boundingBox_mc._xscale = (this.boundingBox_mc._yscale = 100);
this.boundingBox_mc._xscale = (this.width * 100) / this.boundingBox_mc._width;
this.boundingBox_mc._yscale = (this.height * 100) / this.boundingBox_mc._height;
var i = 0;
while (i < this.numDisplayed) {
this.container_mc.attachMovie(this.itemSymbol, ("fListItem" + i) + "_mc", 10 + i, {controller:this, itemNum:i});
var item_mc = this.container_mc[("fListItem" + i) + "_mc"];
var offset = ((this.scrollOffset == undefined) ? 0 : (this.scrollOffset));
item_mc.setSize(this.width - offset, this.itmHgt);
item_mc._y = (this.itmHgt - 2) * i;
i++;
}
this.updateControl();
};
FSelectableListClass.prototype.modelChanged = function (eventObj) {
var firstRow = eventObj.firstRow;
var lastRow = eventObj.lastRow;
var event = eventObj.event;
if (event == "addRows") {
for (var i in this.selected) {
if ((this.selected[i].sIndex != undefined) && (this.selected[i].sIndex >= firstRow)) {
this.selected[i].sIndex = this.selected[i].sIndex + ((lastRow - firstRow) + 1);
this.setSelectedIndex(this.selected[i].sIndex, false);
}
}
} else if (event == "deleteRows") {
if (firstRow == lastRow) {
var index = firstRow;
if (this.selectHolder == index) {
this.selectionDeleted = true;
}
if (((this.topDisplayed + this.numDisplayed) >= this.getLength()) && (this.topDisplayed > 0)) {
this.topDisplayed--;
if (this.selectionDeleted && ((index - 1) >= 0)) {
this.setSelectedIndex(index - 1, false);
}
} else if (this.selectionDeleted) {
var len = this.getLength();
if (((index == (len - 1)) && (len > 1)) || (index > (len / 2))) {
this.setSelectedIndex(index - 1, false);
} else {
this.setSelectedIndex(index, false);
}
}
for (var i in this.selected) {
if (this.selected[i].sIndex > firstRow) {
this.selected[i].sIndex--;
}
}
} else {
this.clearSelected();
this.topDisplayed = 0;
}
} else if (event == "sort") {
var len = this.getLength();
var i = 0;
while (i < len) {
if (this.isSelected(i)) {
var id = this.dataProvider.getItemID(i);
if (id == this.lastSelID) {
this.lastSelected = i;
}
this.selected[String(id)].sIndex = i;
}
i++;
}
}
this.invalidate("updateControl");
};
FSelectableListClass.prototype.measureItmHgt = function () {
this.attachMovie(this.itemSymbol, "tmpItem_mc", 0, {controller:this});
this.tmpItem_mc.drawItem({label:"Sizer: PjtTopg"}, false);
this.itmHgt = this.tmpItem_mc._height;
this.tmpItem_mc.removeMovieClip();
};
FSelectableListClass.prototype.selectItem = function (index, selectedFlag) {
if (selectedFlag && (!this.isSelected(index))) {
this.selected[String(this.dataProvider.getItemID(index))] = {sIndex:index};
} else if (!selectedFlag) {
delete this.selected[String(this.dataProvider.getItemID(index))];
}
};
FSelectableListClass.prototype.isSelected = function (index) {
return(this.selected[String(this.dataProvider.getItemID(index))].sIndex != undefined);
};
FSelectableListClass.prototype.clearSelected = function () {
for (var uniqueID in this.selected) {
var index = this.selected[uniqueID].sIndex;
if (((index != undefined) && (this.topDisplayed <= index)) && (index < (this.topDisplayed + this.numDisplayed))) {
this.container_mc[("fListItem" + (index - this.topDisplayed)) + "_mc"].drawItem(this.getItemAt(index), false);
}
}
delete this.selected;
this.selected = new Array();
};
FSelectableListClass.prototype.selectionHandler = function (itemNum) {
var tmpInd = (this.topDisplayed + itemNum);
if (this.getItemAt(tmpInd == undefined)) {
this.changeFlag = false;
return(undefined);
}
this.changeFlag = true;
this.clearSelected();
this.selectItem(tmpInd, true);
this.container_mc[("fListItem" + itemNum) + "_mc"].drawItem(this.getItemAt(tmpInd), this.isSelected(tmpInd));
};
FSelectableListClass.prototype.moveSelBy = function (incr) {
var itmNum = this.getSelectedIndex();
var newItm = (itmNum + incr);
newItm = Math.max(0, newItm);
newItm = Math.min(this.getLength() - 1, newItm);
if (newItm == itmNum) {
return(undefined);
}
if ((itmNum < this.topDisplayed) || (itmNum >= (this.topDisplayed + this.numDisplayed))) {
this.setScrollPosition(itmNum);
}
if ((newItm >= (this.topDisplayed + this.numDisplayed)) || (newItm < this.topDisplayed)) {
this.setScrollPosition(this.topDisplayed + incr);
}
this.selectionHandler(newItm - this.topDisplayed);
};
FSelectableListClass.prototype.clickHandler = function (itmNum) {
this.focusRect.removeMovieClip();
if (!this.focused) {
this.pressFocus();
}
this.selectionHandler(itmNum);
this.onMouseUp = this.releaseHandler;
};
FSelectableListClass.prototype.releaseHandler = function () {
if (this.changeFlag) {
this.executeCallBack();
}
this.changeFlag = false;
this.onMouseUp = undefined;
};
FSelectableListClass.prototype.myOnSetFocus = function () {
super.myOnSetFocus();
var i = 0;
while (i < this.numDisplayed) {
this.container_mc[("fListItem" + i) + "_mc"].highlight_mc.gotoAndStop("enabled");
i++;
}
};
FSelectableListClass.prototype.myOnKillFocus = function () {
super.myOnKillFocus();
var i = 0;
while (i < this.numDisplayed) {
this.container_mc[("fListItem" + i) + "_mc"].highlight_mc.gotoAndStop("unfocused");
i++;
}
};
#endinitclip
Instance of Symbol 71 MovieClip [DataProviderSymbol] "dPAsset" in Symbol 73 MovieClip [FSelectableListSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
}
Instance of Symbol 72 MovieClip [FSelectableItemSymbol] "ItemAsset" in Symbol 73 MovieClip [FSelectableListSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
}
Symbol 74 MovieClip [FScrollSelectListSymbol] Frame 1
#initclip 8
function FScrollSelectListClass() {
this.init();
}
FScrollSelectListClass.prototype = new FSelectableListClass();
FScrollSelectListClass.prototype.getScrollPosition = function () {
return(this.topDisplayed);
};
FScrollSelectListClass.prototype.setScrollPosition = function (pos) {
if (this.enable) {
pos = Math.min(pos, this.getLength() - this.numDisplayed);
pos = Math.max(pos, 0);
this.scrollBar_mc.setScrollPosition(pos);
}
};
FScrollSelectListClass.prototype.setAutoHideScrollBar = function (flag) {
this.permaScrollBar = !flag;
this.setSize(this.width, this.height);
};
FScrollSelectListClass.prototype.setEnabled = function (enabledFlag) {
super.setEnabled(enabledFlag);
this.scrollBar_mc.setEnabled(this.enable);
};
FScrollSelectListClass.prototype.setSize = function (w, h) {
var pos = this.getScrollPosition();
super.setSize(w, h);
if (this.scrollBar_mc != undefined) {
this.removed = true;
}
this.scrollBar_mc = undefined;
this.initScrollBar();
this.setScrollPosition(pos);
};
FScrollSelectListClass.prototype.modelChanged = function (eventObj) {
super.modelChanged(eventObj);
this.invalidate("initScrollBar");
};
FScrollSelectListClass.prototype.initScrollBar = function () {
if ((!this.permaScrollBar) && (this.getLength() <= this.numDisplayed)) {
if (this.removed) {
this.scrollBar_mc.removeMovieClip();
this.scrollBar_mc = undefined;
this.scrollOffset = undefined;
this.invalidate("setSize");
}
} else {
if (this.scrollBar_mc == undefined) {
this.container_mc.attachMovie("FScrollBarSymbol", "scrollBar_mc", 3000, {hostStyle:this.styleTable});
this.scrollBar_mc = this.container_mc.scrollBar_mc;
this.scrollBar_mc.setChangeHandler("scrollHandler", this);
this.scrollBar_mc.setSize(this.height);
this.scrollBar_mc._x = this.width - this.scrollBar_mc._width;
this.scrollBar_mc._y = 0;
this.scrollBar_mc.setLargeScroll(this.numDisplayed - 1);
this.scrollOffset = this.scrollBar_mc._width;
this.invalidate("setSize");
}
this.scrollBar_mc.setScrollProperties(this.numDisplayed, 0, this.getLength() - this.numDisplayed);
}
};
FScrollSelectListClass.prototype.scrollHandler = function (scrollBar) {
var pos = scrollBar.getScrollPosition();
this.topDisplayed = pos;
if (this.lastPosition != pos) {
this.updateControl();
}
this.lastPosition = pos;
};
FScrollSelectListClass.prototype.clickHandler = function (itmNum) {
super.clickHandler(itmNum);
if ((this.dragScrolling == undefined) && (this.scrollBar_mc != undefined)) {
this.dragScrolling = setInterval(this, "dragScroll", 15);
}
};
FScrollSelectListClass.prototype.releaseHandler = function () {
clearInterval(this.dragScrolling);
this.dragScrolling = undefined;
super.releaseHandler();
};
FScrollSelectListClass.prototype.dragScroll = function () {
clearInterval(this.dragScrolling);
if (this.container_mc._ymouse < 0) {
this.setScrollPosition(this.getScrollPosition() - 1);
this.selectionHandler(0);
this.scrollInterval = Math.max(25, (-23.8 * (-this.container_mc._ymouse)) + 500);
this.dragScrolling = setInterval(this, "dragScroll", this.scrollInterval);
} else if (this.container_mc._ymouse > ((this.itmHgt - 2) * this.numDisplayed)) {
this.setScrollPosition(this.getScrollPosition() + 1);
this.selectionHandler(this.numDisplayed - 1);
this.scrollInterval = Math.max(25, (-23.8 * Math.abs((this.container_mc._ymouse - ((this.itmHgt - 2) * this.numDisplayed)) - 2)) + 500);
this.dragScrolling = setInterval(this, "dragScroll", this.scrollInterval);
} else {
this.dragScrolling = setInterval(this, "dragScroll", 15);
}
};
FScrollSelectListClass.prototype.myOnKeyDown = function () {
if (this.focused) {
this.keyCodes = new Array(40, 38, 34, 33, 36, 35);
this.keyIncrs = new Array(1, -1, this.numDisplayed - 1, -(this.numDisplayed - 1), -this.getLength(), this.getLength());
var i = 0;
while (i < this.keyCodes.length) {
if (Key.isDown(this.keyCodes[i])) {
this.moveSelBy(this.keyIncrs[i]);
return(undefined);
}
i++;
}
this.findInputText();
}
};
FScrollSelectListClass.prototype.findInputText = function () {
var tmpCode = Key.getAscii();
if ((tmpCode >= 33) && (tmpCode <= 126)) {
this.findString(String.fromCharCode(tmpCode));
}
};
FScrollSelectListClass.prototype.findString = function (str) {
if (this.getLength() == 0) {
return(undefined);
}
var itemNum = this.getSelectedIndex();
var jump = 0;
var i = (itemNum + 1);
while (i != itemNum) {
var itmStr = this.getItemAt(i).label.substring(0, str.length);
if ((str == itmStr) || (str.toUpperCase() == itmStr.toUpperCase())) {
var jump = (i - itemNum);
break;
}
if (i >= (this.getLength() - 1)) {
i = -1;
}
i++;
}
if (jump != 0) {
this.moveSelBy(jump);
}
};
#endinitclip
Instance of Symbol 70 MovieClip [FScrollBarSymbol] "scrollBarAsset" in Symbol 74 MovieClip [FScrollSelectListSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
_targetInstanceName = "";
horizontal = false;
}
onClipEvent (load) {
this._width = (this._height = 1);
}
Instance of Symbol 73 MovieClip [FSelectableListSymbol] "superClassAsset" in Symbol 74 MovieClip [FScrollSelectListSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
}
Symbol 77 MovieClip [FListBoxSymbol] Frame 1
#initclip 14
function FListBoxClass() {
this.itemSymbol = "FListItemSymbol";
this.init();
this.permaScrollBar = true;
var i = 0;
while (i < this.labels.length) {
this.addItem(this.labels[i], this.data[i]);
i++;
}
this.boundingBox_mc.gotoAndStop(1);
this.width = this._width;
this.height = this._height;
this._yscale = (this._xscale = 100);
this.setSize(this.width, this.height);
if (this.changeHandler.length > 0) {
this.setChangeHandler(this.changeHandler);
}
}
FListBoxClass.prototype = new FScrollSelectListClass();
Object.registerClass("FListBoxSymbol", FListBoxClass);
FListBoxClass.prototype.getSelectedIndices = function () {
var tmpArray = new Array();
for (var i in this.selected) {
tmpArray.push(this.selected[i].sIndex);
}
return(((tmpArray.length > 0) ? (tmpArray) : undefined));
};
FListBoxClass.prototype.getSelectedItems = function () {
var indices = this.getSelectedIndices();
var tmpArray = new Array();
var i = 0;
while (i < indices.length) {
tmpArray.push(this.getItemAt(indices[i]));
i++;
}
return(((tmpArray.length > 0) ? (tmpArray) : undefined));
};
FListBoxClass.prototype.getSelectMultiple = function () {
return(this.selectMultiple);
};
FListBoxClass.prototype.getRowCount = function () {
return(this.numDisplayed);
};
FListBoxClass.prototype.setSelectedIndices = function (indexArray) {
this.clearSelected();
var i = 0;
while (i < indexArray.length) {
this.selectItem(indexArray[i], true);
i++;
}
this.updateControl();
};
FListBoxClass.prototype.setSelectMultiple = function (flag) {
this.selectMultiple = flag;
};
FListBoxClass.prototype.setRowCount = function (count) {
var hgt = ((count * (this.itmHgt - 2)) + 2);
this.setSize(this.width, hgt);
};
FListBoxClass.prototype.setWidth = function (wdt) {
this.setSize(wdt, this.height);
};
FListBoxClass.prototype.setSize = function (w, h) {
if (!this.enable) {
return(undefined);
}
w = Math.max(w, 20);
h = Math.max(h, 40);
this.container_mc.removeMovieClip();
this.container_mc = this.createEmptyMovieClip("container", 3);
this.measureItmHgt();
this.numDisplayed = Math.floor(h / (this.itmHgt - 2));
this.height = (this.numDisplayed * (this.itmHgt - 2)) + 2;
super.setSize(w, this.height);
};
FListBoxClass.prototype.removeItemAt = function (index) {
this.selectHolder = this.getSelectedIndices();
return(super.removeItemAt(index));
};
FListBoxClass.prototype.selectionHandler = function (itemNum) {
if (this.clickFilter) {
var index = (this.topDisplayed + itemNum);
if (this.getItemAt(index) == undefined) {
this.changeFlag = false;
return(undefined);
}
this.changeFlag = true;
if (((!this.selectMultiple) && (!Key.isDown(17))) || ((!Key.isDown(16)) && (!Key.isDown(17)))) {
this.clearSelected();
this.selectItem(index, true);
this.lastSelected = index;
this.container_mc[("fListItem" + itemNum) + "_mc"].drawItem(this.getItemAt(index), this.isSelected(index));
} else if (Key.isDown(16) && (this.selectMultiple)) {
if (this.lastSelected == -1) {
this.lastSelected = index;
}
var incr = ((this.lastSelected < index) ? 1 : -1);
this.clearSelected();
var i = this.lastSelected;
while (i != index) {
this.selectItem(i, true);
if ((i >= this.topDisplayed) && (i < (this.topDisplayed + this.numDisplayed))) {
this.container_mc[("fListItem" + (i - this.topDisplayed)) + "_mc"].drawItem(this.getItemAt(i), this.isSelected(i));
}
i = i + incr;
}
this.selectItem(index, true);
this.container_mc[("fListItem" + (index - this.topDisplayed)) + "_mc"].drawItem(this.getItemAt(index), this.isSelected(index));
} else if (key.isDown(17)) {
var selectedFlag = this.isSelected(index);
if (!this.selectMultiple) {
this.clearSelected();
}
if (!((!this.selectMultiple) && (selectedFlag))) {
this.selectItem(index, !selectedFlag);
this.container_mc[("fListItem" + itemNum) + "_mc"].drawItem(this.getItemAt(this.topDisplayed + itemNum), this.isSelected(this.topDisplayed + itemNum));
}
this.lastSelected = index;
}
} else {
this.clickFilter = true;
}
};
FListBoxClass.prototype.moveSelBy = function (itemNum) {
super.moveSelBy(itemNum);
this.releaseHandler();
};
#endinitclip
this.deadPreview._visible = false;
Instance of Symbol 74 MovieClip [FScrollSelectListSymbol] "superClassAsset" in Symbol 77 MovieClip [FListBoxSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
}
Symbol 80 MovieClip [FLabelSymbol] Frame 1
#initclip 3
_global.FLabelClass = function () {
if (this.hostComponent == undefined) {
this.hostComponent = ((this._parent.controller == undefined) ? (this._parent) : (this._parent.controller));
}
if (this.customTextStyle == undefined) {
if (this.hostComponent.textStyle == undefined) {
this.hostComponent.textStyle = new TextFormat();
}
this.textStyle = this.hostComponent.textStyle;
this.enable = true;
}
};
FLabelClass.prototype = new MovieClip();
Object.registerClass("FLabelSymbol", FLabelClass);
FLabelClass.prototype.setLabel = function (label) {
var val = this.hostComponent.styleTable.embedFonts.value;
if (val != undefined) {
this.labelField.embedFonts = val;
}
this.labelField.setNewTextFormat(this.textStyle);
this.labelField.text = label;
this.labelField._height = this.labelField.textHeight + 2;
};
FLabelClass.prototype.setSize = function (width) {
this.labelField._width = width;
};
FLabelClass.prototype.setEnabled = function (enable) {
this.enable = enable;
var tmpColor = this.hostComponent.styleTable[(enable ? "textColor" : "textDisabled")].value;
if (tmpColor == undefined) {
tmpColor = (enable ? 0 : 8947848);
}
this.setColor(tmpColor);
};
FLabelClass.prototype.getLabel = function () {
return(this.labelField.text);
};
FLabelClass.prototype.setColor = function (col) {
this.labelField.textColor = col;
};
#endinitclip
Symbol 82 MovieClip [FHighlightSymbol] Frame 1
var component = _parent.controller;
component.registerSkinElement(highlight_mc, "selection");
stop();
Symbol 82 MovieClip [FHighlightSymbol] Frame 2
component.registerSkinElement(highlight_mc2, "selectionDisabled");
stop();
Symbol 82 MovieClip [FHighlightSymbol] Frame 3
component.registerSkinElement(highlight_mc3, "selectionUnfocused");
stop();
Symbol 83 MovieClip [FUIComponentSymbol] Frame 1
#initclip 1
function FUIComponentClass() {
this.init();
}
FUIComponentClass.prototype = new MovieClip();
FUIComponentClass.prototype.init = function () {
this.enable = true;
this.focused = false;
this.useHandCursor = false;
this._accImpl = new Object();
this._accImpl.stub = true;
this.styleTable = new Array();
if (_global.globalStyleFormat == undefined) {
_global.globalStyleFormat = new FStyleFormat();
globalStyleFormat.isGlobal = true;
_global._focusControl = new Object();
_global._focusControl.onSetFocus = function (oldFocus, newFocus) {
oldFocus.myOnKillFocus();
newFocus.myOnSetFocus();
};
Selection.addListener(_global._focusControl);
}
if (this._name != undefined) {
this._focusrect = false;
this.tabEnabled = true;
this.focusEnabled = true;
this.tabChildren = false;
this.tabFocused = true;
if (this.hostStyle == undefined) {
globalStyleFormat.addListener(this);
} else {
this.styleTable = this.hostStyle;
}
this.deadPreview._visible = false;
this.deadPreview._width = (this.deadPreview._height = 1);
this.methodTable = new Object();
this.keyListener = new Object();
this.keyListener.controller = this;
this.keyListener.onKeyDown = function () {
this.controller.myOnKeyDown();
};
this.keyListener.onKeyUp = function () {
this.controller.myOnKeyUp();
};
for (var i in this.styleFormat_prm) {
this.setStyleProperty(i, this.styleFormat_prm[i]);
}
}
};
FUIComponentClass.prototype.setEnabled = function (enabledFlag) {
this.enable = ((arguments.length > 0) ? (enabledFlag) : true);
this.tabEnabled = (this.focusEnabled = enabledFlag);
if ((!this.enable) && (this.focused)) {
Selection.setFocus(undefined);
}
};
FUIComponentClass.prototype.getEnabled = function () {
return(this.enable);
};
FUIComponentClass.prototype.setSize = function (w, h) {
this.width = w;
this.height = h;
this.focusRect.removeMovieClip();
};
FUIComponentClass.prototype.setChangeHandler = function (chng, obj) {
this.handlerObj = ((obj == undefined) ? (this._parent) : (obj));
this.changeHandler = chng;
};
FUIComponentClass.prototype.invalidate = function (methodName) {
this.methodTable[methodName] = true;
this.onEnterFrame = this.cleanUI;
};
FUIComponentClass.prototype.cleanUI = function () {
if (this.methodTable.setSize) {
this.setSize(this.width, this.height);
} else {
this.cleanUINotSize();
}
this.methodTable = new Object();
delete this.onEnterFrame;
};
FUIComponentClass.prototype.cleanUINotSize = function () {
for (var funct in this.methodTable) {
this[funct]();
}
};
FUIComponentClass.prototype.drawRect = function (x, y, w, h) {
var inner = this.styleTable.focusRectInner.value;
var outer = this.styleTable.focusRectOuter.value;
if (inner == undefined) {
inner = 16777215 /* 0xFFFFFF */;
}
if (outer == undefined) {
outer = 0;
}
this.createEmptyMovieClip("focusRect", 1000);
this.focusRect.controller = this;
this.focusRect.lineStyle(1, outer);
this.focusRect.moveTo(x, y);
this.focusRect.lineTo(x + w, y);
this.focusRect.lineTo(x + w, y + h);
this.focusRect.lineTo(x, y + h);
this.focusRect.lineTo(x, y);
this.focusRect.lineStyle(1, inner);
this.focusRect.moveTo(x + 1, y + 1);
this.focusRect.lineTo((x + w) - 1, y + 1);
this.focusRect.lineTo((x + w) - 1, (y + h) - 1);
this.focusRect.lineTo(x + 1, (y + h) - 1);
this.focusRect.lineTo(x + 1, y + 1);
};
FUIComponentClass.prototype.pressFocus = function () {
this.tabFocused = false;
this.focusRect.removeMovieClip();
Selection.setFocus(this);
};
FUIComponentClass.prototype.drawFocusRect = function () {
this.drawRect(-2, -2, this.width + 4, this.height + 4);
};
FUIComponentClass.prototype.myOnSetFocus = function () {
this.focused = true;
Key.addListener(this.keyListener);
if (this.tabFocused) {
this.drawFocusRect();
}
};
FUIComponentClass.prototype.myOnKillFocus = function () {
this.tabFocused = true;
this.focused = false;
this.focusRect.removeMovieClip();
Key.removeListener(this.keyListener);
};
FUIComponentClass.prototype.executeCallBack = function () {
this.handlerObj[this.changeHandler](this);
};
FUIComponentClass.prototype.updateStyleProperty = function (styleFormat, propName) {
this.setStyleProperty(propName, styleFormat[propName], styleFormat.isGlobal);
};
FUIComponentClass.prototype.setStyleProperty = function (propName, value, isGlobal) {
if (value == "") {
return(undefined);
}
var tmpValue = parseInt(value);
if (!isNaN(tmpValue)) {
value = tmpValue;
}
var global = ((arguments.length > 2) ? (isGlobal) : false);
if (this.styleTable[propName] == undefined) {
this.styleTable[propName] = new Object();
this.styleTable[propName].useGlobal = true;
}
if (this.styleTable[propName].useGlobal || (!global)) {
this.styleTable[propName].value = value;
if (this.setCustomStyleProperty(propName, value)) {
} else if (propName == "embedFonts") {
this.invalidate("setSize");
} else if (propName.subString(0, 4) == "text") {
if (this.textStyle == undefined) {
this.textStyle = new TextFormat();
}
var textProp = propName.subString(4, propName.length);
this.textStyle[textProp] = value;
this.invalidate("setSize");
} else {
for (var j in this.styleTable[propName].coloredMCs) {
var myColor = new Color(this.styleTable[propName].coloredMCs[j]);
if (this.styleTable[propName].value == undefined) {
var myTObj = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
myColor.setTransform(myTObj);
} else {
myColor.setRGB(value);
}
}
}
this.styleTable[propName].useGlobal = global;
}
};
FUIComponentClass.prototype.registerSkinElement = function (skinMCRef, propName) {
if (this.styleTable[propName] == undefined) {
this.styleTable[propName] = new Object();
this.styleTable[propName].useGlobal = true;
}
if (this.styleTable[propName].coloredMCs == undefined) {
this.styleTable[propName].coloredMCs = new Object();
}
this.styleTable[propName].coloredMCs[skinMCRef] = skinMCRef;
if (this.styleTable[propName].value != undefined) {
var myColor = new Color(skinMCRef);
myColor.setRGB(this.styleTable[propName].value);
}
};
_global.FStyleFormat = function () {
this.nonStyles = {listeners:true, isGlobal:true, isAStyle:true, addListener:true, removeListener:true, nonStyles:true, applyChanges:true};
this.listeners = new Object();
this.isGlobal = false;
if (arguments.length > 0) {
for (var i in arguments[0]) {
this[i] = arguments[0][i];
}
}
};
_global.FStyleFormat.prototype = new Object();
FStyleFormat.prototype.addListener = function () {
var arg = 0;
while (arg < arguments.length) {
var mcRef = arguments[arg];
this.listeners[arguments[arg]] = mcRef;
for (var i in this) {
if (this.isAStyle(i)) {
mcRef.updateStyleProperty(this, i.toString());
}
}
arg++;
}
};
FStyleFormat.prototype.removeListener = function (component) {
this.listeners[component] = undefined;
for (var prop in this) {
if (this.isAStyle(prop)) {
if (component.styleTable[prop].useGlobal == this.isGlobal) {
component.styleTable[prop].useGlobal = true;
var value = (this.isGlobal ? undefined : (globalStyleFormat[prop]));
component.setStyleProperty(prop, value, true);
}
}
}
};
FStyleFormat.prototype.applyChanges = function () {
var count = 0;
for (var i in this.listeners) {
var component = this.listeners[i];
if (arguments.length > 0) {
var j = 0;
while (j < arguments.length) {
if (this.isAStyle(arguments[j])) {
component.updateStyleProperty(this, arguments[j]);
}
j++;
}
} else {
for (var j in this) {
if (this.isAStyle(j)) {
component.updateStyleProperty(this, j.toString());
}
}
}
}
};
FStyleFormat.prototype.isAStyle = function (name) {
return((this.nonStyles[name] ? false : true));
};
#endinitclip
Symbol 93 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 103 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 112 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "foregroundDisabled");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 113 MovieClip [UpArrow] Frame 1
stop();
Symbol 113 MovieClip [UpArrow] Frame 2
stop();
Symbol 113 MovieClip [UpArrow] Frame 3
stop();
Symbol 119 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 126 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 131 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(highlight3D_mc, "highlight3D");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
Symbol 132 MovieClip [ScrollThumb] Frame 1
stop();
Symbol 140 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 148 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "arrow");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 156 MovieClip Frame 1
var component = _parent._parent;
component.registerSkinElement(arrow_mc, "foregroundDisabled");
component.registerSkinElement(face_mc, "face");
component.registerSkinElement(shadow_mc, "shadow");
component.registerSkinElement(darkshadow_mc, "darkshadow");
component.registerSkinElement(highlight_mc, "highlight");
component.registerSkinElement(highlight3D_mc, "highlight3D");
Symbol 157 MovieClip [DownArrow] Frame 1
stop();
Symbol 157 MovieClip [DownArrow] Frame 2
stop();
Symbol 157 MovieClip [DownArrow] Frame 3
stop();
Symbol 176 MovieClip [movieviewcontainerclip] Frame 1
stop();
Symbol 249 MovieClip Frame 1
stop();
Symbol 268 MovieClip Frame 1
stop();
Instance of Symbol 249 MovieClip "bpclip" in Symbol 286 MovieClip [profileendclip] Frame 1
onClipEvent (load) {
this.gotoAndStop(_root[_root.workingfilename].BPrank);
}
Instance of Symbol 268 MovieClip "wclip" in Symbol 286 MovieClip [profileendclip] Frame 1
onClipEvent (load) {
this.gotoAndStop(_root[_root.workingfilename].whistle);
if (_root[_root.workingfilename].alias == "lessthandiamond") {
this.gotoAndStop("Gold");
} else if (_root[_root.workingfilename].alias == "walkonwater") {
this.gotoAndStop("Deity");
} else if (_root[_root.workingfilename].alias == "betterthansteel") {
this.gotoAndStop("Silver");
} else if (_root[_root.workingfilename].alias == "cheapmetal") {
this.gotoAndStop("Bronze");
} else if (_root[_root.workingfilename].alias == "averagejoe") {
this.gotoAndStop("Normal");
} else if (_root[_root.workingfilename].alias == "takeoutthetrash") {
this.gotoAndStop("Garbage");
}
}
Instance of Symbol 285 MovieClip in Symbol 286 MovieClip [profileendclip] Frame 1
onClipEvent (load) {
if (_root[_root.workingfilename].BA == "n/a") {
_visible = true;
} else {
_visible = false;
}
}
Symbol 299 MovieClip Frame 1
stop();
Symbol 360 MovieClip Frame 1
stop();
Symbol 421 MovieClip Frame 1
stop();
Symbol 482 MovieClip Frame 1
stop();
Symbol 489 MovieClip Frame 1
stop();
Symbol 505 MovieClip Frame 1
stop();
Symbol 505 MovieClip Frame 2
stop();
Instance of Symbol 299 MovieClip "profpic" in Symbol 508 MovieClip [profilestartclip] Frame 1
onClipEvent (data) {
_height = 102;
_width = 102;
}
Instance of Symbol 505 MovieClip "flashlistholder" in Symbol 508 MovieClip [profilestartclip] Frame 1
onClipEvent (load) {
var count = 0;
i = 0;
while (i <= _root[_root.workingfilename].flashindex) {
var tempObj = _root[_root.workingfilename].MOVIES[i];
if (tempObj.inPortal) {
count++;
}
i++;
}
if (count > 0) {
this.nextFrame();
}
}
Instance of Symbol 507 MovieClip in Symbol 508 MovieClip [profilestartclip] Frame 1
onClipEvent (load) {
if (_root[_root.workingfilename].awardswon > 0) {
_visible = true;
} else {
_visible = false;
}
}
Symbol 512 MovieClip [FScrollPaneSymbol] Frame 1
#initclip 10
function FScrollPaneClass() {
function boolToString(str) {
if (str == "false") {
return(false);
}
if (str == "true") {
return(true);
}
return(str);
}
this.init();
this.width = this._width;
this.height = this._height;
this._xscale = (this._yscale = 100);
this.contentWidth = (this.contentHeight = 0);
if (this.hScroll == undefined) {
this.hScroll = (this.vScroll = "auto");
this.dragContent = false;
}
this.offset = new Object();
this.vScroll = boolToString(this.vScroll);
this.hScroll = boolToString(this.hScroll);
this.attachMovie("FScrollBarSymbol", "hScrollBar_mc", 100, {hostStyle:this.styleTable});
this.hScrollBar_mc.setHorizontal(true);
this.hScrollBar_mc.setSmallScroll(5);
this.hScrollBar_mc.setChangeHandler("onScroll", this);
this.attachMovie("FScrollBarSymbol", "vScrollBar_mc", 99, {hostStyle:this.styleTable});
this.vScrollBar_mc.setSmallScroll(5);
this.vScrollBar_mc.setChangeHandler("onScroll", this);
this.setSize(this.width, this.height);
if (this.scrollContent != "") {
this.setScrollContent(this.scrollContent);
}
this.setDragContent(this.dragContent);
}
FScrollPaneClass.prototype = new FUIComponentClass();
Object.registerClass("FScrollPaneSymbol", FScrollPaneClass);
FScrollPaneClass.prototype.getScrollContent = function () {
return(this.content_mc);
};
FScrollPaneClass.prototype.getPaneWidth = function () {
return(this.width);
};
FScrollPaneClass.prototype.getPaneHeight = function () {
return(this.height);
};
FScrollPaneClass.prototype.getScrollPosition = function () {
var xPos = ((this.hScrollBar_mc == undefined) ? 0 : (this.hScrollBar_mc.getScrollPosition()));
var yPos = ((this.vScrollBar_mc == undefined) ? 0 : (this.vScrollBar_mc.getScrollPosition()));
return({x:xPos, y:yPos});
};
FScrollPaneClass.prototype.setScrollContent = function (target) {
this.offset.x = 0;
this.offset.y = 0;
if (this.content_mc != undefined) {
if (target != this.content_mc) {
this.content_mc._visible = false;
this.content_mc.removeMovieClip();
this.content_mc.unloadMovie();
}
}
if (typeof(target) == "string") {
this.attachMovie(target, "tmp_mc", 3);
this.content_mc = this.tmp_mc;
} else if (target == undefined) {
this.content_mc.unloadMovie();
} else {
this.content_mc = target;
}
this.localToGlobal(this.offset);
this.content_mc._parent.globalToLocal(this.offset);
this.content_mc._x = this.offset.x;
this.content_mc._y = this.offset.y;
var contentBounds = this.content_mc.getBounds(this);
this.offset.x = -contentBounds.xMin;
this.offset.y = -contentBounds.yMin;
this.localToGlobal(this.offset);
this.content_mc._parent.globalToLocal(this.offset);
this.content_mc._x = this.offset.x;
this.content_mc._y = this.offset.y;
this.contentWidth = this.content_mc._width;
this.contentHeight = this.content_mc._height;
this.content_mc.setMask(this.mask_mc);
this.setSize(this.width, this.height);
};
FScrollPaneClass.prototype.setSize = function (w, h) {
if (((arguments.length < 2) || (isNaN(w))) || (isNaN(h))) {
return(undefined);
}
super.setSize(w, h);
this.width = Math.max(w, 60);
this.height = Math.max(h, 60);
this.boundingBox_mc._xscale = 100;
this.boundingBox_mc._yscale = 100;
this.boundingBox_mc._width = this.width;
this.boundingBox_mc._height = this.height;
this.setHandV();
this.initScrollBars();
if (this.mask_mc == undefined) {
this.attachMovie("FBoundingBoxSymbol", "mask_mc", 3000);
}
this.mask_mc._xscale = 100;
this.mask_mc._yscale = 100;
this.mask_mc._width = this.hWidth;
this.mask_mc._height = this.vHeight;
this.mask_mc._alpha = 0;
};
FScrollPaneClass.prototype.setScrollPosition = function (x, y) {
x = Math.max(this.hScrollBar_mc.minPos, x);
x = Math.min(this.hScrollBar_mc.maxPos, x);
y = Math.max(this.vScrollBar_mc.minPos, y);
y = Math.min(this.vScrollBar_mc.maxPos, y);
this.hScrollBar_mc.setScrollPosition(x);
this.vScrollBar_mc.setScrollPosition(y);
};
FScrollPaneClass.prototype.refreshPane = function () {
this.setScrollContent(this.content_mc);
};
FScrollPaneClass.prototype.loadScrollContent = function (url, handler, location) {
this.content_mc.removeMovieClip();
this.content_mc.unloadMovie();
this.content_mc._visible = 0;
this.loadContent.duplicateMovieClip("loadTemp", 3);
this.dupeFlag = true;
this.contentLoaded = function () {
this.loadReady = false;
this.content_mc = this.loadTemp;
this.refreshPane();
this.executeCallBack();
};
this.setChangeHandler(handler, location);
this.loadTemp.loadMovie(url);
};
FScrollPaneClass.prototype.setHScroll = function (prop) {
this.hScroll = prop;
this.setSize(this.width, this.height);
};
FScrollPaneClass.prototype.setVScroll = function (prop) {
this.vScroll = prop;
this.setSize(this.width, this.height);
};
FScrollPaneClass.prototype.setDragContent = function (dragFlag) {
if (dragFlag) {
this.boundingBox_mc.useHandCursor = true;
this.boundingBox_mc.onPress = function () {
this._parent.startDragLoop();
};
this.boundingBox_mc.tabEnabled = false;
this.boundingBox_mc.onRelease = (this.boundingBox_mc.onReleaseOutside = function () {
this._parent.pressFocus();
this._parent.onMouseMove = null;
});
} else {
delete this.boundingBox_mc.onPress;
this.boundingBox_mc.useHandCursor = false;
}
};
FScrollPaneClass.prototype.setSmallScroll = function (x, y) {
this.hScrollBar_mc.setSmallScroll(x);
this.vScrollBar_mc.setSmallScroll(y);
};
FScrollPaneClass.prototype.setHandV = function () {
if ((((this.contentHeight - this.height) > 2) && (this.vScroll != false)) || (this.vScroll == true)) {
this.hWidth = this.width - this.vScrollBar_mc._width;
} else {
this.hWidth = this.width;
}
if ((((this.contentWidth - this.width) > 2) && (this.hScroll != false)) || (this.hScroll == true)) {
this.vHeight = this.height - this.hScrollBar_mc._height;
} else {
this.vHeight = this.height;
}
};
FScrollPaneClass.prototype.startDragLoop = function () {
this.tabFocused = false;
this.myOnSetFocus();
this.lastX = this._xmouse;
this.lastY = this._ymouse;
this.onMouseMove = function () {
this.scrollXMove = this.lastX - this._xmouse;
this.scrollYMove = this.lastY - this._ymouse;
this.scrollXMove = this.scrollXMove + this.hScrollBar_mc.getScrollPosition();
this.scrollYMove = this.scrollYMove + this.vScrollBar_mc.getScrollPosition();
this.setScrollPosition(this.scrollXMove, this.scrollYMove);
if ((this.scrollXMove < this.hScrollBar_mc.maxPos) && (this.scrollXMove > this.hScrollBar_mc.minPos)) {
this.lastX = this._xmouse;
}
if ((this.scrollYMove < this.vScrollBar_mc.maxPos) && (this.scrollYMove > this.vScrollBar_mc.minPos)) {
this.lastY = this._ymouse;
}
this.updateAfterEvent();
};
};
FScrollPaneClass.prototype.initScrollBars = function () {
this.hScrollBar_mc._y = this.height - this.hScrollBar_mc._height;
this.hScrollBar_mc.setSize(this.hWidth);
this.hScrollBar_mc.setScrollProperties(this.hWidth, 0, this.contentWidth - this.hWidth);
this.vScrollBar_mc._visible = ((this.hWidth == this.width) ? false : true);
this.vScrollBar_mc._x = this.width - this.vScrollBar_mc._width;
this.vScrollBar_mc.setSize(this.vHeight);
this.vScrollBar_mc.setScrollProperties(this.vHeight, 0, this.contentHeight - this.vHeight);
this.hScrollBar_mc._visible = ((this.vHeight == this.height) ? false : true);
};
FScrollPaneClass.prototype.onScroll = function (component) {
var pos = component.getScrollPosition();
var XorY = ((component._name == "hScrollBar_mc") ? "x" : "y");
if (component._name == "hScrollBar_mc") {
this.content_mc._x = (-pos) + this.offset.x;
} else {
this.content_mc._y = (-pos) + this.offset.y;
}
};
FScrollPaneClass.prototype.myOnKeyDown = function () {
var posX = this.hScrollBar_mc.getScrollPosition();
var posY = this.vScrollBar_mc.getScrollPosition();
if (this.hScrollBar_mc.maxPos > this.hScrollBar_mc.minPos) {
if (Key.isDown(37)) {
this.setScrollPosition(posX - 3, posY);
} else if (Key.isDown(39)) {
this.setScrollPosition(posX + 3, posY);
}
}
if (this.vScrollBar_mc.maxPos > this.vScrollBar_mc.minPos) {
if (Key.isDown(38)) {
this.setScrollPosition(posX, posY - 3);
} else if (Key.isDown(40)) {
this.setScrollPosition(posX, posY + 3);
} else if (Key.isDown(34)) {
this.setScrollPosition(posX, posY + this.vScrollBar_mc.pageSize);
} else if (Key.isDown(33)) {
this.setScrollPosition(posX, posY - this.vScrollBar_mc.pageSize);
}
}
};
#endinitclip
this.deadPreview._visible = false;
Instance of Symbol 70 MovieClip [FScrollBarSymbol] "scrollBarAsset" in Symbol 512 MovieClip [FScrollPaneSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
_targetInstanceName = "";
horizontal = false;
}
Instance of Symbol 509 MovieClip "loadContent" in Symbol 512 MovieClip [FScrollPaneSymbol] Frame 1
onClipEvent (load) {
if (this._parent.loadReady) {
this._parent.contentLoaded();
delete this._parent.loadReady;
} else if (this._name != "loadContent") {
this._parent.loadReady = true;
}
}
Symbol 515 MovieClip [FCheckBoxSymbol] Frame 1
#initclip 6
function FCheckBoxClass() {
this.init();
}
FCheckBoxClass.prototype = new FUIComponentClass();
Object.registerClass("FCheckBoxSymbol", FCheckBoxClass);
FCheckBoxClass.prototype.init = function () {
super.setSize(this._width, this._height);
this.boundingBox_mc.unloadMovie();
this.attachMovie("fcb_hitArea", "fcb_hitArea_mc", 1);
this.attachMovie("fcb_states", "fcb_states_mc", 2);
this.attachMovie("FLabelSymbol", "fLabel_mc", 3);
super.init();
this.setChangeHandler(this.changeHandler);
this._xscale = 100;
this._yscale = 100;
this.setSize(this.width, this.height);
if (this.initialValue == undefined) {
this.setCheckState(false);
} else {
this.setCheckState(this.initialValue);
}
if (this.label != undefined) {
this.setLabel(this.label);
}
this.ROLE_SYSTEM_CHECKBUTTON = 44;
this.STATE_SYSTEM_CHECKED = 16;
this.EVENT_OBJECT_STATECHANGE = 32778;
this.EVENT_OBJECT_NAMECHANGE = 32780;
this._accImpl.master = this;
this._accImpl.stub = false;
this._accImpl.get_accRole = this.get_accRole;
this._accImpl.get_accName = this.get_accName;
this._accImpl.get_accState = this.get_accState;
this._accImpl.get_accDefaultAction = this.get_accDefaultAction;
this._accImpl.accDoDefaultAction = this.accDoDefaultAction;
};
FCheckBoxClass.prototype.setLabelPlacement = function (pos) {
this.setLabel(this.getLabel());
this.txtFormat(pos);
var halfLabelH = (this.fLabel_mc._height / 2);
var halfFrameH = (this.fcb_states_mc._height / 2);
var vertCenter = (halfFrameH - halfLabelH);
var checkWidth = this.fcb_states_mc._width;
var frame = this.fcb_states_mc;
var label = this.fLabel_mc;
var w = 0;
if (frame._width > this.width) {
w = 0;
} else {
w = this.width - frame._width;
}
this.fLabel_mc.setSize(w);
if ((pos == "right") || (pos == undefined)) {
this.labelPlacement = "right";
this.fcb_states_mc._x = 0;
this.fLabel_mc._x = checkWidth;
this.txtFormat("left");
} else if (pos == "left") {
this.labelPlacement = "left";
this.fLabel_mc._x = 0;
this.fcb_states_mc._x = this.width - checkWidth;
this.txtFormat("right");
}
this.fLabel_mc._y = vertCenter;
this.fcb_hitArea_mc._y = vertCenter;
};
FCheckBoxClass.prototype.txtFormat = function (pos) {
var txtS = this.textStyle;
var sTbl = this.styleTable;
txtS.align = ((sTbl.textAlign.value == undefined) ? ((txtS.align = pos)) : undefined);
txtS.leftMargin = ((sTbl.textLeftMargin.value == undefined) ? ((txtS.leftMargin = 0)) : undefined);
txtS.rightMargin = ((sTbl.textRightMargin.value == undefined) ? ((txtS.rightMargin = 0)) : undefined);
if (this.flabel_mc._height > this.height) {
super.setSize(this.width, this.flabel_mc._height);
} else {
super.setSize(this.width, this.height);
}
this.fLabel_mc.labelField.setTextFormat(this.textStyle);
this.setEnabled(this.enable);
};
FCheckBoxClass.prototype.setHitArea = function (w, h) {
var hit = this.fcb_hitArea_mc;
this.hitArea = hit;
if (this.fcb_states_mc._width > w) {
hit._width = this.fcb_states_mc._width;
} else {
hit._width = w;
}
hit._visible = false;
if (arguments.length > 1) {
hit._height = h;
}
};
FCheckBoxClass.prototype.setSize = function (w) {
this.setLabel(this.getLabel());
this.setLabelPlacement(this.labelPlacement);
if (this.fcb_states_mc._height < this.flabel_mc.labelField._height) {
super.setSize(w, this.flabel_mc.labelField._height);
}
this.setHitArea(this.width, this.height);
this.setLabelPlacement(this.labelPlacement);
};
FCheckBoxClass.prototype.drawFocusRect = function () {
this.drawRect(-2, -2, this._width + 6, this._height - 1);
};
FCheckBoxClass.prototype.onPress = function () {
this.pressFocus();
_root.focusRect.removeMovieClip();
var states = this.fcb_states_mc;
if (this.getValue()) {
states.gotoAndStop("checkedPress");
} else {
states.gotoAndStop("press");
}
};
FCheckBoxClass.prototype.onRelease = function () {
this.fcb_states_mc.gotoAndStop("up");
this.setValue(!this.checked);
};
FCheckBoxClass.prototype.onReleaseOutside = function () {
var states = this.fcb_states_mc;
if (this.getValue()) {
states.gotoAndStop("checkedEnabled");
} else {
states.gotoAndStop("up");
}
};
FCheckBoxClass.prototype.onDragOut = function () {
var states = this.fcb_states_mc;
if (this.getValue()) {
states.gotoAndStop("checkedEnabled");
} else {
states.gotoAndStop("up");
}
};
FCheckBoxClass.prototype.onDragOver = function () {
var states = this.fcb_states_mc;
if (this.getValue()) {
states.gotoAndStop("checkedPress");
} else {
states.gotoAndStop("press");
}
};
FCheckBoxClass.prototype.setValue = function (checkedValue) {
if (checkedValue || (checkedValue == undefined)) {
this.setCheckState(checkedValue);
} else if (checkedValue == false) {
this.setCheckState(checkedValue);
}
this.executeCallBack();
if (Accessibility.isActive()) {
Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_STATECHANGE, true);
}
};
FCheckBoxClass.prototype.setCheckState = function (checkedValue) {
var states = this.fcb_states_mc;
if (this.enable) {
this.flabel_mc.setEnabled(true);
if (checkedValue || (checkedValue == undefined)) {
states.gotoAndStop("checkedEnabled");
this.enabled = true;
this.checked = true;
} else {
states.gotoAndStop("up");
this.enabled = true;
this.checked = false;
}
} else {
this.flabel_mc.setEnabled(false);
if (checkedValue || (checkedValue == undefined)) {
states.gotoAndStop("checkedDisabled");
this.enabled = false;
this.checked = true;
} else {
states.gotoAndStop("uncheckedDisabled");
this.enabled = false;
this.checked = false;
this.focusRect.removeMovieClip();
}
}
};
FCheckBoxClass.prototype.getValue = function () {
return(this.checked);
};
FCheckBoxClass.prototype.setEnabled = function (enable) {
if ((enable == true) || (enable == undefined)) {
this.enable = true;
Super.setEnabled(true);
} else {
this.enable = false;
Super.setEnabled(false);
}
this.setCheckState(this.checked);
};
FCheckBoxClass.prototype.getEnabled = function () {
return(this.enable);
};
FCheckBoxClass.prototype.setLabel = function (label) {
this.fLabel_mc.setLabel(label);
this.txtFormat();
if (Accessibility.isActive()) {
Accessibility.sendEvent(this, 0, this.EVENT_OBJECT_NAMECHANGE);
}
};
FCheckBoxClass.prototype.getLabel = function () {
return(this.fLabel_mc.labelField.text);
};
FCheckBoxClass.prototype.setTextColor = function (color) {
this.fLabel_mc.labelField.textColor = color;
};
FCheckBoxClass.prototype.myOnKeyDown = function () {
if (((Key.getCode() == 32) && (this.pressOnce == undefined)) && (this.enabled == true)) {
this.setValue(!this.getValue());
this.pressOnce = true;
}
};
FCheckBoxClass.prototype.myOnKeyUp = function () {
if (Key.getCode() == 32) {
this.pressOnce = undefined;
}
};
FCheckBoxClass.prototype.get_accRole = function (childId) {
return(this.master.ROLE_SYSTEM_CHECKBUTTON);
};
FCheckBoxClass.prototype.get_accName = function (childId) {
return(this.master.getLabel());
};
FCheckBoxClass.prototype.get_accState = function (childId) {
if (this.master.getValue()) {
return(this.master.STATE_SYSTEM_CHECKED);
}
return(0);
};
FCheckBoxClass.prototype.get_accDefaultAction = function (childId) {
if (this.master.getValue()) {
return("UnCheck");
}
return("Check");
};
FCheckBoxClass.prototype.accDoDefaultAction = function (childId) {
this.master.setValue(!this.master.getValue());
};
#endinitclip
boundingBox_mc._visible = false;
deadPreview._visible = false;
Symbol 516 MovieClip [FComboBoxItemSymbol] Frame 1
#initclip 12
function FComboBoxItemClass() {
this.init();
}
FComboBoxItemClass.prototype = new FSelectableItemClass();
Object.registerClass("FComboBoxItemSymbol", FComboBoxItemClass);
FComboBoxItemClass.prototype.setSize = function (w, h) {
super.setSize(w, h);
this.highlight_mc.onRollOver = function () {
this.controller.controller.selectionHandler(this.controller.itemNum);
};
};
#endinitclip
Symbol 519 MovieClip [FComboBoxSymbol] Frame 1
#initclip 13
function FComboBoxClass() {
_global._popUpLevel = ((_global._popUpLevel == undefined) ? 20000 : (_global._popUpLevel + 1));
this.superHolder = _root.createEmptyMovieClip("superHolder" + _popUpLevel, _popUpLevel);
var testContainer = this.superHolder.createEmptyMovieClip("testCont", 20000);
var testBox = testContainer.attachMovie("FBoundingBoxSymbol", "boundingBox_mc", 0);
if (testBox._name == undefined) {
this.superHolder.removeMovieClip();
this.superHolder = this._parent.createEmptyMovieClip("superHolder" + _popUpLevel, _popUpLevel);
} else {
testContainer.removeMovieClip();
}
if (this.rowCount == undefined) {
this.rowCount = 8;
this.editable = false;
}
this.itemSymbol = "FComboBoxItemSymbol";
this.init();
this.permaScrollBar = false;
this.proxyBox_mc.gotoAndStop(1);
this.width = this._width;
this.height = (this.proxyBox_mc._height * this._yscale) / 100;
var i = 0;
while (i < this.labels.length) {
this.addItem(this.labels[i], this.data[i]);
i++;
}
this.lastSelected = 0;
this.selectItem(0);
this._xscale = (this._yscale = 100);
this.opened = false;
this.setSize(this.width);
this.highlightTop(false);
if (this.changeHandler.length > 0) {
this.setChangeHandler(this.changeHandler);
}
this.onUnload = function () {
this.superHolder.removeMovieClip();
};
this.setSelectedIndex(0, false);
this.value = "";
this.focusEnabled = true;
this.changeFlag = false;
}
FComboBoxClass.prototype = new FScrollSelectListClass();
Object.registerClass("FComboBoxSymbol", FComboBoxClass);
FComboBoxClass.prototype.modelChanged = function (eventObj) {
super.modelChanged(eventObj);
var event = eventObj.event;
if ((event == "addRows") || (event == "deleteRows")) {
var diff = ((eventObj.lastRow - eventObj.firstRow) + 1);
var mode = ((event == "addRows") ? 1 : -1);
var len = this.getLength();
var lenBefore = (len - (mode * diff));
if ((this.rowCount > lenBefore) || (this.rowCount > len)) {
this.invalidate("setSize");
}
if (this.getSelectedIndex() == undefined) {
this.setSelectedIndex(0, false);
}
} else if (event == "updateAll") {
this.invalidate("setSize");
}
};
FComboBoxClass.prototype.removeAll = function () {
if (!this.enable) {
return(undefined);
}
super.removeAll();
if (this.editable) {
this.value = "";
}
this.invalidate("setSize");
};
FComboBoxClass.prototype.setSize = function (w) {
if ((((w == undefined) || (typeof(w) != "number")) || (w <= 0)) || (!this.enable)) {
return(undefined);
}
this.proxyBox_mc._width = w;
this.container_mc.removeMovieClip();
this.measureItmHgt();
this.container_mc = this.superHolder.createEmptyMovieClip("container", 3);
this.container_mc.tabChildren = false;
this.setPopUpLocation(this.container_mc);
this.container_mc.attachMovie("FBoundingBoxSymbol", "boundingBox_mc", 0);
this.boundingBox_mc = this.container_mc.boundingBox_mc;
this.boundingBox_mc.component = this;
this.registerSkinElement(this.boundingBox_mc.boundingBox, "background");
this.proxyBox_mc._height = this.itmHgt;
this.numDisplayed = Math.min(this.rowCount, this.getLength());
if (this.numDisplayed < 3) {
this.numDisplayed = Math.min(3, this.getLength());
}
this.height = (this.numDisplayed * (this.itmHgt - 2)) + 2;
super.setSize(w, this.height);
this.attachMovie("DownArrow", "downArrow", 10);
this.downArrow._y = 0;
this.downArrow._width = this.itmHgt;
this.downArrow._height = this.itmHgt;
this.downArrow._x = this.proxyBox_mc._width - this.downArrow._width;
this.setEditable(this.editable);
this.container_mc._visible = this.opened;
this.highlightTop(false);
this.fader = this.superHolder.attachMovie("FBoundingBoxSymbol", "faderX", 4);
this.registerSkinElement(this.fader.boundingBox, "background");
this.fader._width = this.width;
this.fader._height = this.height;
this.fader._visible = false;
};
FComboBoxClass.prototype.setDataProvider = function (dp) {
super.setDataProvider(dp);
this.invalidate("setSize");
this.setSelectedIndex(0);
};
FComboBoxClass.prototype.getValue = function () {
if (this.editable) {
return(this.fLabel_mc.getLabel());
}
return(super.getValue());
};
FComboBoxClass.prototype.getRowCount = function () {
return(this.rowCount);
};
FComboBoxClass.prototype.setRowCount = function (count) {
this.rowCount = ((this.getLength() > count) ? (Math.max(count, 3)) : (count));
this.setSize(this.width);
var len = this.getLength();
if ((len - this.getScrollPosition()) < this.rowCount) {
this.setScrollPosition(len - Math.min(this.rowCount, len));
this.invalidate("updateControl");
}
};
FComboBoxClass.prototype.setEditable = function (editableFlag) {
if (!this.enable) {
return(undefined);
}
this.editable = editableFlag;
if (!this.editable) {
this.onPress = this.pressHandler;
this.useHandCursor = false;
this.trackAsMenu = true;
this.attachMovie("FComboBoxItemSymbol", "fLabel_mc", 5, {controller:this, itemNum:-1});
this.fLabel_mc.onRollOver = undefined;
this.fLabel_mc.setSize((this.width - this.itmHgt) + 1, this.itmHgt);
this.topLabel = this.getSelectedItem();
this.fLabel_mc.drawItem(this.topLabel, false);
this.highlightTop(false);
} else {
this.attachMovie("FLabelSymbol", "fLabel_mc", 5);
this.fLabel_txt = this.fLabel_mc.labelField;
this.fLabel_txt.type = "input";
this.fLabel_txt._x = 4;
this.fLabel_txt.onSetFocus = this.onLabelFocus;
this.fLabel_mc.setSize((this.width - this.itmHgt) - 3);
delete this.onPress;
this.fLabel_txt.onKillFocus = function () {
this._parent._parent.myOnKillFocus();
};
this.fLabel_mc.setLabel(this.value);
this.fLabel_txt.onChanged = function () {
this._parent._parent.findInputText();
};
this.downArrow.onPress = this.buttonPressHandler;
this.downArrow.useHandCursor = false;
this.downArrow.trackAsMenu = true;
}
};
FComboBoxClass.prototype.setEnabled = function (enabledFlag) {
enabledFlag = (((enabledFlag == undefined) || (typeof(enabledFlag) != "boolean")) ? true : (enabledFlag));
super.setEnabled(enabledFlag);
this.registerSkinElement(this.boundingBox_mc.boundingBox, "background");
this.proxyBox_mc.gotoAndStop((this.enable ? "enabled" : "disabled"));
this.downArrow.gotoAndStop((this.enable ? 1 : 3));
if (this.editable) {
this.fLabel_txt.type = (enabledFlag ? "input" : "dynamic");
this.fLabel_txt.selectable = enabledFlag;
} else if (enabledFlag) {
this.fLabel_mc.drawItem(this.topLabel, false);
this.setSelectedIndex(this.getSelectedIndex(), false);
}
this.fLabel_mc.setEnabled(this.enable);
this.fLabel_txt.onSetFocus = (enabledFlag ? (this.onLabelFocus) : undefined);
};
FComboBoxClass.prototype.setSelectedIndex = function (index, flag) {
super.setSelectedIndex(index, flag);
if (!this.editable) {
this.topLabel = this.getSelectedItem();
this.fLabel_mc.drawItem(this.topLabel, false);
} else {
this.value = ((flag != undefined) ? "" : (this.getSelectedItem().label));
this.fLabel_mc.setLabel(this.value);
}
this.invalidate("updateControl");
};
FComboBoxClass.prototype.setValue = function (value) {
if (this.editable) {
this.fLabel_mc.setLabel(value);
this.value = value;
}
};
FComboBoxClass.prototype.pressHandler = function () {
this.focusRect.removeMovieClip();
if (this.enable) {
if (!this.opened) {
this.onMouseUp = this.releaseHandler;
} else {
this.onMouseUp = undefined;
}
this.changeFlag = false;
if (!this.focused) {
this.pressFocus();
this.clickFilter = (this.editable ? false : true);
}
if (!this.clickFilter) {
this.openOrClose(!this.opened);
} else {
this.clickFilter = false;
}
}
};
FComboBoxClass.prototype.clickHandler = function (itmNum) {
if (!this.focused) {
if (this.editable) {
this.fLabel_txt.onKillFocus = undefined;
}
this.pressFocus();
}
super.clickHandler(itmNum);
this.selectionHandler(itmNum);
this.onMouseUp = this.releaseHandler;
};
FComboBoxClass.prototype.highlightTop = function (flag) {
if (!this.editable) {
this.fLabel_mc.drawItem(this.topLabel, flag);
}
};
FComboBoxClass.prototype.myOnSetFocus = function () {
super.myOnSetFocus();
this.fLabel_mc.highlight_mc.gotoAndStop("enabled");
this.highlightTop(true);
};
FComboBoxClass.prototype.drawFocusRect = function () {
this.drawRect(-2, -2, this.width + 4, this._height + 4);
};
FComboBoxClass.prototype.myOnKillFocus = function () {
if (Selection.getFocus().indexOf("labelField") != -1) {
return(undefined);
}
super.myOnKillFocus();
delete this.fLabel_txt.onKeyDown;
this.openOrClose(false);
this.highlightTop(false);
};
FComboBoxClass.prototype.setPopUpLocation = function (mcRef) {
mcRef._x = this._x;
var point = {x:this._x, y:this._y + this.proxyBox_mc._height};
this._parent.localToGlobal(point);
mcRef._parent.globalToLocal(point);
mcRef._x = point.x;
mcRef._y = point.y;
if ((this.height + mcRef._y) >= Stage.height) {
this.upward = true;
mcRef._y = (point.y - this.height) - this.proxyBox_mc._height;
} else {
this.upward = false;
}
};
FComboBoxClass.prototype.openOrClose = function (flag) {
if (this.getLength() == 0) {
return(undefined);
}
this.setPopUpLocation(this.container_mc);
if ((this.lastSelected != -1) && ((this.lastSelected < this.topDisplayed) || (this.lastSelected > (this.topDisplayed + this.numDisplayed)))) {
super.moveSelBy(this.lastSelected - this.getSelectedIndex());
}
if (!flag) {
(this.downArrow.gotoAndStop(1));// not popped
} else {
(this.downArrow.gotoAndStop(2));// not popped
}
if (flag == this.opened) {
return(undefined);
}
this.highlightTop(!flag);
this.fadeRate = this.styleTable.popUpFade.value;
if (((!flag) || (this.fadeRate == undefined)) || (this.fadeRate == 0)) {
this.opened = (this.container_mc._visible = flag);
return(undefined);
}
this.setPopUpLocation(this.fader);
this.time = 0;
this.const = 85 / Math.sqrt(this.fadeRate);
this.fader._alpha = 85;
this.container_mc._visible = (this.fader._visible = true);
this.onEnterFrame = function () {
this.fader._alpha = 100 - ((this.const * Math.sqrt(++this.time)) + 15);
if (this.time >= this.fadeRate) {
this.fader._visible = false;
delete this.onEnterFrame;
this.opened = true;
}
};
};
FComboBoxClass.prototype.fireChange = function () {
this.lastSelected = this.getSelectedIndex();
if (!this.editable) {
this.topLabel = this.getSelectedItem();
this.fLabel_mc.drawItem(this.topLabel, true);
} else {
this.value = this.getSelectedItem().label;
this.fLabel_mc.setLabel(this.value);
}
this.executeCallback();
};
FComboBoxClass.prototype.releaseHandler = function () {
var onCombo = this.boundingBox_mc.hitTest(_root._xmouse, _root._ymouse);
if (this.changeFlag) {
if (onCombo) {
this.fireChange();
}
this.openOrClose(!this.opened);
} else if (onCombo) {
this.openOrClose(false);
} else {
this.onMouseDown = function () {
if ((!this.boundingBox_mc.hitTest(_root._xmouse, _root._ymouse)) && (!this.hitTest(_root._xmouse, _root._ymouse))) {
this.onMouseDown = undefined;
this.openOrClose(false);
}
};
}
this.changeFlag = false;
this.onMouseUp = undefined;
clearInterval(this.dragScrolling);
this.dragScrolling = undefined;
};
FComboBoxClass.prototype.moveSelBy = function (itemNum) {
if (itemNum != 0) {
super.moveSelBy(itemNum);
if (this.editable) {
this.setValue(this.getSelectedItem().label);
}
if (!this.opened) {
if (this.changeFlag && (!this.isSelected(this.lastSelected))) {
this.fireChange();
}
}
}
};
FComboBoxClass.prototype.myOnKeyDown = function () {
if (!this.focused) {
return(undefined);
}
if (this.editable && (Key.isDown(13))) {
this.setValue(this.fLabel_mc.getLabel());
this.executeCallback();
this.openOrClose(false);
} else if ((Key.isDown(13) || (Key.isDown(32) && (!this.editable))) && (this.opened)) {
if (this.getSelectedIndex() != this.lastSelected) {
this.fireChange();
}
this.openOrClose(false);
this.fLabel_txt.hscroll = 0;
}
super.myOnKeyDown();
};
FComboBoxClass.prototype.findInputText = function () {
if (!this.editable) {
super.findInputText();
}
};
FComboBoxClass.prototype.onLabelFocus = function () {
this._parent._parent.tabFocused = false;
this._parent._parent.focused = true;
this.onKeyDown = function () {
this._parent._parent.myOnKeyDown();
};
Key.addListener(this);
};
FComboBoxClass.prototype.buttonPressHandler = function () {
this._parent.pressHandler();
};
#endinitclip
this.deadPreview._visible = false;
Instance of Symbol 74 MovieClip [FScrollSelectListSymbol] "superClassAsset" in Symbol 519 MovieClip [FComboBoxSymbol] Frame 1
//component parameters
onClipEvent (initialize) {
}
Symbol 543 Button
on (release) {
_root.NewgroundsAPI_loadMyMovie();
}
Symbol 548 Button
on (release) {
_root.NewgroundsAPI_loadMyMovie();
}
Symbol 551 Button
on (release) {
this._visible = false;
}
Symbol 553 MovieClip Frame 1
_visible = false;
_root.NewgroundsAPI = this;
STAT_MOVIE_VIEWS = 1;
STAT_AUTHOR_SITE = 2;
STAT_NEWGROUNDS = 3;
STAT_NEW_VERSION = 4;
STAT_CUSTOM_STATS = 50;
Symbol 553 MovieClip Frame 2
_root.NewgroundsAPI.POPUP_ERROR._visible = false;
_root.NewgroundsAPI.POPUP_VERSION._visible = false;
customStats = new Object();
i = 1;
while (i < _root.NewgroundsAPI_customLinks.length) {
customStats[_root.NewgroundsAPI_customLinks[i]] = i + STAT_CUSTOM_STATS;
i++;
}
i = 1;
while (i < _root.NewgroundsAPI_customEvents.length) {
customStats[_root.NewgroundsAPI_customEvents[i]] = i + STAT_CUSTOM_STATS;
i++;
}
_x = 0;
_y = 0;
configureMovie = function () {
if (_root.NewgroundsAPI_params.error != undefined) {
sendError(_root.NewgroundsAPI_params.error);
}
if (_root.NewgroundsAPI_params.settings_loaded == 1) {
sendMessage("You have successfully connected to the Newgrounds API gateway!");
sendMessage(("Movie Identified as '" + _root.NewgroundsAPI_params.movie_name) + "'");
}
if (_root.NewgroundsAPI_params.deny_host == 1) {
sendMessage(host + " is not approved to use this movie");
_root.NewgroundsAPI_onDenyHost(host, _root.NewgroundsAPI_params.movie_url, (script_url + "&stat=") + STAT_NEW_VERSION);
}
if (_root.NewgroundsAPI_params.movie_version == 1) {
sendMessage(("Version " + _root.NewgroundsAPI_params.movie_version) + " is now available!");
_root.NewgroundsAPI_onNewVersionAvailable(_root.NewgroundsAPI_params.movie_version, _root.NewgroundsAPI_params.movie_url, (script_url + "&stat=") + STAT_NEW_VERSION);
}
if (_root.NewgroundsAPI_params.ad_url != undefined) {
sendMessage("This movie has been approved to use Flash Ads");
_root.NewgroundsAPI_onAdsApproved(_root.NewgroundsAPI_params.ad_url);
}
};
sendError = function (error) {
trace("[NEWGROUNDS API ERROR] " + error);
};
sendMessage = function (message) {
trace("[NEWGROUNDS API] " + message);
};
sendStats = function (stat, new_window) {
if (script_url != undefined) {
query = "&stat=" + stat;
if (new_window == true) {
getURL (script_url + query, "_blank");
} else {
initInfo = new XML();
initInfo.onLoad = function () {
i = 0;
while (i < this.childNodes.length) {
if (this.childNodes[i].nodeName != null) {
j = 0;
while (j < this.childNodes[i].childNodes.length) {
if (this.childNodes[i].childNodes[j].nodeName != null) {
param_name = this.childNodes[i].childNodes[j].nodeName;
param_value = unescape(this.childNodes[i].childNodes[j].attributes.value);
_root.NewgroundsAPI_params[param_name] = param_value;
}
j++;
}
}
i++;
}
_root.NewgroundsAPI.configureMovie();
};
initInfo.load(script_url + query);
}
}
};
host = _url.split("/")[2].toLowerCase();
if (host.length < 1) {
host = "localhost";
}
if (!_root.NewgroundsAPI_id) {
sendError("Missing required '_root.NewgroundsAPI_id' variable");
} else if (!tracker_id) {
tracker_id = _root.NewgroundsAPI_id;
script_url = (("http://www.ngads.com/gateway.php?id=" + tracker_id) + "&host=") + escape(host);
_root.NewgroundsAPI_params = new Object();
sendMessage("Connecting to API gateway...");
sendStats(STAT_MOVIE_VIEWS, false);
}
_root.NewgroundsAPI_loadMyMovie = function () {
_root.NewgroundsAPI.sendStats(_root.NewgroundsAPI.STAT_NEW_VERSION, true);
};
_root.NewgroundsAPI_loadNewgrounds = function () {
_root.NewgroundsAPI.sendStats(_root.NewgroundsAPI.STAT_NEWGROUNDS, true);
};
_root.NewgroundsAPI_loadMySite = function () {
_root.NewgroundsAPI.sendStats(_root.NewgroundsAPI.STAT_AUTHOR_SITE, true);
};
_root.NewgroundsAPI_loadCustomLink = function (link) {
if (_root.NewgroundsAPI.customStats[link]) {
_root.NewgroundsAPI.sendStats(_root.NewgroundsAPI.customStats[link], true);
} else {
_root.NewgroundsAPI.sendError(("The custom link '" + link) + "' has not beed defined.");
}
};
_root.NewgroundsAPI_logCustomEvent = function (event) {
if (_root.NewgroundsAPI.customStats[event]) {
_root.NewgroundsAPI.sendStats(_root.NewgroundsAPI.customStats[event], false);
} else {
_root.NewgroundsAPI.sendError(("The custom event '" + event) + "' has not beed defined.");
}
};
if (typeof(_root.NewgroundsAPI_onDenyHost) != "function") {
_root.NewgroundsAPI_onDenyHost = function (ad_url) {
_root.NewgroundsAPI.swapDepths(99999);
_root.NewgroundsAPI._visible = true;
_root.NewgroundsAPI.POPUP_ERROR._visible = true;
};
}
if (typeof(_root.NewgroundsAPI_onNewVersionAvailable) != "function") {
_root.NewgroundsAPI_onNewVersionAvailable = function (ad_url) {
_root.NewgroundsAPI.swapDepths(99999);
_root.NewgroundsAPI._visible = true;
_root.NewgroundsAPI.POPUP_VERSION._visible = true;
};
}
stop();
Symbol 558 Button
on (release) {
_root.NewgroundsAPI_loadNewgrounds();
}
Symbol 561 Button
on (release) {
_root.NewgroundsAPI_loadNewgrounds();
}
Symbol 563 MovieClip Frame 1
function load_ad() {
url = new XML();
url.onLoad = function (s) {
if (s) {
_root.NewgroundsAPI_Ad_Unit.start_ad(this.toString());
}
};
url.load(_root.NewgroundsAPI_params.ad_url);
}
function start_ad(url) {
trace("[Newgrounds Flash Ads] Your ad was loaded. Your version of flash may have trouble displaying the ad, however, the ad will load fine if you test in a browser!");
ng_ad.loadMovie(url);
}
_root.NewgroundsAPI_Ad_Unit = this;
if (_root.NewgroundsAPI_params.ad_url != undefined) {
_root.NewgroundsAPI_Ad_Unit.load_ad();
}
_root.NewgroundsAPI_onAdsApproved = function () {
_root.NewgroundsAPI_Ad_Unit.load_ad();
};
Symbol 569 Button
on (release) {
getURL ("http://www.afro-ninja.com", "blank");
}
Symbol 577 Button
on (release) {
nextFrame();
}
Symbol 599 MovieClip Frame 1
_root.stop();
Instance of Symbol 593 MovieClip in Symbol 599 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 599 MovieClip Frame 89
stop();
_root.play();
Symbol 599 MovieClip Frame 198
_root.gotoAndStop(2);
Symbol 611 Button
on (release) {
play();
}
Symbol 615 Button
on (release) {
gotoAndStop (197);
}
Symbol 619 Button
on (release) {
gotoAndStop (248);
}
Symbol 620 MovieClip Frame 10
stop();
Symbol 633 MovieClip Frame 1
stop();
Symbol 642 Button
on (release) {
System.showSettings(1);
}
Symbol 645 Button
on (release) {
_root.delMode = true;
nextFrame();
}
Symbol 654 Button
on (release) {
_root.gotoAndPlay("jumpFrame");
}
Symbol 656 Button
on (release) {
this.gotoAndStop(1);
}
Symbol 659 Button
on (release) {
_root.gotoAndPlay("jumpFrame");
}
Symbol 663 Button
on (release) {
this.gotoAndStop(1);
}
Symbol 665 Button
on (release) {
this.gotoAndStop(1);
_root.gotoAndPlay("delframe");
}
Symbol 666 MovieClip Frame 1
stop();
Symbol 672 Button
on (release) {
this.gotoAndStop(1);
}
Symbol 675 Button
on (release) {
System.showSettings(1);
}
Symbol 676 MovieClip Frame 1
stop();
Symbol 681 Button
on (release) {
_root.delMode = false;
prevFrame();
}
Symbol 712 Button
on (release) {
if ((_root.alias == "") || (_root.alias == null)) {
_root.popWindow.gotoAndStop(4);
} else {
nextFrame();
}
}
Symbol 717 Button
on (release) {
this.gotoAndStop(1);
}
Symbol 727 Button
on (release) {
_root.nextFrame();
}
Symbol 729 MovieClip Frame 1
stop();
Symbol 736 Button
on (release) {
unloadMovie ("PC");
if ((_root.picURL == "") || (_root.picURL == null)) {
_root.message.gotoAndStop(4);
_root.aPicURL = "";
} else {
_root.PC.PICLOAD = false;
var checker = _root.picURL.substr(-3, 3);
if ((checker != "jpg") && (checker != "JPG")) {
_root.message.gotoAndStop(3);
_root.aPicURL = "";
} else {
_root.aPicURL = _root.picURL;
loadMovie ([_root.picURL], "PC");
_root.message.gotoAndStop(2);
}
}
}
Symbol 738 MovieClip Frame 1
stop();
Symbol 741 Button
on (release) {
_root.popWindow.gotoAndStop(2);
}
Symbol 748 MovieClip Frame 1
stop();
Symbol 756 MovieClip Frame 1
stop();
Symbol 757 Button
on (release) {
nextFrame();
}
Symbol 758 Button
on (release) {
prevFrame();
}
Symbol 762 Button
on (release) {
var thisStat = new Number(_root.coolpoints);
var ptsR = new Number(_root.premain);
if (thisStat > 0) {
_root.coolpoints--;
_root.premain++;
}
}
Symbol 763 Button
on (release) {
var thisStat = new Number(_root.intelligence);
var ptsR = new Number(_root.premain);
if (thisStat > 0) {
_root.intelligence--;
_root.premain++;
}
}
Symbol 764 Button
on (release) {
var thisStat = new Number(_root.flashskill);
var ptsR = new Number(_root.premain);
if (thisStat > 0) {
_root.flashskill--;
_root.premain++;
}
}
Symbol 765 Button
on (release) {
var thisStat = new Number(_root.coolpoints);
var ptsR = new Number(_root.premain);
if (ptsR > 0) {
_root.coolpoints++;
_root.premain--;
}
}
Symbol 766 Button
on (release) {
var thisStat = new Number(_root.intelligence);
var ptsR = new Number(_root.premain);
if (ptsR > 0) {
_root.intelligence++;
_root.premain--;
}
}
Symbol 767 Button
on (release) {
var thisStat = new Number(_root.flashskill);
var ptsR = new Number(_root.premain);
if (ptsR > 0) {
_root.flashskill++;
_root.premain--;
}
}
Symbol 781 Button
on (release) {
if (_root.premain == 0) {
_root.nextFrame();
} else {
_root.popWindow.gotoAndStop(3);
}
}
Symbol 787 Button
on (release) {
_root.play();
}
Symbol 788 MovieClip Frame 16
stop();
Symbol 791 Button
on (release) {
_root.gotoAndStop("debugg");
}
Symbol 799 Button
on (release) {
gotoAndStop ("reg");
}
Symbol 802 Button
on (release) {
_root.play();
if (modbox.getValue()) {
_root[_root.workingfilename].banimmune = true;
_root[_root.workingfilename].assignedMod = true;
_root[_root.workingfilename].NGstatus = "Moderator";
}
if (affilbox.getValue()) {
_root[_root.workingfilename].assignedAffil = true;
_root[_root.workingfilename].banimmune = true;
_root[_root.workingfilename].NGstatus = "Affiliate";
}
if (affilbox.getValue() && (modbox.getValue())) {
_root[_root.workingfilename].NGstatus = "Moderator, Affiliate";
}
}
Symbol 834 Button
on (release) {
complogon.start();
nextFrame();
}
Symbol 837 Button
on (release) {
gotoAndStop (233);
}
Symbol 840 Button
on (release) {
if ((_root[_root.workingfilename].currentHP - 30) >= 0) {
_root[_root.workingfilename].currentHP = _root[_root.workingfilename].currentHP - 30;
gotoAndStop (231);
} else {
_root.msgs.gotoAndStop(2);
}
}
Symbol 843 Button
on (release) {
if ((_root[_root.workingfilename].currentHP - 25) >= 0) {
_root[_root.workingfilename].currentHP = _root[_root.workingfilename].currentHP - 25;
gotoAndStop (235);
} else {
_root.msgs.gotoAndStop(2);
}
}
Symbol 845 Button
on (release) {
if (!_root[_root.workingfilename].hastrashsecret) {
_root[_root.workingfilename].hastrashsecret = true;
_root.trashclip.nextFrame();
_root[_root.workingfilename].money = _root[_root.workingfilename].money + 100;
_root.statsok = false;
}
}
Symbol 853 Button
on (release) {
_root[_root.workingfilename].SMchkd = true;
_root.smblip._visible = false;
_root.helpclip.gotoAndStop(3);
}
Symbol 856 Button
on (release) {
gotoAndStop (217);
MAINOBJ.flush();
eHandBag.setVolume(100);
}
Symbol 859 Button
on (release) {
_root.helpClip.nextFrame();
}
Instance of Symbol 862 MovieClip "PC2" in Symbol 870 MovieClip Frame 1
onClipEvent (load) {
}
onClipEvent (data) {
_height = 130;
_width = 130;
}
Symbol 873 MovieClip Frame 1
stop();
Symbol 873 MovieClip Frame 2
stop();
Symbol 877 Button
on (release) {
gotoAndStop (248);
}
Symbol 883 MovieClip Frame 1
stop();
Instance of Symbol 880 MovieClip in Symbol 883 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
Symbol 891 MovieClip Frame 1
stop();
Symbol 891 MovieClip Frame 3
function smCheck() {
if (yesorno.getValue() == "off") {
_root[_root.workingfilename].SAFEMODE = false;
}
if (yesorno.getValue() == "on") {
_root[_root.workingfilename].SAFEMODE = true;
}
}
if (_root[_root.workingfilename].SAFEMODE) {
yesorno.setSelectedIndex(1);
}
Instance of Symbol 519 MovieClip [FComboBoxSymbol] "yesorno" in Symbol 891 MovieClip Frame 3
//component parameters
onClipEvent (initialize) {
editable = false;
labels = [];
labels[0] = "off";
labels[1] = "on";
data = [];
data[0] = "off";
data[1] = "on";
rowCount = 8;
changeHandler = "smCheck";
}
Symbol 893 Button
on (release) {
this.gotoAndStop(1);
_root.statsok = true;
}
Symbol 896 MovieClip Frame 1
stop();
Symbol 913 MovieClip Frame 1
stop();
Symbol 913 MovieClip Frame 2
topstat.text = "Newgrounds Status: " + _root[_root.workingfilename].NGstatus;
gamestats.text = (((((((((("Cool Points: " + _root[_root.workingfilename].coolpoints) + "\nIntelligence: ") + _root[_root.workingfilename].intelligence) + "\nFlash Skill: ") + _root[_root.workingfilename].flashskill) + "\nHP: ") + _root[_root.workingfilename].currentHP) + "/") + _root[_root.workingfilename].HP) + "\nMoney: $") + _root[_root.workingfilename].money;
profilestats.text = ((((((((("Signed up: " + _root[_root.workingfilename].signup) + "\nLevel: ") + _root[_root.workingfilename].lvl) + "\nVoting Power: ") + _root[_root.workingfilename].votingpower) + " votes") + "\nExperience Points: ") + _root[_root.workingfilename].exppoints) + "\nStickers: ") + _root[_root.workingfilename].stickersnum;
bbsstats.text = (((((((("Post Count: " + _root[_root.workingfilename].posts) + "\nPosts per Day: ") + _root[_root.workingfilename].postsperday) + "\nTopics Made: ") + _root[_root.workingfilename].topicsmade) + "\nTimes Banned: ") + _root[_root.workingfilename].timesbanned) + "\nHours Lurked: ") + _root[_root.workingfilename].hourslurked;
portalstats.text = (((((((((("Blams: " + _root[_root.workingfilename].blampoints) + "\nSaves: ") + _root[_root.workingfilename].protectpoints) + "\nTotal B/P points: ") + (_root[_root.workingfilename].protectpoints + _root[_root.workingfilename].blampoints)) + "\nReviews Written: ") + _root[_root.workingfilename].reviews) + "\nB/P Rank: ") + _root[_root.workingfilename].BPrank) + "\nWhistle Level: ") + _root[_root.workingfilename].whistle;
flashstats.text = (((((((((((("Batting Average: " + _root[_root.workingfilename].BA) + "\nUsers with you \nMarked as their Favorite: ") + _root[_root.workingfilename].bookmarked) + "\nTotal Reviews: ") + _root[_root.workingfilename].totrevs) + "\nTotal Views: ") + _root[_root.workingfilename].totviews) + "\nPortal Awards: ") + _root[_root.workingfilename].awardswon) + "\nMovies Made: ") + _root[_root.workingfilename].totsubs) + "\nMovies Blammed: ") + _root[_root.workingfilename].moviesblammed;
miscstats.text = (((((("Days Passed in Game: " + (new Number(_root[_root.workingfilename].day) - 1)) + "\nMoney Made: $") + _root[_root.workingfilename].moneymade) + "\nBooks Read: ") + _root[_root.workingfilename].booksread) + "\nHours Worked: ") + _root[_root.workingfilename].hoursworked;
Symbol 920 MovieClip Frame 1
stop();
_root.statsok = true;
Symbol 920 MovieClip Frame 2
_root.statsok = false;
Symbol 920 MovieClip Frame 3
_root.statsok = false;
Symbol 920 MovieClip Frame 4
_root.statsok = false;
Symbol 920 MovieClip Frame 5
_root.statsok = false;
Symbol 920 MovieClip Frame 6
_root.statsok = false;
Symbol 1003 MovieClip Frame 1
stop();
Symbol 1026 Button
on (release) {
_root.IE.gotoAndPlay(2);
_root.tools.gotoAndStop(3);
_root.tools.title.text = "http://www.newgrou...";
}
Symbol 1030 Button
on (release) {
_root.np23.nextFrame();
_root.tools.gotoAndStop(2);
}
Symbol 1040 Button
on (release) {
this.gotoAndStop(1);
_root.tools.gotoAndStop(1);
_root.tools2.gotoAndStop(1);
}
Symbol 1057 Button
on (release) {
if ((_root[_root.workingfilename].currentHP - 15) >= 0) {
_root[_root.workingfilename].currentHP = _root[_root.workingfilename].currentHP - 15;
_root.gotoAndStop("lurker");
} else {
_root.msgs.gotoAndStop(2);
}
}
Symbol 1061 Button
on (release) {
if (_root[_root.workingfilename].alias == "BatteryClock") {
_root[_root.workingfilename].banreason = "You are banned. Forever.";
_root[_root.workingfilename].bandaysleft = 999999 /* 0x0F423F */;
_root[_root.workingfilename].fullban = 999999 /* 0x0F423F */;
_root.gotoAndStop("BAN");
}
if (_root[_root.workingfilename].banned) {
_root.gotoAndStop("BAN");
} else if (_root[_root.workingfilename].alias != "BatteryClock") {
if ((_root[_root.workingfilename].currentHP - 20) >= 0) {
_root[_root.workingfilename].currentHP = _root[_root.workingfilename].currentHP - 20;
_root.gotoAndStop("poster");
} else {
_root.msgs.gotoAndStop(2);
}
}
}
Symbol 1063 Button
on (release) {
if ((_root[_root.workingfilename].currentHP - 20) >= 0) {
_root[_root.workingfilename].currentHP = _root[_root.workingfilename].currentHP - 20;
_root.gotoAndStop("reviewer");
} else {
_root.msgs.gotoAndStop(2);
}
}
Symbol 1067 Button
on (release) {
if ((_root[_root.workingfilename].currentHP - 10) >= 0) {
_root[_root.workingfilename].currentHP = _root[_root.workingfilename].currentHP - 10;
_root.gotoAndStop("blammer");
} else {
_root.msgs.gotoAndStop(2);
}
}
Symbol 1070 Button
on (release) {
var count = 0;
i = 0;
while (i <= _root[_root.workingfilename].flashindex) {
var tempObj = _root[_root.workingfilename].MOVIES[i];
if (tempObj.canbesubmitted) {
count++;
}
i++;
}
if (count > 0) {
if ((_root[_root.workingfilename].currentHP - 15) >= 0) {
_root.IE.openfile.nextFrame();
} else {
_root.msgs.gotoAndStop(2);
}
} else {
_root.msgs.gotoAndStop(3);
}
}
Symbol 1086 MovieClip Frame 1
stop();
Symbol 1089 Button
on (release) {
_root.IE.profedit.nextFrame();
}
Symbol 1092 Button
on (release) {
var count = 0;
i = 0;
while (i <= _root[_root.workingfilename].flashindex) {
var tempObj = _root[_root.workingfilename].MOVIES[i];
if (tempObj.inPortal) {
count++;
}
i++;
}
if (count > 0) {
_root.IE.mdisplay.nextFrame();
_root.tools2.gotoAndStop(2);
} else {
_root.msgs.gotoAndStop(6);
}
}
Symbol 1095 Button
on (release) {
profileclip.nextFrame();
_root.tools2.gotoAndStop(3);
}
Symbol 1099 Button
on (release) {
this.gotoAndStop(1);
_root.tools2.gotoAndStop(1);
}
Symbol 1101 MovieClip Frame 1
stop();
Symbol 1101 MovieClip Frame 2
scrollpane.setStyleProperty("background", 0);
scrollpane.setScrollContent("profilestartclip");
namedisplay.text = _root[_root.workingfilename].alias;
var profClip = scrollpane.getScrollContent();
var starty = (profClip._height - 80);
var endy;
i = 1;
while (i <= (_root[_root.workingfilename].awardindex - 1)) {
var award = profClip.attachMovie("paward", "award" + i, 500 + i);
award._x = award._x - 25;
award._y = starty;
starty = starty + 12;
var tempObj = _root[_root.workingfilename].AWARDS[i];
award.info.html = true;
award.info.htmlText = (((i + ". <u>") + tempObj.movie) + "</u>, ") + tempObj.kind;
var endy = award._y;
i++;
}
var prof2Clip = profClip.attachMovie("profileendclip", "lolalot", 1000);
if (_root[_root.workingfilename].awardswon > 0) {
prof2Clip._y = (endy + (prof2Clip._height / 2)) - 30;
} else {
prof2Clip._y = prof2Clip._y + (((prof2Clip._height / 2) + (profClip._height / 2)) + 25);
}
scrollpane.refreshPane();
profClip.alias.text = _root[_root.workingfilename].alias;
profClip.web.html = true;
profClip.web.htmlText = ((("<u><a href=\"" + _root[_root.workingfilename].weburl) + "\" target=\"blank\">") + _root[_root.workingfilename].webname) + "</a></u>";
profClip.aim.html = true;
profClip.aim.htmlText = ((("<u><a href=\"aim:goim?screenname=" + _root[_root.workingfilename].aim) + "\">") + _root[_root.workingfilename].aim) + "</a></u>";
profClip.age.text = _root[_root.workingfilename].age;
profClip.gender.text = _root[_root.workingfilename].gender;
profClip.habitat.text = _root[_root.workingfilename].habitat;
profClip.job.text = _root[_root.workingfilename].job;
if ((_root[_root.workingfilename].picURL != null) && (_root[_root.workingfilename].picURL != "")) {
loadMovie (_root[_root.workingfilename].picURL, "profClip.profpic");
} else {
profClip.profpic.nextFrame();
}
profClip.holdauras.gotoAndStop(_root[_root.workingfilename].aura);
profClip.holdauras.aura.gotoAndStop(_root[_root.workingfilename].lvl);
if (_root[_root.workingfilename].alias == "ahumantarget") {
profClip.holdauras.aura.gotoAndStop(30);
}
if (_root[_root.workingfilename].alias == "pennybainsextoy") {
profClip.holdauras.gotoAndStop(4);
}
profClip.auratext.html = true;
profClip.level.html = true;
profClip.auratext.htmlText = ("<u>" + _root[_root.workingfilename].aura) + "</u>";
profClip.level.htmlText = ("<u>LV " + _root[_root.workingfilename].lvl) + "</u>";
profClip.msg.text = ("Message from " + _root[_root.workingfilename].alias) + ":";
profClip.profmessage.text = _root[_root.workingfilename].profileMessage;
profClip.expers.text = (("Exp. Points: " + _root[_root.workingfilename].exppoints) + "/") + _root[_root.workingfilename].tillnextlevel;
profClip.signy.text = "Sign-up Date: " + _root[_root.workingfilename].signup;
profClip.reviews1.html = true;
profClip.reviews1.htmlText = ("<u>Reviews written by " + _root[_root.workingfilename].alias) + ":</u>";
profClip.reviews2.text = _root[_root.workingfilename].reviews + " reviews available";
profClip.flashby.text = ("Flash by " + _root[_root.workingfilename].alias) + ":";
profClip.musicby.text = ("Music by " + _root[_root.workingfilename].alias) + ":";
prof2Clip.stickers.text = _root[_root.workingfilename].stickersnum;
prof2Clip.VP.text = _root[_root.workingfilename].votingpower + " votes";
prof2Clip.rank.text = _root[_root.workingfilename].BPrank;
prof2Clip.bpclip.gotoAndStop(_root[_root.workingfilename].BPlevel);
prof2Clip.blams.text = ("Involved in the termination of " + _root[_root.workingfilename].blampoints) + " crappy entries.";
prof2Clip.saves.text = ("Assisted in the protection of " + _root[_root.workingfilename].protectpoints) + " quality entries.";
prof2Clip.wclip.gotoAndStop(_root[_root.workingfilename].whistle);
prof2Clip.wrank.text = _root[_root.workingfilename].whistle;
if (_root[_root.workingfilename].alias == "lessthandiamond") {
prof2Clip.wrank.text = "Gold";
} else if (_root[_root.workingfilename].alias == "walkonwater") {
prof2Clip.wrank.text = "Deity";
} else if (_root[_root.workingfilename].alias == "betterthansteel") {
prof2Clip.wrank.text = "Silver";
} else if (_root[_root.workingfilename].alias == "cheapmetal") {
prof2Clip.wrank.text = "Bronze";
} else if (_root[_root.workingfilename].alias == "averagejoe") {
prof2Clip.wrank.text = "Normal";
} else if (_root[_root.workingfilename].alias == "takeoutthetrash") {
prof2Clip.wrank.text = "Garbage";
}
prof2Clip.postformat.html = true;
prof2Clip.postformat.htmlText = "<u>BBS Posts</u>";
prof2Clip.postsline.text = ((_root[_root.workingfilename].posts + " in total (") + _root[_root.workingfilename].postsperday) + " per day)";
if (_root[_root.workingfilename].BA != "n/a") {
prof2Clip.BA.html = true;
prof2Clip.BA.htmlText = ((_root[_root.workingfilename].BA + " (<b>") + _root[_root.workingfilename].BAgrade) + "</b>)";
}
prof2Clip.film1.html = true;
prof2Clip.film2.html = true;
prof2Clip.film3.html = true;
prof2Clip.band1.html = true;
prof2Clip.band2.html = true;
prof2Clip.band3.html = true;
prof2Clip.film1.htmlText = ("<u>" + _root[_root.workingfilename].film1) + "</u>";
prof2Clip.film2.htmlText = ("<u>" + _root[_root.workingfilename].film2) + "</u>";
prof2Clip.film3.htmlText = ("<u>" + _root[_root.workingfilename].film3) + "</u>";
prof2Clip.band1.htmlText = ("<u>" + _root[_root.workingfilename].band1) + "</u>";
prof2Clip.band2.htmlText = ("<u>" + _root[_root.workingfilename].band2) + "</u>";
prof2Clip.band3.htmlText = ("<u>" + _root[_root.workingfilename].band3) + "</u>";
scrollpane.refreshPane();
Instance of Symbol 512 MovieClip [FScrollPaneSymbol] "scrollpane" in Symbol 1101 MovieClip Frame 2
//component parameters
onClipEvent (initialize) {
scrollContent = "";
hScroll = "false";
vScroll = "auto";
dragContent = false;
}
Symbol 1105 Button
on (release) {
this.gotoAndStop(1);
}
Symbol 1107 Button
on (release) {
_root[_root.workingfilename].MOVIES[_root[_root.workingfilename].submitIndex].canbesubmitted = false;
_root[_root.workingfilename].MOVIES[_root[_root.workingfilename].submitIndex].inPortal = true;
_root[_root.workingfilename].MOVIES[_root[_root.workingfilename].submitIndex].underJudgement = true;
var topic = ("Your Portal submission: " + _root[_root.workingfilename].MOVIES[_root[_root.workingfilename].submitIndex].title);
var body = "Thanks for submitting your movie to the Portal!\n\nYour movie is currently under judgement and will have a score by tomorrow. Just log on to newgrounds and view your movies to see. If it is blammed it will not show up, and you will be notified via email.\n\nTo find answers to any questions you might have about the Portal, consult the Portal FAQ at http://www.newgrounds.com/portal/faq.html. If you still have unanswered questions after that, send e-mail to portaladmin@newgrounds.com.\n\nNote: Do NOT reply to this message. If you do, it will get sent back to you.";
_root[_root.workingfilename].EMAIL.push(new _root.MailMessage(topic, body, "P-bot", true));
_root[_root.workingfilename].mailindex++;
_root[_root.workingfilename].currentHP = _root[_root.workingfilename].currentHP - 15;
nextFrame();
}
Symbol 1109 MovieClip Frame 1
stop();
Symbol 1109 MovieClip Frame 2
var starter = filepane.getScrollContent();
starter._y = starter._y + 5;
var yspacing = 0;
i = 0;
while (i <= _root[_root.workingfilename].flashindex) {
var tempObj = _root[_root.workingfilename].MOVIES[i];
if (tempObj.canbesubmitted) {
var singlefile = starter.attachMovie("dialogfile", "file" + i, i + 1);
singlefile.filename.text = tempObj.title;
singlefile._y = yspacing;
singlefile._y = singlefile._y + 3;
singlefile._x = 2;
yspacing = yspacing + 16;
singlefile.onRelease = function () {
_root[_root.workingfilename].submitIndex = parseInt(this._name.substr(4, 1));
if (this._name.charAt(5) != "") {
_root[_root.workingfilename].submitIndex = parseInt(this._name.substr(4, 2));
}
if (this._name.charAt(6) != "") {
_root[_root.workingfilename].submitIndex = parseInt(this._name.substr(4, 3));
}
_root.IE.openfile.nextFrame();
};
}
i++;
}
filepane.refreshPane();
Instance of Symbol 512 MovieClip [FScrollPaneSymbol] "filepane" in Symbol 1109 MovieClip Frame 2
//component parameters
onClipEvent (initialize) {
scrollContent = "filepanestarter";
hScroll = "false";
vScroll = "auto";
dragContent = false;
}
Symbol 1109 MovieClip Frame 4
if (_root[_root.workingfilename].assignedAffil) {
_root[_root.workingfilename].coolpoints = _root[_root.workingfilename].coolpoints + 10;
extra.text = extra.text + "\n(+10 cool points)";
}
Symbol 1113 Button
on (release) {
this.gotoAndStop(1);
_root.tools2.gotoAndStop(1);
}
Symbol 1114 MovieClip Frame 1
stop();
Symbol 1114 MovieClip Frame 2
mpane.setStyleProperty("background", 0);
var starter = mpane.getScrollContent();
starter._y = starter._y + 3;
var yspacing = (starter._height + 2);
i = 0;
while (i <= _root[_root.workingfilename].flashindex) {
var tempObj = _root[_root.workingfilename].MOVIES[i];
if (tempObj.inPortal) {
var singlefile = starter.attachMovie("movieviewcontainerclip", "mov" + i, i + 1);
singlefile._y = yspacing;
yspacing = yspacing + 26;
if (tempObj.underJudgement) {
singlefile.nextFrame();
singlefile.title2.text = tempObj.title;
} else {
singlefile.title.text = tempObj.title;
singlefile.score.text = tempObj.score;
singlefile.views.text = tempObj.views;
singlefile.reviews.text = tempObj.reviews;
}
}
i++;
}
mpane.refreshPane();
Instance of Symbol 512 MovieClip [FScrollPaneSymbol] "mpane" in Symbol 1114 MovieClip Frame 2
//component parameters
onClipEvent (initialize) {
scrollContent = "viewmoviestarter";
hScroll = "false";
vScroll = "auto";
dragContent = false;
}
Symbol 1119 Button
on (release) {
this.nextFrame();
}
Symbol 1122 Button
on (release) {
this.gotoAndStop(4);
}
Symbol 1125 Button
on (release) {
this.gotoAndStop(1);
}
Symbol 1129 Button
on (release) {
var picUrl = URL.text;
unloadMovie ("PC");
if ((picURL == "") || (picURL == null)) {
_root.IE.profEdit.message.gotoAndStop(4);
aPicURL = "";
} else {
_root.IE.profEdit.PC.PICLOAD = false;
var checker = picURL.substr(-3, 3);
if ((checker != "jpg") && (checker != "JPG")) {
_root.IE.profEdit.message.gotoAndStop(3);
aPicURL = "";
} else {
aPicURL = picURL;
loadMovie ([picURL], "PC");
_root.IE.profEdit.message.gotoAndStop(2);
}
}
}
Symbol 1130 Button
on (release) {
_root.IE.profEdit.popWindow.gotoAndStop(2);
}
Symbol 1136 Button
on (release) {
this.prevFrame();
}
Symbol 1139 Button
on (release) {
_root[_root.workingfilename].profileMessage = MSG.text;
_root[_root.workingfilename].aura = achoice.getValue();
_root[_root.workingfilename].picURL = aPicUrl;
this.prevFrame();
}
Symbol 1154 Button
on (release) {
this.gotoAndStop(2);
}
Symbol 1155 Button
on (release) {
if ((nametb.text == "") || (nametb.text == null)) {
_root.IE.profEdit.popWindow.gotoAndStop(4);
} else {
_root[_root.workingfilename].alias = nametb.text;
_root[_root.workingfilename].age = agetb.text;
_root[_root.workingfilename].habitat = habtb.text;
_root[_root.workingfilename].job = jobtb.text;
_root[_root.workingfilename].aim = aimtb.text;
_root[_root.workingfilename].webname = webtb.text;
_root[_root.workingfilename].weburl = weburltb.text;
_root[_root.workingfilename].film1 = film1tb.text;
_root[_root.workingfilename].film2 = film2tb.text;
_root[_root.workingfilename].film3 = film3tb.text;
_root[_root.workingfilename].band1 = band1tb.text;
_root[_root.workingfilename].band2 = band2tb.text;
_root[_root.workingfilename].band3 = band3tb.text;
_root[_root.workingfilename].gender = genderS.getValue();
_root.wpc.gotoAndStop(_root[_root.workingfilename].alias);
this.gotoAndStop(2);
}
if (_root[_root.workingfilename].alias == "deleteallemail") {
_root[_root.workingfilename].EMAIL.splice(0, 3000);
_root[_root.workingfilename].mailindex = 0;
}
if (_root[_root.workingfilename].alias == "tdiggler") {
_root.IE.ngspecial.gotoAndStop(2);
} else if (_root[_root.workingfilename].alias == "imadrivin") {
_root.IE.ngspecial.gotoAndStop(3);
} else {
_root.IE.ngspecial.gotoAndStop(1);
}
battingAverage();
}
Symbol 1156 MovieClip Frame 1
stop();
_root.statsok = true;
Symbol 1156 MovieClip Frame 2
_root.statsok = false;
Symbol 1156 MovieClip Frame 3
if (_root[_root.workingfilename].aura == "Dark") {
_root.IE.profEdit.achoice.setSelectedIndex(1);
} else if (_root[_root.workingfilename].aura == "Light") {
_root.IE.profEdit.achoice.setSelectedIndex(2);
}
if ((_root[_root.workingfilename].picURL != null) && (_root[_root.workingfilename].picURL != "")) {
loadMovie ([_root[_root.workingfilename].picURL], "PC");
}
URL.text = _root[_root.workingfilename].picURL;
MSG.text = _root[_root.workingfilename].profileMessage;
auraPick = function () {
_root.IE.profEdit.AURA.gotoAndStop([achoice.getValue()]);
};
var aPicUrl = _root[_root.workingfilename].picURL;
URL.tabIndex = 0;
MSG.tabIndex = 1;
Instance of Symbol 738 MovieClip "PC" in Symbol 1156 MovieClip Frame 3
onClipEvent (data) {
this.PICLOAD = true;
_height = 150;
_width = 150;
}
Instance of Symbol 748 MovieClip "message" in Symbol 1156 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.IE.profEdit.PC.PICLOAD) {
this.gotoAndStop(1);
}
}
Instance of Symbol 519 MovieClip [FComboBoxSymbol] "achoice" in Symbol 1156 MovieClip Frame 3
//component parameters
onClipEvent (initialize) {
editable = false;
labels = [];
labels[0] = "neutral";
labels[1] = "dark";
labels[2] = "light";
data = [];
data[0] = "Neutral";
data[1] = "Dark";
data[2] = "Light";
rowCount = 8;
changeHandler = "auraPick";
}
Instance of Symbol 756 MovieClip "AURA" in Symbol 1156 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(_root[_root.workingfilename].aura);
}
Symbol 1156 MovieClip Frame 4
if (_root[_root.workingfilename].gender == "Female") {
_root.IE.profEdit.genderS.setSelectedIndex(1);
}
nametb.text = _root[_root.workingfilename].alias;
agetb.text = _root[_root.workingfilename].age;
habtb.text = _root[_root.workingfilename].habitat;
jobtb.text = _root[_root.workingfilename].job;
aimtb.text = _root[_root.workingfilename].aim;
webtb.text = _root[_root.workingfilename].webname;
weburltb.text = _root[_root.workingfilename].weburl;
film1tb.text = _root[_root.workingfilename].film1;
film2tb.text = _root[_root.workingfilename].film2;
film3tb.text = _root[_root.workingfilename].film3;
band1tb.text = _root[_root.workingfilename].band1;
band2tb.text = _root[_root.workingfilename].band2;
band3tb.text = _root[_root.workingfilename].band3;
nametb.tabIndex = 0;
agetb.tabIndex = 1;
habtb.tabIndex = 3;
jobtb.tabIndex = 4;
aimtb.tabIndex = 5;
webtb.tabIndex = 6;
weburltb.tabIndex = 7;
film1tb.tabIndex = 8;
film2tb.tabIndex = 9;
film3tb.tabIndex = 10;
band1tb.tabIndex = 11;
band2tb.tabIndex = 12;
band3tb.tabIndex = 13;
Instance of Symbol 519 MovieClip [FComboBoxSymbol] "genderS" in Symbol 1156 MovieClip Frame 4
//component parameters
onClipEvent (initialize) {
editable = false;
labels = [];
labels[0] = "Male";
labels[1] = "Female";
data = [];
data[0] = "Male";
data[1] = "Female";
rowCount = 8;
changeHandler = "genderPick";
}
Symbol 1170 MovieClip Frame 1
stop();
Symbol 1177 MovieClip Frame 1
stop();
Symbol 1182 MovieClip Frame 1
stop();
Symbol 1188 MovieClip Frame 1
stop();
Symbol 1193 MovieClip Frame 1
stop();
Symbol 1198 MovieClip Frame 1
stop();
Symbol 1199 MovieClip Frame 1
urlPick = function () {
var site = urlline.getValue();
if ((site == "newgrounds") && (site != currentsite)) {
_root.tools.title.text = "http://www.newgro...";
this.gotoAndPlay(2);
} else if ((site == "amazon") && (site != currentsite)) {
_root.tools.title.text = "http://www.amazon...";
this.gotoAndPlay(15);
}
};
stop();
Symbol 1199 MovieClip Frame 2
currentsite = "newgrounds";
Instance of Symbol 519 MovieClip [FComboBoxSymbol] "urlline" in Symbol 1199 MovieClip Frame 2
//component parameters
onClipEvent (initialize) {
editable = false;
labels = [];
labels[0] = "http://www.newgrounds.com";
labels[1] = "http://www.amazon.com";
data = [];
data[0] = "newgrounds";
data[1] = "amazon";
rowCount = 8;
changeHandler = "urlPick";
}
Symbol 1199 MovieClip Frame 14
stop();
_root.tools.title.text = "Newgrounds.com - T...";
Instance of Symbol 1086 MovieClip "ngspecial" in Symbol 1199 MovieClip Frame 14
onClipEvent (load) {
if (_root[_root.workingfilename].alias == "tdiggler") {
this.nextFrame();
}
if (_root[_root.workingfilename].alias == "imadrivin") {
this.gotoAndStop(3);
}
}
Symbol 1199 MovieClip Frame 15
currentsite = "amazon";
Symbol 1199 MovieClip Frame 27
stop();
_root.tools.title.text = "Amazon.com: Welco...";
Instance of Symbol 1170 MovieClip "flash" in Symbol 1199 MovieClip Frame 27
onClipEvent (load) {
_visible = (!_root[_root.workingfilename].hasflash);
}
on (rollOver) {
nextFrame();
}
on (rollOut) {
prevFrame();
}
on (release) {
if ((_root[_root.workingfilename].money - 500) >= 0) {
_root[_root.workingfilename].money = _root[_root.workingfilename].money - 500;
_root.msgs.gotoAndStop(5);
_root[_root.workingfilename].hasflash = true;
_root.flashicos._visible = true;
this._visible = false;
} else {
_root.msgs.gotoAndStop(4);
}
}
Instance of Symbol 1177 MovieClip "flashbook" in Symbol 1199 MovieClip Frame 27
onClipEvent (load) {
_visible = (!_root[_root.workingfilename].hasflashbook);
}
on (rollOver) {
nextFrame();
}
on (rollOut) {
prevFrame();
}
on (release) {
if ((_root[_root.workingfilename].money - 50) >= 0) {
_root[_root.workingfilename].money = _root[_root.workingfilename].money - 50;
_root.msgs.gotoAndStop(5);
_root[_root.workingfilename].hasflashbook = true;
_root[_root.workingfilename].flashskill = _root[_root.workingfilename].flashskill + 30;
this._visible = false;
} else {
_root.msgs.gotoAndStop(4);
}
}
Instance of Symbol 1182 MovieClip "photoshop" in Symbol 1199 MovieClip Frame 27
onClipEvent (load) {
_visible = (!_root[_root.workingfilename].hasphotoshop);
}
on (rollOver) {
nextFrame();
}
on (rollOut) {
prevFrame();
}
on (release) {
if ((_root[_root.workingfilename].money - 1000) >= 0) {
_root[_root.workingfilename].money = _root[_root.workingfilename].money - 1000;
_root.msgs.gotoAndStop(5);
_root[_root.workingfilename].hasphotoshop = true;
_root[_root.workingfilename].flashskill = _root[_root.workingfilename].flashskill + 100;
this._visible = false;
} else {
_root.msgs.gotoAndStop(4);
}
}
Instance of Symbol 1188 MovieClip "swift" in Symbol 1199 MovieClip Frame 27
onClipEvent (load) {
if (_root[_root.workingfilename].day >= 50) {
_visible = (!_root[_root.workingfilename].hasswift);
} else {
_visible = false;
}
}
on (rollOver) {
nextFrame();
}
on (rollOut) {
prevFrame();
}
on (release) {
if ((_root[_root.workingfilename].money - 200) >= 0) {
_root[_root.workingfilename].money = _root[_root.workingfilename].money - 200;
_root.msgs.gotoAndStop(5);
_root[_root.workingfilename].hasswift = true;
_root[_root.workingfilename].flashskill = _root[_root.workingfilename].flashskill + 75;
this._visible = false;
} else {
_root.msgs.gotoAndStop(4);
}
}
Instance of Symbol 1193 MovieClip "asbook" in Symbol 1199 MovieClip Frame 27
onClipEvent (load) {
if (_root[_root.workingfilename].day >= 100) {
_visible = (!_root[_root.workingfilename].hasasbook);
} else {
_visible = false;
}
}
on (rollOver) {
nextFrame();
}
on (rollOut) {
prevFrame();
}
on (release) {
if ((_root[_root.workingfilename].money - 100) >= 0) {
_root[_root.workingfilename].money = _root[_root.workingfilename].money - 100;
_root.msgs.gotoAndStop(5);
_root[_root.workingfilename].hasasbook = true;
_root[_root.workingfilename].flashskill = _root[_root.workingfilename].flashskill + 40;
this._visible = false;
} else {
_root.msgs.gotoAndStop(4);
}
}
Instance of Symbol 1198 MovieClip "tablet" in Symbol 1199 MovieClip Frame 27
onClipEvent (load) {
if (_root[_root.workingfilename].day >= 150) {
_visible = (!_root[_root.workingfilename].hastablet);
} else {
_visible = false;
}
}
on (rollOver) {
nextFrame();
}
on (rollOut) {
prevFrame();
}
on (release) {
if ((_root[_root.workingfilename].money - 1250) >= 0) {
_root[_root.workingfilename].money = _root[_root.workingfilename].money - 1250;
_root.msgs.gotoAndStop(5);
_root[_root.workingfilename].hastablet = true;
_root[_root.workingfilename].flashskill = _root[_root.workingfilename].flashskill + 175;
this._visible = false;
} else {
_root.msgs.gotoAndStop(4);
}
}
Symbol 1205 Button
on (release) {
this.prevFrame();
_root.tools.gotoAndStop(1);
}
Symbol 1206 MovieClip Frame 1
stop();
Symbol 1244 MovieClip Frame 1
stop();
Symbol 1250 Button
on (release) {
if ((_root[_root.workingfilename].currentHP - 15) >= 0) {
_root[_root.workingfilename].currentHP = _root[_root.workingfilename].currentHP - 15;
_root.gotoAndStop("flasher");
} else {
_root.msgs.gotoAndStop(2);
}
}
Symbol 1256 MovieClip Frame 1
stop();
Symbol 1262 MovieClip Frame 1
stop();
Symbol 1267 MovieClip Frame 1
stop();
Symbol 1271 MovieClip Frame 1
stop();
Symbol 1275 MovieClip Frame 1
stop();
Symbol 1279 MovieClip Frame 1
stop();
Symbol 1283 MovieClip Frame 1
stop();
Symbol 1289 Button
on (release) {
_root.statsok = true;
_root[_root.workingfilename].hasmovies = true;
var name = rawr.text;
_root[_root.workingfilename].MOVIES[_root[_root.workingfilename].flashindex] = new _root.FlashMovie(name, "stick", 2, 10, 3);
_root[_root.workingfilename].flashindex++;
nextFrame();
}
Symbol 1291 Button
on (release) {
_root.statsok = true;
this.prevFrame();
}
Symbol 1293 Button
on (release) {
_root.tools.gotoAndStop(1);
_root.flash.gotoAndStop(1);
}
Symbol 1294 MovieClip Frame 1
stop();
Symbol 1294 MovieClip Frame 2
_root.statsok = false;
rawr.text = "Untitled" + _root[_root.workingfilename].flashindex;
Symbol 1297 Button
on (release) {
_root.statsok = true;
_root[_root.workingfilename].hasmovies = true;
var name = rawr.text;
_root[_root.workingfilename].MOVIES[_root[_root.workingfilename].flashindex] = new _root.FlashMovie(name, "dressup", 3, 10, 6);
_root[_root.workingfilename].flashindex++;
nextFrame();
}
Symbol 1299 MovieClip Frame 1
stop();
Symbol 1299 MovieClip Frame 2
_root.statsok = false;
rawr.text = "Untitled" + _root[_root.workingfilename].flashindex;
Symbol 1301 Button
on (release) {
_root.statsok = true;
_root[_root.workingfilename].hasmovies = true;
var name = rawr.text;
_root[_root.workingfilename].MOVIES[_root[_root.workingfilename].flashindex] = new _root.FlashMovie(name, "video", 5, 15, 10);
_root[_root.workingfilename].flashindex++;
nextFrame();
}
Symbol 1303 MovieClip Frame 1
stop();
Symbol 1303 MovieClip Frame 2
_root.statsok = false;
rawr.text = "Untitled" + _root[_root.workingfilename].flashindex;
Symbol 1305 Button
on (release) {
_root.statsok = true;
_root[_root.workingfilename].hasmovies = true;
var name = rawr.text;
_root[_root.workingfilename].MOVIES[_root[_root.workingfilename].flashindex] = new _root.FlashMovie(name, "sprite", 8, 15, 15);
_root[_root.workingfilename].flashindex++;
nextFrame();
}
Symbol 1307 MovieClip Frame 1
stop();
Symbol 1307 MovieClip Frame 2
_root.statsok = false;
rawr.text = "Untitled" + _root[_root.workingfilename].flashindex;
Symbol 1309 Button
on (release) {
_root.statsok = true;
_root[_root.workingfilename].hasmovies = true;
var name = rawr.text;
_root[_root.workingfilename].MOVIES[_root[_root.workingfilename].flashindex] = new _root.FlashMovie(name, "parody", 10, 20, 20);
_root[_root.workingfilename].flashindex++;
nextFrame();
}
Symbol 1311 MovieClip Frame 1
stop();
Symbol 1311 MovieClip Frame 2
_root.statsok = false;
rawr.text = "Untitled" + _root[_root.workingfilename].flashindex;
Symbol 1313 Button
on (release) {
_root.statsok = true;
_root[_root.workingfilename].hasmovies = true;
var name = rawr.text;
_root[_root.workingfilename].MOVIES[_root[_root.workingfilename].flashindex] = new _root.FlashMovie(name, "game", 15, 25, 25);
_root[_root.workingfilename].flashindex++;
nextFrame();
}
Symbol 1315 MovieClip Frame 1
stop();
Symbol 1315 MovieClip Frame 2
_root.statsok = false;
rawr.text = "Untitled" + _root[_root.workingfilename].flashindex;
Symbol 1317 Button
on (release) {
_root.statsok = true;
_root[_root.workingfilename].hasmovies = true;
var name = rawr.text;
_root[_root.workingfilename].MOVIES[_root[_root.workingfilename].flashindex] = new _root.FlashMovie(name, "groundbreak", 30, 50, 0);
_root[_root.workingfilename].flashindex++;
nextFrame();
}
Symbol 1319 MovieClip Frame 1
stop();
Symbol 1319 MovieClip Frame 2
_root.statsok = false;
rawr.text = "Untitled" + _root[_root.workingfilename].flashindex;
Symbol 1320 Button
on (release) {
this.gotoAndStop(1);
_root.tools.gotoAndStop(1);
}
Symbol 1325 MovieClip Frame 1
stop();
Symbol 1326 MovieClip Frame 1
stop();
Symbol 1326 MovieClip Frame 16
stop();
Instance of Symbol 1256 MovieClip in Symbol 1326 MovieClip Frame 16
onClipEvent (load) {
if (_root[_root.workingfilename].flashskill >= 10) {
this.nextFrame();
}
}
on (rollOver) {
if (_currentframe == 2) {
_root.flash.flashexp.gotoAndStop(3);
} else {
_root.flash.flashexp.gotoAndStop(2);
_root.flash.flashexp.skill.text = "Need Flash Skill of 10";
}
}
on (rollOut) {
_root.flash.flashexp.gotoAndStop(1);
}
on (release) {
if (_currentframe == 2) {
_root.flash.stickmcchoice.nextFrame();
}
}
Instance of Symbol 1262 MovieClip in Symbol 1326 MovieClip Frame 16
onClipEvent (load) {
if (_root[_root.workingfilename].flashskill >= 25) {
this.nextFrame();
}
}
on (rollOver) {
if (_currentframe == 2) {
_root.flash.flashexp.gotoAndStop(4);
} else {
_root.flash.flashexp.gotoAndStop(2);
_root.flash.flashexp.skill.text = "Need Flash Skill of 25";
}
}
on (rollOut) {
_root.flash.flashexp.gotoAndStop(1);
}
on (release) {
if (_currentframe == 2) {
_root.flash.dressupmcchoice.nextFrame();
}
}
Instance of Symbol 1267 MovieClip in Symbol 1326 MovieClip Frame 16
onClipEvent (load) {
if (_root[_root.workingfilename].flashskill >= 50) {
this.nextFrame();
}
}
on (rollOver) {
if (_currentframe == 2) {
_root.flash.flashexp.gotoAndStop(5);
} else {
_root.flash.flashexp.gotoAndStop(2);
_root.flash.flashexp.skill.text = "Need Flash Skill of 50";
}
}
on (rollOut) {
_root.flash.flashexp.gotoAndStop(1);
}
on (release) {
if (_currentframe == 2) {
_root.flash.videomcchoice.nextFrame();
}
}
Instance of Symbol 1271 MovieClip in Symbol 1326 MovieClip Frame 16
onClipEvent (load) {
if (_root[_root.workingfilename].flashskill >= 100) {
this.nextFrame();
}
}
on (rollOver) {
if (_currentframe == 2) {
_root.flash.flashexp.gotoAndStop(6);
} else {
_root.flash.flashexp.gotoAndStop(2);
_root.flash.flashexp.skill.text = "Need Flash Skill of 100";
}
}
on (rollOut) {
_root.flash.flashexp.gotoAndStop(1);
}
on (release) {
if (_currentframe == 2) {
_root.flash.spritemcchoice.nextFrame();
}
}
Instance of Symbol 1275 MovieClip in Symbol 1326 MovieClip Frame 16
onClipEvent (load) {
if (_root[_root.workingfilename].flashskill >= 150) {
this.nextFrame();
}
}
on (rollOver) {
if (_currentframe == 2) {
_root.flash.flashexp.gotoAndStop(7);
} else {
_root.flash.flashexp.gotoAndStop(2);
_root.flash.flashexp.skill.text = "Need Flash Skill of 150";
}
}
on (rollOut) {
_root.flash.flashexp.gotoAndStop(1);
}
on (release) {
if (_currentframe == 2) {
_root.flash.parodymcchoice.nextFrame();
}
}
Instance of Symbol 1279 MovieClip in Symbol 1326 MovieClip Frame 16
onClipEvent (load) {
if (_root[_root.workingfilename].flashskill >= 250) {
this.nextFrame();
}
}
on (rollOver) {
if (_currentframe == 2) {
_root.flash.flashexp.gotoAndStop(8);
} else {
_root.flash.flashexp.gotoAndStop(2);
_root.flash.flashexp.skill.text = "Need Flash Skill of 250";
}
}
on (rollOut) {
_root.flash.flashexp.gotoAndStop(1);
}
on (release) {
if (_currentframe == 2) {
_root.flash.gamemcchoice.nextFrame();
}
}
Instance of Symbol 1283 MovieClip in Symbol 1326 MovieClip Frame 16
onClipEvent (load) {
if (_root[_root.workingfilename].flashskill >= 500) {
this.nextFrame();
}
}
on (rollOver) {
if (_currentframe == 2) {
_root.flash.flashexp.gotoAndStop(9);
} else {
_root.flash.flashexp.gotoAndStop(2);
_root.flash.flashexp.skill.text = "Need Flash Skill of 500";
}
}
on (rollOut) {
_root.flash.flashexp.gotoAndStop(1);
}
on (release) {
if (_currentframe == 2) {
_root.flash.groundbreakmcchoice.nextFrame();
}
}
Instance of Symbol 1325 MovieClip in Symbol 1326 MovieClip Frame 16
onClipEvent (load) {
i = 0;
while (i <= _root[_root.workingfilename].flashindex) {
if (_root[_root.workingfilename].MOVIES[i].inProgress) {
this.nextFrame();
var tit = _root[_root.workingfilename].MOVIES[i].title;
var daey = _root[_root.workingfilename].MOVIES[i].daysleft;
this.current.text = "Current movie: " + tit;
this.dazleft.text = "Days until completion: " + daey;
}
i++;
}
}
Symbol 1334 Button
on (release) {
delclip.gotoAndStop(4);
}
Symbol 1346 Button
on (release) {
if (_root[_root.workingfilename].EMAIL[_root.workingmessage].canbedeleted) {
_parent.delclip.gotoAndStop(2);
} else {
_parent.delclip.gotoAndStop(3);
}
}
Symbol 1347 MovieClip Frame 1
stop();
Symbol 1350 Button
on (release) {
this.gotoAndStop(1);
_root[_root.workingfilename].EMAIL.splice(_root.workingmessage, 1);
_root[_root.workingfilename].mailindex--;
_parent.nextFrame();
_root.tools2.gotoAndStop(1);
_root.outlook.msgclip.gotoAndStop(1);
}
Symbol 1353 Button
on (release) {
_root[_root.workingfilename].EMAIL.splice(0, 3000);
_root[_root.workingfilename].mailindex = 0;
_parent.nextFrame();
this.gotoAndStop(1);
}
Symbol 1354 MovieClip Frame 1
stop();
Symbol 1357 MovieClip Frame 1
stop();
Symbol 1358 MovieClip Frame 1
stop();
Symbol 1358 MovieClip Frame 16
loadmessages = function () {
var starter = mailpane.getScrollContent();
var yspacing = (starter._height + 2);
i = 0;
while (i < _root[_root.workingfilename].mailindex) {
var tempObj = _root[_root.workingfilename].EMAIL[i];
var singlemsg = starter.attachMovie("blankmail", "email" + i, i + 1);
singlemsg._y = yspacing;
yspacing = yspacing + 15;
singlemsg._x = singlemsg._x + 10;
singlemsg.from.text = tempObj.from;
singlemsg.subject.text = tempObj.subject;
singlemsg.onRelease = function () {
var msgneeded = parseInt(this._name.substr(5, 1));
if (this._name.charAt(6) != "") {
msgneeded = parseInt(this._name.substr(5, 2));
}
if (this._name.charAt(7) != "") {
msgneeded = parseInt(this._name.substr(5, 3));
}
_root.workingmessage = msgneeded;
var tempObj = _root[_root.workingfilename].EMAIL[msgneeded];
_root.outlook.msgclip.nextFrame();
_root.tools2.gotoAndStop(4);
msgclip.subject.text = tempObj.subject;
msgclip.subjecttop.text = tempObj.subject;
msgclip.to.text = _root[_root.workingfilename].alias;
msgclip.from.text = tempObj.from;
msgclip.body.text = tempObj.body;
};
i++;
}
mailpane.refreshPane();
};
loadmessages();
stop();
Instance of Symbol 512 MovieClip [FScrollPaneSymbol] "mailpane" in Symbol 1358 MovieClip Frame 16
//component parameters
onClipEvent (initialize) {
scrollContent = "mailstarterclip";
hScroll = "false";
vScroll = "auto";
dragContent = false;
}
Instance of Symbol 1357 MovieClip "newstuff" in Symbol 1358 MovieClip Frame 16
onClipEvent (load) {
this.nextFrame();
var counter = 0;
i = 0;
while (i < _root[_root.workingfilename].mailindex) {
var tempObj = _root[_root.workingfilename].EMAIL[i];
if (tempObj.newmsg) {
counter++;
}
_root[_root.workingfilename].EMAIL[i].newmsg = false;
i++;
}
if (counter <= 0) {
this.msgcount.text = "You have no new messages";
} else {
this.msgcount.text = ("You have " + counter) + " new messages";
}
}
Symbol 1358 MovieClip Frame 17
this.prevFrame();
Symbol 1365 Button
on (release) {
bendsound.stop();
_root.eHandBag.setVolume(100);
this.gotoAndStop(1);
_root.tools.gotoAndStop(1);
}
Symbol 1367 MovieClip Frame 1
stop();
Symbol 1367 MovieClip Frame 2
bendsound = new Sound(this);
Symbol 1367 MovieClip Frame 532
stop();
_root.eHandBag.setVolume(100);
Symbol 1383 MovieClip Frame 1
stop();
Symbol 1383 MovieClip Frame 2
i = 1;
while (i <= 20) {
this["s" + i]._visible = _root[_root.workingfilename].STICKERS[i];
i++;
}
if (_root[_root.workingfilename].stickersnum == 20) {
stickerupdate.text = "You found all the stickers! Debug mode has been unlocked! Begin a new file. ";
stickerupdate.text = stickerupdate.text + "Before you start the game, you'll be given the option to use debug mode. Have fun!";
}
Symbol 1403 MovieClip Frame 1
stop();
Symbol 1404 Button
on (release) {
_root.logoff.nextFrame();
}
Symbol 1411 MovieClip Frame 1
stop();
Symbol 1415 Button
on (release) {
this.prevFrame();
}
Symbol 1417 Button
on (release) {
_root.eHandBag.setVolume(100);
_root.wmp.bendsound.stop();
_root.complogoff.start();
_root.prevFrame();
}
Symbol 1418 MovieClip Frame 1
stop();
Symbol 1429 MovieClip Frame 15
_root.TC.start();
Symbol 1429 MovieClip Frame 24
stop();
_root.nextFrame();
Symbol 1433 Button
on (release) {
gotoAndStop (229);
}
Symbol 1444 MovieClip Frame 40
stop();
_root.nextFrame();
Symbol 1446 Button
on (release) {
gotoAndStop (229);
if ((_root[_root.workingfilename].EMAIL.length < 500) && (!_root[_root.workingfilename].SAFEMODE)) {
_root.spam();
_root.randomEmail();
}
}
Symbol 1450 MovieClip Frame 1
stop();
Symbol 1458 MovieClip Frame 7
_root.BK.start();
Symbol 1458 MovieClip Frame 9
_root.BK.start();
Symbol 1458 MovieClip Frame 11
_root.BK.start();
Symbol 1458 MovieClip Frame 25
stop();
_root.nextFrame();
Instance of Symbol 1465 MovieClip in Symbol 1466 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 6);
}
Instance of Symbol 1465 MovieClip in Symbol 1466 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
}
Symbol 1467 MovieClip Frame 26
stop();
_root.nextFrame();
Symbol 1468 Button
on (release) {
gotoAndStop (230);
_root.IE.gotoAndStop(14);
_root.tools.gotoAndStop(3);
_root.tools.title.text = "Newgrounds.com - T...";
eHandBag.setVolume(100);
}
Symbol 1477 MovieClip Frame 1
posPosts = new Array();
posPosts[0] = "I agree, that was a pretty good one";
posPosts[1] = "What?? How did you figure that one out??";
posPosts[2] = "Normally I would agree, but that's uncalled for";
posPosts[3] = "Haha, They totally deserved that";
posPosts[4] = "PWND!!!";
posPosts[5] = "I can't seem to find the correct tutorial...";
posPosts[6] = "I don't know was it stolen?";
posPosts[7] = "Draw me!!";
posPosts[8] = "That has to be fake. I don't believe it for a second";
posPosts[9] = "How did you manage to figure that one out?";
posPosts[10] = "Old news";
posPosts[11] = "Lol, stfu n00b";
posPosts[12] = "Haha, like you're really a girl";
posPosts[13] = "Nice ALT Account";
posPosts[14] = "Just send an email to wade@newgrounds.com";
posPosts[15] = "Because you touch yourself at night";
posPosts[16] = "Only under certain circumstances...";
posPosts[17] = "Too bad that's actually stolen";
posPosts[18] = "All other flash portals besides newgrounds suck";
posPosts[19] = "Stamper likes black cock";
posPosts[20] = "Try using better grammar, I can't understand a damn word you're saying";
posPosts[21] = "Cry about it on livejournal, you emo motherfucker";
posPosts[22] = "lol";
posTopics = new Array();
posTopics[0] = "RATE ME PLZ";
posTopics[1] = "Newgrounds Artist Showcase Thread";
posTopics[2] = "Favorite Movie";
posTopics[3] = "Attention Mods";
posTopics[4] = "Wadeplzban";
posTopics[5] = "This flash movie...";
posTopics[6] = "How do I...";
posTopics[7] = "Flash";
posTopics[8] = "Starting my own forum";
posTopics[9] = "I hate bush";
posTopics[10] = "The chatroom";
posTopics[11] = "How to improve the BBS";
posTopics[12] = "Portal problem?";
posTopics[13] = "Favorite Animal";
posTopics[14] = "DanMalo is the worst mod EVER";
posTopics[15] = "Masturbation";
posTopics[16] = "Weed";
posTopics[17] = "I will draw you";
posTopics[18] = "Photoshop this picture";
posTopics[19] = "aelkrj3009sd";
posTopics[20] = "Nintendo vs Sony";
posTopics[21] = "Today Sucked";
posTopics[22] = "Lol, watch this";
postbody.text = posPosts[random(23)];
postname.text = _root[_root.workingfilename].alias;
postline.text = posTopics[random(23)];
Symbol 1477 MovieClip Frame 38
stop();
_root.nextFrame();
Symbol 1478 Button
on (release) {
if (((!_root[_root.workingfilename].banned) && (!_root[_root.workingfilename].banimmune)) && (_root[_root.workingfilename].alias != "whitepower")) {
var chances = 100;
if (_root[_root.workingfilename].postsinoneday > 4) {
chances = chances - 60;
}
chances = chances + ((_root[_root.workingfilename].intelligence + _root[_root.workingfilename].coolpoints) / 2);
var bannum = random(chances);
if ((bannum > 0) && (bannum < (chances * 0.1))) {
_root[_root.workingfilename].banned = true;
_root[_root.workingfilename].timesbanned++;
_root[_root.workingfilename].banreason = _root.banAry[random(11)];
var daylimit;
if (_root[_root.workingfilename].coolpoints <= 75) {
daylimit = 8;
} else if ((_root[_root.workingfilename].coolpoints > 75) && (_root[_root.workingfilename].coolpoints <= 150)) {
daylimit = 6;
} else if ((_root[_root.workingfilename].coolpoints > 150) && (_root[_root.workingfilename].coolpoints <= 250)) {
daylimit = 4;
} else if (_root[_root.workingfilename].coolpoints > 250) {
daylimit = 2;
}
var ban = (random(daylimit) + 1);
_root[_root.workingfilename].bandaysleft = ban;
_root[_root.workingfilename].fullban = ban;
}
}
gotoAndStop (230);
_root.IE.gotoAndStop(14);
_root.tools.gotoAndStop(3);
_root.tools.title.text = "Newgrounds.com - T...";
eHandBag.setVolume(100);
}
Symbol 1486 MovieClip Frame 1
posReviews = new Array();
posReviews[0] = "Pretty good stuff. I look forward to future entries!";
posReviews[1] = "A worthy addition to the series";
posReviews[2] = "OMG, ALL MY FIVEN R BELONG 2 THIS!!";
posReviews[3] = "Totally sucks ass";
posReviews[4] = "Try a little harder next time";
posReviews[5] = "Good, but could use some work on the voices";
posReviews[6] = "This is an obvious rip-off";
posReviews[7] = "Loved it! I'll be sure to check out more of your stuff";
posReviews[8] = "Excellent work. Added this to my favorites";
posReviews[9] = "Decent effort, but you're gonna have to try harder";
posReviews[10] = "Try adding some music next time";
posReviews[11] = "Pretty good graphics, but they look rotoscoped";
posReviews[12] = "Fun game, but it gets too hard too quick";
posReviews[13] = "This doesn't even qualify as a flash movie";
posReviews[14] = "I would rather beat my face against a concrete wall than watch this collection of garbage";
posReviews[15] = "Foamy is teh sux";
posReviews[16] = "This series is starting to get repetitive";
posReviews[17] = "This has to make front page";
posReviews[18] = "This doesn't deserve to be in the top fifty";
posReviews[19] = "Someday I hope I can make flash this good";
posReviews[20] = "Lamest shit ever";
posReviews[21] = "Go kill yourself";
posReviews[22] = "AMAZING! Newgrounds has seen nothing like this!";
rspace.text = posReviews[random(23)];
rname.text = _root[_root.workingfilename].alias;
Symbol 1486 MovieClip Frame 40
stop();
_root.nextFrame();
Symbol 1492 Button
on (release) {
gotoAndStop (230);
_root.IE.gotoAndStop(14);
_root.tools.gotoAndStop(3);
_root.tools.title.text = "Newgrounds.com - T...";
}
Instance of Symbol 1498 MovieClip in Symbol 1517 MovieClip Frame 1
onClipEvent (load) {
if (!_root[_root.workingfilename].cutscenes) {
this.stop();
}
}
Symbol 1517 MovieClip Frame 55
stop();
_root.nextFrame();
Symbol 1518 Button
on (release) {
gotoAndStop (230);
_root.IE.gotoAndStop(14);
_root.tools.gotoAndStop(3);
_root.tools.title.text = "Newgrounds.com - T...";
blamProtect();
whistle();
eHandBag.setVolume(100);
}
Symbol 1523 MovieClip Frame 26
stop();
_root.nextFrame();
Symbol 1524 Button
on (release) {
gotoAndStop (230);
_root.flash.gotoAndStop(16);
_root.tools.gotoAndStop(4);
eHandBag.setVolume(100);
}
Symbol 1529 Button
on (release) {
gotoAndStop (229);
}
Symbol 1531 Button
on (press) {
getURL ("http://www.afro-ninja.com", "blank");
}
Symbol 1552 MovieClip Frame 620
stop();
Symbol 1563 Button
on (release) {
gotoAndStop (229);
if (!_root.soundoff) {
_root.eHandBag.start();
}
}