I haven't worked with the Google API's, so this is a guess, but I suspect that 
Google is returning XML, and that you are doing some sort of parsing to convert 
some of the XML into the hexadecimal number. If that is correct, you ought to 
be able to use e4x to extract a string from the XML.



----- Original Message ----
From: ivo <[EMAIL PROTECTED]>
To: FlexCoders <[email protected]>
Sent: Thursday, July 17, 2008 2:47:09 PM
Subject: [flexcoders] how do I read a hexadecimal number value correctly?


Hello all,

I am using the Google APIs and am finding the IDs of the objects in Google are 
not getting translated correctly. When I request for a list of GData objects
I get back objects that in the debugger look like this:

id = mx.collections. ArrayCollection (@10781ec1) 
[0] = 5189229149115242496 [0x4803d86adb1dd800 ] 
dispatchResetEvent = true 
filterFunction = null 
length = 1 
list = mx.collections. ArrayList (@1048bb51) 
sort = null 
source = Array (@106e75b9) 

When I read the value of id[0] I get "518922914911524200 0"   .

What would be the correct way of handling this value? I am attempting to covert 
it into a string so I can build a different URL.

Thanks,

- Ivo
    


      

Reply via email to