package{
import flash.display.Sprite;
import flash.text.*;
public class Main extends Sprite{
public function Main(){
var field:TextField = new TextField( );
field.maxChars = 12;
field.type = flash.text.TextFieldType.INPUT;
field.border = true;
field.background = true;
field.text = "The greek letter delta looks like so: \u0395";
addChild(field);
}
}
}
|