A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: embedding fonts in html text fields

  1. #1
    Member
    Join Date
    Nov 2003
    Posts
    36

    embedding fonts in html text fields

    Hi

    Using MX2004 I found the following. If a put a textfield on the stage and set it to html and using the following as
    textbox.htmlText = "<b>this is bold</b>"
    it works fine

    If a embed the font in the textfield the run the same AS the text dissapears?

    What am I doing wrong and how can I get past this???

    Thanks
    Benon

  2. #2
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    What font are you using? Device fonts for example are not embedable.
    ( I gues yoiu wrote some html code as the code is not seen in your post ).

    -Pelle Piano
    // Image Gallery
    www.studiobild.com
    // Photo Blog
    http://talesofthepixel.blogspot.com

  3. #3
    Member
    Join Date
    Nov 2003
    Posts
    36

    font issue

    I am using verdana.

    I have managed to solve the issue. All I did was put a normal "a", bold "b" and a italic "c" in the text box and now the bold and italic fonts show up. It seems flash only embeds bold and italic font outlines if they appear in the text box at compile time. Very wierd.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center