--- In [email protected], "LazerWonder" <[EMAIL PROTECTED]> wrote: > > Wherever you get the returned XML object from... does it pass in a 1 > or 2? Or does it pass a "1.0" / "2.0". As far as I know, > HTTPService does not transform data (some one more experience can > correct me if I am wrong). It just spits back to you what it > receives.
The XML Returns 1.0 and 2.0; But when it become an object the number 1.0 becomes 1; > > If you have control over the server side of things (that is, where > the HTTPService connects to) you might need to see if 1.0/2.0 is > being passed to the XML object.... or maybe only 1 / 2 is being > passed to the object. If you have no control over this, then you > might need to add the ".0" manually; or if you do have control but > Flex still trip the ".0" off, then try adding quotation marks > around "1.0" / "2.0" on the server side. > That's what i had to do. Add manually, although i still think that FLEX shouldn't mess around whatever you pass as a variable. > You can also do a trace (which I'm sure you already did - but I > thought I'll just plug this in here anyways) statement on the > returned object, just to see what you get. Yeah i did indeed and that's why i'm saying it's returning as integer and not as a string which is the one i need. =/

