Hi guys
I'm in AS2 and trying to create a textfield, embed fonts in and apply a
stylesheet - if i use embedfonts it doesn't render but if i omit it,
everything renders fine (but the fonts aren't embedded so won't render
properly elsewhere)
i can't see what's going wrong - could you take a look please?
private function setupCopy():Void
{
_tfMoreText = _mcPanelViewer.createTextField("_tfMoreText",
_mcPanelViewer.getNextHighestDepth(), _nTypeStartX, _nTypeStartY,
_nPanelTotalWidth, 30);
//_tfMoreText.embedFonts = true; // making the text disappear
_tfMoreText.html = true;
_tfMoreText.styleSheet = _cssStyles;
_tfMoreText.selectable = true;
_tfMoreText.border = true;
_tfMoreText.borderColor = 0x999999;
_tfMoreText.htmlText = _sMoreText;
trace(_tfMoreText.htmlText); // traces '<p class="bodyText"><span
class="white">My text</span></p>'
}
fonts are fun
thanks guys
a
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders