satheesh
New Member
- Messages
- 883
- Reaction score
- 0
- Points
- 0
Drawing Board
Example:http://svprm.x10hosting.com/for_forums/linedrawer.swf
You like this tutorial?
- Select the first Frame.
- Press F9 and Copy Code Below and paste it.
Code:
createEmptyMovieClip("Line",1);
Line.lineStyle(1,0x000000,100);
onMouseDown = function ()
{
Line.moveTo(_xmouse, _ymouse);
onMouseMove = function ()
{ Line.lineTo(_xmouse, _ymouse);}
}
onMouseUp=function()
{
onMouseMove=null;
}
Example:http://svprm.x10hosting.com/for_forums/linedrawer.swf
You like this tutorial?