Frame 1
function updateLoader(percent, amtLoaded, amtTotal) {
percent = Math.round(percent * 100);
loader.bar._xscale = percent * 1.12;
loader.loaded = amtLoaded;
if ((percent > 98) and (!loader.bounce.done)) {
shirt = random(3) + 1;
loader.exit();
}
}
total = getBytesTotal();
loaded = getBytesLoaded();
per = loaded / total;
outPer = Math.round(per * 100);
updateLoader(per, loaded, total);
ifFrameLoaded (6) {
if (scoresURL != "") {
shirt = random(3) + 1;
gotoAndStop (3);
}
}
Frame 2
gotoAndPlay (1);
Frame 3
function doBlocker(where) {
blocker.where = where;
blocker.play();
}
_root.gameID = 1;
gameID = 1;
_root.rootWidth = 550;
_root.rootHeight = 400;
_quality = "BEST";
trace("s=" + scoresURL);
loadMovie ("scores.swf", "scores");
onEnterFrame = null;
stop();
Instance of Symbol 150 MovieClip "scores" in Frame 3
/* no clip actions */
Frame 4
_root.scores.scripting.display();
shirt++;
if (shirt > 5) {
shirt = 1;
}
game.level = level;
stop();
Symbol 2 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 15 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 25 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 34 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 35 MovieClip [UpArrow] Frame 1
stop();
Symbol 35 MovieClip [UpArrow] Frame 2
stop();
Symbol 35 MovieClip [UpArrow] Frame 3
stop();
Symbol 42 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 49 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 54 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 55 MovieClip [ScrollThumb] Frame 1
stop();
Symbol 63 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 71 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 79 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 80 MovieClip [DownArrow] Frame 1
stop();
Symbol 80 MovieClip [DownArrow] Frame 2
stop();
Symbol 80 MovieClip [DownArrow] Frame 3
stop();
Symbol 83 MovieClip Frame 1
var component = _parent;
component.registerSkinElement(track_mc, "scrollTrack");
Symbol 84 MovieClip [FScrollBarSymbol] Frame 1
#initclip 2
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 90 MovieClip Frame 19
if (done) {
play();
} else {
gotoAndPlay (1);
}
Symbol 90 MovieClip Frame 56
trace("ho");
_root.gotoAndStop(3);
stop();
Symbol 91 MovieClip Frame 1
function exit() {
bounce.done = true;
this.onEnterFrame = function () {
if (bar._alpha > 0) {
bar._alpha = bar._alpha - 10;
}
};
}
bounce.done = false;
gotoAndStop (5);
Symbol 127 Button
on (release) {
_parent.scores.scripting.gameID = 3;
_parent.gameID = 3;
_parent.level = 2;
_parent.doBlocker(4);
}
Symbol 132 Button
on (release) {
_parent.scores.scripting.gameID = 2;
_parent.gameID = 2;
_parent.level = 1;
_parent.doBlocker(4);
}
Symbol 137 Button
on (release) {
_parent.scores.scripting.gameID = 1;
_parent.gameID = 1;
_parent.level = 0;
_parent.doBlocker(4);
}
Symbol 142 Button
on (release) {
_parent.goBack = 3;
_parent.doBlocker(5);
}
Symbol 147 Button
on (release) {
_parent.goBack = 3;
_parent.doBlocker(6);
}
Symbol 160 MovieClip Frame 1
function start(which) {
trace("bounce:" + which);
gotoAndPlay("bounce" + which);
}
stop();
Symbol 160 MovieClip Frame 6
stop();
Symbol 160 MovieClip Frame 13
stop();
Symbol 160 MovieClip Frame 20
stop();
Symbol 160 MovieClip Frame 27
stop();
Symbol 160 MovieClip Frame 34
stop();
Symbol 160 MovieClip Frame 41
stop();
Symbol 160 MovieClip Frame 48
stop();
Symbol 160 MovieClip Frame 55
stop();
Symbol 160 MovieClip Frame 62
stop();
Symbol 160 MovieClip Frame 69
stop();
Symbol 160 MovieClip Frame 76
stop();
Symbol 160 MovieClip Frame 83
stop();
Symbol 160 MovieClip Frame 90
stop();
Symbol 160 MovieClip Frame 98
stop();
Symbol 160 MovieClip Frame 105
stop();
Symbol 163 MovieClip Frame 1
function start(which) {
trace("bounce:" + which);
gotoAndPlay("bounce" + which);
}
stop();
Symbol 163 MovieClip Frame 8
stop();
Symbol 163 MovieClip Frame 15
stop();
Symbol 163 MovieClip Frame 22
stop();
Symbol 163 MovieClip Frame 29
stop();
Symbol 163 MovieClip Frame 36
stop();
Symbol 163 MovieClip Frame 43
stop();
Symbol 163 MovieClip Frame 50
stop();
Symbol 163 MovieClip Frame 57
stop();
Symbol 163 MovieClip Frame 64
stop();
Symbol 163 MovieClip Frame 71
stop();
Symbol 163 MovieClip Frame 78
stop();
Symbol 163 MovieClip Frame 85
stop();
Symbol 163 MovieClip Frame 92
stop();
Symbol 163 MovieClip Frame 99
stop();
Symbol 163 MovieClip Frame 106
stop();
Symbol 169 MovieClip Frame 1
function start() {
which++;
if (which >= num) {
which = 1;
}
gotoAndPlay("retort" + which);
}
num = 5;
which = -1;
stop();
Symbol 169 MovieClip Frame 9
last = which;
stop();
last = which;
stop();
Symbol 169 MovieClip Frame 17
last = which;
stop();
last = which;
stop();
Symbol 169 MovieClip Frame 25
last = which;
stop();
last = which;
stop();
Symbol 169 MovieClip Frame 33
last = which;
stop();
last = which;
stop();
Symbol 169 MovieClip Frame 42
last = which;
stop();
last = which;
stop();
Symbol 182 MovieClip Frame 1
function start(which) {
if (which == 0) {
tcount++;
if (tcount >= taunts) {
tcount = 0;
}
gotoAndPlay("taunt" + tcount);
} else {
ccount++;
if (ccount >= comps) {
ccount = 0;
}
gotoAndPlay("comp" + ccount);
}
}
taunts = 5;
comps = 5;
tcount = random(taunts);
ccount = random(comps);
stop();
Symbol 182 MovieClip Frame 7
stop();
stop();
Symbol 182 MovieClip Frame 13
stop();
stop();
Symbol 182 MovieClip Frame 19
stop();
stop();
Symbol 182 MovieClip Frame 25
stop();
stop();
Symbol 182 MovieClip Frame 31
stop();
stop();
Symbol 182 MovieClip Frame 55
stop();
stop();
Symbol 182 MovieClip Frame 61
stop();
stop();
Symbol 182 MovieClip Frame 67
stop();
stop();
Symbol 182 MovieClip Frame 73
stop();
stop();
Symbol 182 MovieClip Frame 79
stop();
stop();
Symbol 182 MovieClip Frame 98
stop();
Symbol 182 MovieClip Frame 105
stop();
Symbol 185 MovieClip Frame 1
function start() {
_parent.volumes[1] = 100;
_parent.goals[1] = 100;
gotoAndPlay (2);
}
function fade() {
_parent.goals[1] = 0;
gotoAndPlay (7);
}
stop();
Symbol 185 MovieClip Frame 4
stop();
Symbol 189 MovieClip Frame 1
stop();
Symbol 191 Button
on (release) {
if (goals[0] == 100) {
goals[0] = 0;
} else {
goals[0] = 100;
}
}
Symbol 193 MovieClip Frame 1
instance = new Array();
names = ["this", "music"];
goals = [100, 100, 100, 100, 100, 0];
volumes = [100, 100, 100, 100, 100, 0];
adjustments = [5, 5, 4, 5, 10, 10];
i = 0;
while (i < names.length) {
instance[i] = new Sound(eval (names[i]));
instance[i].setVolume(volumes[i]);
i++;
}
onEnterFrame = function () {
i = 0;
while (i < names.length) {
if (goals[i] < volumes[i]) {
volumes[i] = volumes[i] - adjustments[i];
} else if (goals[i] > volumes[i]) {
volumes[i] = volumes[i] + adjustments[i];
}
if (Math.abs(goals[i] - volumes[i]) < adjustments[i]) {
volumes[i] - goals[i];
}
instance[i].setVolume(volumes[i]);
i++;
}
frame = int(volumes[0] / 10) + 1;
speaker.gotoAndStop(frame);
};
Symbol 193 MovieClip Frame 147
stop();
Symbol 195 MovieClip Frame 6
stop();
Symbol 195 MovieClip Frame 15
_root.gotoAndStop(where);
Symbol 204 MovieClip Frame 1
onEnterFrame = function () {
ball._rotation = ball._rotation + 20;
};
Symbol 215 MovieClip Frame 1
stop();
Symbol 215 MovieClip Frame 10
gotoAndPlay (2);
Symbol 226 MovieClip Frame 1
stop();
Symbol 226 MovieClip Frame 10
gotoAndPlay (2);
Symbol 237 MovieClip Frame 1
stop();
Symbol 237 MovieClip Frame 10
gotoAndPlay (2);
Symbol 248 MovieClip Frame 1
stop();
Symbol 248 MovieClip Frame 10
gotoAndPlay (2);
Symbol 259 MovieClip Frame 1
stop();
Symbol 259 MovieClip Frame 10
gotoAndPlay (2);
Symbol 270 MovieClip Frame 1
stop();
Symbol 270 MovieClip Frame 10
gotoAndPlay (2);
Symbol 281 MovieClip Frame 1
stop();
Symbol 281 MovieClip Frame 10
gotoAndPlay (2);
Symbol 292 MovieClip Frame 1
stop();
Symbol 292 MovieClip Frame 10
gotoAndPlay (2);
Symbol 303 MovieClip Frame 1
stop();
Symbol 303 MovieClip Frame 10
gotoAndPlay (2);
Symbol 319 MovieClip Frame 1
stop();
Symbol 319 MovieClip Frame 10
gotoAndPlay (2);
Symbol 331 MovieClip Frame 1
stop();
Symbol 331 MovieClip Frame 10
gotoAndPlay (2);
Symbol 341 MovieClip Frame 1
stop();
Symbol 341 MovieClip Frame 10
gotoAndPlay (2);
Symbol 352 MovieClip Frame 1
stop();
Symbol 352 MovieClip Frame 10
gotoAndPlay (2);
Symbol 356 MovieClip Frame 1
stop();
Symbol 356 MovieClip Frame 10
gotoAndPlay (2);
Symbol 357 MovieClip Frame 1
stop();
Symbol 368 MovieClip Frame 1
stop();
Symbol 519 MovieClip Frame 1
stop();
Symbol 519 MovieClip Frame 23
moving = false;
_parent.ball.flying = false;
stop();
Symbol 519 MovieClip Frame 53
moving = false;
_parent.ball.flying = false;
stop();
Symbol 519 MovieClip Frame 73
moving = false;
Symbol 519 MovieClip Frame 78
_parent.ball.flying = false;
stop();
Symbol 519 MovieClip Frame 93
moving = false;
Symbol 519 MovieClip Frame 98
_parent.ball.flying = false;
stop();
Symbol 519 MovieClip Frame 99
safe[0] = true;
Symbol 519 MovieClip Frame 100
safe[1] = true;
Symbol 519 MovieClip Frame 102
safe[2] = true;
Symbol 519 MovieClip Frame 110
moving = false;
Symbol 519 MovieClip Frame 113
_parent.ball.flying = false;
stop();
Symbol 519 MovieClip Frame 115
safe[0] = true;
Symbol 519 MovieClip Frame 116
safe[1] = true;
Symbol 519 MovieClip Frame 118
safe[2] = true;
Symbol 519 MovieClip Frame 126
moving = false;
Symbol 519 MovieClip Frame 129
_parent.ball.flying = false;
stop();
Symbol 519 MovieClip Frame 131
safe[0] = true;
Symbol 519 MovieClip Frame 132
safe[1] = true;
Symbol 519 MovieClip Frame 134
safe[2] = true;
Symbol 519 MovieClip Frame 141
moving = false;
Symbol 519 MovieClip Frame 143
_parent.ball.flying = false;
stop();
Symbol 519 MovieClip Frame 144
safe[0] = true;
Symbol 519 MovieClip Frame 145
safe[1] = true;
Symbol 519 MovieClip Frame 147
safe[2] = true;
Symbol 519 MovieClip Frame 154
moving = false;
Symbol 519 MovieClip Frame 156
_parent.ball.flying = false;
stop();
Symbol 519 MovieClip Frame 157
safe[0] = true;
Symbol 519 MovieClip Frame 158
safe[1] = true;
Symbol 519 MovieClip Frame 159
safe[2] = true;
Symbol 519 MovieClip Frame 169
moving = false;
Symbol 519 MovieClip Frame 172
_parent.ball.flying = false;
stop();
Symbol 519 MovieClip Frame 173
safe[0] = true;
Symbol 519 MovieClip Frame 174
safe[1] = true;
Symbol 519 MovieClip Frame 175
safe[2] = true;
Symbol 519 MovieClip Frame 196
moving = false;
_parent.ball.flying = false;
stop();
Symbol 519 MovieClip Frame 207
moving = false;
Symbol 519 MovieClip Frame 210
_parent.ball.flying = false;
stop();
Symbol 519 MovieClip Frame 242
moving = false;
Symbol 519 MovieClip Frame 243
_parent.ball.flying = false;
stop();
Symbol 530 Button
on (release) {
_parent._parent.goBack = 4;
_parent._parent.doBlocker(5);
}
Symbol 531 Button
on (release) {
_root.goBack = 4;
_root.doBlocker(6);
}
Symbol 538 Button
on (release) {
_visible = false;
_parent._parent.goBack = 4;
_parent._parent.doBlocker(5);
gotoAndStop (1);
}
Symbol 539 Button
on (release) {
_parent._parent.doBlocker(3);
_visible = false;
gotoAndStop (1);
}
Symbol 543 Button
on (release) {
_parent._parent.doBlocker(3);
}
Symbol 548 Button
on (release) {
_parent._parent.doBlocker(7);
}
Symbol 549 MovieClip Frame 1
stop();
Symbol 549 MovieClip Frame 2
if (_parent.score >= 18) {
nextFrame();
}
Symbol 557 MovieClip Frame 1
function convert(pos) {
mytrans = new Object();
where = (1 / pos.z) * dim;
mytrans.yscale = (where * size) + 6;
mytrans.xscale = (where * size) + 6;
distx = (pos.x - vanx) * (where / (dim / inc));
disty = (-(pos.y - vany)) * (where / (dim / inc));
mytrans.x = vanx + distx;
mytrans.y = vany + disty;
return(mytrans);
}
function guytest(object) {
hit = true;
var c = col[spot];
var r = row[spot];
if ((object.position.z >= guy) and (!ball.past)) {
ball.past = true;
trace((move + " ") + r);
if (man.safe[level] and (move != c)) {
hit = false;
}
if ((r == 2) and (move == 1)) {
hit = true;
}
if ((!man.moving) and (spot != 5)) {
hit = true;
}
if ((!man.moving) and (spot == 5)) {
hit = false;
}
if (hit) {
hitStreak++;
missStreak = 0;
if (hitStreak == 3) {
hitStreak = 0;
_root.sounds.taunt.start(0);
}
_root.sounds.hit.start(prob[level][projectile]);
if ((c == 0) and (r == 2)) {
man.moving = true;
ball.speed.z = ball.speed.z * -0.1;
ball.speed.x = ball.speed.x * 1.3;
man.gotoAndplay("footleft");
}
if ((c == 2) and (r == 2)) {
man.moving = true;
ball.speed.z = ball.speed.z * -0.1;
ball.speed.x = ball.speed.x * 1.3;
man.gotoAndplay("footright");
}
if ((c == 0) and (r == 1)) {
man.moving = true;
ball.speed.z = ball.speed.z * -0.1;
ball.speed.x = ball.speed.x * 1.3;
man.gotoAndplay("footleft");
}
if ((c == 2) and (r == 1)) {
man.moving = true;
ball.speed.z = ball.speed.z * -0.1;
ball.speed.x = ball.speed.x * 1.3;
man.gotoAndplay("footright");
}
if ((c == 0) and (r == 0)) {
man.moving = true;
ball.speed.z = ball.speed.z * -0.1;
ball.speed.x = ball.speed.x * 1.3;
man.gotoAndplay("headleft");
}
if ((c == 2) and (r == 0)) {
man.moving = true;
ball.speed.z = ball.speed.z * -0.1;
ball.speed.x = ball.speed.x * 1.3;
man.gotoAndplay("headright");
}
if ((c == 1) and (r == 0)) {
man.moving = true;
ball.speed.z = ball.speed.z * -0.1;
ball.speed.x = 100;
man.gotoAndplay("middle");
}
if ((c == 1) and (r == 1)) {
man.moving = true;
ball.speed.z = ball.speed.z * -0.1;
ball.speed.x = -100;
if (catching) {
man.moving = true;
ball.position.y = 200000 /* 0x030D40 */;
man.gotoAndplay("catch");
count = count + 36;
catching = false;
} else {
man.moving = true;
man.gotoAndPlay("middle");
}
}
if ((c == 1) and (r == 2)) {
man.moving = true;
ball.speed.z = ball.speed.z * -0.1;
ball.speed.x = -100;
man.gotoAndPlay("footleft");
}
} else {
missStreak++;
hitStreak = 0;
if (missStreak == 3) {
missStreak = 0;
_root.sounds.taunt.start(1);
}
score++;
}
catching = false;
move = -1;
}
}
function floorTest(object) {
if ((object.position.y < floor) and (object.speed.y < 0)) {
ball.bounces++;
if (ball.bounces == 1) {
_root.sounds.bounce.start(prob[level][projectile]);
}
if (ball.bounces == 2) {
}
object.postion.y = floor;
object.speed.y = object.speed.y * -0.8;
}
}
function walltest(object) {
if ((object.position.z > wall) and (object.speed.z > 0)) {
ball.bounces++;
_root.sounds.bounce.start(prob[level][projectile]);
object.postion.z = wall;
object.speed.z = object.speed.z * -0.15;
if (object.speed.x == 0) {
object.speed.x = 200;
} else {
object.speed.x = object.speed.x * 2;
}
}
}
function redraw(object) {
if (object.shadow != undefined) {
object.shadow.position.x = object.position.x + ((object.position.y - floor) * 0.2);
object.shadow.position.y = floor;
object.shadow.position.z = object.position.z + ((object.position.y - floor) * 0.01);
mytrans = convert(object.shadow.position);
object.shadow._x = mytrans.x;
object.shadow._y = mytrans.y;
object.shadow._xscale = mytrans.xscale;
object.shadow._yscale = mytrans.yscale;
}
mytrans = convert(object.position);
object._x = mytrans.x;
object._y = mytrans.y;
object._xscale = mytrans.xscale;
object._yscale = mytrans.yscale;
}
function translate(object) {
if (object.gravity) {
object.speed.y = object.speed.y - gravity;
}
object.position.x = object.position.x + object.speed.x;
object.position.y = object.position.y + object.speed.y;
object.position.z = object.position.z + object.speed.z;
floortest(object);
walltest(object);
guytest(object);
}
function newGame() {
hitStreak = 0;
missStreak = 0;
retorting = false;
launchtime = 0;
pcount = -1;
started = false;
over = false;
starter._visible = true;
ball.shadow = shadow;
ball.flying = false;
ball.bounce = 0.8;
ball.slide = 0.9;
ball.gravity = false;
ball.location = new Object();
ball.position = new Object();
ball.speed = new Object();
ball.position.x = 0;
ball.position.y = 150;
ball.position.z = 20;
ball.speed.x = 0;
ball.speed.y = 0;
ball.speed.z = 0;
shadow.position = new Object();
shadow.speed = new Object();
shadow.position.x = 0;
shadow.position.y = floor;
shadow.position.z = 20;
shadow.speed.x = 0;
shadow.speed.y = 0;
shadow.speed.z = 0;
shadow._visible = false;
floor = -525;
wall = 233;
guy = 130;
inc = 20;
vanx = 0;
vany = 30;
dim = 9000;
gravity = 14;
size = 0.6;
ball._visible = false;
translate(ball);
redraw(ball);
playing = false;
passed = false;
score = 0;
}
function doKeys() {
if (Key.isDown(40) and (!man.moving)) {
man.moving = true;
move = 1;
man.safe = [false, false, false];
dir = 0;
if (row[spot] == 1) {
dir = 1;
}
man.gotoAndPlay("down" + dir);
}
if (Key.isDown(37) and (!man.moving)) {
man.moving = true;
move = 0;
man.safe = [false, false, false];
dir = 0;
if (row[spot] == 0) {
dir = 1;
}
man.gotoAndPlay("left" + dir);
}
if (Key.isDown(39) and (!man.moving)) {
man.moving = true;
move = 2;
man.safe = [false, false, false];
dir = 0;
if (row[spot] == 0) {
dir = 1;
}
man.gotoAndPlay("right" + dir);
}
if ((Key.isDown(32) and (!started)) and starter._visible) {
count = 540;
newGame();
started = true;
_root.sounds.taunt.gotoAndPlay("go");
_root.sounds.music.start();
starter._visible = false;
starter.gotoAndStop(1);
} else if ((Key.isDown(32) and (!man.moving)) and started) {
catching = true;
}
if (Key.isDown(38) and (!retorting)) {
_root.sounds.retort.start();
retorting = true;
}
if (!Key.isDown(38)) {
retorting = false;
}
}
function toss() {
move = -1;
ball.bounces = 0;
spot = random(8);
if (spot == 5) {
spot = 3;
}
if (spot == 4) {
spot = 4;
projectile = 1;
ball.gotoAndStop(1);
} else {
pcount++;
projectile = pcount % prob[level].length;
ball.gotoAndStop(prob[level][projectile]);
}
ball.position.x = 0;
ball.position.y = 0;
ball.position.z = 50;
ball.speed.x = 0;
ball.speed.y = 0;
ball.speed.z = -1;
ball.gravity = false;
ball.flying = true;
ball.past = false;
ball._visible = true;
shadow._visible = true;
translate(ball);
redraw(ball);
launchtime = 3;
}
function doLaunch() {
if (launchTime == 1) {
ball.gravity = true;
ball.speed.z = 16 + (level * 4);
ball.speed.x = direction.x[spot];
ball.speed.y = direction.y[spot] + 35;
ball.inside.play();
launchtime = 0;
} else {
launchtime--;
}
}
function doTime() {
if (started) {
count--;
time = int(count / 1.8) / 10;
if (time == int(time)) {
time = time + ".0";
}
if (count <= 0) {
_root.sounds.music.fade();
started = false;
over = true;
starter.gotoAndStop(2);
time = "0.0";
}
}
if (over) {
count++;
if (count == 36) {
over = false;
_root.scores.scripting.test(score);
}
}
}
function doBallPlane() {
if (ball.flying) {
if (ball.position.z <= (guy + 25)) {
ball._visible = true;
ball2._visible = false;
} else {
ball._visible = false;
ball2._visible = true;
ball2._x = ball._x;
ball2._y = ball._y;
ball2._xscale = ball._xscale;
ball2._yscale = ball._yscale;
ball2.gotoAndStop(ball._currentframe);
ball2.inside.gotoAndPlay(ball.inside._currentframe);
}
} else {
ball2._visible = false;
}
}
function reset() {
starter._visible = true;
}
man.moving = eval (false)();
_root.sounds.taunt.gotoAndPlay("challenge");
direction = new Object();
direction.x = [-72, -82, -100, 0, 0, 0, 72, 82, 100];
direction.y = [150, 53, -20, 165, 90, -25, 150, 53, -20];
row = [0, 1, 2, 0, 1, 2, 0, 1, 2];
col = [0, 0, 0, 1, 1, 1, 2, 2, 2];
prob = new Array();
prob[0] = [2, 3, 4, 5, 2, 3, 6, 4, 5];
prob[1] = [6, 7, 8, 2, 9, 10, 6, 7, 3, 8, 9, 10, 6, 4, 8, 5, 9, 10];
prob[2] = [11, 12, 13, 14, 15, 11, 12, 14, 13, 15, 12, 11, 13, 14, 15];
onEnterFrame = function () {
doTime();
doKeys();
dolaunch();
translate(ball);
redraw(ball);
if ((((!ball.flying) and (!man.moving)) and started) and (count < 530)) {
trace("tossing");
toss();
}
doBallPlane();
man.logo.gotoAndStop(_root.shirt);
};
newGame();
Symbol 568 Button
on (release) {
_parent.level = 0;
_parent.doBlocker(_parent.goBack);
}
Symbol 579 MovieClip Frame 1
this._visible = false;
Symbol 583 Button
on (release) {
gotoAndStop (73);
}
Symbol 588 Button
on (release, keyPress "<Enter>") {
submit();
}
Symbol 590 MovieClip Frame 1
function SendEmail(a, b, c, d, e) {
your_name = a;
your_email = b;
friends_name = c;
friends_email = d;
message = e;
dl = "5ds";
getURL (_root.emailURL, "_blank", "GET");
gotoAndStop (1);
}
Symbol 601 Button
on (rollOver) {
forw();
}
on (rollOut) {
rev();
}
on (release, keyPress "<Enter>") {
_parent.sendPressed();
}
Symbol 602 MovieClip Frame 4
allStop();
nextFrame();
Symbol 602 MovieClip Frame 20
allStop();
prevFrame();
Symbol 605 Button
on (rollOver) {
forw();
}
on (rollOut) {
rev();
}
on (release, keyPress "<Enter>") {
_parent.gotoAndForw("close");
}
Symbol 606 MovieClip Frame 4
allStop();
nextFrame();
Symbol 606 MovieClip Frame 20
allStop();
prevFrame();
Symbol 631 Button
on (release) {
gotoAndStop (21);
}
Symbol 634 Button
on (release) {
gotoAndStop (21);
}
Symbol 635 Button
on (release, keyPress "<Enter>") {
gotoAndStop (73);
}
Symbol 638 MovieClip Frame 1
function submit() {
trace("ho");
if ((((your_name.length < 1) || (your_email.length < 1)) || (friends_name.length < 1)) || (friends_email.length < 1)) {
info = "incomplete forms";
} else if ((((your_email.indexOf("@") < 0) || (your_email.indexOf(".") < 0)) || (friends_email.text.indexOf("@") < 0)) || (friends_email.text.indexOf(".") < 0)) {
info = "invalid email";
} else {
sendstr = _root.emailURL;
dl = "5ds";
sendstr = "../../../../server_scripts/send_email.php";
info("this is the sendstring = " + sendstr);
info("your_name: " + your_name);
info("your_email: " + your_email);
info("friends_name: " + friends_name);
info("friends_email: " + friends_email);
loadVariables (sendstr, this, "POST");
counter = 0;
gotoAndStop (57);
this.onEnterFrame = function () {
counter++;
info("script_message: " + script_message);
if ((script_message == "error") || (counter >= wait)) {
this.onEnterFrame = false;
gotoAndStop (42);
} else if (script_message == "ok") {
this.onEnterFrame = false;
gotoAndStop (65);
} else {
info("checking for script_message");
}
};
}
}
var counter = 0;
var wait = 200;
var secPath = "/games/five_ds";
Symbol 638 MovieClip Frame 5
gotoAndStop (21);
Symbol 638 MovieClip Frame 11
button.useHandCursor = false;
Symbol 638 MovieClip Frame 18
init();
Symbol 638 MovieClip Frame 32
stop();
Symbol 638 MovieClip Frame 46
stop();
Symbol 638 MovieClip Frame 61
stop();
Symbol 638 MovieClip Frame 73
_root.doBlocker(_root.goBack);
stop();
Symbol 638 MovieClip Frame 85
gotoAndPlay (1);
Symbol 646 Button
on (release) {
getURL ("javascript:openDesktop('sm');");
}
Symbol 650 Button
on (release) {
getURL ("javascript:openDesktop('md');");
}
Symbol 654 Button
on (release) {
getURL ("javascript:openDesktop('lg');");
}
Symbol 655 Button
on (release, keyPress "<Enter>") {
_parent.doBlocker(4);
}