Re: [Flashcoders] using a class to load data

2008-03-28 Thread Allandt Bik-Elliott (Receptacle)
PROTECTED] On Behalf Of Allandt Bik-Elliott (Receptacle) Sent: Thursday, March 27, 2008 4:30 PM To: Flash Coders List Subject: Re: [Flashcoders] using a class to load data thanks jason - i've done this and it's working, i just wanted you to take a look to make sure i've not done it stupidly CODE package

RE: [Flashcoders] using a class to load data

2008-03-27 Thread Merrill, Jason
Have your XMLLoader class extend EventDispatcher and have your XMLLoader class dispatch an event when the load is complete. Wherever your instance of the class is declared, add an event listener to the instance and write a function handler. if you need assistance with setting that up, write back,

Re: [Flashcoders] using a class to load data

2008-03-27 Thread Allandt Bik-Elliott (Receptacle)
thanks jason - i've done this and it's working, i just wanted you to take a look to make sure i've not done it stupidly CODE package { //package imports import flash.events.*; import flash.net.*; internal class XMLLoader extends EventDispatcher

RE: [Flashcoders] using a class to load data

2008-03-27 Thread Merrill, Jason
, March 27, 2008 4:30 PM To: Flash Coders List Subject: Re: [Flashcoders] using a class to load data thanks jason - i've done this and it's working, i just wanted you to take a look to make sure i've not done it stupidly CODE package { //package imports import flash.events