3 Replies Latest reply on Jul 19, 2006 10:10 PM by IndianChsPrdctns

    Swap text in input text box

    IndianChsPrdctns
      I have a text box created with the text tool and I need it to change any spaces typed into it into the universal space code, %20. It would be best if the spaces could be changed instantly as they were typed, but it will also be acceptable if they are changed on a button release.

      Please provide a snippet of ActionScript that will accomplish this and tell where I should put it (i.e. on text box, on button, on frame).