Arduino Mega + as3glue + Firmata 2.1

Hello. I built a small flash application that works perfectly when using the Arduino Duemilinove + Firmata (2.1) + as3glue. But it doesn't work when using the Arduino Mega with the same Firmata and code. I believe that I have everything setup correctly and flash is able to get the firmata version out of the Arduino Mega (as does the Arduino Duemilinove).

I'm aware that the firmata that came with the latest Arduino (0017) is buggy and I have already replaced it with the one found here:, so I'm guessing this is not a Firmata problem, unless the Firmata does not support the Mega, but from what I could find it does support it for simple digital output. What am I missing here?

Any help is greatly appreciated. Thank you in advance, Cassiano