Hi Alex,

Unfortunately i need to adjust dynamically header properties when the component added/removed each time. But for just now i may comment-out and come back later for the check if the emulation is really required.

For the mouse event, as i understand, both swf and js mx.events.MouseEvent is going to be used and then i have to remove "import flash.events.MouseEvent". So why some of the files still contain the flash import ? Just i am little bit mixed.

Thanks,

Serkan

20.11.2018 23:11 tarihinde Alex Harui yazdı:

Hi Serkan,

So far, there aren’t others using addedToStage event so it would be better if Royale didn’t have to emulate it.  There may be some other event you can use instead like “initComplete” unless you need that code to run every time you remove and re-add the Panel.

Regarding MouseEvent, you just reminded me of something on my list to do, which is to reconfigure the -config.xml files so there aren’t CSS conflicts in apps that aren’t using the emulation.  But for now, you can just fully qualify the type:

protected function depEkle_clickHandler(event:mx.events.MouseEvent):void

you will have to import mx.events.MouseEvent for both JS and SWF.

HTH,

-Alex

*From: *Serkan Taş <serkan....@likyateknoloji.com>
*Reply-To: *"users@royale.apache.org" <users@royale.apache.org>
*Date: *Tuesday, November 20, 2018 at 11:55 AM
*To: *"users@royale.apache.org" <users@royale.apache.org>
*Subject: *Re: Work on Emulation

Hi,

I would like to get advises to resolve these two errors :

1:
Header.mxml(98): col: 75 Error: This attribute is unexpected. It will be ignored.

    <s:Panel id="headerPanel" width="100%" height="20" chromeColor="#E1E5EA" addedToStage="headerPanel_addedToStageHandler(event as Event)">
^

may i just remove the handler ?

2:
DependencyListForm.mxml(156): col: 50 Error: Ambiguous reference to MouseEvent

            protected function depEkle_clickHandler(event:MouseEvent):void
                                   ^

I tired adding import statement with compiler directive :

            COMPILE::SWF {
                import flash.events.MouseEvent;
            }
            COMPILE::JS {
                import mx.events.MouseEvent;
            }

but still the same error is reported.

Thanks,
Serkan

20.11.2018 13:09 tarihinde Serkan Taş yazdı:

    Hi Alex,

    Nice to hear that it is resolved :)

    I may go through my emulation process...

    Thanks,
    Serkan

    19.11.2018 22:47 tarihinde Alex Harui yazdı:

        Wow, it turns out to be a relatively simple scenario.  It is
        amazing that none of our examples have MXML files that
        reference other MXML files by type.  Our Applications might
        have a MyInitialView tag, but no other code in our examples
        actually create a variable like “var myView:MyInitialView” or
        in your case, “import somepackage.MyInitialView”.

        I just pushed a fix for that.  Thanks for helping us track
        that down.

        -Alex

        *From: *Alex Harui <aha...@adobe.com> <mailto:aha...@adobe.com>
        *Reply-To: *"users@royale.apache.org"
        <mailto:users@royale.apache.org> <users@royale.apache.org>
        <mailto:users@royale.apache.org>
        *Date: *Monday, November 19, 2018 at 12:36 AM
        *To: *"users@royale.apache.org"
        <mailto:users@royale.apache.org> <users@royale.apache.org>
        <mailto:users@royale.apache.org>
        *Subject: *Re: Work on Emulation

        OK, I will try this tomorrow.  I have to stop for tonight.

        -Alex

        *From: *Serkan Taş <serkan....@likyateknoloji.com>
        <mailto:serkan....@likyateknoloji.com>
        *Reply-To: *"users@royale.apache.org"
        <mailto:users@royale.apache.org> <users@royale.apache.org>
        <mailto:users@royale.apache.org>
        *Date: *Sunday, November 18, 2018 at 12:59 AM
        *To: *"users@royale.apache.org"
        <mailto:users@royale.apache.org> <users@royale.apache.org>
        <mailto:users@royale.apache.org>
        *Subject: *Re: Work on Emulation

        Hi Alex,

        I prepared a file called FindBug.mxml in my project beside my
        main file. :
        
https://github.com/likyateknoloji/pinaraui-royale/blob/master/src/com/likya/pinara/main/FindBug.mxml
        
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flikyateknoloji%2Fpinaraui-royale%2Fblob%2Fmaster%2Fsrc%2Fcom%2Flikya%2Fpinara%2Fmain%2FFindBug.mxml&data=02%7C01%7Caharui%40adobe.com%7Ca049379d1f694fd8be9508d64f221e63%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783405296654980&sdata=orvpg3Pp%2FiZq9jWAVvQ%2Boraa0rwC6mmEwW02vBi%2BTso%3D&reserved=0>

        Content :




        <?xml version="1.0" encoding="utf-8"?>

        <s:TitleWindow xmlns:fx="http://ns.adobe.com/mxml/2009";
        
<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7Ca049379d1f694fd8be9508d64f221e63%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783405296654980&sdata=Io%2B6hIvp3M%2BOR%2BgxZhU14yaWkxKNmqibe0RQmHODizU%3D&reserved=0>


                          
           xmlns:s="library://ns.apache.org/royale/spark"

                              xmlns:mx="library://ns.apache.org/royale/mx"

                              xmlns:comps="com.likya.pinara.comps.*" >

          <fx:Script>

                   <![CDATA[

                   ]]>

          </fx:Script>

          <fx:Declarations>

          </fx:Declarations>

          <comps:MenuBar excludeFrom="loggedOutState, dummyState"
        id="menuBar"/>

        </s:TitleWindow>


        This code makes the compiler hang wtih line :ASScopeCache done
        with lock in getQualifiedScopeChainMap

        When i comment out the line <!comps:MenuBar
        excludeFrom="loggedOutState, dummyState" id="menuBar"/-->

        Than it completes with warnings:

        Kas 18, 2018 11:54:53 AM
        com.google.javascript.jscomp.LoggerErrorManager printSummary
        WARNING: 1 error(s), 2 warning(s)
        The project 'FindBug' has been successfully compiled and
        optimized.
        23.416603651 seconds

        I my previous mail in thread i told that the problem is
        related with namespace, but i guess the namespace declaration
        masked the problem behind.

        If you want to regenerate the error, you need to clone the
        project and modify the build script :
        https://github.com/likyateknoloji/pinaraui-royale
        
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flikyateknoloji%2Fpinaraui-royale&data=02%7C01%7Caharui%40adobe.com%7Ca049379d1f694fd8be9508d64f221e63%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783405296664990&sdata=87GrGzAoFb1Q1RGdt0wKlfjGchmwUAfXahCUf9cdV8Q%3D&reserved=0>

        The only vars in scripts need to be changed :




        set
        
COMPILER_PATH=D:\dev\royale-emulation-works\apache-royale-0.9.4-bin-js-swf\royale-asjs\js\bin

        set ROYALE_ASJS=D:\dev\royale-emulation-works\github\royale-asjs

        I am leaving for today maybe look at evening or monday evening.

        Thanks,
        Serkan

        17.11.2018 18:40 tarihinde Serkan Taş yazdı:

            Let me preserve thread :

            I found out that namespace definitions in the beginning of
            file - in application tag - causes compiler to hang.

            e.g.

            xmlns:comps="com.likya.pinara.comps.*"

            When i remove these namespace definitions, than compiler
            goes on.

            This workaround let me to continue a little but real
            solution is required for final :

            PinaraUI.mxml(630): col: 3 Error: Unknown namespace
            jobmanager.

                    <jobmanager:JobManager showBusyCursor="true"
            id="jobManagerService"
            fault="jobManagerService_faultHandler(event)"/>


            Thanks.
            Serkan

            17.11.2018 00:41 tarihinde Alex Harui yazdı:

                OK, I may not get to it until Sunday night or Monday.

                -Alex

                *From: *Serkan Taş <serkan....@likyateknoloji.com>
                <mailto:serkan....@likyateknoloji.com>
                *Reply-To: *"users@royale.apache.org"
                <mailto:users@royale.apache.org>
                <users@royale.apache.org> <mailto:users@royale.apache.org>
                *Date: *Friday, November 16, 2018 at 12:58 PM
                *To: *"users@royale.apache.org"
                <mailto:users@royale.apache.org>
                <users@royale.apache.org> <mailto:users@royale.apache.org>
                *Subject: *Re: Work on Emulation






                    Hi Alex,

                    List is ignoring my mails sometimes :) as you may
                    understand from my last mail.

                    I finally finished preparing my project on github
                    to be build easily.

                    Project path :
                    https://github.com/likyateknoloji/pinaraui-royale/
                    
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flikyateknoloji%2Fpinaraui-royale%2F&data=02%7C01%7Caharui%40adobe.com%7Ca049379d1f694fd8be9508d64f221e63%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783405296674995&sdata=BCCsy0Qep%2BbNgdWf0HRB%2BIbIq6F8D4x2j2%2Br%2BrsTO4E%3D&reserved=0>

                    You can find details about command-line options in
                    the batch file
                    
https://github.com/likyateknoloji/pinaraui-royale/blob/master/pinara-git-build.bat
                    
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flikyateknoloji%2Fpinaraui-royale%2Fblob%2Fmaster%2Fpinara-git-build.bat&data=02%7C01%7Caharui%40adobe.com%7Ca049379d1f694fd8be9508d64f221e63%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783405296674995&sdata=WfDkNAZcmhK%2F%2BF4jJzPgh3Lz89%2BeCJaIoXOf1oA7Wyk%3D&reserved=0>

                    I do not like to put libs on github but sometimes
                    it is best solution, and the swc's are under libs
                    folder.

                    If you have any questions let me know.

                    Thanks,
                    Serkan




                    16.11.2018 10:53 tarihinde Alex Harui yazdı:

                        Hi Serkan,

                        I was hoping the output would show an
                        unreleased lock, but every lock seems to get
                        released.

                        Is all of your code in your GitHub account? 
                        If so, I will try to download it and see if it
                        hangs for me.  Please put the exact
                        command-line options you are using.  If you
                        have custom SWCs that this compile will need,
                        maybe you can put those in GitHub too.  I’m
                        done working for tonight.  I will check tomorrow.

                        Thanks,

                        -Alex

                        *From: *Serkan Taş
                        <serkan....@likyateknoloji.com>
                        <mailto:serkan....@likyateknoloji.com>
                        *Reply-To: *"users@royale.apache.org"
                        <mailto:users@royale.apache.org>
                        <users@royale.apache.org>
                        <mailto:users@royale.apache.org>
                        *Date: *Thursday, November 15, 2018 at 9:03 PM
                        *To: *"users@royale.apache.org"
                        <mailto:users@royale.apache.org>
                        <users@royale.apache.org>
                        <mailto:users@royale.apache.org>
                        *Subject: *Re: Work on Emulation

                        Is mail list accepting mails ?

                        15.11.2018 23:26 tarihinde Serkan Taş yazdı:

                            i did not copy all the logs, just command.
                            It means there are more.

                            Here it is :
                            
https://drive.google.com/open?id=16Q1OLxAKa2lsbCcXZEebX7g6L21j4PsP
                            
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D16Q1OLxAKa2lsbCcXZEebX7g6L21j4PsP&data=02%7C01%7Caharui%40adobe.com%7Ca049379d1f694fd8be9508d64f221e63%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783405296685004&sdata=dcNmxpT9ErbRNG8WtdNN%2BPVnjZgoJPS3snACI8y9rZU%3D&reserved=0>

                            Serkan.

                            15.11.2018 23:07 tarihinde Alex Harui yazdı:

                                What are all the “….”?  Or was the
                                last line of output:

                                “Loading configuration:
                                
D:\dev\royale-emulation-works\apache-royale-0.9.4-bin-js-swf\royale-asjs\frameworks\royale-config.xml”






                                The diagnostics option is trying to
                                output more to the console to try to
                                expose places where there could be
                                thread deadlocks.  So it is important
                                to see all of the output.

                                -Alex

                                *From: *Serkan Taş
                                <serkan....@likyateknoloji.com>
                                <mailto:serkan....@likyateknoloji.com>
                                *Reply-To: *"users@royale.apache.org"
                                <mailto:users@royale.apache.org>
                                <users@royale.apache.org>
                                <mailto:users@royale.apache.org>
                                *Date: *Thursday, November 15, 2018 at
                                11:55 AM
                                *To: *"users@royale.apache.org"
                                <mailto:users@royale.apache.org>
                                <users@royale.apache.org>
                                <mailto:users@royale.apache.org>
                                *Subject: *Re: Work on Emulation

                                Hi Alex,

                                I added the option to the compiler and
                                removed all the codes with warning. I
                                waited for several minutes but
                                compiler did not ended yet :)

                                Here is the command :

                                mxmlc -diagnostics=14335
                                
D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\src\com\likya\pinara\main\PinaraUI.mxml
                                -compiler.namespaces.namespace
                                library://ns.apache.org/royale/mx
                                
D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\MXRoyale\src\main\resources\mx-royale-manifest.xml
                                library://ns.apache.org/royale/spark
                                
D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\SparkRoyale\src\main\resources\spark-royale-manifest.xmlhttp://ns.adobe.com/mxml/2009
                                
<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7Ca049379d1f694fd8be9508d64f221e63%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783405296685004&sdata=EI315TRADkCESbbtk7wGBP0Jrw0%2Br9gyP2Nug6z7gUY%3D&reserved=0>
                                
D:\dev\royale-emulation-works\github\royale-asjs\frameworks\mxml-2009-manifest.xml
                                
-library-path+=D:\dev\royale-emulation-works\as3corelib.swc,D:\dev\royale-emulation-works\fiber-lib.swc,D:\dev\royale-emulation-works\serializers-lib.swc,D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\libs\flexlib.swc,D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\libs\libravis.swc,D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\MXRoyale\target\MXRoyale-0.9.5-SNAPSHOT-swf.swc,D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\SparkRoyale\target\SparkRoyale-0.9.5-SNAPSHOT-swf.swc
                                
-js-library-path+=D:\dev\royale-emulation-works\as3corelib.swc,D:\dev\royale-emulation-works\fiber-lib.swc,D:\dev\royale-emulation-works\serializers-lib.swc,D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\libs\flexlib.swc,D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\libs\libravis.swc,D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\MXRoyale\target\MXRoyale-0.9.5-SNAPSHOT-js.swc,D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\SparkRoyale\target\SparkRoyale-0.9.5-SNAPSHOT-js.swc
                                
-source-path=D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\src,D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\locale\{locale}
                                
-services=D:\dev\royale-emulation-works\services-config.xml
                                -locale+=tr_TR  -o .\PinaraUI.swf
                                MXMLJSC
                                
-sdk-js-lib=D:\dev\royale-emulation-works\apache-royale-0.9.4-bin-js-swf\royale-asjs\js\bin\..\..\frameworks\js\Royale\generated-sources
                                -diagnostics=14335
                                
D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\src\com\likya\pinara\main\PinaraUI.mxml
                                -compiler.namespaces.namespace
                                library://ns.apache.org/royale/mx
                                
D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\MXRoyale\src\main\resources\mx-royale-manifest.xml
                                library://ns.apache.org/royale/spark
                                
D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\SparkRoyale\src\main\resources\spark-royale-manifest.xml
                                http://ns.adobe.com/mxml/2009
                                
<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7Ca049379d1f694fd8be9508d64f221e63%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783405296695009&sdata=pkB7OEbGcAEdgxJCIJHk8IHlye63aLz2cjqrzDGnZnU%3D&reserved=0>
                                
D:\dev\royale-emulation-works\github\royale-asjs\frameworks\mxml-2009-manifest.xml
                                
-library-path+=D:\dev\royale-emulation-works\as3corelib.swc,D:\dev\royale-emulation-works\fiber-lib.swc,D:\dev\royale-emulation-works\serializers-lib.swc,D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\libs\flexlib.swc,D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\libs\libravis.swc,D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\MXRoyale\target\MXRoyale-0.9.5-SNAPSHOT-swf.swc,D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\SparkRoyale\target\SparkRoyale-0.9.5-SNAPSHOT-swf.swc
                                
-js-library-path+=D:\dev\royale-emulation-works\as3corelib.swc,D:\dev\royale-emulation-works\fiber-lib.swc,D:\dev\royale-emulation-works\serializers-lib.swc,D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\libs\flexlib.swc,D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\libs\libravis.swc,D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\MXRoyale\target\MXRoyale-0.9.5-SNAPSHOT-js.swc,D:\dev\royale-emulation-works\github\royale-asjs\frameworks\projects\SparkRoyale\target\SparkRoyale-0.9.5-SNAPSHOT-js.swc
                                
-source-path=D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\src,D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\locale\{locale}
                                
-services=D:\dev\royale-emulation-works\services-config.xml
                                -locale+=tr_TR
                                -o
                                .\PinaraUI.swf
                                Configurator waiting for lock in
                                toFileSpecifications
                                Configurator done with lock in
                                toFileSpecifications
                                Loading configuration:
                                
D:\dev\royale-emulation-works\apache-royale-0.9.4-bin-js-swf\royale-asjs\frameworks\royale-config.xml

                                .......

                                I am working on number 2 for now.

                                Thanks,
                                Serkan

                                14.11.2018 08:53 tarihinde
                                serkan....@likyateknoloji.com
                                <mailto:serkan....@likyateknoloji.com>
                                yazdı:


                                    Hi Alex,

                                    1. Try adding the compiler option:
                                    -diagnostics=14335 : okay
                                    2. Ideally, someone like you will
                                    volunteer to setup a debug
                                    environment with Eclipse and the
                                    compiler source and find out
                                    exactly what is going on. : it is
                                    getting deeper but exciting.
                                    3. Another option is to comment
                                    out your code until the compiler
                                    works to see what code triggers
                                    the hang. : I am not sure but may
                                    give a try.
                                    4. Is the compiler eventually
                                    exiting or are you stopping it?








                                        1. if i delete the previous
                                        swf file, and run compile
                                        script, compiler hung with the
                                        line : 479642 bytes written to
                                        
D:\dev\royale-emulation-works\PinaraUI.swf
                                        in 34,602 seconds

                                        2. if i did not delete the swf
                                        file, , and run compile
                                        script, compiler completes
                                        with the line : 34.835480966
                                        seconds


                                    In the first case : I am (CTRL-C)
                                    breaking the script in the second
                                    one, it completes and terminates
                                    itself.

                                    Thanks,
                                    Serkan

                                    Alinti Alex Harui
                                    <aha...@adobe.com>
                                    <mailto:aha...@adobe.com>







                                        Other people have reported the
                                        compiler hanging.  We’ve been
                                        unable to reproduce it ourselves.

                                        Try adding the compiler
                                        option: -diagnostics=14335

                                        Hopefully you will see
                                        additional output.

                                        Ideally, someone like you will
                                        volunteer to setup a debug
                                        environment with Eclipse and
                                        the compiler source and find
                                        out exactly what is going on. 
                                        Another option is to comment
                                        out your code until the
                                        compiler works to see what
                                        code triggers the hang.  Is
                                        the compiler eventually
                                        exiting or are you stopping it?

                                        -Alex

                                        From: Serkan Taş
                                        <serkan....@likyateknoloji.com>
                                        <mailto:serkan....@likyateknoloji.com>

                                        Reply-To:
                                        "users@royale.apache.org"
                                        <mailto:users@royale.apache.org>
                                        <users@royale.apache.org>
                                        <mailto:users@royale.apache.org>
                                        Date: Tuesday, November 13,
                                        2018 at 12:33 PM
                                        To: "users@royale.apache.org"
                                        <mailto:users@royale.apache.org>
                                        <users@royale.apache.org>
                                        <mailto:users@royale.apache.org>
                                        Subject: Re: Work on Emulation

                                        Hi Alex,

                                        I agree with you and i also
                                        expected to get info about swf
                                        but it is not the case. And
                                        agree that compiler hung. May
                                        be you may remember i prepared
                                        a small test application on
                                        github and compiled it
                                        successfully and sent you the
                                        results, so i am aware.

                                        e.g. (from small test app)
                                        ....
                                        47193 bytes written to
                                        
D:\dev\royale-emulation-works\github\royale-testing\src\main\Main.swf
                                        in 4,198 seconds
                                        ....
                                        The project 'Main' has been
                                        successfully compiled and
                                        optimized.
                                        36.614827901 seconds

                                        And i see the same thing as
                                        you : all warnings :)

                                        1. if i delete the previous
                                        swf file, and run compile
                                        script, compiler hung with the
                                        line : 479642 bytes written to
                                        
D:\dev\royale-emulation-works\PinaraUI.swf
                                        in 34,602 seconds

                                        2. if i did not delete the swf
                                        file, , and run compile
                                        script, compiler completes
                                        with the line : 34.835480966
                                        seconds

                                        Where to go from here ?

                                        Thanks.
                                        Serkan,
                                        13.11.2018 00:35 tarihinde
                                        Alex Harui yazdı:
                                        Hi Serkan,

                                        I would have expected other
                                        output, like how many bytes it
                                        wrote to a SWF and the command
                                        prompt would have come back. 
                                        I’m wondering if the compiler
                                        hung.  If you compile a small
                                        test app you should see that
                                        it tells you it wrote the SWF
                                        and other output about writing
                                        JS files.  All I see in your
                                        log is warnings.

                                        -Alex

                                        From: Serkan Taş
                                        <serkan....@likyateknoloji.com>
                                        
<mailto:serkan....@likyateknoloji.com><mailto:serkan....@likyateknoloji.com>
                                        <mailto:serkan....@likyateknoloji.com>
                                        Reply-To:
                                        "users@royale.apache.org"
                                        
<mailto:users@royale.apache.org><mailto:users@royale.apache.org>
                                        <mailto:users@royale.apache.org>
                                        <users@royale.apache.org>
                                        
<mailto:users@royale.apache.org><mailto:users@royale.apache.org>
                                        <mailto:users@royale.apache.org>
                                        Date: Monday, November 12,
                                        2018 at 1:18 PM
                                        To: "users@royale.apache.org"
                                        
<mailto:users@royale.apache.org><mailto:users@royale.apache.org>
                                        <mailto:users@royale.apache.org>
                                        <users@royale.apache.org>
                                        
<mailto:users@royale.apache.org><mailto:users@royale.apache.org>
                                        <mailto:users@royale.apache.org>
                                        Subject: Re: Work on Emulation

                                        Hi,

                                        I am not sure but i think i
                                        can compile my project without
                                        error.

                                        Here is the latest output of
                                        my build :
                                        
https://drive.google.com/open?id=16Q1OLxAKa2lsbCcXZEebX7g6L21j4PsP
                                        
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D16Q1OLxAKa2lsbCcXZEebX7g6L21j4PsP&data=02%7C01%7Caharui%40adobe.com%7Ca049379d1f694fd8be9508d64f221e63%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783405296705018&sdata=xBBNQFL6YgWCmW5jdA8WZboDKOE9rHQVUgmLGgbW%2FDg%3D&reserved=0><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D16Q1OLxAKa2lsbCcXZEebX7g6L21j4PsP&data=02%7C01%7Caharui%40adobe.com%7C29df2c6be5ac499deafe08d649a75117%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636777380376798126&sdata=sDwjVuWOAz4oBS%2BmFIYS3fLeJHgdyRtjJ63GPZMalAI%3D&reserved=0>
                                        
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D16Q1OLxAKa2lsbCcXZEebX7g6L21j4PsP&data=02%7C01%7Caharui%40adobe.com%7Ca049379d1f694fd8be9508d64f221e63%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783405296705018&sdata=xBBNQFL6YgWCmW5jdA8WZboDKOE9rHQVUgmLGgbW%2FDg%3D&reserved=0>
                                        Build script :
                                        
https://drive.google.com/open?id=1J_fX762H1LXJMrBvYuOrzmmqfQZGhvtn
                                        
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D1J_fX762H1LXJMrBvYuOrzmmqfQZGhvtn&data=02%7C01%7Caharui%40adobe.com%7Ca049379d1f694fd8be9508d64f221e63%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783405296715023&sdata=q3kFvZ%2FZe8GoLxW9Tb32mLiwO3oqMThvp9%2FZSNs7DIQ%3D&reserved=0><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D1J_fX762H1LXJMrBvYuOrzmmqfQZGhvtn&data=02%7C01%7Caharui%40adobe.com%7C29df2c6be5ac499deafe08d649a75117%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636777380376808132&sdata=LxamgGYDONyAHnfwO80dP4k1M0XqWA%2BAj0BdEOVNpEg%3D&reserved=0>
                                        
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D1J_fX762H1LXJMrBvYuOrzmmqfQZGhvtn&data=02%7C01%7Caharui%40adobe.com%7Ca049379d1f694fd8be9508d64f221e63%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783405296725033&sdata=Gi%2BL6VJwbQuDg1Cg6rOY3quBlyym%2Fwuz39nw82W%2BNag%3D&reserved=0>
                                        Project repo:
                                        
https://github.com/likyateknoloji/pinaraui-royale/
                                        
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flikyateknoloji%2Fpinaraui-royale%2F&data=02%7C01%7Caharui%40adobe.com%7Ca049379d1f694fd8be9508d64f221e63%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783405296725033&sdata=R%2FjQTVIcivGctt92LVSrIY%2BYObZQFaFi5klCnPgR7l4%3D&reserved=0><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flikyateknoloji%2Fpinaraui-royale%2F&data=02%7C01%7Caharui%40adobe.com%7C29df2c6be5ac499deafe08d649a75117%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636777380376808132&sdata=dycRKKBlMMoSijeKraU%2FuP27tOk6es84GlA%2FbHl0%2Br4%3D&reserved=0>
                                        
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flikyateknoloji%2Fpinaraui-royale%2F&data=02%7C01%7Caharui%40adobe.com%7Ca049379d1f694fd8be9508d64f221e63%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783405296735038&sdata=2XMW4fSC7jkD9BuC90gV204nmr3f6goPNyC%2B1shfCD0%3D&reserved=0>

                                        I have my swf file but not
                                        have any js output.

                                        I want to test both swf and
                                        javascript output and need
                                        some help.

                                        Thanks
                                        Serkan
                                        12.11.2018 22:09 tarihinde
                                        Serkan Taş yazdı:
                                        May you please check PR :
                                        
https://github.com/apache/royale-asjs/pull/339
                                        
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fpull%2F339&data=02%7C01%7Caharui%40adobe.com%7Ca049379d1f694fd8be9508d64f221e63%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783405296735038&sdata=wVN4aGB%2BhEtWSB7KIFcy0qCUQQ7c6YM2y6gPGUaBHuU%3D&reserved=0><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fpull%2F339&data=02%7C01%7Caharui%40adobe.com%7C29df2c6be5ac499deafe08d649a75117%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636777380376818142&sdata=qmbeVUbgtiYzW%2BInNUFfpHDd3B3Zerl3TiXCuIW8IiM%3D&reserved=0>
                                        
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fpull%2F339&data=02%7C01%7Caharui%40adobe.com%7Ca049379d1f694fd8be9508d64f221e63%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783405296745047&sdata=2yUVKeE%2FrAiC6QPOgnCPCRI2j4qTCsyVA4QSzlmxAT0%3D&reserved=0>

                                        Thanks,
                                        Serkan
                                        10.11.2018 14:12 tarihinde
                                        Serkan Taş yazdı:
                                        Hi Piotr,

                                        good question :)

                                        As i am using FB-ide for my
                                        flex project, i can not see
                                        any output for compiling. I
                                        have to set up environment see.

                                        Thanks,
                                        Serkan
                                        10.11.2018 13:57 tarihinde
                                        Piotr Zarzycki yazdı:
                                        Hi Serkan,

                                        If you are in Flex with that
                                        code - didn't you get warnings
                                        as well ?

                                        Thanks,
                                        Piotr

                                        sob., 10 lis 2018 o 10:14
                                        Serkan Taş
                                        <serkan....@likyateknoloji.com
                                        
<mailto:serkan....@likyateknoloji.com><mailto:serkan....@likyateknoloji.com>
                                        <mailto:serkan....@likyateknoloji.com>>
                                        napisał(a):
                                        Hi,

                                        Variable is defined as :

                                        [Bindable]
                                        public var data:XML

                                        and referenced as :

                                        <s:Image id="disableJob"
                                        
source="{ImageContainer.getManageImage(0)}"
                                        
toolTip="{resourceManager.getString('messages',
                                        'disableJobTooltip')}"
                                        
includeInLayout="{data.visualParams.commandabilityParams.isDisablable
                                        == true}" buttonMode="true"
                                        
visible="{data.visualParams.commandabilityParams.isDisablable
                                        == true}"
                                        click="executeJobCommand(event,
                                        data.@Id, data.Id)" />

                                        Warning :

                                        
D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\src\com\likya\pinara\comps\jobdetail\ManageButtonGroup.mxml(191):
                                        col: 27 Warning: Data binding
                                        will not be able to detect
                                        assignments to 'visualParams'.

                                        
includeInLayout="{data.visualParams.commandabilityParams.isDisablable
                                        == true}" buttonMode="true"
                                                                          
                                        ^

                                        Why may i getting warning ?
                                        May i disregards the warnings ?

                                        Thanks,
                                        Serkan
                                        10.11.2018 11:45 tarihinde
                                        Serkan Taş yazdı:
                                        Hi Alex,
                                        ·         Constants not
                                        inherited : i copied the
                                        declarations of the statics to
                                        the SWF part.
                                        ·         HEAD and OPTIONS:
                                        For now, HEAD and OPTIONS are
                                        not required. I may live
                                        without them.

                                        Thanks,
                                        Serkan
                                        10.11.2018 00:40 tarihinde
                                        Alex Harui yazdı:
                                        Hi Serkan,

                                        Are you using HEAD and
                                        OPTIONS?  If not, use
                                        HTTPConstants.  No need to
                                        carry around strings you won’t
                                        use.  If you can prove that
                                        Google Closure Compiler will
                                        strip out unused constants (it
                                        should) then if you need HEAD
                                        and/or OPTIONS you can add
                                        them to HTTPConstants.

                                        HTH,
                                        -Alex

                                        From: Serkan Taş
                                        <serkan....@likyateknoloji.com>
                                        
<mailto:serkan....@likyateknoloji.com><mailto:serkan....@likyateknoloji.com>
                                        <mailto:serkan....@likyateknoloji.com>
                                        Reply-To:
                                        "users@royale.apache.org"
                                        
<mailto:users@royale.apache.org><mailto:users@royale.apache.org>
                                        <mailto:users@royale.apache.org>
                                        <users@royale.apache.org>
                                        
<mailto:users@royale.apache.org><mailto:users@royale.apache.org>
                                        <mailto:users@royale.apache.org>
                                        Date: Friday, November 9, 2018
                                        at 1:09 PM
                                        To: "users@royale.apache.org"
                                        
<mailto:users@royale.apache.org><mailto:users@royale.apache.org>
                                        <mailto:users@royale.apache.org>
                                        <users@royale.apache.org>
                                        
<mailto:users@royale.apache.org><mailto:users@royale.apache.org>
                                        <mailto:users@royale.apache.org>
                                        Subject: Re: Work on Emulation

                                        Hi,

                                        How can i go through
                                        URLRequestMethod. May i create
                                        one in
                                        
org.apache.royale.net<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Forg.apache.royale.net&data=02%7C01%7Caharui%40adobe.com%7C29df2c6be5ac499deafe08d649a75117%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636777380376828148&sdata=jz4j8wEgPZiOjPu91Y5tWnts%2F1WPZ6yo6hzOuTS4pIg%3D&reserved=0>
                                        
<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Forg.apache.royale.net&data=02%7C01%7Caharui%40adobe.com%7Ca049379d1f694fd8be9508d64f221e63%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783405296755057&sdata=D73KjeepTu0bjHpKxYl4iqkb7jcBXDhY%2B2Y7c76zgTY%3D&reserved=0>
                                        or just use HTTPConstants ?

                                        Reference : req.method =
                                        URLRequestMethod.POST;

                                        HttpConstants is missing some
                                        constants like HEAD and OPTIONS.

                                        Thanks,
                                        Serkan
                                        9.11.2018 00:29 tarihinde Alex
                                        Harui yazdı:
                                        You will need to create a
                                        Spark ButtonBar that
                                        subclasses UIComponent or one
                                        of its subclasses (probably
                                        SkinnableComponent). Then
                                        borrow beads from
                                        org.apache.royale.html.ButtonBar
                                        to try to get it to actually
                                        work.  Sometimes you will have
                                        to subclass the beads to
                                        handle type-mismatches. 
                                        That’s basically how we are
                                        creating all of the UI widgets
                                        for the emulation set.

                                        -Alex

                                        From: Serkan Taş
                                        <serkan....@likyateknoloji.com>
                                        
<mailto:serkan....@likyateknoloji.com><mailto:serkan....@likyateknoloji.com>
                                        <mailto:serkan....@likyateknoloji.com>
                                        Reply-To:
                                        "users@royale.apache.org"
                                        
<mailto:users@royale.apache.org><mailto:users@royale.apache.org>
                                        <mailto:users@royale.apache.org>
                                        <users@royale.apache.org>
                                        
<mailto:users@royale.apache.org><mailto:users@royale.apache.org>
                                        <mailto:users@royale.apache.org>
                                        Date: Thursday, November 8,
                                        2018 at 1:08 PM
                                        To: "users@royale.apache.org"
                                        
<mailto:users@royale.apache.org><mailto:users@royale.apache.org>
                                        <mailto:users@royale.apache.org>
                                        <users@royale.apache.org>
                                        
<mailto:users@royale.apache.org><mailto:users@royale.apache.org>
                                        <mailto:users@royale.apache.org>
                                        Subject: Re: Work on Emulation

                                        Hi,

                                        May i emulate s:ButtonBar or
                                        use the implemented version ?
                                        (org.apache.royale.html.ButtonBar)


                                        Thanks.
                                        8.11.2018 23:17 tarihinde
                                        Serkan Taş yazdı:
                                        Hi Alex,

                                        My latest compile with the
                                        updated repo does not contain
                                        any error related with
                                        BorderContainer, can say it is
                                        fixed for now.

                                        Thanks,
                                        Serkan
                                        8.11.2018 05:03 tarihinde Alex
                                        Harui yazdı:
                                        I have finished getting
                                        BorderContainer to work for
                                        me.  Let us know if it works
                                        for you.

                                        -Alex

                                        From: Serkan Taş
                                        <serkan....@likyateknoloji.com>
                                        
<mailto:serkan....@likyateknoloji.com><mailto:serkan....@likyateknoloji.com>
                                        <mailto:serkan....@likyateknoloji.com>
                                        Reply-To:
                                        "users@royale.apache.org"
                                        
<mailto:users@royale.apache.org><mailto:users@royale.apache.org>
                                        <mailto:users@royale.apache.org>
                                        <users@royale.apache.org>
                                        
<mailto:users@royale.apache.org><mailto:users@royale.apache.org>
                                        <mailto:users@royale.apache.org>
                                        Date: Tuesday, November 6,
                                        2018 at 12:03 PM
                                        To: "users@royale.apache.org"
                                        
<mailto:users@royale.apache.org><mailto:users@royale.apache.org>
                                        <mailto:users@royale.apache.org>
                                        <users@royale.apache.org>
                                        
<mailto:users@royale.apache.org><mailto:users@royale.apache.org>
                                        <mailto:users@royale.apache.org>
                                        Subject: Re: Work on Emulation

                                        Hi Alex,

                                        I may wait for your work to be
                                        finished on BorderContainer. I
                                        dit no add them to PR. My PR
                                        is still waiting :)

                                        This is the error when i get
                                        without modification on xmls.

                                        
D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\src\com\likya\comps\crud\user\ChangePass.mxml(198):
                                        col: 2 Error: This tag is
                                        unexpected. It will be ignored.

                                            <s:BorderContainer y="135"
                                        width="100%" height="20%"
                                        borderWeight="2"
                                        cornerRadius="3"
                                        dropShadowVisible="true"
                                        backgroundColor="gray">
                                            ^

                                        Thanks,
                                        Serkan
                                        6.11.2018 01:52 tarihinde Alex
                                        Harui yazdı:
                                        Hi Serkan,

                                        I’m not sure what error you
                                        got with BorderContainer. 
                                        Alina temporarily mapped
                                        BorderContainer to MX
                                        Container because
                                        BorderContainer was compiling
                                        but not running.  I hope to
                                        finish enough of Charts today
                                        or tomorrow and then I will
                                        try to get BorderContainer
                                        working correctly on Spark
                                        Containers.  It is fine for
                                        you to change the manifest
                                        locally, but I think we
                                        shouldn’t push that to the
                                        repo.  Alina’s at the point
                                        where she needs things to
                                        actually run and not just
                                        compile.  Hopefully we’ll get
                                        everything synced up soon when
                                        I get BorderContainer working
                                        properly.

                                        Thanks,
                                        -Alex

                                        From: Serkan Taş
                                        <serkan....@likyateknoloji.com>
                                        
<mailto:serkan....@likyateknoloji.com><mailto:serkan....@likyateknoloji.com>
                                        <mailto:serkan....@likyateknoloji.com>
                                        Reply-To:
                                        "users@royale.apache.org"
                                        
<mailto:users@royale.apache.org><mailto:users@royale.apache.org>
                                        <mailto:users@royale.apache.org>
                                        <users@royale.apache.org>
                                        
<mailto:users@royale.apache.org><mailto:users@royale.apache.org>
                                        <mailto:users@royale.apache.org>
                                        Date: Monday, November 5, 2018
                                        at 1:49 PM
                                        To: "users@royale.apache.org"
                                        
<mailto:users@royale.apache.org><mailto:users@royale.apache.org>
                                        <mailto:users@royale.apache.org>
                                        <users@royale.apache.org>
                                        
<mailto:users@royale.apache.org><mailto:users@royale.apache.org>
                                        <mailto:users@royale.apache.org>
                                        Subject: Re: Work on Emulation

                                        Hi,

                                        To solve the error of
                                        BorderContainer - which is
                                        already emulated - for my
                                        project build, I added mapping
                                        to SparkRoyaleClasses.as. It
                                        did not solve the compiler
                                        error. When i checked the
                                        spark-royale-manifest.xml
                                        there is also mapping for
                                        BorderContainer but for
                                        mx.core.Container. I tested
                                        that removing the mapping to
                                        mx solves the compiler error.

                                        I like to remove this line
                                        from the file. Any body have
                                        any comment ?

                                        Thanks,
                                        Serkan
                                        6.11.2018 00:35 tarihinde
                                        Serkan Taş yazdı:
                                        Hi Alex,

                                        Just like to remind.

                                        Thanks,
                                        Serkan.
                                        31.10.2018 23:14 tarihinde
                                        Serkan Taş yazdı:
                                        Sure Alex,

                                        My operation does not extend
                                        but contains the operation :
                                        mx.rpc.http.Operation which
                                        extends from AbstractOperation

                                        internal class _Super_UserOps
                                        extends
                                        
com.adobe.fiber.services.wrapper.HTTPServiceWrapper

                                        {
                                            private static var
                                        serializer0:XMLSerializationFilter
                                        = new XMLSerializationFilter();

                                            // Constructor
                                            public function
                                        _Super_UserOps()
                                            {
                                                // initialize service
                                        control
                                                _serviceControl = new
                                        
mx.rpc.http.HTTPMultiService("http://127.0.0.1:3000";
                                        
<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2F127.0.0.1%3A3000&data=02%7C01%7Caharui%40adobe.com%7Ca049379d1f694fd8be9508d64f221e63%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783405296755057&sdata=H8ez4uf4qsFdAwYFs4LP%2BSutuRfCGQobVe6QNvBrC2k%3D&reserved=0><https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2F127.0.0.1%3A3000&data=02%7C01%7Caharui%40adobe.com%7C29df2c6be5ac499deafe08d649a75117%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636777380376828148&sdata=63HYO%2B1IxTQC4T%2FirGjTD0ILUB7TQm9CZjq18p3Fkgg%3D&reserved=0>
                                        
<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2F127.0.0.1%3A3000&data=02%7C01%7Caharui%40adobe.com%7Ca049379d1f694fd8be9508d64f221e63%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783405296765062&sdata=%2FHqfekzwcaLgXijq%2FCVrK9qI%2BmeiriX3%2BvIYVTI0yWc%3D&reserved=0>);
                                                 var operations:Array
                                        = new Array();
                                                 var
                                        operation:mx.rpc.http.Operation;
                                                 var argsArray:Array;

                                                 operation = new
                                        mx.rpc.http.Operation(null,
                                        "changepass");
                                                 operation.url =
                                        "/flex/restsrv/userops/changepass";

                                                 operation.method =
                                        "POST";
                                                
                                        operation.serializationFilter
                                        = serializer0;
                                                 operation.contentType
                                        = "application/xml";
                                                 operation.resultType
                                        = Object;
                                                
                                        operations.push(operation);
















Reply via email to