[Tools][Expand/Collapse All]Note that automatic extraction of ActionScript 3 is still pretty much unsupported by swfchan. AS1/AS2 works okay most of the time.Frame 1 (8 B)
stop();
Instance of Symbol 9 MovieClip in Frame 1 (823 B)
onClipEvent (load) {
TotalBytes = _root.getBytesTotal();
StoredBytes = _root.getBytesLoaded();
Percent = 0;
FinishTime = 0;
}
onClipEvent (enterFrame) {
if (((getTimer() - StoredTime) >= 1000) && (Percent != 100)) {
KBPS = Math.round((_root.getBytesLoaded() - StoredBytes) / 100) / 10;
StoredBytes = _root.getBytesLoaded();
FinishTime = Math.round((TotalBytes - StoredBytes) / (KBPS * 1000));
Percent = Math.round((StoredBytes * 100) / TotalBytes);
StoredTime = getTimer();
}
ShowPercent = ("PERCENT LOADED UNTIL PLAY: " + Percent) + "%";
Minutes = Math.floor(FinishTime / 60);
Seconds = FinishTime - (Minutes * 60);
ShowTime = (("LOAD TIME: " + Minutes) + ":") + Seconds;
ShowKBPS = ("XFER SPEED: " + KBPS) + "KB/S";
if (Percent == 100) {
_root.gotoAndPlay(_root._currentframe + 1);
}
}
Frame 2 (28 B)
stop();
_quality = "low";
Frame 431 (8 B)
stop();
Instance of Symbol 3 MovieClip in Symbol 9 MovieClip Frame 1 (57 B)
onClipEvent (enterFrame) {
_xscale = _parent.Percent;
}
Symbol 13 Button (25 B)
on (release) {
play();
}
Symbol 63 Button (34 B)
on (release) {
gotoAndPlay (3);
}