Frame 1
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded / bytes_total;
_root.loadText = Math.round(getPercent * 100) + "%";
if (bytes_loaded >= bytes_total) {
_root.gotoAndPlay(3);
}
Frame 2
_root.gotoAndPlay("load");
Frame 3
stop();
Instance of Symbol 264 MovieClip "introMovie" in Frame 3
onClipEvent (enterFrame) {
_root.title = new Sound(this);
_root.title.attachSound("title");
_root.title.setVolume(_root.musicVolume);
}
Instance of Symbol 265 MovieClip "soundFXMC2" in Frame 3
onClipEvent (enterFrame) {
_root.pebble = new Sound(this);
_root.pebble.attachSound("pebble");
_root.pebble.setVolume(_root.fxVolume);
}
Instance of Symbol 266 MovieClip "musicMC" in Frame 3
onClipEvent (enterFrame) {
_root.mainMusic = new Sound(this);
_root.mainMusic.attachSound("mainMusic");
_root.mainMusic.setVolume(_root.musicVolume);
}
Instance of Symbol 265 MovieClip "soundFXMC1" in Frame 3
onClipEvent (enterFrame) {
_root.readyGo = new Sound(this);
_root.readyGo.attachSound("readyGo");
_root.readyGo.setVolume(_root.fxVolume);
}
Instance of Symbol 265 MovieClip "soundFXMC3" in Frame 3
onClipEvent (enterFrame) {
_root.slowMotionSound = new Sound(this);
_root.slowMotionSound.attachSound("slowMotion");
_root.slowMotionSound.setVolume(_root.fxVolume);
}
Frame 4
stop();
Instance of Symbol 265 MovieClip "soundFXMC2" in Frame 4
onClipEvent (enterFrame) {
_root.pebble = new Sound(this);
_root.pebble.attachSound("pebble");
_root.pebble.setVolume(_root.fxVolume);
}
Frame 5
stopAllSounds();
Frame 6
stop();
Instance of Symbol 269 MovieClip "background" in Frame 6
onClipEvent (load) {
startx = this._x;
}
onClipEvent (enterFrame) {
this._x = this._x - _root.speed;
if (this._x <= (startx - (_root.background._width / 2))) {
this._x = startx;
}
}
Instance of Symbol 301 MovieClip "trackStuff" in Frame 6
onClipEvent (load) {
this._x = 300;
}
onClipEvent (enterFrame) {
this._x = this._x - _root.speed;
_root.position = this._x;
if (this._x <= -4500) {
this._x = 300 - _root.speed;
_root.loopTrack = true;
_root.elapsedTime = _root.elapsedTime + 100;
}
}
Instance of Symbol 317 MovieClip "man" in Frame 6
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x);
myDegrees = Math.round((myRadians * 90) / Math.PI);
this._rotation = myDegrees;
}
Instance of Symbol 265 MovieClip "soundFXMC2" in Frame 6
onClipEvent (enterFrame) {
_root.pebble = new Sound(this);
_root.pebble.attachSound("pebble");
_root.pebble.setVolume(_root.fxVolume);
}
Instance of Symbol 265 MovieClip "soundFXMC1" in Frame 6
onClipEvent (enterFrame) {
_root.readyGo = new Sound(this);
_root.readyGo.attachSound("readyGo");
_root.readyGo.setVolume(_root.fxVolume);
}
Instance of Symbol 265 MovieClip "soundFXMC3" in Frame 6
onClipEvent (enterFrame) {
_root.slowMotionSound = new Sound(this);
_root.slowMotionSound.attachSound("slowMotion");
_root.slowMotionSound.setVolume(_root.fxVolume);
}
Frame 7
stop();
if (_root.difficulty == "Medium") {
_root.initSpeed = 10;
_root.speedRate = 5;
} else if (_root.difficulty == "Hard") {
_root.initSpeed = 15;
_root.speedRate = 10;
} else {
_root.initSpeed = 8;
_root.speedRate = 3;
}
this.onEnterFrame = function () {
_root.countDown = _root.musicVolume;
_root.stopPoint = _root.musicVolume / 5;
if (_root.slowMotion == "recover") {
_root.oldSpeed = (_root.elapsedTime / 600) + _root.initSpeed;
if (_root.speed < _root.oldSpeed) {
_root.catchUp = _root.catchUp - (_root.elapsedTime / (_root.elapsedTime / 4));
_root.speed = (_root.elapsedTime / _root.catchUp) + _root.initSpeed;
tellTarget ("_root.slowTitle") {
gotoAndStop ("static");
};
} else {
_root.slowMotion = false;
}
}
if ((_root.slowMotion == false) or (_root.slowMotion == undefined)) {
_root.speed = (_root.elapsedTime / 600) + _root.initSpeed;
}
_root.elapsedTime = _root.elapsedTime + _root.speedRate;
_root.score = (_root.elapsedTime * 10) + bonusPoints;
if (((_root.slowMotion == undefined) or (_root.slowMotion == false)) or (_root.slowMotion == "recover")) {
_root.divide = 600;
_root.slowDown = 2000;
}
if (_root.slowMotion == true) {
if (_root.divide <= _root.slowDown) {
_root.divide = _root.divide + (_root.elapsedTime / (_root.elapsedTime / 32));
_root.speed = (_root.elapsedTime / _root.divide) + _root.initSpeed;
}
_root.newTimer = _root.newTimer + 1;
if (_root.newTimer >= 100) {
_root.slowMotion = "recover";
_root.catchUp = 2000;
_root.newTimer = 0;
}
}
};
Instance of Symbol 269 MovieClip "background" in Frame 7
onClipEvent (load) {
startx = this._x;
}
onClipEvent (enterFrame) {
this._x = this._x - _root.speed;
if (this._x <= (startx - (_root.background._width / 2))) {
this._x = startx;
}
}
Instance of Symbol 301 MovieClip "trackStuff" in Frame 7
onClipEvent (load) {
this._x = 300;
}
onClipEvent (enterFrame) {
this._x = this._x - _root.speed;
_root.position = this._x;
if (this._x <= -4500) {
this._x = 300 - _root.speed;
_root.loopTrack = true;
_root.gotOne = "No";
_root.gotTwo = "No";
_root.gotThree = "No";
_root.gotFour = "No";
_root.elapsedTime = _root.elapsedTime + 100;
}
}
Instance of Symbol 306 MovieClip "shadow" in Frame 7
onClipEvent (enterFrame) {
_root.yChange = Math.round(_root._ymouse - this._y);
_root.xChange = Math.round(_root._xmouse - this._x);
_root.yMove = Math.round(_root.yChange / 5);
_root.xMove = Math.round(_root.xChange / 5);
this._y = this._y + _root.yMove;
this._x = this._x + (_root.xMove - 1.5);
_root.fallX = this._x;
_root.fallY = this._y;
}
Instance of Symbol 317 MovieClip "man" in Frame 7
onClipEvent (enterFrame) {
Mouse.hide();
myRadians = Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x);
myDegrees = Math.round((myRadians * 90) / Math.PI);
_root.yChange = Math.round(_root._ymouse - this._y);
_root.xChange = Math.round(_root._xmouse - this._x);
_root.yMove = Math.round(_root.yChange / 5);
_root.xMove = Math.round(_root.xChange / 5);
this._y = this._y + _root.yMove;
this._x = this._x + _root.xMove;
this._rotation = myDegrees;
_root.fallX = this._x;
_root.fallY = this._y;
}
Instance of Symbol 265 MovieClip "soundFXMC2" in Frame 7
onClipEvent (enterFrame) {
_root.pebble = new Sound(this);
_root.pebble.attachSound("pebble");
_root.pebble.setVolume(_root.fxVolume);
}
Instance of Symbol 266 MovieClip "musicMC" in Frame 7
onClipEvent (enterFrame) {
_root.mainMusic = new Sound(this);
_root.mainMusic.attachSound("mainMusic");
_root.mainMusic.setVolume(_root.musicVolume);
}
Instance of Symbol 265 MovieClip "soundFXMC1" in Frame 7
onClipEvent (enterFrame) {
_root.readyGo = new Sound(this);
_root.readyGo.attachSound("readyGo");
_root.readyGo.setVolume(_root.fxVolume);
}
Instance of Symbol 265 MovieClip "soundFXMC3" in Frame 7
onClipEvent (enterFrame) {
_root.slowMotionSound = new Sound(this);
_root.slowMotionSound.attachSound("slowMotion");
_root.slowMotionSound.setVolume(_root.fxVolume);
}
Frame 8
stop();
_root.fader = "On";
tellTarget ("_root.endGameWindow") {
gotoAndPlay ("openWindow");
};
_root.gotOne = "No";
_root.gotTwo = "No";
_root.gotThree = "No";
_root.gotFour = "No";
mouse.show();
this.onEnterFrame = function () {
_root.speed = 0;
if (_root.countDown > _root.stopPoint) {
_root.countDown = _root.countDown - 5;
_root.song.setVolume(_root.countDown);
}
};
Instance of Symbol 363 MovieClip in Frame 8
onClipEvent (load) {
this._x = _root.fallX;
this._y = _root.fallY;
}
onClipEvent (enterFrame) {
this._x = (_root.fallX = _root.fallX + _root.xMove);
this._y = (_root.fallY = _root.fallY + _root.yMove);
}
Symbol 6 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 19 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 29 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 38 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 39 MovieClip [UpArrow] Frame 1
stop();
Symbol 39 MovieClip [UpArrow] Frame 2
stop();
Symbol 39 MovieClip [UpArrow] Frame 3
stop();
Symbol 46 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 53 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 58 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 59 MovieClip [ScrollThumb] Frame 1
stop();
Symbol 67 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 75 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 83 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 84 MovieClip [DownArrow] Frame 1
stop();
Symbol 84 MovieClip [DownArrow] Frame 2
stop();
Symbol 84 MovieClip [DownArrow] Frame 3
stop();
Symbol 87 MovieClip Frame 1
var component = _parent;
component.registerSkinElement(track_mc, "scrollTrack");
Symbol 88 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 108 Button
on (release) {
getURL ("http://www.hyptoniq.com/", "_blank");
}
Symbol 118 Button
on (release) {
getURL ("http://www.hyptoniq.com/", "_blank");
}
Symbol 124 Button
on (release) {
getURL ("http://www.silexent.com/", "_blank");
}
Symbol 125 MovieClip Frame 1
if (_root.repeat == "no") {
stop();
}
Symbol 125 MovieClip Frame 30
_root.repeat = "no";
stop();
Symbol 128 Button
on (release) {
getURL ("http://www.silexent.com/", "_blank");
}
Symbol 149 Button
on (release) {
gotoAndPlay (28);
}
Symbol 157 MovieClip Frame 1
play();
if (_root.gotOne == "Yes") {
gotoAndPlay (23);
}
Symbol 157 MovieClip Frame 22
_root.loopTrack = false;
gotoAndPlay (1);
Symbol 157 MovieClip Frame 23
stop();
Symbol 157 MovieClip Frame 24
stop();
Symbol 162 MovieClip Frame 1
loadVariables ("http://games.hyptoniq.com/game/get_scores.php?r=" + new Date().getTime(), "_parent._parent._parent.window");
Symbol 162 MovieClip Frame 2
if (_parent._parent.Finished == "Yes") {
gotoAndPlay (4);
}
Symbol 162 MovieClip Frame 3
gotoAndPlay (2);
Symbol 162 MovieClip Frame 4
_root.window.Finished = "No";
_parent.myScrollBar.setScrollTarget(_parent.scoreNums);
stop();
Symbol 172 MovieClip Frame 1
onEnterFrame = function () {
scoreNames.scroll = scoreNums.scroll;
scoreScores.scroll = scoreNums.scroll;
scoreLocs.scroll = scoreNums.scroll;
};
Instance of Symbol 88 MovieClip [FScrollBarSymbol] "myScrollBar" in Symbol 172 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
_targetInstanceName = "scoreNums";
horizontal = false;
}
Symbol 173 Button
on (release) {
gotoAndPlay (28);
}
Symbol 179 Button
on (release) {
getURL ("http://www.silexent.com/", "_blank");
}
Symbol 182 Button
on (release) {
getURL ("http://www.hyptoniq.com/", "_blank");
}
Symbol 191 MovieClip Frame 1
play();
Symbol 191 MovieClip Frame 30
_root.loopTrack = false;
gotoAndPlay (1);
Symbol 191 MovieClip Frame 31
stop();
Symbol 192 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 2
_root.likeGame = "No";
stop();
Symbol 193 MovieClip Frame 1
stop();
Symbol 193 MovieClip Frame 2
stop();
Symbol 199 Button
on (release) {
if (_root.likeGame == undefined) {
_root.likeGame = "Yes";
}
if (_root.newVersion == undefined) {
_root.newVersion = "Yes";
}
if ((_root.feedbackComments == "") or (_root.feedbackComments == undefined)) {
message = "Please enter comments.";
} else {
loadVariables ((((((("http://games.hyptoniq.com/game/post_feedback.php?likeGame=" + _root.likeGame) + "&newVersion=") + _root.newVersion) + "&feedbackComments=") + _root.feedbackComments) + "&r=") + new Date().getTime(), "_parent.window");
gotoAndPlay (26);
}
}
Symbol 201 Button
on (release) {
_root.likeGame = "Yes";
tellTarget ("likeGameYes") {
gotoAndPlay ("on");
};
tellTarget ("likeGameNo") {
gotoAndPlay ("off");
};
}
Symbol 202 Button
on (release) {
_root.likeGame = "No";
tellTarget ("likeGameYes") {
gotoAndPlay ("off");
};
tellTarget ("likeGameNo") {
gotoAndPlay ("on");
};
}
Symbol 203 Button
on (release) {
_root.newVersion = "Yes";
tellTarget ("newVersionYes") {
gotoAndPlay ("on");
};
tellTarget ("newVersionNo") {
gotoAndPlay ("off");
};
}
Symbol 204 Button
on (release) {
_root.newVersion = "No";
tellTarget ("newVersionYes") {
gotoAndPlay ("off");
};
tellTarget ("newVersionNo") {
gotoAndPlay ("on");
};
}
Symbol 216 Button
on (press) {
_root.fader = "Off";
dragging = true;
startDrag (this, false, 0, 0, 50, 0);
}
on (release, releaseOutside) {
dragging = false;
stopDrag();
}
Instance of Symbol 217 MovieClip "musicSlider" in Symbol 218 MovieClip Frame 1
onClipEvent (load) {
this._x = _root.musicVolume / 2;
}
onClipEvent (enterFrame) {
_root.musicVolume = this._x * 2;
_root.title.setVolume(_root.musicVolume);
if (_root.fader == "On") {
_root.mainMusic.setVolume(_root.countDown);
} else {
_root.mainMusic.setVolume(_root.musicVolume);
}
}
Symbol 220 Button
on (press) {
dragging = true;
startDrag (this, false, 0, 0, 50, 0);
}
on (release, releaseOutside) {
dragging = false;
stopDrag();
_root.pebble.start();
}
Instance of Symbol 221 MovieClip "fxVolSlider" in Symbol 222 MovieClip Frame 1
onClipEvent (load) {
this._x = _root.fxVolume / 2;
}
onClipEvent (enterFrame) {
_root.fxVolume = this._x * 2;
_root.pebble.setVolume(_root.fxVolume);
_root.readyGo.setVolume(_root.fxVolume);
_root.slowMotionSound.setVolume(_root.fxVolume);
}
Symbol 227 Button
on (release) {
_root.difficulty = "Medium";
gotoAndStop (2);
}
Symbol 232 Button
on (release) {
_root.difficulty = "Hard";
gotoAndStop (3);
}
Symbol 237 Button
on (release) {
_root.difficulty = "Easy";
gotoAndStop (1);
}
Symbol 238 Button
on (release) {
_root.difficulty = "Hard";
gotoAndStop (3);
}
Symbol 239 MovieClip Frame 1
if (_root.difficulty == "Medium") {
gotoAndPlay (2);
} else if (_root.difficulty == "Hard") {
gotoAndPlay (3);
} else {
stop();
}
Symbol 239 MovieClip Frame 2
stop();
Symbol 239 MovieClip Frame 3
stop();
Symbol 240 MovieClip Frame 1
stop();
Symbol 240 MovieClip Frame 2
play();
Symbol 240 MovieClip Frame 21
_root.window = "open";
if (_root.titleSection == "instructions") {
gotoAndPlay (22);
} else if (_root.titleSection == "highScores") {
gotoAndPlay (23);
} else if (_root.titleSection == "credits") {
gotoAndPlay (24);
} else if (_root.titleSection == "feedback") {
gotoAndPlay (25);
} else if (_root.titleSection == "options") {
gotoAndPlay (27);
}
Symbol 240 MovieClip Frame 22
stop();
Symbol 240 MovieClip Frame 23
tellTarget ("scoreBox") {
gotoAndPlay ("start");
};
stop();
Symbol 240 MovieClip Frame 24
stop();
Symbol 240 MovieClip Frame 25
stop();
Instance of Symbol 88 MovieClip [FScrollBarSymbol] in Symbol 240 MovieClip Frame 25
//component parameters
onClipEvent (initialize) {
_targetInstanceName = "feedbackText";
horizontal = false;
}
Symbol 240 MovieClip Frame 26
stop();
Symbol 240 MovieClip Frame 27
stop();
Symbol 240 MovieClip Frame 28
play();
Symbol 240 MovieClip Frame 50
_root.window = "closed";
Symbol 243 Button
on (rollOver) {
tellTarget ("arrows") {
gotoAndPlay ("play");
};
}
on (rollOut) {
tellTarget ("arrows") {
gotoAndPlay ("stop");
};
}
on (release) {
stopAllSounds();
_root.elapsedTime = 0;
_root.song.setVolume(100);
_root.trackStuff._x = 300;
_root.gameStatus = "On";
_root.bonus = 0;
_root.score = 0;
_root.bonusPoints = 0;
_root.slowMotion = false;
_root.loopTrack = true;
_root.gotoAndPlay("getReady2");
}
Symbol 246 Button
on (rollOver) {
tellTarget ("arrows") {
gotoAndPlay ("instructions");
};
}
on (rollOut) {
tellTarget ("arrows") {
gotoAndPlay ("stop");
};
}
on (release) {
if (_root.window == "open") {
tellTarget ("window") {
gotoAndStop ("instructions");
};
} else {
tellTarget ("window") {
_root.titleSection = "instructions";
gotoAndPlay ("openWindow");
};
}
}
Symbol 249 Button
on (rollOver) {
tellTarget ("arrows") {
gotoAndPlay ("highScores");
};
}
on (rollOut) {
tellTarget ("arrows") {
gotoAndPlay ("stop");
};
}
on (release) {
if (_root.window == "open") {
tellTarget ("window") {
gotoAndStop ("highScores");
};
} else {
tellTarget ("window") {
_root.titleSection = "highScores";
gotoAndPlay ("openWindow");
};
}
}
Symbol 252 Button
on (rollOver) {
tellTarget ("arrows") {
gotoAndPlay ("credits");
};
}
on (rollOut) {
tellTarget ("arrows") {
gotoAndPlay ("stop");
};
}
on (release) {
if (_root.window == "open") {
tellTarget ("window") {
gotoAndStop ("credits");
};
} else {
tellTarget ("window") {
_root.titleSection = "credits";
gotoAndPlay ("openWindow");
};
}
}
Symbol 255 Button
on (rollOver) {
tellTarget ("arrows") {
gotoAndPlay ("feedback");
};
}
on (rollOut) {
tellTarget ("arrows") {
gotoAndPlay ("stop");
};
}
on (release) {
if (_root.window == "open") {
tellTarget ("window") {
gotoAndStop ("feedback");
};
} else {
tellTarget ("window") {
_root.titleSection = "feedback";
gotoAndPlay ("openWindow");
};
}
}
Symbol 258 Button
on (rollOver) {
tellTarget ("arrows") {
gotoAndPlay ("options");
};
}
on (rollOut) {
tellTarget ("arrows") {
gotoAndPlay ("stop");
};
}
on (release) {
if (_root.window == "open") {
tellTarget ("window") {
gotoAndStop ("options");
};
} else {
tellTarget ("window") {
_root.titleSection = "options";
gotoAndPlay ("openWindow");
};
}
}
Symbol 262 MovieClip Frame 1
stop();
Symbol 262 MovieClip Frame 2
play();
Symbol 262 MovieClip Frame 10
gotoAndPlay (2);
Symbol 262 MovieClip Frame 12
play();
Symbol 262 MovieClip Frame 20
gotoAndPlay (12);
Symbol 262 MovieClip Frame 22
play();
Symbol 262 MovieClip Frame 30
gotoAndPlay (22);
Symbol 262 MovieClip Frame 32
play();
Symbol 262 MovieClip Frame 40
gotoAndPlay (32);
Symbol 262 MovieClip Frame 42
play();
Symbol 262 MovieClip Frame 50
gotoAndPlay (42);
Symbol 262 MovieClip Frame 52
play();
Symbol 262 MovieClip Frame 60
gotoAndPlay (52);
Symbol 263 MovieClip Frame 1
_root.fader = "Off";
Symbol 263 MovieClip Frame 6
stop();
Symbol 264 MovieClip Frame 1
_root.place = "collegehumor.com";
_root.musicVolume = 100;
_root.fxVolume = 100;
_root.title = new Sound(this);
_root.title.attachSound("titleSound");
_root.title.setVolume(_root.musicVolume);
Symbol 264 MovieClip Frame 274
loadVariables ("http://games.hyptoniq.com/game/get_lowscore.php?r=" + new Date().getTime(), "_root");
Symbol 264 MovieClip Frame 290
stop();
_root.fader = "Off";
_root.title.setVolume(_root.musicVolume);
Symbol 266 MovieClip Frame 1
_root.mainMusic.setVolume(_root.musicVolume);
_root.mainMusic.start(0, 9999);
Symbol 267 MovieClip Frame 1
_root.title = new Sound(this);
_root.title.attachSound("titleSound");
_root.title.setVolume(_root.musicVolume);
stop();
Instance of Symbol 295 MovieClip "track2" in Symbol 297 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 295 MovieClip "track2" in Symbol 297 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 295 MovieClip "track2" in Symbol 297 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 295 MovieClip "track2" in Symbol 297 MovieClip Frame 1
/* no clip actions */
Symbol 298 MovieClip Frame 1
play();
if (_root.gotTwo == "Yes") {
gotoAndPlay (23);
}
Symbol 298 MovieClip Frame 22
gotoAndPlay (1);
Symbol 298 MovieClip Frame 23
stop();
Symbol 298 MovieClip Frame 24
stop();
Symbol 299 MovieClip Frame 1
play();
if (_root.gotThree == "Yes") {
gotoAndPlay (23);
}
Symbol 299 MovieClip Frame 22
gotoAndPlay (1);
Symbol 299 MovieClip Frame 23
stop();
Symbol 299 MovieClip Frame 24
stop();
Symbol 300 MovieClip Frame 1
play();
if (_root.gotFour == "Yes") {
gotoAndPlay (23);
}
Symbol 300 MovieClip Frame 22
gotoAndPlay (1);
Symbol 300 MovieClip Frame 23
stop();
Symbol 300 MovieClip Frame 24
stop();
Instance of Symbol 272 MovieClip "trackG1" in Symbol 301 MovieClip Frame 1
onClipEvent (load) {
startx = this._x;
}
Instance of Symbol 275 MovieClip "trackG2" in Symbol 301 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.trackStuff.trackG1._x + 600;
}
Instance of Symbol 278 MovieClip "trackG3" in Symbol 301 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.trackStuff.trackG2._x + 600;
}
Instance of Symbol 281 MovieClip "trackG4" in Symbol 301 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.trackStuff.trackG3._x + 600;
}
Instance of Symbol 284 MovieClip "trackG5" in Symbol 301 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.trackStuff.trackG4._x + 600;
}
Instance of Symbol 287 MovieClip "trackG6" in Symbol 301 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.trackStuff.trackG5._x + 600;
}
Instance of Symbol 290 MovieClip "trackG7" in Symbol 301 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = _root.trackStuff.trackG6._x + 600;
}
Instance of Symbol 293 MovieClip "trackG8" in Symbol 301 MovieClip Frame 1
onClipEvent (load) {
startx = this._x;
}
onClipEvent (enterFrame) {
this._x = _root.trackStuff.trackG7._x + 600;
}
Instance of Symbol 294 MovieClip "trackG9" in Symbol 301 MovieClip Frame 1
onClipEvent (load) {
startx = this._x;
}
onClipEvent (enterFrame) {
this._x = _root.trackStuff.trackG8._x + 600;
}
Instance of Symbol 297 MovieClip "tracks" in Symbol 301 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gameStatus != "Over") {
if (this.hitTest(_root.man._x, _root.man._y, true)) {
_root.collision = "yes";
} else {
_root.collision = "no";
_root.gameStatus = "Over";
_root.gotoAndPlay("fallOff2");
}
}
}
Instance of Symbol 157 MovieClip "pebble1" in Symbol 301 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.gotOne == "No") or (_root.gotOne == undefined)) {
if (this.hitTest(_root.man._x, _root.man._y, true)) {
_root.gotOne = "Yes";
_root.pebble.start();
tellTarget ("_root.trackStuff.pebble1") {
gotoAndStop ("off");
};
tellTarget ("_root.flasher") {
gotoAndPlay ("on");
};
_root.bonus = _root.bonus + 1;
if (_root.bonus > 3) {
_root.bonus = 0;
_root.slowMotion = true;
tellTarget ("_root.flasher") {
gotoAndPlay ("onSlow");
};
tellTarget ("_root.slowTitle") {
gotoAndPlay ("popOut");
};
} else {
tellTarget ("_root.bonusP") {
gotoAndPlay(_root.bonus * 20);
};
}
tellTarget ("_root.numberCheck") {
gotoAndPlay(_root.bonus + 1);
};
_root.bonusPoints = (1000 * _root.bonus) + _root.bonusPoints;
} else if ((_root.loopTrack == true) and ((_root.gotOne == "No") or (_root.gotOne == undefined))) {
tellTarget ("_root.trackStuff.pebble1") {
gotoAndPlay ("on");
_root.loopTrack = false;
};
}
}
}
Instance of Symbol 298 MovieClip "pebble2" in Symbol 301 MovieClip Frame 1
onClipEvent (load) {
startx = this._x;
}
onClipEvent (enterFrame) {
this._x = _root.trackStuff.trackG3._x + startx;
if ((_root.gotTwo == "No") or (_root.gotTwo == undefined)) {
if (this.hitTest(_root.man._x, _root.man._y, true)) {
_root.gotTwo = "Yes";
_root.pebble.start();
tellTarget ("_root.trackStuff.pebble2") {
gotoAndStop ("off");
};
tellTarget ("_root.flasher") {
gotoAndPlay ("on");
};
_root.bonus = _root.bonus + 1;
if (_root.bonus > 3) {
_root.bonus = 0;
_root.slowMotion = true;
tellTarget ("_root.flasher") {
gotoAndPlay ("onSlow");
};
tellTarget ("_root.slowTitle") {
gotoAndPlay ("popOut");
};
} else {
tellTarget ("_root.bonusP") {
gotoAndPlay(_root.bonus * 20);
};
}
tellTarget ("_root.numberCheck") {
gotoAndPlay(_root.bonus + 1);
};
_root.bonusPoints = (1000 * _root.bonus) + _root.bonusPoints;
} else if ((_root.loopTrack == true) and ((_root.gotTwo == "No") or (_root.gotTwo == undefined))) {
tellTarget ("_root.trackStuff.pebble2") {
gotoAndPlay ("on");
};
}
}
}
Instance of Symbol 299 MovieClip "pebble3" in Symbol 301 MovieClip Frame 1
onClipEvent (load) {
startx = this._x;
}
onClipEvent (enterFrame) {
this._x = _root.trackStuff.trackG5._x + startx;
if ((_root.gotThree == "No") or (_root.gotThree == undefined)) {
if (this.hitTest(_root.man._x, _root.man._y, true)) {
_root.gotThree = "Yes";
_root.pebble.start();
tellTarget ("_root.trackStuff.pebble3") {
gotoAndStop ("off");
};
tellTarget ("_root.flasher") {
gotoAndPlay ("on");
};
_root.bonus = _root.bonus + 1;
if (_root.bonus > 3) {
_root.bonus = 0;
_root.slowMotion = true;
tellTarget ("_root.flasher") {
gotoAndPlay ("onSlow");
};
tellTarget ("_root.slowTitle") {
gotoAndPlay ("popOut");
};
} else {
tellTarget ("_root.bonusP") {
gotoAndPlay(_root.bonus * 20);
};
}
tellTarget ("_root.numberCheck") {
gotoAndPlay(_root.bonus + 1);
};
_root.bonusPoints = (1000 * _root.bonus) + _root.bonusPoints;
} else if ((_root.loopTrack == true) and ((_root.gotThree == "No") or (_root.gotThree == undefined))) {
tellTarget ("_root.trackStuff.pebble3") {
gotoAndPlay ("on");
};
}
}
}
Instance of Symbol 300 MovieClip "pebble4" in Symbol 301 MovieClip Frame 1
onClipEvent (load) {
startx = this._x;
}
onClipEvent (enterFrame) {
this._x = _root.trackStuff.trackG7._x + startx;
if ((_root.gotFour == "No") or (_root.gotFour == undefined)) {
if (this.hitTest(_root.man._x, _root.man._y, true)) {
_root.gotFour = "Yes";
_root.pebble.start();
tellTarget ("_root.trackStuff.pebble4") {
gotoAndStop ("off");
};
tellTarget ("_root.flasher") {
gotoAndPlay ("on");
};
_root.bonus = _root.bonus + 1;
if (_root.bonus > 3) {
_root.bonus = 0;
_root.slowMotion = true;
tellTarget ("_root.flasher") {
gotoAndPlay ("onSlow");
};
tellTarget ("_root.slowTitle") {
gotoAndPlay ("popOut");
};
} else {
tellTarget ("_root.bonusP") {
gotoAndPlay(_root.bonus * 20);
};
}
tellTarget ("_root.numberCheck") {
gotoAndPlay(_root.bonus + 1);
};
_root.bonusPoints = (1000 * _root.bonus) + _root.bonusPoints;
} else if ((_root.loopTrack == true) and ((_root.gotFour == "No") or (_root.gotFour == undefined))) {
tellTarget ("_root.trackStuff.pebble4") {
gotoAndPlay ("on");
};
}
}
}
Symbol 317 MovieClip Frame 15
gotoAndPlay (1);
Symbol 324 MovieClip Frame 22
gotoAndPlay (1);
Symbol 325 MovieClip Frame 1
stop();
Symbol 325 MovieClip Frame 2
stop();
Symbol 325 MovieClip Frame 3
stop();
Symbol 325 MovieClip Frame 4
stop();
Symbol 333 MovieClip Frame 1
stop();
Symbol 333 MovieClip Frame 2
_root.slowMotionSound.start();
Symbol 333 MovieClip Frame 20
Symbol 333 MovieClip Frame 60
gotoAndPlay (20);
Symbol 338 MovieClip Frame 1
_root.fader = "Off";
_root.readyGo = new Sound(this);
_root.readyGo.attachSound("readyGo");
_root.readyGo.setVolume(_root.fxVolume);
Symbol 338 MovieClip Frame 42
_root.gotoAndPlay("startGame");
Instance of Symbol 266 MovieClip "musicMC" in Symbol 338 MovieClip Frame 42
onClipEvent (enterFrame) {
_root.mainMusic = new Sound(this);
_root.mainMusic.attachSound("mainMusic");
_root.mainMusic.setVolume(_root.musicVolume);
}
Symbol 340 Button
on (release) {
getURL ("http://www.hyptoniq.com/", "_blank");
}
Symbol 341 Button
on (release) {
getURL ("http://www.silexent.com/", "_blank");
}
Symbol 347 MovieClip Frame 9
stop();
Symbol 347 MovieClip Frame 18
if (_root.slowMotion == true) {
gotoAndPlay (10);
} else {
stop();
}
Symbol 354 MovieClip Frame 1
stop();
Symbol 354 MovieClip Frame 38
gotoAndPlay (1);
Symbol 354 MovieClip Frame 40
play();
Symbol 354 MovieClip Frame 58
gotoAndPlay (1);
Symbol 354 MovieClip Frame 60
play();
Symbol 354 MovieClip Frame 78
gotoAndPlay (1);
Symbol 363 MovieClip Frame 15
stop();
Symbol 372 Button
on (rollOver) {
tellTarget ("endArrows") {
gotoAndPlay ("playAgain");
};
}
on (rollOut) {
tellTarget ("endArrows") {
gotoAndPlay ("stop");
};
}
on (release) {
_root.elapsedTime = 0;
stopAllSounds();
_root.song.setVolume(100);
_root.trackStuff._x = 300;
_root.gameStatus = "On";
_root.bonus = 0;
_root.score = 0;
_root.bonusPoints = 0;
_root.slowMotion = false;
_root.loopTrack = true;
_root.gotoAndPlay("getReady2");
}
Symbol 375 Button
on (rollOver) {
tellTarget ("endArrows") {
gotoAndPlay ("mainMenu");
};
}
on (rollOut) {
tellTarget ("endArrows") {
gotoAndPlay ("stop");
};
}
on (release) {
_root.elapsedTime = 0;
stopAllSounds();
_root.song.setVolume(100);
_root.trackStuff._x = 300;
_root.gameStatus = "On";
_root.bonus = 0;
_root.score = 0;
_root.bonusPoints = 0;
_root.slowMotion = false;
_root.window = "closed";
_root.loopTrack = true;
_root.gotoAndPlay("menu2");
}
Symbol 376 MovieClip Frame 1
stop();
Symbol 376 MovieClip Frame 2
play();
Symbol 376 MovieClip Frame 10
gotoAndPlay (2);
Symbol 376 MovieClip Frame 12
play();
Symbol 376 MovieClip Frame 20
gotoAndPlay (12);
Symbol 376 MovieClip Frame 22
play();
Symbol 376 MovieClip Frame 30
gotoAndPlay (22);
Symbol 376 MovieClip Frame 32
play();
Symbol 376 MovieClip Frame 40
gotoAndPlay (32);
Symbol 376 MovieClip Frame 42
play();
Symbol 376 MovieClip Frame 50
gotoAndPlay (42);
Symbol 379 Button
on (release) {
getURL ("http://www.silexent.com/", "_blank");
}
Symbol 382 Button
on (release) {
getURL ("http://www.hyptoniq.com/", "_blank");
}
Symbol 384 Button
on (rollOver) {
tellTarget ("endArrows") {
gotoAndPlay ("playAgain2");
};
}
on (rollOut) {
tellTarget ("endArrows") {
gotoAndPlay ("stop");
};
}
on (release) {
_root.elapsedTime = 0;
stopAllSounds();
_root.song.setVolume(100);
_root.trackStuff._x = 300;
_root.gameStatus = "On";
_root.bonus = 0;
_root.score = 0;
_root.bonusPoints = 0;
_root.slowMotion = false;
_root.loopTrack = true;
_root.gotoAndPlay("getReady2");
}
Symbol 385 Button
on (rollOver) {
tellTarget ("endArrows") {
gotoAndPlay ("mainMenu2");
};
}
on (rollOut) {
tellTarget ("endArrows") {
gotoAndPlay ("stop");
};
}
on (release) {
_root.elapsedTime = 0;
stopAllSounds();
_root.song.setVolume(100);
_root.trackStuff._x = 300;
_root.gameStatus = "On";
_root.bonus = 0;
_root.score = 0;
_root.bonusPoints = 0;
_root.slowMotion = false;
_root.window = "closed";
_root.loopTrack = true;
_root.gotoAndPlay("menu2");
}
Symbol 388 Button
on (rollOver) {
tellTarget ("endArrows") {
gotoAndPlay ("submitScore2");
};
}
on (rollOut) {
tellTarget ("endArrows") {
gotoAndPlay ("stop");
};
}
on (release) {
gotoAndPlay (21);
}
Symbol 391 Button
on (release) {
_root.beenSubmitted = "Yes";
if ((reSubmit == undefined) or (reSubmit == "No")) {
reSubmit = "Yes";
loadVariables ((((((("http://games.hyptoniq.com/game/submit_score.php?name=" + _root.name) + "&score=") + _root.score) + "&place=") + _root.place) + "&r=") + new Date().getTime(), "_root");
gotoAndPlay (22);
}
}
Symbol 396 Button
on (release) {
_root.elapsedTime = 0;
stopAllSounds();
_root.song.setVolume(100);
_root.trackStuff._x = 300;
_root.gameStatus = "On";
_root.bonus = 0;
_root.score = 0;
_root.bonusPoints = 0;
_root.slowMotion = false;
_root.loopTrack = true;
_root.gotoAndPlay("getReady2");
}
Symbol 401 Button
on (release) {
_root.elapsedTime = 0;
stopAllSounds();
_root.song.setVolume(100);
_root.trackStuff._x = 300;
_root.gameStatus = "On";
_root.bonus = 0;
_root.score = 0;
_root.bonusPoints = 0;
_root.slowMotion = false;
_root.loopTrack = true;
_root.window = "closed";
_root.gotoAndPlay("menu2");
}
Symbol 408 MovieClip Frame 1
loadVariables ("http://games.hyptoniq.com/game/get_scores.php?r=" + new Date().getTime(), "_root.endGameWindow");
Symbol 408 MovieClip Frame 2
if (_parent._parent.Finished == "Yes") {
gotoAndPlay (4);
}
Symbol 408 MovieClip Frame 3
gotoAndPlay (2);
Symbol 408 MovieClip Frame 4
_parent.myScrollBar.setScrollTarget(_parent.scoreNums);
stop();
Symbol 413 MovieClip Frame 1
onEnterFrame = function () {
scoreNames.scroll = scoreNums.scroll;
scoreScores.scroll = scoreNums.scroll;
scoreLocs.scroll = scoreNums.scroll;
};
Instance of Symbol 88 MovieClip [FScrollBarSymbol] "myScrollBar" in Symbol 413 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
_targetInstanceName = "scoreNums";
horizontal = false;
}
Symbol 418 MovieClip Frame 1
stop();
Symbol 418 MovieClip Frame 2
play();
Symbol 418 MovieClip Frame 18
if (_root.score > _root.thisHighScore) {
_root.thisHighScore = _root.score;
}
if ((_root.score > _root.lowScore) or (_root.rowNumber < 100)) {
gotoAndPlay (20);
} else {
gotoAndPlay (19);
}
Symbol 418 MovieClip Frame 19
stop();
Symbol 418 MovieClip Frame 20
stop();
Symbol 418 MovieClip Frame 21
if (_root.submitFinished == "Yes") {
gotoAndStop (23);
}
if (_root.beenSubmitted == "Yes") {
play();
} else {
stop();
}
Symbol 418 MovieClip Frame 22
gotoAndPlay (21);
Symbol 418 MovieClip Frame 23
_root.beenSubmitted = "No";
_root.submitFinished = "No";
_root.reSubmit = "No";
loadVariables ("http://games.hyptoniq.com/game/get_scores.php?r=" + new Date().getTime(), "_root");
stop();
Symbol 418 MovieClip Frame 24
play();
Symbol 418 MovieClip Frame 40
_root.window = "closed";
_root.submitFinished = "No";
_root.beenSubmitted = "No";
if (_root.doWhat == "Play Again") {
_root.gotoAndPlay("getReady");
} else if (_root.doWhat == "Main Menu") {
_root.gotoAndPlay("menu");
}