royale-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harbs <harbs.li...@gmail.com>
Subject Re: Work on Emulation
Date Wed, 13 Jun 2018 12:44:47 GMT
> I don’t know of anything already wrapped.

Sorry, there’s already BrowserUtils.executeJS(). I don’t think that will work very well
in an iframe though...

> On Jun 13, 2018, at 3:42 PM, Harbs <harbs.lists@gmail.com> wrote:
> 
> 
>> On Jun 13, 2018, at 11:52 AM, Alina Kazi <alina.kazi@d-bz.com <mailto:alina.kazi@d-bz.com>>
wrote:
>> 
>> Hi Alex,
>>  
>> Is there any alternate API’s available for : 
>> flash.net.navigateToURL
> BrowserWindow.open(‘//mysite.com <http://mysite.com/>',"_blank”); (the double-slash
is for a protocol-relative link.)
> 
>> flash.external.ExternalInterface
> 
> I don’t know of anything already wrapped. If the application is attached to a div,
you could call global functions directly. If it’s in an iframe, you can use window.parent
(or window.top for the top level).
> https://stackoverflow.com/questions/2161388/calling-a-parent-window-function-from-an-iframe
<https://stackoverflow.com/questions/2161388/calling-a-parent-window-function-from-an-iframe>
> 
> HTH,
> Harbs
> 
>> in Apache Royale.
>>  
>> Or Emulated Classes should be added for  navigateToURL & ExternalInterface ?
>>  
>> Thanks,
>> Alina Kazi
>>  
>> From: Alex Harui [mailto:aharui@adobe.com <mailto:aharui@adobe.com>] 
>> Sent: Monday, June 11, 2018 10:44 AM
>> To: users@royale.apache.org <mailto:users@royale.apache.org>
>> Subject: Re: Work on Emulation
>>  
>> Hi Serkan,
>>  
>> Yes, it looks like those classes were not used in Alina’s app, so if you can, please
provide the emulations for those classes.
>>  
>> In MXRoyale, some classes are listed in the mx-royale-manifest.xml file and not the
MXRoyaleClasses.as file.  Classes that are intended for use in MXML go in the manifest file.
 This is true for all SWC projects in Flex and Royale.
>>  
>> Thanks,
>> -Alex
>>  
>> From: Serkan Taş <serkan.tas@likyateknoloji.com <mailto:serkan.tas@likyateknoloji.com>>
>> Reply-To: "users@royale.apache.org <mailto:users@royale.apache.org>" <users@royale.apache.org
<mailto:users@royale.apache.org>>
>> Date: Sunday, June 10, 2018 at 1:33 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 all,
>> 
>> After comparing my api-usage-list with files in the MXRoyale folder, i came up with
these 14 classes :
>> 
>> mx.binding.utils.ChangeWatcher
>> mx.containers.Form
>> mx.containers.FormItem
>> mx.controls.Menu
>> mx.events.TreeEvent
>> mx.preloaders.DownloadProgressBar
>> mx.resources.IResourceManager
>> mx.resources.ResourceBundle
>> mx.resources.ResourceManager
>> mx.rpc.AbstractOperation
>> mx.rpc.CallResponder
>> mx.rpc.http.HTTPMultiService
>> mx.rpc.http.Operation
>> mx.states.Transition
>> 
>> I may create an issue and begin working after you confirm.
>> 
>> Note : I filtered only the class with mx package, spark.*, com.adobe.*, flash.*,flashx.*
are all discarded.
>> 
>> Repo for the compare util : https://github.com/nihavend/sharedprojects/tree/master/MXRoyaleUtils
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnihavend%2Fsharedprojects%2Ftree%2Fmaster%2FMXRoyaleUtils&data=02%7C01%7Caharui%40adobe.com%7C83cf1b1f93a948c097c608d5ceace2a2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636642164299242773&sdata=iMOGSNLKvKvSnnTMJ5LNetsUMRT82966E13NPQ0lmeU%3D&reserved=0>
>>  
>> 09.06.2018 18:14 tarihinde Serkan Taş yazdı:
>>> Ok Alex i got it.
>>> 
>>> Good news Piotr :)
>>> 
>>> And my question :
>>> 
>>> When i was working on to discover which of my classes emulated by comparing my
api-usage list and the emulated files, i started from first following :
>>> 
>>> I am comparing the files in the folder MXRoyale with the content of MXRoyaleClasses.

>>> Some files in the folders are missing in file MXRoyaleClasses.
>>> 
>>> I tought that they should be identical. Right ?
>>> 
>>> 09.06.2018 10:12 tarihinde Piotr Zarzycki yazdı:
>>>> Hi Alex, 
>>>>  
>>>> I was going to ask you for that! I will need it soon! I hope to join next
week with the effort with some project to Port! :) 
>>>>  
>>>> Thanks,
>>>> Piotr
>>>> 
>>>> On Sat, Jun 9, 2018, 8:14 AM Alex Harui <aharui@adobe.com <mailto:aharui@adobe.com>>
wrote:
>>>>> Hi Alina,  Shahid,  Serkan, and others.
>>>>>  
>>>>> I think I have nightly builds working for the MXRoyale branch.  You try
them out by going here:
>>>>> http://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/Royale-asjs_MXRoyale/lastSuccessfulBuild/artifact/
<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci.westus2.cloudapp.azure.com%3A8080%2Fjob%2FRoyale-asjs_MXRoyale%2FlastSuccessfulBuild%2Fartifact%2F&data=02%7C01%7Caharui%40adobe.com%7C83cf1b1f93a948c097c608d5ceace2a2%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636642164299242773&sdata=sBt2t6Rga567snFu8yBY9TpjHmtMCA9H5xVL9mxGrtU%3D&reserved=0>
>>>>>  
>>>>> Nightly builds are not official releases.  Please watch email on dev@royale.apache.org
<mailto:dev@royale.apache.org> for build failure messages with “Royale-asjs_MXRoyale”
in the subject.  As code gets committed, one of our CI servers will build it and report an
errors.
>>>>>  
>>>>> Thanks,
>>>>> -Alex
>>>>>  
>>>>> From: Alex Harui <aharui@adobe.com <mailto:aharui@adobe.com>>
>>>>> Reply-To: "users@royale.apache.org <mailto:users@royale.apache.org>"
<users@royale.apache.org <mailto:users@royale.apache.org>>
>>>>> Date: Friday, June 8, 2018 at 4: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
>>>>>  
>>>>> Hi Alina,
>>>>>  
>>>>> Yes, the API report lists x,y and some other properties on spark.primitives.Line.
 We shouldn’t need to emulate their base classes right now.
>>>>>  
>>>>> -Alex
>>>>>  
>>>>> From: Alina Kazi <alina.kazi@d-bz.com <mailto:alina.kazi@d-bz.com>>
>>>>> Reply-To: "users@royale.apache.org <mailto:users@royale.apache.org>"
<users@royale.apache.org <mailto:users@royale.apache.org>>
>>>>> Date: Thursday, June 7, 2018 at 11:19 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,
>>>>> Spark.primitives.Line class extends StrokedElement <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhelp.adobe.com%2Fen_US%2FFlashPlatform%2Freference%2Factionscript%2F3%2Fspark%2Fprimitives%2FsupportClasses%2FStrokedElement.html&data=02%7C01%7Caharui%40adobe.com%7Cae8f14fa0081408e863308d5cd07cb30%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636640355740748743&sdata=6onZ98eOPaUn8AJFUYF%2FshzhxBAIxxE2n0n7a1pf1Ak%3D&reserved=0>
<image001.gif> GraphicElement <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhelp.adobe.com%2Fen_US%2FFlashPlatform%2Freference%2Factionscript%2F3%2Fspark%2Fprimitives%2FsupportClasses%2FGraphicElement.html&data=02%7C01%7Caharui%40adobe.com%7Cae8f14fa0081408e863308d5cd07cb30%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636640355740748743&sdata=FbKZCEeaj%2BUNTz%2Be4JFgc2UYGSI16DbO%2F9%2F3xpCBOfw%3D&reserved=0>
<image001.gif> EventDispatcher <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhelp.adobe.com%2Fen_US%2FFlashPlatform%2Freference%2Factionscript%2F3%2Fflash%2Fevents%2FEventDispatcher.html&data=02%7C01%7Caharui%40adobe.com%7Cae8f14fa0081408e863308d5cd07cb30%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636640355740748743&sdata=MjPhmmfbXUaQYck%2BYA%2B13N7%2F6QzbAXLPrMGgJp9JZYg%3D&reserved=0>
in Flex SDK.
>>>>>  
>>>>> In Line Class X,Y Properties are extended from GraphicElement <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fhelp.adobe.com%2Fen_US%2FFlashPlatform%2Freference%2Factionscript%2F3%2Fspark%2Fprimitives%2FsupportClasses%2FGraphicElement.html&data=02%7C01%7Caharui%40adobe.com%7Cae8f14fa0081408e863308d5cd07cb30%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636640355740748743&sdata=FbKZCEeaj%2BUNTz%2Be4JFgc2UYGSI16DbO%2F9%2F3xpCBOfw%3D&reserved=0>.
StrokedElement & GraphicElement both are not in Emulation Components list. 
>>>>> Currently Emulated Line Class extends EventDispatcher. 
>>>>> should I add these properties to Line Class ?  
>>>>>  
>>>>> Thanks,
>>>>> Alina
>>>>>  
>>>>> From: Alex Harui [mailto:aharui@adobe.com <mailto:aharui@adobe.com>]

>>>>> Sent: Thursday, June 07, 2018 11:21 PM
>>>>> To: users@royale.apache.org <mailto:users@royale.apache.org>
>>>>> Subject: Re: Work on Emulation
>>>>>  
>>>>> Hi Alina,
>>>>>  
>>>>> Congratulations on that achievement.  Keep up the great work.
>>>>>  
>>>>> -Alex
>>>>>  
>>>>> From: Alina Kazi <alina.kazi@d-bz.com <mailto:alina.kazi@d-bz.com>>
>>>>> Reply-To: "users@royale.apache.org <mailto:users@royale.apache.org>"
<users@royale.apache.org <mailto:users@royale.apache.org>>
>>>>> Date: Thursday, June 7, 2018 at 1:46 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
>>>>>  
>>>>> Thanks Alex.
>>>>> One of the file from D-Bz Library Project is compiled Successfully.
>>>>> It contains API’s : Group,SparkSkin,Scroller,Rect,Stroke,SolidColor,SolidColorStroke,Fill,State
>>>>>  
>>>>> -Alina Kazi
>>>>>  
>>>>> From: Alex Harui [mailto:aharui@adobe.com <mailto:aharui@adobe.com>]

>>>>> Sent: Thursday, June 07, 2018 1:20 PM
>>>>> To: users@royale.apache.org <mailto:users@royale.apache.org>
>>>>> Subject: Re: Work on Emulation
>>>>>  
>>>>> Hi Alina,
>>>>>  
>>>>> I think you should add static constants to mx.events.MouseEvent.  It
should  look something like:
>>>>>  
>>>>> public static const MOUSE_DOWN:String = org.apache.royale.events.MouseEvent.MOUSE_DOWN;
>>>>> 
>>>>>  
>>>>> 
>>>>>  
>>>>> For Graphics, look at org.apache.royale.svg.CompoundGraphic
>>>>> 
>>>>>  
>>>>>  
>>>>> HTH,
>>>>> -Alex
>>>>>  
>>>>> From: Alina Kazi <alina.kazi@d-bz.com <mailto:alina.kazi@d-bz.com>>
>>>>> Reply-To: "users@royale.apache.org <mailto:users@royale.apache.org>"
<users@royale.apache.org <mailto:users@royale.apache.org>>
>>>>> Date: Wednesday, June 6, 2018 at 11:24 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,
>>>>> Thanks for the help. It worked.
>>>>> I have emulated a flash API MouseEvent exends org.apache.royale.events.MouseEvent

>>>>> Properties like MouseEvent.MOUSE_DOWN , MouseEvent.MOUSE_UP , MouseEvent.CLICK
etc are not accessible when I am using emulated mx.events.MouseEvent in an Example.
>>>>> flash.display.Graphics is used at many places in our D-Biz Library Project.
Graphics API is not present in any project of Royale SDK . 
>>>>> So, Should I emulate Graphics extends Object ? OR Emulated Graphics API
should extend any API from Royale SDK ?
>>>>>  
>>>>> Thanks,
>>>>> Alina
>>>>>  
>>>>>  
>>>>> From: Alex Harui [mailto:aharui@adobe.com <mailto:aharui@adobe.com>]

>>>>> Sent: Wednesday, June 06, 2018 8:15 PM
>>>>> To: users@royale.apache.org <mailto:users@royale.apache.org>
>>>>> Subject: Re: Work on Emulation
>>>>>  
>>>>> Hi Alina,
>>>>>  
>>>>> “lookupOnly=true” is used when a class is in a different SWC.  In
Flex, AdvancedDataGrid is in the advancedgrids.swc.  In the emulation components they are
in MXRoyale, so I think you can just remove the lookupOnly=”true” and it should work.
>>>>>  
>>>>> HTH,
>>>>> -Alex
>>>>>  
>>>>> From: Alina Kazi <alina.kazi@d-bz.com <mailto:alina.kazi@d-bz.com>>
>>>>> Reply-To: "users@royale.apache.org <mailto:users@royale.apache.org>"
<users@royale.apache.org <mailto:users@royale.apache.org>>
>>>>> Date: Wednesday, June 6, 2018 at 1:45 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
>>>>>  
>>>>> mx.controls.AdvancedDataGrid is present in AdvancedDataGridClasses.as
 &   <component id="AdvancedDataGrid" class="mx.controls.AdvancedDataGrid" lookupOnly="true"/>
in mx-manifest.xml in Flex SDK 
>>>>> In Apache Royale should I add AdvancedDataGrid in both classes (mx-royale-manifest.xml
& mxRoyaleClasses.xml)?
>>>>> Currently I have added it in mx-royale-manifest.xml only & MXRoyale
Lib is Compiled Successfully. Bu,t when I am compiling <mx:AdvancedDataGrid> in an Example
like other components I am getting Error on it.
>>>>>  
>>>>> Thanks,
>>>>> Alina Kazi
>>>>>  
>>>>> From: Alina Kazi [mailto:alina.kazi@d-bz.com <mailto:alina.kazi@d-bz.com>]

>>>>> Sent: Wednesday, June 06, 2018 9:49 AM
>>>>> To: 'users@royale.apache.org <mailto:users@royale.apache.org>'
>>>>> Subject: RE: Work on Emulation
>>>>>  
>>>>> Hi Alex,
>>>>>  
>>>>> These were two different API’s list I shared. 
>>>>> 1.       API report for Library Project:https://www.dropbox.com/s/77wkgrm74upkg0j/SHMALib%20Report.txt?dl=0
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F77wkgrm74upkg0j%2FSHMALib%2520Report.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Ceefa7badcead442286a308d5cb89d1f7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636638715193949180&sdata=TQ%2B09FVcV9v8RCDhj87be%2BNZAcir4bipWAPErpxynPE%3D&reserved=0>
>>>>> 2.       API report for Application Project :https://www.dropbox.com/s/swvqhly6wa0jrc5/API-Reports.rar?dl=0
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fswvqhly6wa0jrc5%2FAPI-Reports.rar%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Ceefa7badcead442286a308d5cb89d1f7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636638715193959185&sdata=cRIDmNW2ZqhsBId5D8O2%2FZUiaWd7FXWTxYi2QitD%2FNU%3D&reserved=0>
>>>>> I think https://github.com/apache/royale-asjs/wiki/Emulation-Components
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fwiki%2FEmulation-Components&data=02%7C01%7Caharui%40adobe.com%7Ceefa7badcead442286a308d5cb89d1f7%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636638715193969194&sdata=TupgS8mF8Q4d1X2pZ3wX%2F6YKOjHTdtNOvTLxLOGpWMQ%3D&reserved=0>
includes Application Project API’s only.
>>>>>  
>>>>> I am adding missing APIs.
>>>>> Thanks for your Help.
>>>>> -Alina
>>>>>  
>>>>> From: Alex Harui [mailto:aharui@adobe.com <mailto:aharui@adobe.com>]

>>>>> Sent: Tuesday, June 05, 2018 9:51 PM
>>>>> To: users@royale.apache.org <mailto:users@royale.apache.org>
>>>>> Subject: Re: Work on Emulation
>>>>>  
>>>>> Hi Alina,
>>>>>  
>>>>> Is your app using Sandboxes?  Is it loading SWFs from other security
domains or SWFs compiled against different Flex versions?  Hopefully not, as that will greatly
simplify things, and in that case I would add getSandboxRoot() to systemManager and have it
“return this”.  Not sure why it wasn’t in the API report.  It will be interesting to
see what else the API report missed as you try to get your app to compile.
>>>>>  
>>>>> The other APIs are Flash APIs, in this case on flash.events.MouseEvent.
 We have not and will not try to emulate the flash classes.  There will often be an equivalent
Royale class, in this case org.apache.royale.events.MouseEvent.  You may need to “import
org.apache.royale.events.MouseEvent” and not import flash.events.MouseEvent.  However, if
an API still doesn’t exist on the Royale version (and stageX/Y and updateAfterEvent do not),
then the next step is to create an emulation class, maybe name this one mx.events.MouseEvent,
extend org.apache.royale.events.MouseEvent,  and add the missing APIs.  stageX/Y should map
to screenX/Y and updateAfterEvent can simply do nothing on the JS side.
>>>>>  
>>>>> It will require judgement in each situation, so feel free to ask like
you did.
>>>>>  
>>>>> Thanks,
>>>>> -Alex
>>>>>  
>>>>>  
>>>>>  
>>>>> From: Alina Kazi <alina.kazi@d-bz.com <mailto:alina.kazi@d-bz.com>>
>>>>> Reply-To: "users@royale.apache.org <mailto:users@royale.apache.org>"
<users@royale.apache.org <mailto:users@royale.apache.org>>
>>>>> Date: Tuesday, June 5, 2018 at 2:06 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
>>>>>  
>>>>> As components are emulated. Now, I am compiling D-Biz Library Project.

>>>>> Compiling file by file . So, I can add things that I missed to add in
MXRoyale and SparkRoyale while emulation.
>>>>>  
>>>>> event.updateAfterEvent() 
>>>>> event.stageX
>>>>> event.stageY 
>>>>> systemManager.getSandboxRoot()
>>>>> are the properties/methods that are used by my first file in D-Biz Library
and these properties/methods were not in https://github.com/apache/royale-asjs/wiki/Emulation-Components
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fwiki%2FEmulation-Components&data=02%7C01%7Caharui%40adobe.com%7Ccf498a86b3954798ffe208d5cac3980c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636637863775991352&sdata=tz%2Bagtmdw%2BEWmFpO%2F4HAzBcQ8aQpM4OLm9Pu6vvp65k%3D&reserved=0>
>>>>> Do I need to add these properties and methods to Apache Royale SDK ?
>>>>>  
>>>>> Thanks,
>>>>> Alina Kazi
>>>>>  
>>>>> From: Alex Harui [mailto:aharui@adobe.com <mailto:aharui@adobe.com>]

>>>>> Sent: Monday, June 04, 2018 8:43 PM
>>>>> To: users@royale.apache.org <mailto:users@royale.apache.org>
>>>>> Subject: Re: Work on Emulation
>>>>>  
>>>>> Hi Alina,
>>>>>  
>>>>> I did not look too closely, but the list of files on the commit emails
looked reasonable.  AIUI, if there were multiple commits to a PR to adjust the code before
merging then yes, you might see a lot of commits in the merge history.
>>>>>  
>>>>> As long as you pull changes into your local repo before doing modifications
in your local repo, I think you will be ok.
>>>>>  
>>>>> Thanks,
>>>>> -Alex
>>>>>  
>>>>> From: Alina Kazi <alina.kazi@d-bz.com <mailto:alina.kazi@d-bz.com>>
>>>>> Reply-To: "users@royale.apache.org <mailto:users@royale.apache.org>"
<users@royale.apache.org <mailto:users@royale.apache.org>>
>>>>> Date: Monday, June 4, 2018 at 12:29 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,
>>>>>  
>>>>> When I was committing the merge for some PR’s today. There were maximum
10 commits that were shown per PR while merging.
>>>>> After Merging when I see PR from history in MXRoyale Branch. It shows
changes in many files.
>>>>> But MXRoyale Source is also compiled Successfully.
>>>>> Could someone please check?
>>>>>  
>>>>> Thanks,
>>>>> Alina Kazi
>>>>>  
>>>>> From: Alina Kazi [mailto:alina.kazi@d-bz.com <mailto:alina.kazi@d-bz.com>]

>>>>> Sent: Thursday, May 31, 2018 12:59 PM
>>>>> To: users@royale.apache.org <mailto:users@royale.apache.org>
>>>>> Subject: RE: Work on Emulation
>>>>>  
>>>>> Thank you so much Alex.
>>>>> I didn’t noticed that while merging PR for SparkSkin.
>>>>> I will re-check spark-royale-manifest.xml , SparkRoyaleClasses.as ,mx-royale-manifest.xml
and MXRoyaleClases.as  for all emulated components.
>>>>>  
>>>>> Thanks,
>>>>> Alina Kazi
>>>>>  
>>>>> From: Alex Harui [mailto:aharui@adobe.com <mailto:aharui@adobe.com>]

>>>>> Sent: Thursday, May 31, 2018 12:31 PM
>>>>> To: users@royale.apache.org <mailto:users@royale.apache.org>
>>>>> Subject: Re: Work on Emulation
>>>>>  
>>>>> Hi Alina,
>>>>>  
>>>>> It looks like there was some confusion around step #8 in the wiki article.
 Classes like SparkSkin are used in MXML and thus should be added to src/main/resources/spark-royale-manifest.xml
instead of SparkRoyaleClasses.as.  The same may be true for the MXRoyale project and mx-royale-manifest.xml.
 If you look at the actual Flex spark-manifest.xml and mx-manifest.xml, I think you can copy
the lines for classes you have emulated.
>>>>>  
>>>>> HTH,
>>>>> -Alex
>>>>>  
>>>>> From: Alina Kazi <alina.kazi@d-bz.com <mailto:alina.kazi@d-bz.com>>
>>>>> Reply-To: "users@royale.apache.org <mailto:users@royale.apache.org>"
<users@royale.apache.org <mailto:users@royale.apache.org>>
>>>>> Date: Wednesday, May 30, 2018 at 11:29 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
>>>>> Thanks for updating https://github.com/apache/royale-asjs/wiki/Emulation-Components
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fwiki%2FEmulation-Components&data=02%7C01%7Caharui%40adobe.com%7Cb565c8ffb38c412e9d1608d5c6bfd11d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636633449512700855&sdata=BexLZDCyeO7wvg4WPr5p%2BFGrH3fZvfE5sG4JKZh7x5k%3D&reserved=0>
for further explanation.
>>>>> I am trying to Compile mxml Components in SparkRoyale , Getting this
Error :https://www.dropbox.com/s/0mfdivdpavtzlbi/Errorcompiling-mxml.txt?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2F0mfdivdpavtzlbi%2FErrorcompiling-mxml.txt%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7Cb565c8ffb38c412e9d1608d5c6bfd11d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636633449512710864&sdata=iAMLRkEEs7dPdpyI70iE%2F%2F%2B8v4swhuYk9RVZvw5NkgY%3D&reserved=0>
>>>>>  
>>>>> Do I need to add/change something to refer existing library in configuration
files.
>>>>>  
>>>>> Thanks,
>>>>> Alina Kazi
>>>>>  
>>>>> From: Alex Harui [mailto:aharui@adobe.com <mailto:aharui@adobe.com>]

>>>>> Sent: Tuesday, May 29, 2018 9:29 PM
>>>>> To: users@royale.apache.org <mailto:users@royale.apache.org>
>>>>> Subject: Re: Work on Emulation
>>>>>  
>>>>> Hi Alina,
>>>>>  
>>>>> That is awesome.  Once the PR’s have been merged, the next test is
to compile your existing app against the feature/MXRoyale branch.  It should compile without
errors (of course, it probably won’t run).  If you do get errors, then we need to figure
out why.
>>>>>  
>>>>> The next step will be to actually make the emulated components draw something
on the screen even if it is “ugly”.  I’ve done that for several components already.
 I will try to write up a better explanation of how I do that.
>>>>> Then the next step is to make the emulated components have the right
size and appearance.
>>>>> The final step is to fix bugs so your app runs properly.
>>>>>  
>>>>> Thanks,
>>>>> -Alex
>>>>>  
>>>>> From: Alina Kazi <alina.kazi@d-bz.com <mailto:alina.kazi@d-bz.com>>
>>>>> Reply-To: "users@royale.apache.org <mailto:users@royale.apache.org>"
<users@royale.apache.org <mailto:users@royale.apache.org>>
>>>>> Date: Tuesday, May 29, 2018 at 2: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
>>>>>  
>>>>> Thanks Alex.
>>>>> All mx and spark Components are emulated except 1 that is in Progress.
>>>>> Hopefully tomorrow I will merge PR’s.
>>>>> Feature/MXRoyale branch is 331 commits ahead, 108 commits behind develop.
>>>>> I just wanted to know when you are going to merge that branch with develop
branch, do you merge these components will be functional ?
>>>>> What should I do next to make them functional ? 
>>>>>  
>>>>> Also , Thanks for providing a very helpful guide for the creation of
the emulation:
>>>>> https://github.com/apache/royale-asjs/wiki/Emulation-Components <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fwiki%2FEmulation-Components&data=02%7C01%7Caharui%40adobe.com%7C1f754a058c544c9d3e1308d5c5479854%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636631833669646390&sdata=UWnScja7WOCsTT4I8aHtwaANS7kTSKH4YApav9qpuO8%3D&reserved=0>
>>>>>  
>>>>> -Alina Kazi
>>>>>  
>>>>> From: Alex Harui [mailto:aharui@adobe.com <mailto:aharui@adobe.com>]

>>>>> Sent: Friday, May 25, 2018 9:31 PM
>>>>> To: users@royale.apache.org <mailto:users@royale.apache.org>
>>>>> Subject: Re: Work on Emulation
>>>>>  
>>>>> Hi Alina,
>>>>>  
>>>>> That’s great.  I see you have almost completed the creation of the
emulation classes.  That will be a significant milestone when you achieve that.
>>>>>  
>>>>> Keep up the good work.
>>>>> -Alex
>>>>>  
>>>>> From: Alina Kazi <alinakazi1990@gmail.com <mailto:alinakazi1990@gmail.com>>
>>>>> Reply-To: "users@royale.apache.org <mailto:users@royale.apache.org>"
<users@royale.apache.org <mailto:users@royale.apache.org>>
>>>>> Date: Friday, May 25, 2018 at 4:14 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,
>>>>> Few Emulated Spark & MX Components are compiled together.
>>>>> MX : Button & Label
>>>>> Spark :Button,CheckBox,TextArea,TextInput,NumericStepper, List &
DropDownList
>>>>> Project link:
>>>>> https://www.dropbox.com/s/bm2uv6bfzoqo3u0/HelloWorld.rar?dl=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.dropbox.com%2Fs%2Fbm2uv6bfzoqo3u0%2FHelloWorld.rar%3Fdl%3D0&data=02%7C01%7Caharui%40adobe.com%7C0218b2cc67f1464231b408d5c230b258%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636628436764109381&sdata=xhMqzoP2B36YUKWTQmXyxy7XqlYeKyE8rx3VPZZ1IQ0%3D&reserved=0>
>>>>>  
>>>>> Thanks,
>>>>> Alina Kazi
>>>>>  
>>>>> On Tue, May 22, 2018 at 8:39 PM, Alex Harui <aharui@adobe.com <mailto:aharui@adobe.com>>
wrote:
>>>>>> Hi Shahid,
>>>>>>  
>>>>>> Please try to ask more specific questions.  In this case, maybe something
like:  “When I compile these lines of MXML with this command line I get this error”.
>>>>>>  
>>>>>> Thanks,
>>>>>> -Alex
>>>>>>  
>>>>>> From: Shahid Khan <Shahid.Khan@d-bz.com <mailto:Shahid.Khan@d-bz.com>>
>>>>>> Reply-To: "users@royale.apache.org <mailto:users@royale.apache.org>"
<users@royale.apache.org <mailto:users@royale.apache.org>>
>>>>>> Date: Tuesday, May 22, 2018 at 12:56 AM
>>>>>> To: "users@royale.apache.org <mailto:users@royale.apache.org>"
<users@royale.apache.org <mailto:users@royale.apache.org>>
>>>>>> Subject: Work on Emulation
>>>>>>  
>>>>>> Hi,
>>>>>>  
>>>>>> I’m having compile issues with MX/Spark tags while emulating MXML
files so needs some instructions on how to emulate them? 
>>>>>>  
>>>>>> Thanks
>>>>>> Shahid
> 


Mime
View raw message