Posts Tagged ‘as2’

Stuck in an AS2 rut?

Thursday, April 1st, 2010

Dan too, and here’s his plan to fix it. This coming Thursday (8th April), Thought Den are hosting a mini flash game code-a-thon and we’re inviting other AS2 coders to come along.

Flash AS3 day

Flash AS3 day

The day will see us all coding our own games, but we all have to do it in AS3. Painful? No, because we’ll all be in the same room, we’ve all coded in AS2 before, we’ll have the internet and most importantly we can share as we go. A bit like crowd-sourcing from clever individuals.


Thought Den provide.

breakfast, coffees & lunch
prize for the best game at the end of the day!

You provide.

computer with Flash installed
a game idea
openness to help your fellow man

Mail me, dan at thoughtden dot co dot uk for an invite.

—— DETAILS ——-
The plan.
Code a game in AS3.

Prize for best game.
A book! yup. “The Art of Game Design: A book of lenses: A Book of Lenses” (http://www.amazon.co.uk/Art-Game-Design-lenses-Lenses/dp/0123694965/)

Who’s it for?
AS2 coders / coders, looking to start coding games in AS3

The place.
Pervasive Media Studio
Leadworks,
Anchor Square,
Harbourside
Bristol
BS1 5DB
some details are here – http://www.pmstudio.co.uk/open-studio-friday

The time.
Thursday 8th April. 8 till 5.30.

Places.
Mail dan@thoughtden.co.uk

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.


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