Style Text Input Field

//The code below acts upon a variable named titleInput which is an instance of a text input component, which you can find in the flash ide library.

var mainTextFormat:TextFormat = new TextFormat();
mainTextFormat.font = 'Arial';

titleInput.setStyle("textFormat", mainTextFormat);

0 Comments

You must be logged in to post a comment.