How OpenFL Works

OpenFL, as I shared earlier, combines years of development to bring you a fast and stable implementation of the industry-standard Flash development API, free and open-source, ready to provide a backbone for mobile, desktop and web projects.

How does it work? At first, it may seem to be a mystery, but I know that some of you (most of you?) like knowing how things are put together, so let’s dive into it.

Run script

OpenFL begins with a run script. The source is located here:

When you execute “haxelib run openfl” (or run the “openfl” alias for the same command), this script is being executed. Continue reading How OpenFL Works

Replacing an OpenFL Backend

When I was designing OpenFL, one of the goals was to build an architecture that would allow for easy development on one of the backends. Currently, we have two backends: “openfl-native” and “openfl-html5”

If you install OpenFL, you will probably notice that these are completely different Haxe libraries. This makes it possible to make changes to the native backend without rebuilding command-line tools, or to make HTML5 improvements without rebuilding native binaries.

The README for each project on GitHub includes instructions for using a development version. For example, to use a development version of openfl-html5:

git clone
haxelib dev openfl-html5 openfl-html5

This can also let you replace a backend entirely. Continue reading Replacing an OpenFL Backend

Introducing OpenFL

I am happy to announce a new platform for building creative content — OpenFL — which is currently available as a release candidate for Windows, Mac and Linux users.

In 1999 the world began to embrace the Flash browser plugin as a way to create and experience interactive content, reaching 92% of internet users. Times have changed, but the need to deliver creative projects has perhaps become even more important than ever.

In the past ten years, we have seen the wireless industry explode and we have seen web browsers develop features that only plugins could deliver before.

OpenFL combines years of work to provide for the industry-standard Flash API without the Flash plugin.

In order to succeed on mobile, it is important to take of advantage of device hardware, and to be as native as possible. That is why OpenFL allows direct access to device features using extensions, why OpenFL makes it possible to target iOS, Android and BlackBerry as fully native applications, and to accelerate the Flash API using OpenGL for a fast, productive development environment.

OpenFL can also target JavaScript directly, thanks to the Haxe Toolkit that powers the platform. Today, users of OpenFL can target HTML5 or the beta support for Emscripten and WebGL, while supporting the Flash Player runtime, for flexibility when providing content for the web.

OpenFL is free, hosted on Github under the permissive MIT open-source license. We invite you to join with us as we build the best 2D development platform for the next 5-10 years.

Though Flash is a popular API, we believe in allowing the community to innovate in new ways to build games and applications. That is why OpenFL seeks to also provide an open platform, including OpenGLView, an accelerated way to build content for Windows, Mac, Linux, iOS, Android, BlackBerry and HTML5 using the WebGL API.

You can Get Started with OpenFL now. More details and a new website will be coming soon.