Categories
News

Branden Hall on Hype at FlashBrighton

I’m really pleased to say that we have Branden Hall speaking at FlashBrighton tomorrow night (March 23rd 2010) about Hype. Hype is Branden and Joshua Davis‘ love child (now there’s a scary thought!) and I’m really excited about it. Josh was inspired by the way Flash made it easy to hack around with script and […]

Categories
General

Mind your semi-colons!

(previously titled : Flash Player bug? for each..in loops) [UPDATE] Kudos and much thanks to Tim Knip who pointed out that it was in fact my mistake – there’s a stray semi-colon at the end of the line : for each(byteArray in soundSources); Which is of course ending the loop there and just running the […]

Categories
General

ActionScript SoundDataEvent.position

… is measured in samples. Not bytes or mils. So if you want to know how it relates to the ByteArray you’re working with, you need to multiply it by 4 (as each floating point sample requires 4 bytes). And if you want to convert it to mils, you need to divide by 44.1, the […]

Categories
General

ActionScript SoundChannel.position

… is measured in milliseconds. Why do I mention this? Because it seems to have been entirely omitted from the ActionScript live docs and it took me a while to figure it out. Maybe this post will save someone some time in the future. 🙂 [UPDATE] I just noticed that this is actually specified in […]

Categories
Speaking

3D engine in 10 lines*

UPDATE – HTML 5 Canvas version now online During my session at the Flash Gaming Summit, I showed a very simple 3D particle renderer to attempt to demystify the process of converting 3D into 2D. [kml_flashembed publishmethod=”dynamic” fversion=”10.0.0″ useexpressinstall=”true” movie=”/wp-content/uploads/manual/2010/Particles3D.swf” width=”500″ height=”350″ targetclass=”flashmovie”] [/kml_flashembed] Click and drag. The actual code that converts from 3D to […]

Categories
General

FlashPlayer 10.1 coolness

I just got back from a crazy fleeting visit to Amsterdam for FITC, and now the dust is settling, I wanted to talk about some cool new features in FlashPlayer 10.1, especially now that FlashPlayer 10.1 Beta 3 has just been released on Adobe Labs! RTMFP – Peer-to-peer networking Yes it’s quite catchy name I […]

Categories
General

Changing the default app to open a .swf on OSX

This has been a massive problem to me lately, particularly with distributing files on my training courses. For some reason, the swf files that I give my attendees don’t open with the stand alone FlashPlayer, instead they often default to Flash CS4 etc. I know the usual way to do this is by right clicking […]

Categories
General

Giving ElectroServer more memory

So after last time, I thought I’d given ElectroServer more memory, but it turns out I hadn’t. I’m not exactly sure why, but I suspect it’s something about how Media Temple is set up. So rather than call the main ElectroServer app (which is just a shell script), I’m opening the ElectroServer jar file, and […]

Categories
General

ElectroServer security sandbox violation error

I suddenly started getting a really weird error from Flash when trying to connect to ElectroServer : Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: //games.seblee.me/moonlander/MoonLanderViewer.swf cannot load data from 72.47.193.154:9899. I posted to the ElectroServer forums and quick as a flash, Teresa got back to me – apparently ElectroServer was running out of […]

Categories
General

Lego-ize yourself

Pete Hellicar and Joel Gethin Lewis put me on to this iPhone app that creates a Lego portrait of you which is awesome. But I thought it’d be fun to do it in Flash in realtime.