You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@royale.apache.org by Sohail Abdul Khaliq <et...@gmail.com> on 2020/06/25 04:34:39 UTC

Need Migration Help

i have a large scale Application in Flex and i now want to migrate from
Flex to Apache Royale.I have zero experience in Apache Royale, in fact i
just heard about it few days ago. I need help in migration i already read
the documentation of apache Royale but im still having difficulty
converting my existing view controller and models as per apache royale
standards.

Attached are the three screen shots from my Login screen developed in flex.

How much time its going to take to complete the migration process for a
project contains 500+ files?

what approach should i use? just replace the flash imports with  royale
imports and everything will fall into place? or should i go with one file
at a time



-- 
*Sohail Abdul Khaliq*
Bee Technica,
Abbottabad.

Re: Need Migration Help

Posted by Harbs <ha...@gmail.com>.
Is it <mx:Script> or <fx:Script>?

You need to use fx:Script.

> On Jun 25, 2020, at 11:13 AM, Sohail Abdul Khaliq <et...@gmail.com> 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 mx.rpc.remoting.mxml.RemoteObject;
> import mx.binding.utils.BindingUtils;
> import mx.events.FlexEvent;
> 
> these imports does not shows error when im inside mxml file's <Script> but if im in a ActionScript class then same imports shows compiler error
> 
> am i missing something?
> 
> 
> 
> On Thu, Jun 25, 2020 at 12:04 PM Harbs <harbs.lists@gmail.com <ma...@gmail.com>> wrote:
> 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 way. We’re here to help.
> 
> Harbs
> 
>> On Jun 25, 2020, at 9:59 AM, Harbs <harbs.lists@gmail.com <ma...@gmail.com>> wrote:
>> 
>> 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 <et.sohail@gmail.com <ma...@gmail.com>> wrote:
>>> 
>>> i have a large scale Application in Flex and i now want to migrate from Flex to Apache Royale.I have zero experience in Apache Royale, in fact i just heard about it few days ago. I need help in migration i already read the documentation of apache Royale but im still having difficulty converting my existing view controller and models as per apache royale standards.
>>> 
>>> Attached are the three screen shots from my Login screen developed in flex.
>>> 
>>> How much time its going to take to complete the migration process for a project contains 500+ files?
>>> 
>>> what approach should i use? just replace the flash imports with  royale imports and everything will fall into place? or should i go with one file at a time
>>> 
>>> 
>>> 
>>> -- 
>>> Sohail Abdul Khaliq
>>> Bee Technica,
>>> Abbottabad.
>>> <application entry.jpg><controller.png><loginView.png>
>> 
> 
> 
> 
> -- 
> Sohail Abdul Khaliq
> Bee Technica,
> Abbottabad.


Re: Need Migration Help

Posted by Sohail Abdul Khaliq <et...@gmail.com>.
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 not shows error when im inside mxml file's <Script> but
if im in a ActionScript class then same imports shows compiler error

am i missing something?



On Thu, Jun 25, 2020 at 12:04 PM Harbs <ha...@gmail.com> wrote:

> 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 way. We’re here to help.
>
> Harbs
>
> On Jun 25, 2020, at 9:59 AM, Harbs <ha...@gmail.com> wrote:
>
> 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 <et...@gmail.com>
> wrote:
>
> i have a large scale Application in Flex and i now want to migrate from
> Flex to Apache Royale.I have zero experience in Apache Royale, in fact i
> just heard about it few days ago. I need help in migration i already read
> the documentation of apache Royale but im still having difficulty
> converting my existing view controller and models as per apache royale
> standards.
>
> Attached are the three screen shots from my Login screen developed in flex.
>
> How much time its going to take to complete the migration process for a
> project contains 500+ files?
>
> what approach should i use? just replace the flash imports with  royale
> imports and everything will fall into place? or should i go with one file
> at a time
>
>
>
> --
> *Sohail Abdul Khaliq*
> Bee Technica,
> Abbottabad.
> <application entry.jpg><controller.png><loginView.png>
>
>
>
>

-- 
*Sohail Abdul Khaliq*
Bee Technica,
Abbottabad.

Re: Need Migration Help

Posted by Harbs <ha...@gmail.com>.
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 way. We’re here to help.

Harbs

> On Jun 25, 2020, at 9:59 AM, Harbs <ha...@gmail.com> wrote:
> 
> 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 <et.sohail@gmail.com <ma...@gmail.com>> wrote:
>> 
>> i have a large scale Application in Flex and i now want to migrate from Flex to Apache Royale.I have zero experience in Apache Royale, in fact i just heard about it few days ago. I need help in migration i already read the documentation of apache Royale but im still having difficulty converting my existing view controller and models as per apache royale standards.
>> 
>> Attached are the three screen shots from my Login screen developed in flex.
>> 
>> How much time its going to take to complete the migration process for a project contains 500+ files?
>> 
>> what approach should i use? just replace the flash imports with  royale imports and everything will fall into place? or should i go with one file at a time
>> 
>> 
>> 
>> -- 
>> Sohail Abdul Khaliq
>> Bee Technica,
>> Abbottabad.
>> <application entry.jpg><controller.png><loginView.png>
> 


Re: Need Migration Help

Posted by Harbs <ha...@gmail.com>.
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 <et...@gmail.com> wrote:
> 
> i have a large scale Application in Flex and i now want to migrate from Flex to Apache Royale.I have zero experience in Apache Royale, in fact i just heard about it few days ago. I need help in migration i already read the documentation of apache Royale but im still having difficulty converting my existing view controller and models as per apache royale standards.
> 
> Attached are the three screen shots from my Login screen developed in flex.
> 
> How much time its going to take to complete the migration process for a project contains 500+ files?
> 
> what approach should i use? just replace the flash imports with  royale imports and everything will fall into place? or should i go with one file at a time
> 
> 
> 
> -- 
> Sohail Abdul Khaliq
> Bee Technica,
> Abbottabad.
> <application entry.jpg><controller.png><loginView.png>


Re: Need Migration Help

Posted by Carlos Rovira <ca...@apache.org>.
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 (<al...@gmail.com>)
escribió:

> 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:
> <path to Royale SDK>/royale-asjs/bin/mxmlc
> -library-path+=<third-party-library>.swc -api-report=<file to contain
> report output> -load-config=<path to Apache Flex
> SDK>/frameworks/flex-config.xml <path to main MXML File>/MyApp.mxml
>
> If you get errors, fix them in your code or comment out that code if it
> won't impact the report. The Royale Compiler may find errors that the Flex
> SDK compiler did not detect.
>
> Then the file you specified in the -api-report option should contain the
> information about your app. If your app as other projects like modules or
> libraries (SWCs) then you will need to do the same thing to get API reports
> for those projects as well. Use compc instead of mxmlc to compile SWCs.
>
>
> Thanks,
> Alina Kazi
>
>
> On Thu, 25 Jun 2020, 3:15 pm Piotr Zarzycki, <pi...@gmail.com>
> wrote:
>
>> 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., 25 cze 2020 o 11:32 Sohail Abdul Khaliq <et...@gmail.com>
>> napisał(a):
>>
>>> 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 <yi...@hotmail.com>
>>> wrote:
>>>
>>>> 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 <et...@gmail.com>
>>>> *Sent: *Thursday, June 25, 2020 12:09 PM
>>>> *To: *users@royale.apache.org
>>>> *Subject: *Re: Need Migration Help
>>>>
>>>>
>>>>
>>>> Thanks alot for the quick reply
>>>>
>>>> please see attached image of the code.Im using fx script and not having
>>>> any issue inside mxml file.The issue am facing in within .as file
>>>>
>>>>
>>>>
>>>> On Thu, Jun 25, 2020 at 1:51 PM Alina Kazi <al...@gmail.com>
>>>> wrote:
>>>>
>>>> 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 flash independent technology, most of the alternatives are
>>>> created in Apache royale technology to make flash components work with the
>>>> alternative option in Apache Royale.
>>>>
>>>> Whenever you got stuck somewhere ask for help immediately. Everyone
>>>> here is to help you.
>>>>
>>>>
>>>>
>>>> Alina Kazi
>>>>
>>>>
>>>>
>>>> On Thu, 25 Jun 2020, 9:35 am Sohail Abdul Khaliq, <et...@gmail.com>
>>>> wrote:
>>>>
>>>> i have a large scale Application in Flex and i now want to migrate from
>>>> Flex to Apache Royale.I have zero experience in Apache Royale, in fact i
>>>> just heard about it few days ago. I need help in migration i already read
>>>> the documentation of apache Royale but im still having difficulty
>>>> converting my existing view controller and models as per apache royale
>>>> standards.
>>>>
>>>>
>>>> Attached are the three screen shots from my Login screen developed in
>>>> flex.
>>>>
>>>> How much time its going to take to complete the migration process for a
>>>> project contains 500+ files?
>>>>
>>>>
>>>>
>>>> what approach should i use? just replace the flash imports with  royale
>>>> imports and everything will fall into place? or should i go with one file
>>>> at a time
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *Sohail Abdul Khaliq*
>>>>
>>>> Bee Technica,
>>>>
>>>> Abbottabad.
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *Sohail Abdul Khaliq*
>>>>
>>>> Bee Technica,
>>>>
>>>> Abbottabad.
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> *Sohail Abdul Khaliq*
>>> Bee Technica,
>>> Abbottabad.
>>>
>>
>>
>> --
>>
>> Piotr Zarzycki
>>
>> Patreon: *https://www.patreon.com/piotrzarzycki
>> <https://www.patreon.com/piotrzarzycki>*
>>
>

-- 
Carlos Rovira
http://about.me/carlosrovira

Re: Need Migration Help

Posted by Alina Kazi <al...@gmail.com>.
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:
<path to Royale SDK>/royale-asjs/bin/mxmlc
-library-path+=<third-party-library>.swc -api-report=<file to contain
report output> -load-config=<path to Apache Flex
SDK>/frameworks/flex-config.xml <path to main MXML File>/MyApp.mxml

If you get errors, fix them in your code or comment out that code if it
won't impact the report. The Royale Compiler may find errors that the Flex
SDK compiler did not detect.

Then the file you specified in the -api-report option should contain the
information about your app. If your app as other projects like modules or
libraries (SWCs) then you will need to do the same thing to get API reports
for those projects as well. Use compc instead of mxmlc to compile SWCs.


Thanks,
Alina Kazi


On Thu, 25 Jun 2020, 3:15 pm Piotr Zarzycki, <pi...@gmail.com>
wrote:

> 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., 25 cze 2020 o 11:32 Sohail Abdul Khaliq <et...@gmail.com>
> napisał(a):
>
>> 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 <yi...@hotmail.com>
>> wrote:
>>
>>> 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 <et...@gmail.com>
>>> *Sent: *Thursday, June 25, 2020 12:09 PM
>>> *To: *users@royale.apache.org
>>> *Subject: *Re: Need Migration Help
>>>
>>>
>>>
>>> Thanks alot for the quick reply
>>>
>>> please see attached image of the code.Im using fx script and not having
>>> any issue inside mxml file.The issue am facing in within .as file
>>>
>>>
>>>
>>> On Thu, Jun 25, 2020 at 1:51 PM Alina Kazi <al...@gmail.com>
>>> wrote:
>>>
>>> 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 flash independent technology, most of the alternatives are
>>> created in Apache royale technology to make flash components work with the
>>> alternative option in Apache Royale.
>>>
>>> Whenever you got stuck somewhere ask for help immediately. Everyone here
>>> is to help you.
>>>
>>>
>>>
>>> Alina Kazi
>>>
>>>
>>>
>>> On Thu, 25 Jun 2020, 9:35 am Sohail Abdul Khaliq, <et...@gmail.com>
>>> wrote:
>>>
>>> i have a large scale Application in Flex and i now want to migrate from
>>> Flex to Apache Royale.I have zero experience in Apache Royale, in fact i
>>> just heard about it few days ago. I need help in migration i already read
>>> the documentation of apache Royale but im still having difficulty
>>> converting my existing view controller and models as per apache royale
>>> standards.
>>>
>>>
>>> Attached are the three screen shots from my Login screen developed in
>>> flex.
>>>
>>> How much time its going to take to complete the migration process for a
>>> project contains 500+ files?
>>>
>>>
>>>
>>> what approach should i use? just replace the flash imports with  royale
>>> imports and everything will fall into place? or should i go with one file
>>> at a time
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>>
>>> *Sohail Abdul Khaliq*
>>>
>>> Bee Technica,
>>>
>>> Abbottabad.
>>>
>>>
>>>
>>>
>>> --
>>>
>>> *Sohail Abdul Khaliq*
>>>
>>> Bee Technica,
>>>
>>> Abbottabad.
>>>
>>>
>>>
>>
>>
>> --
>> *Sohail Abdul Khaliq*
>> Bee Technica,
>> Abbottabad.
>>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>

Re: Need Migration Help

Posted by Piotr Zarzycki <pi...@gmail.com>.
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 <pi...@gmail.com>
napisał(a):

> 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., 25 cze 2020 o 11:32 Sohail Abdul Khaliq <et...@gmail.com>
> napisał(a):
>
>> 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 <yi...@hotmail.com>
>> wrote:
>>
>>> 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 <et...@gmail.com>
>>> *Sent: *Thursday, June 25, 2020 12:09 PM
>>> *To: *users@royale.apache.org
>>> *Subject: *Re: Need Migration Help
>>>
>>>
>>>
>>> Thanks alot for the quick reply
>>>
>>> please see attached image of the code.Im using fx script and not having
>>> any issue inside mxml file.The issue am facing in within .as file
>>>
>>>
>>>
>>> On Thu, Jun 25, 2020 at 1:51 PM Alina Kazi <al...@gmail.com>
>>> wrote:
>>>
>>> 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 flash independent technology, most of the alternatives are
>>> created in Apache royale technology to make flash components work with the
>>> alternative option in Apache Royale.
>>>
>>> Whenever you got stuck somewhere ask for help immediately. Everyone here
>>> is to help you.
>>>
>>>
>>>
>>> Alina Kazi
>>>
>>>
>>>
>>> On Thu, 25 Jun 2020, 9:35 am Sohail Abdul Khaliq, <et...@gmail.com>
>>> wrote:
>>>
>>> i have a large scale Application in Flex and i now want to migrate from
>>> Flex to Apache Royale.I have zero experience in Apache Royale, in fact i
>>> just heard about it few days ago. I need help in migration i already read
>>> the documentation of apache Royale but im still having difficulty
>>> converting my existing view controller and models as per apache royale
>>> standards.
>>>
>>>
>>> Attached are the three screen shots from my Login screen developed in
>>> flex.
>>>
>>> How much time its going to take to complete the migration process for a
>>> project contains 500+ files?
>>>
>>>
>>>
>>> what approach should i use? just replace the flash imports with  royale
>>> imports and everything will fall into place? or should i go with one file
>>> at a time
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>>
>>> *Sohail Abdul Khaliq*
>>>
>>> Bee Technica,
>>>
>>> Abbottabad.
>>>
>>>
>>>
>>>
>>> --
>>>
>>> *Sohail Abdul Khaliq*
>>>
>>> Bee Technica,
>>>
>>> Abbottabad.
>>>
>>>
>>>
>>
>>
>> --
>> *Sohail Abdul Khaliq*
>> Bee Technica,
>> Abbottabad.
>>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: Need Migration Help

Posted by Piotr Zarzycki <pi...@gmail.com>.
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., 25 cze 2020 o 11:32 Sohail Abdul Khaliq <et...@gmail.com>
napisał(a):

> 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 <yi...@hotmail.com>
> wrote:
>
>> 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 <et...@gmail.com>
>> *Sent: *Thursday, June 25, 2020 12:09 PM
>> *To: *users@royale.apache.org
>> *Subject: *Re: Need Migration Help
>>
>>
>>
>> Thanks alot for the quick reply
>>
>> please see attached image of the code.Im using fx script and not having
>> any issue inside mxml file.The issue am facing in within .as file
>>
>>
>>
>> On Thu, Jun 25, 2020 at 1:51 PM Alina Kazi <al...@gmail.com>
>> wrote:
>>
>> 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 flash independent technology, most of the alternatives are
>> created in Apache royale technology to make flash components work with the
>> alternative option in Apache Royale.
>>
>> Whenever you got stuck somewhere ask for help immediately. Everyone here
>> is to help you.
>>
>>
>>
>> Alina Kazi
>>
>>
>>
>> On Thu, 25 Jun 2020, 9:35 am Sohail Abdul Khaliq, <et...@gmail.com>
>> wrote:
>>
>> i have a large scale Application in Flex and i now want to migrate from
>> Flex to Apache Royale.I have zero experience in Apache Royale, in fact i
>> just heard about it few days ago. I need help in migration i already read
>> the documentation of apache Royale but im still having difficulty
>> converting my existing view controller and models as per apache royale
>> standards.
>>
>>
>> Attached are the three screen shots from my Login screen developed in
>> flex.
>>
>> How much time its going to take to complete the migration process for a
>> project contains 500+ files?
>>
>>
>>
>> what approach should i use? just replace the flash imports with  royale
>> imports and everything will fall into place? or should i go with one file
>> at a time
>>
>>
>>
>>
>>
>>
>>
>> --
>>
>> *Sohail Abdul Khaliq*
>>
>> Bee Technica,
>>
>> Abbottabad.
>>
>>
>>
>>
>> --
>>
>> *Sohail Abdul Khaliq*
>>
>> Bee Technica,
>>
>> Abbottabad.
>>
>>
>>
>
>
> --
> *Sohail Abdul Khaliq*
> Bee Technica,
> Abbottabad.
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Re: Need Migration Help

Posted by Sohail Abdul Khaliq <et...@gmail.com>.
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 <yi...@hotmail.com> wrote:

> 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 <et...@gmail.com>
> *Sent: *Thursday, June 25, 2020 12:09 PM
> *To: *users@royale.apache.org
> *Subject: *Re: Need Migration Help
>
>
>
> Thanks alot for the quick reply
>
> please see attached image of the code.Im using fx script and not having
> any issue inside mxml file.The issue am facing in within .as file
>
>
>
> On Thu, Jun 25, 2020 at 1:51 PM Alina Kazi <al...@gmail.com>
> wrote:
>
> 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 flash independent technology, most of the alternatives are
> created in Apache royale technology to make flash components work with the
> alternative option in Apache Royale.
>
> Whenever you got stuck somewhere ask for help immediately. Everyone here
> is to help you.
>
>
>
> Alina Kazi
>
>
>
> On Thu, 25 Jun 2020, 9:35 am Sohail Abdul Khaliq, <et...@gmail.com>
> wrote:
>
> i have a large scale Application in Flex and i now want to migrate from
> Flex to Apache Royale.I have zero experience in Apache Royale, in fact i
> just heard about it few days ago. I need help in migration i already read
> the documentation of apache Royale but im still having difficulty
> converting my existing view controller and models as per apache royale
> standards.
>
>
> Attached are the three screen shots from my Login screen developed in flex.
>
> How much time its going to take to complete the migration process for a
> project contains 500+ files?
>
>
>
> what approach should i use? just replace the flash imports with  royale
> imports and everything will fall into place? or should i go with one file
> at a time
>
>
>
>
>
>
>
> --
>
> *Sohail Abdul Khaliq*
>
> Bee Technica,
>
> Abbottabad.
>
>
>
>
> --
>
> *Sohail Abdul Khaliq*
>
> Bee Technica,
>
> Abbottabad.
>
>
>


-- 
*Sohail Abdul Khaliq*
Bee Technica,
Abbottabad.

RE: Need Migration Help

Posted by Yishay Weiss <yi...@hotmail.com>.
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<ma...@gmail.com>
Sent: Thursday, June 25, 2020 12:09 PM
To: users@royale.apache.org<ma...@royale.apache.org>
Subject: Re: Need Migration Help

Thanks alot for the quick reply
please see attached image of the code.Im using fx script and not having any issue inside mxml file.The issue am facing in within .as file

On Thu, Jun 25, 2020 at 1:51 PM Alina Kazi <al...@gmail.com>> wrote:
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 flash independent technology, most of the alternatives are created in Apache royale technology to make flash components work with the alternative option in Apache Royale.
Whenever you got stuck somewhere ask for help immediately. Everyone here is to help you.

Alina Kazi

On Thu, 25 Jun 2020, 9:35 am Sohail Abdul Khaliq, <et...@gmail.com>> wrote:
i have a large scale Application in Flex and i now want to migrate from Flex to Apache Royale.I have zero experience in Apache Royale, in fact i just heard about it few days ago. I need help in migration i already read the documentation of apache Royale but im still having difficulty converting my existing view controller and models as per apache royale standards.

Attached are the three screen shots from my Login screen developed in flex.
How much time its going to take to complete the migration process for a project contains 500+ files?

what approach should i use? just replace the flash imports with  royale imports and everything will fall into place? or should i go with one file at a time



--
Sohail Abdul Khaliq
Bee Technica,
Abbottabad.


--
Sohail Abdul Khaliq
Bee Technica,
Abbottabad.


Re: Need Migration Help

Posted by Sohail Abdul Khaliq <et...@gmail.com>.
Thanks alot for the quick reply
please see attached image of the code.Im using fx script and not having any
issue inside mxml file.The issue am facing in within .as file

On Thu, Jun 25, 2020 at 1:51 PM Alina Kazi <al...@gmail.com> wrote:

> 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 flash independent technology, most of the alternatives are
> created in Apache royale technology to make flash components work with the
> alternative option in Apache Royale.
> Whenever you got stuck somewhere ask for help immediately. Everyone here
> is to help you.
>
> Alina Kazi
>
> On Thu, 25 Jun 2020, 9:35 am Sohail Abdul Khaliq, <et...@gmail.com>
> wrote:
>
>> i have a large scale Application in Flex and i now want to migrate from
>> Flex to Apache Royale.I have zero experience in Apache Royale, in fact i
>> just heard about it few days ago. I need help in migration i already read
>> the documentation of apache Royale but im still having difficulty
>> converting my existing view controller and models as per apache royale
>> standards.
>>
>> Attached are the three screen shots from my Login screen developed in
>> flex.
>>
>> How much time its going to take to complete the migration process for a
>> project contains 500+ files?
>>
>> what approach should i use? just replace the flash imports with  royale
>> imports and everything will fall into place? or should i go with one file
>> at a time
>>
>>
>>
>> --
>> *Sohail Abdul Khaliq*
>> Bee Technica,
>> Abbottabad.
>>
>

-- 
*Sohail Abdul Khaliq*
Bee Technica,
Abbottabad.

Re: Need Migration Help

Posted by Alina Kazi <al...@gmail.com>.
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 flash independent technology, most of the alternatives are
created in Apache royale technology to make flash components work with the
alternative option in Apache Royale.
Whenever you got stuck somewhere ask for help immediately. Everyone here is
to help you.

Alina Kazi

On Thu, 25 Jun 2020, 9:35 am Sohail Abdul Khaliq, <et...@gmail.com>
wrote:

> i have a large scale Application in Flex and i now want to migrate from
> Flex to Apache Royale.I have zero experience in Apache Royale, in fact i
> just heard about it few days ago. I need help in migration i already read
> the documentation of apache Royale but im still having difficulty
> converting my existing view controller and models as per apache royale
> standards.
>
> Attached are the three screen shots from my Login screen developed in flex.
>
> How much time its going to take to complete the migration process for a
> project contains 500+ files?
>
> what approach should i use? just replace the flash imports with  royale
> imports and everything will fall into place? or should i go with one file
> at a time
>
>
>
> --
> *Sohail Abdul Khaliq*
> Bee Technica,
> Abbottabad.
>