Multiline Text Input
A multiline text input allows the user to type text into a box using the keyboard. Input values can be sent to other web pages using submit functions.
Properties
On Focus
• The script to be executed when selected. This value is only available with 'Use Focus'.
|
On Blur
• The script to be executed when selection is lost. This value is only available with 'Use Focus'.
|
On Key Press
• The script to be executed when a keyboard key has been pressed. This script event includes a variable 'Key', which is the unicode value of the key that has been pressed.
|
if(Key==13){
alert("Enter has been pressed.");
}
Max Length
• The maximum number of characters allowed.
|
Use Native Style
• Use the default style of the browser or device.
|
Use Mouse Over
• The input can change color when the mouse is moved over it. This doesn’t work for touch screens and phones.
|
Use Focus
• The input can change color when it is selected.
|
Back Color
• The background color.
|
Back Over Color
• The color of the background when the mouse is moved over it.
|
Back Focus Color
• The color of the background when the input is selected.
|
Border Type
• The type of line, none, solid, dotted or dashed lines.
|
Border Color
• The color of the lines or borders.
|
Border Over Color
• The color of the lines or borders when the mouse is moved over it.
|
Border Focus Color
• The color of the lines or borders when the input is selected.
|
Border Width
• The width of the lines or borders.
|
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.
|
Font Color
• The color of the text.
|
Font Over Color
• The color of the text when the mouse moves over it.
|
Font Focus Color
• The color of the text when the input is selected.
|
Read Only
• The text can only be read.
|
Script
Input Set
• Set the text value of an input. You must set a 'Script ID' value for the input in the timeline.
InputSet("Script ID","Text");
|
Input Get
• Get the text value of an input. You must set a 'Script ID' value for the input in the timeline.
InputGet("Script ID");
|
Input Focus
• Give an input the keyboards focus. You must set a 'Script ID' value for the input in the timeline.
InputFocus("Script ID");
|
Submit Get URL
• Send the values of any inputs in the current scene to another web page. The values are attached to the URL. A 'Script ID' must be set for each input, this will be the name of the variable set.
SubmitGetUrl("http://");
|
Submit Post URL
• Post the values of any inputs in the current scene to another web page. A 'Script ID' must be set for each input, this will be the name of the variable set.
SubmitPostUrl("http://");
|