Merrill, Jason wrote:
A simple solution could be to create a sprite to draw the line onto, and
add a listener to the sprite to see if it was clicked on.
Yes, but then you still have the problem that a two pixel line is not a great hit area for drawn line. That's why I asked the question to improve the experience by calculating the hit area myself. I can basically check if the click is within the given radius of the line.
If so, recognize the click as clicked on the line.


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to