Posts Tagged ‘Javascript’

New Flasher, New Geek Club, New Den

Tuesday, May 25th, 2010

Ladies and gentleman it’s been a while. I won’t spend long on the soap-box, and where possible will stimulate with moving pictures, not words, but the important new is – Adam Vernon has joined Thought Den and hopefully you’ll come to love him as we already have (despite his gammy eye, though he insists it’s a new, Bristol-based affliction. He moved here especially you see! A good stat for Bristol Media perhaps – Thought Den drag Edinburgh graduate 400 miles to new Bristol studio)

Below is video 01 from our new Geek Club series, charting the Den’s trials, tribulations, banter and revelations. Think Blue Peter, without the bog roll tubes. Or HP Labs, but with less money and more sellotape.


Adam says :

“It makes use of the OSC protocol (likely eventual successor to MIDI), which is normally used to transmit musical and audio control data over UDP. The iPhone app, TouchOSC, is designed to be used as an OSC controller and also supports transmission of accelerometer data, indicating the orientation of the phone. The UDP packets are received by a Java flosc server, running on the PC, which retransmits the OSC data over Flash-friendly TCP. On receipt of a packet, Flash assigns the received orientation values to the rotationX and -Y properties of a cube made with the Flash10 3D API.”

Word on the street is that we’ve moved studio. An official (and thoroughly imaginative) announcement will follow forthwith. Isn’t it a shame that ‘real’ work gets in the way of devising these witty and clever ways to let you know we now stare at different coloured walls when Firefox crashes? Soon your inboxes will sing to the sound of Thought Den’s latest self-indulgent, digital distraction. Curious? You should be…

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