Skip to content

Create a new ActionScript project in Visual Studio Code

Josh Tynjala edited this page Jan 8, 2025 · 8 revisions

To create a new project using the ActionScript & MXML extension for Visual Studio Code, you must open a folder for your project and create a file named asconfig.json. This configuration file is used to set up your project's compiler options and Adobe AIR packaging options. Until you add the asconfig.json file to your project, code intelligence in .as and .mxml files will not be enabled.

Quick Start

  1. In a Visual Studio Code window with no projects currently open, go to the Explorer view to find a Create ActionScript Project button.

    Create ActionScript Project button in Visual Studio Code's Explorer
  2. Alternatively, go to the View menu and choose Command Palette…. Search for and run the ActionScript: Create New Project… command.

    Create ActionScript Project button in Visual Studio Code's Explorer
  3. The command will ask for a few things before creating the project.

  • It will open a dialog to select an empty directory for the new project.

  • It will ask to select an ActionScript SDK for the new project.

  • In some cases, depending on which type of SDK is chosen, it may ask to select a specific project type, such as mobile or desktop.

  1. When the command completes, your new project will be added to the current window.

Project types

A variety of project types are supported, and the following pages will explain how to set up each type:

Next Steps

Clone this wiki locally