This is a little bit of a different situation. I am developing in AS3 using Flex… I know it is different than Flash, but thought you guys might be able to help out.
Here is the situation:
I have a canvas that allows my users to draw and write on it. They can do what ever they want on the canvas. The problem is that if the user clicks and holds down the mouse button, goes off the control, releases the mouse button and comes back… it keeps drawing. What I want to do is make it so that if the mouse button is clicked, the user can not go outside the bounds of the control.
Is this possible? if so, can you point me in the right direction?