[Flash]Drawing Board

satheesh

New Member
Messages
883
Reaction score
0
Points
0
Drawing Board

  • 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?
 

Derek

Community Support Force
Community Support
Messages
12,882
Reaction score
186
Points
63
Thanks I love it I will add it to my site.
 
Top