FalconJX just got Node.js support today.

//--- begin HelloNode.as

package
{
    public class HelloNode
    {
        public function HelloNode()
        {
            trace("Hello Node!");
            trace(process.version);
        }
    }
}
var process:Object = require("process");

//--- end HelloNode.as

//--- begin usage

asnodec HelloNode.as
node bin/js-debug/index.js

//--- end usage

I'm sure there are bugs. I probably forgot to add something important in
the build script, but it works on my machine! :)

- Josh

Reply via email to