donderdag 8 januari 2009

flash drawing applications actionscript

If you are trying to build a flash drawing application in actionscript, a tool where users can draw in swf, these links might come in handy. Myself im actually working on something where users can FILL shapes, just like in a traditional coloring book for kids.

Nevertheless i cannot find any usable actionscript for this.
All i can find and fix is filling using actionscript, predefining the coordinates in AS.
Since i am using jpgs ( or vectors) as a base image, it is not possible.
I have to put all lines in actionscript first, which is impossible to start with.

So i will fake it, creating clips for every shape, and changing its color trough actionscript.
Its a stupid workaround, timeconsuming, but it will do for this projects.

Here some more links on drawing in flash.
They are great, but they wont help you with the FILL problem..
Let me know if you find a solution for this!!! ( also, in CS4 i think it might be possible)


http://www.actionscripts.org/forums/showthread.php3?t=159637
http://www.actionscript.org/resources/articles/10/1/Creating-a-Dynamic-Drawing-application-in-Flash/Page1.html
http://www.kirupa.com/forum/showthread.php?t=40686
http://www.queeky.com/draw/php/
http://psykopath.deviantart.com/art/Proper-Flash-Drawing-App-52545349
http://forums.macrumors.com/
http://jessewarden.com/2004/10/draw-lines-with-undo.html
http://www.flashandmath.com/basic/mousedraw/index.html


or you can always use a hammer...
Please leave your comments.

.

Geen opmerkingen: