Shape Demo : Shape : Graphics Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » Graphics » Shape »

 

Shape Demo


 
package{
import flash.display.Sprite;
import flash.display.Shape;

public class Main extends Sprite
{
   public function Main()
   {
       var shape:Shape = new Shape();
       shape.graphics.beginFill(0x00ff001.0);
       shape.graphics.drawRect(10105050);
       shape.graphics.endFill();
       addChild(shape);
   }
}
}
 

        



Leave a Comment / Note


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


Flash / Flex / ActionScript examples

 Navioo Graphics
» Shape