Symbol 4 MovieClip Frame 1
flyer._y = -5;
flyer._x = -10;
i = 1;
while (i < 60) {
duplicateMovieClip (flyer, "flyer" + i, this.getNextHighestDepth());
this["flyer" + i]._y = -5 + (80 * Math.floor(i / 10));
this["flyer" + i]._x = -10 + ((i % 10) * 80);
i++;
}
Instance of Symbol 3 MovieClip "flyer" in Symbol 4 MovieClip Frame 1
onClipEvent (load) {
function reset() {
_alpha = (5 + (5 * Math.random()));
}
reset();
}
onClipEvent (enterFrame) {
_x = (_x - 1);
if (_x <= -100) {
reset();
_x = 700;
}
}
Symbol 8 MovieClip Frame 1
function MakeFour(nummer) {
nummer = ("" + nummer) + "";
if (nummer.length >= 4) {
return(nummer);
}
return("0000".substring(0, 4 - nummer.length) + nummer);
}
onEnterFrame = function () {
tid1.text = MakeFour(Math.round(Math.random() * 9999));
tid2.text = MakeFour(Math.round(Math.random() * 9999));
};
Symbol 9 MovieClip Frame 1
i = 0;
while (i < 10) {
duplicateMovieClip (digits, "digits" + i, this.getNextHighestDepth());
i++;
}
Instance of Symbol 8 MovieClip "digits" in Symbol 9 MovieClip Frame 1
onClipEvent (enterFrame) {
countdown--;
if (countdown <= 0) {
reset();
}
}
onClipEvent (load) {
function getEaseType() {
RND = Math.random();
if (RND < 0.333333333333333) {
return(mx.transitions.easing.None.easeNone);
}
if (RND < 0.666666666666667) {
easing = mx.transitions.easing.Strong;
} else {
easing = mx.transitions.easing.Regular;
}
RND = Math.random();
if (RND < 0.333333333333333) {
return(easing.easeIn);
}
if (RND < 0.666666666666667) {
return(easing.easeOut);
}
return(easing.easeInOut);
}
function fadeOut() {
new mx.transitions.Tween(this, "_alpha", mx.transitions.easing.Regular.easeIn, 100, 0, varighet / 2, true);
}
function resetCountDown(varighet) {
countdown = Math.ceil((varighet * 30) + (Math.random() * 60));
}
function reset() {
this._x = (Math.random() * 710) - 5;
this._y = (Math.random() * 410) - 5;
varighet = 5 + (10 * Math.random());
rotStart = 360 * Math.random();
rotEnd = 360 * Math.random();
new mx.transitions.Tween(this, "_rotation", getEaseType(), rotStart, rotEnd, varighet, true);
startModifier = Math.random();
endModifier = Math.random();
et1 = getEaseType();
if (Math.random() < 0.25) {
et2 = et1;
} else {
et2 = getEaseType();
}
boost = Math.random() * 50;
new mx.transitions.Tween(this, "_xscale", et1, (50 + boost) * startModifier, 100 + ((50 + boost) * endModifier), varighet, true);
new mx.transitions.Tween(this, "_yscale", et2, (50 + boost) * startModifier, 100 + ((50 + boost) * endModifier), varighet, true);
t = new mx.transitions.Tween(this, "_alpha", mx.transitions.easing.Regular.easeOut, 0, 100, varighet / 2, true);
t.onMotionFinished = function () {
fadeOut();
};
resetCountDown(varighet);
}
resetCountDown(0);
i = 0;
while (i < 60) {
nextFrame();
i++;
}
}
Symbol 15 MovieClip Frame 1
function update() {
datum = new Date();
seconds = datum.getSeconds();
if (oldSecs != seconds) {
minutes = datum.getMinutes();
secOfHalfDay = ((((datum.getHours() % 12) * 60) * 60) + (minutes * 60)) + seconds;
hrs._rotation = 360 * (secOfHalfDay / 43200);
if (oldMins != minutes) {
if (minutes == 0) {
new mx.transitions.Tween(min, "_rotation", mx.transitions.easing.Strong.easeInOut, 354, 360, 1, true);
} else {
new mx.transitions.Tween(min, "_rotation", mx.transitions.easing.Strong.easeInOut, 360 * (oldMins / 60), 360 * (minutes / 60), 1, true);
}
} else {
min._rotation = 360 * (minutes / 60);
}
if (noTweens) {
sec._rotation = 360 * (seconds / 60);
} else if (seconds == 0) {
new mx.transitions.Tween(sec, "_rotation", mx.transitions.easing.Strong.easeInOut, 354, 360, 1, true);
} else {
new mx.transitions.Tween(sec, "_rotation", mx.transitions.easing.Strong.easeInOut, 360 * (oldSecs / 60), 360 * (seconds / 60), 1, true);
}
oldMins = minutes;
oldSecs = seconds;
noTweens = false;
}
}
datum = new Date();
oldMins = datum.getMinutes();
oldSecs = datum.getSeconds() - 1;
if (oldSecs < 0) {
oldSecs = 59;
}
noTweens = true;
update();
onEnterFrame = function () {
update();
};
Symbol 20 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 21 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 22 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween
{
var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime;
function Tween (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
position = (begin);
this.duration = (duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.finish = (finish);
_listeners = [];
addListener(this);
start();
}
function set time(t) {
prevTime = _time;
if (t > duration) {
if (looping) {
rewind(t - _duration);
update();
broadcastMessage("onMotionLooped", this);
} else {
if (useSeconds) {
_time = _duration;
update();
}
stop();
broadcastMessage("onMotionFinished", this);
}
} else if (t < 0) {
rewind();
update();
} else {
_time = t;
update();
}
//return(time);
}
function get time() {
return(_time);
}
function set duration(d) {
_duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d));
//return(duration);
}
function get duration() {
return(_duration);
}
function set FPS(fps) {
var _local2 = isPlaying;
stopEnterFrame();
_fps = fps;
if (_local2) {
startEnterFrame();
}
//return(FPS);
}
function get FPS() {
return(_fps);
}
function set position(p) {
setPosition(p);
//return(position);
}
function setPosition(p) {
prevPos = _pos;
obj[prop] = (_pos = p);
broadcastMessage("onMotionChanged", this, _pos);
updateAfterEvent();
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
return(func(t, begin, change, _duration));
}
function set finish(f) {
change = f - begin;
//return(finish);
}
function get finish() {
return(begin + change);
}
function continueTo(finish, duration) {
begin = position;
this.finish = (finish);
if (duration != undefined) {
this.duration = (duration);
}
start();
}
function yoyo() {
continueTo(begin, time);
}
function startEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.addListener(this);
} else {
_intervalID = setInterval(this, "onEnterFrame", 1000 / _fps);
}
isPlaying = true;
}
function stopEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(_intervalID);
}
isPlaying = false;
}
function start() {
rewind();
startEnterFrame();
broadcastMessage("onMotionStarted", this);
}
function stop() {
stopEnterFrame();
broadcastMessage("onMotionStopped", this);
}
function resume() {
fixTime();
startEnterFrame();
broadcastMessage("onMotionResumed", this);
}
function rewind(t) {
_time = ((t == undefined) ? 0 : (t));
fixTime();
update();
}
function fforward() {
time = (_duration);
fixTime();
}
function nextFrame() {
if (useSeconds) {
time = ((getTimer() - _startTime) / 1000);
} else {
time = (_time + 1);
}
}
function onEnterFrame() {
nextFrame();
}
function prevFrame() {
if (!useSeconds) {
time = (_time - 1);
}
}
function toString() {
return("[Tween]");
}
function fixTime() {
if (useSeconds) {
_startTime = getTimer() - (_time * 1000);
}
}
function update() {
position = (getPosition(_time));
}
static var version = "1.1.0.52";
static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init();
static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
function func(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 23 MovieClip [__Packages.mx.transitions.easing.Strong] Frame 0
class mx.transitions.easing.Strong
{
function Strong () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return((((((c * t) * t) * t) * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = (t / d) - 1;
return((c * (((((t * t) * t) * t) * t) + 1)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return(((((((c / 2) * t) * t) * t) * t) * t) + b);
}
t = t - 2;
return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b);
}
static var version = "1.1.0.52";
}
Symbol 24 MovieClip [__Packages.mx.transitions.easing.Regular] Frame 0
class mx.transitions.easing.Regular
{
function Regular () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return(((c * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = t / d;
return((((-c) * t) * (t - 2)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return((((c / 2) * t) * t) + b);
}
t--;
return((((-c) / 2) * ((t * (t - 2)) - 1)) + b);
}
static var version = "1.1.0.52";
}
Symbol 25 MovieClip [__Packages.mx.transitions.easing.None] Frame 0
class mx.transitions.easing.None
{
function None () {
}
static function easeNone(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeIn(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeOut(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeInOut(t, b, c, d) {
return(((c * t) / d) + b);
}
static var version = "1.1.0.52";
}