Adobe
Prodotti
Acrobat
Creative Cloud
Creative Suite
Digital Marketing Suite
Digital Publishing Suite
Elements
Photoshop
Touch Apps
Altri prodotti
Soluzioni
Marketing digitale
Media digitale
Istruzione
Servizi finanziari
Pubblica Amministrazione
Gestione dell'esperienza web
Altre soluzioni
Formazione Assistenza Download Società
Acquista
Uso domestico a scopo personale e per l’ufficio di casa
Settore dell'istruzione per studenti, docenti e personale tecnico-amministrativo
Business per piccole e medie imprese
Programmi multilicenza per aziende, istituti scolastici ed enti della Pubblica Amministrazione
Altre modalità di acquisto
Offerte speciali
Cerca
 
Info Accedi
Benvenuto, Il mio carrello Le mie ordinazioni Il mio supporto
Il mio account
Esci
A cosa serve l'accesso?L'accesso consente di gestire il proprio account e di usufruire di download ed estensioni di prodotti, aree della community e altro ancora.
Adobe
Prodotti Sezioni Acquista   Cerca  
Soluzioni Società
Assistenza Formazione
Accedi Esci Le mie ordinazioni Il mio supporto
Date Date
Qty:
Subtotal
Checkout
Adobe Developer Connection / Centro per sviluppatori Flash /

Common mistakes working with fonts and text objects in Flash

Per Tommi West

Tommi West
  • tommiland.com

Content

  • Forgetting to embed nonstandard fonts for text content
  • Choosing the wrong type of text field for the desired behavior
  • Using the anti-aliasing option: Anti-alias for animation
  • Disable the Selectable option for text fields
  • Avoid using images for text content
  • Be sure you don't need to edit text before breaking apart text fields
  • Where to go from here

Created

16 January 2012

Strumenti pagina

Condividi su Facebook
Condividi su Twitter
Condividi su LinkedIn
Segnalibro
Stampa

Tags

Requisiti

Conoscenza dei prerequisiti

Previous experience working with Flash Professional is recommended. Refer to Avoiding common authoring mistakes to find links to other articles in this series.

Livello utente

Tutti

Prodotti richiesti

  • Flash Professional (Download trial)

This article can help you avoid common issues that may occur when adding text elements to your Adobe Flash Professional projects. As you develop your applications, create a mental checklist to ensure that you are choosing the right text field types and rendering options, and embedding the characters needed to display text well on the Stage.

Forgetting to embed nonstandard fonts for text content

In addition to using device fonts that come pre-installed in all computers, you can also use more unique fonts that are installed on your machine but are likely not to exist on the computers of users who view your Flash project.

Flash Professional CS5 (and later) automatically embeds any characters used by text fields on the Stage. However, if you are using Dynamic or Input text fields, the project may also need to include characters for the font that aren't specifically contained in instances on the Stage during authoring. If you do not embed the necessary characters and text elements are programmatically displayed or entered by the user, the characters may be missing and the application may appear broken.

Always err on the side of embedding too many, rather than not including, the necessary characters (including numbers and symbols) of a font, but remember that the process of embedding fonts increases the size of the published SWF file.

For more information, read Embedding fonts in the Adobe Developer Connection and Embed fonts for consistent text appearance in the Flash Professional online documentation.

Choosing the wrong type of text field for the desired behavior

Before setting the text field type in the Property inspector, always take a moment to consider the type of text field that is required in a particular situation. Choose TLF text if you need to display non-Western character sets or programmatically control the display of different languages for a multilanguage project; otherwise choose Classic text.

If you are simply displaying text on the Stage, you can choose Classic text and then use the Static text option (see Figure 1). If you plan on displaying the contents of the text field programmatically, choose Dynamic text. If you want the user to type into the field to enter text at runtime, select Input text. It confuses users if they discover that they can type in fields that are only designed to display text content. Flash requires extra system resources to display the Input and Dynamic text fields, so only choose these options (as well as enabling the Selectable setting) when needed.

Figure 1. Use the Property inspector to set the type of text field.
Figure 1. Use the Property inspector to set the type of text field.

Using the anti-aliasing option: Anti-alias for animation

Whenever possible, avoid choosing the Anti-alias for animation rendering option. This setting creates jagged text for the purpose of making the text easier to tween. In most cases, using the option Anti-alias for readability is best (see Figure 2).

Figure 2. Choose the rendering option Anti-alias for readability in the Property inspector.
Figure 2. Choose the rendering option Anti-alias for readability in the Property inspector.

If you have to animate text elements, consider breaking apart the text characters to make them behave like shapes. The text is no longer editable once it has been broken apart, but the shapes will animate smoothly and look crisper than animated text.

Disable the Selectable option for text fields

By default, the Selectable option is enabled for text fields. However, unless you need to allow users to select and copy text in the field, you can usually disable this setting. Selectable text requires more system resources than displaying static text content.

To disable the setting, select the desired text field. In the Property inspector, use the menu to change the setting from Selectable to Read Only (see Figure 3).

Figure 3. Use the menu in the Property inspector to set text fields to read only.
Figure 3. Use the menu in the Property inspector to set text fields to read only.

Avoid using images for text content

Whenever possible, use text fields to display text in Flash, rather than importing an image file to display the text. Image content, such as bitmap graphics and vector artwork, causes a project's file size to increase, whereas adding text fields and styling the text adds a very minimal size. Additionally, text fields in Flash are much easier to work with, because you can edit the text as needed without returning to an image-editing program to edit and re-export the image file. Text fields are flexible because you can change the font family, font size, font style, and font color as you are authoring the project. You can also switch the orientation of TLF text or Classic static text fields to vertical as well as horizontal.

Be sure you don't need to edit text before breaking apart text fields

Once a text field has been broken apart, it first separates into individual characters. Then, if you break it apart again, the individual characters become shapes. The text is no longer actual characters, and therefore it cannot be edited as you can edit a normal text field.

Take the time to ensure all spelling is correct before breaking apart text fields to animate or stylize the characters. Although it is possible to choose Edit > Undo repeatedly or delete the shapes of a text field that has been broken apart, it is time-consuming. It is optimal to triple-check the text entered into a text field to ensure that you don't have any typographical errors before breaking the text field apart.

Where to go from here

The most important aspect when displaying text content is to ensure that it is legible. Beyond that, it is a matter of editing your content to be succinct and clear. Finally, add character to your projects by choosing fonts and formatting styles that match the rest of the project's design.

Read the following article and sections of the Flash Professional online documentation to get more details about working with text:

  • Embedding fonts
  • Working with Classic text (Flash documentation)
  • Embed fonts for consistent text appearance (Flash documentation)

Refer to Avoiding common authoring mistakes to find links to other articles in this series.

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License

More Like This

  • Five demos of Flash CS4 Professional
  • Working with the Project panel in Flash Professional CS5.5
  • Flash glossary: Frame script
  • Flash glossary: TLF text (Text Layout Framework)
  • Flash glossary: Anti-aliasing
  • Creating ActionScript 3.0 components in Flash – Part 1: Introducing components
  • Flash glossary: Device font
  • Flash glossary: Text tool
  • Flash glossary: Guide layers
  • Flash glossary: Font symbol

Prodotti

  • Acrobat
  • Creative Cloud
  • Creative Suite
  • Digital Marketing Suite
  • Digital Publishing Suite
  • Elements
  • Applicazioni mobili
  • Photoshop
  • Touch Apps

Soluzioni

  • Marketing digitale
  • Media digitale
  • Gestione dell'esperienza web

Settori

  • Istruzione
  • Servizi finanziari
  • Pubblica Amministrazione

Assistenza

  • Centri di assistenza dei prodotti
  • Ordini e resi
  • Download e installazione
  • Il mio Adobe

Formazione

  • Adobe Developer Connection
  • Adobe TV
  • Formazione e certificazione
  • Forum
  • Design Center

Modalità di acquisto

  • A scopo personale e per l’ufficio di casa
  • per studenti, docenti e personale tecnico-amministrativo
  • Per piccole e medie imprese
  • Per aziende, istituti scolastici ed enti della Pubblica Amministrazione
  • Offerte speciali

Download

  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR
  • Adobe Shockwave Player

Società

  • Sala stampa
  • Iniziative per partner commerciali
  • Responsabilità sociale d'impresa
  • Opportunità di lavoro
  • Relazioni con gli investitori
  • Eventi
  • Settore legale
  • Sicurezza
  • Contatti Adobe
Scegli il paese Italia (Cambia)
Scegli il paese Chiudi

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • ?eská republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • España
  • France
  • Deutschland
  • Hrvatska
  • Ireland
  • Israel - English
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • Magyarország
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Österreich - Deutsch
  • Polska
  • Portugal
  • România
  • Россия
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Slovenija
  • Slovensko
  • Srbija
  • Suomi
  • Sverige
  • Türkiye
  • Укра?на
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2012 Adobe Systems Incorporated. All rights reserved.

Termini di utilizzo | Informativa sulla privacy e cookie (Aggiornato)