|
lastResult is only for binding expressions.
You still use event.result in a handler function. What is the resultFormat of the
HTTPService? If it is object, toString() might not give you anything
useful. For that matter, when you say “doesn’t
work”, exactly what do you mean? Tracy From: In Flex 2, you need to use
'event.lastResult' - Cathy From: Hi there, If I set up a listener it just returns me an object in the
“onResult” event. Why can’t I access my xml string through
“event.result”? How do I access it?
{
// why doesn’t this work?
trace (event.result.
//trace(event.
}
<!-- Simple example to demonstrate the HTTPService tag. --> <mx:Application xmlns:mx="http: creationComplete=
<![CDATA[
import mx.rpc.events.
public function go():void
{
feedRequest.
feedRequest.
}
public function onResult(event:
{
trace (event.result.
//trace(event.
}
]]>
</mx:Script>
id="feedRequest" url="">weblogs.
useProxy="false" /> </mx:Application> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
__,_._,___ |
- RE: [flexcoders] newbie question - HTTP servive Tracy Spratt
- RE: [flexcoders] newbie question - HTTP servive Tracy Spratt

