package{ import flash.display.Sprite; public class JoonteProov extends Sprite{ public function JoonteProov(){ joonista(); } public function joonista():void{ graphics.clear(); graphics.lineStyle(5, 0X00FF00, 0.8); //paksus, värv, nähtavus graphics.moveTo(100, 10); graphics.lineTo(100, 50); } } }