views:

539

answers:

2

Hi,

I have build my entire website with flash and embedded several swf objects (slideshows) into it. everything always worked fine when I published it as swf movie. but now that I want to upload my website an error message occurs saying:

Error #2044: Unhandled SecurityErrorEvent:. text=Error #2140: Security sandbox violation: file:///mylayout.swf cannot load file:///slideshow_1.swf. Local-with-filesystem and local-with-networking SWF files cannot load each other.

I know that it has something to do with the fact that one of the swf is local with filesystem and the other local with networking. but in my publish settings i told it to access local files only. but it didnt help.

does anyone have an answer?

A: 

The crossdomain.xml file should have your server name specified. For example take a look at http://www.msn.com/crossdomain.xml

You will have to specify the domain names there. Your server should also be having a crossdomain.xml. Add the corresponding server name there. For example if you are using localhost, try adding

<allow-access-from domain="localhost" secure="true"/>
Bragboy
A: 

sorry for being such a newbie in doing a flash website. but i dont really know what your are talking about. i am hosting my website at www.all-inkl.com. besides that i have not uploaded it yet. i am just testing it offline. and the code

<allow-access-from domain="localhost" secure="true"/>`

where should i add it, to my timeline?

thank you for your help.

Jennifer Heidelberg