Hi Tim, That sounds really interesting. So I assume by "Flash API" and CreateJS that you are mostly replicating the Sprite/DisplayObject APIs? There is a separate effort that I think is biased towards Stage3D that is called SpriteFlexJS.
Anyway, before I go grabbing your repo and trying to get set up, it would be more helpful to me if you could try to reduce this down into fewer pieces and file a JIRA. If you have a HelloWorld and a SWC that might be a good starting point. Thanks, -Alex On 3/13/17, 8:04 PM, "Tim Diggle" <tim.diggle...@gmail.com> wrote: >Hi all, > >I've been working on wrapping the existing create JS support in Flex JS in >an API structure which is identical to the Flash API - the hope is that >eventually this will make it easy to port legacy FLash projects to Flex >JS. > >I've managed to get some basic support for graphical shapes and loading >bitmaps, but the compiling seems very temperamental, in particular it >seems >to not include the needed javascript includes if I call the API classes >from anywhere other than the root main class of a program. > >I've put the whole thing on Github under a BSD license and included a read >me showing how to build the SWC and a description of how to repro the >issues I'm having. I was wondering if any of you would like to try and >build it - anyone who can see if I'm missing a key step in building the >framework SWC which is causing it to miss linkages etc? > >If you look at the project source, you can see that the majority of it is >cloning the classes and function calls from the AS3 reference, usually >wrapping an equivalent from Flex JS. Eventually I'll probably move to Web >GL for performance. > >Also, please let me know if there's a similar initiative further along >that >I can contribute to instead? I haven't seen anything. If not, if anyone >wants to help out then great. > >Github project here: > >https://github.com/tdprogramming/subflash/ > >Thanks all > >Tim