RE: [Flashcoders] how to return in this function

2008-01-30 Thread Claudio M. E. Bastos Iorio
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Juan Pablo Califano Sent: Tuesday, January 29, 2008 10:37 PM To: Flash Coders List Subject: Re: [Flashcoders] how to return in this function >> > var mivariable:retornaXML = new retornaXML(); >> > trac

Re: [Flashcoders] how to return in this function

2008-01-30 Thread Leonardo Scattola - New Vision srl
Claudio M. E. Bastos Iorio ha scritto: Hi guys, hope you can help me on this one. I have a class to load an XML file. I'm trying this: As Eric said, remember that the Event class is your friend. You will want to manage any asynchronous "procedure" (such as Remoting, XML parsing, NetConnect

RE: [Flashcoders] how to return in this function

2008-01-29 Thread Claudio M. E. Bastos Iorio
alf Of Juan Pablo Califano Sent: Tuesday, January 29, 2008 10:37 PM To: Flash Coders List Subject: Re: [Flashcoders] how to return in this function >> > var mivariable:retornaXML = new retornaXML(); >> > trace(mivariable.elXML); >> > but this trace returns null, since the xml

Re: [Flashcoders] how to return in this function

2008-01-29 Thread Juan Pablo Califano
]> To: "Flash Coders List" Sent: Tuesday, January 29, 2008 7:30 PM Subject: Re: [Flashcoders] how to return in this function seems like an item for the newbie list tbh:) On Tue, Jan 29, 2008 at 8:27 PM, Claudio M. E. Bastos Iorio < [EMAIL PROTECTED]> wrote: Thank

Re: [Flashcoders] how to return in this function

2008-01-29 Thread Hans Wichman
y 29, 2008 4:07 PM > To: Flash Coders List > Subject: Re: [Flashcoders] how to return in this function > > you could use an event to listen to, to pass the XML out of the class. > > On Jan 29, 2008 1:42 PM, Claudio M. E. Bastos Iorio <[EMAIL PROTECTED] > > > wrote: > &g

RE: [Flashcoders] how to return in this function

2008-01-29 Thread Claudio M. E. Bastos Iorio
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eric e. dolecki Sent: Tuesday, January 29, 2008 4:07 PM To: Flash Coders List Subject: Re: [Flashcoders] how to return in this function you could use an event to listen to, to pass the XML out of the class. On Jan 29, 2008 1:42 PM

Re: [Flashcoders] how to return in this function

2008-01-29 Thread eric e. dolecki
you could use an event to listen to, to pass the XML out of the class. On Jan 29, 2008 1:42 PM, Claudio M. E. Bastos Iorio <[EMAIL PROTECTED]> wrote: > Hi guys, hope you can help me on this one. > > I have a class to load an XML file. I'm trying this: > > > > > package { > import flash.net.URLR

[Flashcoders] how to return in this function

2008-01-29 Thread Claudio M. E. Bastos Iorio
Hi guys, hope you can help me on this one. I have a class to load an XML file. I'm trying this: package { import flash.net.URLRequest; import flash.net.URLLoader; import flash.events.*; public class retornaXML{ private var _xml:XML; public function retornaXML() {