Mike Chambers

code = joy

Archive for September, 2009

Pixel Mesh on Why Max

with 5 comments

Video after the break:
Read the rest of this entry »

Written by mikechambers

September 29th, 2009 at 11:20 am

Posted in General

FOTB Slides : Advanced Desktop Development with Adobe AIR

with 22 comments

I am in Brighton for Flash on the Beach 2009 (amazing conference as usual). I gave a presentation on Adobe AIR yesterday, titled “Advanced Desktop Development with Adobe AIR“, which went well. I covered how to accomplish and approach a number of development tasks when working with AIR, and also talked about a couple of new features that we are working on.

I have posted the slides for the session, which you can grab from here.

You can find most of the libraries and code I discussed on the as3corelib library page (look in the com.adobe.air package).

Marc Hibbins has notes on the session here.

Written by mikechambers

September 22nd, 2009 at 2:56 pm

Posted in General

Parsing and displaying BMP files via ActionScript

with 13 comments

I dont have a formal computer science training / education, so I never got the chance to learn about working with low level data structures (bits and bytes). I have wanted to learn this for some time, but had difficulty finding resources for it which didnt assume I had a computer science degree.

Well, yesterday, FITC posted all of the video sessions from FITC Toronto, and I spent some time watching Lee Brimelow’s presentation on working with ByteArrays. It is a really great session, that provides a clear and solid foundation and understanding of working with ByteArrays and bits and bytes.

Anyways, after watching Lee’s session, it all finally clicked for me, and I spent some time last night putting together a simple parser that would dynamically load and display a 24Bit BMP image file within Flash.
Read the rest of this entry »

Written by mikechambers

September 17th, 2009 at 2:32 pm

Posted in ActionScript,General

Tagged with ,

Flash Player 10 System Requirements Updated

with 9 comments

Just a quick note, but we have updated the Flash Player 10 System requirements page. The update adds support for various browsers on Microsoft Windows 7 and Mac 10.6 (Snow Leopard).

You can view the Flash Player 10 system requirements here.

Written by mikechambers

September 15th, 2009 at 8:55 am

Posted in General

Rich Runtime Supported Platforms Matrix

with 14 comments

Below is a matrix that shows supported runtimes for Rich Runtime browser plugins. The matrix compares the latest versions of runtimes, which are supported by the companies that create them.

The runtimes covered include:

Information is obtained from the runtime’s websites (linked below).
Read the rest of this entry »

Written by mikechambers

September 10th, 2009 at 12:35 pm

Posted in General

Converting from Matrix3D to Matrix in ActionScript 3

with 8 comments

For the past month or two, I have been spending time building a game (something I havent done since my Flash 4 days). This has really been a lot of fun, as it has allowed me to use some of the Flash Player APIs which I really haven’t had a chance or need to use before.

One thing which I have been (slowly) learning about are using Matrix transformations on DisplayObjects. I made a post earlier showing how (with much, much help from Senocular), I was able to use Matrix to do hit tests using BitmapData.hitTest on DisplayObjects which have had transformations applied to them (in this case, rotation).

Well, I recently had the need to convert some of my DisplayObjects to use the 2.5D APIs (by setting the z property to a value). Unfortunately, this ended up breaking a lot of my code, mostly because of how it changes how transformations are applied to a DisplayObject. Specifically, when you set the DisplayObject.z property to any value, DisplayObject.transform.matrix will return null, and you must use DisplayObject.transform.matrix3D instead. Where this causes problems is when you are using APIs that expect to use a Matrix instance, as opposed to Matrix3D instance, such as BitmapData.draw.
Read the rest of this entry »

Written by mikechambers

September 9th, 2009 at 10:48 am

Posted in ActionScript