FlashTextEngine
The FlashTextEngine is a (.swc) library that breaks text apart and triggers each letter, word or line in a specific time interval defined by the user.
The formatting of the text is as well handled by the engine and can be completely controlled by the user.
You can tweak many different parameters however the following are few general:
- Letters Size, Spacing, Color, Antialiasing
- Line Spacing, Alignment
- Word wrap
- Speed
- Break parts (letters, words, lines, chunks)
- Animation types: ascending, descending, shuffle
The actual effects are defined by a set of default functions that act as plugins and are already included in the example package.
You can easily create your own functions that can be applied for each part (letter, word…)
The component has also a regular expression parser. You can basically pass any regExp and trigger animation to only that specific part.
As an additional feature the component utilizes a limited html parser. In this way you can pass certain tags that are supported by the parser and you can control certain features, such as: font color, size, underline and etc.
You can practically create unlimited number of effects.
For more info please refer to the support documentation and the examples.