[flexcoders] Re: How to extract data from XML

2008-05-24 Thread wild.katana
> var xmlLogo:XML = myXML.logo; //even if that expression returns only a > single node. > > > > Tracy > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of wild.katana > Sent: Thursday, M

[flexcoders] Re: How to extract data from XML

2008-05-22 Thread wild.katana
but the XML stuff has not > changed. > > http://livedocs.adobe.com/flex/2/docs/1910.html > > > > Tracy > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of wild.katana > Sent: Thurs

[flexcoders] How to extract data from XML

2008-05-22 Thread wild.katana
Hello, I have loaded an XML from a URL using URLLoader. Now that I have it in an object, how do I access individual parts of that data? The XML looks like this: http://www.w3.org/2005/Atom"; xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/"; xmlns:gml="http://www.opengis.net/gml"; xmlns:ge

[flexcoders] Re: How do I use URLLoader?

2008-05-22 Thread wild.katana
t;instance" scope, that is, not inside a > function. That will make it available anywhere within the class > instance. In non-OO terms, you might call it a "global" variable, but > it is not really global, only global to the class instance, hence the > term "instance

[flexcoders] Re: How do I use URLLoader?

2008-05-21 Thread wild.katana
Do you mean something like this: public var myLoader:URLLoader = new URLLoader(myXMLURL); I tried it 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

[flexcoders] Re: How do I use URLLoader?

2008-05-21 Thread wild.katana
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 loc

[flexcoders] Re: How do I use URLLoader?

2008-05-21 Thread wild.katana
This still isnt working. I tried import flash.net.* and a few other things, no go.. Any other ideas? Tracy, can you clarify what you mean? --- In flexcoders@yahoogroups.com, "wild.katana" <[EMAIL PROTECTED]> wrote: > > I have this code: var myXML:XML = new XML(); > var

[flexcoders] Re: How do I use URLLoader?

2008-05-21 Thread wild.katana
ar :) > > http://livedocs.adobe.com/flex/3/langref/index.html > <http://livedocs.adobe.com/flex/3/langref/index.html> > > On Wed, May 21, 2008 at 1:37 PM, wild.katana <[EMAIL PROTECTED] > <mailto:wild.katana%40gmail.com> > wrote: > > I have this code

[flexcoders] URLLoader

2008-05-21 Thread wild.katana
Wierd, I can't post any replies on my old topic... Tracy, what do you mean by instance variable? I tried: public var myLoader:URLLoader = new URLLoader(myXMLURL); But it didn't work.. Any ideas?

[flexcoders] Re: How do I use URLLoader?

2008-05-21 Thread wild.katana
Wierd, I can't post anything... Tracy, what do you mean by instance variable? I tried: public var myLoader:URLLoader = new URLLoader(myXMLURL); But it didn't work.. Any ideas?

[flexcoders] Re: How do I use URLLoader?

2008-05-21 Thread wild.katana
Tracy, what do you mean about the instance variable? I tried this but it didn't work: public var myLoader:URLLoader = new URLLoader(myXMLURL); Any ideas?

[flexcoders] Re: How do I use URLLoader?

2008-05-21 Thread wild.katana
Wierd, I can't post anything... Tracy, what do you mean by instance variable? I tried: public var myLoader:URLLoader = new URLLoader(myXMLURL); But it didn't work.. Any ideas?

[flexcoders] Re: How do I use URLLoader?

2008-05-21 Thread wild.katana
Hmm, I tried that but it didn't work... I previously tried these as well but they didn't do it, nor did the import flash.net.* ... hmmm import flash.net.URLLoader; import flash.net.URLRequest;

[flexcoders] How do I use URLLoader?

2008-05-21 Thread wild.katana
I have this code: var myXML:XML = new XML(); var XML_URL:String = "http://gdata.youtube.com/feeds/api/videos?vq=football+-soccer&orderby=published&start-index=11&max-results=10";; var myXMLURL:URLRequest = new URLRequest(XML_URL); var myLoader:URLLoader = new URLLoader(myXMLURL); myLoader.addEventL