Combined Code
frame 1 {
currentDate = new Date();
thisYear = currentDate.getFullYear();
eventDate = new Date(2014, 9, 22, 8);
eventMillisecs = eventDate.getTime();
counter.onEnterFrame = function () {
currentDate = new Date();
currentMillisecs = currentDate.getTime();
this.msecs = eventMillisecs - currentMillisecs;
this.secs = Math.floor(this.msecs / 1000);
this.mins = Math.floor(this.secs / 60);
this.hours = Math.floor(this.mins / 60);
this.days = Math.floor(this.hours / 24);
this.msecs = String(this.msecs % 1000);
this.secs = String(this.secs % 60);
this.mins = String(this.mins % 60);
this.hours = String(this.hours % 24);
this.days = String(this.days);
while (this.msecs.length < 3) {
this.msecs = '0' + this.msecs;
}
if (this.secs.length < 2) {
this.secs = '0' + this.secs;
}
if (this.mins.length < 2) {
this.mins = '0' + this.mins;
}
if (this.hours.length < 2) {
this.hours = '0' + this.hours;
}
while (this.days.length < 3) {
this.days = '0' + this.days;
}
for (movie in this) {
if (this[movie]._parent == this) {
this[movie].evaluateFrameFrom(this);
}
}
};
MovieClip.prototype.evaluateFrameFrom = function (variableClip) {
var v2 = this._name.split('_');
var v4 = variableClip[v2[0]];
var v5 = Number(v2[1]);
var v3 = 1 + Number(v4.charAt(v5));
if (this._currentframe != v3) {
this.gotoAndStop(v3);
}
};
}
movieClip 3 {
}
movieClip 5 {
}
movieClip 7 {
}
movieClip 9 {
frame 352 {
gotoAndPlay(313);
}
}
movieClip 12 {
frame 313 {
stop();
}
}
movieClip 24 {
}
movieClip 25 {
}
movieClip 27 {
}
movieClip 28 {
}
movieClip 30 {
}