| Contents |
|
| Text | Timeline |
Text Box
A text box is similar in form and function to normal text, except the text can be changed using script.
Properties
| Text • The text value. |
| Allow Wrap • Allow the text to wrap around on to more than one line. |
| Color • The fill color. |
| Font • The font, style and alignment of the text. |
| Scale Font Size • Scale the font size of the text, as the movie, or frame changes size. |
| Scroll • Add scrollbars to this item. |
Script
|
Text Box Set
• Set the text in a 'Text Box'. Scale font size must be turned on. You must set a 'Script ID' value for the 'Text Box' in the timeline.
TextBoxSet("Script ID","Text"); |
|
Text Box Get
• Get the text in a 'Text Box'. You must set a 'Script ID' value for the 'Text Box' in the timeline.
TextBoxGet("Script ID"); |
|
Text Box Set Font Size
• Set the font size of a 'Text Box'. Scale font size must be turned on. You must set a 'Script ID' value for the 'Text Box' in the timeline.
TextBoxSetFontSize("Script ID",FontSize:Number); |
|
Text Box Get Font Size
• Get the font size of a 'Text Box'. Scale font size must be turned on, or 0 is returned. You must set a 'Script ID' value for the 'Text Box' in the timeline.
TextBoxGetFontSize("Script ID"); |
| Text | Timeline |