Combined Code
frame 1 {
objTime = new Date();
varStartSeconds = objTime.getSeconds();
varStartMinutes = objTime.getMinutes();
varStartHours = objTime.getHours();
varStartDays = objTime.getDay();
}
frame 2 {
objNewTime = new Date();
varBytes = _root.getBytesLoaded();
varKbytes = Math.round((_root.getBytesLoaded() / 1024) * 100) / 100;
varTotalBytes = Math.round((_root.getBytesTotal() / 1024) * 100) / 100;
if (varBytes > 1024) {
txtBytes = varKbytes add ' Kbytes of ' add varTotalBytes add ' Kbytes';
} else {
txtBytes = varBytes add ' Bytes of ' add varTotalBytes add ' Kbytes';
}
txtPercentage = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) add '%';
varElapsedSeconds = objNewTime.getSeconds() - varStartSeconds;
varElapsedMinutes = objNewTime.getMinutes() - varStartMinutes;
varElapsedHours = objNewTime.getHours() - varStartHours;
varElapsedDays = objNewTime.getDay() - varStartDays;
varElapsedTime = varElapsedDays * 24 * 60 * 60 + varElapsedHours * 60 * 60 + varElapsedMinutes * 60 + varElapsedSeconds;
if (varElapsedTime > 1) {
txtElapsed = varElapsedTime add ' Seconds';
} else {
txtElapsed = varElapsedTime add ' Second';
}
varSpeed = Math.round((_root.getBytesLoaded() / varElapsedTime / 1024) * 10) / 10;
txtSpeed = varSpeed add ' Kbytes/Second';
varRemaining = Math.round((_root.getBytesTotal() - _root.getBytesLoaded()) / varSpeed * 1024);
if (varRemaining > 1) {
txtRemaining = varRemaining add ' Seconds';
} else {
txtRemaining = varRemaining add ' Second';
}
varMove = Math.Round((_root.getBytesLoaded() / _root.getBytesTotal()) * 458.8);
_root.mcLoad._x = -59.4 + varMove;
}
movieClip 4 {
}
frame 3 {
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
gotoAndPlay(4);
} else {
gotoAndPlay(2);
}
}
movieClip 56 {
}
movieClip 60 {
}
movieClip 61 {
}
movieClip 62 {
frame 1 {
a = int(Number(random(5)) + 1);
timegap = int(random(5) * 100);
StartTimer = getTimer();
}
frame 2 {
TimeNow = getTimer();
TimeDiff = TimeNow - StartTimer;
if (Number(TimeDiff) > Number(timegap)) {
xscale = Number(int(random(5) * 10)) + 100;
eval('Line' add a)._xscale = xscale;
eval('Line' add a)._x = Number(_x) + Number(random(10));
tellTarget (''Line' add a') {
gotoAndPlay(1);
}
call('Setup');
}
}
frame 3 {
gotoAndPlay(2);
}
}
movieClip 75 {
}
movieClip 76 {
frame 1 {
object2._x = random(550);
object2._y = random(400);
object2._alpha = Number(random(7) * 10) + 30;
object2._rotation = random(360);
}
}
movieClip 80 {
}
movieClip 81 {
frame 1 {
object2._x = random(550);
object2._y = random(400);
object2._alpha = random(10) * 10;
object2._rotation = random(360);
}
}
movieClip 82 {
}
movieClip 166 {
}
movieClip 168 {
}
movieClip 179 {
}
frame 2814 {
stop();
}
button 185 {
on (release) {
getURL('http://www.jkcinema.com', '');
}
}