Mega Code Archive
Set various styles on the text
import flashx.textLayout.formats.*;
private function initApp():void {
var textLayoutFormat:TextLayoutFormat = new TextLayoutFormat();
textLayoutFormat.color = 0x336633;
textLayoutFormat.fontFamily = "Arial, Helvetica, _sans";
textLayoutFormat.fontSize = 14;
textLayoutFormat.paragraphSpaceBefore = 15;
textLayoutFormat.paragraphSpaceAfter = 15;
textLayoutFormat.typographicCase = TLFTypographicCase.LOWERCASE_TO_SMALL_CAPS;
textFlow.hostFormat = textLayoutFormat;
}
The following link takes you to Adobe.com
The following link takes you to Omniture.com