Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Flex > Flex 2, 3 & 4

Reply
 
Thread Tools Rate Thread Display Modes
Old 06-04-2012, 04:14 AM   #1
shubs6
Adobe Flex 3 Certified
 
Join Date: Sep 2007
Location: New Delhi
Posts: 73
Default UrlLoader throwing security sandbox exception in Firefox

Our app used to work fine on all browsers (IE, chrome, firefox is what we deliver it into) but for more than a month now it has stopped working on firefox selectively. By selectively I mean that it works on firefox on some machines like - if a user accesses it from home network it works fine, and for some users it works on office networks as well so we cant really generalize. I debugged the code within office network and these are the first 3 lines of trace that I get on console.

[SWF] C:\VMC_Development_Release\New_UI\bin-debug\xyz.swf - 4,166,632 bytes after decompression
*** Security Sandbox Violation ***
SecurityDomain 'null' tried to access incompatible context 'file:///C:/VMC_Development_Release/New_UI/bin-debug/xyz.swf'

Above error comes when first xml is loaded by the app. The error is thrown on the line in bold.

public function loadAppXml():void
{
var urlLoad:URLLoader=new URLLoader();
urlLoad.load(new URLRequest("xmls/emailName.xml"));
urlLoad.addEventListener(Event.COMPLETE, onXmlLoaded);
}

public function onXmlLoaded(e:Event):void
{
var xm:XML=XML(e.currentTarget.data);
}

We have not been using crossdomain.xml at all. and i dont think that is the cause of the problem as our app works on mozilla on many machines anyways.

Can anybody suggest a solution?
Any help is highly appreciated.
__________________
Cheers..
----------------
Shubhra Bhushan
shubs6 is offline   Reply With Quote
Old 06-05-2012, 04:09 AM   #2
shubs6
Adobe Flex 3 Certified
 
Join Date: Sep 2007
Location: New Delhi
Posts: 73
Default

Any suggestions guys?
__________________
Cheers..
----------------
Shubhra Bhushan
shubs6 is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:21 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.