Hi to all
This is AS2. I have two different results with text area and embedded font..
If I apply this style.css to dynamic text area
p {
font-family: Arial; // I have font Arial in the library with id “Arial”.
font-size: 13px;
color: #666666;
}
a:link {
font-size: 13px;
color: #ff0000;
}
a:hover {
font-size: 13px;
color: #ff0000;
text-decoration: underline;
}
I have hand cursor over links.
If I create text like this:
this.createTextField("textContent", 0, 0, 25, 250, 200);
var obj=this.textContent;
obj.multiline = true;
obj.wordWrap = true;
obj.embedFonts = true;
obj.content.html=true;
obj.autoSize = true;
obj.selectable = false;
obj.styleSheet = flash_css;
obj.htmlText=curText;
I have underlined links but don’t have hand cursor. What is wrong in this code?
Another problem if I have bold tags <b>some text</b> that text is not
visible for text created with "createTextField". How can I embed all
type of font-wights to my font in the library with id “Arial”? I
looked at a lot of examples but can not find answer.
Thank you for any help.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders