Click to See Complete Forum and Search --> : Content Pane - Alternate Text?
Craiger9e
04-20-2007, 08:19 AM
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
Bob Hartzell
04-20-2007, 08:30 AM
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.
w.brants
04-20-2007, 09:31 AM
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.
Craiger9e
04-20-2007, 10:47 AM
awesome, thanks for the help guys. I'll give this a shot later and report back to you.
Thanks Again
flashkit.com
Copyright WebMediaBrands Inc., All Rights Reserved.