Loading integers from XML file

Hello

I’m loading an XML file into flash, one of the fields is an ID of them item in the database the XML file was made from.

I can load everything fine and have put all the data into a multi-dimensional array, but for some reason the ID is a string. I’ve tried using Number(myID), to covert it to an integer but nothing seems to work.

So how can I load an Integer into Flash using XML and have Flash recognise it as an Integer?

I’m using Flash MX '04.

Cheers

Ric