Flash stroke styles dynamically ?
The following will draw a line from (0, 0) to (100, 100). The line will be black, have a width of 1 pixel and 100% alpha
Code:
_root.createEmptyMovieClip("line_mc", 10);
_root.line_mc.lineStyle(1, 0x000000, 100);
_root.line_mc.lineTo(100, 100);
Does anyone know how to alter the above code so that the line has a stroke style of any of the following: Dotted, Dashed, Ragged, Stipple, Hashed ? Like when you draw a line in flash and change the stroke style with the drop down box called 'Stroke Style'. Can you access these stroke styles with code ?
Thanks,
Stephen.