3
我试图使用由Adobe提供的外部接口从JavaScript访问swf函数,并且出现以下错误。闪存外部回拨错误!
SecurityError: Error #2060: Security sandbox violation: ExternalInterface caller http://media.varheroes.com/flash/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()
很遗憾,apps.facebook.com没有跨域策略。我的swf和我的DOM放置在那里。