Om, Check this out;
https://jsfoo.talkfunnel.com/2013/788-using-randorijs-and-kontikijs-to-create-2d-webgl-based-games-from-existing-starling-as3-code Load this in Chrome; http://renaun.com/html5/randoristarlingtest/hero.html That whole thing and the Starling framework was cross compiled with the Randori compiler I wrote. :) It uses the same as code! Renaun had to make tweaks but this shows what we could do if we wanted to. Mike On Tue, May 19, 2015 at 3:35 PM, OmPrakash Muppirala <bigosma...@gmail.com> wrote: > On Tue, May 19, 2015 at 11:22 AM, Michael Schmalle < > teotigraphix...@gmail.com> wrote: > > > On Tue, May 19, 2015 at 2:10 PM, OmPrakash Muppirala < > bigosma...@gmail.com > > > > > wrote: > > > > > > > > > > > > > > A key thing about FlexJS though is that we are trying to make the > tools > > > > “framework-agnostic” so I’m not sure there are as many edges as there > > are > > > > for a monolithic framework like the current Flex SDK. If Josh were > > > > starting Feathers today off of FlexJS, in theory he wouldn’t have had > > to > > > > muck with the compiler at all. > > > > > > > > > > Which is why (as I have said in the past), FlexJS is a poor name for > > this. > > > There is really nothing 'JS' related in the framework itself. A while > > ago, > > > I mucked around with the AS part of 'FlexJS' and was able to get a very > > > basic starling based application out of it. I believe it would be even > > > easier to get a FeathersUI app. > > > > > > > > So when you say framework here, you are referring to Application right? > > > > Can you tell me "What" you did to get a Starling app to run using the > > "framework". > > > > FlexJS allows creating wrappers around libraries like jquery, createjs > etc. I followed the same paradigm as this one [1] > > What I set out to do was create a Starling based application on the AS side > and a Canvas/Webgl based application on the JS side. On a high level, we > need an Application.as class that sets up the Starling application + > display list. And an Application.js that creates a Canvas object on top of > which the entire application would be drawn on. > > In Application.as, the Starling startup code from [2] needs to be set up. > > I got until this part and got distracted with SVG, etc. so gave up on > that. Perhaps you can give this approach a try and see where it leads? > > Thanks, > Om > > [1] > > https://github.com/apache/flex-asjs/blob/develop/frameworks/projects/JQuery/as/src/org/apache/flex/jquery/Application.as > [2] http://wiki.starling-framework.org/manual/startup_code > > > > > > I am trying to see why you would even want to do this? Starling just > > bootstraps with an easy main .as class. > > > > Mike > > > > > > > > > There are two parts: the framework which lets you create any kind of > app > > > using AS3 and MXML. And then there is a JS transpiler (FalconJX) The > > > framework part can be technically be used to create any kind of > > application > > > (think iOS, Android, Starling, etc.) > > > > > > Thanks, > > > Om > > > > > >