Flanvas: A Flash-like Canvas

Flanvas has become it's own open-source project and can now be found at http://www.flanvas.com

This was the most clever name I could come up with in two minutes.. I've already converted some of the helpful classes from flash over to javascript. Right now I'm using an inheritence system for javascript called Sugar which was created by Douglas Crockford. I'm not using it exactly how he built it, and I think I'm going to end up writing my own inheritance structure in order to better encapsulate how the flash hierarchy works. As of right now I'm about to animate using the ENTER_FRAME event listener and draw using lineTo functions.

As of right now, the end goal is to keep functions and functionality as close to original canvas as possible, and use flash classes and functionality to fill in the gaps.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <p> <pre>
  • Syntax highlight code surrounded by the {syntaxhighlighter SPEC}...{/syntaxhighlighter} tags, where SPEC is a Syntaxhighlighter options string or "class="OPTIONS" title="the title".
  • Lines and paragraphs break automatically.
  • E-Mail addresses are hidden with reCAPTCHA Mailhide.

More information about formatting options

Complete this form and then pat yourself on the back.