2 Replies Latest reply on May 15, 2007 4:40 PM by Applied CD

    Identifying text focus

    Applied CD Level 1
      Is there a way to identify which sprite with an editable cast member currently has text focus? I’ve got about 30 input sprites used in a calculation that is continually updated in an exitFrame loop. The input values must be between 3 an 18. When the user types a number outside that range I force the input back within range … the problem is that if a user wants to input 15, they must first type the “1”, which gets forced to a 3 before they ever type the second digit. I’d like to turn off the range check if the input field still has text focus (ie: another digit may be coming).