Home arrow Flash arrow Page 8 - Getting to Know Flash Pro
FLASH

Getting to Know Flash Pro


Sanders provides a quick overview of Flash MX Professional 2004 and covers the core elements, frames and layers, and new features such as the document tab at the top of the Document window. (Macromedia Flash MX Professional 2004, by Bill Sanders, Sams, 2004, ISBN 0672326051.)

Author Info:
By: Bill Sanders
Rating: 3 stars3 stars3 stars3 stars3 stars / 12
June 30, 2004
TABLE OF CONTENTS:
  1. · Getting to Know Flash Pro
  2. · The Timeline and Frames
  3. · Layers
  4. · Timelines
  5. · Flash Files
  6. · Graphics and Symbols
  7. · Buttons and Graphic Symbols
  8. · Text and Static Text Fields
  9. · Dynamic Text Fields and Video

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Getting to Know Flash Pro - Text and Static Text Fields
(Page 8 of 9 )

Text in Flash MX Professional 2004 provides added support for small font sizes. Essentially this means that you can view clearly small fonts in the 8-point range. It also supports a subset of CSS, enabling the designer to include CSS style definitions. The rest of dealing with text is very much like Flash MX. The Properties Inspector is where all the text sizing, font selection, style definition, and other Flash text formatting takes place.

In addition to the standard text fields, this latest version of Flash has a TextField component as well as some other components that deal with different types of text. However, Flash still has three main types of text fields: static, dynamic, and input.

New to Flash is the ability to include graphics in text fields. This new feature, discussed in Chapter 6, "Viewing and Entering Information with Text Fields," allows designers and developers to integrate graphics with a story in text. Chapter 6 also shows how text fields are used with the TextField and TextFormat classes.

Static Text Fields

Static text fields are used primarily as text labels in the main Timeline or in movie clips. This type of text can be animated and changed dynamically, but only along certain dimensions. For example, a static text block can be motion tweened from one side of the Stage to the other, rotating as it goes. However, the static text block cannot have tweened colors.

Text blocks can be made into hot spots and linked to URLs. Static blocks of text can also be broken apart into graphics and reconstituted as virtually any kind of symbol and used exactly as a given symbol could be used in any style.

To see a simple example of how you might use a static text field, this next project adds to the earlier project in the chapter where a ball was tweened into a square. Open the FLA with the shape tween and use the following steps to add text:

  1. Add a layer by clicking the Insert layer icon. Name the layer Text.

  2. Click the Text layer and select the Text tool.

  3. Click the Stage to the right of the circle and in the Properties Inspector set the type to 24-point Arial (or Helvetica on a Mac). Then click the Align Center icon near the right side of the Properties Inspector. Type in the message Amazing Magic Circle Transformed to Square, as shown in Figure 1.16.

flash

Figure 1.16  Adding text to the Stage.

 

This chapter is from Macromedia Flash MX Professional 2004, by Bill Sanders (Sams, 2004, ISBN: 0672326051). Check it out at your favorite bookstore today.

Buy this book now.


blog comments powered by Disqus
FLASH ARTICLES

- More Top Flash Game Tutorials
- Top Flash Game Tutorials
- Best Flash Photo Gallery Tutorials
- The Top Flash Tutorials for Menus
- 7 Great Flash Tutorials
- Adobe Creative Suite 5.5 Now Available
- Critical Flash Vulnerability Heats Up the Web
- More on Nonpersistent Client-Side Remote Sha...
- Nonpersistent Client-Side Remote Shared Obje...
- Using the Decorator Pattern for a Real Web S...
- Using Concrete Decorator Classes
- Delving More Deeply into the Decorator Patte...
- The Decorator Pattern in Action
- A Simple Decorator Pattern Example
- Decorator Pattern

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 1 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials