Solved

How to embed multiple fonts in Flash CS4

Posted on 2009-03-29
3
3,407 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…

757 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

22 Experts available now in Live!

Get 1:1 Help Now