flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Tynjala <joshtynj...@gmail.com>
Subject [FalconJX] -js-output-type=node
Date Tue, 12 Jan 2016 01:25:11 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message