Tutorials Archive

Step-by-step tutorials about transpiling ActionScript and MXML to JavaScript

Past tutorials remain archived here for convenience, but new tutorials aren't being created anymore.

 Web application development with Apache FlexJS, MXML, and ActionScript (no plug-ins required!)

Web application development with Apache FlexJS, MXML, and ActionScript (no plug-ins required!)

Learn to use Apache FlexJS to create a project with MXML and ActionScript project that runs as HTML and JavaScript in the web browser.

Read Tutorial

Debug transpiled ActionScript in Chrome using source maps

Debug transpiled ActionScript in Chrome using source maps

While Apache FlexJS generates JavaScript from ActionScript, source maps allow you to add breakpoints and step through your original ActionScript code inside Chrome's Developer Tools.

Read Tutorial

Debug transpiled ActionScript in Firefox using source maps

Debug transpiled ActionScript in Firefox using source maps

While Apache FlexJS generates JavaScript from ActionScript, source maps allow you to add breakpoints and step through your original ActionScript code inside Firefox's Developer Tools.

Read Tutorial

How to use transpiled ActionScript with HTML

How to use transpiled ActionScript with HTML

Learn three different ways to combine transpiled ActionScript with HTML.

Read Tutorial Source Code

Hello Node: How to transpile ActionScript for Node.js

Hello Node: How to transpile ActionScript for Node.js

Learn to use the asnodec command line transpiler from Apache FlexJS to enable server-side ActionScript on Node.js.

Read Tutorial

How to create a project in IntelliJ IDEA to transpile ActionScript

How to create a project in IntelliJ IDEA to transpile ActionScript to JavaScript for HTML and the web

Quickly set up IntelliJ IDEA to transpile ActionScript to JavaScript using the Apache FlexJS SDK. You'll add the SDK, create a new project, and run it in your browser.

Read Tutorial

How to add a SWC created with <code>dts2as</code> to an FDT project

How to add a SWC created with dts2as to an FDT project

Include a SWC file that defines classes for a JavaScript library as runtime shared code in an FDT project.

Read Tutorial

How to create a project in FDT to transpile ActionScript

How to create a project in FDT to transpile ActionScript

Quickly set up FDT to transpile ActionScript to JavaScript using the Apache FlexJS SDK. You'll add the SDK, create a new project, and run it in your browser.

Read Tutorial

Introduction to dts2as: Using TypeScript definitions with ActionScript

Introduction to dts2as: Using TypeScript definitions with ActionScript

Build SWC files that expose JavaScript libraries to the ActionScript compiler and IDEs. Get code suggestions and compile-time type checking.

Read Tutorial

Hello World: How to transpile ActionScript to JavaScript for the web (no plug-ins required!)

Hello World: How to transpile ActionScript to JavaScript for the web (no plug-ins required!)

Learn to use the command line asjsc transpiler in the Apache FlexJS SDK to create a pure ActionScript project that runs as JavaScript in the web browser.

Read Tutorial