[Flashcoders] preloader not completely preloading...

2006-12-11 Thread Count Schemula
I'm using the code at the bottom of this post. Using the Simulate Download and the Bandwidth profiler, I have two different files where it's basically downloading about 15% of the file and then continuing playing. The preloader starts to work correctly, but basically quits out incorrectly

RE: [Flashcoders] preloader not completely preloading...

2006-12-11 Thread Alain Rousseau
@chattyfig.figleaf.com Subject: [Flashcoders] preloader not completely preloading... I'm using the code at the bottom of this post. Using the Simulate Download and the Bandwidth profiler, I have two different files where it's basically downloading about 15% of the file and then continuing playing

RE: [Flashcoders] preloader not completely preloading...

2006-12-11 Thread Steven Sacks | BLITZ
stop(); function checkLoad() { var c = mc.getBytesLoaded(); var t = mc.getBytesTotal(); var p = (c / t) * 100; MC_LoaderBar._xscale = p; TXT_Load.text = Math.floor(p + %); if (p == 100 t 4) { delete this.onEnterFrame; mc.gotoAndPlay(main); } } this.onEnterFrame =

Re: [Flashcoders] preloader not completely preloading...

2006-12-11 Thread Count Schemula
Thanks everyone! On 12/11/06, Steven Sacks | BLITZ [EMAIL PROTECTED] wrote: stop(); function checkLoad() { var c = mc.getBytesLoaded(); var t = mc.getBytesTotal(); var p = (c / t) * 100; MC_LoaderBar._xscale = p; TXT_Load.text = Math.floor(p + %); if (p == 100 t 4) {