zzyycc / bulk-loader

Automatically exported from code.google.com/p/bulk-loader
0 stars 0 forks source link

Event.COMPLETE - does not fire on individual items #60

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Load-up an Image (~5-20kb) and an MP3 from a remote destination - as 
individual items 
BulkLoader.add().addEventListener();
2. BulkLoader.start();
3. Silence on the image

What is the expected output? What do you see instead?
I was expecting the Event.COMPLETE event to be dispatched after the image had 
fully loaded. I 
created a ProgressEvent listener, and entered trace(evt); it only outputs one 
line and bytesLoaded 
= bytesTotal. 

I also tried loading in a 3MB image - and Event.COMPLETE dispatched without any 
problems. It 
appears to happen for me when the image is small and downloaded very quickly.

What version of the product are you using? On what operating system?
Flash CS3
OSX 10.5.5
FP 10

Please provide any additional information below.

I have tried various images from various web-servers, all failed on 
Event.COMPLETE, with the 
exception of a few images around ~3MB.  To me it seems the image is too small, 
and loads too 
quickly for the Event.COMPLETE dispatcher to catch it. I would assume it should 
dispatch 
Event.COMPLETE even if the image is loaded already.

If there is a known work-around, please guide me to it so I can re-test, but I 
have been 
searching high and low for some leads.

Let me know if you need further information. This is my first issue with 
BulkLoader, every other 
time it has been great!!

Original issue reported on code.google.com by rel...@gmail.com on 18 Nov 2008 at 5:49

GoogleCodeExporter commented 8 years ago
Hi There.

This works for a lot of people on a lot of loads. No idea what it is.
If you can provide a minimal test case (a simple zip with fla / source ) and 
assets to download, that would be 
wonderful. Until then, I am marking this as invalid.

Thanks

Original comment by debert on 22 Nov 2008 at 5:08

GoogleCodeExporter commented 8 years ago
Hey - sorry I have been away since posting this. I eventually found the problem 
was related to LoaderContext, 
after adding on, all was well and everything loaded properly.

Maybe - unless I missed it - BulkLoader could throw a security error, which was 
how I found it, but throwing a 
security error on a standard loading script.

Sorry about that!

Original comment by rel...@gmail.com on 23 Nov 2008 at 5:18