QueueLoader AS3 rev 18

Sorry for the version jump. When I added flv and supporting files the SVN jumped up a few numbers. Regardless I am going to stop posting examples directly here on the blog with the exception of updates and new features worth noting. I think it’s also an easy way for people to communicate questions, comments, concerns, etc. As far as usage, downloads, etc., I think it will be easier for me to keep all the necessary info on the google project site then retroactively updating my previous posts.

Important Updates
QUEUE_INIT and ITEM_INIT have been changed to reflect the internal structure. They are now QUEUE_COMPLETE and ITEM_COMPLETE. Sorry if this causes confusion but it needed to be changed at some point. :)

FLV support has been added finally. The event.file var in the callback will return a VideoPlayer Object for video control.

I did some other utilitarian and formatting tasks event meta info, debugging organization with parent level accessibility, etc.

Click here for the current rev

Click here for the usage guide

Click here for the change log

7 Responses to “QueueLoader AS3 rev 18”

  1. Jesse Says:

    public static const FILE_QUEUE : int = 7;

    Maybe in the future you could include QueueLoader as a load type? That way you could cluster assets to load and assign priority to groups in addition to a per file basis.

    MainQueue loads multiple SubQueues each with 7 images. You can subscribe to SubQueue events as well as MainQueue events, but MainQueue events wouldn’t matter as much. It’s really just to manage overall sequential loading of clusters.

    Think about it…

    ;)

  2. djdonovan Says:

    Yeah that’s been brought up before, but not as specifically as you described. Definitely a good idea:) I’ll tinker with it when I get a chance to do some updates. Also keep in mind it’s open source;)

  3. Jesse Says:

    Sounds like a good challenge!

  4. Andro Says:

    SMILManager, Line 214
    1061: Call to a possibly undefined method test through a reference with static type RegExp.

  5. djdonovan Says:

    This is in Adobe’s core video code which I decided to include. I’ve never gotten that error testing the FLV. You could try over writing the fl.video package with the one from your local adobe classes, or send me the code via email and I can check it out. I’m assuming you are loading an flv? I think the easiest way to get my email is on the google QueueLoader site.

  6. djdonovan Says:

    Another thing you can do which I will update tonight on the svn is copy your FLVPlaybackAS3.swc file into the src folder. I will also set it up so that it doesn’t require those classes if you aren’t using the FLV feature.

    Hope that helps! D

  7. djdonovan Says:

    I have updated the code on the google site. No more video import issues as it’s loading a stream now. I will post the updates as well as the new feature suggested and added by Jesse.

Leave a Reply