开发者

Flex loadStyleDeclarations Error 2035 on Firefox

开发者 https://www.devze.com 2023-03-13 03:40 出处:网络
I\'m loading a stylesheet from a swf into another swf via this call: private var styleSheetURL:String= \"commonsStyles.swf\";

I'm loading a stylesheet from a swf into another swf via this call:

private var styleSheetURL:String  = "commonsStyles.swf";
private var dispatcher:IEventDispatcher;


dispatcher= StyleManager.loadStyleDeclarations( styleSheetURL + "?" + Application.application.parameters.myparam);

It works fine in a ll browsers except for Firefox 4.0.1, and even then its inconsistent across all tests machines. I get Error #2035 . That is URL Unknown error , which doesn't make sense because it works on IE s开发者_如何学运维o the loaded .swf must be present. I checked to see if there were any missing assets inside the css and I didn't find any but its a large css file so I could have missed something. Any ideas?


The problem seems to point to the Firefox Connection Settings. Try changing "Automatic Proxy Configuration URL" to Manual Proxy Configuration.

0

精彩评论

暂无评论...
验证码 换一张
取 消