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!
精彩评论