Change in hasItem() ?

6 views
Skip to first unread message

benny

unread,
Sep 15, 2009, 3:12:12 PM9/15/09
to BulkLoader users
Hi all,

I just downloaded the newest version of BulkLoader via svn this
morning and the behavior of BulkLoader.hasItem() seems inconsistent
with my previous version (rev 196). It seems to always be returning
true when I use the new class files, whereas it used to return false
for images not yet loaded. I've also tried passing in the string of
the image url, and it still indicates that all images are loaded, even
though other props/methods indicate that all items aren't loaded
(itemsLoaded, getNotLoadedItems() )

for (var i:int = 0; i < imageLoader.itemsTotal; i++)
{
if (imageLoader.hasItem(String(i)))
{
}
}

Any ideas?

thanks,
Ben

Arthur Debert

unread,
Sep 18, 2009, 6:52:27 PM9/18/09
to bulkload...@googlegroups.com
Hi Ben.

Yup, you are right, this is a regression bug.
I've just fixed it on rev 302 with some regression tests so that it
doesn't happen again.

Thanks very much for the report.

Cheers
Arthur Debert

Reply all
Reply to author
Forward
0 new messages