Change line style
package{
import flash.display.*;
public class Main extends Sprite{
public function Main(){
var shape:Shape = new Shape();
shape.graphics.lineStyle(0, 0xFF0000);
shape.graphics.lineTo(100, 0);
shape.graphics.lineStyle(0,0x00FF00);
shape.graphics.lineTo(100, 100);
addChild(shape);
}
}
}
Related examples in the same category