public class Main extends Sprite { public function Main( ) { var rect1:Sprite = new Sprite( ); rect1.graphics.lineStyle(1); rect1.graphics.beginFill(0x0000FF); rect1.graphics.drawRect(0, 0, 75, 75); rect1.tabEnabled = true;
var rect2:Sprite = new Sprite( ); rect2.graphics.lineStyle(1); rect2.graphics.beginFill(0x0000FF); rect2.graphics.drawRect(0, 0, 75, 75); rect2.x = 200; rect2.tabEnabled = true;