[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.Combined Code (512 B)
frame 1 {
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded / bytes_total;
this.loadBar._width = getPercent * 410;
this.loadText = Math.round(getPercent * 100) + '%';
if (bytes_loaded == bytes_total) {
this.gotoAndPlay(3);
}
}
// unknown tag 88 length 120
frame 2 {
this.gotoAndPlay(1);
}
frame 3 {
stop();
}
// unknown tag 88 length 120
button 28 {
on (release) {
play();
stopAllSounds();
}
}