| Package | com.textransition |
| Class | public class TexTransitionModes |
import com.textransition.*;
var transition:TexTransition = new TexTransition(myTextField, {mode:TexTransitionModes.WORD}, {x:"100"});
See also
| Constant | Defined by | ||
|---|---|---|---|
| BLOCK : int = 1 [static]
Animate the entire text block.
| TexTransitionModes | ||
| LETTER : int = 5 [static]
Animate each of the letters in the textfield.
| TexTransitionModes | ||
| LINE : int = 3 [static]
Animate each of the lines in the textfield.
| TexTransitionModes | ||
| PARAGRAPH : int = 2 [static]
Animate each of the paragraphs in the textfield.
| TexTransitionModes | ||
| RANDOM : int = 6 [static]
The random mode will select lines, words and letters randomly.
| TexTransitionModes | ||
| WORD : int = 4 [static]
Animate each of the words in the textfield.
| TexTransitionModes | ||
| BLOCK | constant |
public static const BLOCK:int = 1Animate the entire text block.
| LETTER | constant |
public static const LETTER:int = 5Animate each of the letters in the textfield.
| LINE | constant |
public static const LINE:int = 3Animate each of the lines in the textfield.
| PARAGRAPH | constant |
public static const PARAGRAPH:int = 2Animate each of the paragraphs in the textfield.
| RANDOM | constant |
public static const RANDOM:int = 6The random mode will select lines, words and letters randomly. If you want to use the exact same pieces selected by a random mode used in a previous step, you can also pass in a string with a number that references the other step. For example if you used a random mode in step 1, and then in step 3 you want to use exactly the same pieces to animate, use mode:"1". Otherwise step 3 will generate a different set of random pieces. If you want to select a mode from a previous multimode step, you need to pass a string with the step number AND a zero based reference to the mode you want to use, comma-seperated. For instance if you had a multimode step in step 1, using a random mode, a line mode and a block mode, then in step 3 you wanted to reuse the random mode, you would pass mode:"1,0". If you wanted to reuse the line mode, you would pass mode:"1,1". If you want to use the first mode of a multimode step, you can just pass as string containing the step number, the first mode is selected by default.
| WORD | constant |
public static const WORD:int = 4Animate each of the words in the textfield.