Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>ActionScript & MXMLNew to Visual Studio Code? Get it now.

ActionScript & MXML

Bowler Hat LLC

|
42,644 installs
| (14) | Free
Language support for ActionScript and MXML
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ActionScript & MXML language extension for Visual Studio Code

Provides code intelligence for the ActionScript & MXML programming languages. Supports projects built with a variety of SDKs and tools — including Adobe AIR, Adobe Animate, the classic Apache Flex and Adobe Flex SDKs, Apache Royale, and the Feathers SDK. Runs on Windows, macOS, and Linux.

Extension created and maintained by Josh Tynjala. By becoming a patron, you can directly support the ongoing development of this project.

Features

  • Syntax Highlighting for ActionScript, MXML, and JSFL files.
  • IntelliSense completion for classes and interfaces, imports, properties, methods, and more.
  • Signature Help shows a list of parameters when calling functions.
  • Errors and Warnings are updated in real time as you type (or on save only, if you prefer).
  • Hover over a symbol to see more details such as types, namespaces, documentation, and more.
  • Go to Definition with Ctrl+Click on any usage of a symbol to open the file where it is defined.
  • Find All References for any symbol in the project.
  • Rename Symbol for classes, interfaces, methods, and variables.
  • Organize Imports sorts imports alphabetically and removes unused imports.
  • Quick Fixes to add missing imports, generate missing variables or methods, or convert variables to getters/setters.
  • Outline view lists all symbols in the current file.
  • Go to Symbol in Workspace with Ctrl+T and type the name of any symbol in the workspace.
  • Build Tasks can compile a project or package an Adobe AIR app with Ctrl+Shift+B.
  • Debug or Run SWF projects in Adobe AIR and Flash Player.
  • Debug or Run Apache Royale (formerly known as FlexJS) projects in web browsers and Node.js.
  • Adobe Animate integration includes Test Movie, Debug Movie, and Publish.
  • Import Projects from Adobe Flash Builder and FlashDevelop.

Help and Support

  • Help & Documentation
  • Issue Tracker
  • Official Website

Minimum Requirements

  • Visual Studio Code 1.37
  • Java 1.8 Runtime

asconfig.json

Add a file named asconfig.json to the root of your project to enable the ActionScript & MXML extension.

A sample asconfig.json file for an Apache Royale project appears below:

{
  "compilerOptions": {
    "targets": ["JSRoyale"],
    "source-path": ["src"],
    "source-map": true
  },
  "mainClass": "HelloRoyale"
}

Here's another sample asconfig.json file for a pure ActionScript project targeting Adobe AIR on mobile:

{
  "config": "airmobile",
  "compilerOptions": {
    "source-path": ["src"],
    "output": "bin/HelloAIR.swf"
  },
  "mainClass": "HelloAIR",
  "application": "src/HelloAIR-app.xml",
  "airOptions": {
    "android": {
      "output": "bin/HelloAIR.apk",
      "signingOptions": {
        "storetype": "pkcs12",
        "keystore": "android_certificate.p12"
      }
    },
    "ios": {
      "output": "bin/HelloAIR.ipa",
      "signingOptions": {
        "storetype": "pkcs12",
        "keystore": "ios_certificate.p12",
        "provisioning-profile": "example.mobileprovision"
      }
    }
  }
}

Support this project

The ActionScript & MXML language extension for Visual Studio Code is developed by Josh Tynjala — thanks to the generous support of developers and small businesses in the community. Folks just like you! By becoming a patron, you can join them in supporting the ongoing development of this project.

Support Josh Tynjala on Patreon

Special thanks to the following sponsors for their generous support:

  • Moonshine IDE
  • Dedoose
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2019 Microsoft