Frame 1
email_mc.loadMovie("/emailform_component.swf?printImage=twrecks");
Frame 3
function loadTest() {
preloadBar._xscale = (loadedBytes / totalBytes) * 100;
loadedBytes = getBytesLoaded() + soundsMC.getBytesLoaded();
totalBytes = getBytesTotal() + soundsMC.getBytesTotal();
if (loadedBytes == totalBytes) {
gotoAndPlay ("loader");
clearInterval(loadInt);
}
}
soundsMC.loadMovie("tr_sounds.swf");
introMC._xscale = (soundsMC._xscale = (introMC._yscale = (soundsMC._yscale = 0)));
loadInt = setInterval(loadTest, 50);
stop();
Frame 5
_global.FlashTrack = function () {
this.init();
};
FlashTrack.prototype.init = function () {
var _local1 = this;
_local1.DCS = new Object();
_local1.WT = new Object();
_local1.DCSext = new Object();
};
FlashTrack.prototype.setDCSVar = function (name, value) {
this.DCS[name] = value;
};
FlashTrack.prototype.setWTVar = function (name, value) {
this.WT[name] = value;
};
FlashTrack.prototype.setDCSExtVar = function (name, value) {
this.DCSext[name] = value;
};
FlashTrack.prototype.track = function () {
var _local1 = this.$getParams();
if (_local1.length > 0) {
trace("FlashTrack-> Tracking " + _local1);
getURL (("javascript:FlashTrack(" + _local1) + ");");
return(true);
}
trace("FlashTrack-> Nothing to track.");
return(false);
};
FlashTrack.prototype.$getParams = function () {
var _local1 = this;
var _local2 = new Array();
for (i in _local1.DCS) {
_local2.push(("'DCS." + i) + "'", ("'" + _local1.DCS[i]) + "'");
}
for (i in _local1.WT) {
_local2.push(("'WT." + i) + "'", ("'" + _local1.WT[i]) + "'");
}
for (i in _local1.DCSext) {
_local2.push(("'DCSext." + i) + "'", ("'" + _local1.DCSext[i]) + "'");
}
return(_local2);
};
FlashTrack.prototype.trackRedir = function () {
var _local1 = this.$getParams();
if (_local1.length > 0) {
getURL (("javascript:FlashTrackRedir(" + _local1) + ");");
return(true);
}
trace("FlashTrack-> Nothing to track.");
return(false);
};
FlashTrack.prototype.trackRedirPopup = function () {
var _local1 = this.$getParams();
if (_local1.length > 0) {
getURL (("javascript:FlashTrackRedirPopup(" + _local1) + ");");
return(true);
}
trace("FlashTrack-> Nothing to track.");
return(false);
};
ftPlay = new FlashTrack();
ftPlay.setWTVar("ti", "Twrecks Play");
ftSend = new FlashTrack();
ftSend.setWTVar("ti", "Twrecks Send");
_global.maintl = this;
_global.printFlag = 0;
print_image = function (mcRef) {
printAsBitmap (mcRef, "bframe");
};
maintl.intro_mc.loadMovie("tr_intro.swf");
loadMovieNum ("tr_sounds.swf", 7);
Frame 7
stop();
maintl.printx_mc._visible = false;
maintl.sendx_mc._visible = false;
_level7.playSound("intro_snd", 100, 2000);
Frame 8
stop();
Frame 9
stop();
trace("after clicked");
Frame 10
printx_mc.onRelease = function () {
print_image(print_screen);
};
sendx_mc.onRelease = function () {
gotoAndStop ("send");
};
if (_global.printFlag == 0) {
printx_mc._visible = false;
sendx_mc._visible = false;
} else {
printx_mc._visible = true;
sendx_mc._visible = true;
}
play();
Frame 58
gotoAndStop ("instructions");
Frame 59
function onCancel() {
trace("cancel clicked");
this.gotoAndPLay("ad");
}
maintl.printx_mc._visible = false;
maintl.sendx_mc._visible = false;
stop();
Instance of Symbol 46 MovieClip [FSendClassSymbol] "send_comp" in Frame 59
//component parameters
onClipEvent (initialize) {
cancel_goto = "_parent._parent.loader";
}
Symbol 3 MovieClip [FLabelSymbol] Frame 1
#initclip 3
_global.FLabelClass = function () {
var _local1 = this;
if (_local1.hostComponent == undefined) {
_local1.hostComponent = ((_local1._parent.controller == undefined) ? (_local1._parent) : (_local1._parent.controller));
}
if (_local1.customTextStyle == undefined) {
if (_local1.hostComponent.textStyle == undefined) {
_local1.hostComponent.textStyle = new TextFormat();
}
_local1.textStyle = _local1.hostComponent.textStyle;
_local1.enable = true;
}
};
FLabelClass.prototype = new MovieClip();
Object.registerClass("FLabelSymbol", FLabelClass);
FLabelClass.prototype.setLabel = function (label) {
var _local1 = this;
var _local2 = _local1.hostComponent.styleTable.embedFonts.value;
if (_local2 != undefined) {
_local1.labelField.embedFonts = _local2;
}
_local1.labelField.setNewTextFormat(_local1.textStyle);
_local1.labelField.text = label;
_local1.labelField._height = _local1.labelField.textHeight + 2;
};
FLabelClass.prototype.setSize = function (width) {
this.labelField._width = width;
};
FLabelClass.prototype.setEnabled = function (enable) {
var _local2 = this;
var _local3 = enable;
_local2.enable = _local3;
var _local1 = _local2.hostComponent.styleTable[(_local3 ? "textColor" : "textDisabled")].value;
if (_local1 == undefined) {
_local1 = (_local3 ? 0 : 8947848);
}
_local2.setColor(_local1);
};
FLabelClass.prototype.getLabel = function () {
return(this.labelField.text);
};
FLabelClass.prototype.setColor = function (col) {
this.labelField.textColor = col;
};
#endinitclip
Symbol 4 MovieClip [FUIComponentSymbol] Frame 1
#initclip 1
function FUIComponentClass() {
this.init();
}
FUIComponentClass.prototype = new MovieClip();
FUIComponentClass.prototype.init = function () {
var _local1 = this;
var _local3 = _global;
_local1.enable = true;
_local1.focused = false;
_local1.useHandCursor = false;
_local1._accImpl = new Object();
_local1._accImpl.stub = true;
_local1.styleTable = new Array();
if (_local3.globalStyleFormat == undefined) {
_local3.globalStyleFormat = new FStyleFormat();
globalStyleFormat.isGlobal = true;
_local3._focusControl = new Object();
_local3._focusControl.onSetFocus = function (oldFocus, newFocus) {
oldFocus.myOnKillFocus();
newFocus.myOnSetFocus();
};
Selection.addListener(_local3._focusControl);
}
if (_local1._name != undefined) {
_local1._focusrect = false;
_local1.tabEnabled = true;
_local1.focusEnabled = true;
_local1.tabChildren = false;
_local1.tabFocused = true;
if (_local1.hostStyle == undefined) {
globalStyleFormat.addListener(_local1);
} else {
_local1.styleTable = _local1.hostStyle;
}
_local1.deadPreview._visible = false;
_local1.deadPreview._width = (_local1.deadPreview._height = 1);
_local1.methodTable = new Object();
_local1.keyListener = new Object();
_local1.keyListener.controller = _local1;
_local1.keyListener.onKeyDown = function () {
this.controller.myOnKeyDown();
};
_local1.keyListener.onKeyUp = function () {
this.controller.myOnKeyUp();
};
for (var _local2 in _local1.styleFormat_prm) {
_local1.setStyleProperty(_local2, _local1.styleFormat_prm[_local2]);
}
}
};
FUIComponentClass.prototype.setEnabled = function (enabledFlag) {
var _local1 = this;
_local1.enable = ((arguments.length > 0) ? (enabledFlag) : true);
_local1.tabEnabled = (_local1.focusEnabled = enabledFlag);
if ((!_local1.enable) && (_local1.focused)) {
Selection.setFocus(undefined);
}
};
FUIComponentClass.prototype.getEnabled = function () {
return(this.enable);
};
FUIComponentClass.prototype.setSize = function (w, h) {
var _local1 = this;
_local1.width = w;
_local1.height = h;
_local1.focusRect.removeMovieClip();
};
FUIComponentClass.prototype.setChangeHandler = function (chng, obj) {
var _local1 = this;
_local1.handlerObj = ((obj == undefined) ? (_local1._parent) : (obj));
_local1.changeHandler = chng;
};
FUIComponentClass.prototype.invalidate = function (methodName) {
var _local1 = this;
_local1.methodTable[methodName] = true;
_local1.onEnterFrame = _local1.cleanUI;
};
FUIComponentClass.prototype.cleanUI = function () {
var _local1 = this;
if (_local1.methodTable.setSize) {
_local1.setSize(_local1.width, _local1.height);
} else {
_local1.cleanUINotSize();
}
_local1.methodTable = new Object();
delete _local1.onEnterFrame;
};
FUIComponentClass.prototype.cleanUINotSize = function () {
var _local1 = this;
for (var _local2 in _local1.methodTable) {
_local1[_local2]();
}
};
FUIComponentClass.prototype.drawRect = function (x, y, w, h) {
var _local1 = this;
var _local2 = y;
var _local3 = x;
var inner = _local1.styleTable.focusRectInner.value;
var outer = _local1.styleTable.focusRectOuter.value;
if (inner == undefined) {
inner = 16777215 /* 0xFFFFFF */;
}
if (outer == undefined) {
outer = 0;
}
_local1.createEmptyMovieClip("focusRect", 1000);
_local1.focusRect.controller = _local1;
_local1.focusRect.lineStyle(1, outer);
_local1.focusRect.moveTo(_local3, _local2);
_local1.focusRect.lineTo(_local3 + w, _local2);
_local1.focusRect.lineTo(_local3 + w, _local2 + h);
_local1.focusRect.lineTo(_local3, _local2 + h);
_local1.focusRect.lineTo(_local3, _local2);
_local1.focusRect.lineStyle(1, inner);
_local1.focusRect.moveTo(_local3 + 1, _local2 + 1);
_local1.focusRect.lineTo((_local3 + w) - 1, _local2 + 1);
_local1.focusRect.lineTo((_local3 + w) - 1, (_local2 + h) - 1);
_local1.focusRect.lineTo(_local3 + 1, (_local2 + h) - 1);
_local1.focusRect.lineTo(_local3 + 1, _local2 + 1);
};
FUIComponentClass.prototype.pressFocus = function () {
var _local1 = this;
_local1.tabFocused = false;
_local1.focusRect.removeMovieClip();
Selection.setFocus(_local1);
};
FUIComponentClass.prototype.drawFocusRect = function () {
var _local1 = this;
_local1.drawRect(-2, -2, _local1.width + 4, _local1.height + 4);
};
FUIComponentClass.prototype.myOnSetFocus = function () {
var _local1 = this;
_local1.focused = true;
Key.addListener(_local1.keyListener);
if (_local1.tabFocused) {
_local1.drawFocusRect();
}
};
FUIComponentClass.prototype.myOnKillFocus = function () {
var _local1 = this;
_local1.tabFocused = true;
_local1.focused = false;
_local1.focusRect.removeMovieClip();
Key.removeListener(_local1.keyListener);
};
FUIComponentClass.prototype.executeCallBack = function () {
var _local1 = this;
_local1.handlerObj[_local1.changeHandler](_local1);
};
FUIComponentClass.prototype.updateStyleProperty = function (styleFormat, propName) {
this.setStyleProperty(propName, styleFormat[propName], styleFormat.isGlobal);
};
FUIComponentClass.prototype.setStyleProperty = function (propName, value, isGlobal) {
var _local1 = this;
var _local2 = propName;
if (value == "") {
} else {
var tmpValue = parseInt(value);
if (!isNaN(tmpValue)) {
value = tmpValue;
}
var global = ((arguments.length > 2) ? (isGlobal) : false);
if (_local1.styleTable[_local2] == undefined) {
_local1.styleTable[_local2] = new Object();
_local1.styleTable[_local2].useGlobal = true;
}
if (_local1.styleTable[_local2].useGlobal || (!global)) {
_local1.styleTable[_local2].value = value;
if (_local1.setCustomStyleProperty(_local2, value)) {
} else if (_local2 == "embedFonts") {
_local1.invalidate("setSize");
} else if (_local2.subString(0, 4) == "text") {
if (_local1.textStyle == undefined) {
_local1.textStyle = new TextFormat();
}
var textProp = _local2.subString(4, _local2.length);
_local1.textStyle[textProp] = value;
_local1.invalidate("setSize");
} else {
for (var j in _local1.styleTable[_local2].coloredMCs) {
var _local3 = new Color(_local1.styleTable[_local2].coloredMCs[j]);
if (_local1.styleTable[_local2].value == undefined) {
var myTObj = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0", aa:"100", ab:"0"};
_local3.setTransform(myTObj);
} else {
_local3.setRGB(value);
}
}
}
_local1.styleTable[_local2].useGlobal = global;
}
}
};
FUIComponentClass.prototype.registerSkinElement = function (skinMCRef, propName) {
var _local1 = this;
var _local2 = propName;
if (_local1.styleTable[_local2] == undefined) {
_local1.styleTable[_local2] = new Object();
_local1.styleTable[_local2].useGlobal = true;
}
if (_local1.styleTable[_local2].coloredMCs == undefined) {
_local1.styleTable[_local2].coloredMCs = new Object();
}
_local1.styleTable[_local2].coloredMCs[skinMCRef] = skinMCRef;
if (_local1.styleTable[_local2].value != undefined) {
var _local3 = new Color(skinMCRef);
_local3.setRGB(_local1.styleTable[_local2].value);
}
};
_global.FStyleFormat = function () {
var _local1 = arguments;
var _local2 = this;
_local2.nonStyles = {listeners:true, isGlobal:true, isAStyle:true, addListener:true, removeListener:true, nonStyles:true, applyChanges:true};
_local2.listeners = new Object();
_local2.isGlobal = false;
if (_local1.length > 0) {
for (var _local3 in _local1[0]) {
_local2[_local3] = _local1[0][_local3];
}
}
};
_global.FStyleFormat.prototype = new Object();
FStyleFormat.prototype.addListener = function () {
var _local1 = this;
var _local2 = 0;
while (_local2 < arguments.length) {
var _local3 = arguments[_local2];
_local1.listeners[arguments[_local2]] = _local3;
for (var i in _local1) {
if (_local1.isAStyle(i)) {
_local3.updateStyleProperty(_local1, i.toString());
}
}
_local2++;
}
};
FStyleFormat.prototype.removeListener = function (component) {
var _local1 = this;
var _local2 = component;
_local1.listeners[_local2] = undefined;
for (var prop in _local1) {
if (_local1.isAStyle(prop)) {
if (_local2.styleTable[prop].useGlobal == _local1.isGlobal) {
_local2.styleTable[prop].useGlobal = true;
var _local3 = (_local1.isGlobal ? undefined : (globalStyleFormat[prop]));
_local2.setStyleProperty(prop, _local3, true);
}
}
}
};
FStyleFormat.prototype.applyChanges = function () {
var _local1 = this;
var _local2 = arguments;
var count = 0;
for (var i in _local1.listeners) {
var _local3 = _local1.listeners[i];
if (_local2.length > 0) {
var j = 0;
while (j < _local2.length) {
if (_local1.isAStyle(_local2[j])) {
_local3.updateStyleProperty(_local1, _local2[j]);
}
j++;
}
} else {
for (var j in _local1) {
if (_local1.isAStyle(j)) {
_local3.updateStyleProperty(_local1, j.toString());
}
}
}
}
};
FStyleFormat.prototype.isAStyle = function (name) {
return((this.nonStyles[name] ? false : true));
};
#endinitclip
Symbol 28 MovieClip Frame 6
stop();
Symbol 42 MovieClip Frame 7
stop();
Symbol 46 MovieClip [FSendClassSymbol] Frame 1
#initclip 2
String.exactNaughtyWords = new Array("a hole", "ass", "ass hole", "ass whipe", "ass wipe", "be yotch", "bee yotch", "blow job", "chicken head", "dick head", "f you", "f ing", "fuc", "f-you", "give head", "gives head", "hell");
String.searchNaughtyWords = new Array("69", "666", "ahole", "alcohol", "alcoholic", "anal", "anul", "anus", "arse", "arson", "arsonist", "assassinate", "assassination", "asshole", "asswhipe", "asswipe", "bang", " bastard", "beyotch", "beeyotch", "biatch", "bisexual", "bitch", "blood", "blowjob", "blunt", "bollocks", "bollox", "bollux", "boob", "booze", "bratz", "breast", "burn", "butt", "caca", "cancer", "chickenhead", "cigar", "clit", "cocaine", "cock", "coke", "condemn", "crackhead", "cunt", "dammit", "damnit", "decapitate", "dead", "destroy", "dickhead", "dike", "dipshit", "doody", "drinker", "druggie", "drunk", "dyke", "eradicate", "eradicator", "evil", "execute", "execution", "exterminate", "exterminator", "fag", "fuck", "fuct", "fuk", "fukt", "funeral", "fux", "fyou", "gang", "gangbang", "gangsta", "gay", "givehead", "giveshead", "gook", "grave", "gun", "god", "hangover", "heroin", "homo", "horror", "jerk", "jesus", "kike", "kill", "knife", "lesbian", "lethal", "maniac", "motherfucker", "murder", "nigga", "nigger", "nympho", "penis", "piss", "playboy", "poison", "poop", "prostitute", "pubic", "pussi", "pussy", "queer", "rape", "rectum", "sex", "shag", "sheepshagger", "shit", "shite", "shoit", "shoot", "slaughter", "slut", "speedball", "spic", "spik", "stab", "stooped", "stupid", "suck", "sucs", "suffocate", "suffocation", "suicide", "suicidal", "suks", "sux", "terror", "tit", "tosser", "transexual", "transvestite", "twat", "urine", "vagina", "vixen", "wanker", "warlock", "weapon", "whore", "witch", "wop", "yerin");
String.prototype.isNaughty = function () {
var s = this.toString().toLowerCase().replace("-", " ").replace("_", " ");
if (s != "") {
var _local3 = s.split(" ");
var _local2 = 0;
var _local1 = 0;
while (_local2 < _local3.length) {
_local1 = 0;
while (_local1 < String.exactNaughtyWords.length) {
if (_local3[_local2] == String.exactNaughtyWords[_local1]) {
return(true);
}
_local1++;
}
_local1 = 0;
while (_local1 < String.searchNaughtyWords.length) {
if (_local3[_local2].indexOf(String.searchNaughtyWords[_local1]) != -1) {
return(true);
}
_local1++;
}
_local2++;
}
}
return(false);
};
String.prototype.lTrim = function () {
var _local2 = this.toString();
var _local1 = 0;
var _local3 = _local2.length;
while ((_local1 < _local3) && (_local2.charCodeAt(_local1) <= 32)) {
_local1++;
}
return(_local2.substring(_local1, _local3));
};
String.prototype.rTrim = function () {
var _local2 = this.toString();
var _local1 = _local2.length - 1;
while ((_local1 >= 0) && (_local2.charCodeAt(_local1) <= 32)) {
_local1--;
}
return(_local2.substring(0, _local1 + 1));
};
String.prototype.trim = function () {
var _local1 = this.toString();
_local1 = _local1.lTrim();
_local1 = _local1.rTrim();
return(_local1);
};
String.prototype.isEmpty = function () {
var _local1 = this.toString().trim();
return((_local1 == null) || (_local1.length == 0));
};
String.prototype.isEmail = function () {
var _local2 = this;
if (_local2.length < 5) {
return(false);
}
var iChars = "*|,\":<>[]{}`';()&$#%";
var _local3 = _local2.length;
var _local1 = 0;
while (_local1 < _local3) {
if (iChars.indexOf(_local2.charAt(_local1)) != -1) {
return(false);
}
_local1++;
}
var atIndex = _local2.lastIndexOf("@");
if ((atIndex < 1) || (atIndex == (_local3 - 1))) {
return(false);
}
var pIndex = _local2.lastIndexOf(".");
if ((pIndex < 4) || (pIndex == (_local3 - 1))) {
return(false);
}
if (atIndex > pIndex) {
return(false);
}
return(true);
};
String.prototype.replace = function (searchStr, replaceStr) {
var _local3 = this.toString();
var tempStr = "";
var _local1 = 0;
var _local2;
if (searchStr == "") {
return(_local3);
}
if (_local3.indexOf(searchStr) != -1) {
while (_local2 = _local3.indexOf(searchStr, _local1) , _local2 != -1) {
tempStr = tempStr + _local3.substring(_local1, _local2);
tempStr = tempStr + replaceStr;
_local1 = _local2 + searchStr.length;
}
return(tempStr + _local3.substring(_local1));
}
return(_local3);
};
String.prototype.sprintf = function () {
var _local3 = this.toString();
var _local2 = _local3.splitMultiChar("%s");
_local3 = "";
var _local1 = 0;
while (_local1 < _local2.length) {
_local3 = _local3 + (_local2[_local1] + arguments[_local1]);
_local1++;
}
if (!q) {
return(_local3);
}
return(_local3 + "?");
};
String.prototype.splitMultiChar = function (c) {
var _local1 = this.toString();
_local1 = _local1.replace(c, "\u00B6");
var _local2 = _local1.split("\u00B6");
return(_local2);
};
String.prototype.addCommas = function () {
var _local1 = this.toString();
if (_local1.length > 3) {
_local1 = (_local1.slice(0, -3) + ",") + _local1.slice(-3);
}
return(_local1);
};
ASSetPropFlags(String, ["exactNaughtyWords", "searchNaughtyWords"], 1);
ASSetPropFlags(String.prototype, ["isNaughty", "lTrim", "rTrim", "trim", "isEmpty", "isEmail", "replace", "sprintf", "splitMultiChar"], 1);
Object.version = getVersion().split(",");
Object.majorVersion = int(substring(Object.version[0], Object.version[0].length, 1));
Object.minorVersion = int(Object.version[2]);
if (Object.majorVersion == 5) {
String.prototype.charAt = function (index) {
return(substring(this, index + 1, 1));
};
String.prototype.concat = function () {
var _local2 = arguments;
var _local3 = this.toString();
var _local1 = 0;
while (_local1 < _local2.length) {
_local3 = _local3 + _local2[_local1];
_local1++;
}
return(_local3);
};
String.prototype.indexOf = function (sub, i) {
var _local1 = i;
if (_local1 == null) {
_local1 = 0;
}
var _local2 = sub.length;
var _local3 = (this.length - _local2) + 1;
while ((_local1 <= _local3) && ((substring(this, 1 + (_local1++), _local2)) != sub)) {
}
if (_local1 > _local3) {
return(-1);
}
return(_local1 - 1);
};
String.prototype.lastIndexOf = function (sub, i) {
var _local1 = i;
var _local2 = sub;
var _local3 = this;
size = _local2.length;
((_local1 == null) ? (_local1 = (_local3.length - size) + 1) : (_local1++));
if (_local2.length == 0) {
return(_local1 - 1);
}
while ((_local1 >= 0) && ((substring(_local3, _local1--, size)) != _local2)) {
}
if (_local1 != -1) {
return(_local1);
}
return(-1);
};
String.prototype.slice = function (s, e) {
return(substring(this, s + 1, e - s));
};
String.prototype.split = function (d) {
var _local3 = this;
if (d != null) {
var r = new Array();
var size = _local3.length;
var _local2 = 0;
var n = 0;
if (d != "") {
var _local1 = 0;
while (_local1 <= size) {
if ((substring(_local3, _local1 + 1, 1)) == d) {
r[n] = substring(_local3, _local2 + 1, _local1 - _local2);
_local2 = _local1 + 1;
n++;
}
_local1++;
}
if (_local2 != _local1) {
r[n] = substring(_local3, _local2 + 1, _local1 - _local2);
}
} else {
var _local1 = 0;
while (_local1 < size) {
r[_local1] = substring(_local3, _local1 + 1, 1);
_local1++;
}
}
} else {
r = new Array(_local3.toString());
}
return(r);
};
String.prototype.substr = function (s, l) {
var _local1 = l;
if (_local1 == null) {
_local1 = this.length - s;
}
return(substring(this, s + 1, _local1));
};
}
SendClass = function () {
this.init();
};
SendClass.prototype = new MovieClip();
Object.registerClass("FSendClassSymbol", SendClass);
SendClass.prototype.Onload = function () {
var _local1 = this;
_local1.clearErrorFields();
_local1.send_btn.onRelease = function () {
trace("send clicked");
this._parent.checkInput();
};
};
SendClass.prototype.init = function () {
selection.setFocus("yname_txt");
this.clearErrorFields();
};
SendClass.prototype.checkInput = function () {
var _local1 = this;
_local1.clearErrorFields();
_local1.errors = false;
_local1.ynameError = false;
_local1.fnameError = false;
_local1.femailError = false;
if (_local1.yname_txt.text.isEmpty()) {
_local1.errors = true;
_local1.ynameError = eval("True");
_local1.error_yname_blank._visible = true;
trace("blank yname");
} else if (_local1.yname_txt.text.isNaughty()) {
_local1.errors = true;
_local1.ynameError = eval("True");
_local1.error_yname_naughty._visible = true;
trace("naughty yname");
}
if (_local1.fname_txt.text.isEmpty()) {
_local1.errors = true;
_local1.fnameError = eval("True");
_local1.error_fname_blank._visible = true;
trace("blank fname");
} else if (_local1.fname_txt.text.isNaughty()) {
_local1.errors = true;
_local1.fnameError = eval("True");
_local1.error_fname_naughty._visible = true;
trace("naughty fname");
}
if (_local1.femail_txt.text.isEmpty()) {
_local1.errors = true;
_local1.femailError = true;
_local1.error_femail_blank._visible = true;
trace("blank femail");
} else if (_local1.femail_txt.text.isNaughty()) {
_local1.errors = true;
_local1.fnameError = true;
_local1.error_fname_naughty._visible = true;
trace("naughty femail");
} else if (!_local1.femail_txt.text.isEmail()) {
_local1.errors = true;
_local1.femailError = true;
_local1.error_femail_bad._visible = true;
trace("bad femail");
}
if (_local1.errors == true) {
if (_local1.ynameError == true) {
trace("set focus to yname");
selection.setFocus(_local1.yname_txt);
} else if (_local1.ynameError == true) {
selection.setFocus(_local1.fname_txt);
} else if (_local1.femailError == true) {
selection.setFocus(_local1.femail_txt);
}
} else {
_local1.sendmail();
}
};
SendClass.prototype.clearErrorFields = function () {
var _local1 = this;
_local1.error_yname_naughty._visible = false;
_local1.error_yname_blank._visible = false;
_local1.error_femail_bad._visible = false;
_local1.error_femail_blank._visible = false;
_local1.error_femail_naughty._visible = false;
_local1.error_fname_naughty._visible = false;
_local1.error_fname_blank._visible = false;
};
SendClass.prototype.sendmail = function () {
var _local1 = this;
trace("sending email");
varSender = new LoadVars();
varReceiver = new LoadVars();
varSender.toName = _local1.fname_txt.text;
varSender.toEmail = _local1.femail_txt.text;
varSender.fromName = _local1.yname_txt.text;
varSender.sendAndLoad("email.aspx", varReceiver, "Get");
_local1.gotoAndStop("thanks");
};
#endinitclip
this.cancel_btn.onRelease = function () {
this._parent._parent.onCancel();
};
stop();
Symbol 46 MovieClip [FSendClassSymbol] Frame 2
function waitTime() {
this._parent.onCancel();
clearInterval(this.wait_id);
}
stop();
_parent.ftSend.track();
this.wait_id = setInterval(this, "waitTime", 5000);
stop();
Symbol 137 MovieClip Frame 2
stop();
Symbol 175 MovieClip Frame 26
_level7.playSound("Thunder_intro_snd", 100, 1);
Symbol 175 MovieClip Frame 47
_level7.playSound("Dino_b_snd", 100, 1);
Symbol 175 MovieClip Frame 61
_level7.playSound("Bouncing_txt_snd", 100, 1);
Symbol 175 MovieClip Frame 83
_level7.playSound("PlayButton_snd", 100, 1);
Symbol 175 MovieClip Frame 86
_level7.playSound("fart_snd", 100, 1);
go_grey_btn._visible = true;
go_grey_btn._visible = false;
go_but.onRelease = function () {
_parent.gotoAndPlay("instructions");
};
stop();
Symbol 189 MovieClip Frame 4
stop();
Symbol 200 MovieClip Frame 1
go_btn._visible = true;
grey_btn._visible = false;
go_btn.onRelease = function () {
trace("gone");
_parent.gotoAndPlay("game");
};
stop();
Symbol 217 MovieClip [FCar1ClassSymbol] Frame 1
#initclip 12
CarClass = function () {
this.init();
};
CarClass.prototype = new MovieClip();
Object.registerClass("FCar1ClassSymbol", CarClass);
CarClass.prototype.init = function () {
var _local1 = this;
_local1.startx = -248;
_local1.starty = -125;
_local1.direction = "pos1";
_local1.motorVolume = 75;
_local1.endx = 81;
_local1.endy = -101;
_local1.started = false;
};
CarClass.prototype.start = function () {
var _local1 = this;
_local1.safeFromBite = false;
_local1.xincrement = 2 * _local1.speed;
_local1.yincrement = 0 * _local1.speed;
_local1._x = _local1.startx;
_local1._y = _local1.starty;
_local1.gotoAndPlay((_local1.direction + "_color") + _local1.color);
_local1.started = true;
_level7.playSound("MotorHum1_snd", 100, 100);
_local1.run();
};
CarClass.prototype.run = function () {
this.carMoverID = setInterval(this, "moveCar", 20);
};
CarClass.prototype.moveCar = function () {
var _local1 = this;
_local1._y = _local1._y + _local1.yincrement;
_local1._x = _local1._x + _local1.xincrement;
if (_local1._x > _local1.endx) {
_local1.stopCar();
}
updateAfterEvent();
};
CarClass.prototype.stopCar = function () {
var _local1 = this;
_level7.stopSound("MotorHum1_snd");
_local1.started = false;
_local1.gotoAndStop("stop");
clearInterval(_local1.carMoverID);
_local1.init();
};
CarClass.prototype.chompCar = function () {
var _local1 = this;
_level7.stopSound("MotorHum1_snd");
_local1.safeFromBite = true;
clearInterval(_local1.carMoverID);
_local1.freeze = 0;
_local1.freezeID = setInterval(_local1, "freezeCar", 100);
};
CarClass.prototype.freezeCar = function () {
var _local1 = this;
_local1.gotoAndPlay("chomp");
_local1._parent.chompCar.display(_local1._x, _local1._y, 10);
clearInterval(_local1.freezeID);
_local1.stopID = setInterval(_local1, "waitForStop", 1000);
updateAfterEvent();
};
CarClass.prototype.waitForStop = function () {
this.stopCar();
clearInterval(this.stopID);
updateAfterEvent();
};
#endinitclip
stop();
Symbol 217 MovieClip [FCar1ClassSymbol] Frame 2
stop();
Symbol 217 MovieClip [FCar1ClassSymbol] Frame 3
stop();
Symbol 217 MovieClip [FCar1ClassSymbol] Frame 4
stop();
Symbol 219 MovieClip [FCar3ClassSymbol] Frame 1
#initclip 4
CarClass = function () {
this.init();
};
CarClass.prototype = new MovieClip();
Object.registerClass("FCar3ClassSymbol", CarClass);
CarClass.prototype.init = function () {
var _local1 = this;
_local1.switched = false;
_local1.started = false;
_local1.beginTrackstartx = 40;
_local1.beginTrackstarty = 2;
_local1.beginTrackDirection = "pos1";
_local1.beginTrackMotorVolume = 100;
_local1.beginTrackxincrement = -3;
_local1.beginTrackyincrement = 1;
_local1.endx = -270;
_local1.endy = 114;
};
CarClass.prototype.start = function () {
var _local1 = this;
_local1.safeFromBite = false;
_local1._x = _local1.beginTrackstartx;
_local1._y = _local1.beginTrackstarty;
_local1.direction = _local1.beginTrackDirection;
_local1.xincrement = _local1.beginTrackxincrement * _local1.speed;
_local1.yincrement = _local1.beginTrackyincrement * _local1.speed;
_local1.motorVolume = _local1.beginTrackMotorVolume;
_local1.gotoAndPlay((_local1.direction + "_color") + _local1.color);
_local1.started = true;
_level7.playSound("MotorHum3_snd", 100, 100);
_local1.run();
};
CarClass.prototype.run = function () {
this.carMoverID = setInterval(this, "moveCar", 20);
};
CarClass.prototype.moveCar = function () {
var _local1 = this;
_local1._y = _local1._y + _local1.yincrement;
_local1._x = _local1._x + _local1.xincrement;
if (_local1._x < _local1.endx) {
_local1.stopCar();
}
updateAfterEvent();
};
CarClass.prototype.stopCar = function () {
var _local1 = this;
_level7.stopSound("MotorHum3_snd");
_local1.started = false;
_local1.gotoAndStop("stop");
clearInterval(_local1.carMoverID);
_local1.init();
};
CarClass.prototype.chompCar = function () {
var _local1 = this;
_level7.stopSound("MotorHum3_snd");
_local1.safeFromBite = true;
clearInterval(_local1.carMoverID);
_local1.freezeID = setInterval(_local1, "freezeCar", 200);
};
CarClass.prototype.freezeCar = function () {
var _local1 = this;
_local1._parent.chompCar.display(_local1._x, _local1._y - 30, 10);
clearInterval(_local1.freezeID);
_local1.stopID = setInterval(_local1, "waitForStop", 1000);
updateAfterEvent();
};
CarClass.prototype.waitForStop = function () {
this.stopCar();
clearInterval(this.stopID);
updateAfterEvent();
};
#endinitclip
stop();
Symbol 219 MovieClip [FCar3ClassSymbol] Frame 2
stop();
Symbol 219 MovieClip [FCar3ClassSymbol] Frame 3
stop();
Symbol 219 MovieClip [FCar3ClassSymbol] Frame 4
stop();
_level7.playSound("BigBite3_snd", 100, 1);
Symbol 228 MovieClip [FCar2ClassSymbol] Frame 1
#initclip 5
CarClass = function () {
this.init();
};
CarClass.prototype = new MovieClip();
Object.registerClass("FCar2ClassSymbol", CarClass);
CarClass.prototype.init = function () {
var _local1 = this;
_local1.switched = false;
_local1.started = false;
_local1.beginTrackstartx = -246;
_local1.beginTrackstarty = -18;
_local1.beginTrackDirection = "pos1";
_local1.beginTrackMotorVolume = 100;
_local1.beginTrackxincrement = 2;
_local1.beginTrackyincrement = 0.7;
_local1.endx = -2;
_local1.endy = 86;
};
CarClass.prototype.start = function () {
var _local1 = this;
_local1.safeFromBite = false;
_local1._x = _local1.beginTrackstartx;
_local1._y = _local1.beginTrackstarty;
_local1.direction = _local1.beginTrackDirection;
_local1.xincrement = _local1.beginTrackxincrement * _local1.speed;
_local1.yincrement = _local1.beginTrackyincrement * _local1.speed;
_local1.motorVolume = _local1.beginTrackMotorVolume;
_local1.gotoAndPlay((_local1.direction + "_color") + _local1.color);
_local1.started = true;
_level7.playSound("MotorHum2_snd", 100, 100);
_local1.run();
};
CarClass.prototype.run = function () {
this.carMoverID = setInterval(this, "moveCar", 20);
};
CarClass.prototype.moveCar = function () {
var _local1 = this;
_local1._y = _local1._y + _local1.yincrement;
_local1._x = _local1._x + _local1.xincrement;
if (_local1._x > _local1.endx) {
_local1.stopCar();
}
updateAfterEvent();
};
CarClass.prototype.stopCar = function () {
var _local1 = this;
_level7.stopSound("MotorHum2_snd");
_local1.started = false;
_local1.gotoAndStop("stop");
clearInterval(_local1.carMoverID);
_local1.init();
};
CarClass.prototype.chompCar = function () {
var _local1 = this;
_level7.stopSound("MotorHum2_snd");
_local1.safeFromBite = true;
clearInterval(_local1.carMoverID);
_local1.freezeID = setInterval(_local1, "freezeCar", 100);
};
CarClass.prototype.freezeCar = function () {
var _local1 = this;
_local1._parent.chompCar.display(_local1._x, _local1._y, 10);
clearInterval(_local1.freezeID);
_local1.stopID = setInterval(_local1, "waitForStop", 1000);
updateAfterEvent();
};
CarClass.prototype.waitForStop = function () {
this.stopCar();
clearInterval(this.stopID);
updateAfterEvent();
};
#endinitclip
stop();
Symbol 228 MovieClip [FCar2ClassSymbol] Frame 2
stop();
Symbol 228 MovieClip [FCar2ClassSymbol] Frame 3
stop();
Symbol 228 MovieClip [FCar2ClassSymbol] Frame 4
stop();
_level7.playSound("BigBite2_snd", 100, 1);
Symbol 260 MovieClip Frame 1
stop();
Symbol 260 MovieClip Frame 10
stop();
Symbol 260 MovieClip Frame 11
_parent._parent._level7.playSound("Swoosh_a_snd", 100, 1);
Symbol 260 MovieClip Frame 22
stop();
Symbol 260 MovieClip Frame 23
_parent._parent._level7.playSound("Swoosh_b_snd", 100, 1);
Symbol 260 MovieClip Frame 31
stop();
Symbol 260 MovieClip Frame 32
_parent._parent._level7.playSound("Swoosh_c_snd", 100, 1);
Symbol 260 MovieClip Frame 40
stop();
Symbol 260 MovieClip Frame 41
_parent._parent._level7.playSound("Swoosh_c_snd", 100, 1);
Symbol 260 MovieClip Frame 52
stop();
Symbol 260 MovieClip Frame 53
_parent._parent._level7.playSound("Swoosh_a_snd", 100, 1);
Symbol 260 MovieClip Frame 62
stop();
Symbol 260 MovieClip Frame 63
_parent._parent._level7.playSound("Swoosh_b_snd", 100, 1);
Symbol 260 MovieClip Frame 72
stop();
Symbol 260 MovieClip Frame 73
Symbol 260 MovieClip Frame 84
gotoAndStop ("default");
Symbol 260 MovieClip Frame 85
Symbol 260 MovieClip Frame 93
gotoAndStop ("default");
Symbol 260 MovieClip Frame 94
Symbol 260 MovieClip Frame 102
gotoAndStop ("default");
Symbol 260 MovieClip Frame 103
Symbol 260 MovieClip Frame 111
gotoAndStop ("default");
Symbol 260 MovieClip Frame 112
Symbol 260 MovieClip Frame 120
gotoAndStop ("default");
Symbol 260 MovieClip Frame 121
Symbol 260 MovieClip Frame 130
gotoAndStop ("default");
Symbol 290 MovieClip Frame 1
stop();
Symbol 290 MovieClip Frame 2
stop();
Symbol 310 MovieClip Frame 19
stop();
Symbol 311 MovieClip [FFroggieSymbol] Frame 1
#initclip 6
FroggieClass = function () {
this.init();
};
FroggieClass.prototype = new MovieClip();
Object.registerClass("FFroggieSymbol", FroggieClass);
FroggieClass.prototype.init = function () {
this.playing = false;
};
FroggieClass.prototype.display = function (x, y, wait) {
var _local1 = this;
_local1.safeFromBite = false;
_local1.playing = true;
_local1.gotoAndPlay("start");
};
FroggieClass.prototype.stopFrog = function () {
this.playing = false;
this.gotoAndStop("stop");
};
FroggieClass.prototype.chomp = function () {
var _local1 = this;
_local1.safeFromBite = true;
_local1.freezeID = setInterval(_local1, "freezeFrog", 500);
};
FroggieClass.prototype.freezeFrog = function () {
var _local1 = this;
_local1._parent.chompFrog.display(_local1._x + _local1.xchompOffset, _local1._y + _local1.ychompOffset, 10);
clearInterval(_local1.freezeID);
_local1.stopID = setInterval(_local1, "waitForStop", 500);
updateAfterEvent();
};
FroggieClass.prototype.waitForStop = function () {
var _local1 = this;
_local1._parent.fart1.display();
clearInterval(_local1.stopID);
_local1.stopFrog();
updateAfterEvent();
};
#endinitclip
stop();
Symbol 311 MovieClip [FFroggieSymbol] Frame 2
_parent._parent._level7.playSound("frog_a_snd", 100, 1);
Symbol 311 MovieClip [FFroggieSymbol] Frame 119
this.playing = false;
this.stopFrog();
Symbol 311 MovieClip [FFroggieSymbol] Frame 120
stop();
_level7.playSound("BigBiteFrog_snd", 100, 1);
Symbol 340 MovieClip [FGutClassSymbol] Frame 1
#initclip 7
GutClass = function () {
trace("my name is:" + this._name);
this.init();
};
GutClass.prototype = new MovieClip();
Object.registerClass("FGutClassSymbol", GutClass);
GutClass.prototype.init = function () {
var _local1 = this;
trace("init gut");
_local1.max_gut = 4;
_local1.score = 0;
_local1.gut_int = 1;
_local1.score_txt.text = _local1.score.toString();
trace("score_txt.text=" + _local1.score_txt.text);
_local1.gut_increment = 5;
_local1.gotoAndStop("gut1");
};
GutClass.prototype.expand = function () {
var _local1 = this;
_level7.playSound("Gurgle_snd", 200, 1);
_local1.score++;
trace(("*** SCORE=" + _local1.score) + "***");
_local1.score_txt.text = _local1.score.toString();
if ((_local1.score % _local1.gut_increment) == 0) {
_local1.gut_int++;
if (_local1.gut_int > 4) {
_local1.gut_int = 4;
}
_local1.gotoAndPlay("gut" + _local1.gut_int);
}
};
#endinitclip
stop();
Symbol 340 MovieClip [FGutClassSymbol] Frame 4
stop();
Symbol 340 MovieClip [FGutClassSymbol] Frame 9
stop();
Symbol 340 MovieClip [FGutClassSymbol] Frame 14
stop();
Symbol 340 MovieClip [FGutClassSymbol] Frame 20
stop();
Instance of Symbol 340 MovieClip [FGutClassSymbol] "gut1" in Symbol 344 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
gut = 1;
}
Symbol 350 MovieClip Frame 1
x.text = this._x;
y.text = this._y;
Symbol 355 MovieClip [FFartSymbol] Frame 1
#initclip 8
FartClass = function () {
this.init();
};
FartClass.prototype = new MovieClip();
Object.registerClass("FFartSymbol", FartClass);
FartClass.prototype.init = function () {
this.playing = false;
};
FartClass.prototype.display = function () {
this.playing = true;
this.gotoAndPlay("start");
};
FartClass.prototype.stop = function () {
this.playing = false;
this.gotoAndStop("stop");
};
#endinitclip
stop();
Symbol 355 MovieClip [FFartSymbol] Frame 2
function waitTime() {
trace("*** fart wait ***");
clearInterval(wait_id);
gotoAndPlay ("fart");
updateAfterEvent();
}
wait_id = setInterval(this, "waitTime", 1000);
stop();
Symbol 355 MovieClip [FFartSymbol] Frame 3
_parent._parent._level7.playSound("fart_snd", 200, 1);
Symbol 355 MovieClip [FFartSymbol] Frame 15
this.stop();
Symbol 362 MovieClip Frame 1
gotoAndPlay ("start");
Symbol 362 MovieClip Frame 3
stop();
Symbol 364 MovieClip [FCrosshairsSymbol] Frame 1
#initclip 9
CrosshairsClass = function () {
this.init();
};
CrosshairsClass.prototype = new MovieClip();
Object.registerClass("FCrosshairsSymbol", CrosshairsClass);
CrosshairsClass.prototype.init = function () {
trace("init crosshairs");
this.connected = false;
this.animating = false;
};
CrosshairsClass.prototype.connect = function () {
trace("connected");
this.connected = true;
this.startDrag(true, -233, -163, 119, 154);
trace("x " + x);
mouse.hide();
};
CrosshairsClass.prototype.disconnect = function () {
trace("disconnected");
this.connected = false;
this.stopDrag();
mouse.show();
};
#endinitclip
stop();
Symbol 364 MovieClip [FCrosshairsSymbol] Frame 4
stop();
Symbol 366 MovieClip [FClickAreaSymbol] Frame 1
#initclip 10
ClickAreaClass = function () {
this.init();
};
ClickAreaClass.prototype = new MovieClip();
Object.registerClass("FClickAreaSymbol", ClickAreaClass);
ClickAreaClass.prototype.init = function () {
trace("init area");
};
#endinitclip
this.onRelease = function () {
var _local1 = _parent;
var _local2 = this;
trace("***type=" + _local2.type);
_local1.upperbody.gotoAndPlay("bite" + _local2.type);
if (_local2.hitTest(_local1.froggie1) && (_local1.froggie1.safeFromBite == false)) {
trace("*** hit froggie ***");
_local2._parent.froggie1.chomp();
}
if (_local2.hitTest(_local1.froggie2) && (_local1.froggie2.safeFromBite == false)) {
trace("*** hit froggie 2***");
_local2._parent.froggie2.chomp();
}
if (_local2.hitTest(_local1.car1) && (_local1.car1.safeFromBite == false)) {
trace("hit");
_local1.mc_meter.gut1.expand();
_local1.car1.chompCar();
}
if (_local2.hitTest(_local1.car2) && (_local1.car2.safeFromBite == false)) {
trace("hit");
_local1.mc_meter.gut1.expand();
_local1.car2.chompCar();
}
if (_local2.hitTest(_local1.car3) && (_local1.car3.safeFromBite == false)) {
trace("hit");
_local1.mc_meter.gut1.expand();
_local1.car3.chompCar();
}
};
this.onRollOver = function () {
trace("mouse over " + this.type);
_parent.upperbody.gotoAndPlay(this.type);
_parent.crosshairs_mc.gotoAndPlay("start");
};
this.onRollOut = function () {
trace("mouse out " + this.type);
_parent.upperbody.gotoAndStop("default");
_parent.crosshairs_mc.gotoAndStop("stop");
};
stop();
Symbol 367 MovieClip [FChompSymbol] Frame 1
#initclip 11
ChompClass = function () {
this.init();
};
ChompClass.prototype = new MovieClip();
Object.registerClass("FChompSymbol", ChompClass);
ChompClass.prototype.init = function () {
trace("init chomp");
};
ChompClass.prototype.display = function (x, y, wait) {
var _local1 = this;
clearInterval(_local1.wait_id);
trace("about to show chomp");
_local1.wait = wait;
_local1._x = x;
_local1._y = y;
_local1._visible = true;
trace("*** WAIT!=" + _local1.wait);
_local1.wait_id = setInterval(_local1, "waitTime", wait);
};
ChompClass.prototype.waitTime = function () {
trace("*** chomp wait ***");
clearInterval(this.wait_id);
this.gotoAndPlay("chomp");
updateAfterEvent();
};
ChompClass.prototype.stop = function () {
var _local1 = this;
_local1.playing = false;
_local1._visible = false;
_local1.gotoAndStop("stop");
};
#endinitclip
stop();
Symbol 367 MovieClip [FChompSymbol] Frame 2
trace(("BigBite_" + this._name) + "_snd");
_level7.playSound(("BigBite_" + this._name) + "_snd", 100, 1);
Symbol 367 MovieClip [FChompSymbol] Frame 20
this.stop();
Symbol 368 MovieClip Frame 1
stop();
trace("XXXX between level display");
this.cars_txt.text = _parent.gamescreen.mc_meter.gut1.score.toString();
this.level_txt.text = _parent.gamescreen.level.toString();
play_but.onRelease = function () {
var _local1 = _parent;
trace("clicked");
_local1.gamescreen.level = _local1.gamescreen.level + 1;
_local1.gotoAndStop("game");
};
Symbol 371 MovieClip Frame 1
function startGame() {
_parent.ftPlay.track();
tl.crosshairs_mc.connect();
trace(tl.crosshairs_mc._x);
_parent._level7.stopSound("intro_snd");
tl.froggierandom = 5;
tl.startoffset = 1;
tl.level = 1;
tl.maxLevels = 3;
tl.maxCars = 3;
tl.maxColors = 2;
tl.speed = 2;
tl.maxspeed = 6;
tl.numseconds = 59;
tl.froggie1.ychompOffset = 1;
tl.froggie2.ychompOffset = -30;
tl.froggie1.xchompOffset = -90;
tl.froggie2.xchompOffset = -130;
startLevel(tl.level);
}
function startLevel(level_int) {
tl.started = true;
_parent._level7.playSound("behindGame_snd", 100, 2000);
tl.froggieshown = false;
tl.level = level_int;
if (tl.level < tl.maxLevels) {
endGame();
}
trace("level=" + leve1_int);
tl.mc_meter.gut1.init();
tl.speed = tl.speed;
tl.time_int = tl.numseconds;
tl.time_id = setInterval(this, "updateTime", 1000);
tl.updatecars_id = setInterval(this, "updateCars", 50);
}
function reset() {
trace("reset game");
tl.started = false;
_parent._level7.stopSound("behindGame_snd");
stopAllSounds();
clearInterval(tl.updatecars_id);
clearInterval(tl.time_id);
stopAllCars();
mc_meter.timer1.gotoAndStop(tl.numseconds.toString());
_parent._parent.gotoAndPlay("loader");
}
function betweenLevel() {
tl.started = false;
_parent._level7.stopSound("behindGame_snd");
stopAllSounds();
clearInterval(tl.updatecars_id);
clearInterval(tl.time_id);
stopAllCars();
tl.score = tl.mc_meter.gut1.score;
trace("tl.score=" + tl.score);
tl.mc_meter.timer1.gotoAndStop("timesup");
this.wait_id = setInterval(this, "waitTime", 5000);
}
function waitTime() {
tl.crosshairs_mc.disconnect();
if (tl.burpsLoaded == true) {
gotoAndPlay ("betweenlevel");
clearInterval(this.wait_id);
}
}
function endGame() {
}
function stopAllCars() {
car1.stopCar();
car2.stopCar();
car3.stopCar();
froggie1.stopFrog();
}
function updateCars() {
r = Math.floor(Math.random() * tl.maxCars) + 1;
c = Math.floor(Math.random() * tl.maxColors) + 1;
s = Math.floor(Math.random() * tl.maxSpeed) + 3;
if (tl["car" + r].started == false) {
if (((tl.car1.started == false) && (tl.car2.started == false)) && (tl.car3.started == false)) {
tl["car" + r].speed = s;
tl["car" + r].color = c;
tl["car" + r].start();
trace("*** started!!! ***");
}
}
updateAfterEvent();
}
function updateTime() {
time_int--;
mc_meter.timer1.gotoAndStop(time_int.toString());
if (time_int < 1) {
trace("*** between level called ***");
betweenLevel();
}
if (tl.froggieshown == false) {
r = Math.floor(Math.random() * tl.froggierandom);
if (((r == 1) && (tl.froggie1.playing == false)) && (tl.froggie2.playing == false)) {
frognum = Math.floor(Math.random() * 2) + 1;
tl.showFroggie(frognum);
}
}
updateAfterEvent();
}
function showFroggie(frognum) {
trace("show froggie " + frognum);
tl["froggie" + frognum].display();
}
function loadBurps() {
tl.burpsloaded = false;
tl.bl_mc.loadMovie("tr_Burps.swf");
loadTest = function () {
loadedbytes = getBytesLoaded() + this.bl_mc.getBytesLoaded();
totalbytes = getBytesTotal() + this.bl_mc.getBytesTotal();
trace((("bytes:" + loadedbytes) + " ") + totalbytes);
if (loadedbytes >= totalbytes) {
trace("root Burp loaded!");
clearInterval(loadint);
tl.burpsLoaded = true;
}
};
loadint = setInterval(loadTest, 50);
}
tl = this;
click1.type = "one";
click2.type = "two";
click3.type = "three";
click4.type = "four";
click5.type = "five";
click6.type = "six";
loadBurps();
startGame();
stop();
Instance of Symbol 217 MovieClip [FCar1ClassSymbol] "car1" in Symbol 371 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
carType = 1;
trackType = 1;
}
Instance of Symbol 219 MovieClip [FCar3ClassSymbol] "car3" in Symbol 371 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
carType = 2;
trackType = 1;
}
Instance of Symbol 228 MovieClip [FCar2ClassSymbol] "car2" in Symbol 371 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
carType = 2;
trackType = 1;
}
Instance of Symbol 311 MovieClip [FFroggieSymbol] "froggie1" in Symbol 371 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
type = 1;
}
Instance of Symbol 311 MovieClip [FFroggieSymbol] "froggie2" in Symbol 371 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
type = 1;
}
Instance of Symbol 355 MovieClip [FFartSymbol] "fart1" in Symbol 371 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
tyep = 1;
}
Instance of Symbol 364 MovieClip [FCrosshairsSymbol] "crosshairs_mc" in Symbol 371 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
type = 1;
}
Instance of Symbol 366 MovieClip [FClickAreaSymbol] "click5" in Symbol 371 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
type = 1;
}
Instance of Symbol 366 MovieClip [FClickAreaSymbol] "click2" in Symbol 371 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
type = 1;
}
Instance of Symbol 366 MovieClip [FClickAreaSymbol] "click4" in Symbol 371 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
type = 1;
}
Instance of Symbol 366 MovieClip [FClickAreaSymbol] "click3" in Symbol 371 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
type = 1;
}
Instance of Symbol 366 MovieClip [FClickAreaSymbol] "click1" in Symbol 371 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
type = 1;
}
Instance of Symbol 366 MovieClip [FClickAreaSymbol] "click6" in Symbol 371 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
type = 6;
}
Instance of Symbol 367 MovieClip [FChompSymbol] "chompCar" in Symbol 371 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
type = 1;
}
Instance of Symbol 367 MovieClip [FChompSymbol] "chompFrog" in Symbol 371 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
type = 1;
}
Instance of Symbol 368 MovieClip "bl_mc" in Symbol 371 MovieClip Frame 1
onClipEvent (load) {
trace("movieClip say this has now loaded");
}
Symbol 371 MovieClip Frame 2
function restartwaitTime() {
clearInterval(this.restartwait_id);
gotoAndStop ("game");
}
this.restartwait_id = setInterval(this, "restartwaitTime", 2000);
Symbol 371 MovieClip Frame 3
stop();
trace("between level frame tl.score=" + tl.score);
this.bl_mc.gotoAndPlay("start");
Symbol 373 MovieClip Frame 1
stop();
this._visible = false;
Symbol 373 MovieClip Frame 2
stop();
_parent.sendx_mc._visible = true;
Symbol 373 MovieClip Frame 9
_level7.playSound("buttonAnimate_snd", 100, 1);
Symbol 373 MovieClip Frame 17
stop();
this._visible = false;
this.gotoAndStop("stopped");
_parent.sendx_mc._visible = true;
Symbol 374 MovieClip Frame 1
this._visible = false;
stop();
Symbol 374 MovieClip Frame 2
stop();
_parent.printx_mc._visible = true;
Symbol 374 MovieClip Frame 9
_level7.playSound("buttonAnimate_snd", 100, 1);
Symbol 374 MovieClip Frame 17
stop();
this._visible = false;
this.gotoAndStop("stopped");
_parent.printx_mc._visible = true;