Deviant Login Shop  Join deviantART for FREE Take the Tour
×



Details

Submitted on
April 6, 2007
Image Size
21.6 KB
Resolution
550×400
Link
Thumb
Embed

Stats

Views
6,344 (1 today)
Favourites
31 (who?)
Comments
58
Downloads
324
×
I finally decided to do a flash drawing program thing because people keep submitting them and only put in the smallest amount of scipting just to have drawing a line, so heres a full featured one complete with customisable polygons, fill modes, blend modes, even two filters and an undo function. Enjoy!

---------------------------------

Click, drag, release for basic tools.

Shift makes ellipses into circles.
Holding Control makes the circle have its corner at the start position, instead of being centered there.
Try Control + Shift when drawing circles.

To use the polyline tool, click and drag, press Space to add a corner, release to draw.

The keys 3 to 9 determine the number of sides on the Polygon tool. Pressing 0 will increase the number by, so you can put as many as you want.

There are three modes: line&fill, line, fill

When drawing shapes, the main color is the Fill, the second color is the Line.

Blend Mode doesnt affect the Brush tool.
Alpha doesnt affect the Brush tool.

Ctrl-Z is undo. You can only Undo once. You can Undo the Undo.
You can also Undo by using the right-click menu.

You can right-click for some options.

Also the eraser actually WORKS, it doesnt just draw white lines like in other flash drawing apps I've seen.
Add a Comment:
 
:iconskygerz:
skygerz Featured By Owner May 18, 2009
AWESOME. i've tried and failed.
Reply
:iconadampantha:
adampantha Featured By Owner Sep 5, 2008  Hobbyist Filmographer
i just get thrilled to bits with this... have you ever contemplated a gradient fill for this?
Reply
:iconpsykopath:
psykopath Featured By Owner Sep 7, 2008
Didn't think of it at the time but it'd be really really easy to put in as it's already part of the drawing API.
Reply
:iconadampantha:
adampantha Featured By Owner Sep 7, 2008  Hobbyist Filmographer
Exactly. and that means there's more coloured fun to be had! :iconcoloncapitaldplz:
Reply
:iconnikush7:
Nikush7 Featured By Owner Sep 2, 2008
dude this is sweet!
can i just ask how you got the eraser to actualy erase pixels?
fav+
Reply
:iconpsykopath:
psykopath Featured By Owner Sep 2, 2008
It's BitmapData so you just do setPixel32(x, y, 0x00000000) in a loop. Can also do it with copyPixels() and threshold() (which would be faster) but because in this anyone can choose a color to use, threshold() could cause problems.
Reply
:iconjohnjensen:
JohnJensen Featured By Owner Dec 2, 2008
So..when you want to erase something in BitmapData, you'd just have to use 32, and 00 for transparancy? :D
Reply
:iconpsykopath:
psykopath Featured By Owner Dec 2, 2008
yep
Reply
:iconjohnjensen:
JohnJensen Featured By Owner Nov 18, 2009
so, setPixel32(x, y, 0x00FFFFFF);?
Reply
:iconpsykopath:
psykopath Featured By Owner Nov 18, 2009
Yeah.
Reply
Add a Comment: