-
-
Notifications
You must be signed in to change notification settings - Fork 40
Package an Adobe AIR application in Visual Studio Code
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 project or an AIR mobile project.
Under construction!
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.
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.
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.
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.
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.
- Adobe AIR (Mobile)
- Adobe AIR (Desktop)
- Adobe Flash Player
- Apache Royale
- HTML and JS (no framework)
- Node.js
- Feathers SDK
- Adobe Animate
- Classic Flex SDK
- Library (SWC)
- Royale Library (SWC)