How to make a Drawing with mouse?

Posted on June 22, 2008. Filed under: Flash Script | Tags: |

_root.createEmptyMovieClip(“line”,1);

_root.onMouseDown = function() {
line.moveTo(_xmouse,_ymouse);
line.lineStyle(2,0xaa3333,500);

this.onMouseMove = function() {
line.lineTo(_xmouse,_ymouse);
updateAfterEvent();
}
}
_root.onMouseUp = function() {
this.onMouseMove = null;
}

Make a Comment

Make a Comment: ( None so far )

You must be logged in to post a comment.

Liked it here?
Why not try sites on the blogroll...