View source
enum FlxInputTextFilterMode
package flixel.text
import flixel.text.FlxInputText
Available on all platforms
Values
NONE
Does not filter the text at all.
ALPHABET
Only allows letters (a-z & A-Z) to be added to the text.
NUMERIC
Only allows numbers (0-9) to be added to the text.
ALPHANUMERIC
Only allows letters (a-z & A-Z) and numbers (0-9) to be added to the text.
REG(reg:EReg)
Uses a regular expression to filter the text. Characters that are matched will be removed.
CHARS(chars:String)
Only allows the characters present in the string to be added to the text.