1 Reply Latest reply on Jul 31, 2009 8:19 AM by idlynn

    TextInput.restrict how to escape backslash in ActionScript?


      I want to prevent input of a number of characters in my TextInput control including comma, tilde, semicolon, single quote, pipe, double quote, caret and backslash.  Got everything working except backslash.  Tried including double backslash but that didn't work.  Suggestions?






      static const RESTRICT:String = "^,~;'|\"\\^";