Re: empty object is being behaved as if an xml

2020-06-25 Thread serkan
Actually "parameters" is null but converted to something in AbstractOperations. Checking the object if array and size is my first choice, I wanted to discuss if we need different approach . Than if we agree I can create PR. Thanks, Serkan 26.06.2020 09:14 tarihinde Alex Harui yazdı: It is

Re: empty object is being behaved as if an xml

2020-06-25 Thread Alex Harui
It is unlikely that XMLNode is a factor. More people used e4x than flash.xml. I’m confused because the screenshots indicate that parameters is not null or an array but rather, some string that begins with “user Assuming there is no “request” or “argumentNames” property, then it looks like Oper

Re: Is there an equivalent Royale method or Package for "mx.graphics.ImageSnapshot;"

2020-06-25 Thread Greg Dove
Not emulation of that yet, as far as I know. At some level this requires the ability to draw DOM elements to a canvas element. There are some (at least one) native js libraries that do this, so it might be a case of having to wrap the API of one of those. From what I recall it is quite a bit more c

Is there an equivalent Royale method or Package for "mx.graphics.ImageSnapshot;"

2020-06-25 Thread Anil Guntur - agun...@us.ibm.com
The reason I ask is we have some functionality like this in the existing .as3 var bmpData:BitmapData = ImageSnapshot.captureBitmapData(some obj as mx.Containers.ViewStack); do we have an equivalent class in Royale for this implementation https://github.com/apache/flex-sdk/blob/master/framewor

Re: Cairngorm framework emulation

2020-06-25 Thread Greg Dove
I already ported this, but I have not yet released it on github or anywhere. You can download the ported Cairngorm code or the swcs from here; https://www.dropbox.com/sh/xk8aui9ghy30mid/x0LUpfjXEQWC221zAjTza?dl=0 On Fri, Jun 26, 2020 at 2:04 PM Aniket Chopade wrote: > Hi, > > Is Cairngor

Cairngorm framework emulation

2020-06-25 Thread Aniket Chopade
Hi, Is Cairngorm framework emulation is available? Or I need to compile source by removing references of flash.* -- Aniket Chopade, A man may be a fool and not know it, but not if he is married.

Re: empty object is being behaved as if an xml

2020-06-25 Thread serkan
+ The problem is not about "parameters" to be null but the handling of the null valued parameter by Royale. 25.06.2020 20:26 tarihinde serkan yazdı: If we consider authAndCall of BasicAuthenticationHandler at line 69, send() is called.   if (parameter == null) { *return /* implicit cast */

Re: empty object is being behaved as if an xml

2020-06-25 Thread serkan
If we consider authAndCall of BasicAuthenticationHandler at line 69, send() is called.   if (parameter == null) { *return /* implicit cast */ org.apache.royale.utils.Language.as(service.operations[operationName].send(), mx.rpc.AsyncToken, true);*   }   return /* implicit cast */ org.apache.r

Re: empty object is being behaved as if an xml

2020-06-25 Thread Alex Harui
I have no idea where “parameters” came from and what it is. Which method in the call stack created what is “parameters”? Maybe suspendApp? Or authAndCall? I think we need to understand why Flex has null at some point but Royale doesn’t. -Alex From: "ser...@likyateknoloji.com" Reply-To: "us

Re: empty object is being behaved as if an xml

2020-06-25 Thread ser...@likyateknoloji.com
Which part you want to look Alex ? Android için Outlook'u edinin From: Alex Harui Sent: Thursday, June 25, 2020 7:47:13 PM To: users@royale.apache.org Subject: Re: empty object is being behaved as if an xml What does the code look like t

Re: empty object is being behaved as if an xml

2020-06-25 Thread Alex Harui
What does the code look like that calls this? From: serkan Reply-To: "users@royale.apache.org" Date: Wednesday, June 24, 2020 at 11:53 PM To: "users@royale.apache.org" Subject: empty object is being behaved as if an xml Hi, Regarding the exception : [cid:image001.png@01D64AD5.9A683B60] When

RE: First time using Apache Royale

2020-06-25 Thread Anil Guntur - agun...@us.ibm.com
Thank you very much Piotr.. This is what I was looking for.. will explore and post questions as I go through the conversion exercise From: Piotr Zarzycki Reply-To: "users@royale.apache.org" Date: Thursday, June 25, 2020 at 3:54 AM To: "users@royale.apache.org" Subject: [EXTERNAL] Re: First

Re: Need Migration Help

2020-06-25 Thread Carlos Rovira
Hi, also to complement to the rest of responses. I recommend you to browse this list (and dev list too) for others that started as you and asked mostly the same. You could find many things already solved in past threads. El jue., 25 jun. 2020 a las 14:44, Alina Kazi () escribió: > Hi Sohail, >

Re: XSLT for royal jewel libs

2020-06-25 Thread Carlos Rovira
Very cool! I was not aware of this feature in VSCode :)) I think getting compiler to fail when using wrong values would be very cool and useful feature. Maybe @josh could make this a reality? :) Thanks Carlos El jue., 25 jun. 2020 a las 13:43, Harbs () escribió: > There is a feature that we c

Re: Need Migration Help

2020-06-25 Thread Alina Kazi
Hi Sohail, Read this article https://github.com/apache/royale-asjs/wiki/Emulation-Components This will be very helpful for you. Api list available may have something missing that you required for your application. To generate your api report: /royale-asjs/bin/mxmlc -library-path+=.swc -api-repor

Re: XSLT for royal jewel libs

2020-06-25 Thread Harbs
There is a feature that we could make more use of: Inspectable tags. For example, I’m using the following meta tag on Spectrum Button.flavor: [Inspectable(category="General", enumeration="cta,primary,secondary,warning,overBackground", defaultValue="primary”)] which gives the following code int

RE: XSLT for royal jewel libs

2020-06-25 Thread Yishay Weiss
Hi Aniket, An XSLT would of course be cool, but if you want to know the standard approach you might want to look at out existing docs [1], in case you haven’t already. Good luck, Yishay [1] https://apache.github.io/royale-docs/migrate-an-existing-app/migrate-from-flex From: Carlos Rovira

Re: First time using Apache Royale

2020-06-25 Thread Piotr Zarzycki
Hi Anil, To addition of what Harbs provided I would like to answer to your question about list of components. We don't have anywhere documented it straightforward. However you can look into ASDoc app [1] and search there. Another option is just take a look into the Royale code where there is sort

Re: Need Migration Help

2020-06-25 Thread Piotr Zarzycki
Best if you would show us results of build - console output. What intellisence is showing you may not be adequate always in that case regardless used IDE. Try to build your app. czw., 25 cze 2020 o 12:14 Piotr Zarzycki napisał(a): > Hi Sohail, > > In Moonshine you should have only this one [1] -

Re: Need Migration Help

2020-06-25 Thread Piotr Zarzycki
Hi Sohail, In Moonshine you should have only this one [1] - Remove those additions which I'm seeing in your screenshot and coma at the end. Thanks for using Moonshine. If you will have any problems try to use Nightly build - we will release it soon. [1] https://ibb.co/FhW8ytK Thanks, Piotr czw

Re: Need Migration Help

2020-06-25 Thread Sohail Abdul Khaliq
Hi Im using moonshine IDE and looks like it worked.please see attached image and let me know if i need anything else Thanks On Thu, Jun 25, 2020 at 2:13 PM Yishay Weiss wrote: > Try adding config: flex compiler option. If you’re using VSCode to compile > your app you can do this by adding the

RE: Need Migration Help

2020-06-25 Thread Yishay Weiss
Try adding config: flex compiler option. If you’re using VSCode to compile your app you can do this by adding the following line at the top level: "config": "flex" From: Sohail Abdul Khaliq Sent: Thursday, June 25, 2020 12:09 PM To: users@royale.apache.org

Re: Need Migration Help

2020-06-25 Thread Alina Kazi
We have successfully ported our large application(more than 1000 mxml and as files) from Flex to Royale. It is a step by step process. It will take some time. Most of the APIs are available in Royale as Flex. Mx and spark components are available only namespaces needs to be change. As Royale is fla

Re: Need Migration Help

2020-06-25 Thread Harbs
Is it or ? You need to use fx:Script. > On Jun 25, 2020, at 11:13 AM, Sohail Abdul Khaliq wrote: > > Hi > I am having issue with some mx imports > > import mx.resources.IResourceManager; > import mx.resources.ResourceManager; > import mx.rpc.AsyncToken; > import mx.rpc.IResponder; > import m

Re: Need Migration Help

2020-06-25 Thread Sohail Abdul Khaliq
Hi I am having issue with some mx imports import mx.resources.IResourceManager; import mx.resources.ResourceManager; import mx.rpc.AsyncToken; import mx.rpc.IResponder; import mx.rpc.remoting.mxml.RemoteObject; import mx.binding.utils.BindingUtils; import mx.events.FlexEvent; these imports does n

Re: Need Migration Help

2020-06-25 Thread Harbs
Re. the amount of time: It really depends on how many features you are using which don’t have a direct replacement. Narrowing down the number of errors to a manageable amount should give a clearer picture, and that shouldn’t take more than a couple of days. Post any questions you have along the

Re: Need Migration Help

2020-06-25 Thread Harbs
Search and replace for imports which have a direct replacement is a good way to do it. That should help get rid of a lot of errors. Harbs > On Jun 25, 2020, at 7:34 AM, Sohail Abdul Khaliq wrote: > > i have a large scale Application in Flex and i now want to migrate from Flex > to Apache Roy