Adobe Flash won’t pick up the phone to MySpace’s Javascript
Thursday, June 11th, 2009Sometimes we’ve hit a road-block when we’re trying to make Flash talk to the External Interface in our MySpace applications.
The Flash is having a great time and is more than happy to call Javascript with ExternalInterface when it wants. But when Javascript wants to chat back… beep beep. “Please leave a message”.

Flash appears to ignore the call, and leaves Javascipt in an error state and needing ice-cream.
To help you avoid that little relationship problem here’s the fix to the problem. Add the following to your code,
System.security.allowDomain(“*.msappspace.com”);
System.security.allowDomain(“*.yourdomain.co.uk”);
Flash’s Sandbox is set to divert all calls by default and blocks any chat. However as soon as you’ve added the allowDomain. Flash shouts, “HELLO!”, and it’s all back on again.
One big happy social networking family.







