Frame 1
stop();
preloader._visible = false;
preloader.skier.stop();
function timeout() {
if (!lv_lv.loaded) {
vc_lv.onLoad = null;
delete vc_lv;
trace("loadvars cancelled");
play();
}
clearInterval(tOIntId);
delete tOIntId;
}
_global.masterurl = "http://kos.serverfortune.co.uk/";
_global.alturl = "http://www.kingofskeleton.com/";
_global.local = ((_root._url.indexOf(_global.masterurl) < 0) ? false : true);
_global.alt = (((!_global.local) && (_root._url.indexOf(_global.alturl) != -1)) ? true : false);
v = getVersion().substr(getVersion().indexOf(" ") + 1).split(",")[0];
game_flash_version = ((_root._url.split("/").pop().indexOf("game7.swf") != -1) ? 7 : 8);
game_version = 1;
if (game_flash_version == 8) {
if (v <= 7) {
if (v == 7) {
loadMovie (_global.masterurl + "game7.swf", _root);
trace("loading flash 7 version from master server");
} else {
loadMovie (_global.masterurl + "error.swf", _root);
}
var tr_lv = new LoadVars();
tr_lv.load(_global.masterurl + "track.txt");
tr_lv.onLoad = function () {
delete tr_lv;
};
} else if (_global.local) {
play();
var tr_lv = new LoadVars();
tr_lv.load(_global.masterurl + "track.txt");
tr_lv.onLoad = function () {
delete tr_lv;
};
} else {
var vc_lv = new LoadVars();
vc_lv.onLoad = function (success) {
clearInterval(tOIntId);
delete tOIntId;
if (success) {
if (vc_lv.v > game_version) {
trace("version checking succeeded - not the latest version");
loadMovie (_global.masterurl + "game.swf", _root);
var tr_lv = new LoadVars();
tr_lv.load(_global.masterurl + "track.txt");
tr_lv.onLoad = function () {
delete tr_lv;
};
status_txt.text = "version checking success - not latest version";
} else {
play();
trace("version checking succeeded - latest version");
}
} else {
trace("version checking failed");
play();
}
delete vc_lv;
};
tOIntId = setInterval(timeout, 2000);
vc_lv.load(_global.masterurl + "version.php");
}
} else {
play();
}
Frame 2
stop();
isPaused = true;
isStopped = true;
function goToGame() {
tracks_mc.gotoAndStop("hide");
gotoAndStop ("game");
curtains.gotoAndPlay(2);
curtains.opened = openMenuAtGameStart;
}
function openMenuAtGameStart() {
menu_mc.gotoAndPlay("open");
if (chal_times[track.no] > 0) {
menu_mc.menuClip.gotoAndStop("friend");
menu_mc.menuClip.targetTime.text = Time.formatTime(chal_times[track.no]);
} else {
menu_mc.menuClip.gotoAndStop("start");
menu_mc.menuClip.targetTime.text = Time.formatTime(track.targtime);
}
menu_mc.menuClip.play_btn.onRelease = closeMenuAtStart;
menu_mc.menuClip.back_btn.onRelease = backToTrackAtStart;
}
function closeMenuAtStart() {
menu_mc.gotoAndPlay("close");
menu_mc.closed = beginCountdown;
}
function backToTrackAtStart() {
menu_mc.gotoAndPlay("close");
menu_mc.closed = backToPickTrack;
}
function backToPickTrack() {
curtains._visible = true;
curtains.gotoAndStop("open");
curtains.onEnterFrame = prevFrame;
curtains.closed = reOpenTracksChooser;
}
function reOpenTracksChooser() {
brdcst.broadcastMessage("endRace");
gotoAndStop ("startMenu");
tracks_mc.gotoAndStop("show");
tracks_mc.choose_mc.play();
}
function beginCountdown() {
startline.play();
}
function raceStart() {
isPaused = false;
isStopped = false;
delete menu_mc.isOpen;
menu_mc.closed = null;
}
function closeCurtains() {
curtains._visible = true;
curtains.gotoAndStop("open");
curtains.onEnterFrame = prevFrame;
curtains.closed = goToGame;
}
function csmAbandonRace() {
isPaused = true;
isStopped = true;
curtains.gotoAndStop("open");
curtains._visible = true;
curtains.onEnterFrame = prevFrame;
curtains.closed = returnToStartAbandon;
}
function pauseMenuAbandonRace() {
isStopped = true;
menu_mc.gotoAndPlay("close");
menu_mc.closed = csmAbandonRace;
}
function returnToStartAbandon() {
brdcst.broadcastMessage("endRace");
menu_mc.gotoAndStop(1);
menu_mc.closed = null;
delete menu_mc.isOpen;
gotoAndStop ("startMenu");
start_menu.gotoAndStop("open");
curtains.gotoAndPlay(2);
}
function restartTrack() {
menu_mc.gotoAndPlay("close");
menu_mc.closed = closeCurtainsAndRestart;
}
function csmRestartTrack() {
isPaused = true;
isStopped = true;
player.sndChange(true);
closeCurtainsAndRestart();
}
function closeCurtainsAndRestart() {
curtains.gotoAndStop("open");
curtains.onEnterFrame = prevFrame;
curtains.closed = resetTrack;
}
function resetTrack() {
brdcst.broadcastMessage("endRace");
curtains.onEnterFrame = null;
gotoAndStop ("resetFrame");
}
function stopGame(t) {
if (t == undefined) {
isStopped = (isStopped ? false : true);
} else {
isStopped = t;
}
isPaused = isStopped;
}
function pauseGame(t) {
if (!isStopped) {
if ((t == undefined) || (typeof(t) == "movieclip")) {
t = !isPaused;
}
if (t != isPaused) {
if (t) {
isPaused = true;
brdcst.broadcastMessage("sndChange", true);
menu_mc.gotoAndPlay("open");
menu_mc.isOpen = true;
menu_mc.closed = function () {
isPaused = false;
this.isOpen = false;
brdcst.broadcastMessage("sndChange", sndOff);
};
} else if (menu_mc.isOpen) {
menu_mc.gotoAndPlay("close");
}
}
}
}
function soundControl(t) {
t = (((t == undefined) || (typeof(t) == "movieclip")) ? (!sndOff) : (t));
if (t != sndOff) {
brdcst.broadcastMessage("sndChange", t);
sndOff = t;
}
if (sndOff) {
new Sound().setVolume(0);
} else {
new Sound().setVolume(100);
}
theme.toggleSnd();
}
function visitKV() {
getURL ("http://www.killerviral.com/redir.php?urlId=103", "_blank");
}
function visitKoS() {
getURL ("http://www.killerviral.com/redir.php?urlId=104", "_blank");
}
var cm = new ContextMenu();
cm.hideBuiltInItems();
cm.customItems.push(new ContextMenuItem("Pause", pauseGame, false, false, false));
cm.customItems.push(new ContextMenuItem("Unpause", pauseGame, false, false, false));
cm.customItems.push(new ContextMenuItem("Sound Off", soundControl, true, true));
cm.customItems.push(new ContextMenuItem("Sound On", soundControl, true, false));
cm.customItems.push(new ContextMenuItem("Restart Race", csmRestartTrack, true, false, false));
cm.customItems.push(new ContextMenuItem("Abandon Race", csmAbandonRace, false, false, false));
cm.customItems.push(new ContextMenuItem("Visit KillerViral.com", visitKV, true));
cm.customItems.push(new ContextMenuItem("Visit Shave.com", visitKoS));
cm.onSelect = function () {
if (gameActive) {
if (isPaused) {
_root.menu.customItems[0].visible = false;
_root.menu.customItems[1].visible = true;
} else {
_root.menu.customItems[0].visible = true;
_root.menu.customItems[1].visible = false;
}
if (isStopped) {
_root.menu.customItems[0].enabled = false;
_root.menu.customItems[1].enabled = false;
_root.menu.customItems[4].enabled = false;
_root.menu.customItems[5].enabled = false;
} else {
_root.menu.customItems[0].enabled = true;
_root.menu.customItems[1].enabled = true;
_root.menu.customItems[4].enabled = true;
_root.menu.customItems[5].enabled = true;
}
}
if (sndOff) {
_root.menu.customItems[2].visible = false;
_root.menu.customItems[3].visible = true;
_root.menu.customItems[2].enabled = false;
_root.menu.customItems[3].enabled = true;
} else {
_root.menu.customItems[2].visible = true;
_root.menu.customItems[3].visible = false;
_root.menu.customItems[2].enabled = true;
_root.menu.customItems[3].enabled = false;
}
};
_root.menu = cm;
delete mcl;
delete mcll;
preloader._visible = true;
preloader.skier.onEnterFrame = function () {
if (_root.getBytesLoaded() < _root.getBytesTotal()) {
this.gotoAndStop(Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * this._totalframes));
} else {
play();
}
};
Frame 3
so = SharedObject.getLocal("savedData");
if (so.data.ct == undefined) {
so.data.ct = -1;
so.flush();
}
sndOff = false;
if ((uid == undefined) && (so.data.uid != undefined)) {
uid = so.data.uid;
} else if (uid != undefined) {
so.data.uid = uid;
so.flush();
}
var KeyListener = new Object();
KeyListener.onKeyUp = function () {
var _local1 = Key.getCode();
if ((_local1 == 19) || (_local1 == 80)) {
pauseGame();
}
};
function buildQS() {
return("?sessId=" + escape(Base64.encode(("#@," + buildScore()) + ",{^")));
}
function buildScore() {
var _local3 = so.data.pb.join(":");
var _local2 = 0;
var _local1 = 0;
while (_local1 < so.data.pb.length) {
if (so.data.pb[_local1] != undefined) {
_local2 = _local2 + so.data.pb[_local1];
}
_local1++;
}
_local2 = Math.floor(Math.abs(Math.log(Math.pow(_local2, 3))));
return((_local3 + ",") + _local2);
}
function submitScore() {
openPopup((_global.alturl + "competition.php") + buildQS());
}
function challengeAFriend(time, track) {
openPopup((_global.alturl + "challenge.php") + buildQS());
}
function openPopup(url, options) {
options = ((options == undefined) ? "scrollbars=yes,width=490,height=500" : (options));
if (flash.external.ExternalInterface.available) {
flash.external.ExternalInterface.call("open", url, "window", options);
} else if (_global.local || (_global.alt)) {
getURL (((("javascript:void window.open( \"" + url) + "\", \"window\", \"") + options) + "\" );");
} else {
getURL (url, "_blank");
}
}
function openWindow(url) {
getURL (url, "_blank");
}
Frame 4
stop();
var pickups = new Object();
pickups.p1 = new PickupType("pickup1");
var scenery_types = new Object();
scenery_types.t1l = {n:"tree", box:0, boy:0, rox:-500, roy:0, f:true};
scenery_types.t1r = {n:"tree", box:0, boy:0, rox:500, roy:0};
scenery_types.b1 = {n:"banner", box:20, boy:0, rox:-450, roy:0};
scenery_types.b2 = {n:"banner2", box:20, boy:0, rox:-450, roy:0};
scenery_types.s1 = {n:"stand", box:20, boy:0, rox:400, roy:0};
scenery_types.finish = {n:"finish_banner", box:20, boy:0, rox:-320, roy:0};
var cesana = new Track();
cesana.scale = 40;
cesana.vscale = 1;
cesana.targtime = 75000 /* 0x0124F8 */;
cesana.olytime = 57090;
cesana.no = 0;
cesana[cesana.length] = {s:true, l:3.5, z:550};
cesana[cesana.length] = {s:false, r:2, c:40, d:-1, z:485};
cesana[cesana.length] = {s:false, r:0.5, c:130, d:-1, z:480};
cesana[cesana.length] = {s:true, l:1, z:470};
cesana[cesana.length] = {s:false, r:0.5, c:170, d:1, z:460};
cesana[cesana.length] = {s:true, l:1.5, z:450};
cesana[cesana.length] = {s:false, r:1.5, c:85, d:-1, z:430};
cesana[cesana.length] = {s:true, l:1.2, z:410};
cesana[cesana.length] = {s:false, r:1, c:50, d:-1, z:395};
cesana[cesana.length] = {s:false, r:2, c:20, d:-1, z:380};
cesana[cesana.length] = {s:true, l:1.5, z:360};
cesana[cesana.length] = {s:false, r:0.5, c:50, d:1, z:350};
cesana[cesana.length] = {s:true, l:0.5, z:345};
cesana[cesana.length] = {s:false, r:0.5, c:60, d:1, z:340};
cesana[cesana.length] = {s:true, l:1.3, z:330};
cesana[cesana.length] = {s:false, r:1.2, c:65, z:310, d:1};
cesana[cesana.length] = {s:true, l:1.4, z:290};
cesana[cesana.length] = {s:false, r:0.6, c:100, z:270, d:-1};
cesana[cesana.length] = {s:true, l:1.6, z:255};
cesana[cesana.length] = {s:false, r:0.6, c:70, z:240, d:-1};
cesana[cesana.length] = {s:true, l:2.3, z:230};
cesana[cesana.length] = {s:false, r:1.5, c:20, z:220, d:1};
cesana[cesana.length] = {s:false, r:0.5, c:70, z:210, d:1};
cesana[cesana.length] = {s:true, l:3.5, z:200};
cesana[cesana.length] = {s:false, r:0.6, c:110, z:190, d:-1};
cesana[cesana.length] = {s:false, r:2, c:15, z:180, d:-1};
cesana[cesana.length] = {s:true, l:1.5, z:170};
cesana[cesana.length] = {s:false, r:1.7, c:80, z:160, d:1};
cesana[cesana.length] = {s:true, l:2.2, z:150};
cesana[cesana.length] = {s:false, r:2, c:60, z:140, d:1};
cesana[cesana.length] = {s:true, l:1.3, z:130};
cesana[cesana.length] = {s:false, r:0.6, c:90, z:110, d:-1};
cesana[cesana.length] = {s:true, l:1.8, z:100};
cesana[cesana.length] = {s:false, r:0.65, c:85, z:80, d:-1};
cesana[cesana.length] = {s:true, l:2, z:75};
cesana[cesana.length] = {s:false, r:1.5, c:70, z:70, d:-1};
cesana[cesana.length] = {s:true, l:8.5, z:65};
cesana.analyse(4.71238898038469);
var cesana_scenery = new SceneryArray();
var i = 0;
while (i < 400) {
cesana_scenery[cesana_scenery.length] = {d:Misc.rand(50, cesana.l), t:scenery_types.t1l};
cesana_scenery[cesana_scenery.length] = {d:Misc.rand(50, cesana.l), t:scenery_types.t1r};
i++;
}
cesana_scenery[cesana_scenery.length] = {d:51, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:80, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:130, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:260, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:326, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:410, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:510, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:807, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:860, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:920, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:980, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:1030, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:1131, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:1160, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:1190, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:1230, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:1250, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:1300, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:1360, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:1390, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:1400, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:1430, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:1490, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:1550, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:1590, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:1620, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:1660, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:1690, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:1710, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:1750, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:1800, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:1830, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:1870, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:1900, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:1930, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:1960, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:2000, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:2030, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:2060, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:2100, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:2140, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:2170, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:2200, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:2260, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:2280, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:cesana.l, t:scenery_types.finish};
cesana_scenery.scenerySort();
var cesana_pickups = new PickupArray();
cesana_pickups[cesana_pickups.length] = new PickupInstance(190, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(200, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(210, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(290, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(300, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(310, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(320, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(570, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(1020, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(1030, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(1040, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(1050, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(1210, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(1220, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(1230, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(1240, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(1310, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(1320, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(1330, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(1340, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(1410, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(1420, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(1430, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(1440, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(1480, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(1490, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(1500, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(1560, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(1750, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(1760, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(1770, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(1780, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(1850, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(1860, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(1870, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(1880, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(2000, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(2010, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(2020, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(2030, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(2100, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(2110, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(2120, pickups.p1);
cesana_pickups[cesana_pickups.length] = new PickupInstance(2130, pickups.p1);
cesana_pickups.pickupSort();
var cesana_warnings = new WarningArray();
cesana_warnings.warning = warning_signs;
cesana_warnings[cesana_warnings.length] = new WarningInstance("ul", 150);
cesana_warnings[cesana_warnings.length] = new WarningInstance("ur", 240);
cesana_warnings[cesana_warnings.length] = new WarningInstance("tl", 500);
cesana_warnings[cesana_warnings.length] = new WarningInstance("ur", 600);
cesana_warnings[cesana_warnings.length] = new WarningInstance("tl", 800);
cesana_warnings[cesana_warnings.length] = new WarningInstance("tl", 900);
cesana_warnings[cesana_warnings.length] = new WarningInstance("tr", 1050);
cesana_warnings[cesana_warnings.length] = new WarningInstance("ul", 1250);
cesana_warnings[cesana_warnings.length] = new WarningInstance("tl", 1730);
cesana_warnings[cesana_warnings.length] = new WarningInstance("tl", 1810);
cesana_warnings.warningSort();
cesana.setScenery(cesana_scenery);
cesana.setPickups(cesana_pickups);
cesana.setWarnings(cesana_warnings);
var cust1 = new Track();
cust1.targtime = 40000;
cust1.olytime = 28380;
cust1.no = 1;
cust1[cust1.length] = {l:90, s:true, z:300};
cust1[cust1.length] = {s:false, r:30, c:90, d:1, z:280};
cust1[cust1.length] = {l:40, s:true, z:270};
cust1[cust1.length] = {l:20, s:true, z:265};
cust1[cust1.length] = {l:20, s:true, z:260};
cust1[cust1.length] = {s:false, r:40, c:90, d:1, z:255};
cust1[cust1.length] = {l:55, s:true, z:250};
cust1[cust1.length] = {l:55, s:true, z:200};
cust1[cust1.length] = {l:55, s:true, z:215};
cust1[cust1.length] = {s:false, r:40, c:70, d:1, z:205};
cust1[cust1.length] = {l:34, s:true, z:195};
cust1[cust1.length] = {s:false, r:20, c:90, d:-1, z:190};
cust1[cust1.length] = {l:40, s:true, z:185};
cust1[cust1.length] = {s:false, r:20, c:90, d:-1, z:170};
cust1[cust1.length] = {s:false, r:20, c:180, d:1, z:165};
cust1[cust1.length] = {l:30, s:true, z:160};
cust1[cust1.length] = {s:false, r:20, c:90, d:1, z:150};
cust1[cust1.length] = {s:false, r:20, c:90, d:-1, z:150};
cust1[cust1.length] = {s:false, r:20, c:90, d:1, z:150};
cust1[cust1.length] = {l:40, s:true, z:130};
cust1[cust1.length] = {s:false, r:20, c:90, d:-1, z:110};
cust1[cust1.length] = {s:false, r:20, c:90, d:1, z:100};
cust1[cust1.length] = {l:40, s:true, z:90};
cust1[cust1.length] = {l:20, s:true, z:80};
cust1[cust1.length] = {s:false, r:70, c:30, d:1, z:60};
cust1[cust1.length] = {s:false, r:40, c:40, d:1, z:40};
cust1[cust1.length] = {l:40, s:true, z:20};
cust1[cust1.length] = {l:1, s:true, z:0};
cust1.analyse(0);
var cust1_scenery = new SceneryArray();
var i = 0;
while (i < 100) {
cust1_scenery[cust1_scenery.length] = {d:Misc.rand(50, cust1.l), t:scenery_types.t1l};
cust1_scenery[cust1_scenery.length] = {d:Misc.rand(50, cust1.l), t:scenery_types.t1r};
i++;
}
cust1_scenery[cust1_scenery.length] = {d:51, t:scenery_types.b2};
cust1_scenery[cust1_scenery.length] = {d:80, t:scenery_types.b1};
cust1_scenery[cust1_scenery.length] = {d:130, t:scenery_types.b2};
cust1_scenery[cust1_scenery.length] = {d:260, t:scenery_types.b1};
cust1_scenery[cust1_scenery.length] = {d:410, t:scenery_types.b2};
cust1_scenery[cust1_scenery.length] = {d:510, t:scenery_types.b1};
cust1_scenery[cust1_scenery.length] = {d:807, t:scenery_types.b2};
cust1_scenery[cust1_scenery.length] = {d:860, t:scenery_types.b1};
cust1_scenery[cust1_scenery.length] = {d:920, t:scenery_types.b1};
cust1_scenery[cust1_scenery.length] = {d:1030, t:scenery_types.b1};
cust1_scenery[cust1_scenery.length] = {d:cust1.l, t:scenery_types.finish};
cust1_scenery.scenerySort();
var cust1_pickups = new PickupArray();
cust1_pickups[cust1_pickups.length] = new PickupInstance(50, pickups.p1);
cust1_pickups[cust1_pickups.length] = new PickupInstance(70, pickups.p1);
cust1_pickups[cust1_pickups.length] = new PickupInstance(90, pickups.p1);
cust1_pickups[cust1_pickups.length] = new PickupInstance(190, pickups.p1);
cust1_pickups[cust1_pickups.length] = new PickupInstance(200, pickups.p1);
cust1_pickups[cust1_pickups.length] = new PickupInstance(210, pickups.p1);
cust1_pickups[cust1_pickups.length] = new PickupInstance(350, pickups.p1);
cust1_pickups[cust1_pickups.length] = new PickupInstance(360, pickups.p1);
cust1_pickups[cust1_pickups.length] = new PickupInstance(370, pickups.p1);
cust1_pickups[cust1_pickups.length] = new PickupInstance(380, pickups.p1);
cust1_pickups[cust1_pickups.length] = new PickupInstance(520, pickups.p1);
cust1_pickups[cust1_pickups.length] = new PickupInstance(530, pickups.p1);
cust1_pickups[cust1_pickups.length] = new PickupInstance(540, pickups.p1);
cust1_pickups[cust1_pickups.length] = new PickupInstance(660, pickups.p1);
cust1_pickups[cust1_pickups.length] = new PickupInstance(670, pickups.p1);
cust1_pickups[cust1_pickups.length] = new PickupInstance(680, pickups.p1);
cust1_pickups[cust1_pickups.length] = new PickupInstance(690, pickups.p1);
cust1_pickups[cust1_pickups.length] = new PickupInstance(700, pickups.p1);
cust1_pickups[cust1_pickups.length] = new PickupInstance(800, pickups.p1);
cust1_pickups[cust1_pickups.length] = new PickupInstance(810, pickups.p1);
cust1_pickups[cust1_pickups.length] = new PickupInstance(820, pickups.p1);
cust1_pickups.pickupSort();
var cust1_warnings = new WarningArray();
cust1_warnings.warning = warning_signs;
cust1_warnings[cust1_warnings.length] = new WarningInstance("tr", 60);
cust1_warnings[cust1_warnings.length] = new WarningInstance("tr", 200);
cust1_warnings[cust1_warnings.length] = new WarningInstance("tr", 420);
cust1_warnings[cust1_warnings.length] = new WarningInstance("tl", 520);
cust1_warnings[cust1_warnings.length] = new WarningInstance("ur", 590);
cust1_warnings[cust1_warnings.length] = new WarningInstance("c", 710);
cust1_warnings[cust1_warnings.length] = new WarningInstance("c", 810);
cust1_warnings.warningSort();
cust1.setScenery(cust1_scenery);
cust1.setPickups(cust1_pickups);
cust1.setWarnings(cust1_warnings);
var cust2 = new Track();
cust2.scale = 22.5;
cust2.targtime = 58000;
cust2.olytime = 47470;
cust2.no = 2;
cust2[cust2.length] = {s:false, r:11, c:60, d:-1, z:1200};
cust2[cust2.length] = {s:false, r:1.5, c:150, d:1, z:950};
cust2[cust2.length] = {s:true, l:5.2, z:900};
cust2[cust2.length] = {s:false, r:0.9, c:90, d:-1, z:880};
cust2[cust2.length] = {s:false, r:1.3, c:90, d:1, z:850};
cust2[cust2.length] = {s:false, r:3.7, c:190, d:-1, z:820};
cust2[cust2.length] = {s:false, r:3, c:180, d:-1, z:750};
cust2[cust2.length] = {s:false, r:2.3, c:170, d:-1, z:700};
cust2[cust2.length] = {s:false, r:1.1, c:280, d:-1, z:650};
cust2[cust2.length] = {s:false, r:6, c:93, d:-1, z:600};
cust2[cust2.length] = {s:false, r:3.2, c:77, d:-1, z:500};
cust2[cust2.length] = {s:true, l:6.3, z:400};
cust2[cust2.length] = {s:false, r:1, c:90, d:1, z:380};
cust2[cust2.length] = {s:false, r:1, c:90, d:-1, z:350};
cust2[cust2.length] = {s:true, l:4.7, z:300};
cust2[cust2.length] = {s:false, r:1, c:90, d:1, z:200};
cust2[cust2.length] = {s:false, r:1, c:90, d:-1, z:180};
cust2[cust2.length] = {s:false, r:3.5, c:90, d:-1, z:100};
cust2[cust2.length] = {s:true, l:3.5, z:10};
cust2.analyse((Math.PI/2));
var cust2_scenery = new SceneryArray();
var i = 0;
while (i < 100) {
cust2_scenery[cust2_scenery.length] = {d:Misc.rand(50, cust2.l), t:scenery_types.t1l};
cust2_scenery[cust2_scenery.length] = {d:Misc.rand(50, cust2.l), t:scenery_types.t1r};
i++;
}
cust2_scenery[cust2_scenery.length] = {d:51, t:scenery_types.b1};
cust2_scenery[cust2_scenery.length] = {d:80, t:scenery_types.b2};
cust2_scenery[cust2_scenery.length] = {d:130, t:scenery_types.b1};
cust2_scenery[cust2_scenery.length] = {d:260, t:scenery_types.b2};
cust2_scenery[cust2_scenery.length] = {d:326, t:scenery_types.b1};
cust2_scenery[cust2_scenery.length] = {d:410, t:scenery_types.b2};
cust2_scenery[cust2_scenery.length] = {d:510, t:scenery_types.b1};
cust2_scenery[cust2_scenery.length] = {d:807, t:scenery_types.b2};
cust2_scenery[cust2_scenery.length] = {d:860, t:scenery_types.b1};
cust2_scenery[cust2_scenery.length] = {d:920, t:scenery_types.b1};
cust2_scenery[cust2_scenery.length] = {d:980, t:scenery_types.b2};
cust2_scenery[cust2_scenery.length] = {d:1030, t:scenery_types.b1};
cust2_scenery[cust2_scenery.length] = {d:1131, t:scenery_types.b2};
cust2_scenery[cust2_scenery.length] = {d:1390, t:scenery_types.b1};
cust2_scenery[cust2_scenery.length] = {d:1400, t:scenery_types.b1};
cust2_scenery[cust2_scenery.length] = {d:1430, t:scenery_types.b2};
cust2_scenery[cust2_scenery.length] = {d:1490, t:scenery_types.b1};
cust2_scenery[cust2_scenery.length] = {d:1590, t:scenery_types.b1};
cust2_scenery[cust2_scenery.length] = {d:1660, t:scenery_types.b2};
cust2_scenery[cust2_scenery.length] = {d:1690, t:scenery_types.b2};
cust2_scenery[cust2_scenery.length] = {d:1710, t:scenery_types.b1};
cust2_scenery[cust2_scenery.length] = {d:1750, t:scenery_types.b2};
cust2_scenery[cust2_scenery.length] = {d:1800, t:scenery_types.b1};
cust2_scenery[cust2_scenery.length] = {d:1870, t:scenery_types.b1};
cust2_scenery[cust2_scenery.length] = {d:1900, t:scenery_types.b2};
cust2_scenery[cust2_scenery.length] = {d:1960, t:scenery_types.b1};
cust2_scenery[cust2_scenery.length] = {d:2030, t:scenery_types.b1};
cust2_scenery[cust2_scenery.length] = {d:2060, t:scenery_types.b2};
cust2_scenery[cust2_scenery.length] = {d:2100, t:scenery_types.b1};
cust2_scenery[cust2_scenery.length] = {d:2140, t:scenery_types.b2};
cust2_scenery[cust2_scenery.length] = {d:2170, t:scenery_types.b2};
cust2_scenery[cust2_scenery.length] = {d:2200, t:scenery_types.b1};
cust2_scenery[cust2_scenery.length] = {d:2260, t:scenery_types.b2};
cust2_scenery[cust2_scenery.length] = {d:2280, t:scenery_types.b1};
cust2_scenery[cust2_scenery.length] = {d:cust2.l, t:scenery_types.finish};
cust2_scenery.scenerySort();
var cust2_pickups = new PickupArray();
cust2_pickups[cust2_pickups.length] = new PickupInstance(40, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(50, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(60, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(140, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(150, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(160, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(420, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(430, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(440, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(450, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(460, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(470, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(530, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(540, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(550, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(560, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(570, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(580, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(630, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(640, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(650, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(660, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(670, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(680, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(730, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(740, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(750, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(760, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(770, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(780, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(830, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(840, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(850, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(860, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(870, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(880, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(930, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(940, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(950, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(960, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(970, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(980, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(1030, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(1040, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(1050, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(1060, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(1070, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(1080, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(1130, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(1140, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(1150, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(1160, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(1170, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(1180, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(1330, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(1340, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(1350, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(1360, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(1370, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(1380, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(1630, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(1640, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(1650, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(1660, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(1670, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(1680, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(2050, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(2060, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(2070, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(2080, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(2090, pickups.p1);
cust2_pickups[cust2_pickups.length] = new PickupInstance(2100, pickups.p1);
cust2_pickups.pickupSort();
var cust2_warnings = new WarningArray();
cust2_warnings.warning = warning_signs;
cust2_warnings[cust2_warnings.length] = new WarningInstance("tr", 200);
cust2_warnings[cust2_warnings.length] = new WarningInstance("c", 420);
cust2_warnings[cust2_warnings.length] = new WarningInstance("c", 1740);
cust2_warnings[cust2_warnings.length] = new WarningInstance("c", 1920);
cust2_warnings.warningSort();
cust2.setScenery(cust2_scenery);
cust2.setPickups(cust2_pickups);
cust2.setWarnings(cust2_warnings);
var cust3 = new Track();
cust3.scale = 22.5;
cust3.targtime = 46000;
cust3.olytime = 45650;
cust3.no = 5;
cust3[cust3.length] = {s:false, r:6, c:60, d:-1, z:1000};
cust3[cust3.length] = {s:false, r:1.5, c:150, d:1, z:950};
cust3[cust3.length] = {s:true, l:2.2, z:920};
cust3[cust3.length] = {s:false, r:0.9, c:90, d:-1, z:880};
cust3[cust3.length] = {s:false, r:1.3, c:90, d:1, z:850};
cust3[cust3.length] = {s:false, r:2.7, c:190, d:-1, z:820};
cust3[cust3.length] = {s:false, r:1.5, c:180, d:1, z:750};
cust3[cust3.length] = {s:false, r:2.3, c:170, d:-1, z:700};
cust3[cust3.length] = {s:false, r:1.1, c:90, d:-1, z:650};
cust3[cust3.length] = {s:false, r:6, c:93, d:-1, z:600};
cust3[cust3.length] = {s:true, l:2.2, z:550};
cust3[cust3.length] = {s:false, r:2.2, c:50, d:1, z:540};
cust3[cust3.length] = {s:true, l:1.2, z:510};
cust3[cust3.length] = {s:false, r:1, c:90, d:1, z:500};
cust3[cust3.length] = {s:false, r:1, c:90, d:-1, z:490};
cust3[cust3.length] = {s:true, l:3.7, z:450};
cust3[cust3.length] = {s:false, r:1, c:90, d:1, z:350};
cust3[cust3.length] = {s:false, r:1, c:90, d:-1, z:340};
cust3[cust3.length] = {s:true, l:1.4, z:300};
cust3[cust3.length] = {s:false, r:1, c:190, d:1, z:290};
cust3[cust3.length] = {s:false, r:1, c:90, d:-1, z:280};
cust3[cust3.length] = {s:true, l:1.7, z:220};
cust3[cust3.length] = {s:false, r:3.5, c:90, d:1, z:140};
cust3[cust3.length] = {s:false, r:1, c:190, d:-1, z:100};
cust3[cust3.length] = {s:true, l:6.5, z:80};
cust3.analyse((Math.PI/2));
var cust3_scenery = new SceneryArray();
var i = 0;
while (i < 100) {
cust3_scenery[cust3_scenery.length] = {d:Misc.rand(50, cust3.l), t:scenery_types.t1l};
cust3_scenery[cust3_scenery.length] = {d:Misc.rand(50, cust3.l), t:scenery_types.t1r};
i++;
}
cust3_scenery[cust3_scenery.length] = {d:51, t:scenery_types.b1};
cust3_scenery[cust3_scenery.length] = {d:80, t:scenery_types.b2};
cust3_scenery[cust3_scenery.length] = {d:130, t:scenery_types.b1};
cust3_scenery[cust3_scenery.length] = {d:260, t:scenery_types.b2};
cust3_scenery[cust3_scenery.length] = {d:326, t:scenery_types.b1};
cust3_scenery[cust3_scenery.length] = {d:410, t:scenery_types.b2};
cust3_scenery[cust3_scenery.length] = {d:510, t:scenery_types.b1};
cust3_scenery[cust3_scenery.length] = {d:807, t:scenery_types.b2};
cust3_scenery[cust3_scenery.length] = {d:860, t:scenery_types.b1};
cust3_scenery[cust3_scenery.length] = {d:920, t:scenery_types.b2};
cust3_scenery[cust3_scenery.length] = {d:980, t:scenery_types.b1};
cust3_scenery[cust3_scenery.length] = {d:1030, t:scenery_types.b2};
cust3_scenery[cust3_scenery.length] = {d:1131, t:scenery_types.b1};
cust3_scenery[cust3_scenery.length] = {d:1190, t:scenery_types.b2};
cust3_scenery[cust3_scenery.length] = {d:1250, t:scenery_types.b1};
cust3_scenery[cust3_scenery.length] = {d:1300, t:scenery_types.b1};
cust3_scenery[cust3_scenery.length] = {d:1400, t:scenery_types.b2};
cust3_scenery[cust3_scenery.length] = {d:1430, t:scenery_types.b1};
cust3_scenery[cust3_scenery.length] = {d:1550, t:scenery_types.b2};
cust3_scenery[cust3_scenery.length] = {d:1590, t:scenery_types.b1};
cust3_scenery[cust3_scenery.length] = {d:cust3.l, t:scenery_types.finish};
cust3_scenery.scenerySort();
var cust3_pickups = new PickupArray();
cust3_pickups[cust3_pickups.length] = new PickupInstance(40, pickups.p1);
cust3_pickups[cust3_pickups.length] = new PickupInstance(50, pickups.p1);
cust3_pickups[cust3_pickups.length] = new PickupInstance(60, pickups.p1);
cust3_pickups[cust3_pickups.length] = new PickupInstance(800, pickups.p1);
cust3_pickups[cust3_pickups.length] = new PickupInstance(810, pickups.p1);
cust3_pickups[cust3_pickups.length] = new PickupInstance(820, pickups.p1);
cust3_pickups[cust3_pickups.length] = new PickupInstance(830, pickups.p1);
cust3_pickups[cust3_pickups.length] = new PickupInstance(800, pickups.p1);
cust3_pickups[cust3_pickups.length] = new PickupInstance(910, pickups.p1);
cust3_pickups[cust3_pickups.length] = new PickupInstance(920, pickups.p1);
cust3_pickups[cust3_pickups.length] = new PickupInstance(930, pickups.p1);
cust3_pickups[cust3_pickups.length] = new PickupInstance(1130, pickups.p1);
cust3_pickups[cust3_pickups.length] = new PickupInstance(1140, pickups.p1);
cust3_pickups[cust3_pickups.length] = new PickupInstance(1150, pickups.p1);
cust3_pickups[cust3_pickups.length] = new PickupInstance(1250, pickups.p1);
cust3_pickups[cust3_pickups.length] = new PickupInstance(1260, pickups.p1);
cust3_pickups[cust3_pickups.length] = new PickupInstance(1270, pickups.p1);
cust3_pickups[cust3_pickups.length] = new PickupInstance(1450, pickups.p1);
cust3_pickups[cust3_pickups.length] = new PickupInstance(1460, pickups.p1);
cust3_pickups[cust3_pickups.length] = new PickupInstance(1470, pickups.p1);
cust3_pickups.pickupSort();
var cust3_warnings = new WarningArray();
cust3_warnings.warning = warning_signs;
cust3_warnings[cust3_warnings.length] = new WarningInstance("tr", 120);
cust3_warnings[cust3_warnings.length] = new WarningInstance("c", 230);
cust3_warnings[cust3_warnings.length] = new WarningInstance("tr", 500);
cust3_warnings[cust3_warnings.length] = new WarningInstance("w", 750);
cust3_warnings[cust3_warnings.length] = new WarningInstance("c", 1100);
cust3_warnings[cust3_warnings.length] = new WarningInstance("c", 1320);
cust3_warnings[cust3_warnings.length] = new WarningInstance("ur", 1400);
cust3_warnings[cust3_warnings.length] = new WarningInstance("ul", 1700);
cust3_warnings.warningSort();
cust3.setScenery(cust3_scenery);
cust3.setPickups(cust3_pickups);
cust3.setWarnings(cust3_warnings);
var calgary = new Track();
calgary.scale = 29;
calgary.vscale = 0.3;
calgary.targtime = 53000;
calgary.olytime = 46310;
calgary.no = 4;
calgary[calgary.length] = {s:false, r:9.4, c:30, d:1, z:2100};
calgary[calgary.length] = {s:false, r:7, c:30, d:-1, z:2000};
calgary[calgary.length] = {s:false, r:2.5, c:25, d:1, z:1980};
calgary[calgary.length] = {s:true, l:2.3, z:1950};
calgary[calgary.length] = {s:false, r:0.7, c:80, d:-1, z:1920};
calgary[calgary.length] = {s:false, r:1.1, c:50, d:-1, z:1900};
calgary[calgary.length] = {s:false, r:4, c:40, d:1, z:1850};
calgary[calgary.length] = {s:false, r:2.1, c:80, d:-1, z:1800};
calgary[calgary.length] = {s:true, l:1.1, z:1750};
calgary[calgary.length] = {s:false, r:0.8, c:180, d:1, z:1700};
calgary[calgary.length] = {s:true, l:1.5, z:1650};
calgary[calgary.length] = {s:false, r:0.9, c:95, d:-1, z:1600};
calgary[calgary.length] = {s:true, l:4.5, z:1200};
calgary[calgary.length] = {s:false, r:1, c:270, d:-1, z:1100};
calgary[calgary.length] = {s:false, r:13, c:20, d:-1, z:1000};
calgary[calgary.length] = {s:false, r:2.3, c:15, d:1, z:800};
calgary[calgary.length] = {s:true, l:1.1, z:700};
calgary[calgary.length] = {s:false, r:1.5, c:75, d:-1, z:600};
calgary[calgary.length] = {s:true, l:1.3, z:500};
calgary[calgary.length] = {s:false, r:2, c:40, d:1, z:400};
calgary[calgary.length] = {s:true, l:1.7, z:300};
calgary[calgary.length] = {s:false, r:0.9, c:165, d:-1, z:280};
calgary[calgary.length] = {s:true, l:12.5, z:250};
calgary.analyse(2.51327412287183);
var cesana_scenery = new SceneryArray();
var i = 0;
while (i < 200) {
cesana_scenery[cesana_scenery.length] = {d:Misc.rand(50, calgary.l), t:scenery_types.t1l};
cesana_scenery[cesana_scenery.length] = {d:Misc.rand(50, calgary.l), t:scenery_types.t1r};
i++;
}
cesana_scenery[cesana_scenery.length] = {d:51, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:80, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:130, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:260, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:326, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:410, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:510, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:807, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:860, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:920, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:980, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:1030, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:1131, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:1160, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:1190, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:1230, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:1250, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:1300, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:1360, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:1390, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:1400, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:1430, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:1490, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:1550, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:1590, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:1620, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:1660, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:1690, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:1710, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:1750, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:1800, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:1830, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:1870, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:1900, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:1930, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:1960, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:2000, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:2030, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:2060, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:2100, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:2140, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:2170, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:2200, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:2260, t:scenery_types.b1};
cesana_scenery[cesana_scenery.length] = {d:2280, t:scenery_types.b2};
cesana_scenery[cesana_scenery.length] = {d:calgary.l, t:scenery_types.finish};
cesana_scenery.scenerySort();
var calgary_pickups = new PickupArray();
calgary_pickups[calgary_pickups.length] = new PickupInstance(50, pickups.p1);
calgary_pickups[calgary_pickups.length] = new PickupInstance(150, pickups.p1);
calgary_pickups[calgary_pickups.length] = new PickupInstance(160, pickups.p1);
calgary_pickups[calgary_pickups.length] = new PickupInstance(200, pickups.p1);
calgary_pickups[calgary_pickups.length] = new PickupInstance(210, pickups.p1);
calgary_pickups[calgary_pickups.length] = new PickupInstance(250, pickups.p1);
calgary_pickups[calgary_pickups.length] = new PickupInstance(255, pickups.p1);
calgary_pickups[calgary_pickups.length] = new PickupInstance(300, pickups.p1);
calgary_pickups[calgary_pickups.length] = new PickupInstance(320, pickups.p1);
calgary_pickups[calgary_pickups.length] = new PickupInstance(390, pickups.p1);
calgary_pickups[calgary_pickups.length] = new PickupInstance(500, pickups.p1);
calgary_pickups[calgary_pickups.length] = new PickupInstance(520, pickups.p1);
calgary_pickups[calgary_pickups.length] = new PickupInstance(530, pickups.p1);
calgary_pickups[calgary_pickups.length] = new PickupInstance(680, pickups.p1);
calgary_pickups[calgary_pickups.length] = new PickupInstance(700, pickups.p1);
calgary_pickups[calgary_pickups.length] = new PickupInstance(900, pickups.p1);
calgary_pickups[calgary_pickups.length] = new PickupInstance(910, pickups.p1);
calgary_pickups[calgary_pickups.length] = new PickupInstance(920, pickups.p1);
calgary_pickups[calgary_pickups.length] = new PickupInstance(930, pickups.p1);
calgary_pickups[calgary_pickups.length] = new PickupInstance(940, pickups.p1);
calgary_pickups[calgary_pickups.length] = new PickupInstance(950, pickups.p1);
calgary_pickups[calgary_pickups.length] = new PickupInstance(1410, pickups.p1);
calgary_pickups[calgary_pickups.length] = new PickupInstance(1420, pickups.p1);
calgary_pickups[calgary_pickups.length] = new PickupInstance(1430, pickups.p1);
calgary_pickups[calgary_pickups.length] = new PickupInstance(1440, pickups.p1);
calgary_pickups[calgary_pickups.length] = new PickupInstance(1550, pickups.p1);
calgary_pickups[calgary_pickups.length] = new PickupInstance(1560, pickups.p1);
calgary_pickups[calgary_pickups.length] = new PickupInstance(1620, pickups.p1);
calgary_pickups[calgary_pickups.length] = new PickupInstance(1630, pickups.p1);
calgary_pickups[calgary_pickups.length] = new PickupInstance(1650, pickups.p1);
calgary_pickups[calgary_pickups.length] = new PickupInstance(1660, pickups.p1);
calgary_pickups.pickupSort();
var calgary_warnings = new WarningArray();
calgary_warnings.warning = warning_signs;
calgary_warnings[calgary_warnings.length] = new WarningInstance("ul", 330);
calgary_warnings[calgary_warnings.length] = new WarningInstance("ur", 550);
calgary_warnings[calgary_warnings.length] = new WarningInstance("ul", 880);
calgary_warnings[calgary_warnings.length] = new WarningInstance("w", 1120);
calgary_warnings[calgary_warnings.length] = new WarningInstance("ul", 1370);
calgary_warnings.warningSort();
calgary.setScenery(cesana_scenery);
calgary.setPickups(calgary_pickups);
calgary.setWarnings(calgary_warnings);
var altenberg = new Track();
altenberg.scale = 33.34;
altenberg.vscale = 0.5;
altenberg.targtime = 50000;
altenberg.olytime = 42100;
altenberg.no = 3;
altenberg[altenberg.length] = {s:true, l:3.6, z:1000};
altenberg[altenberg.length] = {s:false, r:1.8, c:45, d:1, z:960};
altenberg[altenberg.length] = {s:true, l:2.7, z:920};
altenberg[altenberg.length] = {s:false, r:1.3, c:45, d:1, z:880};
altenberg[altenberg.length] = {s:true, l:1.2, z:840};
altenberg[altenberg.length] = {s:false, r:0.7, c:200, d:-1, z:800};
altenberg[altenberg.length] = {s:true, l:0.85, z:780};
altenberg[altenberg.length] = {s:false, r:1.5, c:85, d:1, z:760};
altenberg[altenberg.length] = {s:false, r:2, c:30, d:1, z:720};
altenberg[altenberg.length] = {s:true, l:1.6, z:680};
altenberg[altenberg.length] = {s:false, r:2.3, c:15, d:-1, z:640};
altenberg[altenberg.length] = {s:true, l:1.6, z:600};
altenberg[altenberg.length] = {s:false, r:1.2, c:110, d:1, z:560};
altenberg[altenberg.length] = {s:true, l:2.9, z:520};
altenberg[altenberg.length] = {s:false, r:0.6, c:355, d:1, z:480};
altenberg[altenberg.length] = {s:true, l:2.1, z:440};
altenberg[altenberg.length] = {s:false, r:1.2, c:45, d:-1, z:400};
altenberg[altenberg.length] = {s:true, l:2.2, z:360};
altenberg[altenberg.length] = {s:false, r:1.4, c:45, d:-1, z:320};
altenberg[altenberg.length] = {s:false, r:0.6, c:95, d:1, z:280};
altenberg[altenberg.length] = {s:true, l:3.2, z:240};
altenberg[altenberg.length] = {s:false, r:1.6, c:60, d:-1, z:200};
altenberg[altenberg.length] = {s:false, r:0.6, c:110, d:-1, z:160};
altenberg[altenberg.length] = {s:false, r:1.9, c:60, d:-1, z:120};
altenberg[altenberg.length] = {s:true, l:7.5, z:80};
altenberg.analyse((Math.PI/2));
var altenberg_scenery = new SceneryArray();
var i = 0;
while (i < 250) {
altenberg_scenery[altenberg_scenery.length] = {d:Misc.rand(50, altenberg.l), t:scenery_types.t1l};
altenberg_scenery[altenberg_scenery.length] = {d:Misc.rand(50, altenberg.l), t:scenery_types.t1r};
i++;
}
altenberg_scenery[altenberg_scenery.length] = {d:51, t:scenery_types.b2};
altenberg_scenery[altenberg_scenery.length] = {d:80, t:scenery_types.b1};
altenberg_scenery[altenberg_scenery.length] = {d:130, t:scenery_types.b2};
altenberg_scenery[altenberg_scenery.length] = {d:260, t:scenery_types.b1};
altenberg_scenery[altenberg_scenery.length] = {d:366, t:scenery_types.b1};
altenberg_scenery[altenberg_scenery.length] = {d:410, t:scenery_types.b1};
altenberg_scenery[altenberg_scenery.length] = {d:510, t:scenery_types.b2};
altenberg_scenery[altenberg_scenery.length] = {d:807, t:scenery_types.b2};
altenberg_scenery[altenberg_scenery.length] = {d:860, t:scenery_types.b1};
altenberg_scenery[altenberg_scenery.length] = {d:920, t:scenery_types.b2};
altenberg_scenery[altenberg_scenery.length] = {d:980, t:scenery_types.b1};
altenberg_scenery[altenberg_scenery.length] = {d:1030, t:scenery_types.b2};
altenberg_scenery[altenberg_scenery.length] = {d:1131, t:scenery_types.b1};
altenberg_scenery[altenberg_scenery.length] = {d:1160, t:scenery_types.b2};
altenberg_scenery[altenberg_scenery.length] = {d:1190, t:scenery_types.b1};
altenberg_scenery[altenberg_scenery.length] = {d:1230, t:scenery_types.b2};
altenberg_scenery[altenberg_scenery.length] = {d:1250, t:scenery_types.b1};
altenberg_scenery[altenberg_scenery.length] = {d:1300, t:scenery_types.b2};
altenberg_scenery[altenberg_scenery.length] = {d:1360, t:scenery_types.b1};
altenberg_scenery[altenberg_scenery.length] = {d:1390, t:scenery_types.b2};
altenberg_scenery[altenberg_scenery.length] = {d:1400, t:scenery_types.b1};
altenberg_scenery[altenberg_scenery.length] = {d:1430, t:scenery_types.b2};
altenberg_scenery[altenberg_scenery.length] = {d:1490, t:scenery_types.b1};
altenberg_scenery[altenberg_scenery.length] = {d:1550, t:scenery_types.b2};
altenberg_scenery[altenberg_scenery.length] = {d:1590, t:scenery_types.b1};
altenberg_scenery[altenberg_scenery.length] = {d:1620, t:scenery_types.b2};
altenberg_scenery[altenberg_scenery.length] = {d:1660, t:scenery_types.b1};
altenberg_scenery[altenberg_scenery.length] = {d:altenberg.l, t:scenery_types.finish};
altenberg_scenery.scenerySort();
var altenberg_pickups = new PickupArray();
altenberg_pickups[altenberg_pickups.length] = new PickupInstance(40, pickups.p1);
altenberg_pickups[altenberg_pickups.length] = new PickupInstance(50, pickups.p1);
altenberg_pickups[altenberg_pickups.length] = new PickupInstance(60, pickups.p1);
altenberg_pickups[altenberg_pickups.length] = new PickupInstance(140, pickups.p1);
altenberg_pickups[altenberg_pickups.length] = new PickupInstance(150, pickups.p1);
altenberg_pickups[altenberg_pickups.length] = new PickupInstance(160, pickups.p1);
altenberg_pickups[altenberg_pickups.length] = new PickupInstance(340, pickups.p1);
altenberg_pickups[altenberg_pickups.length] = new PickupInstance(350, pickups.p1);
altenberg_pickups[altenberg_pickups.length] = new PickupInstance(360, pickups.p1);
altenberg_pickups[altenberg_pickups.length] = new PickupInstance(370, pickups.p1);
altenberg_pickups[altenberg_pickups.length] = new PickupInstance(380, pickups.p1);
altenberg_pickups[altenberg_pickups.length] = new PickupInstance(600, pickups.p1);
altenberg_pickups[altenberg_pickups.length] = new PickupInstance(610, pickups.p1);
altenberg_pickups[altenberg_pickups.length] = new PickupInstance(620, pickups.p1);
altenberg_pickups[altenberg_pickups.length] = new PickupInstance(630, pickups.p1);
altenberg_pickups[altenberg_pickups.length] = new PickupInstance(830, pickups.p1);
altenberg_pickups[altenberg_pickups.length] = new PickupInstance(840, pickups.p1);
altenberg_pickups[altenberg_pickups.length] = new PickupInstance(850, pickups.p1);
altenberg_pickups[altenberg_pickups.length] = new PickupInstance(910, pickups.p1);
altenberg_pickups[altenberg_pickups.length] = new PickupInstance(920, pickups.p1);
altenberg_pickups[altenberg_pickups.length] = new PickupInstance(930, pickups.p1);
altenberg_pickups[altenberg_pickups.length] = new PickupInstance(940, pickups.p1);
altenberg_pickups[altenberg_pickups.length] = new PickupInstance(1300, pickups.p1);
altenberg_pickups[altenberg_pickups.length] = new PickupInstance(1310, pickups.p1);
altenberg_pickups[altenberg_pickups.length] = new PickupInstance(1320, pickups.p1);
altenberg_pickups[altenberg_pickups.length] = new PickupInstance(1360, pickups.p1);
altenberg_pickups[altenberg_pickups.length] = new PickupInstance(1370, pickups.p1);
altenberg_pickups[altenberg_pickups.length] = new PickupInstance(1380, pickups.p1);
altenberg_pickups[altenberg_pickups.length] = new PickupInstance(1560, pickups.p1);
altenberg_pickups[altenberg_pickups.length] = new PickupInstance(1570, pickups.p1);
altenberg_pickups[altenberg_pickups.length] = new PickupInstance(1580, pickups.p1);
altenberg_pickups.pickupSort();
var altenberg_warnings = new WarningArray();
altenberg_warnings.warning = warning_signs;
altenberg_warnings[altenberg_warnings.length] = new WarningInstance("ul", 300);
altenberg_warnings[altenberg_warnings.length] = new WarningInstance("w", 550);
altenberg_warnings[altenberg_warnings.length] = new WarningInstance("ur", 800);
altenberg_warnings[altenberg_warnings.length] = new WarningInstance("c", 1140);
altenberg_warnings[altenberg_warnings.length] = new WarningInstance("ul", 1300);
altenberg_warnings.warningSort();
altenberg.setScenery(altenberg_scenery);
altenberg.setPickups(altenberg_pickups);
altenberg.setWarnings(altenberg_warnings);
gameActive = false;
_root.menu.customItems[0].enabled = false;
_root.menu.customItems[1].enabled = false;
_root.menu.customItems[4].enabled = false;
_root.menu.customItems[5].enabled = false;
_root.menu.customItems[4].visible = false;
_root.menu.customItems[5].visible = false;
Key.removeListener(KeyListener);
_root._quality = "HIGH";
function setTrackAndStart() {
menu_mc.gotoAndStop("closed");
track = this.t.copy();
curTrack = this.t;
tracks_mc.choose_mc.closed = goToGame;
tracks_mc.choose_mc.onEnterFrame = prevFrame;
}
if (tsm == undefined) {
var tsm = tracks_mc.choose_mc.menu_mc;
tsm.track1.t = cesana;
tsm.track2.t = cust1;
tsm.track3.t = cust2;
tsm.track4.t = altenberg;
tsm.track5.t = calgary;
tsm.track6.t = cust3;
var i = 1;
while (i <= 6) {
tsm["track" + i].onRelease = setTrackAndStart;
tsm["map" + i].drawTrack(tsm["track" + i].t, tsm["map" + i]._x, tsm["map" + i]._y, 80);
tsm["map" + i]._x = tsm["map" + i]._x + ((90 - tsm["map" + i]._width) / 2);
tsm["map" + i]._y = tsm["map" + i]._y + ((90 - tsm["map" + i]._height) / 2);
tsm["feedback" + i].qual_txt.text = Time.formatTime(tsm["track" + i].t.targtime);
tsm["feedback" + i].oly_txt.text = Time.formatTime(tsm["track" + i].t.olytime);
i++;
}
}
function openOptions() {
menu_mc.gotoAndPlay("open");
menu_mc.menuClip.gotoAndStop("startOpts");
}
function closeCurtainsAndPicktrack() {
curtains.gotoAndStop("open");
curtains.onEnterFrame = prevFrame;
curtains.closed = showTracks;
}
function showTracks() {
tracks_mc.gotoAndStop("show");
tracks_mc.choose_mc.play();
}
function tracksBackToStart() {
tracks_mc.choose_mc.onEnterFrame = prevFrame;
tracks_mc.choose_mc.closed = openCurtainsOnStart;
}
function openCurtainsOnStart() {
curtains.gotoAndStop(2);
}
start_menu.btn_grp_1.options_btn.onRelease = openOptions;
start_menu.btn_grp_1.play_btn.onRelease = closeCurtainsAndPicktrack;
Instance of Symbol 42 MovieClip "theme" in Frame 4
onClipEvent (load) {
function toggleSnd() {
if (!_root.sndOff) {
trace("Sound initialising");
gameTheme = new Sound(this);
gameTheme.attachSound("soundtrack");
gameTheme.onSoundComplete = function () {
gameTheme.start(0, 999);
};
gameTheme.start(0, 999);
gameTheme.setVolume(0);
tgtVolume = 100;
} else {
gameTheme.stop();
gameTheme.setVolume(0);
}
}
function setVol(vol) {
trace("argh! " + vol);
if (!_root.sndOff) {
tgtVolume = vol;
}
return(tgtVolume);
}
this._visible = 0;
toggleSnd();
}
onClipEvent (enterFrame) {
if (!_root.sndOff) {
if (gameTheme.getVolume() > tgtVolume) {
gameTheme.setVolume(gameTheme.getVolume() - 3);
} else if (gameTheme.getVolume() < tgtVolume) {
gameTheme.setVolume(gameTheme.getVolume() + 1);
}
}
}
Instance of Symbol 183 MovieClip "menu_mc" in Frame 4
onClipEvent (load) {
_x = Math.round(_x);
_y = Math.round(_y);
}
Instance of Symbol 187 MovieClip "curtains" in Frame 4
onClipEvent (load) {
this.onRollOver = function () {
};
this.useHandCursor = false;
this.gotoAndStop("open");
_visible = false;
}
Frame 5
stop();
prevTime = getTimer();
time = 0;
curtains._visible = true;
pickupMan = new PickupManager(this);
perfMon = new PerformanceController();
gameActive = true;
function isFinished() {
if (this.scene._currentframe == this.scene._totalframes) {
this.scene.endCutscene();
}
}
function endCutscene() {
this._parent._parent._parent.player._rotation = 0;
this._parent._parent._parent.player.ps = Player.iv;
this._parent._parent._parent.time = this._parent._parent._parent.time + Vars.tPen;
this._parent._parent._parent.line_indicator.findta(Player.iv);
this.onEnterFrame = null;
this.endCutscene = null;
this.shake = null;
this._parent._parent._parent.stopGame(false);
bg._visible = true;
sky.visible = true;
player._visible = true;
player.sndChange(sndOff);
this.gotoAndStop(1);
this._parent.gotoAndStop(1);
this._parent._parent.gotoAndStop(1);
}
function shake() {
if (this.startShake) {
this.endShake = ((this.endShake == undefined) ? (this._totalframes) : (this.endShake));
if ((this._currentframe >= this.startShake) && (this._currentframe <= this.endShake)) {
var _local3 = this.endShake - this._currentframe;
var _local4 = (((_local3 % 2) == 0) ? (_local3 / 2) : ((-(_local3 + 1)) / 2));
if ((_root.v >= 8) && (flash.external.ExternalInterface.available)) {
flash.external.ExternalInterface.call("moveBy", _local4, 0);
}
}
}
}
_root.menu.customItems[0].enabled = true;
_root.menu.customItems[1].enabled = true;
_root.menu.customItems[4].enabled = true;
_root.menu.customItems[5].enabled = true;
_root.menu.customItems[4].visible = true;
_root.menu.customItems[5].visible = true;
Key.addListener(KeyListener);
function onEnterFrame() {
var _local13 = getTimer();
if (!isPaused) {
perfMon.onEnterFrame();
var _local15 = line_indicator.update(player.ts, player.ps);
var _local14 = player.move(_local13 - prevTime, _local15);
if ((player._rotation < -90) || (player._rotation > 90)) {
stopGame(true);
cutscenes.gotoAndStop("lipout");
var _local16 = Misc.rand(2, cutscenes.scenes._totalframes + 0.49, 0);
cutscenes.scenes.gotoAndStop(_local16);
player.sndChange(true);
bg._visible = false;
sky.visible = false;
player._visible = false;
cutscenes.scenes.onEnterFrame = isFinished;
cutscenes.scenes.scene.endCutscene = endCutscene;
cutscenes.scenes.scene.onEnterFrame = shake;
}
if (!player.ts.s) {
var _local17 = ((_local14 * 45000) / player.ts.r) + 90;
if (Math.abs(player._rotation - line_indicator._rotation) > _local17) {
stopGame(true);
cutscenes.gotoAndStop("inned");
var _local16 = Misc.rand(2, cutscenes.scenes._totalframes + 0.49, 0);
cutscenes.scenes.gotoAndStop(_local16);
player.sndChange(true);
bg._visible = false;
sky.visible = false;
player._visible = false;
cutscenes.scenes.onEnterFrame = isFinished;
cutscenes.scenes.scene.endCutscene = endCutscene;
cutscenes.scenes.scene.onEnterFrame = shake;
}
}
map.drawPlayer(player.v, player.a);
var _local5 = 1;
while (bg["cm" + (_local5 - 1)]) {
var _local3 = bg["cm" + (_local5 - 1)];
var _local6 = _local5 * BackgroundMask.cd;
var _local4 = player.d + _local6;
var _local2 = 0;
while (track[_local2].tl < _local4) {
_local2++;
}
var _local7 = track[_local2 - 1];
var _local8 = _local6 * Math.tan(player.va);
_local3._x = _local3.sx + (Vars.hps * track.viewOffset(_local7, _local6, player));
_local3._y = _local3.sy + (Vars.vps * ((player.z - track.getHeightAt(_local7, _local4)) - _local8));
_local5++;
}
bg.scenery.drawScenery(track, track.scenery.sceneryAt(player.d, _local4), player);
pickupMan.drawPickups(track, track.pickups.pickupsAt(player.d, _local4), player);
bg.jiggle(_local14);
var _local9 = bg.l._y;
var _local12 = bg.l._x;
var _local11 = bg.r._x;
_local5 = 0;
while (bg["cm" + _local5]) {
var _local1 = bg["cm" + _local5];
_local1.drawMask();
if (_local1._y < _local9) {
_local9 = _local1._y;
_local12 = _local1._x - _local1.rad;
_local11 = _local1._x + _local1.rad;
}
_local5++;
}
bg.ground_l._y = _local9;
bg.ground_r._y = _local9;
bg.ground_l._x = _local12;
bg.ground_r._x = _local11;
ft++;
if (ft >= bg["cm" + cf].ft) {
ft = 0;
bg["cm" + cf].bright(false);
cf = (((cf - 1) < 0) ? (_local5 - 1) : (cf - 1));
bg["cm" + cf].bright(true);
}
time = time + (_local13 - prevTime);
timer_txt.text = Time.formatTime(time);
var _local10 = Math.round(_local14 * 3600);
_local10 = ((_local10 < 10) ? ("0" + _local10) : (_local10));
_local10 = ((_local10 < 100) ? ("0" + _local10) : (_local10));
speedo.speed_txt.text = _local10;
distance_txt.text = Math.round(track.l - player.d) + "m";
if (sky.doScroll) {
sky.scrll(player.a, player.va);
}
player.track.warnings.checkWarning(player.d);
} else {
perfMon.nLFT = getTimer();
}
prevTime = _local13;
}
track.reset();
track.warnings.warning = warning_signs;
player.track = track;
player.ts = track[0];
player.z = track[0].z;
times = new Object();
time = 0;
qualifying_txt.text = Time.formatTime(track.targtime);
qualifying_s_txt.text = qualifying_txt.text;
olympic_txt.text = Time.formatTime(track.olytime);
olympic_s_txt.text = olympic_txt.text;
if (so.data.pb[track.no] != undefined) {
pb_txt.text = Time.formatTime(so.data.pb[track.no]);
pb_s_txt.text = pb_txt.text;
} else {
pb_txt.text = Time.formatTime();
pb_s_txt.text = pb_txt.text;
}
if (chal_times.name != undefined) {
if ((chal_times[track.no] != undefined) || (chal_times[track.no] != 0)) {
chal_txt.text = Time.formatTime(chal_times[track.no]);
} else {
chal_txt.text = Time.formatTime();
}
chal_s_txt.text = chal_txt.text;
hud_chal_txt.text = chal_times.name + " PB";
hud_chal_s_txt.text = chal_times.name + " PB";
hud_lines.gotoAndStop("challenge");
} else {
chal_txt.text = "";
chal_s_txt.text = "";
hud_chal_txt.text = "";
hud_chal_s_txt.text = "";
hud_lines.gotoAndStop("noChallenge");
}
var orange_tf = new TextFormat();
orange_tf.color = 16724736 /* 0xFF3300 */;
var blue_tf = new TextFormat();
blue_tf.color = 22396;
if (((chal_times[track.no] > 0) && ((chal_times[track.no] <= so.data.pb[track.no]) || (so.data.pb[track.no] <= 0))) && (chal_times[track.no] <= track.olytime)) {
or_txt.setTextFormat(blue_tf);
olympic_txt.setTextFormat(blue_tf);
yp_txt.setTextFormat(blue_tf);
pb_txt.setTextFormat(blue_tf);
hud_chal_txt.setTextFormat(orange_tf);
chal_txt.setTextFormat(orange_tf);
} else if ((so.data.pb[track.no] > 0) && (so.data.pb[track.no] <= track.olytime)) {
or_txt.setTextFormat(blue_tf);
olympic_txt.setTextFormat(blue_tf);
yp_txt.setTextFormat(orange_tf);
pb_txt.setTextFormat(orange_tf);
hud_chal_txt.setTextFormat(blue_tf);
chal_txt.setTextFormat(blue_tf);
} else {
or_txt.setTextFormat(orange_tf);
olympic_txt.setTextFormat(orange_tf);
yp_txt.setTextFormat(blue_tf);
pb_txt.setTextFormat(blue_tf);
hud_chal_txt.setTextFormat(blue_tf);
chal_txt.setTextFormat(blue_tf);
}
line_indicator._visible = true;
map.drawTrack(track, 10, 30, 150);
map.initPlayer();
bg.l._visible = false;
bg.r._visible = false;
cf = 5;
ft = 0;
var i = 0;
while (bg["cm" + i]) {
if (i > 0) {
bg["cm" + i].initMask(bg["cm" + (i - 1)].l, bg["cm" + (i - 1)].r);
} else {
bg["cm" + i].initMask(bg.l, bg.r);
}
bg["cm" + i].ft = Math.ceil((i + 1) / 3);
pickupMan.circs[i] = bg["cm" + i];
i++;
}
var highest = bg.l._y;
var gl = bg.l._x;
var gr = bg.r._x;
var i = 0;
while (bg["cm" + i]) {
var mc = bg["cm" + i];
mc.drawMask();
if (mc._y < highest) {
highest = mc._y;
gl = mc._x - mc.rad;
gr = mc._x + mc.rad;
}
i++;
}
sky.scrll(player.a, player.va);
bg.scenery.drawScenery(track, track.scenery.sceneryAt(player.d, Vars.nc * BackgroundMask.cd), player);
pickupMan.drawPickups(track, track.pickups.pickupsAt(player.d, Vars.nc * BackgroundMask.cd), player);
Instance of Symbol 328 MovieClip "messages" in Frame 5
onClipEvent (load) {
this._visible = false;
}
Frame 6
stop();
gameActive = false;
_root.menu.customItems[0].enabled = false;
_root.menu.customItems[1].enabled = false;
_root.menu.customItems[4].enabled = false;
_root.menu.customItems[5].enabled = false;
_root.menu.customItems[4].visible = false;
_root.menu.customItems[5].visible = false;
Key.removeListener(KeyListener);
function endRace() {
theme.setVol(100);
menu_mc.gotoAndPlay("open");
var _local1 = "";
if (!so.data.pb) {
so.data.pb = new Array();
}
if ((times.t < so.data.pb[track.no]) || (so.data.pb[track.no] == undefined)) {
if (so.data.pb[track.no] != undefined) {
_local1 = _local1 + "You've set a new Personal Best time\n";
}
so.data.pb[track.no] = times.t;
so.flush();
}
if (times.t <= track.targtime) {
menu_mc.menuClip.gotoAndStop("fast");
menu_mc.menuClip.yourTime.text = Time.formatTime(times.t);
if ((so.data.ct < track.no) || (so.data.ct == undefined)) {
so.data.ct = track.no;
so.flush();
if (so.data.ct < 5) {
_local1 = "You've unlocked a new track!\n" + _local1;
} else {
_local1 = "You've completed the final track!\n" + _local1;
}
}
} else {
menu_mc.menuClip.gotoAndStop("slow");
}
if (times.t <= track.olytime) {
_local1 = _local1 + "You've beaten the Olympic record!\n";
}
if (times.t < chal_times[track.no]) {
_local1 = _local1 + "You've beaten your challenger!";
}
menu_mc.menuClip.feedback.text = _local1;
menu_mc.menuClip.picktrack_btn.onRelease = closeCurtainsAndPicktrack;
}
function returnToStart() {
menu_mc.closed = closeCurtainsAndReturn;
menu_mc.gotoAndPlay("close");
}
function closeCurtainsAndReturn() {
curtains.gotoAndStop("open");
curtains.onEnterFrame = prevFrame;
curtains.closed = gotoStartMenu;
}
function gotoStartMenu() {
gotoAndStop ("startMenu");
start_menu.gotoAndStop("open");
curtains.gotoAndPlay(2);
}
function pickTrack() {
menu_mc.gotoAndPlay("close");
menu_mc.closed = closeCurtainsAndPicktrack;
}
isPaused = true;
isStopped = true;
line_indicator._visible = false;
timer_txt.text = Time.formatTime(times.t);
Frame 7
stop();
Key.removeListener(KeyListener);
track = curTrack.copy();
goToGame();
Symbol 7 MovieClip Frame 1
stop();
Symbol 7 MovieClip Frame 8
_root.play();
stop();
Symbol 25 MovieClip [banner] Frame 1
stop();
Symbol 25 MovieClip [banner] Frame 2
stop();
Instance of Symbol 9 MovieClip [pickup1] in Symbol 28 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 28 MovieClip in Symbol 29 MovieClip [pickup1_pickedup] Frame 1
onClipEvent (load) {
yVel = Misc.rand(20, 60);
xVel = Misc.rand(-50, 50);
rotVel = Misc.rand(15, 70);
rotVel = ((Math.random() > 0.5) ? (rotVel) : (rotVel * -1));
grow = 1.05;
}
onClipEvent (enterFrame) {
_y = (_y - yVel);
_x = (_x + xVel);
_rotation = (_rotation + rotVel);
_xscale = (_xscale * grow);
_yscale = (_yscale * grow);
}
Symbol 29 MovieClip [pickup1_pickedup] Frame 15
this.removeMovieClip();
Symbol 37 MovieClip [banner2] Frame 1
stop();
Symbol 37 MovieClip [banner2] Frame 2
stop();
Symbol 491 MovieClip [__Packages.Time] Frame 0
class Time
{
function Time () {
}
static function formatTime(time) {
if (time == undefined) {
return("- - : - - : - -");
}
var _local3 = Math.floor(time / 60000);
_local3 = ((_local3 < 10) ? ("0" + _local3) : (_local3));
var _local4 = Math.floor((time % 60000) / 1000);
_local4 = ((_local4 < 10) ? ("0" + _local4) : (_local4));
var _local2 = Math.floor((time % 1000) / 10);
_local2 = ((_local2 < 10) ? ("0" + _local2) : (_local2));
return((((_local3 + ":") + _local4) + ".") + _local2);
}
}
Symbol 492 MovieClip [__Packages.Base64] Frame 0
class Base64
{
function Base64 () {
}
static function utf8t2d(t) {
var _local1 = new Array();
var _local5 = String.fromCharCode(237);
if (_local5.charCodeAt(0) < 0) {
var _local3 = 0;
while (_local3 < t.length) {
var _local2 = t.charCodeAt(_local3);
if (_local2 > 0) {
_local1[_local1.length] = _local2;
} else {
_local1[_local1.length] = ((256 + _local2) >> 6) | 192;
_local1[_local1.length] = ((256 + _local2) & 63) | 128;
}
_local3++;
}
} else {
var _local3 = 0;
while (_local3 < t.length) {
var _local2 = t.charCodeAt(_local3);
if (_local2 < 128) {
_local1[_local1.length] = _local2;
} else if ((_local2 > 127) && (_local2 < 2048)) {
_local1[_local1.length] = (_local2 >> 6) | 192;
_local1[_local1.length] = (_local2 & 63) | 128;
} else {
_local1[_local1.length] = (_local2 >> 12) | 224;
_local1[_local1.length] = ((_local2 >> 6) & 63) | 128;
_local1[_local1.length] = (_local2 & 63) | 128;
}
_local3++;
}
}
return(_local1);
}
static function b64d2t(d) {
var _local1 = new Array();
var _local2 = 0;
var _local4 = d.length;
if ((_local4 % 3) == 1) {
d[d.length] = 0;
d[d.length] = 0;
}
if ((_local4 % 3) == 2) {
d[d.length] = 0;
}
while (_local2 < d.length) {
_local1[_local1.length] = b64[d[_local2] >> 2];
_local1[_local1.length] = b64[((d[_local2] & 3) << 4) | (d[_local2 + 1] >> 4)];
_local1[_local1.length] = b64[((d[_local2 + 1] & 15) << 2) | (d[_local2 + 2] >> 6)];
_local1[_local1.length] = b64[d[_local2 + 2] & 63];
if ((_local2 % 57) == 54) {
_local1[_local1.length] = newline;
}
_local2 = _local2 + 3;
}
if ((_local4 % 3) == 1) {
_local1[_local1.length - 1] = (_local1[_local1.length - 2] = "=");
}
if ((_local4 % 3) == 2) {
_local1[_local1.length - 1] = "=";
}
var _local5 = _local1.join("");
return(_local5);
}
static function encode(s) {
return(b64d2t(utf8t2d(s)));
}
static var b64s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
static var b64 = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "+", "/"];
static var f64 = {};
}
Symbol 493 MovieClip [__Packages.Misc] Frame 0
class Misc
{
function Misc () {
}
static function lcm(a, b) {
if ((!a) && (!b)) {
return(0);
}
return((a * b) / gcd(a, b));
}
static function gcd(a, b) {
var _local2 = 0;
while (b != 0) {
_local2 = b;
b = a % b;
a = _local2;
}
return(a);
}
static function rand(min, max, p) {
min = ((min === undefined) ? 0 : (min));
max = ((max === undefined) ? 1 : (max));
var _local1 = (Math.random() * (max - min)) + min;
if (p != undefined) {
p = 1 / Math.pow(10, p);
_local1 = _local1 - (_local1 % p);
}
return(_local1);
}
static function round(n, p) {
p = ((p == undefined) ? 1 : (1 / Math.pow(10, p)));
var _local3 = n % p;
return(((_local3 > (p / 2)) ? ((n - (n % p)) + p) : (n - (n % p))));
}
static function ceil(n, p) {
p = ((p == undefined) ? 1 : (1 / Math.pow(10, p)));
var _local3 = n % p;
return(((_local3 > 0) ? ((n - (n % p)) + p) : (n - (n % p))));
}
static function floor(n, p) {
p = ((p == undefined) ? 1 : (1 / Math.pow(10, p)));
return(n - (n % p));
}
}
Symbol 494 MovieClip [__Packages.PickupType] Frame 0
class PickupType
{
var n;
function PickupType (name, boost) {
n = name;
b = (boost ? (boost) : (b));
}
var b = 5;
}
Symbol 495 MovieClip [__Packages.WarningInstance] Frame 0
class WarningInstance
{
var t, d;
function WarningInstance (type, dist) {
t = type;
d = dist;
}
function toString() {
return(((("(type=" + t) + ", distance=") + d) + ")");
}
}
Symbol 496 MovieClip [__Packages.PickupInstance] Frame 0
class PickupInstance
{
var t, mc;
function PickupInstance (dist, type) {
d = dist;
t = type;
}
function collected(player, root) {
var _local3 = new Vector(0, 0);
mc.localToGlobal(_local3);
root.bg.globalToLocal(_local3);
root.bg.attachMovie("pickup1_pickedup", "pu" + Math.round(d * 100000), root.bg.getNextHighestDepth(), {_x:_local3.x, _y:_local3.y});
mc._visible = false;
root.messages.gotoAndStop("lubed");
player.ps = player.ps + t.b;
col = true;
if (!root.sndOff) {
var _local4 = new PickupSnd(root.createEmptyMovieClip(("p" + Math.round(d * 100000)) + "_snd_mc", root.getNextHighestDepth()));
_local4.attachSound(sn);
_local4.start();
}
}
function copy() {
return(new PickupInstance(d, t));
}
function toString() {
return((("Type: " + t.n) + ", distance: ") + d);
}
var a = (Math.PI/2);
var d = 0;
static var sn = "pickup_sound_1";
var col = false;
}
Symbol 497 MovieClip [__Packages.Player] Frame 0
class Player extends MovieClip
{
var v, snd, _parent, track, ts, z, _rotation, gotoAndStop, head;
function Player () {
super();
v = new Vector(0, 0);
ps = iv;
snd = new Sound(this);
snd.attachSound("movement");
if (!_root.brdcst) {
_root.brdcst = {};
AsBroadcaster.initialize(_root.brdcst);
}
_root.brdcst.addListener(this);
if (_parent.sndOff) {
sndOff = true;
}
if (!sndOff) {
snd.start(0, 999999999);
snd.setVolume(0);
}
}
function sndChange(t) {
if (t) {
snd.stop();
} else {
snd.start(0, 999999999);
}
}
function move(ftime, ia) {
var _local8 = track.getHeightAt(ts, d + 1);
var _local6 = Math.atan2(_local8 - z, 1);
va = -Math.sin(_local6);
ps = ps + (va * g);
if (!ts.s) {
var _local9 = Math.sqrt(Math.abs(_rotation - ia));
} else {
var _local9 = 0;
}
ps = ps * (1 - ((lc * _local9) * ftime));
ps = ps * f;
ps = ((ps > Vars.tVel) ? (Vars.tVel) : (ps));
snd.setVolume((ps / Vars.tVel) * 100);
var _local4 = ps / 1000;
var _local7 = (ps / 1000) * ftime;
d = d + _local7;
var _local3 = track.length;
var _local2 = 0;
while (_local2 < _local3) {
if ((track[_local2].tl + track[_local2].l) > d) {
break;
}
if (track[_local2] == undefined) {
raceEnded();
return(0);
}
track.shift();
_local2--;
_local2++;
}
ts = track[_local2];
if (Key.isDown(39)) {
rv = rv - rs;
}
if (Key.isDown(37)) {
rv = rv + rs;
}
if (Key.isDown(39) && (!Key.isDown(37))) {
(gotoAndStop("tiltRight"));// not popped
} else if (Key.isDown(37) && (!Key.isDown(39))) {
(gotoAndStop("tiltLeft"));// not popped
} else {
(gotoAndStop("flat"));// not popped
}
rv = rv - (gc * Math.sin(_rotation * Trig.dr));
if (!ts.s) {
rv = rv + ((((_local4 * _local4) * cfc) / ts.r) * ts.d);
}
rv = rv * rd;
_rotation = _rotation + ((rv * 0.03) * ftime);
head._rotation = -(_rotation / 2);
var _local5 = d - ts.tl;
if (ts.s) {
v.x = ts.x + (_local5 * Math.cos(ts.a));
v.y = ts.y + (_local5 * Math.sin(ts.a));
a = ts.a;
} else {
a = (((_local5 / ts.r) * ts.d) + ts.a) - (Trig.ra * ts.d);
v.x = ts.cx + (ts.r * Math.cos(a));
v.y = ts.cy + (ts.r * Math.sin(a));
a = a + (Trig.ra * ts.d);
}
z = track.getHeightAt(ts, d);
return(_local4);
}
function raceEnded() {
_parent.brdcst.broadcastMessage("endRace");
_parent.times.t = _parent.time;
snd.stop();
delete snd;
_parent.messages.gotoAndStop(1);
_parent.warning_signs.gotoAndStop(1);
_parent.messages._visible = false;
_parent.gotoAndStop("endRace");
}
var a = 0;
var d = 0;
var ps = 0;
var va = 0;
var rv = 0;
var sndOff = false;
static var iv = 10;
static var g = 1;
static var f = 0.995;
static var lc = 3.33333333333333E-5;
static var cfc = 8900;
static var rs = 0.5;
static var rd = 0.93;
static var gc = 0.56;
}
Symbol 498 MovieClip [__Packages.Vector] Frame 0
class Vector
{
var x, y;
function Vector (i, j) {
x = i;
y = j;
}
function clone() {
return(new Vector(x, y));
}
function magnitude() {
return(Math.sqrt((x * x) + (y * y)));
}
function subtract(v) {
return(new Vector(x - v.x, y - v.y));
}
function normalize(l) {
l = ((l === undefined) ? 1 : (l));
var _local2 = magnitude() / l;
x = x / _local2;
y = y / _local2;
}
static function vectDist(v1, v2) {
return(Math.sqrt(((v2.x - v1.x) * (v2.x - v1.x)) + ((v2.y - v1.y) * (v2.y - v1.y))));
}
static function cpol(v1, v2, v3) {
var _local4 = ((v1.x - v2.x) * (v1.x - v2.x)) + ((v1.y - v2.y) * (v1.y - v2.y));
var _local3 = (((v3.x - v1.x) * (v2.x - v1.x)) + ((v3.y - v1.y) * (v2.y - v1.y))) / _local4;
return(new Vector(v1.x + (_local3 * (v2.x - v1.x)), v1.y + (_local3 * (v2.y - v1.y))));
}
static function lineIntersection(av1, av2, bv1, bv2) {
var _local5 = av2.y - av1.y;
var _local3 = av1.x - av2.x;
var _local9 = (_local5 * av1.x) + (_local3 * av1.y);
var _local4 = bv2.y - bv1.y;
var _local2 = bv1.x - bv2.x;
var _local8 = (_local4 * bv1.x) + (_local2 * bv1.y);
var _local1 = (_local5 * _local2) - (_local4 * _local3);
if (_local1 == 0) {
return(undefined);
}
return(new Vector(((_local2 * _local9) - (_local3 * _local8)) / _local1, ((_local5 * _local8) - (_local4 * _local9)) / _local1));
}
static function fromPolar(a, m) {
return(new Vector(m * Math.cos(a), m * Math.sin(a)));
}
function toString() {
return(((("( x=" + x) + ", y=") + y) + ")");
}
function mark(mc, col) {
col = ((col == undefined) ? 16711680 : (col));
mc.lineStyle(0, col);
mc.moveTo(x - 2, y - 2);
mc.lineTo(x + 2, y + 2);
mc.moveTo(x - 2, y + 2);
mc.lineTo(x + 2, y - 2);
}
}
Symbol 499 MovieClip [__Packages.Track] Frame 0
class Track extends Array
{
var splice, scenery, oscen, pickups, opicks, warnings, owarn, length;
function Track () {
super();
if (arguments.length > 1) {
splice.apply(this, [0, 0].concat(arguments));
} else if (arguments.length == 1) {
var _local4 = 0;
while (_local4 < arguments[0]) {
this[_local4] = undefined;
_local4++;
}
}
}
function reset() {
scenery = oscen.copy();
pickups = opicks.copy();
warnings = owarn.copy();
}
function setScenery(s) {
oscen = s;
scenery = s.copy();
}
function setPickups(p) {
opicks = p;
pickups = p.copy();
}
function setWarnings(w) {
owarn = w;
warnings = w.copy();
}
function analyse(ia) {
angle = ((ia == undefined) ? (angle) : (ia));
var _local4 = 0;
var _local3 = 0;
var _local2 = 0;
while (_local2 < length) {
this[_local2].a = angle;
this[_local2].z = this[_local2].z * vscale;
if (this[_local2].s) {
this[_local2].l = this[_local2].l * scale;
this[_local2].x = _local4;
this[_local2].y = _local3;
_local4 = _local4 + (this[_local2].l * Math.cos(this[_local2].a));
_local3 = _local3 + (this[_local2].l * Math.sin(this[_local2].a));
} else {
this[_local2].c = this[_local2].c * Trig.dr;
this[_local2].r = this[_local2].r * scale;
this[_local2].l = this[_local2].r * this[_local2].c;
angle = angle + (this[_local2].c * this[_local2].d);
this[_local2].x = _local4;
this[_local2].y = _local3;
var _local5 = this[_local2].a + (Trig.ra * this[_local2].d);
this[_local2].cx = _local4 + (this[_local2].r * Math.cos(_local5));
this[_local2].cy = _local3 + (this[_local2].r * Math.sin(_local5));
_local4 = this[_local2].cx + (this[_local2].r * Math.cos(((this[_local2].c * this[_local2].d) + this[_local2].a) - (Trig.ra * this[_local2].d)));
_local3 = this[_local2].cy + (this[_local2].r * Math.sin(((this[_local2].c * this[_local2].d) + this[_local2].a) - (Trig.ra * this[_local2].d)));
}
this[_local2].n = this[_local2 + 1];
this[_local2].tl = l;
l = l + this[_local2].l;
_local2++;
}
}
function viewOffset(cts, ccd, player) {
if (cts.s) {
if (player.ts.s) {
return(0);
}
var _local11 = Vector.lineIntersection(player.v, new Vector(player.v.x + Math.cos(player.a), player.v.y + Math.sin(player.a)), new Vector(cts.x, cts.y), new Vector(cts.x + Math.cos(cts.a), cts.y + Math.sin(cts.a)));
var _local8 = cts.a - player.a;
return(Vector.vectDist(player.v, _local11) * Math.tan(_local8));
}
if ((!player.ts.s) && (player.ts != cts)) {
var _local13 = new Vector(cts.cx, cts.cy);
var _local6 = new Vector(cts.cx + (cts.r * Math.cos(player.a)), cts.cy + (cts.r * Math.sin(player.a)));
var _local5 = new Vector(player.v.x + (ccd * Math.cos(player.a)), player.v.y + (ccd * Math.sin(player.a)));
var _local7 = Vector.cpol(_local13, _local6, _local5);
var _local12 = Vector.vectDist(_local7, _local5);
var _local3 = Vector.vectDist(_local6, _local7);
_local3 = ((_local3 > cts.r) ? (_local3 % cts.r) : (cts.r - _local3));
var _local10 = Trig.xaty(cts.r, _local3);
return((_local10 - _local12) * (cts.d * -1));
}
var _local4 = cts.tl - player.d;
_local4 = ((_local4 <= 0) ? 0 : (_local4));
return((cts.r - Trig.xaty(cts.r, ccd - _local4)) * cts.d);
}
function getHeightAt(ts, d) {
var _local2 = ts.z - (ts.n ? (ts.n.z) : 0);
return(Sine.easeInOut(d - ts.tl, ts.z, -_local2, ts.l));
}
function copy() {
var _local2 = new Track();
for (var _local3 in this) {
_local2[_local3] = this[_local3];
}
return(_local2);
}
function toString() {
var _local3 = "";
var _local2 = 0;
while (_local2 < length) {
_local3 = _local3 + (((this[_local2].s + ", ") + this[_local2].l) + newline);
_local2++;
}
return(_local3);
}
var scale = 1;
var vscale = 1;
var l = 0;
var angle = 0;
}
Symbol 500 MovieClip [__Packages.SceneryArray] Frame 0
class SceneryArray extends Array
{
var splice, length, shift, sort;
function SceneryArray () {
super();
if (arguments.length > 1) {
splice.apply(this, [0, 0].concat(arguments));
} else if (arguments.length == 0) {
var _local4 = 0;
while (_local4 < arguments[0]) {
this[_local4] = undefined;
_local4++;
}
}
}
function sceneryAt(min, max) {
var _local3 = [];
var _local4 = length;
var _local2 = 0;
while (_local2 < _local4) {
if (this[_local2].d <= max) {
if (this[_local2].d >= min) {
_local3[_local3.length] = this[_local2];
} else {
shift();
_local2--;
}
} else {
break;
}
_local2++;
}
return(_local3);
}
function copy() {
var _local2 = new SceneryArray();
for (var _local3 in this) {
_local2[_local3] = this[_local3];
}
return(_local2);
}
function scenerySort() {
sort(distSort);
}
static function distSort(a, b) {
if (a.d > b.d) {
return(1);
}
if (a.d < b.d) {
return(-1);
}
return(0);
}
}
Symbol 501 MovieClip [__Packages.PickupArray] Frame 0
class PickupArray extends Array
{
var splice, length, shift, sort, join;
function PickupArray () {
super();
if (arguments.length > 1) {
splice.apply(this, [0, 0].concat(arguments));
} else if (arguments.length == 0) {
var _local4 = 0;
while (_local4 < arguments[0]) {
this[_local4] = undefined;
_local4++;
}
}
}
function pickupsAt(min, max) {
var _local3 = [];
var _local4 = length;
var _local2 = 0;
while (_local2 < _local4) {
if (this[_local2].d <= max) {
if (this[_local2].d >= min) {
_local3[_local3.length] = this[_local2];
} else {
shift();
_local2--;
}
} else {
break;
}
_local2++;
}
return(_local3);
}
function copy() {
var _local3 = new PickupArray();
var _local2 = 0;
while (_local2 < length) {
_local3[_local2] = this[_local2].copy();
_local2++;
}
return(_local3);
}
function pickupSort() {
sort(distSort);
}
function toString() {
return(join(",\n"));
}
static function distSort(a, b) {
if (a.d > b.d) {
return(1);
}
if (a.d < b.d) {
return(-1);
}
return(0);
}
}
Symbol 502 MovieClip [__Packages.WarningArray] Frame 0
class WarningArray extends Array
{
var splice, length, warning, shift, sort, join;
function WarningArray () {
super();
if (arguments.length > 1) {
splice.apply(this, [0, 0].concat(arguments));
} else if (arguments.length == 0) {
var _local4 = 0;
while (_local4 < arguments[0]) {
this[_local4] = undefined;
_local4++;
}
}
}
function checkWarning(d) {
if (length > 0) {
var _local2 = 0;
while (d < this[_local2].d) {
_local2++;
}
if (_local2 < length) {
warning.gotoAndPlay(shift().t);
}
}
}
function copy() {
var _local2 = new WarningArray();
for (var _local3 in this) {
_local2[_local3] = this[_local3];
}
return(_local2);
}
function warningSort() {
sort(distSort);
}
function toString() {
return(join(",\n"));
}
static function distSort(a, b) {
if (a.d > b.d) {
return(1);
}
if (a.d < b.d) {
return(-1);
}
return(0);
}
}
Symbol 503 MovieClip [__Packages.Trig] Frame 0
class Trig extends Math
{
function Trig () {
super();
}
static function xaty(r, y) {
if ((y <= r) && (y >= (-r))) {
return(r * Math.sin(Math.acos(y / r)));
}
return(undefined);
}
static function lineIntersection(ax1, ay1, ax2, ay2, bx1, by1, bx2, by2) {
var _local5 = ay2 - ay1;
var _local3 = ax1 - ax2;
var _local7 = (_local5 * ax1) + (_local3 * ay1);
var _local4 = by2 - by1;
var _local2 = bx1 - bx2;
var _local6 = (_local4 * bx1) + (_local2 * by1);
var _local1 = (_local5 * _local2) - (_local4 * _local3);
if (_local1 == 0) {
return(undefined);
}
return({x:((_local2 * _local7) - (_local3 * _local6)) / _local1, y:((_local5 * _local6) - (_local4 * _local7)) / _local1});
}
static var dr = 0.0174532925199433 /* Math.PI/180 */;
static var rd = 57.2957795130823;
static var ra = 1.5707963267949 /* Math.PI/2 */;
}
Symbol 504 MovieClip [__Packages.Sine] Frame 0
class Sine
{
function Sine () {
}
static function easeIn(t, b, c, d) {
return((((-c) * Math.cos((t / d) * (Math.PI/2))) + c) + b);
}
static function easeOut(t, b, c, d) {
return((c * Math.sin((t / d) * (Math.PI/2))) + b);
}
static function easeInOut(t, b, c, d) {
return((((-c) / 2) * (Math.cos((Math.PI * t) / d) - 1)) + b);
}
}
Symbol 505 MovieClip [__Packages.Vars] Frame 0
class Vars
{
function Vars () {
}
static var fl = 3;
static var nc = 7;
static var hps = 25;
static var vps = 10;
static var tPen = 5000;
static var tVel = 50;
static var swidth = Stage.width;
static var sheight = Stage.height;
}
Symbol 506 MovieClip [__Packages.PickupSnd] Frame 0
class PickupSnd extends Sound
{
var snd_mc;
function PickupSnd (t) {
super(t);
snd_mc = t;
}
function onSoundComplete() {
snd_mc.removeMovieClip();
}
}
Symbol 507 MovieClip [__Packages.Map] Frame 0
class Map extends MovieClip
{
var createEmptyMovieClip, getNextHighestDepth, map, player, ia, shad, scale, dx, dy, _x, _y, _xscale, _yscale, _height, _width, getBounds, _parent, globalToLocal;
function Map () {
super();
createEmptyMovieClip("map", getNextHighestDepth());
map.cacheAsBitmap = true;
var _local3 = createEmptyMovieClip("player", getNextHighestDepth());
}
function initPlayer() {
player.lineStyle(2, 255, 100, false, "none");
player.beginFill(255, 100);
player.moveTo(0, -2);
player.lineTo(6, 0);
player.lineTo(0, 2);
player.lineTo(0, -2);
player.endFill();
player._rotation = ia * Trig.rd;
}
function drawTrack(track, sx, sy, size) {
if (shad) {
var _local4 = map.getDepth();
map.removeMovieClip();
createEmptyMovieClip("map", _local4);
shad.removeMovieClip();
delete scale;
delete dx;
delete dy;
_x = 0;
_y = 0;
_xscale = 100;
_yscale = 100;
player._xscale = 100;
player._yscale = 100;
player._x = 0;
player._y = 0;
}
var _local9 = track[0].x;
var _local8 = track[0].y;
map.lineStyle(2, 16777215, 100, false, "none");
map.moveTo(track[0].x, track[0].y);
ia = track[0].a;
var _local2 = 0;
while (_local2 < track.length) {
if (track[_local2].s) {
_local9 = _local9 + (track[_local2].l * Math.cos(track[_local2].a));
_local8 = _local8 + (track[_local2].l * Math.sin(track[_local2].a));
map.lineTo(_local9, _local8);
} else {
var _local4 = track[_local2].d;
var _local5 = track[_local2].a + (Trig.ra * _local4);
_local5 = 0;
while (_local5 <= track[_local2].c) {
var _local7 = track[_local2].cx + (track[_local2].r * Math.cos(((_local5 * _local4) + track[_local2].a) - (Trig.ra * _local4)));
var _local6 = track[_local2].cy + (track[_local2].r * Math.sin(((_local5 * _local4) + track[_local2].a) - (Trig.ra * _local4)));
map.lineTo(_local7, _local6);
_local5 = _local5 + 0.05;
}
_local9 = track[_local2].cx + (track[_local2].r * Math.cos(((track[_local2].c * _local4) + track[_local2].a) - (Trig.ra * _local4)));
_local8 = track[_local2].cy + (track[_local2].r * Math.sin(((track[_local2].c * _local4) + track[_local2].a) - (Trig.ra * _local4)));
map.lineTo(_local9, _local8);
}
_local2++;
}
scale = size / ((_width > _height) ? (_width) : (_height));
_xscale = _xscale * scale;
_yscale = _yscale * scale;
player._xscale = player._xscale / scale;
player._yscale = player._yscale / scale;
var _local10 = getBounds(_parent);
dx = _local10.xMin - sx;
dy = _local10.yMin - sy;
_x = _x - dx;
_y = _y - dy;
map.duplicateMovieClip("shad", getNextHighestDepth());
player.swapDepths(shad);
map.swapDepths(shad);
shad._x = 1 / scale;
shad._y = 1 / scale;
var _local11 = new Color(shad);
_local11.setTransform({ra:100, rb:-255, ga:100, gb:-168, ba:100, bb:-131, aa:100, ab:0});
}
function drawPlayer(p, a) {
var _local2 = new Vector((p.x * scale) - dx, (p.y * scale) - dy);
globalToLocal(_local2);
player._x = _local2.x;
player._y = _local2.y;
player._rotation = a * Trig.rd;
}
}
Symbol 508 MovieClip [__Packages.PickupManager] Frame 0
class PickupManager
{
var circs, curPicks, root;
function PickupManager (r) {
circs = new Array();
curPicks = new Object();
root = r;
}
function drawPickups(track, visPick, player) {
var _local12 = 0;
while (_local12 < visPick.length) {
var _local4 = visPick[_local12].d - player.d;
if (((!visPick[_local12].col) && (_local4 <= cd)) && (Math.abs((player._rotation + 90) - (visPick[_local12].a * Trig.rd)) < ca)) {
visPick[_local12].collected(player, root);
} else {
var _local7 = circs[Math.floor(_local4 / BackgroundMask.cd)];
var _local5 = 0;
while (track[_local5].tl < visPick[_local12].d) {
_local5++;
}
var _local9 = track[_local5 - 1];
if (visPick[_local12].mc) {
var _local3 = visPick[_local12].mc;
if (_local3._parent != _local7) {
_local3.removeMovieClip();
_local3 = _local7.attachMovie(visPick[_local12].t.n, visPick[_local12].t.n + Math.floor(visPick[_local12].d * 100000), _local4 * 10000);
visPick[_local12].mc = _local3;
curPicks[_local3._name] = _local3;
} else {
_local3.swapDepths(_local4 * 10000);
}
} else {
if (!_local9.s) {
visPick[_local12].a = visPick[_local12].a + (((LineIndicator.iac / _local9.r) * _local9.d) * Math.sin((player.ps / Vars.tVel) * (Math.PI/2)));
}
visPick[_local12].a = visPick[_local12].a + Misc.rand(-0.175, 0.175);
var _local3 = _local7.attachMovie(visPick[_local12].t.n, visPick[_local12].t.n + Math.floor(visPick[_local12].d * 100000), _local4 * 10000);
visPick[_local12].mc = _local3;
curPicks[_local3._name] = _local3;
}
var _local6 = Vars.fl / (Vars.fl + _local4);
_local3._xscale = (visPick[_local12].t.f ? (_local6 * -100) : (_local6 * 100));
_local3._yscale = _local6 * 100;
var _local11 = _local4 * Math.tan(player.va);
_local3._x = (((po * Math.cos(visPick[_local12].a)) * _local6) + (Vars.hps * track.viewOffset(_local9, _local4, player))) - _local7._x;
_local3._y = (((po * Math.sin(visPick[_local12].a)) * _local6) + (Vars.vps * ((player.z - track.getHeightAt(_local9, visPick[_local12].d)) - _local11))) - _local7._y;
_local3.vis = true;
}
_local12++;
}
for (_local12 in curPicks) {
if (curPicks[_local12].vis || (curPicks[_local12].col)) {
curPicks[_local12].vis = false;
} else {
curPicks[_local12].removeMovieClip();
delete curPicks[_local12];
}
}
}
static var po = 280;
static var cd = 2;
static var ca = 18;
}
Symbol 509 MovieClip [__Packages.BackgroundMask] Frame 0
class BackgroundMask extends MovieClip
{
var rad, l, r, sx, _x, sy, _y, cacheAsBitmap, col, mask, lo, ro, _name, setMask, filters;
function BackgroundMask () {
super();
if (!_root.brdcst) {
_root.brdcst = {};
AsBroadcaster.initialize(_root.brdcst);
}
_root.brdcst.addListener(this);
rad = Math.sqrt((l._x * l._x) + (l._y * l._y));
l._visible = false;
r._visible = false;
sx = _x;
sy = _y;
cacheAsBitmap = true;
col = new Color(this);
}
function drawMask() {
mask.clear();
mask.beginFill(0, 100);
var _local2 = {x:0, y:0};
lo.localToGlobal(_local2);
var _local3 = Math.floor(_local2.x);
mask.moveTo(_local3, Stage.height);
mask.lineTo(_local3, _local2.y);
_local2 = {x:0, y:0};
l.localToGlobal(_local2);
var _local5 = _local2.y;
mask.lineTo(_local2.x, _local2.y);
_local2 = {x:0, y:0};
r.localToGlobal(_local2);
mask.lineTo(_local2.x, _local2.y);
_local2 = {x:0, y:0};
ro.localToGlobal(_local2);
var _local4 = Math.ceil(_local2.x);
mask.lineTo(_local4, _local2.y);
mask.lineTo(_local4, Stage.height);
mask.lineTo(_local3, Stage.height);
mask.endFill();
}
function initMask(lc, rc) {
lo = lc;
ro = rc;
mask = _root.createEmptyMovieClip(_name + "_mask", _root.getNextHighestDepth());
setMask(mask);
}
function endRace() {
setMask(null);
mask.removeMovieClip();
}
function xaty(x, top) {
if (Math.abs(x) > rad) {
return(undefined);
}
var _local2 = (top ? -1 : 1);
return(_y + (_local2 * (rad * Math.cos(Math.asin((x - _x) / rad)))));
}
function setFilter(t) {
t = ((t == undefined) ? (filters.length > 0) : (t));
if (t) {
filters = null;
} else {
filters = [bf];
}
}
function flashingOff() {
col.setTransform(flashOff);
}
function bright(t) {
if (t) {
col.setTransform(flashOn);
} else {
col.setTransform(flashOff);
}
}
var ft = 1;
static var cd = 2.8;
static var bf = new flash.filters.BlurFilter(2, 2, 1);
static var flashOn = {aa:100, ab:0, ra:100, rb:3, ga:100, gb:3, ba:100, bb:3};
static var flashOff = {aa:100, ab:0, ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
}
Symbol 510 MovieClip [__Packages.LineIndicator] Frame 0
class LineIndicator extends MovieClip
{
var _visible, ts, _rotation;
function LineIndicator () {
super();
_visible = true;
}
function update(s, pv) {
ts = ((ts == undefined) ? (s) : (ts));
if (ts != s) {
ts = s;
if (!ts.s) {
var _local3 = pv / Vars.tVel;
ta = (((iac / ts.r) * Trig.rd) * ts.d) * Math.sin(_local3 * (Math.PI/2));
} else {
ta = 0;
}
ia = _rotation;
it = getTimer();
}
if (getTimer() > (it + et)) {
_rotation = ta;
} else {
_rotation = Sine.easeInOut(getTimer() - it, ia, ta - ia, et);
}
return(_rotation);
}
function findta(pv) {
if (ts.s) {
ta = 0;
} else {
var _local2 = pv / Vars.tVel;
ta = (((iac / ts.r) * Trig.rd) * ts.d) * Math.sin(_local2 * (Math.PI/2));
}
}
var it = 0;
var ia = 0;
var ta = 0;
static var et = 300;
static var iac = 21.9911485751286;
}
Symbol 511 MovieClip [__Packages.PerformanceController] Frame 0
class PerformanceController
{
var aFrmTms;
function PerformanceController () {
aFrmTms = new Arr();
nLFT = getTimer();
}
function onEnterFrame() {
var _local2 = getTimer();
aFrmTms.push(_local2 - nLFT);
if (aFrmTms.length > nFA) {
var _local3 = 1 / (aFrmTms.mean() / 1000);
if (_local3 > uf) {
if (cdl < mdl) {
setDetailLvl(cdl + 1);
}
} else if (_local3 < lf) {
if (cdl > 1) {
setDetailLvl(cdl - 1);
}
}
aFrmTms = new Arr();
}
nLFT = _local2;
}
function setDetailLvl(l) {
switch (l) {
case 1 :
_root._quality = "LOW";
_root.brdcst.broadcastMessage("setFilter", true);
break;
case 2 :
_root.brdcst.broadcastMessage("setScroll", false);
break;
case 3 :
_root._quality = "MEDIUM";
_root.brdcst.broadcastMessage("setFilter", true);
_root.brdcst.broadcastMessage("setScroll", true);
break;
case 4 :
_root._quality = "HIGH";
_root.brdcst.broadcastMessage("setFilter", true);
break;
case 5 :
_root.brdcst.broadcastMessage("setFilter", false);
break;
case 6 :
_root._quality = "BEST";
}
cdl = l;
}
static var nFA = 25;
var nLFT = 0;
var cdl = 4;
static var lf = 22;
static var uf = 34;
static var mdl = 6;
}
Symbol 512 MovieClip [__Packages.Arr] Frame 0
class Arr extends Array
{
var splice, length;
function Arr () {
super();
splice.apply(this, [0, 0].concat(arguments));
}
function randInd() {
return(Math.floor(Math.random() * length));
}
function rand() {
return(this[Math.floor(Math.random() * length)]);
}
function mean() {
var _local3 = 0;
var _local4 = 0;
var _local2 = 0;
while (_local2 < length) {
if (!isNaN(Number(this[_local2]))) {
_local3++;
_local4 = _local4 + Number(this[_local2]);
}
_local2++;
}
if (_local3 > 0) {
return(_local4 / _local3);
}
return(0);
}
function copy() {
var _local2 = new Arr();
for (var _local3 in this) {
_local2[_local3] = this[_local3];
}
return(_local2);
}
function current() {
return(this[iap]);
}
function next() {
if ((iap + 1) < length) {
iap++;
return(this[iap]);
}
return(false);
}
function prev() {
if (iap > 0) {
iap--;
return(this[iap]);
}
return(false);
}
function reset() {
if (length > 0) {
iap = 0;
return(this[iap]);
}
return(false);
}
function end() {
if (length > 0) {
iap = length - 1;
return(this[iap]);
}
return(false);
}
var iap = 0;
}
Symbol 513 MovieClip [__Packages.Scenery] Frame 0
class Scenery extends MovieClip
{
var attachMovie;
function Scenery () {
super();
}
function drawScenery(track, visScen, player) {
var _local11 = 0;
while (_local11 < visScen.length) {
var _local6 = visScen[_local11].d - player.d;
var _local3 = 0;
while (track[_local3].tl < visScen[_local11].d) {
_local3++;
}
var _local8 = track[_local3 - 1];
if (this[visScen[_local11].t.n + Math.floor(visScen[_local11].d * 100000)]) {
var _local4 = this[visScen[_local11].t.n + Math.floor(visScen[_local11].d * 100000)];
_local4.swapDepths(_local6 * 10000);
} else {
var _local4 = attachMovie(visScen[_local11].t.n, visScen[_local11].t.n + Math.floor(visScen[_local11].d * 100000), _local6 * 10000);
}
var _local5 = Vars.fl / (Vars.fl + _local6);
_local4._xscale = (visScen[_local11].t.f ? (_local5 * -100) : (_local5 * 100));
_local4._yscale = _local5 * 100;
var _local10 = _local6 * Math.tan(player.va);
_local4._x = (visScen[_local11].t.box + (visScen[_local11].t.rox * _local5)) + (Vars.hps * track.viewOffset(_local8, _local6, player));
_local4._y = (visScen[_local11].t.boy + (visScen[_local11].t.roy * _local5)) + (Vars.vps * ((player.z - track.getHeightAt(_local8, visScen[_local11].d)) - _local10));
_local4.vis = true;
_local11++;
}
for (_local11 in this) {
if (this[_local11]._parent) {
if (this[_local11].vis) {
this[_local11].vis = false;
} else {
this[_local11].removeMovieClip();
}
}
}
}
}
Symbol 514 MovieClip [__Packages.Background] Frame 0
class Background extends MovieClip
{
var sx, _x, sy, _y;
function Background () {
super();
sx = _x;
sy = _y;
}
function jiggle(v) {
var _local2 = (v * 1000) / 50;
if (Math.random() > 0.5) {
_x = sx + _local2;
} else {
_x = sx - _local2;
}
if (Math.random() > 0.5) {
_y = sy + _local2;
} else {
_y = sy - _local2;
}
}
}
Symbol 515 MovieClip [__Packages.FrameRateCounter] Frame 0
class FrameRateCounter extends MovieClip
{
var aFrmTms, fps_txt;
function FrameRateCounter () {
super();
aFrmTms = new Arr();
nLFT = getTimer();
}
function onEnterFrame() {
var _local2 = getTimer();
aFrmTms.push(_local2 - nLFT);
if (aFrmTms.length > nFA) {
aFrmTms.shift();
}
nLFT = _local2;
fps_txt.text = Misc.round(1 / (aFrmTms.mean() / 1000), dp) + " fps";
}
var nFA = 25;
var nLFT = 0;
var dp = 0;
}
Symbol 516 MovieClip [__Packages.Sky] Frame 0
class Sky extends MovieClip
{
var yoff, sky, width, mvo, _height, _x;
function Sky () {
super();
if (!_root.brdcst) {
_root.brdcst = {};
AsBroadcaster.initialize(_root.brdcst);
}
_root.brdcst.addListener(this);
yoff = sky._y;
sky._y = yoff;
width = sky._width - Vars.swidth;
mvo = (_height - Stage.height) / 3;
}
function scrll(ha, va) {
var _local2 = Math.round((rad * ha) % width);
_x = ((-(_local2 >= 0)) ? (_local2 - width) : (_local2));
sky._y = (mvo * (-Math.tan(va))) + yoff;
}
function setScroll(s) {
if (s != undefined) {
doScroll = s;
} else {
doScroll = !doScroll;
}
}
var rad = (Stage.width * 5) / (Math.PI*2);
var doScroll = true;
}
Symbol 55 Button
on (release) {
_parent._parent.openWindow("http://www.killerviral.com/redir.php?urlId=102", "_blank");
}
Symbol 67 Button
on (release) {
_parent._parent.openWindow("http://www.killerviral.com/redir.php?urlId=97", "_blank");
}
Symbol 81 Button
on (release) {
getURL ("http://www.shave.com", "_blank");
}
Symbol 83 Button
on (release) {
_parent.openWindow("http://www.killerviral.com/redir.php?urlId=99");
}
Symbol 88 MovieClip Frame 24
stop();
Symbol 98 Button
on (release) {
_parent._parent.openPopup(_global.masterurl + "highscores.php");
}
Symbol 101 Button
on (release) {
_parent._parent.openWindow("http://www.killerviral.com/redir.php?urlId=101");
}
Symbol 104 Button
on (release) {
_parent._parent.openWindow("http://www.killerviral.com/redir.php?urlId=100");
}
Symbol 109 MovieClip Frame 1
stop();
Symbol 109 MovieClip Frame 2
stop();
Symbol 110 Button
on (release) {
_parent._parent.soundControl();
if (_parent._parent.sndOff) {
sound_btn.txt.gotoAndStop("off");
} else {
sound_btn.txt.gotoAndStop("on");
}
}
Symbol 113 Button
on (release) {
gotoAndPlay ("how");
}
Symbol 116 Button
on (release) {
_parent._parent.openWindow("http://www.killerviral.com/redir.php?urlId=98");
}
Symbol 119 Button
on (release) {
_parent._parent.restartTrack();
}
Symbol 122 Button
on (release) {
_parent._parent.pauseMenuAbandonRace();
}
Symbol 127 Button
on (release) {
_parent.gotoAndPlay("close");
delete _root.startopts;
}
Symbol 132 MovieClip Frame 10
stop();
Symbol 132 MovieClip Frame 25
if (_root.startopts == 1) {
_parent.gotoAndStop("startopts");
} else {
_parent.gotoAndStop("options");
}
Symbol 136 Button
on (release) {
magna.gotoAndPlay("end");
}
Symbol 152 Button
on (release) {
_parent._parent.submitScore(_parent._parent.times.t, _parent._parent.track.no);
}
Symbol 155 Button
on (release) {
_parent._parent.challengeAFriend(_parent._parent.times.t, _parent._parent.track.no);
}
Symbol 161 Button
on (release) {
_parent._parent.returnToStart();
}
Symbol 164 Button
on (release) {
_parent._parent.restartTrack();
}
Symbol 167 Button
on (release) {
_parent._parent._parent.tracksBackToStart();
}
Symbol 179 MovieClip Frame 1
if (!sound_btn.txt) {
for (var i in sound_btn) {
if (sound_btn[i]._parent) {
sound_btn.txt = sound_btn[i];
break;
}
}
}
if (_parent._parent.sndOff) {
sound_btn.txt.gotoAndStop("off");
} else {
sound_btn.txt.gotoAndStop("on");
}
stop();
Instance of Symbol 91 MovieClip in Symbol 179 MovieClip Frame 1
onClipEvent (load) {
this.onRollOver = function () {
};
this.useHandCursor = false;
}
Symbol 179 MovieClip Frame 18
stop();
Symbol 179 MovieClip Frame 28
stop();
Symbol 179 MovieClip Frame 37
stop();
Symbol 179 MovieClip Frame 46
if (_parent._parent.so.data.pb[_parent._parent.track.no]) {
personalbest.text = "Personal Best: " + Time.formatTime(_parent._parent.so.data.pb[_parent._parent.track.no]);
}
stop();
Symbol 179 MovieClip Frame 54
stop();
Symbol 183 MovieClip Frame 1
stop();
Symbol 183 MovieClip Frame 30
stop();
Symbol 183 MovieClip Frame 51
closed();
closed = null;
Symbol 187 MovieClip Frame 1
closed();
closed = null;
onEnterFrame = null;
stop();
Symbol 187 MovieClip Frame 2
if (onEnterFrame != prevFrame) {
play();
}
_visible = true;
Symbol 187 MovieClip Frame 19
_visible = true;
Symbol 187 MovieClip Frame 20
opened();
opened = null;
stop();
_visible = false;
Symbol 195 Button
on (release) {
_parent._parent._parent.challengeAFriend();
}
Symbol 225 MovieClip Frame 1
stop();
Symbol 225 MovieClip Frame 2
stop();
Symbol 229 MovieClip Frame 1
stop();
Symbol 229 MovieClip Frame 2
stop();
Symbol 229 MovieClip Frame 3
stop();
Symbol 230 MovieClip [map] Frame 1
#initclip 27
Object.registerClass("map", Map);
#endinitclip
Symbol 233 MovieClip Frame 1
stop();
Symbol 233 MovieClip Frame 9
this.onRollOver = function () {
};
this.useHandCursor = false;
stop();
Symbol 235 MovieClip Frame 1
if (onEnterFrame == prevFrame) {
_parent.gotoAndStop("hide");
}
stop();
onEnterFrame = null;
closed();
closed = null;
Symbol 235 MovieClip Frame 10
stop();
Symbol 238 MovieClip Frame 1
stop();
Symbol 238 MovieClip Frame 2
var tsm = choose_mc.menu_mc;
var i = 1;
while (i < 6) {
if (_parent.so.data.ct >= (i - 1)) {
tsm["locked" + i].gotoAndStop("unlocked");
} else {
tsm["locked" + i].gotoAndStop("locked");
}
tsm["feedback" + i].pb_txt.text = Time.formatTime(_parent.so.data.pb[i - 1]);
i++;
}
if (_parent.uid != undefined) {
tsm.loading_mc.gotoAndStop("show");
var send_lv = new LoadVars();
var reply_lv = new LoadVars();
send_lv.uid = _parent.uid;
send_lv.sendAndLoad(_global.masterurl + "chal.php", reply_lv, "POST");
reply_lv.onLoad = function (success) {
if (success && (!reply_lv.error)) {
_parent.chal_times = [reply_lv.t1, reply_lv.t2, reply_lv.t3, reply_lv.t4, reply_lv.t5, reply_lv.t6];
_parent.chal_times.name = reply_lv.name;
tsm.loading_mc.gotoAndStop("hide");
var _local2 = 1;
while (_local2 <= 6) {
if (_parent.chal_times[_local2 - 1] > 0) {
tsm["feedback" + _local2].chal_txt.text = Time.formatTime(_parent.chal_times[_local2 - 1]);
} else {
tsm["feedback" + _local2].chal_txt.text = Time.formatTime();
}
_local2++;
}
tsm.showChallenger.gotoAndStop("challenge");
if (_parent.chal_times.name) {
tsm.challenger_txt.text = _parent.chal_times.name;
}
} else {
trace("error");
tsm.loading_mc.gotoAndStop("error");
}
delete send_lv;
delete reply_lv;
};
}
stop();
Symbol 243 MovieClip [sky] Frame 1
#initclip 40
Object.registerClass("sky", Sky);
#endinitclip
Symbol 256 MovieClip Frame 1
stop();
Symbol 256 MovieClip Frame 2
_root.theme.setVol(30);
Symbol 256 MovieClip Frame 100
_parent.raceStart();
Symbol 256 MovieClip Frame 121
this._visible = false;
stop();
Symbol 259 MovieClip [scenery] Frame 1
#initclip 28
Object.registerClass("scenery", Scenery);
#endinitclip
Symbol 263 MovieClip [nbg6] Frame 1
#initclip 29
Object.registerClass("nbg6", BackgroundMask);
#endinitclip
Symbol 265 MovieClip [nbg5] Frame 1
#initclip 30
Object.registerClass("nbg5", BackgroundMask);
#endinitclip
Symbol 267 MovieClip [nbg4] Frame 1
#initclip 31
Object.registerClass("nbg4", BackgroundMask);
#endinitclip
Symbol 269 MovieClip [nbg3] Frame 1
#initclip 32
Object.registerClass("nbg3", BackgroundMask);
#endinitclip
Symbol 271 MovieClip [nbg2] Frame 1
#initclip 33
Object.registerClass("nbg2", BackgroundMask);
#endinitclip
Symbol 273 MovieClip [nbg1] Frame 1
#initclip 34
Object.registerClass("nbg1", BackgroundMask);
#endinitclip
Symbol 275 MovieClip [nbg0] Frame 1
#initclip 35
Object.registerClass("nbg0", BackgroundMask);
#endinitclip
Symbol 276 MovieClip [nbg] Frame 1
#initclip 36
Object.registerClass("nbg", Background);
#endinitclip
Symbol 285 MovieClip [kristan_mc] Frame 1
#initclip 37
Object.registerClass("kristan_mc", Player);
#endinitclip
stop();
Symbol 285 MovieClip [kristan_mc] Frame 10
stop();
Symbol 285 MovieClip [kristan_mc] Frame 20
stop();
Symbol 290 MovieClip [line_pointer] Frame 1
#initclip 38
Object.registerClass("line_pointer", LineIndicator);
#endinitclip
Symbol 304 MovieClip Frame 1
stop();
Symbol 304 MovieClip Frame 44
gotoAndStop ("blank");
Symbol 304 MovieClip Frame 87
gotoAndStop ("blank");
Symbol 304 MovieClip Frame 130
gotoAndStop ("blank");
Symbol 304 MovieClip Frame 172
gotoAndStop ("blank");
Symbol 304 MovieClip Frame 214
gotoAndStop ("blank");
Symbol 304 MovieClip Frame 256
gotoAndStop ("blank");
Symbol 318 MovieClip Frame 26
_parent.finishMsg(this);
Symbol 327 MovieClip Frame 26
_parent.finishMsg(this);
Symbol 328 MovieClip Frame 1
function finishMsg(t) {
this.gotoAndStop(1);
this._visible = false;
}
stop();
Symbol 328 MovieClip Frame 2
_visible = true;
stop();
Symbol 328 MovieClip Frame 14
_visible = true;
stop();
Symbol 328 MovieClip Frame 27
_visible = true;
stop();
Symbol 344 MovieClip Frame 1
stop();
Symbol 344 MovieClip Frame 2
stop();
Symbol 384 MovieClip Frame 49
gotoAndPlay ("start");
Symbol 384 MovieClip Frame 69
stop();
Symbol 423 MovieClip Frame 1
function setupSnow(t) {
t.yVel = -5.5 + (Math.random() * 16);
t.xVel = 25;
t._rotation = Math.random() * 180;
t.rotVel = (Math.random() * 11) - 5;
}
function doSnow(t) {
t._x = t._x - t.xVel;
t.yVel = t.yVel * 1.3;
t.yVel = t.yVel + 2;
t._y = t._y + t.yVel;
t._rotation = t._rotation + t.rotVel;
}
startShake = 169;
endShake = 189;
Symbol 423 MovieClip Frame 164
ragDoll.gotoAndPlay("splat");
Instance of Symbol 421 MovieClip in Symbol 423 MovieClip Frame 169
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 423 MovieClip Frame 169
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 423 MovieClip Frame 169
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 423 MovieClip Frame 169
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 423 MovieClip Frame 169
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 423 MovieClip Frame 169
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 423 MovieClip Frame 169
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 423 MovieClip Frame 169
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 423 MovieClip Frame 169
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 423 MovieClip Frame 169
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 423 MovieClip Frame 169
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 423 MovieClip Frame 169
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 423 MovieClip Frame 169
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 423 MovieClip Frame 169
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 423 MovieClip Frame 169
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 423 MovieClip Frame 169
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 423 MovieClip Frame 169
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 423 MovieClip Frame 169
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 423 MovieClip Frame 169
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 423 MovieClip Frame 169
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 423 MovieClip Frame 169
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 423 MovieClip Frame 169
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 423 MovieClip Frame 169
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 423 MovieClip Frame 169
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 423 MovieClip Frame 169
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 423 MovieClip Frame 169
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 423 MovieClip Frame 169
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 423 MovieClip Frame 169
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Symbol 434 MovieClip Frame 1
function setupSnow(t) {
t.xVel = (-(snowWidth * 0.25)) + (Math.random() * (snowWidth * 0.5));
t.yVel = (-snowHeight) - (Math.random() * snowHeightRnd);
t._rotation = random(180);
}
function doSnow(t) {
t._x = t._x - t.xVel;
t.yVel = t.yVel + gravity;
t._y = t._y + t.yVel;
}
snowHeight = 10;
snowHeightRnd = 6;
snowWidth = 12;
gravity = 1.3;
startShake = 64;
endShake = 84;
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 434 MovieClip Frame 80
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Symbol 448 MovieClip Frame 1
function setupLeaf(t) {
t.xVel = Math.random() * (snowWidth * 0.5);
t.yVel = snowHeight;
t.gotoAndPlay(11 + Math.floor(Math.random() * 3));
t._yscale = Math.random() * 100;
t._xscale = Math.random() * 50;
}
function doLeaf(t) {
t.xVel * 0;
t._x = t._x - t.xVel;
t.yVel = t.yVel + gravity;
if (t.yVel > maxGrav) {
t.yVel = maxGrav;
}
t._y = t._y + t.yVel;
}
snowHeight = 0.1;
snowHeightRnd = 6;
snowWidth = 50;
gravity = 2;
maxGrav = 1.5;
startShake = 81;
endShake = 101;
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 83
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 83
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 83
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 83
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 83
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 83
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 83
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 83
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 83
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 83
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 83
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 83
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 83
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 83
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 83
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 83
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 83
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 83
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 83
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 83
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 83
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 83
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 83
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Symbol 448 MovieClip Frame 115
snowHeight = -25;
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 116
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 116
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 116
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 116
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 116
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 116
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 116
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 116
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 116
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 116
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 116
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 116
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 116
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 116
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 116
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 116
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 116
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 116
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 116
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 116
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 116
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 116
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 116
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 116
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Instance of Symbol 447 MovieClip in Symbol 448 MovieClip Frame 116
onClipEvent (load) {
_parent.setupLeaf(this);
}
onClipEvent (enterFrame) {
_parent.doLeaf(this);
}
Symbol 472 MovieClip Frame 1
function setupSnow(t) {
t.xVel = (-(snowWidth * 0.25)) + (Math.random() * (snowWidth * 0.5));
t.yVel = (-snowHeight) - (Math.random() * snowHeightRnd);
t._rotation = random(180);
}
function doSnow(t) {
t._x = t._x - t.xVel;
t.yVel = t.yVel + gravity;
t._y = t._y + t.yVel;
}
snowHeight = 10;
snowHeightRnd = 16;
snowWidth = 12;
gravity = 1.3;
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 8
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 8
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 8
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 8
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 8
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 8
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 52
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 52
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 52
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 52
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 52
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 52
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 52
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 52
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 52
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 57
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 57
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 57
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 57
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 57
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 57
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 57
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 57
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 57
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 57
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 60
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 60
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 60
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 60
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 60
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 60
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 60
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 60
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 60
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 60
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 63
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 63
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 63
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 63
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 63
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 63
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 63
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 63
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 63
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 65
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 65
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 65
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 65
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 65
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 65
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 65
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 65
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 65
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 65
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 69
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 69
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 69
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 69
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 69
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 69
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 69
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 69
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 69
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 72
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 72
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 72
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 72
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 72
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 72
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 72
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 72
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 72
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 72
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 75
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 75
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 75
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 75
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 75
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 75
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 75
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 75
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 472 MovieClip Frame 75
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Symbol 472 MovieClip Frame 130
_parent.play();
stop();
Symbol 472 MovieClip Frame 131
_parent.play();
Symbol 473 MovieClip Frame 1
function setupLeaf(t) {
t.xVel = Math.random() * (leafWidth * 0.5);
t.yVel = leafHeight;
t.gotoAndPlay(11 + Math.floor(Math.random() * 3));
}
function doLeaf(t) {
t.xVel * 0;
t._x = t._x - t.xVel;
t.yVel = t.yVel + leafGravity;
if (t.yVel > leafMaxGrav) {
t.yVel = leafMaxGrav;
}
t._y = t._y + t.yVel;
}
leafHeight = 0.1;
leafWidth = 5;
leafGravity = 2;
leafMaxGrav = 1.5;
function setupSnow(t) {
t.xVel = (-(snowWidth * 0.25)) + (Math.random() * (snowWidth * 0.5));
t.yVel = (-snowHeight) - (Math.random() * snowHeightRnd);
t._rotation = random(180);
t.gravityFactor = 1;
}
function doSnow(t) {
t._x = t._x - t.xVel;
t.yVel = t.yVel + gravity;
t._y = t._y + t.yVel;
}
snowHeight = 10;
snowHeightRnd = 16;
snowWidth = 12;
gravity = 1.3;
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 16
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 16
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 16
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 16
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 16
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 16
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 16
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 16
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 16
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 16
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 16
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 16
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 16
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 16
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Symbol 473 MovieClip Frame 43
snowHeight = 5;
snowHeightRnd = 10;
snowWidth = 6;
gravity = 1.3;
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 43
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 43
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 43
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 43
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 43
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 43
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 43
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 43
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 43
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 43
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 43
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 43
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 43
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 43
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 51
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 51
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 51
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 51
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 51
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 51
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 51
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 51
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 51
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 51
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 51
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 51
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 51
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 51
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Symbol 473 MovieClip Frame 63
stop();
snowHeight = 15;
snowHeightRnd = 16;
snowWidth = 12;
gravity = 5;
Symbol 474 MovieClip Frame 1
stop();
Symbol 474 MovieClip Frame 2
stop();
Symbol 474 MovieClip Frame 3
stop();
Symbol 474 MovieClip Frame 4
stop();
Symbol 474 MovieClip Frame 5
stop();
Symbol 475 MovieClip Frame 1
stop();
Symbol 475 MovieClip Frame 2
stop();
Symbol 476 MovieClip Frame 1
stop();
Symbol 476 MovieClip Frame 2
stop();
Symbol 476 MovieClip Frame 3
stop();
Symbol 478 MovieClip [frame_counter] Frame 1
#initclip 39
Object.registerClass("frame_counter", FrameRateCounter);
#endinitclip
Instance of Symbol 421 MovieClip in Symbol 482 MovieClip Frame 1
onClipEvent (load) {
_parent._parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent._parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 482 MovieClip Frame 1
onClipEvent (load) {
_parent._parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent._parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 482 MovieClip Frame 1
onClipEvent (load) {
_parent._parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent._parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 482 MovieClip Frame 1
onClipEvent (load) {
_parent._parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent._parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 482 MovieClip Frame 1
onClipEvent (load) {
_parent._parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent._parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 482 MovieClip Frame 1
onClipEvent (load) {
_parent._parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent._parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 482 MovieClip Frame 1
onClipEvent (load) {
_parent._parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent._parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 482 MovieClip Frame 1
onClipEvent (load) {
_parent._parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent._parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 482 MovieClip Frame 1
onClipEvent (load) {
_parent._parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent._parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 482 MovieClip Frame 1
onClipEvent (load) {
_parent._parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent._parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 482 MovieClip Frame 1
onClipEvent (load) {
_parent._parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent._parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 482 MovieClip Frame 1
onClipEvent (load) {
_parent._parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent._parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 482 MovieClip Frame 1
onClipEvent (load) {
_parent._parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent._parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 482 MovieClip Frame 1
onClipEvent (load) {
_parent._parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent._parent.doSnow(this);
}
Symbol 490 MovieClip Frame 1
function setupSnow(t) {
t.xVel = (-(snowWidth * 0.25)) + (Math.random() * (snowWidth * 0.5));
t.yVel = (-snowHeight) - (Math.random() * snowHeightRnd);
t._rotation = random(180);
}
function doSnow(t) {
t._x = t._x - t.xVel;
t.yVel = t.yVel + gravity;
t._y = t._y + t.yVel;
}
snowHeight = 10;
snowHeightRnd = 16;
snowWidth = 12;
gravity = 1.3;
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 26
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 26
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 26
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 26
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 26
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 26
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 26
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 26
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 26
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 26
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 26
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 26
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 26
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 26
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 27
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 27
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 27
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 27
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 27
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 27
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 27
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 27
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 27
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 27
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 27
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 27
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 27
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 27
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 29
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 29
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 29
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 29
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 29
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 29
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 29
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 29
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 29
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 29
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 29
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 29
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 29
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Instance of Symbol 421 MovieClip in Symbol 490 MovieClip Frame 29
onClipEvent (load) {
_parent.setupSnow(this);
}
onClipEvent (enterFrame) {
_parent.doSnow(this);
}
Symbol 490 MovieClip Frame 47
_parent.endRace();
stop();