Hil Liju,

I think the mailing list server strips attachments.  You can open a Github 
issue at https://github.com/apache/royale-asjs/issues/
But be careful about posting your company’s code.  It could be that the Royale 
compiler has a bug about interface verification for write-only properties 
(setter but no getter).  Maybe another volunteer will find time to test that.  
I’ve got a few other things in my queue right now.

-Alex

From: "Liju Thomas (OSV)" <[email protected]>
Reply-To: "[email protected]" <[email protected]>
Date: Thursday, June 11, 2020 at 7:09 AM
To: "[email protected]" <[email protected]>
Cc: "Arya Sankar (OSV)" <[email protected]>
Subject: Re: Migration of Adobe Flex to Apache Royale - Support needed

Hey Alex,

Please find the mxml file. IFedexManagedComponent is just a interface.

public interface IFedexManagedComponent
{
function set workFlowManager(value:BaseWorkFlowManager):void;  // this takes 
over the Appl Event Broadcaster
function displayErrors(showErrDIColl:ArrayCollection, 
hideErrDIColl:ArrayCollection=null):void;
function handleEvent(evt:FedExEvent,wfmFeedback:IWFMFeedback):void;
function prepared4Event(event:FedExEvent, wfmFeedback:IWFMFeedback):Boolean;
}

Regards,

Liju
________________________________
From: Alex Harui <[email protected]>
Sent: Thursday, June 11, 2020 1:41 PM
To: [email protected] <[email protected]>
Cc: Arya Sankar (OSV) <[email protected]>
Subject: [EXTERNAL] Re: Migration of Adobe Flex to Apache Royale - Support 
needed

Hi Liju

Please post the relevant code (don't need the code in the function) and the 
actual error.

Your application should look something like:
<mx:Application 
xmlns:fx="https://nam03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&amp;data=02%7C01%7Cliju.thomas.osv%40fedex.com%7C063a96d3b32b4186900808d80ddf12d2%7Cb945c813dce641f884575a12c2fe15bf%7C1%7C0%7C637274599038160268&amp;sdata=PDFkUDIfhK98A3nE5i666II7PeQ%2BMHO%2Bed89PtgBjVI%3D&amp;reserved=0<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7C6e3c5245048c429daaed08d80e111e09%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637274813981660609&sdata=OKtEEa8Sum%2FM8astUBQgQazc6SxO1b1rqYhLlPcDFHs%3D&reserved=0>"
                  xmlns:mx="library://ns.apache.org/royale/mx"
                  implements="IManagedComponent">
        <fx:Script>
        <![CDATA[
                 public function set 
workFlowManager(wfm:BaseWorkFlowManager):void {
                   trace("received event: ");
                 }
        ]]>
        </fx:Script>
</mx:Application>

Also post the part of IManagedComponent that specifies the workFlowManager API.

I have to stop work for today, but Yishay and others can help.

-Alex

On 6/11/20, 12:51 AM, "Liju Thomas (OSV)" <[email protected]> 
wrote:

    HI Yishay,

    Error still same after making the change.

    Regards,

    Liju

    ________________________________
    From: Yishay Weiss <[email protected]>
    Sent: Thursday, June 11, 2020 12:26 PM
    To: [email protected] <[email protected]>
    Cc: Arya Sankar (OSV) <[email protected]>
    Subject: [EXTERNAL] RE: Migration of Adobe Flex to Apache Royale - Support 
needed


    Try fx:Script instead of mx:Script



    From: Liju Thomas (OSV)<mailto:[email protected]>
    Sent: Thursday, June 11, 2020 9:52 AM
    To: [email protected]<mailto:[email protected]>
    Cc: Arya Sankar (OSV)<mailto:[email protected]>
    Subject: Re: Migration of Adobe Flex to Apache Royale - Support needed



    Hi Alex,



    workFlowManager method is there in the MXML file inside <mx:Script>



    public function set workFlowManager(wfm:BaseWorkFlowManager):void {

    trace("received event: ");

    }



    I understand it is blank method, with only a trace. Same goes for 
DisplayError. Attaching the complete log.



    Regards,



    Liju



    From: Alex Harui <[email protected]>
    Sent: Thursday, June 11, 2020 12:06 PM
    To: [email protected] <[email protected]>
    Cc: Arya Sankar (OSV) <[email protected]>
    Subject: [EXTERNAL] Re: Migration of Adobe Flex to Apache Royale - Support 
needed



    Hi Liju,

    I no longer see the error " FLEX.mxml(2): col: 1 Error: This tag could not 
be resolved to an ActionScript class. It will be ignored." In your output.  
Instead I am seeing different errors.

    The error: " interface method workFlowManager in interface 
IManagedComponent not implemented by class FLEX" indicates that a method called 
"workFlowManager" is missing in your application.  What is the package for 
IManagedComponent?  Is it from your code or some other SWC/library?  Did your 
Flex 3 version have a workFlowManager method?

    Thanks,
    -Alex

    On 6/10/20, 11:27 PM, "Liju Thomas (OSV)" 
<[email protected]> wrote:

        Hi Alex,

        I have corrected it. Errors are still same.

        createsrcswf:
             [echo] *** create D:\<fakepath>\FLEX/../FLEX/Integration.swf ***
            [mxmlc] MXMLJSC
            [mxmlc] -compiler.keep-generated-actionscript=false
            [mxmlc] -compiler.debug=false
            [mxmlc] 
+royalelib=C:/Users/<fakepath>/AppData/Roaming/npm/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/
            [mxmlc] -compiler.actionscript-file-encoding=UTF-8
            [mxmlc] -compiler.locale=
            [mxmlc] -link-report=D:\<fakepath>/FLEX/../FLEX/externs.txt
            [mxmlc] +configname=flex
            [mxmlc] -default-size
            [mxmlc] 800
            [mxmlc] 1000
            [mxmlc] 
-load-config=C:/Users/<fakepath>/AppData/Roaming/npm/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/flex-config.xml
            [mxmlc] -output=D:\<fakepath>FLEX\Integration.swf
            [mxmlc] --
            [mxmlc] D:\<fakepath>/src/FLEX.mxml
            [mxmlc] D:\<fakepath>FLEX.mxml Error: interface method 
workFlowManager in interface IManagedComponent not implemented by class FLEX
            [mxmlc]
            [mxmlc]
            [mxmlc] D:\<fakepath>FLEX.mxml Error: interface method 
displayErrors in interface IManagedComponent not implemented by class FLEX

        Regards,

        Liju
        ________________________________
        From: Alex Harui <[email protected]>
        Sent: Thursday, June 11, 2020 11:26 AM
        To: [email protected] <[email protected]>
        Cc: Arya Sankar (OSV) <[email protected]>
        Subject: [EXTERNAL] Re: Migration of Adobe Flex to Apache Royale - 
Support needed

        Hi Liju,

        The option -load-config=C:/<fakepath>.../royale-config.xml should not 
be there.  Are you specifying that or is that in some default launcher we have? 
 You'll know you have it right when it loads flex-config.xml (because of 
+configname=flex) instead of royale-config.xml

        HTH,
        -Alex

        On 6/10/20, 10:52 PM, "Liju Thomas (OSV)" 
<[email protected]> wrote:

            Hey Alex,

            Yes it is FLEX 3, I updated as per your comment, following error is 
coming. You may check the configuration:

             [echo] *** create 
D:\Work\Clients\FedEx\Apps\WGRT\VCWorkspace\SVN\WGRTFLEX/../WGRTFLEX/WGRTFreightIntegration.swf
 ***
                [mxmlc] MXMLJSC
                [mxmlc] -compiler.keep-generated-actionscript=false
                [mxmlc] -compiler.debug=false
                [mxmlc] 
+royalelib=C:/<fakepath>AppData/Roaming/npm/node_modules/@apache-royale/royale-js/frameworks/
                [mxmlc] -compiler.actionscript-file-encoding=UTF-8
                [mxmlc] -compiler.locale=
                [mxmlc] -link-report=D:\<fakepath>/FLEX/../WGRTFLEX/externs.txt
                [mxmlc] +configname=flex
                [mxmlc] -default-size
                [mxmlc] 800
                [mxmlc] 1000
                [mxmlc] 
-load-config=C:/<fakepath>AppData/Roaming/npm/node_modules/@apache-royale/royale-js/royale-asjs/frameworks/royale-config.xml
                [mxmlc] -output=D:<fakepath>FLEX\WGRTFreightIntegration.swf
                [mxmlc] --
                [mxmlc] D:\<fakepath>FLEX/../WGRTFLEX/src/WGRTFLEX.mxml
                [mxmlc] 6.7364493 seconds
                [mxmlc] D:\<fakepath>WGRTFLEX\src\WGRTFLEX.mxml(2): col: 1 
Error: This tag could not be resolved to an ActionScript class. It will be 
ignored.
                [mxmlc]
                [mxmlc] <mx:Application 
xmlns:fx="https://nam03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&amp;data=02%7C01%7Cliju.thomas.osv%40fedex.com%7C063a96d3b32b4186900808d80ddf12d2%7Cb945c813dce641f884575a12c2fe15bf%7C1%7C0%7C637274599038160268&amp;sdata=PDFkUDIfhK98A3nE5i666II7PeQ%2BMHO%2Bed89PtgBjVI%3D&amp;reserved=0<https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__nam03.safelinks.protection.outlook.com_-3Furl-3Dhttp-253A-252F-252Fns.adobe.com-252Fmxml-252F2009-26amp-3Bdata-3D02-257C01-257Cliju.thomas.osv-2540fedex.com-257C1b59ffa3c1de410237a308d80dd1ea58-257Cb945c813dce641f884575a12c2fe15bf-257C1-257C0-257C637274542519901597-26amp-3Bsdata-3Dgt-252BkQJTW9cLZ4AeHYnVUW9OEYCC34a3aIoe0WbXYRhs-253D-26amp-3Breserved-3D0%26d%3DDwMGaQ%26c%3DfpIeS8RwmHkY2r_dFRL5tQ%26r%3Daanc4j4xsg3RIhiBfaN9onX6bLCpzFkPa2kojuuTVUQ%26m%3DJOx4GN07QYGSOI2GLDaicgpGXExCuusXm9pzuVzFP9M%26s%3DkmQPqJcSGH_nhGIQ_fdXxUyfLlQ5taJ_-Mdmu83lkdA%26e%3D&amp;data=02%7C01%7Cliju.thomas.osv%40fedex.com%7C063a96d3b32b4186900808d80ddf12d2%7Cb945c813dce641f884575a12c2fe15bf%7C1%7C0%7C637274599038160268&amp;sdata=fRLnudmdAKXJ748o%2FCluRCrTX4iyBl09gHUen34loRs%3D&amp;reserved=0<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7C6e3c5245048c429daaed08d80e111e09%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637274813981670606&sdata=MhYp11hrpav0Q8lBb%2Fej7NEKN44oHdgykz6%2FUx%2F%2BriY%3D&reserved=0>>"
 xmlns:mx="library://ns.apache.org/royale/mx"
                [mxmlc] ^
                [mxmlc]
            FLEX.mxml(2): col: 1 Error: This tag could not be resolved to an 
ActionScript class. It will be ignored.
                [mxmlc]
                [mxmlc] <mx:Application 
xmlns:fx="https://nam03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&amp;data=02%7C01%7Cliju.thomas.osv%40fedex.com%7C063a96d3b32b4186900808d80ddf12d2%7Cb945c813dce641f884575a12c2fe15bf%7C1%7C0%7C637274599038170224&amp;sdata=W5r1gTpVUvFLUGmYF4uB4JJfY9P%2FkMPJZaTl7PAqIVI%3D&amp;reserved=0<https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__nam03.safelinks.protection.outlook.com_-3Furl-3Dhttp-253A-252F-252Fns.adobe.com-252Fmxml-252F2009-26amp-3Bdata-3D02-257C01-257Cliju.thomas.osv-2540fedex.com-257C1b59ffa3c1de410237a308d80dd1ea58-257Cb945c813dce641f884575a12c2fe15bf-257C1-257C0-257C637274542519901597-26amp-3Bsdata-3Dgt-252BkQJTW9cLZ4AeHYnVUW9OEYCC34a3aIoe0WbXYRhs-253D-26amp-3Breserved-3D0%26d%3DDwMGaQ%26c%3DfpIeS8RwmHkY2r_dFRL5tQ%26r%3Daanc4j4xsg3RIhiBfaN9onX6bLCpzFkPa2kojuuTVUQ%26m%3DJOx4GN07QYGSOI2GLDaicgpGXExCuusXm9pzuVzFP9M%26s%3DkmQPqJcSGH_nhGIQ_fdXxUyfLlQ5taJ_-Mdmu83lkdA%26e%3D&amp;data=02%7C01%7Cliju.thomas.osv%40fedex.com%7C063a96d3b32b4186900808d80ddf12d2%7Cb945c813dce641f884575a12c2fe15bf%7C1%7C0%7C637274599038170224&amp;sdata=6R3Tcd3cCx4f1KGw66kossmn1MMXrMBy2J%2BkOFl%2BkKg%3D&amp;reserved=0<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7C6e3c5245048c429daaed08d80e111e09%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637274813981680595&sdata=iknXRk2qvEPBXGl0kOLsSn8bQ%2BOj%2FGiOG5MJWi7ZNfM%3D&reserved=0>>"
 xmlns:mx="library://ns.apache.org/royale/mx"
                [mxmlc] ^
                [mxmlc]

            Regards,

            Liju

            ________________________________
            From: Alex Harui <[email protected]>
            Sent: Thursday, June 11, 2020 11:06 AM
            To: [email protected] <[email protected]>
            Cc: Arya Sankar (OSV) <[email protected]>
            Subject: [EXTERNAL] Re: Migration of Adobe Flex to Apache Royale - 
Support needed

            Hi Liju,

            I posted a reply earlier, but maybe you are having subscription 
problems.

            Are you migrating a Flex 3 application?  If so, then yes, the xmlns 
have to be changed to look like this:

                              
xmlns:fx="https://nam03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&amp;data=02%7C01%7Cliju.thomas.osv%40fedex.com%7C063a96d3b32b4186900808d80ddf12d2%7Cb945c813dce641f884575a12c2fe15bf%7C1%7C0%7C637274599038170224&amp;sdata=W5r1gTpVUvFLUGmYF4uB4JJfY9P%2FkMPJZaTl7PAqIVI%3D&amp;reserved=0<https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__nam03.safelinks.protection.outlook.com_-3Furl-3Dhttp-253A-252F-252Fns.adobe.com-252Fmxml-252F2009-26amp-3Bdata-3D02-257C01-257Cliju.thomas.osv-2540fedex.com-257C1b59ffa3c1de410237a308d80dd1ea58-257Cb945c813dce641f884575a12c2fe15bf-257C1-257C0-257C637274542519901597-26amp-3Bsdata-3Dgt-252BkQJTW9cLZ4AeHYnVUW9OEYCC34a3aIoe0WbXYRhs-253D-26amp-3Breserved-3D0%26d%3DDwMGaQ%26c%3DfpIeS8RwmHkY2r_dFRL5tQ%26r%3Daanc4j4xsg3RIhiBfaN9onX6bLCpzFkPa2kojuuTVUQ%26m%3DJOx4GN07QYGSOI2GLDaicgpGXExCuusXm9pzuVzFP9M%26s%3DkmQPqJcSGH_nhGIQ_fdXxUyfLlQ5taJ_-Mdmu83lkdA%26e%3D&amp;data=02%7C01%7Cliju.thomas.osv%40fedex.com%7C063a96d3b32b4186900808d80ddf12d2%7Cb945c813dce641f884575a12c2fe15bf%7C1%7C0%7C637274599038170224&amp;sdata=6R3Tcd3cCx4f1KGw66kossmn1MMXrMBy2J%2BkOFl%2BkKg%3D&amp;reserved=0<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7C6e3c5245048c429daaed08d80e111e09%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637274813981680595&sdata=iknXRk2qvEPBXGl0kOLsSn8bQ%2BOj%2FGiOG5MJWi7ZNfM%3D&reserved=0>>"
                              xmlns:mx="library://ns.apache.org/royale/mx"

            And you may need to add the compiler option: +configname=flex
            Note the "+" instead of "-".

            HTH,
            -Alex

            On 6/10/20, 9:13 PM, "Liju Thomas (OSV)" 
<[email protected]> wrote:

                Hi Team,

                I'm from Development Team for FedEx, we have an application 
built on Adobe Flex, since Flex is not longer supported after Dec 2020, we need 
to migrate the application to Apache Royale asap.

                We followed the instruction mentioned in the Migration of 
Existing 
app<https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__nam04.safelinks.protection.outlook.com_-3Furl-3Dhttps-253A-252F-252Fapache.github.io-252Froyale-2Ddocs-252Fmigrate-2Dan-2Dexisting-2Dapp-26amp-3Bdata-3D02-257C01-257Caharui-2540adobe.com-257Ce3b1727569284ddc5acc08d80dbdbbbf-257Cfa7b1b5a7b34438794aed2c178decee1-257C0-257C1-257C637274455834763070-26amp-3Bsdata-3DwcwkQrK2fM1WeMwnXjPePrhfF-252BIJElRVhATgTd9YaXc-253D-26amp-3Breserved-3D0%26d%3DDwIGaQ%26c%3DfpIeS8RwmHkY2r_dFRL5tQ%26r%3Daanc4j4xsg3RIhiBfaN9onX6bLCpzFkPa2kojuuTVUQ%26m%3DSeJk0dxLDPsYL8VXY0OadeGUEoiksl06jaR1aCjcjGE%26s%3Di29z2pt5sfterZHon9FyHkoZJyZgVcHIP_pxkohMxo4%26e%3D&amp;data=02%7C01%7Cliju.thomas.osv%40fedex.com%7C063a96d3b32b4186900808d80ddf12d2%7Cb945c813dce641f884575a12c2fe15bf%7C1%7C0%7C637274599038170224&amp;sdata=Ywf3vO%2BxZ3fJLTBmcqKyW%2BYwXtAC%2FbNNrJXl7zQ3i%2F4%3D&amp;reserved=0
 > however, we are facing some issue:


                  1.  I have 
xmlns:mx="https://nam03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.adobe.com%2F2006%2Fmxml&amp;data=02%7C01%7Cliju.thomas.osv%40fedex.com%7C063a96d3b32b4186900808d80ddf12d2%7Cb945c813dce641f884575a12c2fe15bf%7C1%7C0%7C637274599038170224&amp;sdata=2Oer35Q%2Fi9eT8ZCaMoFPQh1KZj97IM2nXbdANeUBJuo%3D&amp;reserved=0<https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__nam03.safelinks.protection.outlook.com_-3Furl-3Dhttp-253A-252F-252Fwww.adobe.com-252F2006-252Fmxml-26amp-3Bdata-3D02-257C01-257Cliju.thomas.osv-2540fedex.com-257C1b59ffa3c1de410237a308d80dd1ea58-257Cb945c813dce641f884575a12c2fe15bf-257C1-257C0-257C637274542519901597-26amp-3Bsdata-3DBj77p0uuBpiOANkiqR5astAJCjOifZLWjuL2ude1-252BrA-253D-26amp-3Breserved-3D0%26d%3DDwMGaQ%26c%3DfpIeS8RwmHkY2r_dFRL5tQ%26r%3Daanc4j4xsg3RIhiBfaN9onX6bLCpzFkPa2kojuuTVUQ%26m%3DJOx4GN07QYGSOI2GLDaicgpGXExCuusXm9pzuVzFP9M%26s%3DGHGyQXEy6a_y06-H_r6xWj5wgb5unaVNxljq3Cyil4A%26e%3D&amp;data=02%7C01%7Cliju.thomas.osv%40fedex.com%7C063a96d3b32b4186900808d80ddf12d2%7Cb945c813dce641f884575a12c2fe15bf%7C1%7C0%7C637274599038180181&amp;sdata=NykaMVZnDNF2UtoMLI4UJf3qjWjGcXUgyu%2FMfqvBx0Q%3D&amp;reserved=0<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.adobe.com%2F2006%2Fmxml&data=02%7C01%7Caharui%40adobe.com%7C6e3c5245048c429daaed08d80e111e09%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637274813981690589&sdata=PpMnBNI5wEr8zbpBWNcygkE9dNijmPrQZtM469ufniM%3D&reserved=0>>"
 in my .MXML but if  I replace the line with 
xmlns:mx="library://ns.apache.org/royale/mx" Compilation fails with following 
error: .mxml(2): col: 1 Error: This tag could not be resolved to an 
ActionScript class. It will be ignored.
                    [mxmlc]
                    [mxmlc] <mx:Application 
xmlns:mx="library://ns.apache.org/royale/mx"
                  2.  If I change the url to 
library://ns.apache.org/royale/basic I get huge number of errors:
                .mxml Error: interface method workFlowManager in interface 
IManagedComponent not implemented by class WGRTFLEX
                Above interface is impplemented in the MXML file under 
<mx:Script>
                <![CDATA[

                Can you please provide you support.

                Regards,

                Liju








Reply via email to