Using Text
Text Layout Framework (TLF)
TLF provides you with more sophisticated controls for formatting your text, compared to "Classic Text".
TLF Text requires a specific external Action Script library to function properly (Text Layout SWZ).
You can merge the SWZ file into your project, but it will make the project larger. Not merging it keeps the initial download small, but it still must be loaded. Therefore, your overall project size is still larger. So only use TLF if necessary.
You can always edit your text inside of Flash. But you can change the way it behaves inside of the playback for the user.
Three modes for TLF text:
- Read Only - user cannot select or edit text
- Selectable - user can select and copy the text, but not edit it
- Editable - the user can select and edit
You can adjust numerous properties for your text (both classic and TLF)
- font size
- font
- orientation
- color
- line height
- etc
Text properties can sometimes be applied to just portitions of the text element.
Creating Links
Under Advanced Character for properties, you can edit the text, to assign a link to a web page.
User Editable Text
Generally the user will not be able to edit text. An exception is when they need to fill out a form.
If you will have the Flash project do something, it will use Actionscript. This will require having an instance name for the text box.
In the Actionscript, you can access the contents of the text box by using <instance name>.text, where <instance name> is the name you gave the text box.
Embedding Fonts
You can choose to embed the fonts into your project. Highly recommended for most text elements, if you are not using _sans, _serif, _typewriter - otherwise you cannot control what you will display.
Only embed the characters you will need. Best for static text which the user cannot change.
If you use dynamic text, you will need to embed more characters.