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
Whoaaa!
On Mon, Jan 11, 2016 at 5:25 PM, Josh Tynjala wrote:
> FalconJX just got Node.js support today.
>
> //--- begin HelloNode.as
>
> package
> {
> public class HelloNode
> {
> public function HelloNode()
> {
> trace("Hello Node!");
Sweet!
On 1/11/16, 8:26 PM, "Josh Tynjala" wrote:
>You would need to use a utility like externc or dts2as, if you wanted to
>get code suggestions in an IDE or strict type checking with the compiler.
>
>Out of the box, dynamic access will always work:
>
>var
You would need to use a utility like externc or dts2as, if you wanted to
get code suggestions in an IDE or strict type checking with the compiler.
Out of the box, dynamic access will always work:
var example_module:Object = require("example");
You can access anything on example_module because