Re: RemoteObject

2018-02-15 Thread Fréderic Cox
Hi Alex, I created https://github.com/apache/royale-asjs/issues/119, hope that is in the correct place and with more readable mark-up. Regards, Fréderic On Thu, Feb 15, 2018 at 8:57 PM, Alex Harui wrote: > Hi Frederic, > > Where is this output you posted coming from, a network monitor? It wa

Re: Moonshine project names

2018-02-15 Thread Andrew Wetmore
Bu çok ilginç! I hope we can refer to it in the product showcase when the migration is complete. On Thu, Feb 15, 2018 at 4:52 PM, Serkan Taş wrote: > I have Job Scheduler with java backend and Flex frontend to be migrated to > Royale and using latin5(turkish) as language. > > 15.02.2018 23:41 ta

Re: project package structure

2018-02-15 Thread Alex Harui
Whatever package naming you use in Flex should work in Royale. Depending on what level of optimization you ask for in Royale, packages can be collapsed in the final output. That's usually ok, but I'll bet we still have a bug or two around that. Not required reading below... Under the hood, an A

Re: Substitutes in Apache Royale

2018-02-15 Thread Alex Harui
Hi Alina, I can't guarantee that you will be in production in six months, but I believe we can help you get to the point where every screen shows up and fills with data and we are fixing bugs in corner cases. We might also be chasing down memory leaks and things like that.My strategy for

project package structure

2018-02-15 Thread Serkan Taş
Hi, My package naming convention of flex mxl files has java-like structure. is it good for Royale ?

Re: Moonshine project names

2018-02-15 Thread Serkan Taş
I have Job Scheduler with java backend and Flex frontend to be migrated to Royale and using latin5(turkish) as language. 15.02.2018 23:41 tarihinde Piotr Zarzycki yazdı: The other thing is - Do you have such project where you have to use characters from latin ? Thanks, Piotr 2018-02-15 21:4

Re: Moonshine project names

2018-02-15 Thread Piotr Zarzycki
The other thing is - Do you have such project where you have to use characters from latin ? Thanks, Piotr 2018-02-15 21:40 GMT+01:00 Serkan Taş : > Sure, keyboard is not typing :) > > ok i will. > > 15.02.2018 23:38 tarihinde Piotr Zarzycki yazdı: > > Hi Serkan, > > Did you check what is happeni

Re: Moonshine project names

2018-02-15 Thread Piotr Zarzycki
Hi Serkan, Did you check what is happening when you use it ? If something went wrong raise an issue on the Moonshine's GitHub [1] [1] https://github.com/prominic/Moonshine-IDE/issues Thanks, Piotr 2018-02-15 21:31 GMT+01:00 Serkan Taş : > Hi, > > Is it possible to have project names to contain

Moonshine project names

2018-02-15 Thread Serkan Taş
Hi, Is it possible to have project names to contain latin5 characters ? eg: ışğç and İŞĞÇ

Re: Substitutes in Apache Royale

2018-02-15 Thread Alex Harui
For me, the factors are related to expectations and time. If Royale has an mx.collections.ArrayCollection class, will you expect it to be 100% compatible and what will you think if it isn't? Or has poor performance? So if we say you must search and replace all instances of mx.collections.Arra

Re: RemoteObject

2018-02-15 Thread Piotr Zarzycki
Carlos, If I remember correctly there wasn't any test with AMFPHP, but rather with some JAVA sources yes ? Thanks, Piotr 2018-02-15 14:09 GMT+01:00 Fréderic Cox : > Hi Piotr, > > Thanks, I installed the extension and now I'm not getting the CORS error > anymore. > I'm not getting any fault or

Re: advancedDataGridClasses

2018-02-15 Thread Peter Ent
The Royale develop branch now has HDividedContainer and VDividedContainer, the Royale equivalents to HDividedBox and VDividedBox. The name was changed because a "container" in Royale is more generic than a box. I will be working a the Menu and MenuBar set next. —peter From: Alina Kazi mailto:a

Re: RemoteObject

2018-02-15 Thread Fréderic Cox
Hi Piotr, Thanks, I installed the extension and now I'm not getting the CORS error anymore. I'm not getting any fault or result event triggered either The endPoint set is https://clients.cityfashion.dev.exuvis.com/amfphp/gateway.php This is correct, right? (I use this endpoint in Flex and th

Re: BorderContainer

2018-02-15 Thread Gabe Harbs
We also used BorderContainer for the majority of our components. UIBase will probably give you the vast majority of what you need. Have you watched my presentation on migrating Flex apps? https://www.youtube.com/watch?v=-FcLs0O-BWQ I REALLY recommen

Re: RemoteObject

2018-02-15 Thread Gabe Harbs
Make sure you use the -remove-circulars option. > On Feb 15, 2018, at 1:04 PM, Fréderic Cox wrote: > > It is able to compile and run regardless of the errors in compile log: >

BorderContainer

2018-02-15 Thread Alina Kazi
Hi, Border Container is the major part of our Flex Application. We check all elements in Border Container (accessing the border Container through its id) and Update an actionscript object value on the basis of BorderContainer element values. Is there any alternate in Apache Royale for BorderCo

Re: RemoteObject

2018-02-15 Thread Fréderic Cox
Seems CORS was the issue, so I uploaded the script to the same domain then getting the error: destination fault handler 1. org.apache.royale.net.remoting.messages.ErrorMessage {_body: {…}, correlationId: "", faultCode: "AMFPHP_FILE_NOT_FOUND", faultDetail: "/var/web/fn0383/enality.clients.v

Re: RemoteObject

2018-02-15 Thread Piotr Zarzycki
Frederic, It looks like it is not problem with framework, but rather CORS issue. Maybe try to install this plugin [1] and add to the list your url. [1] https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi?hl=en Piotr 2018-02-15 12:04 GMT+01:00 Fré

Re: RemoteObject

2018-02-15 Thread Fréderic Cox
For me it is still not working in latest release 0.9.1. I based my example on the example in the SDK. http://ns.adobe.com/mxml/2009"; xmlns:js="library://ns.apache.org/royale/basic" applicationComplete= "applicationCompleteHandler(event);"> https://winkelbeheer.cityf

Re: Getting started is not so easy..

2018-02-15 Thread Gabe Harbs
Great! > Is there any other way in VSCode then going to Tasks->Run build task->... to > view the output? Looking for something like the "Play" icon in Flash Builder. > Now I need to build manually and then refresh the page in Chrome. Is this the > preferred way? Set a keyboard shortcut for bu

Re: Getting started is not so easy..

2018-02-15 Thread Piotr Zarzycki
Frederic, Are you Windows user. There is shortcut CTRL + SHIFT + B - it builds automatically. I think you should also explore Josh's Wiki [1] - he have really good documentation! Glad you make some progress! Keep moving forward :) [1] https://github.com/BowlerHatLLC/vscode-nextgenas/wiki Thanks

Re: Getting started is not so easy..

2018-02-15 Thread Fréderic Cox
Hi Piotr, Thanks for helping out! I did the changes you proposed and now am able to get a build done! Is there any other way in VSCode then going to Tasks->Run build task->... to view the output? Looking for something like the "Play" icon in Flash Builder. Now I need to build manually and then ref

RE: Substitutes in Apache Royale

2018-02-15 Thread Alina Kazi
Thank you both(Piotr and Harbs) Regards, Alina From: Gabe Harbs [mailto:harbs.li...@gmail.com] Sent: Thursday, February 15, 2018 2:53 PM To: users@royale.apache.org Subject: Re: Substitutes in Apache Royale Your milage may vary, but I actually found that my code improved when I was forc

RE: Substitutes in Apache Royale

2018-02-15 Thread Alina Kazi
Hi Alex, Thank you so much. You gave me hope that I can achieve my target on time and at least I am working in right direction. At most places I'm using getItemAt(0) to access the element in ArrayCollection. At some places myArrayCollection[0].propertyname to access it If you will modify t

Re: Substitutes in Apache Royale

2018-02-15 Thread Gabe Harbs
Your milage may vary, but I actually found that my code improved when I was forced to convert ArrayCollection to ArrayList. Some cases did not really need collections at all, and I did not really use ArrayCollection features anywhere. Being forced to use getItem() rather than indexes made the co

Re: Substitutes in Apache Royale

2018-02-15 Thread Carlos Rovira
Hi Piotr, I considered that scenario, but the fact that this classes (ArrayCollection, ResultEvent and Fault Event), are so close to Flex and to what all people out there like us did to build their Apps, ends make me think that this is our task to make this as easy as possible. We are not talking

Re: Substitutes in Apache Royale

2018-02-15 Thread Piotr Zarzycki
Carlos, I believe it is the matter of trying. Harbs did try and replace his ArrayCollection without the problem with ArrayList. I did try it with some demo apps and it went well. If you start your migration and face a wall - it doesn't have to end up with solution where you adding some things to R

Re: Substitutes in Apache Royale

2018-02-15 Thread Carlos Rovira
Hi Harbs, mostly agree but for me ArrayCollection, FaultEvent and ResultEvent are very close to the business logic we don't want to migrate or try to left untouched. I think that three classes should have Royale counterparts to reduce migration pain. I'm talking more from a user role or someone t

Re: Substitutes in Apache Royale

2018-02-15 Thread Gabe Harbs
CloseEvent,FaultEvent and ResultEvent are not really needed in Royale. Royale takes a much more “laid back” approach to Events and only creates new Event classes when they are absolutely needed. 99% if the uses of ArrayCollection can be replaced with ArrayList which exists in Royale. Sort and

Re: Substitutes in Apache Royale

2018-02-15 Thread Alex Harui
Hi Alina, Other than ArrayCollection, that looks right. There will be sorting classes eventually. I think there are two buckets of things that you are going to need: Things we haven't written yet: - DividedBox/Container (mostly done) - Menu/MenuBar - VariableRowHeight - Editable DataGrids