Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Loading errors in Safari

Contributor ,
Apr 13, 2014 Apr 13, 2014

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.

TOPICS
ActionScript
398
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Contributor , Apr 13, 2014 Apr 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.

Translate
Explorer ,
Apr 13, 2014 Apr 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Apr 13, 2014 Apr 13, 2014
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines