Re: [flexcoders] htmlText and styles

2005-02-03 Thread Jim Miao
yes, It seems can not use css, and also can't use image either. - Original Message - From: James Ward [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, February 03, 2005 4:11 AM Subject: [flexcoders] htmlText and styles Has anyone successfully applied a style

Re: [flexcoders] htmlText and styles

2005-02-02 Thread James Ward
Replying to myself... Bad form... Sorry. Doing this: var myStyleSheet = new TextField.StyleSheet(); myStyleSheet.load(assets/styles.css); details.styleSheet = myStyleSheet; details.htmlText = span class='test'test/span; works, but isn't pretty. Let me know if there is a better way. Thanks.