Copy link to clipboard
Copied
i recently created a small app, in preperation for a future job, which grabs data from an XML, to populate a dropdownList, which in turn populates a text area.
however.... when i go to export it and implement it to a "basic" webpage... i get different errors depending on where i am viewing from...
if i use Dreamweavers "live view" i get an error saying "Error #2148 null", and if i view it via Firefox, i get the error " Security error accessing url Destination: DefaultHTTP"
does anybody know whats going on?
URL example... http://www.xmltest.comule.com
Copy link to clipboard
Copied
I fixed the issue, turns out it was just a problem with my webhost -.- all sorted now though....
Copy link to clipboard
Copied
Ah. Saw this late.
Your browser would be caching the XML file. When you send the request for the file, try appending ?somrandvalue to the URL.
Copy link to clipboard
Copied
There are crossdomain restrictions around what your app can load.
These restrictions are relaxed if you launch your app is being run from the bin-debug directory of your project.
http://www.xmltest.comule.com/crossdomain.xml would have to exist permitting access to http://whereveryouvehosted.com/
If you are accessing the XML file where the SWF is deployed, everything will work just fine.