I am receiving a "Parameter listener must be non-null" output error. I do not receive any compile errors. In my DocRoot class, I added () to the end of the function call in the event listener. I know this is the problem, but when I correct the code my listeners do not function. The code below works up until finishLoadingSWF(). Both traces trigger and the clock.swf is added to the stage. Then I receive the output error. It does not appear finishLoadingXML() triggers or the script is ended prematurely.
I originally started a thread on actionscript.org but have not had much help. Here is that link:
Loop Through XML Data with a Pause - Fade in and Fade Out - ActionScript.org Forums
DocRoot Class:
FileLoader Class:
This is my first real attempt at AS3 and OOP. My final project will consist of a PHP script that generates XML data. The stage has 6 rows of of dynamic text boxes that will display the records from the XML. It will loop though all the records 6 at a time with a fade in / fade out between each set. Once it reaches the last record it will reload the XML (checking for new data) and repeat the process. I am no where near the finished product, but this is what I have so far. It took me about 8 hours of google to wrap my head aroung the OOP. I really believe I am on the top of the learning curve. Hopefully, it will be all down hill from here.
Thank you so much to anyone to all,
Joshua