Hi,
I'm writing an app in Flex and I'm trying to register a function in the AS code so it can be called from the enveloping JS.
The AS3 code looks like this:
ExternalInterface.addCallback("functionname", functionname);
If the .swf were called "myspaceApp," for example, then I should be able to call myspaceApp.functioname() from the javascript, but I get the following error on attempts to load the app:
SecurityError: Error #2060: Security sandbox violation: ExternalInterface caller test.swf cannot access http://api.msappspace.com/apprendering/renderapp.ashx?opensocial_token=mAa9IwDossX0rZYtutVeHtOwVDghgmxeKjPWgINq1N%2bArnbl8YutjP27q6vhA9WtcvGPj9yny4j84%2b05wZrPOb%2bFkJCT9jNV50aEcZ5uArA%3d&opensocial_surface=profile.
Any ideas?