Ok,

Let's see if I got this right:

1. In order to use html formatting in author time created dynamic TextFields
I have to force embedding by inserting some text in every style I will need
and then choose the characters to embed in the properties panel;

2. With runtime created TextFields I have to set it's text format using
setNewTextFormat indicating which font face will be used and then setting
it's embedFonts property to true;

3. Using the embedFonts property forces the embedding of the whole font
face, including its styles;

4. It's not possible to embed two font faces into the same dynamic
TextField. The only way to use different font faces on the same TextField is
to use device fonts which are not anti-aliased and cannot be masked with
author time layer masks.

Are these correct? Or am I way off?

Rui Duarte Silva
Senior Flash Developer / Senior Product Manager
 
MNI - Médicos Na Internet, Saúde na Internet, SA
Alert Life Sciences Computing
 
www.alert-online.com
-----Mensagem original-----
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Em nome de R.A.
Williamson
Enviada: segunda-feira, 21 de Agosto de 2006 21:59
Para: flashcoders@chattyfig.figleaf.com
Assunto: Re: [Flashcoders] Multiple html formattings in a TextField

Rui,

You'll need to embed three versions of Arial (normal, bold, and italic), 
for this to work.

-rw

Date: Mon, 21 Aug 2006 17:06:13 +0100
From: "Rui Duarte Silva" <[EMAIL PROTECTED]>
Subject: [Flashcoders] Multiple html formattings in a TextField
To: "FlashCoders Mailing List" <flashcoders@chattyfig.figleaf.com>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;       charset="iso-8859-1"

Hi,

Suppose I have a Dynamic TextField on the stage and I want to:

1. Insert html formatting such as <font face=”Arial”>This normal
Arial<br><b>This is Arial Bold</b><br><i>This Arial Italic</i></font>
2. Embed the font (in order to allow it to be masked and to keep
anti-aliasing)
3. Use it under a mask

Is this possible?

Rui Duarte Silva
Senior Flash Developer / Senior Product Manager

MNI - Médicos Na Internet, Saúde na Internet, SA
Alert Life Sciences Computing

www.alert-online.com
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to