Hi Dane,
Here are some thoughts for you to try. First off since you are not
actually working with a display object you don't need this class to extend
sprite. The easiest way to give the class the ability to send out events
is to have it extend EventDispatcher and then you can have it dispa
>From your cssLoaded and xmlLoaded methods, dispatch an event each,
announcing the completion of load.
eg
public function xmlLoaded(event:Event):void {
newXML = XML(event.target.data);
dispatchEvent(new Event("xmlLoaded"));
}
And on the timeline, you can add a listener to that event by do
Greetings All,
I'm trying to do more and more of my projects with external classes and,
along with that, creating classes for routines that I regularly do. I have a
class that reads an XML file and CSS file once it's called. It has worked
fine for the first few projects I used it in. With my recent
3 matches
Mail list logo