Frame 1
loadPercent = "0%";
loadBytes = ("0 of " + (Math.round((_root.getBytesTotal() / 1024) * 1000) / 1000)) + " Kb";
Frame 2
loadPercent = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) + "%";
loadBytes = (((Math.round((_root.getBytesLoaded() / 1024) * 1000) / 1000) + " Kb of ") + (Math.round((_root.getBytesTotal() / 1024) * 1000) / 1000)) + " Kb total Loaded.";
percent.text = loadPercent + "%";
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
loadPercent = "100%";
loadBytes = (((Math.round((_root.getBytesLoaded() / 1024) * 1000) / 1000) + " Kb of ") + (Math.round((_root.getBytesTotal() / 1024) * 1000) / 1000)) + " Kb total Loaded.";
gotoAndPlay ("start");
}
Frame 3
gotoAndPlay (2);
Frame 19
function fireProjectile(strength) {
if (_root.game.running) {
if (debug) {
trace("Info: firing with strength=" + strength);
}
if (debug) {
trace(((("Info: Projectiles: " + _root.projectilecount) + " (Max: ") + _root.PROJECTILE_MAX) + ")");
}
if (_root.projectilecount < _root.PROJECTILE_MAX) {
var _local4 = _root.sleigh._x;
var _local3 = _root.sleigh._y;
var _local2 = _root.getNextHighestDepth();
while (_root.getInstanceAtDepth(_local2) != undefined) {
_local2++;
}
_root.attachMovie("Projectile", "projectile" + _local2, _local2, {_x:_local4, _y:_local3, listener:_root, strength:strength});
_root.sleigh.swapDepths(_local2);
}
}
}
var PROJECTILE_MAX = 3;
var projectilecount = 0;
var i = 0;
var debug = false;
var firingStr = 0;
onMouseDown = function () {
if (_root.game.running) {
_root.firingStr = 0;
this.onEnterFrame = function () {
_root.firingStr++;
};
}
};
onMouseUp = function () {
delete this.onEnterFrame;
if (_root.game.running) {
_root.fireProjectile(_root.firingStr);
}
_root.firingStr = 0;
};
InputController.pressedSpace = function () {
_root.fireProjectile();
return(false);
};
var targets = new Array();
var launcher = createEmptyMovieClip("launcherMovie", getNextHighestDepth());
var launcher_x = (Stage.width + 50);
var launcher_y = (Stage.height - 100);
var numHouses = 8;
launcher.lastHouseIdx = -1;
launcher.targetMovieNameStart = "image-house0";
var shotTimeMin = 2;
var shotTimeMax = 4.5;
var minTimeBetweenShots = 0.5;
var maxTimeBetweenShots = 1.5;
launcher.tid = -1;
launcher.openFire = function () {
if (this.tid == -1) {
this.tid = 0;
this.fireTarget();
} else {
clearInterval(this.tid);
var _local3 = (Math.random() * (_root.maxTimeBetweenShots - _root.minTimeBetweenShots)) + _root.minTimeBetweenShots;
_local3 = _local3 * 1000;
this.tid = setInterval(this, "fireTarget", _local3);
}
};
launcher.ceaseFire = function () {
clearInterval(this.tid);
this.tid = -1;
var _local3 = 0;
while (_local3 < _root.targets.length) {
delete _root.targets[_local3]._parent.hit;
_root.targets[_local3]._parent.stop();
_root.targets[_local3]._parent.smoke.stop();
_root.targets[_local3]._parent.removeMovieClip();
_local3++;
}
while (_root.targets.length > 0) {
_root.targets.pop();
}
};
launcher.targCount = 0;
launcher.fireTarget = function () {
var mname = this.targetMovieNameStart;
var idx = (Math.floor(Math.random() * _root.numHouses) + 1);
while (idx == this.lastHouseIdx) {
idx = Math.floor(Math.random() * _root.numHouses) + 1;
}
this.lastHouseIdx = idx;
mname = mname + idx.toString();
var didntswap = true;
var newDepth = _root.getNextHighestDepth();
while (_root.getInstanceAtDepth(newDepth) != undefined) {
newDepth++;
}
this.targCount++;
_root.attachMovie(mname, "targ" + this.targCount, newDepth);
_root.crash.swapDepths(newDepth + 1);
var targ = eval ("_root.targ" + this.targCount);
targ.hittest.beenHit = false;
targ.hittest.hit = function () {
if (!this.beenHit) {
this._parent.gotoAndPlay("asplode");
this.beenHit = true;
return(true);
}
return(false);
};
if (debug) {
trace((targ.hittest + " ") + didntswap);
}
targ._x = Stage.width;
targ._y = (Stage.height - targ._height) + 30;
_root.targets.unshift();
_root.targets.push(targ.hittest);
if (debug) {
trace((targ.getDepth() + " ") + targ.hittest.getDepth());
}
var tweentime = ((Math.random() * (_root.shotTimeMax - _root.shotTimeMin)) + _root.shotTimeMin);
targ.tweentime = tweentime;
var tweenx = (new mx.transitions.Tween(targ, "_x", mx.transitions.easing.None.easeNone, targ._x, targ._x - ((Stage.width + targ._width) + 50), tweentime, true));
tweenx.targ = targ;
tweenx.onMotionFinished = function () {
this.targ.removeMovieClip();
};
this.openFire();
};
var game = new Object();
game.ticksPerLevel = 40;
game.tickMillis = 1000;
game.pointsPerHit = 300;
game.strengthMultiplier = 100;
game.running = false;
game.hits = 0;
game.shots = 0;
game.score = 0;
game.ticks = 0;
game.launcher = launcher;
game.scoreTier1 = 25000;
game.scoreTier2 = 50000;
game.scoreTier3 = 75000 /* 0x0124F8 */;
game.begin = function () {
this.scoreboard = _root.scoreboard.scoreboard_display;
this.timer = _root.timer.timer_display;
this.reset();
this.updateTimer();
this.updateScore();
_root.attachMovie("Sleigh", "sleigh", _root.getNextHighestDepth(), {_x:165, _y:31, _width:319, _height:76});
_root.sleigh.startDrag(true, 20, 20, Stage.width - 50, (Stage.height / 2) - 50);
_root.sleigh._visible = true;
this.startTimer();
};
game.reset = function () {
this.score = 0;
this.hits = 0;
this.shots = 0;
this.ticks = this.ticksPerLevel;
this.stopTimer();
this.launcher.openFire();
};
game.startTimer = function (initialTick) {
this.timerid = setInterval(this, "tick", this.tickMillis);
if (initialTick) {
this.tick();
}
this.running = true;
};
game.stopTimer = function () {
clearInterval(this.timerid);
this.running = false;
};
game.addPoints = function (points) {
this.score = this.score + points;
this.updateScore();
};
game.firedShot = function () {
this.shots++;
};
game.hitTarget = function (str, targ) {
var _local2 = this.pointsPerHit + (str * this.strengthMultiplier);
var _local3 = (Math.round(100 * (shotTimeMax - targ.tweentime)) / 100) + 1;
_local2 = _local2 * _local3;
this.addPoints(_local2);
this.hits++;
targ.txtPoints = _local2;
};
game.updateScore = function () {
this.scoreboard.text = this.score.toString();
};
game.updateTimer = function () {
this.timer.text = this.ticks.toString();
};
game.tick = function () {
this.ticks--;
if (this.ticks <= 0) {
this.end();
}
this.updateTimer();
};
game.end = function () {
this.stopTimer();
this.launcher.ceaseFire();
_root.sleigh.stopDrag();
_root.sleigh._visible = false;
_root.sleigh.removeMovieClip(_root.sleigh);
_root.sleigh.unloadMovie(_root.sleigh);
Mouse.show();
foo = new LoadVars();
foo.load("http://216.8.64.110/logscore.asp?cid=2&score=" + this.score);
if (this.score <= game.scoreTier1) {
stopAllSounds();
_root.gotoAndPlay("ending4");
}
if ((this.score > game.scoreTier1) && (this.score <= game.scoreTier2)) {
stopAllSounds();
_root.gotoAndPlay("ending3");
}
if ((this.score > game.scoreTier2) && (this.score <= game.scoreTier3)) {
stopAllSounds();
_root.gotoAndPlay("ending2");
}
if (this.score > game.scoreTier3) {
stopAllSounds();
_root.gotoAndPlay("ending1");
}
};
Frame 60
stop();
Frame 65
stop();
Frame 199
stopAllSounds();
Frame 200
stop();
stop();
game.begin();
Frame 211
stopAllSounds();
_root.sleigh._visible = false;
Frame 261
stop();
Frame 262
stopAllSounds();
Frame 291
stop();
Frame 292
stopAllSounds();
Frame 321
stop();
Frame 322
stopAllSounds();
Frame 381
stop();
Frame 382
stopAllSounds();
Frame 391
gotoAndPlay ("loopstart");
Symbol 9 MovieClip [Target] Frame 1
function hit() {
gotoAndPlay ("asplode");
}
stop();
Symbol 9 MovieClip [Target] Frame 20
gotoAndStop ("normal");
Symbol 39 MovieClip Frame 60
gotoAndPlay (1);
Symbol 51 MovieClip [image-house08] Frame 1
stop();
var txtPoints = "";
Symbol 51 MovieClip [image-house08] Frame 30
gotoAndPlay ("normal");
Symbol 59 MovieClip [image-house07] Frame 1
stop();
var txtPoints = "";
Symbol 59 MovieClip [image-house07] Frame 30
gotoAndPlay ("normal");
Symbol 67 MovieClip [image-house06] Frame 1
stop();
var txtPoints = "";
Symbol 67 MovieClip [image-house06] Frame 30
gotoAndPlay ("normal");
Symbol 75 MovieClip [image-house05] Frame 1
stop();
var txtPoints = "";
Symbol 75 MovieClip [image-house05] Frame 30
gotoAndPlay ("normal");
Symbol 79 MovieClip [image-house01] Frame 1
stop();
var txtPoints = "";
Symbol 79 MovieClip [image-house01] Frame 30
gotoAndPlay ("normal");
Symbol 83 MovieClip [image-house02] Frame 1
stop();
var txtPoints = "";
Symbol 83 MovieClip [image-house02] Frame 30
gotoAndPlay ("normal");
Symbol 87 MovieClip [image-house03] Frame 1
stop();
var txtPoints = "";
Symbol 87 MovieClip [image-house03] Frame 30
gotoAndPlay ("normal");
Symbol 91 MovieClip [image-house04] Frame 1
stop();
var txtPoints = "";
Symbol 91 MovieClip [image-house04] Frame 30
gotoAndPlay ("normal");
Symbol 97 MovieClip [PowerMeter] Frame 1
stop();
this.onEnterFrame = function () {
var _local2 = 1;
if (_root.firingStr) {
_local2 = _root.firingStr + 1;
}
gotoAndStop(_local2);
};
Symbol 97 MovieClip [PowerMeter] Frame 25
stop();
Symbol 98 MovieClip [InputController] Frame 1
function pressedLeftHandler() {
if (debug) {
trace("Info: InputController.pressedLeftHandler() entered.");
}
if (pressedLeft()) {
isKeyDown = true;
}
}
function pressedUpHandler() {
if (debug) {
trace("Info: InputController.pressedUpHandler() entered.");
}
if (pressedUp()) {
isKeyDown = true;
}
}
function pressedRightHandler() {
if (debug) {
trace("Info: InputController.pressedRightHandler() entered.");
}
if (pressedRight()) {
isKeyDown = true;
}
}
function pressedDownHandler() {
if (debug) {
trace("Info: InputController.pressedDownHandler() entered.");
}
if (pressedDown()) {
isKeyDown = false;
}
}
function pressedSpaceHandler() {
if (debug) {
trace("Info: InputController.pressedSpaceHandler() entered.");
}
if (pressedSpace()) {
isKeyDown = true;
}
}
function onKeyDown() {
isKeyDown = true;
}
function onKeyUp() {
isKeyDown = false;
}
var debug = false;
var isKeyDown = false;
onEnterFrame = function () {
if (isKeyDown) {
isKeyDown = false;
switch (Key.getCode()) {
case 32 :
pressedSpaceHandler();
return;
case 37 :
pressedLeftHandler();
return;
case 38 :
pressedUpHandler();
return;
case 39 :
pressedRightHandler();
return;
case 40 :
pressedDownHandler();
return;
default :
if (!debug) {
break;
}
trace(("Info: InputController - Unhandled key [" + String.fromCharCode(Key.getAscii())) + "]");
}
}
};
Key.addListener(this);
Symbol 110 MovieClip [Projectile] Frame 1
var distX = 40;
var distYFallOff = 400;
var fallTime = 1;
var STRENGTH_MAX = 25;
var DIST_MULTIPLIER = 12;
var FALLOFF_MULTIPLIER = 0;
var listener;
var isHit = false;
var isCrashed = false;
var debug = false;
listener.projectilecount++;
listener.game.firedShot();
if (debug) {
trace("Info: Projectile fired with Strength = " + strength);
}
if (strength < 1) {
strength = 1;
}
if (strength > STRENGTH_MAX) {
strength = STRENGTH_MAX;
}
distX = distX + (strength * DIST_MULTIPLIER);
distYFallOff = distYFallOff + (strength * FALLOFF_MULTIPLIER);
if (debug) {
trace((((((("New vals: distX=" + distX) + " distYRise=") + distYRise) + " arcTime=") + arcTime) + " fallTime=") + fallTime);
}
var red = (Math.round(156 * Math.random()) + 100);
var green = (Math.round(156 * Math.random()) + 100);
var blue = (Math.round(156 * Math.random()) + 100);
if (debug) {
trace((((("Info: New box color = R:" + red.toString()) + " G:") + green.toString()) + " B:") + blue.toString());
}
var cTrans = (new flash.geom.ColorTransform(0, 0, 0, 1, red, green, blue, 0));
pbox.transform.colorTransform = cTrans;
red = Math.round(156 * Math.random()) + 100;
green = Math.round(156 * Math.random()) + 100;
blue = Math.round(156 * Math.random()) + 100;
if (debug) {
trace((((("Info: New bow color = R:" + red.toString()) + " G:") + green.toString()) + " B:") + blue.toString());
}
var cTrans2 = (new flash.geom.ColorTransform(0, 0, 0, 1, red, green, blue, 0));
pbow.transform.colorTransform = cTrans2;
onEnterFrame = function () {
var _local3 = 0;
while (_local3 < _root.targets.length) {
if ((!this.isHit) && (_root.targets[_local3].hitTest(this.bullseye))) {
if (_root.targets[_local3].hit()) {
if (debug) {
trace("Info: Target HIT!");
}
this.isHit = true;
listener.game.hitTarget(this.strength, _root.targets[_local3]._parent);
}
}
_local3++;
}
if (this.isHit || (_root.game.running == false)) {
listener.projectilecount--;
this.removeMovieClip();
}
if ((!this.isCrashed) && (this._y >= Stage.height)) {
this.isCrashed = true;
_root.crash.crash(this._x);
}
};
var tweenY = (new mx.transitions.Tween(this, "_y", mx.transitions.easing.Regular.easeIn, this._y, this._y + distYFallOff, fallTime, true));
var tweenX = (new mx.transitions.Tween(this, "_x", mx.transitions.easing.Strong.easeOut, this._x, this._x - distX, fallTime, true));
var tweenrotate = (new mx.transitions.Tween(this, "_rotation", mx.transitions.easing.Elastic.easeOut, this._rotation, this._rotation - 360, fallTime, true));
tweenX.projectile = this;
tweenX.onMotionFinished = function () {
if (debug) {
trace("Info: Removing projectile " + this.projectile._name);
}
this.projectile.listener.projectilecount--;
this.projectile.removeMovieClip();
};
Symbol 110 MovieClip [Projectile] Frame 22
stop();
Symbol 117 MovieClip [alarmclock] Frame 599
gotoAndPlay (1);
Symbol 131 MovieClip Frame 1
this._xscale = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
Symbol 131 MovieClip Frame 2
gotoAndPlay (1);
Symbol 148 MovieClip [Crash] Frame 1
function crash(myX) {
if (!this.crashing) {
this.crashing = true;
var _local2;
_local2 = Math.round(Math.random() * (this.numberOfCrashes - 1)) + 1;
while (_local2 == this.lastcrashnum) {
_local2 = Math.round(Math.random() * (this.numberOfCrashes - 1)) + 1;
}
this.lastcrashnum = _local2;
this._x = myX;
this._y = Stage.height;
gotoAndPlay("crash" + _local2.toString());
this.mySounds[_local2 - 1].start();
}
}
function soundFinished() {
if (this.getVolume() == 96) {
_root.crash.crashing = false;
}
}
var crashing = false;
var numberOfCrashes = 4;
var lastcrashnum = -1;
var mySounds = new Array();
var i = 0;
while (i < numberOfCrashes) {
var snd = new Sound();
snd.onSoundComplete = this.soundFinished;
snd.setVolume(96);
var sndname = ("crashsound" + (i + 1).toString());
snd.attachSound(sndname);
mySounds.push(snd);
i++;
}
Symbol 148 MovieClip [Crash] Frame 2
stop();
Symbol 148 MovieClip [Crash] Frame 9
gotoAndStop ("idle");
Symbol 148 MovieClip [Crash] Frame 29
gotoAndStop ("idle");
Symbol 148 MovieClip [Crash] Frame 49
gotoAndStop ("idle");
Symbol 148 MovieClip [Crash] Frame 69
gotoAndStop ("idle");
Symbol 148 MovieClip [Crash] Frame 90
gotoAndStop ("idle");
Symbol 148 MovieClip [Crash] Frame 101
gotoAndStop ("idle");
Symbol 148 MovieClip [Crash] Frame 112
gotoAndStop ("idle");
Symbol 148 MovieClip [Crash] Frame 123
gotoAndStop ("idle");
Symbol 148 MovieClip [Crash] Frame 134
gotoAndStop ("idle");
Symbol 316 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 317 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 318 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween
{
var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime;
function Tween (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
position = (begin);
this.duration = (duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.finish = (finish);
_listeners = [];
addListener(this);
start();
}
function set time(t) {
prevTime = _time;
if (t > duration) {
if (looping) {
rewind(t - _duration);
update();
broadcastMessage("onMotionLooped", this);
} else {
if (useSeconds) {
_time = _duration;
update();
}
stop();
broadcastMessage("onMotionFinished", this);
}
} else if (t < 0) {
rewind();
update();
} else {
_time = t;
update();
}
//return(time);
}
function get time() {
return(_time);
}
function set duration(d) {
_duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d));
//return(duration);
}
function get duration() {
return(_duration);
}
function set FPS(fps) {
var _local2 = isPlaying;
stopEnterFrame();
_fps = fps;
if (_local2) {
startEnterFrame();
}
//return(FPS);
}
function get FPS() {
return(_fps);
}
function set position(p) {
setPosition(p);
//return(position);
}
function setPosition(p) {
prevPos = _pos;
obj[prop] = (_pos = p);
broadcastMessage("onMotionChanged", this, _pos);
updateAfterEvent();
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
return(func(t, begin, change, _duration));
}
function set finish(f) {
change = f - begin;
//return(finish);
}
function get finish() {
return(begin + change);
}
function continueTo(finish, duration) {
begin = position;
this.finish = (finish);
if (duration != undefined) {
this.duration = (duration);
}
start();
}
function yoyo() {
continueTo(begin, time);
}
function startEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.addListener(this);
} else {
_intervalID = setInterval(this, "onEnterFrame", 1000 / _fps);
}
isPlaying = true;
}
function stopEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(_intervalID);
}
isPlaying = false;
}
function start() {
rewind();
startEnterFrame();
broadcastMessage("onMotionStarted", this);
}
function stop() {
stopEnterFrame();
broadcastMessage("onMotionStopped", this);
}
function resume() {
fixTime();
startEnterFrame();
broadcastMessage("onMotionResumed", this);
}
function rewind(t) {
_time = ((t == undefined) ? 0 : (t));
fixTime();
update();
}
function fforward() {
time = (_duration);
fixTime();
}
function nextFrame() {
if (useSeconds) {
time = ((getTimer() - _startTime) / 1000);
} else {
time = (_time + 1);
}
}
function onEnterFrame() {
nextFrame();
}
function prevFrame() {
if (!useSeconds) {
time = (_time - 1);
}
}
function toString() {
return("[Tween]");
}
function fixTime() {
if (useSeconds) {
_startTime = getTimer() - (_time * 1000);
}
}
function update() {
position = (getPosition(_time));
}
static var version = "1.1.0.52";
static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init();
static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
function func(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 319 MovieClip [__Packages.mx.transitions.easing.Elastic] Frame 0
class mx.transitions.easing.Elastic
{
function Elastic () {
}
static function easeIn(t, b, c, d, a, p) {
if (t == 0) {
return(b);
}
t = t / d;
if (t == 1) {
return(b + c);
}
if (!p) {
p = d * 0.3;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
var _local7 = p / 4;
} else {
var _local7 = (p / (Math.PI*2)) * Math.asin(c / a);
}
t = t - 1;
return((-((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p))) + b);
}
static function easeOut(t, b, c, d, a, p) {
if (t == 0) {
return(b);
}
t = t / d;
if (t == 1) {
return(b + c);
}
if (!p) {
p = d * 0.3;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
var _local7 = p / 4;
} else {
var _local7 = (p / (Math.PI*2)) * Math.asin(c / a);
}
return((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p)) + c) + b);
}
static function easeInOut(t, b, c, d, a, p) {
if (t == 0) {
return(b);
}
t = t / (d / 2);
if (t == 2) {
return(b + c);
}
if (!p) {
p = d * 0.45;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
var _local7 = p / 4;
} else {
var _local7 = (p / (Math.PI*2)) * Math.asin(c / a);
}
if (t < 1) {
t = t - 1;
return((-0.5 * ((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p))) + b);
}
t = t - 1;
return(((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p)) * 0.5) + c) + b);
}
static var version = "1.1.0.52";
}
Symbol 320 MovieClip [__Packages.mx.transitions.easing.Strong] Frame 0
class mx.transitions.easing.Strong
{
function Strong () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return((((((c * t) * t) * t) * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = (t / d) - 1;
return((c * (((((t * t) * t) * t) * t) + 1)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return(((((((c / 2) * t) * t) * t) * t) * t) + b);
}
t = t - 2;
return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b);
}
static var version = "1.1.0.52";
}
Symbol 321 MovieClip [__Packages.mx.transitions.easing.Regular] Frame 0
class mx.transitions.easing.Regular
{
function Regular () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return(((c * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = t / d;
return((((-c) * t) * (t - 2)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return((((c / 2) * t) * t) + b);
}
t--;
return((((-c) / 2) * ((t * (t - 2)) - 1)) + b);
}
static var version = "1.1.0.52";
}
Symbol 322 MovieClip [__Packages.mx.transitions.easing.None] Frame 0
class mx.transitions.easing.None
{
function None () {
}
static function easeNone(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeIn(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeOut(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeInOut(t, b, c, d) {
return(((c * t) / d) + b);
}
static var version = "1.1.0.52";
}
Symbol 201 Button
on (release) {
gotoAndPlay ("instructions");
}
Symbol 202 Button
on (release) {
gotoAndPlay ("play");
}
Symbol 203 Button
on (release) {
getURL ("http://www.steadyrain.com", "_blank");
}
Symbol 206 Button
on (release) {
gotoAndStop ("instructions2");
}
Symbol 209 MovieClip Frame 1
Symbol 221 Button
on (release) {
gotoAndStop ("title");
}
Symbol 236 MovieClip Frame 10
stop();
Symbol 249 MovieClip Frame 45
stop();
Symbol 258 MovieClip Frame 498
gotoAndPlay (1);
Symbol 264 MovieClip Frame 897
gotoAndPlay (1);
Symbol 284 MovieClip Frame 21
stop();
Symbol 287 Button
on (release) {
getURL ("http://www.steadyrain.com", "_blank");
}
Symbol 293 Button
on (release) {
gotoAndPlay ("replay");
}
Symbol 310 MovieClip Frame 31
stop();