PDA

Click to See Complete Forum and Search --> : Getting at My XML data



Surzycki
06-24-2001, 02:37 PM
Would anyone out there know why I can't get at my XML data once it has been loaded into my Flash movie? I can get to it fine if I load an XML file directly no problem, routine, standard BUT, the same file that is loaded through an ASP call (Flash calls an ASP script that returns XML) is loaded into my movie fine but, I can't get to the data stuff like

MainTag = new XML();
MainTag = this.firstChild.nextSibling;

in my XML handler function, no longer works, but the data can be seen when I debug!?!?

If anyone has some insight it would be appreciated

Thanks
Stefan

tupps
06-25-2001, 01:58 AM
Do you have permission to open your XML? Once you have put the swf file on the web server you only have permission to get the XML from the same server (or sub servers) that the original web page that contained the flash file was delivered from.

The only other thing to check is that you have the flash 5 plugin installed.

Thanks

Luke