Yes, use a result handler function and either trace, alert, or step-through and inspect the result object.  The first thing to look for is is the handler actually getting called.

 

Here is an exapmple from another post:

<mx:HTTPService result="onResult(event)"... resultFormat="e4x" />

import mx.rpc.events.ResultEvent;
Private function onResult(oEvent:ResultEvent):void
{
var xmlResult:XML = XML(oEvent.result);
trace(oEvent.result.toXMLString())
myDataGrid.dataProvider = xmlResult; //same reference as you use in
the binding _expression_
}

 

Tracy


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Dawson
Sent: Thursday, June 22, 2006 12:51 PM
To: [email protected]
Subject: [flexcoders] Re: Flex newbie: issues with HTTPServices and my URL

 

I'm binding. I have a status label that I'm passing success/error
messages to, but didn't have sucess passing the HTTPService response. It
kept showing up blank, like my data-bound DataGrid.

Any suggestions for a quick and dirty debug? Can I throw the HTTPService
response to an alret box or something? (I'm a Flash guy, this is my
first Flex-perimentation.)

--- In [EMAIL PROTECTED]ups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> Are you using a result handler function or binding?
>
>
>
> Binding is hard to debug, but a result handler makes things much
easier.
>
>
>
> Tracy
>

__._,_.___

--
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
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to