10 Replies Latest reply on Aug 9, 2006 10:28 PM by kglad

    using the "deleteTextField" function

    everynewday Level 1
      Here's the code I'm using to try and delete text fields:

      _root.createTextField("band_name"+i+"_txt",_root.getNextHighestDepth(),210,yPos,160,20);
      _root["band_name"+i+"_txt"].setNewTextFormat(detailsFormat);
      _root["band_name"+i+"_txt"].text = users[j].band_name;

      ...

      for (var i = 0; i<display; i++) {
      _root["del"+i+"_mc"].removeMovieClip();
      _root["upd"+i+"_mc"].removeMovieClip();
      _root["band_name"+i+"_txt"].removeTextField()

      The removeTextField function just isn't working. Any ideas?