Combined Code
button 2 {
on (release) {
play();
}
}
frame 1 {
WF_DONE = '0';
stop();
}
frame 2 {
WFstrtTm = getTimer();
WFstrtBts = 0;
}
frame 4 {
WFfps = 30;
WFbffrFctr = 1.100000023841858;
WFttlBts = (eval(this)).getBytesTotal();
WFttlFrms = (eval(this))._totalframes;
WFcrrntFrm = (eval(this))._currentframe;
WFlddBts = (eval(this)).getBytesLoaded();
WFlddFrms = (eval(this))._framesloaded;
WFlftBts = WFttlBts - WFlddBts;
WFldTm = getTimer() - WFstrtTm;
WFspd = WFlddBts / WFldTm;
WFplyTm = WFlddFrms / WFfps;
WFlftLdTm = Math.round((WFlftBts / 1024 / WFspd) * WFbffrFctr - WFplyTm);
WFprcntLddOtpt = int((WFlddFrms / WFttlFrms) * 100) add '% Loaded';
if (0 >= WFlftLdTm) {
gotoAndPlay(_currentframe + '2');
}
}
frame 5 {
WFprcntLddOtpt = WFlftLdTm;
prevFrame();
play();
}
frame 6592 {
stop();
}