Solved

How to embed multiple fonts in Flash CS4

Posted on 2009-03-29
3
3,415 Views
Last Modified: 2013-11-12
I am trying to embed multiple fonts into a Flash CS4 (ActionScript 3) document but I am not sure how to go about it. I want to give the user the ability to type in some text and then render it in some pre-designated fonts. I have it working to change the text according to what the user types in, but I can't figure out how to embed multiple fonts.
0
Comment
Question by:Aludaan
  • 2
3 Comments
 
LVL 19

Accepted Solution

by:
quizengine earned 500 total points
ID: 24016510
I'm sure there's a more elegant solution that this, but this would work.

OFFstage create a new text field and make it 'dynamic' type a character of two into it, and go to 'embedding' and choose what glyphs (character symbols) you want to be embedded. Careful with the filesize if you choose 'all characters' - some typefaces will increase your filesize a lot because they contain character sets for many languages, and you may not need them.

Create another textfield offstage and repeat the above steps. Do this for as many fonts as you need.
0
 

Author Comment

by:Aludaan
ID: 24020525
Thanks quiz. I was thinking about something like that but it seemed like there should be a easier way. If I do not get another way soon I will just have to use that method.

And thank you for the great tip. I am only adding in uppercase, lowercase, numbers and symbols. I saw the other languages which made the # of characters HUGE.
0
 

Author Closing Comment

by:Aludaan
ID: 31564197
You can get the points quiz. It even works out because I wasn't thinking of the fact that I will have to create different text fields for each font anyway for thier preview. So that will work perfectly.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
The purpose of this video is to demonstrate how to connect a WordPress website to Google Analytics. This will be demonstrated using a Windows 8 PC Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php :…
The purpose of this video is to demonstrate how to properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now