Home > as3 > 实现自己的输入框控件

实现自己的输入框控件

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;
}
}
}

POSTED ON 2010年08月9日,

Leave a Reply

Trackbacks:0

Listed below are links to weblogs that reference
实现自己的输入框控件 from Flexsns-关注富互联网
TOP