Hi Paul,

Here is one post on loading modules directly from the network.
https://medium.com/aaronhardy/loading-a-remote-module-into-a-local-app-148963467a47

HTH,
-Alex

On 6/12/20, 11:29 AM, "Paul Stearns" <pa...@compuace.com.INVALID> wrote:

    Alex:

    No, I have not considered loading & running directly. It is an interesting 
thought however.

    My approach is to load the file to the client computer as needed, then 
executing the local swf file..

    My problem is I need a solution which will work today. Converting to 
Royale, Haxe or something else which would require significant effort will come 
later. I was counting on people being able to maintain older browser/flash when 
Adobe stopped supporting new Flash patches. Unfortunately this is not a viable 
strategy.

    Once I have a methodology where my customers will be able to run after 
12/2020, then I can focus on a long term solution.

    I really like the concept of Ruffle, where we could maintain our codebase 
and run in am emulator. I switched to Flex many years ago because as a long 
time software developer, developing ASP at the time, I felt the vagaries of the 
various browser DOMs to be incompatible with serious software development. 
While the various JS frameworks which have been developed over the intervening 
years have created a layer of abstraction between the application developer and 
the browser DOM, the problem still exists.

    So I will continue to search (possibly in vain) for a "thin client" 
deployment methodology which supports a single DOM. Should I not succeed in 
finding this, I will find the best HTML5/JS framework available and slog my way 
through the learning curve, hoping that whoever maintains the framework is 
staying on top of the latest stupidity features of the available browsers.

    Paul R. Stearns
    Advanced Consulting Enterprises, Inc.

    15280 NW 79th Ct.
    Suite 250
    Miami Lakes, Fl 33016

    Voice: (305)623-0360 x107
    Fax: (305)623-4588

    ----------------------------------------
    From: Alex Harui <aha...@adobe.com.INVALID>
    Sent: 6/12/20 12:29 PM
    To: "users@flex.apache.org" <users@flex.apache.org>, "pa...@compuace.com" 
<pa...@compuace.com>, DarrenEvans <darren.ev...@allocatesoftware.com>
    Subject: Re: Flex to Adobe AIR migration
    @pa...@compuace.com Do you know for a fact that you can't loadBytes your 
SWF from the network and get it to run properly?

    @DarrenEvans I'm interested in more details on your solution as well. If it 
still involves a Flash Player to run a SWF, the ability to get a free Flash 
Player on a new computer after 2020 is not guaranteed.

    Royale/FlexJS is certainly not a zero-effort migration, but should be less 
effort than a full port to an all-JS solution. What was supposed to happen is 
that everyone pitched in with bug fixes and collectively made migration easier 
for everyone else. There is no big money driving development of Royale or Flex. 
It was supposed to become a community effort where each team migrating their 
Flex app had at least one person get to know the Royale framework well enough 
to fix bugs in it. Royale still can become a larger community effort, IMO, but 
requires more of you to get involved and become framework developers. Being 
able to fix your own bugs in software you depend on is your best defense 
against an uncertain future. That's why Flex and Royale are open source at 
Apache. So that no corporation that owns the code.

    Thanks,
    -Alex

    On 6/12/20, 5:36 AM, "Paul Stearns" <pa...@compuace.com.INVALID> wrote:

    Darren:

    Would you be willing to share the "Adobe Air SWF Launcher?" If not we would 
be very interested in as much detail as you would be willing to share, so that 
we could replicate it.

    What I am in the middle of writing is a main application shell which checks 
the date of the local SWF, the corresponding SWF hosted on a web site, and if 
the local one is older download the one from the web site.

    Paul R. Stearns
    Advanced Consulting Enterprises, Inc.

    15280 NW 79th Ct.
    Suite 250
    Miami Lakes, Fl 33016

    Voice: (305)623-0360 x107
    Fax: (305)623-4588

    ----------------------------------------
    From: DarrenEvans <darren.ev...@allocatesoftware.com>
    Sent: 6/12/20 7:14 AM
    To: users@flex.apache.org
    Subject: Re: Flex to Adobe AIR migration
    Hi Sam,

    We were in exactly the same situation. I'm not sure how big your application
    is but ours was absolutely huge; many millions of lines of Flex/AS code.

    We looked at Apache Royale / FlexJS when it was in its infancy and we simply
    could not justify the time and effort it would take to port it to that. The
    component selection simply was not there, the IDE support was minimal and it
    was an absolute pain to get the smallest of bits to compile and display
    anything plus all the MXML needed rewriting.

    We wanted a quick solution that could use the existing code base, as-is,
    while we rewrote the product using React/HTML/D3/SVG.

    First step was creating a direct Adobe Air compilation of the original
    codebase. We also used IntelliJ IDE and I never had a problem with it
    requiring the FlashPlayer. Other than working through some base component
    issues and some other bugs that surfaced, it wasn't too bad.

    We ended up extending that and going for a solution that loaded the original
    SWF file and essentially hosted it in via what we termed the "Adobe Air SWF
    Launcher" (almost a surrogate FlashPlayer). This way we didn't need our
    customers to reinstall the Application if there were bugs or tweaks, we
    could simply host a new SWF which would be consumed by our launcher.

    Cheers, Dal

    Sam wrote
    > Hi, I have a requirement to convert Apache flex web based application to
    > Adobe air, currently application runs on any browser with support of adobe
    > flash player, since Adobe flash is no longer going to be supported after
    > 2020, we are trying to figure out the different options. one best option
    > suggested was Adobe AIR,
    >
    > I have used Intellij IDE to create Adobe AIR web sample project with
    > Adobe
    > AIR and flex SDK, but when i try to run the application, it prompts to
    > enable flash player. Are there any suggestions to how to create adobe air
    > web based project, so that it would not ask for flash player. Appreciate
    > even a small help, Thankyou!
    >
    >
    >
    > --
    > Sent from: 
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-flex-users.2333346.n4.nabble.com%2F&amp;data=02%7C01%7Caharui%40adobe.com%7C133ac0a8f3944fc38ff108d80efe9742%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637275833910289560&amp;sdata=12duqtWzY%2F27kDS5kBPTMtSij19SzcxbegIPE3v6QCY%3D&amp;reserved=0

    --
    Sent from: 
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-flex-users.2333346.n4.nabble.com%2F&amp;data=02%7C01%7Caharui%40adobe.com%7C133ac0a8f3944fc38ff108d80efe9742%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637275833910289560&amp;sdata=12duqtWzY%2F27kDS5kBPTMtSij19SzcxbegIPE3v6QCY%3D&amp;reserved=0



Reply via email to