How common is it to have an application which is only a Canvas? Would a more realistic demo be to have an application where CreateJS is one piece of it?
On Apr 27, 2016, at 11:57 PM, Alex Harui <[email protected]> wrote: > > > On 4/27/16, 12:50 PM, "Peter Ent" <[email protected]> wrote: > >> I'm working on that - in order to create the Tween I need access to the >> actual CreateJS element stored within the FlexJS component. In other >> words, "circle.element". In an HTML-based FlexJS app, you can do something >> like document[target] to look it up. Within the Tween code, for example, >> there is no access to the CreateJS Stage where you would find the element >> by its name. So I have to pass in something that can be used to get to the >> stage. So I just left it as ActionScript only for the moment. > > The original CreateJS example looks like it passes in a reference to the > circle. So I would think the org.apache.flex.createjs.Tween wrapper code > would take the org.apache.flex.createjs.Circle and pass its element on to > the wrapped Tween instance. I'm not sure how CreateJS Tween code finds the > stage, but the org.apache.flex.createjs.Application should make the stage > available somehow. > > HTH, > -Alex >
