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-CreateJS
>-with-FlexJS-tp52630p53000.html
>Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply via email to