Re: [FlexJS] Using CreateJS with FlexJS

2016-05-12 Thread Peter Ent
Thanks. Just fixed it. ‹peter On 5/12/16, 3:47 PM, "OK" wrote: >I just found an error in the "FlexJS, TweenJS Demo" code: > >http://ns.adobe.com/mxml/2009"; > xmlns:local="*" > xmlns:js="library://ns.apache.org/flexjs/basic" > xmlns:cjs="libr

Re: [FlexJS] Using CreateJS with FlexJS

2016-05-12 Thread OK
I just found an error in the "FlexJS, TweenJS Demo" code: http://ns.adobe.com/mxml/2009"; xmlns:local="*" xmlns:js="library://ns.apache.org/flexjs/basic" xmlns:cjs="library://ns.apache.org/flexjs/createjs" applicationCompl

Re: [FlexJS] Using CreateJS with FlexJS

2016-05-12 Thread Alex Harui
On 5/12/16, 8:05 AM, "Harbs" wrote: >True. But making it useful in real-life projects will make people want to >use it. > >I’m not saying Peter needs to be the one to do it, but I think it needs >to be done for CreateJS to be useful in production. Definitely we should have such a thing. I gue

Re: [FlexJS] Using CreateJS with FlexJS

2016-05-12 Thread Harbs
True. But making it useful in real-life projects will make people want to use it. I’m not saying Peter needs to be the one to do it, but I think it needs to be done for CreateJS to be useful in production. On May 12, 2016, at 5:58 PM, Alex Harui wrote: > IMO, the point of what we did was to d

Re: [FlexJS] Using CreateJS with FlexJS

2016-05-12 Thread Alex Harui
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:

Re: [FlexJS] Using CreateJS with FlexJS

2016-05-12 Thread Harbs
You could conceivably have more than one Create.js canvas in an application. (Very likely in fact.) For example, I have an (Angular) app which uses Easel.js for positioning and cropping of images. This is within a popup window. Easel.js could easily be used elsewhere in the app for other purpos

Re: [FlexJS] Using CreateJS with FlexJS

2016-05-12 Thread Peter Ent
I have thought about that and we might have a element that was a Canvas and then its children could be the same things you would be into a . 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 St

Re: [FlexJS] Using CreateJS with FlexJS

2016-05-12 Thread OK
>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 b

Re: [FlexJS] Using CreateJS with FlexJS

2016-05-06 Thread Peter Ent
Hi, I've tuned the Wiki page on FlexJS CreateJS and refined the example even further so you really get a sense of how you can build CreateJS application using MXML. In the Wiki page, I've emphasized the benefits of using ActionScript and MXML over JavaScript, so hopefully that will give CreateJS d

Re: [FlexJS] Using CreateJS with FlexJS

2016-05-05 Thread Alex Harui
On 5/5/16, 8:51 AM, "omup...@gmail.com on behalf of OmPrakash Muppirala" wrote: >Wow this is awesome. This is the power of Flex(JS)! I'm going to have to >find time to play more with this. > >Thanks for working on this, Peter! Yes, this is a great illustration of how FlexJS may make using an

Re: [FlexJS] Using CreateJS with FlexJS

2016-05-05 Thread OmPrakash Muppirala
Wow this is awesome. This is the power of Flex(JS)! I'm going to have to find time to play more with this. Thanks for working on this, Peter! Regards, Om On Thu, May 5, 2016 at 8:07 AM, Peter Ent wrote: > Hi, > > I have updated the FlexJS CreateJS framework so that things like the > Tweens c

Re: [FlexJS] Using CreateJS with FlexJS

2016-05-05 Thread Peter Ent
Hi, I have updated the FlexJS CreateJS framework so that things like the Tweens can be declared in MXML using the fx:Declarations tag. For example, what was once in the Script block is now in MXML: It even uses data binding to specify eas

Re: [FlexJS] Using CreateJS with FlexJS

2016-04-28 Thread Alex Harui
On 4/28/16, 1:28 AM, "OK" wrote: >Could this kind of implementation considered as a common way to integrate >JS >Frameworks within FlexJS? IMO, yes, one of two common workflows. At the San Francisco FlexJS World Tour event, I talked about the "SWF-first" vs "No-SWF" workflows. Both are valid

Re: [FlexJS] Using CreateJS with FlexJS

2016-04-28 Thread OK
>Today I finished the project of incorporating CreateJS (EaselJS and TweenJS) into FlexJS. This sounds great! I've just read your article and looking forward to check it out by myself. Quote from your wiki article: >If you look at the flex-asjs repository, specifically the frameworks/projects/Crea

Re: [FlexJS] Using CreateJS with FlexJS

2016-04-27 Thread Alex Harui
Moving back to dev@... On 4/27/16, 1:56 PM, "Harbs" wrote: >I will probably make a post about this on Facebook in the beginning of >next week. (Unless someone else gets to it first.) I posted yesterday >about Node.js support, and that post already has almost double the reach >of any previous pos

Re: [FlexJS] Using CreateJS with FlexJS

2016-04-27 Thread Alex Harui
On 4/27/16, 12:50 PM, "Peter Ent" 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 u

Re: [FlexJS] Using CreateJS with FlexJS

2016-04-27 Thread Peter Ent
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 n

Re: [FlexJS] Using CreateJS with FlexJS

2016-04-27 Thread OmPrakash Muppirala
Thanks for the great writeup, Peter! I was wondering if we can write: instead of: var move1:Tween = new Tween(circle); move1.xTo = 400; move1.duration = 1000; That would make it much more concise and easy to follow. Thanks, Om On Wed, Apr 27, 2016 at 12:17 P

Re: [FlexJS] Using CreateJS with FlexJS

2016-04-27 Thread Alex Harui
Thanks for writing this up. I'm wondering if you could also, on a separate page, write about how to use CreateJS with FlexJS in a format that more closely mirrors the Getting Started article. I think it might better illustrate that with FlexJS, you can get started with fewer steps. In theory it

Re: [FlexJS] Using CreateJS with FlexJS

2016-04-27 Thread Peter Ent
Here is the link to the Wiki page about it. I included the original CreateJS demo code[2] from their "Getting Started" section and the code from the FlexJS CreateJS framework example with a bit of an explanation. ‹peter [1] https://cwiki.apache.org/confluence/display/FLEX/Using+CreateJS+with+Fle

Re: [FlexJS] Using CreateJS with FlexJS

2016-04-27 Thread Alex Harui
Cool! On 4/27/16, 9:31 AM, "Peter Ent" wrote: >Hi, > >Today I finished the project of incorporating CreateJS (EaselJS and >TweenJS) into FlexJS. The FlexJS framework, CreateJS, contains a handful >of ActionScript classes that can be cross-compiled into JavaScript and >product CreateJS objects. A

Re: [FlexJS] Using CreateJS with FlexJS

2016-04-27 Thread Andrew Wetmore
Cool! On Apr 27, 2016 12:32 PM, "Peter Ent" wrote: > Hi, > > Today I finished the project of incorporating CreateJS (EaselJS and > TweenJS) into FlexJS. The FlexJS framework, CreateJS, contains a handful of > ActionScript classes that can be cross-compiled into JavaScript and product > CreateJS o