External external callback error!

I am trying to get the swf function from javascript using the external interface specified by adobe and I am getting the following error.

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()

Unfortunately, apps.facebook.com does not have a crossdomain policy. My swf and my DOM are there.

+3
source share
2 answers

This is the facebook bridge bug they fixed now!

0
source

You can set allowcriptaccess always when embedding a flash drive.

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

0
source

Source: https://habr.com/ru/post/1731519/


All Articles