Posts Tagged ‘iframe’

MySpace application, ExternalInterface Calls & SWFObject

Tuesday, May 19th, 2009

We’ve been playing around with MySpace Application Surfaces to get Flash AS2 to talk to a Javascript Interface. It’s been a long day….

Here are our findings for any other Flash & MySpace Developers.

- ExternalInterface + SWFObject + iFrame will not work. Do not spend 4 hours refreshing your browser and re-testing. It will not work. There are also no tutorials to sort it out either.

- getURL is just plain dirty. Don’t do it.

The final solution we settled on is, don’t use SwfObject. Just have a plain Object/Embed tag. Then External Interface can talk to all the relevant parties.

Download our MySpace files (put into the Canvas Surface) and see what we’ve done.


Thought Den is Digg proof thanks to caching by WP Super Cache