This content has been marked as final. Show 5 replies
in your mousemove handler use an if-statement to check the _xmouse,_ymouse properties and if they are in your contrained area, startDrag(), hide the mouse and execute your line-draw code.
Hi, thanks for the reply. I'm pretty new to actionscript.. could you be a bit more specific? I'm not too good a coding on my own at the min... but i'm trying to learn
Thanks very much... it;s 99% there, but for some reason the mouse in not being constrained when moving to the right.... and also, the cursor is remaining as the pen icon when outside the 'drawing' area.
Is there anyway I can upload the fla in zip format so you can see what I'm meaning?
Really appreciate your help on this.
mousePen._visible = true;
next to Mouse.hide();
next to Mouse.show() and