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.

-James


On Wed, 2005-02-02 at 13:11 -0700, James Ward wrote:
> Has anyone successfully applied a style to a Label or Text with
> htmlText? I tried <span class='mystyle'> But that doesn't seem to
> work. Thanks.
> 
> -James
> 
> 
> 
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 
> 




Reply via email to