It's "Wingdings" on my machine...  And works well.

Try to embed it into some textfield on the stage and then trace font
name.
Also, you can check for usual mistakes: missed semicolon (;-), not applied
TextFormat etc.
  

-- 
Best regards,
 GregoryN                        
================================
http://GOusable.com
Flash components development.
Usability services.


> =========== Merrill, Jason wrote:
> I'm building a text editor in Flash as part of my application and came
> across a bit of a head scratcher for applying the Wingdings and Webdings
> fonts to an HTML Textfield.  The following works fine:
> 
> testFormat = new TextFormat();
> testFormat.font = "Arial"
> test_txt.html = true;
> test_txt.htmlText = "Hello";
> test_txt.setTextFormat(testFormat)
> 
> However, I can't figure how to get Wingdings or Webdings to work in the
> 8 player. None of the following work when substituting for line 2 of the
> code above:
> 
> testFormat.font = "Wing Dings"
> testFormat.font = "WingDings"
> testFormat.font = "Wingdings"
> testFormat.font = "wingdings"
> testFormat.font = "Webdings"
> testFormat.font = "WebDings"
> testFormat.font = "Web dings"
> testFormat.font = "webdings"
> 
> ??  
> 
> Even applying those fonts directly in the IDE to the textfield doesn't
> work.  Does the HTML rendering/ TextFormat Class in the Flash 8 player
> not support Webdings or Wingdings?  They are standard windows fonts, I
> have them installed as well as my users, and those faces work in normal
> HTML.  What gives - or am I just using the wrong keywords for the face
> value of each font?


_______________________________________________
[email protected]
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