Skip to content

Package an Adobe AIR application in Visual Studio Code

Josh Tynjala edited this page Nov 21, 2017 · 26 revisions

The ActionScript & MXML extension for Visual Studio Code supports packaging Adobe AIR applications for deployment to Windows, macOS, iOS, and Android. This obviously includes exporting a release build that can be submitted to app stores and installed by users, but you can also package an app for debugging on mobile devices using either a wi-fi or a USB connection.

To package an Adobe AIR application in Visual Studio Code, you first need to create an AIR desktop or AIR mobile project.

Prerequisites

Install the asconfigc utility from npm. This requires Node.js version 6 or newer.

npm install -g asconfigc

The extension will use asconfigc to read the project's asconfig.json file and run both the compiler and the AIR Developer Tool (adt) using the specified options.


Under construction!


AIR Desktop

Start by creating a new project for an Adobe AIR desktop application.

Go to the Tasks menu and select Run Task...

A list of available tasks for your current workspace will appear, and you should see a few tasks for Adobe AIR.

Screenshot of packaging tasks for AIR desktop in Visual Studio Code

If you don't see any Adobe AIR tasks, you may have forgotten to create an asconfig.json file for your project, or it may not be configured correctly for a desktop application.

You may choose to package an .air file that can be deployed to both Windows or macOS and runs on the shared Adobe AIR runtime, or you create a fully self-contained captive runtime bundle for your current operating system that doesn't require Adobe AIR to be installed separately.

The extension will run the compiler and the AIR Developer Tool (adt) from your workspace's SDK using asconfigc.

AIR Mobile

Start by creating a new project for an Adobe AIR mobile application.

Go to the Tasks menu and select Run Task...

A list of available tasks for your current workspace will appear, and you should see several tasks for Adobe AIR.

Screenshot of packaging tasks for AIR mobile in Visual Studio Code

If you don't see any Adobe AIR tasks, you may have forgotten to create an asconfig.json file for your project, or it may not be configured correctly for a mobile application.

The extension will run the compiler and the AIR Developer Tool (adt) from your workspace's SDK using asconfigc.

Further Reading

Clone this wiki locally