In case Flash no longer exists; a copy of this site is included in the Flashpoint archive's "ultimate" collection.

Dead Code Preservation :: Archived AS3 works from wonderfl.net

Simple Drawing

Get Adobe Flash player
by mathatelle 30 Jan 2010
/**
 * Copyright mathatelle ( http://wonderfl.net/user/mathatelle )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/8UHK
 */

package {
	import frocessing.display.*;
	public class Main extends F5MovieClip2DBmp {
		public function setup():void {
			background(204);
			//noStroke();
      		fill(0);
        }
		public function draw():void {
			if (isMousePressed == true) {
        			//ellipse(mouseX, mouseY, 20, 20);
        			line(mouseX, mouseY, pmouseX, pmouseY);
      		}
        }
        public function keyPressed():void {
        		background(204);
        }
	}
}