On 11/9/16, 10:40 AM, "Dev LFM" <developer...@gmail.com> wrote:
>Hi guys, > >Is there anyone here who knows if it is possible for AIR (only >stage3d) projects be compiled to native code (webgl/opengl/directX/etc..), >I mean.. converted to native objective-c/java + GPU stuff? > >My idea is that pure stage3d/as3 projects, could be "easly" converted to >ios/android native without the need of the air player.. but using the >power >of AS3/debug/player desktop for workflow.. I think you are interested in compiling AS3 to Objective-C, Java, or any other language that runs natively on certain platforms. I believe this has been discussed before in relation to FlexJS/FalconJX because the compiler is engineered to support various outputs from the AST. We have an emitter for JavaScript now, but one could certainly add one for TypeScript and other languages. The key problem, IIRC, is that ActionScript has very different scoping rules than most or all native-output languages. I suppose we could add a mode to the compiler to output errors/warnings etc for when you are leveraging AS-oriented scoping. If you are interested in pursing this idea for Apache Flex, feel free to make a branch and try it out. > >Is this something Adobe would be interested Alex? Don't know. You can try asking a Flash/AIR product manager on an Adobe forum. -Alex