RE: [flexcoders] httpservice formatted as Object 0 = 0 but 1 = 1

2009-03-20 Thread Gregory Kelley
[mailto:flexcod...@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Thursday, March 19, 2009 9:20 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] httpservice formatted as Object 0 = 0 but 1 = 1 This is probably happening because you have left the resultFormat at the default object

Re: [flexcoders] httpservice formatted as Object 0 = 0 but 1 = 1

2009-03-20 Thread Paresh M More
-- *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *Tracy Spratt *Sent:* Thursday, March 19, 2009 9:20 PM *To:* flexcoders@yahoogroups.com *Subject:* RE: [flexcoders] httpservice formatted as Object 0 = 0 but 1 = 1 This is probably happening because you have

[flexcoders] httpservice formatted as Object 0 = 0 but 1 = 1

2009-03-19 Thread Gregory Kelley
I have the following line in the xml returned from the call. rsp stat=ok typePartner/type object inv_text_end_dt= is_comm_paid=0 override_type_id= / /rsp When I reference event.result.rsp.is_comm_paid the result is 0 Now if I pull a record where the value is 1 then the xml looks like rsp

RE: [flexcoders] httpservice formatted as Object 0 = 0 but 1 = 1

2009-03-19 Thread Maciek Sakrejda
: [flexcoders] httpservice formatted as Object 0 = 0 but 1 = 1 I have the following line in the xml returned from the call. rsp stat=ok typePartner/type object inv_text_end_dt= is_comm_paid=0 override_type_id= / /rsp When I reference event.result.rsp.is_comm_paid the result is 0 Now if I pull

RE: [flexcoders] httpservice formatted as Object 0 = 0 but 1 = 1

2009-03-19 Thread Gregory Kelley
; flexcoders@yahoogroups.com Subject: RE: [flexcoders] httpservice formatted as Object 0 = 0 but 1 = 1 Could this have something to do with the fact that 0 coerced to a Boolean is false and '0' is true, whereas both 1 and '1' are true? -Original Message- From: flexcoders@yahoogroups.com

RE: [flexcoders] httpservice formatted as Object 0 = 0 but 1 = 1

2009-03-19 Thread Tracy Spratt
@yahoogroups.com Subject: RE: [flexcoders] httpservice formatted as Object 0 = 0 but 1 = 1 Could this have something to do with the fact that 0 coerced to a Boolean is false and '0' is true, whereas both 1 and '1' are true? -Original Message- From: flexcoders@yahoogroups.com on behalf