Copy link to clipboard
Copied
Hi,
Does anyone know why Safari isn't loading external content. The content is on the same domain. The loading works on Chrome, IE, and firefox. But I'm getting a 2032 stream error on Safari.
There's nothing fancy in the code. For example the code to load an xml file is as as follows:
var appInfoLoader:URLLoader = new URLLoader();
appInfoLoader.addEventListener(Event.COMPLETE, parseDataXML);
appInfoLoader.addEventListener(IOErrorEvent.IO_ERROR, loaderIOErrorHandler);
appInfoLoader.load(new URLRequest("data/data.xml"))
I'd appreciate any info you may have.
Best,
C.S.
Thanks for your reply.
I have it working now. I compared the code to another working example and saw that the only difference was that the xml file was not contained in a subdirectory. Once I placed the xml file in the same location as the SWF and changed the code accordingly, the file loaded. Weird.
Copy link to clipboard
Copied
Since this is a stream error with a browser, I don't think anyone in this section would be able to help you, my best guess would be to contact those who work with safari. If it works in all other browsers, I think that safari may have a different protocol for streaming.
Copy link to clipboard
Copied
Thanks for your reply.
I have it working now. I compared the code to another working example and saw that the only difference was that the xml file was not contained in a subdirectory. Once I placed the xml file in the same location as the SWF and changed the code accordingly, the file loaded. Weird.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now