This is not an error but a warning. According to Adobe Documentation:
The emulator detected a loadVariables() function call, which may have some run-time restrictions when played on the selected device. Test your SWF file on a device to ensure that the command functions as expected.
Source : Device Central Help
Just test it on the real device .Moreover, dont forget to put a crossdomain.xml file in the root of ur internet server & export ur swf under Access Network Settings Only . For quick tests, u can try a test.xml placed in my free server at http://sajisoft.site11.com/files/test.xml. i.e just write this code on ur timeline and put a dynamic text on stage with instance name "mytxt":
Code:
var my_xml = new XML();
my_xml.onLoad = function(success){
if (success){
_root.mytxt.text = this; //trace statement may not work in this case
}
}
my_xml.load("http://sajisoft.site11.com/files/test.xml");
It is working for me on Device Central & on 5800 XM .
Best Regards,
SajiSoft