Mike Chambers

code = joy

Archive for February, 2009

Error: Error #2037: Functions called in incorrect sequence, or earlier call was unsuccessful

with 5 comments

I am doing some work on writing FlexUnit test cases for the FileMonitor class which I have added to as3corelib. Once I wrote the test, I got the following error, which didnt make a lot of sense to me at first:
Read the rest of this entry »

Written by mikechambers

February 28th, 2009 at 2:35 am

Posted in General

Monitoring System Volume changes with Adobe AIR

with 10 comments

I am at FITC Amsterdam this week, where I had a talk on Desktop Development with Adobe AIR. One of the things I showed was how to get notifications when new volumes / drives are added / removed to a machine. This could be useful if for example, you application needs to know when a new CD Rom or USB drive has been added or removed to the user’s system.
Read the rest of this entry »

Written by mikechambers

February 24th, 2009 at 2:32 am

Posted in General

Tagged with ,

FITC Amsterdam / FlashCamp London

with one comment

I am heading to Europe in a little over a week for a couple of conferences. First up is FITC Amsterdam (sold out) where I will be helping Serge and Lee out with the keynote, and doing a session on Advanced Desktop Development with Adobe AIR. After Amsterdam, Serge, Lee and I will be heading over to London for the FlashCamp London, where I will be doing a session on migrating from ActionScript 2 to ActionScript 3, targeting at non-developers.

Ill be in Amsterdam a couple of days before the event, so if anyone wants to grab a beer, or some Frietjes and lekkerbek, just ping me.

Written by mikechambers

February 10th, 2009 at 11:23 am

Posted in General

AIR Bug : AIR Install dialog is displayed in wrong language

with one comment

There is a known issue with the Adobe AIR 1.5 install on Mac where in certain circumstances the install dialog will appear in the wrong language (usually Japanese or Chinese). If you run into this, here are the steps to work around it:

  1. Go to System Preferences
  2. Select International
  3. Make some changes to the Language list: add a language, re-order a language. Also, might want to make sure English is the first one in his list at this point.
  4. Try installing Air again.

This is a known issue and will be fixed in the next AIR dot release.

Written by mikechambers

February 5th, 2009 at 11:49 am

Posted in General

Tagged with

Suggestions for ActionScript 3 Migration Cookbook?

with 49 comments

As part of some of my recent work and research into ActionScript 2 to ActionScript 3 migration, I am working on an AS2 to AS3 migration reference cookbook. The core of the reference is the cookbook section which shows how to do commons tasks in ActionScript 2 and then ActionScript 3. The reference is targeted at users using Flash Pro to create animations and / or motion graphics and includes cookbook examples such as opening a URL, playing a sound, etc…

So, what cookbook examples would you like to see? I am looking for frequently used code snippets / tasks that may require different code in ActionScript 3.

Post any suggestions in the comments.

Btw, the guide will be released for free under a Creative Commons license.

Written by mikechambers

February 4th, 2009 at 9:59 am

Posted in General