# Get more than to digit with xml and flash

**URL:** <https://forum.kirupa.com/t/get-more-than-to-digit-with-xml-and-flash/258296>\
**Category:** Uncategorized\
**Created:** [April 22, 2008, 7:56pm UTC](https://forum.kirupa.com/t/get-more-than-to-digit-with-xml-and-flash/258296 "2008-04-22T19:56:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![csform](https://avatars.discourse-cdn.com/v4/letter/c/d26b3c/32.png) [@csform](https://forum.kirupa.com/u/csform)\
**Post date:** [April 22, 2008, 7:56pm UTC](https://forum.kirupa.com/t/get-more-than-to-digit-with-xml-and-flash/258296/1 "2008-04-22T19:56:57Z")

</div>

Hello

I have this problem getting the numbers from a xml to flash because I only getting two-digit and hay need to get like 8 digit numbers and I dont know what happen.

Here is a example of the code:

var mybook:Number = 0;  
var mymagazine:Number = 0;  
var mycolor:Color = new Color(mccolor);

function loadXML(loaded) {  
…

mybook=\_root.bookonline;  
mymagazine=\_root.magazineonline;

if(mybook\>mymagazine)  
{  
mycolor.setRGB(0x462254);

} else  
{  
colosito.setRGB(0x45AF23);  
}  
…  
}
