Cross Domain ExternalInterface “Error calling method on NPObject”

前端 未结 6 1377
一向
一向 2020-12-08 20:53

I am trying to enable communication between Javascript and Flash via ExternalInterface across domains. The Javascript works great when it is located on the same domain as th

6条回答
  •  半阙折子戏
    2020-12-08 21:42

    I had this same problem (allowDomain etc. were good), but I send to flash bad parameter - just outputed JSON from ajax call. Problem gone, when I put that json in "", and then parse it into javascript object (via jQuery.parseJSON).

提交回复
热议问题