[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.Instance of Symbol 1 MovieClip in Frame 1 (673 B)
onClipEvent (load) {
this.createTextField("textbox2", 1, 0, 0, 240, 78);
textbox2.variable = "txtdisplay";
textbox2.selectable = false;
myformat = new TextFormat();
myformat.color = 0;
myformat.bold = true;
myformat.font = "Sydnie";
}
onClipEvent (enterFrame) {
currentbytes = int(_root.getBytesLoaded() / 1000);
totalbytes = int(_root.getBytesTotal() / 1000);
percentbytes = int((currentbytes / totalbytes) * 100);
textbox2.text = ((("Loading" + percentbytes) + "% of ") + totalbytes) + " kb";
textbox2.setTextFormat(myformat);
if (percentbytes >= 100) {
textbox2.text = "Loading Complete";
textbox2.setTextFormat(myformat);
_root.gotoAndStop();
}
}
Frame 752 (8 B)
stop();
Symbol 63 Button (35 B)
on (release) {
gotoAndPlay (13);
}