Posts Tagged ‘myspace’

Adobe Flash won’t pick up the phone to MySpace’s Javascript

Thursday, June 11th, 2009

Sometimes 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 loves Javascript Heart

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.

rondata at myspace dot com, proper job.

Friday, June 5th, 2009

Rondata

Good Job rondata, you are the lucky one who patrols the MySpace Developers forum helping for lost coding souls.

Being the social network’s developer’s gate keeper, passing through only the most genuine development question to the MySpace API team. Bit of a tough job to make sure they’re not bombarded with constant questioning about some of the ‘in-progress features’ like, External Interface.

Thought Den felt moved enough by your still ongoing constant plight trawling the forums to say, “proper job”.

Social Networking gets underway!

Wednesday, May 27th, 2009

Our MySpace app is starting to be social!

MySpace Social Networking message

It now publishes application activity to the MySpace Friends Feed. For those unfamiliar with the FF, it’s where your friends can keep up to date with all the interesting things you’ve been playing. It’s a great way for your app to gain a bit more traction in the Market place and for others to find it (see below).

MySpace Friends Feed

Admittedly however, we’re not building an app to pass around cute kittens like our recent NOAH project for the pet factor. Because soon the whole of MySpace will telling their friends about their arguments with aMap!

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.

Keeping Tom Anderson at bay on MySpace

Friday, May 8th, 2009

Just popping through some sample code for a myspace application and saw this.

Keeping MySpace Tom Anderson out!
Apparently some apps don’t want the MySpace Founder mr Tom Anderson playing their game!


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