Creating Backgrounds for a TextField
package{
import flash.display.Sprite;
import flash.text.*;
public class Main extends Sprite{
public function Main(){
var txt:TextField = new TextField();
txt.backgroundColor = 0x0000FF;
txt.background = true;
addChild(txt);
}
}
}
Related examples in the same category