[Flashcoders] Problem: Bold, italic, normal text style in a dynamic textfield

2006-03-21 Thread Ramon Miguel M. Tayag
Hey everyone,

I'm problems with showing italic, bold and normal text in a dynamic
textfield, behing a mask, all at one time.

To make things simple:
I have a textfield (tf) in a movieclip (mc) on the stage, which is masked.

I embedded all characters, for testing purposes.

mc.tf.htmlText = hello; - works like a charm.
mc.tf.htmlText = hello iworld/i; - world doesn't come out but
at least world is italicized.

Now, if I click on the italic button in the properties of the textfield,
mc.tf.htmlText = hello iworld/i; hello doesn't come out.

It's the same story with bold.  Am I doing something wrong?

Thanks,
--
Ramon Miguel M. Tayag
Managing Director
Quirkworks
___
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


Re: [Flashcoders] Problem: Bold, italic, normal text style in a dynamic textfield

2006-03-21 Thread stacey
Html doesn't always render the bold versions of the fonts or italicized. I
think if you are using a non standard font - hence the embedding, I think
you may have better luck converting the html tags to a textFormat object
and apply it.

Someone else might totally disagree, but in the past,that is how I have
managed to get my text to the look the way i want it too. Wrestling with
text, one of the many joys.

 Hey everyone,

 I'm problems with showing italic, bold and normal text in a dynamic
 textfield, behing a mask, all at one time.

 To make things simple:
 I have a textfield (tf) in a movieclip (mc) on the stage, which is
 masked.

 I embedded all characters, for testing purposes.

 mc.tf.htmlText = hello; - works like a charm.
 mc.tf.htmlText = hello iworld/i; - world doesn't come out but
 at least world is italicized.

 Now, if I click on the italic button in the properties of the textfield,
 mc.tf.htmlText = hello iworld/i; hello doesn't come out.

 It's the same story with bold.  Am I doing something wrong?

 Thanks,
 --
 Ramon Miguel M. Tayag
 Managing Director
 Quirkworks
 ___
 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


Re: [Flashcoders] Problem: Bold, italic, normal text style in a dynamic textfield

2006-03-21 Thread Marc Hoffman
You need to have all versions of the font embedded -- bold, italic, 
regular -- whatever versions you intend to use. You can create 
dummy textfields offstage that are identical to the real textfield, 
except don't give them an instance name and, for each one, select 
bold or italic in that textfield's properties panel. Embed the fonts 
in these just as you would for the real textfield. This will allow 
Flash to display bold and italic. There may be a way to embed fonts 
using textFormat or some other method, but I haven't played with it 
enough to get it to work.


Marc

At 08:58 PM 3/21/2006, you wrote:

Html doesn't always render the bold versions of the fonts or italicized. I
think if you are using a non standard font - hence the embedding, I think
you may have better luck converting the html tags to a textFormat object
and apply it.

Someone else might totally disagree, but in the past,that is how I have
managed to get my text to the look the way i want it too. Wrestling with
text, one of the many joys.

 Hey everyone,

 I'm problems with showing italic, bold and normal text in a dynamic
 textfield, behing a mask, all at one time.

 To make things simple:
 I have a textfield (tf) in a movieclip (mc) on the stage, which is
 masked.

 I embedded all characters, for testing purposes.

 mc.tf.htmlText = hello; - works like a charm.
 mc.tf.htmlText = hello iworld/i; - world doesn't come out but
 at least world is italicized.

 Now, if I click on the italic button in the properties of the textfield,
 mc.tf.htmlText = hello iworld/i; hello doesn't come out.

 It's the same story with bold.  Am I doing something wrong?

 Thanks,
 --
 Ramon Miguel M. Tayag
 Managing Director
 Quirkworks
 ___
 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



___
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


Re: [Flashcoders] Problem: Bold, italic, normal text style in a dynamic textfield

2006-03-21 Thread Iv
Hello Ramon,

RMMT I embedded all characters, for testing purposes.
- incorrect embedding.
  read the article:
  http://www.sharedfonts.com/eng/faq.html#include

-- 
Ivan Dembicki

[EMAIL PROTECTED] || 
http://www.design.ru

___
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