Hi,

I posted a simple drawing app tutorial a couple of years ago that you might 
check out. It has the basics in it like listening for mouse down/move/up events 
and causing drawing operations based on them. It's based on Flex 3, when 
drawing was a bit more involved than it is in Flex 4 - you have to create Flash 
DisplayObjects and issue graphics calls to them. In Flex 4 you could just use 
the Flex graphics primitives. But it's not too bad, and hopefully it'll help 
you get started:

These are the videos, but they reference earlier articles, and all the 
code/demos are in the various blog entries.
http://graphics-geek.blogspot.com/2008/06/video-top-drawer-part-i.html
http://graphics-geek.blogspot.com/2008/06/video-top-drawer-parts-ii-iii.html

Good luck...

Chet.


From: [email protected] [mailto:[email protected]] On Behalf 
Of Wally Kolcz
Sent: Thursday, February 18, 2010 12:21 PM
To: [email protected]
Subject: [flexcoders] Tutorials or pointing me in the right direction



I need to create a coloring tool, for a sick children's portal, where I
can lay a vector outline on the screen and the kids can color it. It
doesnt have to always be 'in the lines' so a background image would be
fine. That part is no problem...

However I don't even know where to start on how to make a took that when
the mouse button is depressed it starts to draw (or color) a line. Any
ideas where I can get a tutorial or a source code block for that?

Thanks!

<<inline: image001.jpg>>

<<inline: image002.jpg>>

Reply via email to