The
first section of code: "
_root.lineStyle(3, 0x0000FF, 100); " tells flash
HOW to draw the line. First it specifies the thickness
of the line in pixels, the color of the line in hexadecimal
then the level of transparency (alpha channel percentage).
The
second line of code: "
_root.lineTo(50, 200);
" commands flash to "draw a line".
Since Flash by begins drawing the line a the point
(0,0) by default the line is drawn from (0,0) to
(50,200). The numbers 50 and 200 correspond the
the coordinates of x and y respectively.
|