I’m having trouble getting some TEXTAREA formatting to take.
The goal is to get the text to align right, but its not working
// format textarea component
import mx.styles.CSSStyleDeclaration;
_global.styles.TextArea = new CSSStyleDeclaration();
_global.styles.TextArea.setStyle(“disabledColor”, 0xFFBBBB);
var caption_ta:mx.controls.TextArea;
//
caption_ta.html = true;
caption_ta.setStyle( “fontFamily”, “Gill Sans” );
caption_ta.setStyle( “fontSize”, “14” );
caption_ta.setStyle( “embedFonts”, “true” );
caption_ta.setStyle( “backgroundColor”, “#999999” );
caption_ta.setStyle( “borderStyle”, “none” );
caption_ta.setStyle( “textAlign”, “right” );
caption_ta.setEnabled(false);
caption_ta.vScrollPolicy = “off”;
//end format textarea component