views:

22

answers:

2

Hello Everyone, here is the link of my Flash application http://www.asa.com.pk/ hit the above URL and click on the PostCard section shown.. This will show you image and button to download that image. Application works fine at above URL and it downloads the file too but when any user hits the alternate url , the file is not downloaded.. http//asa.com.pk/

I need help on it..

A: 

My debugger shows:

Error #2044: SecurityErrorEvent no controlado: text=Error #2048: Violación de la       seguridad Sandbox: http://asa.com.pk/main.swf no puede cargar datos desde http://www.asa.com.pk/downloads/largeimage/mcb.gif.
    at main_fla::MainTimeline/Download_Started()

Quick Google Search ended on:

http://stackoverflow.com/questions/477904/actionscript-error-2044-unhandled-securityerrorevent-texterror-2047-securi

http://www.actionscript.org/forums/showthread.php3?t=148714

I think you will get it after this, basically it's a crossdomain.xml thing.

I have tested your app, and the error it's exactly because of the flash player 10 sandbox feature, you need to use a crossdomain.xml file where you allow both domains to be cross-accessed.

Carlos Barbosa
A: 

There are a number of things you can do to fix security errors like this.

Hope this helps.

jolyonruss