Hmmm, do you mean like this: public var myLoader:URLLoader = new URLLoader(myXMLURL);
I tried that but it didn't work. What do you mean by instance variable? --- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > myLoader needs to be an instance variable instead of a local one. > > > > Maybe the sencond will go away when the xmlLoaded function can compile. > > > > Consider HTTPService instead, it is a bit simpler to use. > > > > Tracy > > >