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
December 11th, 2007 at 4:21 pm
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…
December 11th, 2007 at 6:51 pm
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;)
December 11th, 2007 at 11:07 pm
Sounds like a good challenge!
December 12th, 2007 at 7:54 am
SMILManager, Line 214
1061: Call to a possibly undefined method test through a reference with static type RegExp.
December 12th, 2007 at 10:06 am
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.
December 12th, 2007 at 1:25 pm
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
December 12th, 2007 at 11:01 pm
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.