I was hoping someone could help me out here. I am trying to read XML data from a SharePoint site. The issue I am having is that the flash project works just fine when I preview the swf in flash, however when I try to view it in HTML it does not load the XML file.
Now the XML file is not a simple document that can live in the same folder as the swf. I have to use a link to a web page. This is the code that I am using (sorry. had to change the web address)
Actionscript Code:
var testXML:XML = new XML();
testXML.ignoreWhite = true;
testXML.onLoad = function(success) {
if (!success) {
trace("testXML did not load");
} else {
trace("testXML loaded");
}
}
testXML.load("http://sharepoint.com/sites/divisions/workgroups/_vti_bin/owssvr.dll?Cmd=Display&List=C3250E8A-148A-4310-800E-E21AEC253338&XMLDATA=TRUE");
Can someone tell me if I am doing something wrong? Any help would be greatly appreciated.