实现自己的输入框控件
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;
}
}
}
{
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;
}
}
}
POSTED ON 2010年08月9日,