QueueLoader rev33

UPDATE Latest Update and Source!

Made some fixes and updates per the helpful people on Google code as well as Richard Willis and Romuald Quantin. Google code site have been updated as well.

Thanks guys!


12 Responses to “QueueLoader rev33”

  1. Romu Says:

    Hi,
    That's great, I've updated my sources and it is working just well.
    Thanks for your time on that.
    Romu

  2. Wilson Says:

    You're the man Don! Hey, is the SVN out of date? I seem to be missing ITEM_INIT and QUEUE_INIT from QueLoaderEvent - …but I'll check this download here : )

  3. Wilson Says:

    ah, I see - you renamed the *_COMPLETE - cool

  4. djdonovan Says:

    Yeah I renamed it back to COMPLETE as it reflects the AS3 event timing. Enjoy!

  5. Ghislain Says:

    Hi,

    I've tried your queueLoader and it's great … but i've a question …
    Is there a way to access to the loader's content when you load a swf file?
    I mean, if i want to acces to a public method from the loaded swf …xhat do i have to do ?
    At the moment, i've added at line 633 of the QueueLoader class :
    currItem.targ.loader = _loader;

    Is there a best way to do that ?

    Thanks a lot

    Ghislain

  6. djdonovan Says:

    event.file.myMethod();

    Or you can use Application Domain to access library references. Check out the wiki on google code for info on that.

  7. Haungo Says:

    I LOVE IT! I LOVE IT! It has made my job much more satisfying, because it worked!

    I just found the "smoothing:true" parameter. Just what I was needing, and it couldn't be easier, but I DID have a hard time finding it. Is there documentation somewhere that I missed?

    Keep it up.

    -BH

  8. Krom Says:

    Thanks for the great utility. Question: Is it possible to prioritize an item in the queue that has not loaded yet? Meaning can you bump an item to the top of the list to start loading it if it hasn't loaded yet?

  9. djdonovan Says:

    It is possible, however in all honesty I haven't done it myself. You can do queueloader.sort(); and use the same functionality of the built in Array sort() method.

  10. Krom Says:

    Per my original question:

    "Thanks for the great utility. Question: Is it possible to prioritize an item in the queue that has not loaded yet? Meaning can you bump an item to the top of the list to start loading it if it hasn’t loaded yet?"

    Does the reorder() function achieve the result I am looking for? Provided I know the index of the item I wish to move to the top of the queue?

    Thank you

  11. djdonovan Says:

    sorting is simply an extensions of the functionality of the array sorting method. Meaning the same process for sorting an array will work for sorting the queue. I'm working on new features and plan to add a simpler method for shifting an item around.

  12. djdonovan Says:

    New Version has been posted!

    Latest Update and Source!