Hi all forum user,
I have a problem with loading xml Object with Adobe Device Central. I’m create the scrollbar to display the value of xml object using the MASK technique. I follow the tutorial in the website (http://www.kirupa.com/developer/flash8/scrollbar.htm)
This is simple code for example…
var loadXml:XML=new XML();
loadXml.ignoreWhite=true;
loadXml.onLoad=function (success){
if(success){
//trace("load xml")
data_xml=loadXml.firstChild.firstChild.childNodes[0];
nodeValue_xml=data_xml.childNodes[0].firstChild.nodeValue;
box.txtName.text=nodeValue_xml //value of firstChild
}
}
loadXml.load("computer_hardware.xml")
When I test Movie with publish setting of Flash Player 10 and ActionScript 2.0 it works…!!
But when I test with publish setting of Flash Lite 3.0 and ActionScript 2.0 , I choose option mobile Nokia X6 , it does’nt work. No text display on the screen. I know the Flash Lite has limitation with loading XML object when it displayed via Flash Output for the following :
FTPS033: A Call to loadVariables(perkakasan_pc.xml) found, limitations might apply.
How to solve this problem… Any ideas?
Thank for your help to all forum user…