cavellis / dartflash

Adobe Flash API ported to Dart and HTML5.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This library provides the Flash API build on top of open web standards (HTML5). Developers who build applications with Flash may have noticed that Flash isn't a popular choice anymore. Some of you probably think about a migration strategy from Flash to HTML5.

What we try to achieve with dartflash:

  • The library should be highly compatible with the Flash API.
  • The programming language should be similar to ActionScript 3.

Demo

This little game was developed with Flash and later ported to HTML5 in only 6 hours. The new HTML5 version runs with smooth 60fps, which is almost impossible to achieve with the Flash plugin!

http://www.dartflash.com/apps/escape/escape.html

Dart programming language

JavaScript is the lingua franca of the Web. The problem with JavaScript is that it sucks. You may disagree but if you come from the ActionScript world (or C# and Java) you scratch your head and wonder. Maybe Google thought the same and started the Dart programming language project. This language fixes all the flaws of JavaScript and at the same time compiles to JavaScript to run your application on all modern browers.

Check out the projects web site: The Dart programming language

Roadmap

dartflash is not finished and new features are added on a regular basis. Here are some topics we think about. Let us know of your ideas and feature requests.

  • Support for WebGL.
  • Additional BitmapFilters like DropShadowFilter
  • A Particle class for cool effects like fire and smoke.
  • TouchEvents for touch screen input.
  • A Video class.
  • Bugfixes.
  • Documentation.
  • Support for masks. (done)
  • A MovieClip class which plays sprite sheet animations. (done)
  • The Graphics class for vector graphics. (done)
  • Support for BitmapFilters (done)
  • The Sound and SoundChannel classes. (done)
  • Mouse Cursors support, show Hand Cursor etc. (done)

Wiki and Blog

Check out the Wiki here on github for instructions how to use some of the classes i've added to extend the standard Flash API. Those additional classes will help you to work with dartflash in a HTML5 environment. There is also a dartflash blog, i hope i can add some useful posts in the future..

Remarks

As the Dart language is evolving very quickly, please be sure to use the latest version of the Dart Editor. We recommend that you use the latest supported version of Dart Editor and not one of the continuous builds.

About

Adobe Flash API ported to Dart and HTML5.

License:Other