Re: FlexJS element setter

2017-10-01 Thread Piotr Zarzycki
Hi Harbs, I'm adding Royale dev list. I just checked your changes with more complex app and apart of many conflicts during merge with my custom SDK I don't see any problems. Take a look into my comments to one of your commit. Once you do that from my sight is green light to merge it to develop.

Re: [FLEXJS] New Royale Repos available

2017-09-27 Thread Tom Chiverton
I was thinking we could make those repos read only once Royale has a fork? Did anyone have any other ideas, see any problems? On 27 September 2017 17:16:43 BST, Alex Harui wrote: >Hi Folks, > >Looks like the new Royale repos have been created, so I think we need >to >switch over to those repos

Re: [FLEXJS] New Royale Repos available

2017-09-27 Thread Alex Harui
The new repos are available here: https://github.com/apache/royale-compiler (was flex-falcon) https://github.com/apache/royale-typedefs https://github.com/apache/royale-asjs https://github.com/apache/royale-tourjs In addition, we will be building out our royale.apache.org website here: https://g

Re: [FLEXJS] New Royale Repos available

2017-09-27 Thread Dave Fisher
The Royale PMC members ought to subscribe to Private right away. I'm not babble dependent and will subscribe to all shortly. Sent from my iPhone > On Sep 27, 2017, at 9:37 AM, Alex Harui wrote: > > The mailing lists appear to be set up, but we may want to get Nabble > hooked up to them before

Re: [FLEXJS] New Royale Repos available

2017-09-27 Thread Alex Harui
The mailing lists appear to be set up, but we may want to get Nabble hooked up to them before moving lots of conversations over there. -Alex On 9/27/17, 9:28 AM, "Erik de Bruin" wrote: >How about the mailing lists? > >EdB > > > >On Wed, Sep 27, 2017 at 6:16 PM, Alex Harui >wrote: > >> Hi Folks

Re: [FLEXJS] New Royale Repos available

2017-09-27 Thread Erik de Bruin
How about the mailing lists? EdB On Wed, Sep 27, 2017 at 6:16 PM, Alex Harui wrote: > Hi Folks, > > Looks like the new Royale repos have been created, so I think we need to > switch over to those repos and not make more commits to flex-asjs, > flex-typedefs, and flex-falcon. > > Thanks, > -Al

Re: FlexJS element setter

2017-09-26 Thread Piotr Zarzycki
Harbs, Give me couple of days and I will pick up that branch and try it out. I will also review those changes and give the feedback. Thanks! 2017-09-26 20:50 GMT+02:00 Harbs : > I think I’m done. Any reason to not merge into develop? > > > On Sep 26, 2017, at 7:01 PM, Piotr Zarzycki > wrote: >

Re: FlexJS element setter

2017-09-26 Thread Harbs
I think I’m done. Any reason to not merge into develop? > On Sep 26, 2017, at 7:01 PM, Piotr Zarzycki wrote: > > Harbs, > > Please push those changes into separate branch "feature/" no matter how non > serious it look. I hope your changes will simplify things. > > Thank you! > > > 2017-09-26

Re: FlexJS element setter

2017-09-26 Thread Harbs
No. I just used it because it’s the simplest UI component. I don’t remember off hand what I needed it for. > On Sep 26, 2017, at 8:59 PM, Alex Harui wrote: > > You aren't the only one, but why did you do it? Is there some subclass of > UIBase missing from the component set? ScratchPad? Space

Re: FlexJS element setter

2017-09-26 Thread Alex Harui
You aren't the only one, but why did you do it? Is there some subclass of UIBase missing from the component set? ScratchPad? Spacer? On 9/26/17, 10:53 AM, "Harbs" wrote: >I’ve used it. > >> On Sep 26, 2017, at 8:41 PM, Alex Harui >>wrote: >> >> IMO, the first question is, do we really need

Re: FlexJS element setter

2017-09-26 Thread Harbs
I’ve used it. > On Sep 26, 2017, at 8:41 PM, Alex Harui wrote: > > IMO, the first question is, do we really need to support "new UIBase()"?

Re: FlexJS element setter

2017-09-26 Thread Harbs
Funny you mention that. I added addElementToWrapper() as a top level function which attaches elements to UIBases. I have just finished implementing this in all Basic and MDL components. That pretty much removes the need to call super. I’m committing my changes soon (to a branch). > On Sep 26,

Re: FlexJS element setter

2017-09-26 Thread Alex Harui
IMO, the first question is, do we really need to support "new UIBase()"? I remember being surprised in regular Flex when folks did "new UIComponent()". There aren't abstract classes in ActionScript, but I would have made UIComponent and UIBase abstract if I could. But if the answer is that we wan

Re: FlexJS element setter

2017-09-26 Thread Harbs
Huh? Why would the subclass call super.createElement() and assume the element will not be created? FWIW, super.createElement() is barely called, and when it is (from all the cases I’ve found so far in the whole Basic and MDL), it’s expecting the default div element. > On Sep 26, 2017, at 8:15

Re: FlexJS element setter

2017-09-26 Thread Alex Harui
IIRC, UIBase has that code so if you do "new UIBase()" you will get an element, but if subclasses call super.createElement() by habit, we won't overwrite anybody's element. It isn't truly PAYG, it depends on how folks feel about "requiring" that you know not to call super.createElement() on UIBase

Re: FlexJS element setter

2017-09-26 Thread Harbs
FYI: TableRowItemRenderer in MDL has a separate positioner. > On Sep 26, 2017, at 7:01 PM, Piotr Zarzycki wrote: > > Harbs, > > Please push those changes into separate branch "feature/" no matter how non > serious it look. I hope your changes will simplify things. > > Thank you! > > > 2017-0

Re: FlexJS element setter

2017-09-26 Thread Piotr Zarzycki
Harbs, Please push those changes into separate branch "feature/" no matter how non serious it look. I hope your changes will simplify things. Thank you! 2017-09-26 17:54 GMT+02:00 Harbs : > I’m working on refactoring this. > > Is there a reason for the null check in UIBase.createElement()? > >

Re: FlexJS element setter

2017-09-26 Thread Harbs
I’m working on refactoring this. Is there a reason for the null check in UIBase.createElement()? Why would createElement be called if the element is already created? None of the subclasses have this null check. if (element == null) element = document.createElement('div') as WrappedHTMLEleme

Re: FlexJS element setter

2017-09-26 Thread Alex Harui
I believe there are components where more than one HTMLElement is created but only one is (and can be) assigned as "element" but all have flexjs_wrapper assigned to the wrapping IUIBase. If in fact no components need a separate positioner, it is fine to remove it. But if we keep it, even as a get

Re: FlexJS element setter

2017-09-26 Thread Peter Ent
@Harbs: yes on get positioner returning element. This way someone could override the getter and return something else if it suited their needs. —peter On 9/26/17, 9:25 AM, "Harbs" wrote: >I looked at MDL and I don’t see any problem there. > >I’m talking about simplifying things across the board

Re: FlexJS element setter

2017-09-26 Thread Harbs
I looked at MDL and I don’t see any problem there. I’m talking about simplifying things across the board. I don’t see how it could effect anything. @Peter I think removing positioner might not be a bad idea, but keeping it and using it as a pointer to element is basically just as cheap. > On S

Re: FlexJS element setter

2017-09-26 Thread Peter Ent
I should also have addressed "cloneNode". I keep operating in the twilight world between SWF and HTML/JS. The main guiding principle is to make it work for HTML/JS as simply as possible and then replicate it for SWF. I think since the Flash announcement, this should really be the defining principle

Re: FlexJS element setter

2017-09-26 Thread Peter Ent
The original intent of positioner was to allow the element to be different. The NumericStepper was the use case. The positioner was to be the enclosing div or DisplayObjectContainer. The element was to be the input or TextField. We thought there might be more complex components that would benefit f

Re: FlexJS element setter

2017-09-26 Thread Piotr Zarzycki
Hi Harbs, If you will do such changes like moving to set flexjs_wrapper in the setter of element - please make it on the separate branch. Let me test with my app whether MDL will not breaking up. I hope that we could avoid this one, even if I think that it seems to be quite reasonable to do that.

Re: FlexJS element setter

2017-09-26 Thread Harbs
Yishay and I were working on drag/drop today and we were modifying one of the classes you wrote for generating the drag image. The code can be simplified by using cloneNode() and stuffing the results into the element. The thing is, it does not work until you assign the flexjs_wrapper to the ele

Re: FlexJS element setter

2017-09-26 Thread Peter Ent
The setter for element is in HTMLElementWrapper, the super class for UIBase. The setter for flexes_wrapper is in UIBase. So if the element setter were to also set the flexjs_wrapper, it would have to be an override in UIBase to do it. At least that¹s how I understand it. Could you elaborate a litt

Re: [FlexJS, AMF] Steps to make FlexJS / Java - RemoteObject / AMF sample work

2017-09-24 Thread Carlos Rovira
Hi PKumar, I try a custom class object (I uploaded a Product example). That worked for me, I think it has a String and a int or something like that. Did you try that? I didn't try more complex inheritance, but that is crucial to make RO be used in real production cases. As I'm this days working o

Re: [FlexJS, AMF] Steps to make FlexJS / Java - RemoteObject / AMF sample work

2017-09-24 Thread PKumar
Carlos, I tested it with most of built in data type( Including Vector) and it is working ok, but I can not send or receive following type: ArrayList - send & receive not working Custom Class Object - nor able to send it , getting exception at BlazeDs side. Complex Object with Inheritance

Re: FlexJS Customer feedback

2017-09-20 Thread Alex Harui
Hi Harbs, Yishay, Congratulation on your migration! I agree, everyone who has contributed to our PAYG philosophy and use of Beads deserves credit. It may not be fair to say that all performance gains are due to the coding patterns we've used. The JS runtimes in the browsers have gotten much fas

Re: FlexJS Customer feedback

2017-09-20 Thread Angelo Lazzari
We are still getting in thouch with last graphic tendencies, behaviours and so on... We will soon share a doc with the result...the plan is: get info and ideas - Create the doc - Share the doc and get your opinion - Elaborate the fonal doc - Create ui on doc detail This should be the road map...

Re: FlexJS Customer feedback

2017-09-20 Thread Carlos Rovira
Angelo, great, great news!. I think UI design is crucial for us, so that work would be very appreciated! :) Could Trevor and you share something of your work? I think we need something "punchy" in the visuals to make this project be more eye candy for newcomers. That joined to new brand, website

Re: FlexJS Customer feedback

2017-09-20 Thread Harbs
Hi Angelo, It’s great to hear you are working on that! Looking forward to what you come up with. :-) Here’s a screenshot of the app. If you want to see more, I can follow up with you off-list next week. (I will not be online until Sunday.) https://www.evernote.com/l/AI-Kk-KyF45Am7qKhwjgIF4aEn8u

Re: FlexJS Customer feedback

2017-09-20 Thread Piotr Zarzycki
Angelo! That is wonderful news! Thank you, Piotr On Wed, Sep 20, 2017, 09:34 Angelo Lazzari wrote: > That's really great!!! and really promising!!! > > @Harbs: can you share some app screenshots? just to see which components > you are using... it's a porting from a Flex app you did ? > > PS: W

Re: FlexJS Customer feedback

2017-09-20 Thread Piotr Zarzycki
Hi Harbs, I have to admit I had hope that you send feedback from your customers some day! Wonderful! Congrats to you and Yishay! Thank you! Piotr On Wed, Sep 20, 2017, 09:28 Harbs wrote: > We are currently in a “partner preview” of our FlexJS application and > getting feedback from partners

Re: FlexJS Customer feedback

2017-09-20 Thread Angelo Lazzari
That's really great!!! and really promising!!! @Harbs: can you share some app screenshots? just to see which components you are using... it's a porting from a Flex app you did ? PS: We (Trevor and I) are working on the FlexJS UI, we are trying to find time slots in our time (as everyone do in thi

Re: FlexJS Customer feedback

2017-09-20 Thread Erik de Bruin
What is this FlexJS you are talking about? I sound a lot like this "Royale" thing I'm hearing a lot about recently... Is it similar? :-P EdB On Wed, Sep 20, 2017 at 9:28 AM, Harbs wrote: > We are currently in a “partner preview” of our FlexJS application and > getting feedback from partners

Re: [FlexJS, AMF] Steps to make FlexJS / Java - RemoteObject / AMF sample work

2017-09-17 Thread Carlos Rovira
Hi PKumar, thanks for test this! I only tested String and int as well, array and simple VO without inheritance, did you test boolean, and other simple/complex types? (i.e: Number, ByteArray,...) Thanks! Carlos 2017-09-16 18:54 GMT+02:00 PKumar : > Alex, > > I kept ClassAliasBead at Application

Re: [FlexJS, AMF] Steps to make FlexJS / Java - RemoteObject / AMF sample work

2017-09-16 Thread PKumar
Alex, I kept ClassAliasBead at Application level and my demo started working. I noted following issues: VO with inheritance not working, as Car extends Vehicle ArrayList serialization not working Custom Array not working I am testing with more dataType and will update you further. Thanks, Pra

Re: [FLEXJS][Marketing] why should a web dev choose FlexJS?

2017-09-15 Thread Alex Harui
I think Piotr started this same thread on users@. You can follow it here [1]. Some interesting thoughts today. [1] https://lists.apache.org/thread.html/23de478726b584a9930e14819989cbc66247aa 634bd44ba5b21b46f9@%3Cusers.flex.apache.org%3E -Alex On 9/15/17, 7:23 AM, "carlos.rov...@gmail.com o

Re: [FLEXJS][Marketing] why should a web dev choose FlexJS?

2017-09-15 Thread Carlos Rovira
Hi Erik, very good question. Hope people would want to donate some minutes here since I think this is, in the end, about what is all about. 2017-09-14 15:22 GMT+02:00 Erik de Bruin : > Piotr, > > I'm not subscribed, would you mind doing this for me? > > EdB > > > > On Thu, Sep 14, 2017 at 2:16

Re: [FLEXJS][Marketing] why should a web dev choose FlexJS?

2017-09-14 Thread Erik de Bruin
Piotr, I'm not subscribed, would you mind doing this for me? EdB On Thu, Sep 14, 2017 at 2:16 PM, Piotr Zarzycki wrote: > Hi Erik, > > I think this should be also forwarded to users group. > > Thanks, > Piotr > > > 2017-09-14 14:02 GMT+02:00 Erik de Bruin : > > > Hi, > > > > With the upcomin

Re: [FLEXJS][Marketing] why should a web dev choose FlexJS?

2017-09-14 Thread Piotr Zarzycki
Hi Erik, I think this should be also forwarded to users group. Thanks, Piotr 2017-09-14 14:02 GMT+02:00 Erik de Bruin : > Hi, > > With the upcoming fork and renewed focus and most likely some publicity, I > want to ask the community to answer this question: > > Why should a web dev choose Flex

Re: [FlexJS][Installer] Future packaging of FlexJS releases

2017-09-13 Thread Alex Harui
OK, good to know it works for other people. I've been trying to adjust the build scripts to create this package automatically. The current problem I'm wrestling with is in the Flash Builder launch configs. The launch configs are used by Flash Builder to update a new Flex project with a valid Fle

Re: [FlexJS, AMF] Steps to make FlexJS / Java - RemoteObject / AMF sample work

2017-09-12 Thread Alex Harui
Hi Prashant, Are you testing with the example code or your own app. I see MainView in the stack trace and there isn't one in the example. If you have your own code, make sure ClassAliasBead is a bead on the Application and not the View. Thanks, -Alex On 9/12/17, 3:59 AM, "PKumar" wrote: >I d

Re: [FlexJS, AMF] Steps to make FlexJS / Java - RemoteObject / AMF sample work

2017-09-12 Thread PKumar
I downloaded the latest nightly build and used that. I am also compiled this app with the FlexJS package that you shared. but same error i am getting. -- Sent from: http://apache-flex-development.247.n4.nabble.com/

Re: [FlexJS, AMF] Steps to make FlexJS / Java - RemoteObject / AMF sample work

2017-09-10 Thread Alex Harui
Hi Prashant. It feels like you are somehow using an older version of the compiler. How are you building the app? Is your server on localhost:8080? Thanks, -Alex On 9/10/17, 8:13 AM, "PKumar" wrote: >If i am using "ClassAliasBead" then i am getting following error on >browser >console. Please

Re: [FlexJS, AMF] Steps to make FlexJS / Java - RemoteObject / AMF sample work

2017-09-10 Thread PKumar
If i am using "ClassAliasBead" then i am getting following error on browser console. Please suggest. Uncaught TypeError: app.info is not a function at org.apache.flex.reflection.beads.ClassAliasBead.set__strand (ClassAliasBead.js:48) at MainView.org.apache.flex.core.UIBase.addBead (UIBase.

Re: [FlexJS][Installer] Future packaging of FlexJS releases

2017-09-10 Thread PKumar
after removing that line, everything is fine. Thanks -- Sent from: http://apache-flex-development.247.n4.nabble.com/

Re: [FlexJS, AMF] Steps to make FlexJS / Java - RemoteObject / AMF sample work

2017-09-10 Thread PKumar
no message on server console. my server is running under Eclipse. -- Sent from: http://apache-flex-development.247.n4.nabble.com/

Re: [FlexJS, AMF] Steps to make FlexJS / Java - RemoteObject / AMF sample work

2017-09-09 Thread Alex Harui
Did any output show up in the server console? Is some other server running on localhost:8080? Get Outlook for Android<https://aka.ms/ghei36> From: PKumar Sent: Saturday, September 9, 2017 8:43:40 AM To: dev@flex.apache.org Subject: Re: [FlexJS, AMF] St

Re: [FlexJS][Installer] Future packaging of FlexJS releases

2017-09-09 Thread Alex Harui
Hi Prashant Try removing that line from flex-config. You probably don't need it for this test. Get Outlook for Android<https://aka.ms/ghei36> From: PKumar Sent: Saturday, September 9, 2017 8:47:39 AM To: dev@flex.apache.org Subject: Re: [FlexJS

Re: [FlexJS][Installer] Future packaging of FlexJS releases

2017-09-09 Thread PKumar
Alex, Tried this package with VCode but getting the attached errror with no code intelligence -- Sent from: http://apache-flex-development.247.n4.nabble.com/

Re: [FlexJS, AMF] Steps to make FlexJS / Java - RemoteObject / AMF sample work

2017-09-09 Thread PKumar
Alex, I downloaded latest nightly build and modify and tried remote object changes. but i am getting the attached error on console. -- Sent from: http://apache-flex-development.247.n4.nabble.com/

Re: [FlexJS][Installer] Future packaging of FlexJS releases

2017-09-08 Thread Adam Malejko
Thanks Alex, That was informative and enlightening. I had no idea the SWF output was that valuable overall for testing. I would not push for pixel-perfect representation; there are certain browser quirks and differences that are just not going to be worth it. On Thu, Sep 7, 2017 at 5:22 PM, Ale

Re: [FLEXJS] Modules

2017-09-08 Thread Carlos Rovira
Hi Piotr, that sounds very good! I'll try that, thanks! :) 2017-09-08 1:12 GMT+02:00 Piotr Zarzycki : > Carlos, > > If I may suggest something you can look into tourjs [1] project where I did > copying in poms. > > [1] https://github.com/apache/flex-tourjs/blob/develop/TourJS/pom.xml > > Piotr >

Re: [FlexJS][Installer] Logistics (was: Future packaging of FlexJS releases)

2017-09-07 Thread Alex Harui
I was about to start on this in the Ant scripts which got be thinking about how Apache wants source packaging to correspond to binary packaging via a build script. IOW, I don't think it is right to change the current binary packaging script to package up binaries from flex-falcon unless we also st

Re: [FlexJS][Installer] Future packaging of FlexJS releases

2017-09-07 Thread Alex Harui
Hi Adam, Thanks for your input. Many of us want to make sure SWF output is viable for several reasons 3 of which quickly come to mind: 1) There is a runtime verifier in the Flash Player. When you run your code in Flash/AIR it is literally running 1000's of tests that the browser doesn't run and

Re: [FLEXJS] Modules

2017-09-07 Thread Piotr Zarzycki
Carlos, If I may suggest something you can look into tourjs [1] project where I did copying in poms. [1] https://github.com/apache/flex-tourjs/blob/develop/TourJS/pom.xml Piotr On Thu, Sep 7, 2017, 23:24 Carlos Rovira wrote: > Hi Alex, > > I finaly get it working localy. Wasn't aware that I s

Re: [FlexJS][Installer] Future packaging of FlexJS releases

2017-09-07 Thread Adam Malejko
This sounds great! In our use cases, we don't have a need for SWF output when doing FlexJS projects, and we suspect that we are not alone. For those that want JS and SWF output, what is the appeal or need? The existing Apache Flex compiler (with AIR if needed for mobile) works fine for our curren

Re: [FLEXJS] Modules

2017-09-07 Thread Carlos Rovira
Hi Alex, I finaly get it working localy. Wasn't aware that I should copy the .js file to MainApp target folder. Know seeing how it works, and talking about duplicates, I think we could only need to put some maven instrucción in the pom so the .js will be copied automatically, and look for duplica

Re: [FlexJS][Installer] Future packaging of FlexJS releases

2017-09-07 Thread Olaf Krueger
>If this sound good to folks.. This sounds really good, Alex!! I think it's an important thing to get rid of some dependencies and to ease the FlexJS setup. Thanks, Olaf -- Sent from: http://apache-flex-development.247.n4.nabble.com/

Re: [FLEXJS] Modules

2017-09-07 Thread Alex Harui
Thanks for looking into it. Regarding duplicates, I've got plenty of things to work on, so having someone else handle duplicates would be best. I think it would be done as post-processing text manipulation. No compiler knowledge needed. But again, I think we need to assess how important it is.

Re: [FlexJS][Installer] Future packaging of FlexJS releases

2017-09-07 Thread Michael Schmalle
Thanks, I will report back when I have some spare time. Mike On Thu, Sep 7, 2017 at 1:52 PM, Alex Harui wrote: > Unzip > In FB, go to Preferences/Flash Builder/Installed Flex SDKs > Hit Add... > > I would not make this folder the default SDK. For some existing FlexJS > project, go to Project/P

Re: [FlexJS][Installer] Future packaging of FlexJS releases

2017-09-07 Thread Alex Harui
Unzip In FB, go to Preferences/Flash Builder/Installed Flex SDKs Hit Add... I would not make this folder the default SDK. For some existing FlexJS project, go to Project/Properties/Flex Compiler and choose this new SDK. Note that Project/Clean does not clean up the "bin" folder so you may want to

Re: [FlexJS][Installer] Future packaging of FlexJS releases

2017-09-07 Thread Michael Schmalle
Alex, Being completely out of the loop, what do I have to do to use this zip content on Windows with FB? (quick and dirty bullet list?) Mike On Thu, Sep 7, 2017 at 1:38 PM, Alex Harui wrote: > Here's a zip: http://home.apache.org/~aharui/FlexJS/ > ApacheFlexJSJSOnly.zip > > I only tried on Ma

Re: [FlexJS][Installer] Future packaging of FlexJS releases

2017-09-07 Thread Alex Harui
Here's a zip: http://home.apache.org/~aharui/FlexJS/ApacheFlexJSJSOnly.zip I only tried on Mac. I didn't realize we had an NPM package that overlaid AIR/Flash into an SDK folder. I agree that would be better than Ant. What I would really like to see, but not sure if it is possible, is to have

Re: [FLEXJS] Modules

2017-09-07 Thread Alex Harui
I tested it locally. I only got the Maven build to create the artifacts. I wasn't sure of the best way to deploy the artifacts. Can you help with that? As I mentioned in the first post, for js-debug you have to copy stuff around. I just ran the Maven build, make a folder in MainApp/target/javas

Re: [FlexJS][Installer] Future packaging of FlexJS releases

2017-09-07 Thread OmPrakash Muppirala
On Thu, Sep 7, 2017 at 9:55 AM, Michael Schmalle wrote: > If I could get a zip to just try it, I am all for this. > > On the plus side, if you can get a zip only for windows and documented > setup for quick testing, I think this goes a long way with being able to > develop the compiler and develo

Re: [FlexJS][Installer] Future packaging of FlexJS releases

2017-09-07 Thread Michael Schmalle
If I could get a zip to just try it, I am all for this. On the plus side, if you can get a zip only for windows and documented setup for quick testing, I think this goes a long way with being able to develop the compiler and develop the ui framework separation a lot cleaner. Getting stuff ripped

Re: [FlexJS][Installer] Future packaging of FlexJS releases

2017-09-07 Thread Piotr Zarzycki
Hi Alex, Since you fake airglobal.swc and playerglobal.swc maybe it will also work with Moonshine. I will try to do same operation as you did and see whether I will not have previous errors. Thanks! Piotr 2017-09-07 18:43 GMT+02:00 OmPrakash Muppirala : > This is a big big deal. Thanks for get

Re: [FlexJS][Installer] Future packaging of FlexJS releases

2017-09-07 Thread OmPrakash Muppirala
This is a big big deal. Thanks for getting this done. I would be very interested in the non-installer, simple zip file download. I dont care much for Ant as a requirement, I would rather continue maintaining the npm FlexJS package for AIR download + setup. Thoughts? Thanks, Om On Thu, Sep 7,

Re: [FLEXJS] Modules

2017-09-07 Thread Carlos Rovira
Hi Alex, I'm looking to the ModulesExample but is not working for me. I tried to build with regular maven instruction (men clean install) in parent folder of both main app and module. Then run localy and upload to a server, but main app doesn't load and reports 404. In code I see: so modulePat

Re: [FLEXJS] Modules

2017-09-07 Thread Carlos Rovira
Ok Alex, I'll be looking at the example and seeing how it performs and give some feedback. I think it could work for me at least, but I suppose that in the end we would need to clean those duplicates in order to have a more "production" feature Thanks! 2017-09-07 9:37 GMT+02:00 Alex Harui : >

Re: [FLEXJS] Modules

2017-09-07 Thread Alex Harui
Hi Carlos, Peter's work ended up being more like SWFLoader. It loads something much more like a sub-application. There is a examples/flexjs/ModuleExample folder. I have not spent any time on resolving any of the drawbacks mentioned in the original post. First, I want to see how important it is

Re: [FLEXJS] Modules

2017-09-06 Thread Carlos Rovira
Hi Alex, very interesting. That was one of the other things I needed, so great to see make it real! :) Questions: 1.- I remember Peter did some work on this. Could you tell us main diferences between Peter's work and yours to understand more about the implementation? 2.- Can I found some exampl

Re: [FlexJS, AMF] Steps to make FlexJS / Java - RemoteObject / AMF sample work

2017-09-06 Thread Carlos Rovira
Hi Alex, Piotr, just rebase feature/amf branches, and seem only flex-asjs was delta changes, so I solved conflicts in that repo and committed to develop. I rebuild all and seems all is working ok. If you could try yourself with the guide I put at the start of this thread to confirm all is ok as we

Re: [FlexJS, AMF] Steps to make FlexJS / Java - RemoteObject / AMF sample work

2017-09-06 Thread Alex Harui
Hi Carlos, If you can do the merge, that would be great! And thanks for adding the additional test. Thanks, -Alex On 9/6/17, 6:56 AM, "Piotr Zarzycki" wrote: >Hi Carlos, > >+1 for merging this into develop if it is working for you. I see that >Prashant is pretty interested in it, let's make e

Re: [FlexJS, AMF] Steps to make FlexJS / Java - RemoteObject / AMF sample work

2017-09-06 Thread Piotr Zarzycki
Hi Carlos, +1 for merging this into develop if it is working for you. I see that Prashant is pretty interested in it, let's make easier for him trying it. Thanks, Piotr 2017-09-06 15:50 GMT+02:00 Carlos Rovira : > Hi, > > just commit a little change to test a successful communication of a VO >

Re: [FlexJS, AMF] Steps to make FlexJS / Java - RemoteObject / AMF sample work

2017-09-06 Thread Carlos Rovira
Hi, just commit a little change to test a successful communication of a VO "Product" and casting in Flex. I'm sure that AMF support is not complete, but it seems pretty useful right now in its actual state. So congrats for getting to this point to all people involved! :) What do you guys think is

Re: [FlexJS] Re: Remote object for Flex JS

2017-09-05 Thread Carlos Rovira
That was the problem I have the test working! :)[image: Imágenes integradas 2] 2017-09-05 20:18 GMT+02:00 Alex Harui : > Hi Carlos, > > Try switching flex-falcon to the develop branch. I think the RemoteClass > handling is in the develop branch and not feature/amf. > > -Alex > > On 9/5/17, 10:56

Re: FlexJS installation - Installer vs. npm

2017-09-05 Thread Alex Harui
Om, That error implies that js.swc or playerglobal.swc/airglobal.swc isn't being found. See if NPM install is putting them in the right place. Then, those SWCs have to be referenced by whatever -config.xml file in being used, and there are sensitivities in 0.8.0 with dual mode about whether you

Re: [FlexJS] Re: Remote object for Flex JS

2017-09-05 Thread Alex Harui
Hi Carlos, Try switching flex-falcon to the develop branch. I think the RemoteClass handling is in the develop branch and not feature/amf. -Alex On 9/5/17, 10:56 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi Alex, > >thanks, I know start to remember. That two scaffold pr

Re: [FlexJS] Re: Remote object for Flex JS

2017-09-05 Thread Carlos Rovira
Hi Alex, thanks, I know start to remember. That two scaffold projects was created by me in February and I left it incomplete and created based on PKumar and Chris Dutz help. Is great that you get it to work! :) Know I'm trying to build with maven, so I put all 3 repos in brach "feature/amf", upda

Re: [FlexJS] Re: Remote object for Flex JS

2017-09-05 Thread piotrz
Hi Prashant, Unfortunately it is not available in the nightly build yet. In order to check it you will have to build yourself FlexJS SDK. Branch feature/amf . We probably need someone who just check how Alex's changes are working and then someone will merge it. You can use Maven to build SDK [1]

Re: [FlexJS] Re: Remote object for Flex JS

2017-09-04 Thread Alex Harui
Hi Carlos, Yes, if you look at the commits in that branch, there is a server example in examples/amf/SampleAmfWebApp that has a ServerCustomObject.java. In examples/flexjs/RemoteObjectAmfTest there is a ClientCustomObject.java with [RemoteClass] metadata that references the qualified name of Serv

Re: [FlexJS] Re: Remote object for Flex JS

2017-09-04 Thread Carlos Rovira
ok, I know see this is in "feature/amf" Thanks! :) 2017-09-05 1:02 GMT+02:00 Carlos Rovira : > Hi Alex, > > could you provide more about your work here? > > For what you said I could infer that the work on AMF is on a branch or > feature branch? could you provide what branch is? > And the work r

Re: [FlexJS] Re: Remote object for Flex JS

2017-09-04 Thread Carlos Rovira
Hi Alex, could you provide more about your work here? For what you said I could infer that the work on AMF is on a branch or feature branch? could you provide what branch is? And the work right now makes a successful communication with a test java backend to send and receive a String and an Array

Re: [FlexJS] Re: Remote object for Flex JS

2017-09-04 Thread Alex Harui
Hi Folks, I just pushed changes that prove that I can get an array of custom objects from the backend. So, I'm going to declare my effort on AMF complete for now and go do other things. Feel free to suggest what those other things are. There is no AsyncToken API right now, so if folks have to h

Re: [FlexJS] Re: Remote object for Flex JS

2017-09-03 Thread Jose Barragan
Hi Alex, Greg, Sounds great!! AMF always was my preference option for communicate the JS frontend with the backend, as I always doing with Flex, but I haven't been cant found any good implementation for use it. Sincerely, I think that a good AMF protocol implemetation (AsynToken, RemoteObject

Re: [FlexJS] Re: Remote object for Flex JS

2017-09-03 Thread Piotr Zarzycki
Carlos, Any commit from was always a pleasure to read. :) I'm watching AMF progress also and happy that something is moving. I hope that we will get mature enough to get avant2 to FlexJS. I can say that with MDL there is been achieved quite a lot in some app which I helped and I think we have a lo

Re: [FlexJS] Re: Remote object for Flex JS

2017-09-03 Thread Carlos Rovira
Hi Alex, Greg, great to see some effort on bringing AMF/RemoteObject Support to FlexJS. Always say that this was *key* to success. Need to say that I just commented with some people about this and as I expected that brings lots of interest, since people see this as a way to only redo the front in

Re: [FlexJS] Re: Remote object for Flex JS

2017-09-02 Thread Alex Harui
Hi Greg, I didn't even realize the old thread was on users@ so thanks for moving it here. I'm sure there are lots of improvements needed to make this work in the general case so thanks for noticing and offering to help out. I wondered for a bit whether there already was a "collect the properties

Re: [FlexJS] Finding (x,y) position

2017-08-30 Thread Alex Harui
YZcOL >bLfcVcqKIt4VniVOw%3D&reserved=0 > >From: Alex Harui<mailto:aha...@adobe.com.INVALID> >Sent: Wednesday, August 30, 2017 7:02 PM >To: dev@flex.apache.org<mailto:dev@flex.apache.org> >Subject: Re: [FlexJS] Finding (x,y) position > >Hopefully Peter will find a so

RE: [FlexJS] Finding (x,y) position

2017-08-30 Thread Yishay Weiss
-td61120.html#a61330 From: Alex Harui<mailto:aha...@adobe.com.INVALID> Sent: Wednesday, August 30, 2017 7:02 PM To: dev@flex.apache.org<mailto:dev@flex.apache.org> Subject: Re: [FlexJS] Finding (x,y) position Hopefully Peter will find a solution based on your input. But I think a p

Re: [FlexJS] Finding (x,y) position

2017-08-30 Thread Alex Harui
you could add w/2, h/2 if you want to center the drop >>target. >> >>Looking at PointUtils.localToGlobal() it just calls >>element.getBoundingClientRect() (as you suggested) and adds the given x,y >>to the result. >> >>From: Yishay Weiss<mailto:yishayj...@h

Re: [FlexJS] Finding (x,y) position

2017-08-30 Thread Peter Ent
) (as you suggested) and adds the given x,y >to the result. > >From: Yishay Weiss<mailto:yishayj...@hotmail.com> >Sent: Wednesday, August 30, 2017 5:11 PM >To: dev@flex.apache.org<mailto:dev@flex.apache.org> >Subject: RE: [FlexJS] Finding (x,y) position > >I see wh

RE: [FlexJS] Finding (x,y) position

2017-08-30 Thread Yishay Weiss
. From: Yishay Weiss<mailto:yishayj...@hotmail.com> Sent: Wednesday, August 30, 2017 5:11 PM To: dev@flex.apache.org<mailto:dev@flex.apache.org> Subject: RE: [FlexJS] Finding (x,y) position I see what you’re saying. I think we worked around that issue in our app by relying on MouseE

RE: [FlexJS] Finding (x,y) position

2017-08-30 Thread Yishay Weiss
he.org<mailto:dev@flex.apache.org> Subject: Re: [FlexJS] Finding (x,y) position PointUtils works when it has the correct data. For example, if you are over an itemRenderer, say the first one, and want to get its global location, you might do: var pt0:Point = new Point(itemRenderer.x, it

Re: [FlexJS] Finding (x,y) position

2017-08-30 Thread Peter Ent
PointUtils works when it has the correct data. For example, if you are over an itemRenderer, say the first one, and want to get its global location, you might do: var pt0:Point = new Point(itemRenderer.x, itemRenderer.y) and use pt0 in PointUtils.localToGlobal function. The problem is, itemRender

RE: [FlexJS] Finding (x,y) position

2017-08-30 Thread Yishay Weiss
Peter, Is PointUtils.localToGlobal() not working for you? From what I understand it takes approach (1). From: Peter Ent Sent: Tuesday, August 29, 2017 11:29 PM To: dev@flex.apache.org Subject: [FlexJS] Finding (x,y) position Hi, While

  1   2   3   4   5   6   7   8   9   10   >