views:

413

answers:

1

Hello,

I'm trying to load an swf file using SWFLoader in Adobe AIR app. The problem is that after the swf loads, Adobe AIR shows me the following error. I know that this swf tries to download an RSS file from the web.

SecurityError: Error #2028: Local-with-filesystem SWF file file:///xfile.swf cannot access Internet

How can i fix it? Does anyone have any idea?

Thanks,

+1  A: 

In AIR SWFs that are loaded from outside of the contents of the AIR file get put into a sandbox. You need to include the SWF file you are loading in your AIR file. If that is not possible then you will need to make sure that the loaded SWF doesn't try to get outside the sandbox. Read more about the AIR sandbox:

James Ward