Description
This sample uses the many new text enhancements added to Flash MX 2004.
The features highlighted in this sample are text styles, inline images,
hyperlink improvements, and small text optimization. The text enhancements
provide better and more precise control over text as it is entered in
the Flash Player. This example loads an external HTML file named sample.html
into a text field in the SWF file. However, you could use any text file
that incorporates a tag-based format like XML or HTML. New support for
Cascading Style Sheets allows Flash to style the text in a given text
field for each tag before displaying it. This example uses a style sheet
named style.css. Additionally, Flash Player supports the img tag, allowing
inline images that your text will wrap around.
The source file for this movie (TextEnhancements.fla) can be found in
the Samples folder on your hard drive.
On Windows, go to boot drive\Program Files\Macromedia\Flash MX 2004\Samples\TextEnhancements.
On Macintosh, go to Macintosh HD/Applications/Macromedia Flash MX 2004/Samples/TextEnhancements.