A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Content Pane - Alternate Text?

  1. #1
    Junior Member
    Join Date
    Dec 2006
    Posts
    23

    Content Pane - Alternate Text?

    Hi, I have a semi rare font used in the content pane, and if it's not loaded on somoene's cpu, it'll show up Times New Roman as a default. Is there a way to make it go to Verdana as an alternate?

    Thanks in advance,

    Craig

  2. #2
    Senior Member
    Join Date
    Jun 2000
    Posts
    3,512
    I believe there is -- create a dummy dynamic text box with embedded font. Make the dynamic text box invisible or put off stage. I will let Wilbert confirm this.

  3. #3
    Senior Member
    Join Date
    Dec 2002
    Location
    Netherlands
    Posts
    1,632
    Creating a dummy field can be used when using font embedding.

    If you don't want to embed a font, you can use the setTextFormat and setNewTextFormat functions of the contentpane. I believe it's possible to create and assign a TextFormat object with a list of comma separated font names assigned to its font property.

    Another way would be to use html enabled text and use the html font tag to specify the fonts you want.

  4. #4
    Junior Member
    Join Date
    Dec 2006
    Posts
    23
    awesome, thanks for the help guys. I'll give this a shot later and report back to you.

    Thanks Again

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