that's awesome guys - thanks for the tips
are there any file size issues with linking the font from the library
as opposed to having a text field off screen?
a
On 5 Sep 2008, at 19:27, sebastian wrote:
nice tip, but it's not absolutely necessary to get them to work,
though it may be 'faster' than trying to do it the 'right' way
[whatever that means, fonts are really precarious].
Bob Wohl wrote:
Hello,
Have you tried to place a text field off screen/stage and embed the
font
family (each style needs to be embeded in it's own text field -
bold, italic
etc) that you are trying to use. I remember there being some buggy-
ness when
trying to embed in AS2 and that was one of the work arounds that I
had to
use.
hth.
B.
On Fri, Sep 5, 2008 at 10:05 AM, allandt bik-elliott
(thefieldcomic.com) <
[EMAIL PROTECTED]> wrote:
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
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders