Hi,

Yes, replying from the forums is currently blocked by Apache.  So please 
subscribe to the mailing list by sending an email to 
[email protected] and the robot will send you a confirmation 
email.  It might help to use a plain text email.

To answer your question: It appears that you are using a WindowedApplication in 
the example but want the migrated application to run in a browser.  I think 
that might not even have worked in Flex?  Since you are migrating an AIR-based 
application, it might be worthwhile switching from WindowedApplication to 
Application in Flex and see how well your application runs in a browser using 
Flash.  That might inform you about other issues like access to the file 
system.  Then migrate that to Royale.

Also note that I believe that Harman Consulting Services offers extended 
support for AIR, although I don't think it is free.  And also, that Royale does 
intend to support "desktop" JavaScript runtimes like Apache Cordova and 
ElectronJS.  It might be that Royale will need to add a WindowedApplication 
class to run on a desktop.  We haven't emulated it in Royale yet because nobody 
has asked for it.

So choose your runtime environment and that will affect your choice of 
Applications.  If you choose browser, then change your WindowedApplication to 
Application, otherwise we will create a WindowedApplication emulation.

Thanks,
-Alex

On 11/6/19, 2:20 PM, "ilaria.scarcia" <[email protected]> wrote:

    Hi Yishay,
    I received this from the server when I've replied from the forum:
    
    host mx1-ec2-va.apache.org[34.199.147.133] said: 550
         5.7.1 Service unavailable; client [162.253.133.72] blocked using
         b.barracudacentral.org (in reply to RCPT TO command)
    
    
    Btw here my response:
    
    Yes, the migrated application should run in a browser.
    
    I have follwed the steps written by harui, but I have this error:
    
    This tag could not be resolved to an ActionScript class. It will be ignored.
    
    on this line:
    
    <s:WindowedApplication 
xmlns:fx="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&amp;data=02%7C01%7Caharui%40adobe.com%7C8016f6928edc4f01bf0308d76307757e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637086755997705173&amp;sdata=aF98Og4y1CVnQhNmaUSZt2weMEhOIsf6in9dmNSGnKM%3D&amp;reserved=0";
    xmlns:s="library://ns.apache.org/royale/spark"
    xmlns:mx="library://ns.apache.org/royale/mx">
    
    Please consider that *I'm testing it on a simple project with just one 
    mxml file *(not my big project)**cointaing few lines:
    
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication 
xmlns:fx="https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009&amp;data=02%7C01%7Caharui%40adobe.com%7C8016f6928edc4f01bf0308d76307757e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C1%7C637086755997705173&amp;sdata=aF98Og4y1CVnQhNmaUSZt2weMEhOIsf6in9dmNSGnKM%3D&amp;reserved=0";
    xmlns:s="library://ns.apache.org/royale/spark"
    xmlns:mx="library://ns.apache.org/royale/mx">
             <fx:Declarations>
    
             </fx:Declarations>
    
             <s:Graphic>
                     <s:Rect id="rect1" width="200" height="200">
                             <s:fill>
                                     <s:SolidColor color="0xFFFFCC"/>
                             </s:fill>
                             <s:stroke>
                                     <s:SolidColorStroke color="0x660099" 
    weight="2"/>
                             </s:stroke>
                     </s:Rect>
             </s:Graphic>
    
    </s:WindowedApplication>
    
    
    
    Could be resolved in some way?
    
    Thank you,
    Ilariad
    

Reply via email to