IMO, the point of what we did was to directly mimic their "Getting Started" examples with as little code as possible.
Mixing worlds is likely to be quite a bit of work, but volunteers are welcome to tackle it. There can be issues around focus management, hit detection, etc. -Alex On 5/12/16, 7:48 AM, "Peter Ent" <[email protected]> wrote: >I have thought about that and we might have a <cjs:CreateJS> element that >was a Canvas and then its children could be the same things you would be >into a <cjs:View>. I think it is a possibility. > >And now that I've written that statement, a thought occurs me: What if >cjs:Application did not create a Canvas and CreateJS Stage, but instead >extended core.Application for the only purpose of injecting the HTML >needed to load in CreateJS and TweenJS JavaScript? THEN, eliminate >cjs:View altogether and just had cjs:CreateJS so you could put the >CreateJS anywhere you wanted in your HTML document. Makes me think, >"HmmmŠ" > ><cjs:Application Š> <!‹ just to get the CreateJS.js and TweenJS.js code >injected into index.html ‹> > <js:initialView> > <js:ViewBase> > <!‹- put FlexJS Basic components here ‹> > <cjs:CreateJS> > <!‹ put CreateJS stuff here ‹> > </cjs:CreateJS> > </js:ViewBase> > </js:initialView> ></cjs:Application> > >Further thoughts? Not 100% sure it is possible, but seems likely. > >Peter Ent >Adobe Systems/Apache Flex Project > >On 5/12/16, 9:46 AM, "OK" <[email protected]> wrote: > >>From the wiki page: >> >>"...The FlexJS CreateJS Application tag creates the HTML5 Canvas >>automatically... >>Components from the FlexJS Basic framework cannot be used with components >>from the >>FlexJS CreateJS framework...." >> >>I understand that there's no way to place FlexJS HTML components on the >>Canvas but I wonder how we could embed a "FlexJS CreateJS Canvas" inside >>a >>FlexJS app. >> >>Thanks, >>Olaf >> >> >> >> >> >>-- >>View this message in context: >>http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Using-CreateJ >>S >>-with-FlexJS-tp52630p53000.html >>Sent from the Apache Flex Development mailing list archive at Nabble.com. >
