WEIRDCALCULATOR
⠺⠑⠊⠗⠙⠉⠁⠇⠉⠥⠇⠁⠞⠕⠗
Sunday, April 26, 2009
Flash AS3 - Draw lines
var lineDrawing:MovieClip = new MovieClip();
lineDrawing.graphics.lineStyle(1);
lineDrawing.graphics.moveTo(0,0); //start from 0,0
lineDrawing.graphics.lineTo(50, 50); //draw line to 50,50
//to clear the drawings:
lineDrawing.graphics.clear();
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment