What do you mean by styling a String var? Components like Label have styles such as "fontSize" and "color" that they use for displaying their text. Strings do not have styles. Some components have an htmlText property which you can set to a String with a limited set of HTML markup. - Gordon
________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sheriff Sent: Thursday, September 13, 2007 8:54 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Style in actionScript i want to be able to style private var _promptStringtoShow:String in CSS, would that be possible? the variable is under a class so how would i do this, i tried to do this.getStyle("promptStringStyle"), then tried to do .promptStringStyle in css but that didnt work ________________________________ Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel <http://us.rd.yahoo.com/evt=48516/*http://surveylink.yahoo.com/gmrs/yaho o_panel_invite.asp?a=7> and lay it on us.