09

实现自己的输入框控件

FILED IN as3 No Comments

package
{
import flash.display.Sprite;
import flash.text.TextField;
import flash.text.TextFieldType;

public class flexsns extends Sprite
{
public function flexsns()
{
var _text:TextField = new TextField;
this.addChild(_text);
_text.text = "hello world";
_text.height = 30;
_text.type = TextFieldType.INPUT;
_text.border = true;
_text.borderColor = 0x000000;
}
}
}

TOP