• 2:12 pm, 4th March 2007
  • flash

3D flash logo

Flash on the Beach was a great conference and the session which left me most inspired was Seb Lee-Delisle‘s on the basics of 3D in Flash. I took Seb’s example ActionScript 2 and built a simple 3D engine in AS3, as much an experiment with AS3 and open source compiliation as 3D in Flash. My recent MacBook purchase caused it to take a little longer to get something working but my first results are now ready.

Click and drag to rotate the logo.

The SWF reads a couple of XML files which configure the camera position and field of view and specify the structure and layout of the objects. You can toggle the amount of perspective blur and I left in the ability to highlight each letter which was useful during debugging z-ordering.

Developing AS3 in Eclipse on the Mac is made much easier thanks to Steve Nelson’s ANT build template (which Keith Peters has posted on BIT-101). There is still no code highlighting or hinting a la FlashDevelop for OS X but at least you can avoid using terminal to compile your code.

I’m going to tidy up my 3D classes and will hopefully post them up soon.

2 Comments for 3D flash logo

  • 12:35 pm, 5th March 2007

Thanks Seb (not Lee – I’ve updated the post. D’oh!)

I’ve really enjoyed understanding more about rendering 3D in ActionScript and its rewarding to get something working. I’d like to investigate animation and physics next… shouldn’t take long :-P

Thanks again for the great session,


  • 10:46 am, 5th March 2007
Seb Lee-Delisle

Hey Chris,

looks really great, and I’m so pleased that my presentation was helpful to you.

Keep up the fantastic work.


(PS my first name is Seb, not Lee ;-) )

Leave a comment

  • Name
  • Email
  • URL
  • Comment


  • No recently listened tracks.