Looking for help with Apache Royale


#1

Has anyone used Apache FlexJS or Apache Royale?

I wanted to create a simple sample, but I have a few issues:

  • I would like to build directly into “dist” (without the stock “bin/js-debug” or “bin/js-release” structure)
  • I would like to have a command-line npm run build command (and not rely only on the “ActionScript & MXML” extension in VS Code) in order to perform builds. I’m not sure if the “asconfig.json” can be shared for this, or not?
  • I want to see if I can reference external JavaScript code. Specifically, I want to be able to create a “flash.display.Sprite” extern class that will call new openfl.display.Sprite () in JavaScript, to use openfl.js. Using external JavaScript with require and Webpack would be bonus points, but using the window global version instead would probably be simplest

I really appreciate any help :grinning:


#2

Thanks to the help of Josh Tynjala on Twitter, I have an initial demo running, this could be promising


#3

Is it the new name of Adobe Flex?


#4

Yeah, they renamed FlexJS and put it on NPM. It’s in beta I think