package{
import flash.display.*;
public class Main extends Sprite{
public function Main(){
var rectangleB:Shape = new Shape();
rectangleB.graphics.lineStyle(1, 0, 100, false, "none");
rectangleB.graphics.lineTo(100, 0);
rectangleB.graphics.lineTo(100, 50);
rectangleB.graphics.lineTo(0, 50);
rectangleB.graphics.lineTo(0, 0);
rectangleB.y = 1;
rectangleB.scaleX = 400;
addChild(rectangleB);
}
}
}
|