Problem with Flash ExternalInterface on Google App Engine

后端 未结 3 1443
盖世英雄少女心
盖世英雄少女心 2020-12-10 09:29

I\'ve been struggling with this for the past couple hours now and I really don\'t know what could be wrong. I\'m simply trying to get Javascript to communicate text with Fla

3条回答
  •  被撕碎了的回忆
    2020-12-10 10:17

    I do not see a call to the allowDomain function in your code. With out that the security sandbox will not allow your flash application to communicate with flash and vice versa on the server. Add a call to System.security.allowDomain("mydomain.com", "mySecondDomain.com", "etc.com") for every domain the flash app will be executed on. Also the embed code also needs to specify access for JavaScript by including the parameter .

提交回复
热议问题