I've seen this behavior when using if(bytesLoaded==bytesTotal) and not checking if the bytesLoaded is > 1K (or some small file size) to be sure it has started loading.
So... use--> if(bytesLoaded==bytesTotal && bytesLoaded>1024) On 12/12/06, John Olson <[EMAIL PROTECTED]> wrote:
I'm not sure why I never noticed this after so many years, but I was doing a demo for someone the other day and Flash was doing some weird things. It was an old school preloader demo with a stop() and an onEnterFrame loop on frame 1 that checked the bytes loaded and bytes total. I was bandwidth testing and it kept ignoring my stop() on frame 1. It worked fine if I was testing the movie normally, but would run right past the stop() on frame 1 when I did the Simulate Download. For my demo, I just moved everything to frame 2 and it worked fine, but it was extremely odd. I was more puzzled because I'm not sure how I didn't see this before (or don't recall it happening before). Is this a known issue with Simulate Download? I know there are issues that Simulate Download doesn't clear out all variables and objects from memory, but I found it odd that it was skipping/ignoring the stop() action. - John _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

