Use the graphics : Graphics : Graphics Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Graphics » Graphics »

 

Use the graphics


 

package{
  import flash.display.Sprite;
  
  public class Main extends Sprite{
    public function Main(){
        var rectangleB:Sprite = new Sprite();
        rectangleB.graphics.lineStyle(10x000000100true);
        rectangleB.graphics.lineTo(1000.4);
        rectangleB.graphics.lineTo(100.450);
        rectangleB.graphics.lineTo(050.4);
        rectangleB.graphics.lineTo(0.40);
        rectangleB.x = 200;
        addChild(rectangleB);
    }
  }
}

        



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


Flash / Flex / ActionScript examples

 Navioo Graphics
» Graphics