[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 (2.7 KiB) ●
movieClip 4 {
}
movieClip 7 {
}
movieClip 12 {
}
movieClip 15 {
}
movieClip 18 {
}
movieClip 22 {
}
movieClip 23 {
}
movieClip 26 {
}
movieClip 30 {
}
movieClip 33 {
}
movieClip 34 {
}
movieClip 36 {
}
movieClip 37 {
}
movieClip 38 {
}
button 41 {
on (release) {
getURL('http://naruto46346753839262.newgrounds.com/', '_blank');
}
}
movieClip 50 {
frame 40 {
stop();
}
}
movieClip 75 {
}
button 76 {
on (release) {
startMovie();
}
}
movieClip 77 {
frame 1 {
function timerHandler() {
if (!loadingComplete) {
var v4 = _root.getBytesLoaded() / _root.getBytesTotal();
bar._xscale = 100 * v4;
if (v4 == 1) {
loadingComplete = true;
if (AUTO_PLAY) {
startMovie();
} else {
gotoAndStop('loaded');
}
return undefined;
}
}
dt = getTimer() - time;
time += dt;
frameAccum += dt;
var v3 = 0;
for (;;) {
if (!(frameAccum >= FRAME_TIME && v3 < MAX_FRAME_SKIP)) break;
advanceFrame(tankLogo, true, true);
advanceFrame(loadingText, false, true);
advanceFrame(barGfx, false, true);
if (loadingComplete) {
advanceFrame(this, false, false);
}
frameAccum -= FRAME_TIME;
v3++;
}
updateAfterEvent();
}
function advanceFrame(clip, recurse, loop) {
if (!clip) {
return undefined;
}
clip.stop();
if (clip._currentframe == clip._totalframes) {
if (loop) {
clip.gotoAndStop(1);
}
} else {
clip.nextFrame();
}
if (recurse) {
for (childName in clip) {
if (typeof clip[childName] == 'movieclip') {
advanceFrame(clip[childName], recurse, loop);
}
}
}
}
function startMovie() {
clearInterval(intervalId);
_root.play();
}
_root.stop();
stop();
var FRAME_TIME = 33.33333333333334;
var AUTO_PLAY = false;
var MAX_FRAME_SKIP = 5;
var loadingComplete;
var intervalId;
var time;
var frameAccum;
loadingComplete = false;
intervalId = setInterval(this, 'timerHandler', FRAME_TIME / 2);
frameAccum = 0;
time = getTimer();
timerHandler();
}
}
// unknown tag 88 length 120
movieClip 88 {
}
movieClip 96 {
}
frame 447 {
}
movieClip 138 {
}
movieClip 142 {
}
movieClip 145 {
}
movieClip 157 {
}
movieClip 166 {
}
movieClip 169 {
}
movieClip 174 {
}
movieClip 179 {
}
movieClip 224 {
}
movieClip 228 {
}
movieClip 245 {
}
movieClip 248 {
}
movieClip 255 {
}
movieClip 260 {
}
movieClip 265 {
}
movieClip 270 {
}
movieClip 299 {
}
movieClip 301 {
}
movieClip 311 {
}
movieClip 321 {
}
movieClip 330 {
}
movieClip 335 {
}
movieClip 340 {
}
movieClip 348 {
}
movieClip 349 {
}