HomeAbout

QueueLoader - AS2

From the site:

I’ve written a helper class for loading and monitoring resources which is based upon an AS3 library called Queueloader located at Google Code. My version is written in AS2 and has the following features:

Individual monitoring
Overall queue monitoring
Image loading
SWF loading
MP3 loading

http://fboyle.com/blog/?p=17

13 Comments »

  1. The AS3 version of QueueLoader has a parameter for the totalBytes loaded for the entire queue. Does this AS2 version have that as well?

    The original queue loader by betriebsraum didn’t (it only monitored the progress of individual loadings), and it would be very handy.

    Thanks!

    Comment by ab — July 21, 2008 @ 2:02 pm

  2. hi, i am using your QueueLoader - AS2, but i can`n run my flsah, I want to know what is the parameter _root.tmp and _root.tmp2 ?
    I hope to get your answer soon, Thanks

    Comment by Nguyen minh Nhat — July 25, 2008 @ 4:52 pm

  3. Nhat the _root.tmp and _root.tmp2 are the movieclips where the images are to be loaded…. hope that helps.

    Fboyle I have the same question as ab, I am unable to track the progress for the entire queue… can you help?

    I used this code:

    queue.addEventListener(QueueLoaderEvent.QUEUE_PROGRESS, queueProgress);

    great class thanks for taking the time to share it
    best,
    ~laura g.
    Flashutvikler

    Comment by laura — August 13, 2008 @ 11:36 am

  4. thanks for the feedback. I’ve only just read these comments.

    Laura, I’ve added QueueLoaderEvent.QUEUE_PROGRESS now.

    regards,

    Fintan

    Comment by finty — August 24, 2008 @ 9:30 am

  5. I can’t get the class to run, I seem to be missing some files…

    Line 56; The class or interface ‘intel.ks4.load.LoadSound’ could not be loaded.

    Comment by Siemer — September 2, 2008 @ 12:42 am

  6. Strange, the rest of my post was eaten.
    Lines 57, 100 and 107 also threw an error about missing ‘intel.ks4.load.LoadSound’ and ‘intel.ks4.load.LoadLOswf’

    Comment by Siemer — September 2, 2008 @ 12:43 am

  7. Your classes looks very interesting.

    Im trying to run your queueloader, but it requires the intel.ks4 libraries.

    Could you tell me where can I get it?

    Thank you =)
    Juan Carlos

    Comment by Juan Carlos — September 3, 2008 @ 2:53 pm

  8. sorry about those errors. I’ve uploaded a fresh copy of the classes.

    Comment by finty — September 8, 2008 @ 1:59 pm

  9. Im preloading a bunch of SWFs which normally would play automatically. But i dont want them to be visible when i preolaod them, so i’ve set the preloading container _visible = false; but i can still hear the sound from the loading movieclips, and the preloader halts after loading a couple of them - anybody hazard a guess at why?

    I only encounter the halt problem when running my loader swf in flashplayer outside adobe flash. inseide adobe flash (with ctrl + enter) it works just great.

    Comment by Laust Deleuran — September 9, 2008 @ 12:25 am

  10. That´s exactly what I needed. Thank you, Mr Boyle!!

    Comment by Juan Carlos — September 9, 2008 @ 1:23 pm

  11. Thanks for fixing the files. Too bad the total progress does not show the real progress but simply divides the loading progress through the number of files to be loaded. This way when you load 4 small files and then 1 large file the last bit of your ‘total loading progress’ will take much longer than the rest…

    What would be the best way to address this problem, maybe use a server side script to pass the filesizes to Flash?

    Comment by Siemer — September 16, 2008 @ 11:56 pm

  12. Hmmm, there is another problem with the class: it always starts out with the first file already loaded. So when I load only one file, the class will immediately claim that the first file is 100% loaded and done, even though it it not… And then the swf will pop up later.

    I’ve been testing it with these files: http://www.2shine.nl/post/QueueLoader%20test.zip

    Comment by Siemer — September 17, 2008 @ 12:44 am

  13. I think I’ll be moving on to this: http://blog.greensock.com/preloadassetmanageras2/ :)

    Comment by Siemer — September 23, 2008 @ 3:58 am

RSS feed for comments on this post. | TrackBack URI
You can also bookmark this on del.icio.us or check the cosmos

Leave a comment





XHTML ( You can use these tags): <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .
« ColorMatrix    CronJob »