Groups | Blog | Home
all groups > flash actionscript > february 2004 >

flash actionscript : Embedded fonts mean no bullets with <li>


amcintosh
2/29/2004 8:43:58 PM
Try this: Put a text field on the stage. Check the "Render as HTML Box", and
be sure it's Multiline. Choose to embed all characters. Name the text field
"foo_txt". Open the actionscript panel and type in "foo_txt.htmlText =
"<li>Foo</li><li>Bar<li>.

It should appear like this:

[li]Foo
[li]Bar

But it doesn't. It will indent the text, but the bullet will not render.
Same results happen if you dynamically create the text field with
createTextField.

Any ideas? I'm getting desperate.


MOLOKO
3/1/2004 10:48:47 AM
[quoted text, click to view]

perhaps that font doesn't have a bullet symbol??? which font are you
using anyway?
I generally use the built-in font '_sans' for most of my html text as
it's much easier to work as involves no embedding at all and it looks
just like Arial.

--
MOLOKO
------------------------------------------------
::remove _underwear_ to reply::
'God saves but Buddha makes incremental backups'
------------------------------------------------
GCM/CS/IT/MC d-- S++:- a- C++ U--- P+ L++ !E W+++$ N++ O? K+ w+++$ !O M+
VMS? PS+++ PE- Y PGP+ t+ 5-- X-- R* tv++ b++++ DI++++ D+ G e h-- r+ y++
Crocke
4/14/2004 1:29:25 PM
What option do you have selected when you embedded the font?

You may have to add the dot, ?, (option+8 on the Mac, Alt+0149 on the PC) to
the bottom input box labeled "Include these characters:". I had to do this in
order to render real quotes, ??, instead of the inches and foot characters, " '
in my dynamic text boxes.
AddThis Social Bookmark Button