createTextField("tf", 1, 100, 100, 100, 20); tf.border = true; count = 0; onEnterFrame = function() { if (count<2000) { tf.text = count; count++; } };