Drawing a Curve
package{
import flash.display.*;
public class Main extends Sprite{
public function Main(){
var shape:Shape = new Shape ();
shape.graphics.lineStyle(0, 0xFF0000, 100);
shape.graphics.curveTo(50, 100, 100, 0);
addChild(shape);
}
}
}
Related examples in the same category