Download Flash Professional
Transcript
350 Multimedia and Video • TLF text requires that ActionScript 3.0 and Flash Player 10 or higher are specified in the publish settings of your FLA file. For more information see Publish settings . • When using TLF text, the Property inspector has three display modes, depending on the current type of text selection: • Text tool mode; when the Text tool has been selected in the Tools panel and no text is selected in the Flash document. • Text object mode; when an entire text block is selected on the Stage. • Text edit mode; when a text block is being edited. • You can create three types of text block with TLF text, depending on how you want the text to behave at runtime: • Read Only: when published as SWF file, the text cannot be selected or edited. • Selectable: when published as SWF file, the text is selectable and can be copied to the clipboard, but is not editable. This setting is the default for TLF text. • Editable: when published as SWF file, text is selectable and can be edited. • Unlike Classic text, TLF text does not support PostScript Type 1 fonts. TLF supports only OpenType and TrueType fonts. When working with TLF text, PostScript fonts are not available in the Text > Font menu. Note that if you apply a PostScript Type 1 font to a TLF text object using one of the other font menus, Flash substitutes the _sans device font instead. When working with Classic text, all installed PostScript fonts are available in the Font menus. • TLF text requires a specific ActionScript library to be available to Flash Player at runtime. If this library is not already present on the playback computer, Flash Player automatically downloads it. For more information about the library, see Publishing SWF files with TLF text. • TLF text cannot be used as a layer mask at author-time. To create a mask with text, create the mask with ActionScript 3.0 or use Classic text for the mask. See Masking display objects in the ActionScript 3.0 Developer’s Guide. • Anti-aliasing settings for TLF text are not reflected on the Stage until the Flash file is exported as a SWF file. To see the effect of anti-aliasing settings, use the Control > Test command or the File > Publish command. • To use Cascading Style Sheets (CSS), use ActionScript to apply a stylesheet. For more information, see Applying cascading style sheets in the ActionScript 3.0 Developer’s Guide. • TLF has extensive ActionScript APIs for creating and manipulating text flows at runtime. These APIs enable additional features like text decoration, in-line images, the ability to read HTML and TLFMarkup languages, and others useful for creating dynamic content. Tutorials and videos • Video: TLF in Flash Professional CS5.5 (4:33, Adobe TV) • Video: CSS stylsheets with TLF text (8:12, Adobe TV) Converting between Classic and TLF text When you convert a text object from one text engine to the other, Flash preserves most of the formatting. However, because the text engines are different in their capabilities, some formatting may be slightly different, including letter spacing and line spacing. Inspect the text carefully and reapply any settings that have been changed or lost. If you need to convert text from Classic to TLF, try to do so only once rather than converting back and forth more than once. The same is true for converting TLF text to Classic text. When converting between TLF and Classic text, Flash converts text types as follows: • TLF Read Only> Classic Static Last updated 6/12/2015