Open GoogleCodeExporter opened 8 years ago
I updated my update :)
I added a method called "callbackRetrieve" that works exactly the same as the
normal
"retrieve" except that it takes a callback function as an extra argument and it
calls
that callback function with the loaded file as an argument once the file is
ready.
Since each callbackRetrieve method creates a unique loader instance, it may be
used
to simultaneously retrieve multiple files without having to think about which
file is
ready once the ResourceCache dispatched an ITEM_READY event.
Also added functionality to clean up and remove each loader instance once it's
no
longer needed.
Original comment by flashtro...@googlemail.com
on 23 Sep 2009 at 11:06
Attachments:
I added some description of the changes I made on my blog:
http://blog.flashtronaut.com/2009/09/24/contribution-to-the-as3corelib-resourcec
ache-
class/
Original comment by flashtro...@googlemail.com
on 24 Sep 2009 at 2:38
Original issue reported on code.google.com by
flashtro...@googlemail.com
on 23 Sep 2009 at 4:29Attachments: