Skip to main content
Inspiring
April 13, 2014
Answered

Loading errors in Safari

  • April 13, 2014
  • 1 reply
  • 447 views

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.

This topic has been closed for replies.
Correct answer Chris_McLaughlin

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.

1 reply

Inspiring
April 13, 2014

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.

Chris_McLaughlinAuthorCorrect answer
Inspiring
April 13, 2014

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.