Queue up loading

Actionscript 3 is really cool, slowly but surely I am rewriting all my old scripts.

One issue I have at the moment is writing a simple loader queue class. I want my code load jpgs from a folder (which it does fine) one after another. So from my main document class, I want it to call the loader class, load an item, return it to the main document class and then if there are still items left to load, it does that all over again.

In AS2 this wasn’t really a problem, but AS3 seems to have issues when referencing a class which called it originally. Does anyone have a solution to this problem? As simply as possible.