2 Replies Latest reply on Apr 3, 2007 1:59 PM by TheScarecrow

    Is a dynamic text box empty? HELP

    TheScarecrow Level 1
      I have a dynamic text box the the user inputs text in it. I am wanting to find out if the box has text in it. I have this script and for some reason it doesnt work does anyone see why? Thanks.


      if ([currentWord][currentSquare].letter.text == " ") {
      trace(_root[currentWord][currentSquare].letter.text);
      trace("Empty");
      _global.occupied = 0;
      } else {
      trace(_root[currentWord][currentSquare].letter.text);
      _global.occupied = 1;
      }