On your httpService  set    resultFormat="xml" 
Then use debugger to see what you get back in result event to then 
see how to pick out what your looking for.  Should work with out a 
problem.


--- In [email protected], "Jason" <[EMAIL PROTECTED]> wrote:
>
> Does the XML data HAVE to be an RSS?  If I change 
> 
> <rss version="2.0"
> xmlns:content="http://purl.org/rss/1.0/modules/content/";
> xmlns:wfw="http://wellformedweb.org/CommentAPI/";
> xmlns:dc="http://purl.org/dc/elements/1.1/";>
> 
> To
> 
> <?xml version="1.0" encoding="UTF-8" ?>
> 
> The load fails.  I haven't worked to much with XML so a lot of this 
is
> new to me.
> 
> ***
> 
> I am using the following syntax:
> 
> private function onFeedResult(event:ResultEvent):void {
>       var xml:XML = new XML(event.message.body);
>       xml.ignoreWhitespace = true;
>       feedItems = new XMLListCollection(xml.foo.item);
>       panelTitle = xml.foo.title;
>       }
> 
> 
> 
> <mx:HTTPService 
>    id="dataRequest"
>    url="data/data.xml"
>    result="onFeedResult(event);"
>    useProxy="false"/>
> 
> 
> Any suggestions? I'm somewhat new to Flex having worked mostly with
> older versions of Flash.
> 
> 
> - Jason
>


Reply via email to