Skip to main content
Participant
May 25, 2018
Question

Support legacy Flex app file after 2020

  • May 25, 2018
  • 1 reply
  • 1772 views

Hi,

as after 2020 browsers will stop supporting Flash player I'm investigating how it will be possible to support my swf app served from a web server.

Currently I can point the browser to the url with the swf and the app is working as expected.

To avoid depending on the browsers (after 2020) I've created a simple prototype in Flex where I load the remote swf using mx:HTML.

I then package the app in a captive runtime bundle and everything seems working, am I correct assuming that:

  1. Even after 2020 the captive runtime bundle app will keep working, or there will be also limitations to use AIR in the Operating system ?
  2. Is the mx:HTML tag using the AIR runtime to run the remote swf ? If I right click when running I see the same menu like when running the remote swf on the browser.
    I'm afraid that it still depends on Flash player installed on the system.

Thanks in advance

Emanuele

This topic has been closed for replies.

1 reply

IGZN
Inspiring
May 28, 2018

Since AIR 22 Flash Player is no longer part of AIR desktop applications (Flash Player and AIR 22 Release Notes​ )

Starting in AIR 22, applications that play swf content via the HTML control (WebKit) will now load the system level NPAPI Flash Player provided by Adobe (https://get.adobe.com/flashplayer).  If this plugin is not available on the system, the end user will be prompted to download and install the plugin from Adobe.

This means that your assumption is correct, what you see when you right click on a SWF is actually the context menu of the Flash Player (plugin) of your default browser. Once this Flash plugin is removed globally from browsers, you'll no longer be able to display SWF files in mx:HTML or StageWebView.

But since you have access to the SWF and maybe the source, I recommend you to create a completely new desktop app from the source, or load the SWF with Loader class and add it to the display list, this way AIR will render the contents instead of the included browser. It's a much better and cleaner method anyway. Make sure you read about sandboxing rules first before loading remote content, but it should not be an issue since you'll target desktop apps.

IGZN
Inspiring
May 28, 2018

And to answer your other question: as of today it looks like Adobe will keep AIR alive, so all your apps will work well after 2020, we might even expect many more updates and versions of AIR by then.

Inspiring
May 29, 2018

Hi IGZN,

Why did you say "as of today it looks like Adobe will keep AIR alive"?

Is there something that changed with AIR today? Is there been any announcement from Adobe today?