Expected “Expected 1, got 0″, got “Expected 0, got 1″

February 17th, 2009

I got lost a bit today because I got the error message “Expected 0, got 1″ while trying to respond to a dispatchEvent. And because it’s such a weird error, and we need more posts about actionscript 3 programming on the web, I thought I’d share!

Read the rest of this entry »

Unity3D and Flash Media Server

February 12th, 2009

Or, how I ended up reverse engineering Adobe’s RTMP protocol. And be honest to yourself,  how can you not be interested in reverse enginering networking protocols? I don’t know.

For an assignment at my work I had to figure out how to make Unity3D talk with Red5 server. As any gamer at least will acknowledge, 3D graphics + networking = win. But also on the more serious side of things you can use computers for, a 3D multiplayer experience is pretty much as close to virtual reality as you can get.

Read the rest of this entry »

Unity 3D

February 8th, 2009

This is a rather new authoring tool, mainly for creating 3D games. It is powerful, easy to learn, emerged out of nowhere and you should have a look at it.

Among other things, it could be to the internet in 3D what flash is in 2D. Like in flash, you can visually place 3D objects such as FBX models, lights, camera’s and terrains into a 3D world and attach scripts to them. Also like in flash, you can export a created scene to one single file (.unity3d) which you can place into a website. The user will have to download a 4.5MB plugin once, after which he can view all unity content on the internet.

Read the rest of this entry »

Four Years

February 7th, 2009

It’s been four years now, since I decided to focus myself on developing in Flash. I had tried it before, making a smooth scrolling little website to present my paintings, which is strangely enough still online, even though I haven’t touched that lycos account in ages. This was flash version 4 (!) which had awesome features such as attaching a gotoAndPlay action to a timeline and embedding a bitmap image!

Read the rest of this entry »