My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads
Wiki pages
Links

Description

FlashCanvas is a JavaScript library which adds the HTML5 Canvas support to Internet Explorer. It renders shapes and images via Flash drawing API, and in many cases, runs faster than other similar libraries which use VML or Silverlight.

If you need a more sophisticated version of FlashCanvas, FlashCanvas Pro, that supports almost all Canvas APIs, is also available. For more information about FlashCanvas Pro, please visit FlashCanvas website.

Requirements

  • Microsoft Internet Explorer
  • Adobe Flash Player 9 or later

Usage

FlashCanvas consists of JavaScript, Flash and PHP files:

  • flashcanvas.js
  • flashcanvas.swf
  • canvas2png.js (optional)
  • proxy.php (optional)
  • save.php (optional)

These files can be found in the bin directory in the distribution package. To install FlashCanvas, copy these files into some directory on a Web server, and then add the following HTML code between <head> and </head> tags on your web page.

<!--[if lt IE 9]>
<script type="text/javascript" src="path/to/flashcanvas.js"></script>
<![endif]-->

That's all you have to do in most cases. More detailed usage is described in the Usage page.

Examples

You can see some examples of FlashCanvas at the Examples page. If you would like to see more examples, please visit FlashCanvas website. There, you can see more Canvas applications and games working with FlashCanvas.

Powered by Google Project Hosting