Combined Code
frame 1 {
if (started == null) {
var maskMC = _root.createEmptyMovieClip('mask', _root.getNextHighestDepth());
maskMC.beginFill(0, 100);
maskMC.moveTo(0, 0);
maskMC.lineTo(0, 400);
maskMC.lineTo(550, 400);
maskMC.lineTo(550, 0);
maskMC.lineTo(0, 0);
_root.setMask(maskMC);
var started = 1;
}
}
movieClip 3 {
}
movieClip 5 {
}
movieClip 7 {
}
instance of movieClip 7 {
onClipEvent (load) {
currentTime = new Date();
}
onClipEvent (enterFrame) {
currentTime = new Date();
currentSecs = currentTime.getHours() * 3600 + currentTime.getMinutes() * 60 + currentTime.getSeconds();
this._y = 40 - currentSecs * 5510 / 86400;
}
}
movieClip 9 {
}
instance of movieClip 9 {
onClipEvent (load) {
currentTime = new Date();
}
onClipEvent (enterFrame) {
currentTime = new Date();
currentHours = currentTime.getHours();
if (currentHours >= 1 && currentHours <= 5 && this._y > 206) {
this._y -= 0.1;
}
if (currentHours > 5 && this._y < 221) {
this._y += 0.1;
}
}
}
movieClip 11 {
}
movieClip 33 {
frame 55 {
gotoAndPlay(1);
}
frame 164 {
if (random(10) != 1) {
gotoAndPlay(62);
}
}
frame 237 {
gotoAndPlay(62);
}
frame 243 {
gotoAndPlay(28);
}
}
instance NMon of movieClip 33 {
onClipEvent (load) {
currentTime = new Date();
}
onClipEvent (enterFrame) {
currentTime = new Date();
currentHours = currentTime.getHours();
currentMinutes = currentTime.getMinutes();
if (currentHours >= 17 && currentHours <= 21 && currentMinutes <= 15) {
if (this._x > 300) {
this._xscale = 100;
this._x -= 5;
if (this._currentframe > 55) {
this.gotoAndPlay(1);
}
} else {
if (this._currentframe < 56) {
this.gotoAndPlay(56);
}
}
} else {
if (this._x < 550) {
this._xscale = -100;
this._x += 5;
if (this._currentframe > 55) {
this.gotoAndPlay(1);
}
}
}
}
}
movieClip 35 {
}
movieClip 48 {
}
movieClip 58 {
}
instance Shade of movieClip 58 {
onClipEvent (load) {
currentTime = new Date();
}
onClipEvent (enterFrame) {
currentTime = new Date();
currentSecs = currentTime.getHours() * 3600 + currentTime.getMinutes() * 60 + currentTime.getSeconds();
this.gotoAndPlay(Math.ceil(currentSecs * 720 / 86400));
}
}