QueueLoader 3.1.8
Posted: November 23, 2009 at 10:34 pmHaving some problems with the vcs on Google, but the featured link is current. I'm in the process of moving QueueLoader over to github to ultimately make life easier. 3.1.8 addressed an issue with throwing an error when running the queue with no items in it as well as the QUEUE_COMPLETE event firing if you run a queue with all items generating errors and the queue's ignoreErrors argument set to true.
Download QueueLoader rev 3.1.8 Source Only
The Discussion
see what everyone is saying
Hi
When i use queueloader to load images:
_oLoader.addItem("../flashassets/images/slideshow/"+(i+1).toString()+".jpg", img, {title:"Image "+i});
Image don`t added to img display list, because in ImageItem.as class:
if(_container != null) _container.addChild(_target);
_completeFunction(event);
}
_target is loader object, not display object. When i changed it to _container.addChild(_content); it works.
Sorry for bad english
I'm not sure what you are seeing, or most likely something else is going on. I'd need to see more of the code. The way it's set up now… _target is a reference to Loader which is a sub class of the DisplayObject class. event.container refers to the display object that the item is loaded into, in your case img. event.targ refers to the Loader class and event.content refers to the actual Bitmap class (in the case of loading an Image). If i changed the code then I'd be adding the Bitmap directly to the container.