Flash AS3 Getting Security sandbox violation when trying fetch an external swf

后端 未结 3 1497
再見小時候
再見小時候 2021-01-18 14:32

Hii, I\'m tring to load swf file to my flash application from a different server. When i try to load it on flash IDE (crl+enter) everything is working fine, but when i run t

3条回答
  •  执笔经年
    2021-01-18 15:32

    Your error is from the external location not having a cross domain file, not you. Check out this tutorial on using a bridge file to communicate with an external api. I used as3 and php in this example. The trick is to maintain control of the cross domain file on your domain.Then let your server communicate with the api.

提交回复
热议问题