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/
Asked
Active
Viewed 203 times
2 Answers
0
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://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.

Community
- 1
- 1

Carlos Barbosa
- 1,422
- 2
- 23
- 42
0
There are a number of things you can do to fix security errors like this.
- Create a valid crossdomain.xml file under both http://domain.com & http://www.domain.com
- Set the DNS to forward http://domain.com to http://www.domain.com permanently
- In your AS code add Secuirty.allowdomain( "*" );
Hope this helps.

jolyonruss
- 1,770
- 2
- 19
- 34