开发者

Flash External Callback Error!

开发者 https://www.devze.com 2022-12-19 00:52 出处:网络
I\'m trying to acces a swf function from javascript using External Interface given by adobe and I get the following error.

I'm trying to acces a swf function from javascript using External Interface given by adobe and I get the following error.

SecurityError: Error #2060: Security sandbox violation: ExternalInterface caller http://media.varheroes.com/fl开发者_开发知识库ash/flashtest.swf cannot access http://apps.facebook.com/feline-frenzy/flashtest/.
at flash.external::ExternalInterface$/_initJS()
at flash.external::ExternalInterface$/addCallback()
at flashtest_fla::MainTimeline/frame1()

Sadly apps.facebook.com does not have a crossdomain policy. My swf and my DOM lays there.


You can set allowscriptaccess to always when embedding the flash.

See http://kb2.adobe.com/cps/164/tn_16494.html


It is a facebook Bridge Error they fixed it now!

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号