Yes, like I said, there is a change to the config files I am going to make that should reduce how often you get that error. For now, you will have to be explicit and fully qualify the name. The MXML compiler automatically imports certain classes and it is being told by royale-config.xml to import org.apache.royale.events.MouseEvent which conflicts with mx.events.MouseEvent. I am going to see if we can change the default imports in flex-config.xml and have migrating users use flex-config.xml instead of royale-config.xml by adding +configname=”flex” to their compiler options.
I’m working on these changes now to see if there are any issues with doing this. -Alex From: Serkan Taş <serkan....@likyateknoloji.com> Reply-To: "users@royale.apache.org" <users@royale.apache.org> Date: Tuesday, November 20, 2018 at 12:40 PM To: "users@royale.apache.org" <users@royale.apache.org> Subject: Re: Work on Emulation I remove the flash import and just imported mx.events.MouseEvent but vcompiler is forcing to replace all occurrence of MouseEvent with mx.events.MouseEvent. Getting errors : DependencyListForm.mxml(150): col: 50 Error: Ambiguous reference to MouseEvent protected function depEkle_clickHandler(event:MouseEvent):void ^ 20.11.2018 23:33 tarihinde Alex Harui yazdı: Hi Serkan, You can override addedToParent() and call your handler. I don’t have enough context to answer your questions about MouseEvent. In Royale, flash.events.MouseEvents should never be used. When running as a SWF, Royale traps all mouse events and re-dispatches them as org.apache.royale.events.MouseEvent. However, it does not have all of the properties that flash.events.MouseEvent has (and shouldn’t since we don’t want properties like “stageX” in the Royale API since “stage” doesn’t mean anything to users who don’t know Flash. At some point in time, the emulation Applications will replace the code that traps both Flash and Browser MouseEvent and re-dispatch them as mx.events.MouseEvent. So all migrated code should use mx.events.MouseEvent and not any other MouseEvent. It is ok for SWF code to reference flash.events.MouseEvent. Cleaning it up so it doesn’t would be nice, but probably not required. HTH, -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 20, 2018 at 12:22 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 One more addition : do I have to change all occurrence of MouseEvent with mx.events.MouseEvent to get rid of "ambiguous" usage error ? 20.11.2018 23:19 tarihinde Serkan Taş yazdı: 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><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 20, 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, 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%7C2ee316b8c52948e8f8e908d64f2843e8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783431751244819&sdata=a%2F7bJWyyk7mvErpkwCRMTVPI1zTHGdL6Pmy78MevIes%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%7C2ee316b8c52948e8f8e908d64f2843e8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783431751244819&sdata=L8SHn%2BnZLR1I1JGWWYk5%2BBq%2Fi6C2Su4h6msydZBa9Rk%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%7C2ee316b8c52948e8f8e908d64f2843e8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783431751244819&sdata=pStySVTa1%2B35KihSaJt9w8FzmEZF7Ym4iEp%2FlKzQo5Q%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%7C2ee316b8c52948e8f8e908d64f2843e8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783431751244819&sdata=AQqauTEUCKC6BUXVYIsf75jkp%2FKF2475CLupoalkzwk%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%7C2ee316b8c52948e8f8e908d64f2843e8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783431751244819&sdata=2SheK4x%2B1nSXjfCRo8m%2F9BHRNrUv5xmB71iKJzipcSo%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%7C2ee316b8c52948e8f8e908d64f2843e8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783431751244819&sdata=92mT42pDRW%2FXmSDUlHa9Sr0xUE6VwaR59Pf%2F%2FJjoXgs%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.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%7C2ee316b8c52948e8f8e908d64f2843e8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783431751401072&sdata=QJ1Eg91THpPV2IdkeN6idN66Rk8eXtRbFn2H6i%2FJxsc%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%7C2ee316b8c52948e8f8e908d64f2843e8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783431751401072&sdata=QJ1Eg91THpPV2IdkeN6idN66Rk8eXtRbFn2H6i%2FJxsc%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%7C2ee316b8c52948e8f8e908d64f2843e8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783431751401072&sdata=vRoGgd8ZKJ3tfpsKKt4966ygeFpzlgBaQrK7RVKOKkU%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%7C2ee316b8c52948e8f8e908d64f2843e8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783431751401072&sdata=vRoGgd8ZKJ3tfpsKKt4966ygeFpzlgBaQrK7RVKOKkU%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%7C2ee316b8c52948e8f8e908d64f2843e8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783431751401072&sdata=0Let67AymBD%2Bk56B%2FppRtAaK1msueo8Z9%2F4xSNAKqAI%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%7C2ee316b8c52948e8f8e908d64f2843e8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783431751401072&sdata=0Let67AymBD%2Bk56B%2FppRtAaK1msueo8Z9%2F4xSNAKqAI%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%7C2ee316b8c52948e8f8e908d64f2843e8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783431751401072&sdata=w9%2BH%2FcN70%2F2mV26u2Mun7Nh8l5gxDRaK0aTfkBRDCEg%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%7C2ee316b8c52948e8f8e908d64f2843e8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783431751401072&sdata=w9%2BH%2FcN70%2F2mV26u2Mun7Nh8l5gxDRaK0aTfkBRDCEg%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%7C2ee316b8c52948e8f8e908d64f2843e8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783431751401072&sdata=9UpSh1Fr70Ptfp%2BByZrLEEy4F%2BVUTLAk2jLkyIrJDvg%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%7C2ee316b8c52948e8f8e908d64f2843e8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783431751401072&sdata=9UpSh1Fr70Ptfp%2BByZrLEEy4F%2BVUTLAk2jLkyIrJDvg%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%7C2ee316b8c52948e8f8e908d64f2843e8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783431751401072&sdata=sBnmxZUZ0y7pCWO4R265wLJ8IBstf9EoPtJ2Xh36FXM%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%7C2ee316b8c52948e8f8e908d64f2843e8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783431751401072&sdata=6PJyjmnq0%2Bwn1JKMR4fut%2Bxm10ZZu9fc8X0NSYQ0%2Bp8%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%7C2ee316b8c52948e8f8e908d64f2843e8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636783431751401072&sdata=6PJyjmnq0%2Bwn1JKMR4fut%2Bxm10ZZu9fc8X0NSYQ0%2Bp8%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);