-
Notifications
You must be signed in to change notification settings - Fork 823
Description
Apache Royale is the sequel to Flex, and it includes support for compiling to both SWF and JS
It doesn't provide a playerglobal on the JS target but OpenFL supports Royale.
trough what amounts to a bunch of Conditional compilation to use OpenFL.* Imports instead of flash.* On JS and only compile some stuff when targeting flash this can be achieved, Royale provides the COMPILE::SWF and COMPILE::JS defines by default.
This would allow Starling AS3 Apps to be gotten on HTML5 without a full rewrite or a emulation (maybe I'm 5 years too late to this too)
This is pretty easy work, I'm working on it and opened the issue to know if it'd be desirable upstream.
I guess this would in a way be StarlingJS, so in a way, you could say it was meant to be after all :)