> MovieClipLoader is sh*t
Agreed. Image loading in Flash in general is something that gave me a lot of
trouble. I built this photo kiosk (daypix.com) for the Flash 6 player without
MovieClipLoader. It resells holiday photos. The vendor doesn't know anything
about the people in the photo, except the day and tour they where on. So any
given thumbnail display has to preload load hundreds of pix for the client to
page through quickly. If they get bored waiting for other peoples photos to
load before they can find their own then the sale is lost.
I found the flash player a _lot_ slower than simply loading the pix into the
browser with HTML and I had to do a lot of messing around to offset it, so I
too would be really interested in hearing about best practice in this area.
> I know there are solutions
Please share the ones you have in mind.
> if you remove the movieclip from the stage before
> the resource is loaded (and that happens a lot, especially if you have a
> nervous user using your application :o) ) the Queue loader crashes (resource
> is loaded, but onLoadInit is not called and no error is thrown).
How about checking if the image has loaded before trying to delete it. If it
hasn't loaded hide it offstage ({_x:-1000, _y:-1000, _alpha:0}) and set a
deleteMe flag that onLoad will check.
I never figured out the optimal number of images to load
simultaneously, my load
queue default was 5. Trying to load a lot at once didn't seem to help
speed wise
and like you say the load can't be stop once it's requested.
Tony
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org