I am a beginner in as3 and 've been following a simple flash sketchpad script, here's the link > http://www.sitepoint.com/create-flash-sketchpad/ . It's coded in as2 but I want to convert the codes to as3.I 've been trying to convert them to as3 but I just can't seem to make it work. I would deeply appreciate it someone could help me.
createEmptyMovieClip("Line",1);
Line.lineStyle(3,0x000000,300);
onMouseDown = function () {
Line.moveTo(_xmouse, _ymouse);
onMouseMove = function () {
Line.lineTo(_xmouse, _ymouse);
}
}
onMouseUp=function() {
onMouseMove=null;
}