royale-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pushmina Kazi" <pushmina.k...@d-bz.com>
Subject RE: Work on Emulation
Date Tue, 23 Oct 2018 11:34:18 GMT
Hi Alex,

Full log:

https://paste.apache.org/oOLg

Thanks,

Pashmina kazi

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Tuesday, October 23, 2018 11:24 AM
To: users@royale.apache.org
Subject: Re: Work on Emulation

 

Hi Pashmina,

 

That is not a full log.  It doesn’t show what command you typed and I’ll bet several lines of output were not captured, including one or more with an error.  You will need to set up your console to capture more lines, or redirect the output to a file.

 

Thanks,

-Alex

 

From: Pushmina Kazi <pushmina.kazi@d-bz.com>
Reply-To: "users@royale.apache.org" <users@royale.apache.org>
Date: Monday, October 22, 2018 at 11:14 PM
To: "users@royale.apache.org" <users@royale.apache.org>
Subject: RE: Work on Emulation

 

Hi,

Full Log:     https://paste.apache.org/dXh0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apache.org%2FdXh0&data=02%7C01%7Caharui%40adobe.com%7C7c8aa387c9904c2ef0fc08d638aed49f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636758720890106815&sdata=AoKMIqfPA6gdVCNnW8411Ablu%2FePJnntIl3o24Zx4lM%3D&reserved=0> 

Thanks,

-Pashmina kazi

 

From: Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] 
Sent: Friday, October 19, 2018 4:36 PM
To: users@royale.apache.org
Cc: dev@royale.apache.org
Subject: Re: Work on Emulation

 

Hi Pushmina,

 

Provide full logs.

 

Thanks,

Piotr

 

pt., 19 paź 2018 o 12:56 Pushmina Kazi <pushmina.kazi@d-bz.com> napisał(a):

Hi,

I have an issue:

I am compiling my library project 

There is no error but still build failed

Why?

 

Thanks,

-Pashmina kazi

 

From: Alex Harui [mailto:aharui@adobe.com] 
Sent: Friday, October 19, 2018 5:44 AM
To: users@royale.apache.org
Subject: Re: Work on Emulation

 

Hi Serkan,

 

Try s:ArrayCollection to see if that works.

Try removing s:ArrayCollection from the manifest and see if you then get the same error you are getting for ArrayList.  Maybe there is some issue with which SWC you are actually compiling against.  Maybe the one you updated isn’t in the library-path.  Also make sure you update both MXRoyale.swc and MXRoyaleJS.swc.

 

HTH,

-Alex

 

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

 

Yes, i did not commit to github for a long time. Nobody uses rather than me :)

Here is the local one :

<s:Group xmlns:fx= <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&data=02%7C01%7Caharui%40adobe.com%7C7c8aa387c9904c2ef0fc08d638aed49f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636758720890106815&sdata=ta1Pm84xycz5%2F0xTU5FKiFTKXqHdOYRMBFy9%2B8du7sg%3D&reserved=0> "http://ns.adobe.com/mxml/2009" 
         xmlns:s="library://ns.apache.org/royale/spark <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fspark&data=02%7C01%7Caharui%40adobe.com%7C7c8aa387c9904c2ef0fc08d638aed49f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636758720890106815&sdata=FrMQrANt1vtu8MjEoMo6KxnLiUhjVAVccj0pHHZeTJE%3D&reserved=0> " 
         xmlns:mx="library://ns.apache.org/royale/mx <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fmx&data=02%7C01%7Caharui%40adobe.com%7C7c8aa387c9904c2ef0fc08d638aed49f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636758720890106815&sdata=OzbR72iKVrCkgnotNShpWU8PVeKW2g5AQcV3ORsdHIk%3D&reserved=0> " 
         width="100%" height="100%" 
         xmlns:jobmanager="com.likya.pinara.services.jobmanager.*" 
         xmlns:jobdetail="com.likya.pinara.comps.jobdetail.*" xmlns:grpmanager="com.likya.pinara.services.grpmanager.*" >
    <fx:Script>
        <![CDATA[
            import com.likya.pinara.event.ResourceEvent;
            import com.likya.pinara.utils.BasicAuthenticationHandler;
            
            import mx.collections.XMLListCollection;
            import mx.rpc.events.FaultEvent;
            import mx.rpc.events.ResultEvent;
            
            import spark.components.Grid;
            import spark.components.DataGrid;
            import spark.components.gridClasses.GridColumn;
            import spark.events.GridSelectionEvent;
            
            
            
            [Bindable]
            public var userListXmlCollection:XMLListCollection;
            
            [Bindable]
            public var selectedGroupId:String;
            
            protected function selectionChangeHandlerPinara(event:GridSelectionEvent):void {
                const eventGrid:Grid = event.currentTarget.grid;
                var currentDataItem:Object = eventGrid.selectedItem; 
                dispatchEvent(new ResourceEvent(ResourceEvent.ROW_SELECTION_CHANGED, currentDataItem));
            }
            
            public function getJobCommandType(item:Object, column:GridColumn):String {
                return item.baseJobInfos.jobTypeDetails.jobCommandType;
            }
            
            public function getRealizedDuration(item:Object, column:GridColumn):String {
                return item.runtimeParams.realizedDuration;
            }
            
        ]]>
    </fx:Script>
    <fx:Declarations>
    </fx:Declarations>
        <!-- Define a Button control to open the menu -->
    
    <s:layout>
        <s:VerticalLayout />
    </s:layout>
    
    <s:DataGrid id="pinaraUserList" width="490" height="330" selectionChange="selectionChangeHandlerPinara(event)" dataProvider="{userListXmlCollection}" > 
        <s:columns>
            <s:ArrayList>
                <s:GridColumn dataField="id" headerText="{resourceManager.getString('messages', 'uculUserId')}" width="{this.pinaraUserList.width * 0.2}">
                    <s:itemRenderer>
                        <fx:Component>
                            <s:DefaultGridItemRenderer textAlign="left" />
                        </fx:Component>
                    </s:itemRenderer>
                </s:GridColumn>
                <s:GridColumn dataField="statuinfo" headerText="{resourceManager.getString('messages', 'uculStatu')}" width="{this.pinaraUserList.width * 0.2}">
                    <s:itemRenderer>
                        <fx:Component>
                            <s:DefaultGridItemRenderer textAlign="left" />
                        </fx:Component>
                    </s:itemRenderer>
                </s:GridColumn>
                <s:GridColumn dataField="username" headerText="{resourceManager.getString('messages', 'uculUserName')}" width="{this.pinaraUserList.width * 0.25}">
                    <s:itemRenderer>
                        <fx:Component>
                            <s:DefaultGridItemRenderer textAlign="left" />
                        </fx:Component>
                    </s:itemRenderer>
                </s:GridColumn>
                <s:GridColumn dataField="roleinfo" headerText="{resourceManager.getString('messages', 'uculRoleInfo')}" width="{this.pinaraUserList.width * 0.29}">
                    <s:itemRenderer>
                        <fx:Component>
                            <s:DefaultGridItemRenderer textAlign="left" />
                        </fx:Component>
                    </s:itemRenderer>
                </s:GridColumn>
            </s:ArrayList>
        </s:columns>
    </s:DataGrid>
</s:Group>

18.10.2018 22:46 tarihinde Alex Harui yazdı:

Hi Serkan,

 

The version of UserListGrid.mxml in your GitHub repo still is using the old adobe.com <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fadobe.com&data=02%7C01%7Caharui%40adobe.com%7C7c8aa387c9904c2ef0fc08d638aed49f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636758720890106815&sdata=1YN7OnomjCv6X7bqngETYR8S44Z298n%2BK9OYthTOnWU%3D&reserved=0>  XML Namespaces.

 

-Alex

 

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

 

Hi Alex,

Before asking you i tried it and failed. I tired after your mail again thinking that i missed something but getting the same error :

github\pinaraui-royale\PinaraUI\src\com\likya\comps\crud\user\UserListGrid.mxml(56): col: 4 Error: This tag could not be resolved to an ActionScript class. It will be ignored.

            <s:ArrayList>
                               ^
  
And the manifest : 

<component id="ArrayList" class="mx.collections.ArrayList" lookupOnly="true"/>


May be i am missing something.

Thanks
Serkan

18.10.2018 19:36 tarihinde Alex Harui yazdı:

Hi Serkan,

 

You should add HTTPService and ArrayList to spark-royale-manifest with the “lookup=true” option.  See how ArrayCollection is in there for an example.

 

HTH,

-Alex

 

From: Serkan Taş  <mailto:serkan.tas@likyateknoloji.com> <serkan.tas@likyateknoloji.com>
Reply-To:  <mailto:users@royale.apache.org> "users@royale.apache.org"  <mailto:users@royale.apache.org> <users@royale.apache.org>
Date: Thursday, October 18, 2018 at 6:49 AM
To:  <mailto:users@royale.apache.org> "users@royale.apache.org"  <mailto:users@royale.apache.org> <users@royale.apache.org>
Subject: Re: Work on Emulation

 

Hi Alex,

After emulating HttpService class i am getting an error :

github\pinaraui-royale\PinaraUI\src\com\likya\pinara\comps\FileViewPopup.mxml(241): col: 3 Error: This tag is unexpected. It will be ignored.

    <s:HTTPService id="liveTreeDataService" 
        ^
Here is the declaration : 

    <fx:Declarations>
        
        <s:HTTPService id="liveTreeDataService" 
                       method="POST"
                       showBusyCursor="true"
                       resultFormat="text"
                       result="xmlService_resultHandler(event)"
                       fault="xmlService_faultHandler(event)"
                       />
        
    </fx:Declarations>

Also having similar error for ArrayList : 

github\pinaraui-royale\PinaraUI\src\com\likya\comps\crud\user\UserListGrid.mxml(56): col: 4 Error: This tag could not be resolved to an ActionScript class. It will be ignored.

            <s:ArrayList>
            ^

How can i fix this errors ?

Thanks,
Serkan

16.10.2018 23:45 tarihinde Serkan Taş yazdı:

Hi Alex,

It is the backbone of the application :)

I will go with migrating HTTPService later this week.

Thanks,
Serkan

16.10.2018 23:38 tarihinde Alex Harui yazdı:

Hi Serkan,

 

Well, if your use of HTTPService is sophisticated enough that you need Operations, then it might be time to try to migrate the original Flex HTTPService, just like you are doing for HTTPMultiService.

 

My 2 cents,

-Alex

 

From: Serkan Taş  <mailto:serkan.tas@likyateknoloji.com> <serkan.tas@likyateknoloji.com>
Reply-To:  <mailto:users@royale.apache.org> "users@royale.apache.org"  <mailto:users@royale.apache.org> <users@royale.apache.org>
Date: Tuesday, October 16, 2018 at 1:35 PM
To:  <mailto:users@royale.apache.org> "users@royale.apache.org"  <mailto:users@royale.apache.org> <users@royale.apache.org>
Subject: Re: Work on Emulation

 

Hi Alex,

I checked and added the wrapper for headers to mx.rpc.http.HttpService as it wraps the org.apache.royale.net.HTTPService() as  below :

    public function get headers():Array
    {
        return royale.headers;
    }
    
    /**
     *  @private
     */
    public function set headers(value:Array):void
    {
        royale.headers = value;
    }


When it comes to request.data i could not solve it. Flex sdk version HttpService has a definiton for mx_internal var operation:AbstractOperation and request and the other values retrieved from the operation. 

What should be the equivalent in royale ?

Thanks,
Serkan




15.10.2018 23:52 tarihinde Alex Harui yazdı:

Hi Serkan,

 

Currently, the emulation of HTTPService wraps the org.apache.royale.net.HTTPService.   Since it supports a ‘header’ property, I think the simplest solution is to add a header property to mx.rpc.http.HTTPService and have it pass headers to/from the wrapped Royale HTTPService.  I don’t think you need to copy the code from the Flex SDK.

 

HTH,

-Alex

 

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

 

Hi,

For one of my classes, i am using mx.rpc.http.mxml.HTTPService -> mx.rpc.http.HTTPService

Here;

(service:HTTPService)

service.headers = {Authorization:"Basic " + encoder.toString()};

When i check the emulated class mx.rpc.http.HTTPService it does not contain some of the methods and rpoperties (like headers). I guess they are removed. 

Which is the right approach, to copy the methods/properties from flex-sdk or comment out referances in my code ?

Thanks
Serkan.





15.10.2018 22:56 tarihinde Serkan Taş yazdı:

Hi Alex,

Exactly currRowChild was DislpayObject. I am going to try IUICoponent.

I am getting error for one of my components extending from TitleWindows -> Panel.

 Error: This attribute is unexpected. It will be ignored.
               width="520" height="450" borderAlpha="1"

In panel emulation it is commented out : //[Style(name="borderAlpha", type="Number", inherit="no", theme="spark")]

Should i also comment the property in my code or enable the Style in emulation ?

Thanks
Serkan.

14.10.2018 19:22 tarihinde Alex Harui yazdı:

I’m not sure what was flash.display.DisplayObject.  Was it currRawChild?  You could try setting the type as IUIComponent.  There may be places where you have to explicitly case or use “as”.

 

From: Serkan Taş  <mailto:serkan.tas@likyateknoloji.com> <serkan.tas@likyateknoloji.com>
Reply-To:  <mailto:users@royale.apache.org> "users@royale.apache.org"  <mailto:users@royale.apache.org> <users@royale.apache.org>
Date: Saturday, October 13, 2018 at 11:55 PM
To:  <mailto:users@royale.apache.org> "users@royale.apache.org"  <mailto:users@royale.apache.org> <users@royale.apache.org>
Subject: Re: Work on Emulation

 

Then i may go with HTTPMultiService. There are two implementations in flex-sdk. Which one is the right one ? (mx.rpc.http.mxml or mx.rpc.http)

Another question, in mailing list there are some advices for the flas class replacements like :

These might be replaced by UIComponent:    
    flash.display.DisplayObject;
    flash.display.DisplayObjectContainer;
    flash.display.Sprite;

But i got some casting errors with the replacement like below (I just replaced  flash.display.DisplayObject with UIComponent)  : 

D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\src\com\likya\pinara\utils\CloseAllPopUp.as(45): col: 37 Error: Implicit coercion of a value with static type IUIComponent to a possibly unrelated type UIComponent.
var currRawChild: UIComponent = rawChildren.getChildAt(i);

14.10.2018 09:46 tarihinde Alex Harui yazdı:

ASDoc seems to say that HTTPServiceWrapper wraps HTTPMultiService.  Maybe we need to emulate HTTPMultiService and then make HTTPServiceWrapper extend HTTPMultiService instead of wrap it.  I’m not sure what the wrapping does, but I think fiber is full of just-in-case code you may not need.

 

HTH,

-Alex

 

 

 

From: Serkan Taş  <mailto:serkan.tas@likyateknoloji.com> <serkan.tas@likyateknoloji.com>
Reply-To:  <mailto:users@royale.apache.org> "users@royale.apache.org"  <mailto:users@royale.apache.org> <users@royale.apache.org>
Date: Saturday, October 13, 2018 at 5:42 AM
To:  <mailto:users@royale.apache.org> "users@royale.apache.org"  <mailto:users@royale.apache.org> <users@royale.apache.org>
Subject: Re: Work on Emulation

 

Hi,

After some debugging i swa that therre is no source for com.adobe.fiber.services.wrapper.HTTPServiceWrapper,

Here is the debug stack  :

I guess the fault and the result methods - which i get error - inherits somehow from mx.rpc.Responder : 

http://192.168.1.32:4000/flex/PinaraUI.html/flexroot/PinaraUI.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2F192.168.1.32%3A4000%2Fflex%2FPinaraUI.html%2Fflexroot%2FPinaraUI.html&data=02%7C01%7Caharui%40adobe.com%7C7c8aa387c9904c2ef0fc08d638aed49f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636758720890106815&sdata=Vji7pbjNAfHYussiiLTnmY6nfnLxh%2BaNUCpfJIgqUi8%3D&reserved=0>     
    Main Thread (Suspended)    
        com.likya.comps.crud.user::ChangePass/userOpsService_resultHandler    
        com.likya.comps.crud.user::ChangePass/__userOpsService_result    
        flash.events::EventDispatcher/dispatchEventFunction [no source]    
        flash.events::EventDispatcher/dispatchEvent [no source]    
        com.adobe.fiber.services.wrapper::AbstractServiceWrapper/http://www.adobe.com/2008/flex/model/internal::propagateEvents    
        flash.events::EventDispatcher/dispatchEventFunction [no source]    
        flash.events::EventDispatcher/dispatchEvent [no source]    
        mx.rpc::AbstractService/dispatchEvent    
        mx.rpc::AbstractOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent    
        mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler    
        mx.rpc::Responder/result    
        mx.rpc::AsyncRequest/acknowledge    
        DirectHTTPMessageResponder/completeHandler    
        flash.events::EventDispatcher/dispatchEventFunction [no source]    
        flash.events::EventDispatcher/dispatchEvent [no source]    
        flash.net::URLLoader/onComplete [no source]    
http://192.168.1.32:4000/flex/PinaraUI.html/flexroot/PinaraUI.html <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2F192.168.1.32%3A4000%2Fflex%2FPinaraUI.html%2Fflexroot%2FPinaraUI.html&data=02%7C01%7Caharui%40adobe.com%7C7c8aa387c9904c2ef0fc08d638aed49f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636758720890106815&sdata=Vji7pbjNAfHYussiiLTnmY6nfnLxh%2BaNUCpfJIgqUi8%3D&reserved=0>     

Thanks
Serkan

13.10.2018 00:06 tarihinde Serkan Taş yazdı:

Okay, i will work on the issues after finishing my current component DataGrid.

Thanks
Serkan

12.10.2018 23:55 tarihinde Alex Harui yazdı:

Hi Serkan,

 

I do not see spark.components.Form in the royale repo.  So my guess is that either it is missing and creating a spark.components.Form will cause the currentState error to go away, or it is finding some other version of spark.components.Form in the source-path or library-path and it doesn’t extend UIComponent.

 

I have not used Fiber that much, but I thought if you debugged into the Fiber code, you would see source for it, and that implies the source is somewhere.  It could be bundled into the fiber.swc.  So maybe a first test is to debug into the Fiber code, because if you can get the Fiber code, it should save you time trying to emulate it.

 

HTH,

-Alex

 

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

 

Hi Alex,

I am going to check the class hierarchy for LogAnalysisForm which extends from spark.components.Form.as <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fspark.components.Form.as&data=02%7C01%7Caharui%40adobe.com%7C7c8aa387c9904c2ef0fc08d638aed49f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636758720890106815&sdata=g5RiZA88OfnSCQ2OkIrcAt3dr8E2xTFE9O%2FqGvWC%2B2Q%3D&reserved=0>  (Form extends SkinnableContainer)

I did not get your point clear enough about the class HTTPServiceWrapper.

1. I can leave using it but it is not just data-oriented thing. It is used for rest services over http.
2. I do not know where to find the generated code if there is. (comes from fiber.swc)
3. It is ok i can create an emty wrapper class and fill it with required dummy methods to get rid of compiler errors  if it is the right way :)

Thanks,
Serkan.

12.10.2018 23:39 tarihinde Alex Harui yazdı:

Hi Serkan,

 

I recommend that you double check the class hierarchy.  Start with LogAnalysisForm.mxml or LogAnalysisForm.as and see what it extends, then check that class and so forth.  You should eventually run into UIComponent.  If you do, then tell us what the hierarchy is so we can try to reproduce the problem here, but I’ll bet you will find that some class isn’t eventually extending UIComponent.

 

com.adobe.fiber is not part of the Flex SDK.  I think you have at least 3 choices:

1)      Stop using it.  IMO, you don’t always need it for simple data-oriented apps.  Have your ValueObjects extend just Object and manually add change detection that you need. 

2)      Try copying the generated code and using it as-is.  I thought there was a way to see the Fiber source code in the generated output or somewhere else in Flash Builder. 

3)      Create an emulation by manually putting the APIs the compiler reports as errors into the file. 

 

HTH,

-Alex

 

 

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

 

Hi Alex,

The error in log file is below so i am not sure about the root cause...

D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\src\com\likya\pinara\utils\ViewToJobXml.as(450): col: 25 Error: Access of possibly undefined property currentState through a reference with static type LogAnalysisForm.
       if(j.logAnalysisForm.currentState == "undefined") {

I have another question. What should be thre emulation of com.adobe.fiber.services.wrapper.HTTPServiceWrapper ?









11.10.2018 19:23 tarihinde Alex Harui yazdı:

Hi Serkan,
 
I don't see a Spark Form in my copy of the repo.  Maybe you have one that doesn't extend from UIComponent or one of its subclasses like Container or SkinnableContainer or Group?
 
-Alex
 
On 10/11/18, 12:48 AM,  <mailto:serkan.tas@likyateknoloji.com> "serkan.tas@likyateknoloji.com"  <mailto:serkan.tas@likyateknoloji.com> <serkan.tas@likyateknoloji.com> wrote:
 
    
    Hi Alex,
    
    The current component is spark Form and i think comes from the parent  
    whicih is styling. You may check in the log file.
    
    Thanks,
    
    Serkan..
    
    Alinti Alex Harui  <mailto:aharui@adobe.com> <aharui@adobe.com>
    
    > Hi Serkan,
 ��  >
    > What is the class hierarchy of these classes that report issues with  
    > currentState?  UIComponent has a currentState property.  Just about  
    > everything in Flex derives from UIComponent?
    >
    > -Alex
    >
    > From: Serkan Taş  <mailto:serkan.tas@likyateknoloji.com> <serkan.tas@likyateknoloji.com>
    > Reply-To:  <mailto:users@royale.apache.org> "users@royale.apache.org"  <mailto:users@royale.apache.org> <users@royale.apache.org>
    > Date: Wednesday, October 10, 2018 at 1:00 PM
    > To:  <mailto:users@royale.apache.org> "users@royale.apache.org"  <mailto:users@royale.apache.org> <users@royale.apache.org>
    > Subject: Re: Work on Emulation
    >
    > Hi,
    >
    > Here is my latest output for build process :  
    > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D16Q1OLxAKa2lsbCcXZEebX7g6L21j4PsP <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D16Q1OLxAKa2lsbCcXZEebX7g6L21j4PsP&data=02%7C01%7Caharui%40adobe.com%7C7c8aa387c9904c2ef0fc08d638aed49f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636758720890106815&sdata=cJkwlOWNz%2BxukQZ42XnfuIR1JMJ5bDS9p2SJ3%2FWKOCA%3D&reserved=0> &amp;data=02%7C01%7Caharui%40adobe.com%7C952dd312b44143c27c7308d62f4defaf%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636748409115448364&amp;sdata=Fqn2hKQkwNgA663xm3cQpwuOkoj87N5qtAEqUKdx5r4%3D&amp;reserved=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D16Q1OLxAKa2lsbCcXZEebX7g6L21j4PsP&data=02%7C01%7Caharui%40adobe.com%7C7c8aa387c9904c2ef0fc08d638aed49f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636758720890106815&sdata=cJkwlOWNz%2BxukQZ42XnfuIR1JMJ5bDS9p2SJ3%2FWKOCA%3D&reserved=0> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D16Q1OLxAKa2lsbCcXZEebX7g6L21j4PsP&amp;data=02%7C01%7Caharui%40adobe.com%7C952dd312b44143c27c7308d62f4defaf%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636748409115448364&amp;sdata=Fqn2hKQkwNgA663xm3cQpwuOkoj87N5qtAEqUKdx5r4%3D&amp;reserved=0>
    >
    > Thanks,
    > Serkan.
    > 9.10.2018 11:58 tarihinde Serkan Taş yazdı:
    > Hi,
    >
    > May you check please :  
    > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fpull%2F313 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fpull%2F313&data=02%7C01%7Caharui%40adobe.com%7C7c8aa387c9904c2ef0fc08d638aed49f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636758720890106815&sdata=LSr9RRhSx%2FN%2FFds%2BQwJKOub94Csa83%2Fu08Ezw4kM5rk%3D&reserved=0> &amp;data=02%7C01%7Caharui%40adobe.com%7C952dd312b44143c27c7308d62f4defaf%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636748409115458369&amp;sdata=AZ5dCQW3PQrY8ZG9bSBcprlsxke3%2BceLPduoTqvuvOI%3D&amp;reserved=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fpull%2F313&data=02%7C01%7Caharui%40adobe.com%7C7c8aa387c9904c2ef0fc08d638aed49f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636758720890106815&sdata=LSr9RRhSx%2FN%2FFds%2BQwJKOub94Csa83%2Fu08Ezw4kM5rk%3D&reserved=0> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fpull%2F313&amp;data=02%7C01%7Caharui%40adobe.com%7C952dd312b44143c27c7308d62f4defaf%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636748409115458369&amp;sdata=AZ5dCQW3PQrY8ZG9bSBcprlsxke3%2BceLPduoTqvuvOI%3D&amp;reserved=0>
    >
    > Thanks
    > Serkan
    > 9.10.2018 10:12 tarihinde Serkan Taş yazdı:
    > Thanks.
    > Serkan
    > 9.10.2018 10:04 tarihinde Alex Harui yazdı:
    > Hi Serkan,
    >
    > All Pull Requests should be against the develop branch until further  
    > notice.  The feature/MXRoyale branch is not active.
    >
    > Thanks,
    > -Alex
    >
    > From: Serkan Taş  
    >  <mailto:serkan.tas@likyateknoloji.com> <serkan.tas@likyateknoloji.com> <mailto:serkan.tas@likyateknoloji.com> <mailto:serkan.tas@likyateknoloji.com>
    > Reply-To:  <mailto:users@royale.apache.org> "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>
    > Date: Tuesday, October 9, 2018 at 12:02 AM
    > To:  <mailto:users@royale.apache.org> "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>
    > Subject: Re: Work on Emulation
    >
    > Hi,
    > Is the feature/MXRoyale branch still active for pull request for the  
    > emulation ?
    > Thanks
    > Serkan
    > 9.10.2018 01:40 tarihinde Serkan Taş yazdı:
    >
    > Currently - i hope - i finished the spark.components.Grid. Tomorrow  
    > i am planning to create push request for the emulation classes. I  
    > need to check for copyright etc.
    > 9.10.2018 00:30 tarihinde Alex Harui yazdı:
    > Feel free to provide some snippets that show what you are trying to  
    > do.  I can’t think of any scenarios where lots of classes would now  
    > need to implement an interface but they don’t share a base class.    
    > There are some places in Royale where interfaces should be replaced  
    > by testing for beads.  So it depends a bit on what your scenario is.
    >
    > HTH,
    > -Alex
    >
    >
    > From: Serkan Taş  
    >  <mailto:serkan.tas@likyateknoloji.com> <serkan.tas@likyateknoloji.com> <mailto:serkan.tas@likyateknoloji.com> <mailto:serkan.tas@likyateknoloji.com>
    > Reply-To:  <mailto:users@royale.apache.org> "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>
    > Date: Monday, October 8, 2018 at 2:23 PM
    > To:  <mailto:users@royale.apache.org> "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>
    > Subject: Re: Work on Emulation
    >
    >
    > Hi Alex,
    > 9.10.2018 00:07 tarihinde Alex Harui yazdı:
    > An interface is a contract that promises a certain set of APIs, so  
    > no, there is no way out.  If there was, you would not be able to  
    > trust the lack of VerifyErrors as assurance that your code is going  
    > to work, especially when loading things that are compiled separately  
    > like modules.
    > Sure, okay.
    >
    >
    >
    >
    > That said, Royale interfaces are still works-in-progress, so you  
    > might be seeing symptoms that a Royale interface needs to be  
    > re-factored.  But for the purposes of emulation, I would consider  
    > the Flex interfaces to be “frozen”.
    >
    > Defining the missing methods can be “easy”.  Copy the interface  
    > APIs, add “public” in front of them.  Add “{}” function bodies after  
    > them, and return 0 or null where needed.
    >
    > If we are talking about lots of classes implementing the interface,  
    > it takes too much time according to hierarchy :)
    >
    > Just trying to find a way to make it easier.
    >
    > HTH,
    > -Alex
    >
    > From: Serkan Taş  
    >  <mailto:serkan.tas@likyateknoloji.com> <serkan.tas@likyateknoloji.com> <mailto:serkan.tas@likyateknoloji.com> <mailto:serkan.tas@likyateknoloji.com>
    > Reply-To:  <mailto:users@royale.apache.org> "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>
    > Date: Monday, October 8, 2018 at 1:34 PM
    > To:  <mailto:users@royale.apache.org> "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>
    > Subject: Re: Work on Emulation
    >
    >
    > Hi,
    >
    > If a class implements interface and the class does not define the  
    > methods declared in interface, compiler output errors.
    >
    > Is it possible to fix it without defining the methods ?
    >
    > Thanks
    >
    > serkan
    > 8.10.2018 05:51 tarihinde Alex Harui yazdı:
    > Hi Serkan,
    >
    > It doesn’t matter whether the file is a .mxml or .as file, what  
    > matters is, in an mxml file, whether the usage is in MXML  
    > markup/tags or in Script.  Without looking at the log, I see that  
    > the error is about an “import spark.components.Grid” which looks  
    > like Script code.  And thus, the class has to actually exist, you  
    > can’t map it in a manifest.
    >
    > HTH,
    > -Alex
    >
    > From: Serkan Taş  
    >  <mailto:serkan.tas@likyateknoloji.com> <serkan.tas@likyateknoloji.com> <mailto:serkan.tas@likyateknoloji.com> <mailto:serkan.tas@likyateknoloji.com>
    > Reply-To:  <mailto:users@royale.apache.org> "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>
    > Date: Sunday, October 7, 2018 at 8:06 AM
    > To:  <mailto:users@royale.apache.org> "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>
    > Subject: Re: Work on Emulation
    >
    > Hi Alex,
    >
    > I see the th log is too long:)
    >
    > One of my usage is in mxml. You may want look at source if you wish  
    > :  
    > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flikyateknoloji%2Fpinaraui-royale%2Fblob%2Fmaster%2FPinaraUI%2Fsrc%2Fcom%2Flikya%2Fcomps%2Fcrud%2Fuser%2FUserListGrid.mxml <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flikyateknoloji%2Fpinaraui-royale%2Fblob%2Fmaster%2FPinaraUI%2Fsrc%2Fcom%2Flikya%2Fcomps%2Fcrud%2Fuser%2FUserListGrid.mxml&data=02%7C01%7Caharui%40adobe.com%7C7c8aa387c9904c2ef0fc08d638aed49f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636758720890106815&sdata=BJz0ElTeeWmO1RCAV7x0lWnfNlegIUtP0IAlXMnQ3VU%3D&reserved=0> &amp;data=02%7C01%7Caharui%40adobe.com%7C952dd312b44143c27c7308d62f4defaf%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636748409115458369&amp;sdata=rauYCs5kjghElCvhwd8i%2FgVcImYXcAd7ZrScCMSLuNw%3D&amp;reserved=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flikyateknoloji%2Fpinaraui-royale%2Fblob%2Fmaster%2FPinaraUI%2Fsrc%2Fcom%2Flikya%2Fcomps%2Fcrud%2Fuser%2FUserListGrid.mxml&data=02%7C01%7Caharui%40adobe.com%7C7c8aa387c9904c2ef0fc08d638aed49f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636758720890106815&sdata=BJz0ElTeeWmO1RCAV7x0lWnfNlegIUtP0IAlXMnQ3VU%3D&reserved=0> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flikyateknoloji%2Fpinaraui-royale%2Fblob%2Fmaster%2FPinaraUI%2Fsrc%2Fcom%2Flikya%2Fcomps%2Fcrud%2Fuser%2FUserListGrid.mxml&amp;data=02%7C01%7Caharui%40adobe.com%7C952dd312b44143c27c7308d62f4defaf%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636748409115458369&amp;sdata=rauYCs5kjghElCvhwd8i%2FgVcImYXcAd7ZrScCMSLuNw%3D&amp;reserved=0>
    > UserListGrid.mxml(17): col: 11 Warning: Definition  
    > spark.components.Grid could not be found.
    > import spark.components.Grid;
    >
    > As far as i remember mx version did not have most of the features so  
    > i preferd spark version.
    > But i am going to work on if possible extend the mx version, if no  
    > then may emulate the spark one.
    >
    > Thanks,
    > Serkan
    >
    >
    > 7.10.2018 17:57 tarihinde Alex Harui yazdı:
    > Hi Serkan,
    >
    > The word “Grid” is in the log 180 times and I don’t have time to  
    > check them all, but the first bunch appeared to be AS3 usage, not  
    > MXML usage, so the manifest changes won’t matter.  The manifest  
    > changes probably did eliminate errors for MXML usage.  Someone like  
    > you will have to actually create spark.component.Grid and other  
    > classes.  You can have them extend the MX versions if the APIs are  
    > similar enough.
    >
    > HTH,
    > -Alex
    >
    > From: Serkan Taş  
    >  <mailto:serkan.tas@likyateknoloji.com> <serkan.tas@likyateknoloji.com> <mailto:serkan.tas@likyateknoloji.com> <mailto:serkan.tas@likyateknoloji.com>
    > Reply-To:  <mailto:users@royale.apache.org> "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>
    > Date: Sunday, October 7, 2018 at 1:45 AM
    > To:  <mailto:users@royale.apache.org> "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>
    > Subject: Re: Work on Emulation
    >
    > Hi Alex,
    >
    > I am going to work on Keyboard.
    > In catalog.xml : <component className="mx.containers:Grid"  
    > name="Grid" uri="library://ns.apache.org/royale/mx <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fmx&data=02%7C01%7Caharui%40adobe.com%7C7c8aa387c9904c2ef0fc08d638aed49f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636758720890106815&sdata=OzbR72iKVrCkgnotNShpWU8PVeKW2g5AQcV3ORsdHIk%3D&reserved=0> "/>
    > Log :  
    > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D16Q1OLxAKa2lsbCcXZEebX7g6L21j4PsP <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D16Q1OLxAKa2lsbCcXZEebX7g6L21j4PsP&data=02%7C01%7Caharui%40adobe.com%7C7c8aa387c9904c2ef0fc08d638aed49f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636758720890106815&sdata=cJkwlOWNz%2BxukQZ42XnfuIR1JMJ5bDS9p2SJ3%2FWKOCA%3D&reserved=0> &amp;data=02%7C01%7Caharui%40adobe.com%7C952dd312b44143c27c7308d62f4defaf%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636748409115458369&amp;sdata=yLDzWWTxx9jwKY3B9LKU9QtyYfBwf3dX0X0KKE4L0qo%3D&amp;reserved=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D16Q1OLxAKa2lsbCcXZEebX7g6L21j4PsP&data=02%7C01%7Caharui%40adobe.com%7C7c8aa387c9904c2ef0fc08d638aed49f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636758720890106815&sdata=cJkwlOWNz%2BxukQZ42XnfuIR1JMJ5bDS9p2SJ3%2FWKOCA%3D&reserved=0> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D16Q1OLxAKa2lsbCcXZEebX7g6L21j4PsP&amp;data=02%7C01%7Caharui%40adobe.com%7C952dd312b44143c27c7308d62f4defaf%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636748409115458369&amp;sdata=yLDzWWTxx9jwKY3B9LKU9QtyYfBwf3dX0X0KKE4L0qo%3D&amp;reserved=0>
    >
    > Thanks,
    > Serkan
    > 7.10.2018 09:23 tarihinde Alex Harui yazdı:
    > Hi Serkan,
    >
    > Make a copy of Keyboard and put it in the mx package, maybe  
    > mx.core.Keyboard..  No need to make UIKeys bigger.
    >
    > I couldn’t download the new output.  Make sure the spark namespace  
    > is correct and that the SWC got updated.  You can also unzip the SWC  
    > and check the catalog.xml to see if it now includes Grid.
    >
    > -Alex
    >
    >
    > From: Serkan Taş  
    >  <mailto:serkan.tas@likyateknoloji.com> <serkan.tas@likyateknoloji.com> <mailto:serkan.tas@likyateknoloji.com> <mailto:serkan.tas@likyateknoloji.com>
    > Reply-To:  <mailto:users@royale.apache.org> "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>
    > Date: Saturday, October 6, 2018 at 3:56 AM
    > To:  <mailto:users@royale.apache.org> "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>
    > Subject: Re: Work on Emulation
    >
    >
    > Hi Alex,
    > 5.10.2018 00:09 tarihinde Alex Harui yazdı:
    > Hi Serkan,
    >
    > I think statics don’t inherit in AS so you may have to duplicate the  
    > static definition on the Keyboard class.  But if you are going to  
    > make a Keyboard class, it would be best to put it in a package like  
    > mx.events.utils instead of flash.ui.  The goal is to not have any  
    > imports to flash classes outside of COMPILE::SWF blocks.
    >
    > importing flash.ui.Keyboard compiles without error. I am not sure  
    > which path to go :
    > 1.       Create Keyboard class and carry the constants from  
    > flas.ui.Keyboard to this class (nearly the copy of class)
    > 2.       add the uint constant values for the keys  
    > org.apache.royale.events.utils.UIKeys
    >
    >       Which one is the right approach ?
    >
    > I think all of the really big issues have been addressed. Now we  
    > have to make a series of “small-ish” changes.  If you add okLabel  
    > and cancelLabel to Alert a bunch of errors will go away.
    > okLabel and get/set methods were commented, added the classes.
    >
    >
    >
    >
    >
    >
    >
    > Some existing MX components can probably be mapped into  
    > SparkRoyale’s manifest.xml.
    >
    > One of my famous error is  :
    >
    > D:\dev\royale-emulation-works\github\pinaraui-royale\PinaraUI\src\com\likya\comps\crud\user\UserListGrid.mxml(17): col: 11 Warning: Definition spark.components.Grid could not be  
    > found.
    >
    > import spark.components.Grid;
    >
    > I insterted the line below into the file spark-royale-manifest.xml :
    >
    > <component id="Grid" class="mx.containers.Grid" lookupOnly="true"/>
    >
    > But nothing changed. Here is the full log :  
    > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D1kAdIQOrz4fj7YJF_R2b9BacR6RKbFRIW <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D1kAdIQOrz4fj7YJF_R2b9BacR6RKbFRIW&data=02%7C01%7Caharui%40adobe.com%7C7c8aa387c9904c2ef0fc08d638aed49f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636758720890106815&sdata=Cj9olobxROsgIRUIp6rPH%2F4m2lUJxrPZkZi%2FD%2Bd3NwE%3D&reserved=0> &amp;data=02%7C01%7Caharui%40adobe.com%7C952dd312b44143c27c7308d62f4defaf%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636748409115458369&amp;sdata=uuTdO2H4vZd3IJnOKUTbjT8yFZir7ZSiWng9fCjyRpc%3D&amp;reserved=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D1kAdIQOrz4fj7YJF_R2b9BacR6RKbFRIW&data=02%7C01%7Caharui%40adobe.com%7C7c8aa387c9904c2ef0fc08d638aed49f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636758720890106815&sdata=Cj9olobxROsgIRUIp6rPH%2F4m2lUJxrPZkZi%2FD%2Bd3NwE%3D&reserved=0> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D1kAdIQOrz4fj7YJF_R2b9BacR6RKbFRIW&amp;data=02%7C01%7Caharui%40adobe.com%7C952dd312b44143c27c7308d62f4defaf%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636748409115458369&amp;sdata=uuTdO2H4vZd3IJnOKUTbjT8yFZir7ZSiWng9fCjyRpc%3D&amp;reserved=0>
    >
    > Thanks
    >
    > Serkan
    >
    > I’m sure you’ll have questions.  Please try to post a code snippet  
    > and any error output.
    >
    > I’m going to be working on getting mx:RemoteObject to work.  Then  
    > probably getting Resources to work, then a ‘full’ migration of  
    > charts.  Hopefully you and Alina and Pashmina and others can make  
    > progress on the smaller changes.
    >
    > Good luck,
    > -Alex
    >
    > From: Serkan Taş  
    >  <mailto:serkan.tas@likyateknoloji.com> <serkan.tas@likyateknoloji.com> <mailto:serkan.tas@likyateknoloji.com> <mailto:serkan.tas@likyateknoloji.com>
    > Reply-To:  <mailto:users@royale.apache.org> "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>
    > Date: Thursday, October 4, 2018 at 1:28 PM
    > To:  <mailto:users@royale.apache.org> "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>
    > Subject: Re: Work on Emulation
    >
    >
    > Hi Alex,
    >
    > please find my comments inline...
    > 4.10.2018 20:24 tarihinde Alex Harui yazdı:
    > Hi Serkan,
    >
    > So it looked to me that the resourceManager errors went away, making  
    > it easier to see what’s left.  Without looking to carefully, I  
    > noticed:
    >
    > There is an ambiguous reference to a CloseEvent.  Try to figure out  
    > what two CloseEvents are being seen.  There is a CloseEvent in  
    > JavaScript but the compiler should always choose the one you  
    > imported.  Or maybe you need an import statement.  You could  
    > probably work around this by fully qualifying the name.   
    > “mx.events.CloseEvent” instead of just “CloseEvent”.
    >
    > You may need to import mx.events.KeyboardEvent where you are getting  
    > KeyboardEvent errors.
    > I changed CloseEvents to mx.events.CloseEvent, in all occurances.  
    > import was not enough. Ant same for KeyboardEvents
    >
    >
    >
    >
    >
    >
    >
    >
    >
    > I think org.apache.royale.events.utils.UIKeys can replace the  
    > Keybaord class.  We could also make an mx.events.utils.Keyboard class.
    > I first tried to create the mx.events.utils.Keyboard class and  
    > extended it from org.apache.royale.events.utils.UIKeys but got the  
    > error : Error: Access of possibly undefined property ESCAPE through  
    > a reference with static type
    > I tried org.apache.royale.events.utils.UIKeys but was not compatible  
    > with flash.ui.Keyboard, ropyale version has string, flash version  
    > has the codes (uint) of the keys. So i had to import flash.ui.Keyboard
    >
    >
    >
    >
    >
    >
    >
    >
    >
    > Try replace “import flashx.textLayout…” with “import  
    > org.apache.royale.textLayout…”
    > Ok solved !
    >
    >
    >
    >
    >
    >
    >
    >
    >
    > After that, everything might be a mostly little changes to MXRoyale  
    > or SparkRoyale classes for missing Flex APIs.  For missing Flash  
    > APIs like navigateToURL, there is  
    > org.apache.royale.core.BrowserWindow and hopefully there are  
 ��  > equivlents for other Flash APIs you use.
    >
    > Here is my latest report :  
    > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D1kAdIQOrz4fj7YJF_R2b9BacR6RKbFRIW <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D1kAdIQOrz4fj7YJF_R2b9BacR6RKbFRIW&data=02%7C01%7Caharui%40adobe.com%7C7c8aa387c9904c2ef0fc08d638aed49f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636758720890106815&sdata=Cj9olobxROsgIRUIp6rPH%2F4m2lUJxrPZkZi%2FD%2Bd3NwE%3D&reserved=0> &amp;data=02%7C01%7Caharui%40adobe.com%7C952dd312b44143c27c7308d62f4defaf%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636748409115458369&amp;sdata=uuTdO2H4vZd3IJnOKUTbjT8yFZir7ZSiWng9fCjyRpc%3D&amp;reserved=0 <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D1kAdIQOrz4fj7YJF_R2b9BacR6RKbFRIW&data=02%7C01%7Caharui%40adobe.com%7C7c8aa387c9904c2ef0fc08d638aed49f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636758720890106815&sdata=Cj9olobxROsgIRUIp6rPH%2F4m2lUJxrPZkZi%2FD%2Bd3NwE%3D&reserved=0> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D1kAdIQOrz4fj7YJF_R2b9BacR6RKbFRIW&amp;data=02%7C01%7Caharui%40adobe.com%7C952dd312b44143c27c7308d62f4defaf%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636




 

-- 

Piotr Zarzycki 

Patreon: https://www.patreon.com/piotrzarzycki <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C7c8aa387c9904c2ef0fc08d638aed49f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636758720890106815&sdata=%2FC5DYtKEiaaNWYyILFz%2FE7fPdFNfzpvLlHwUtsdeF1s%3D&reserved=0> 


Mime
View raw message