Hi digibit, I suppose the best way is to use listeners.
If you're using a 'textinput' component, just use this script:
var my_ti:mx.controls.TextInput;
// my_ti --> is the name of the text input
var tiListener:Object = new Object();
tiListener.change = function(evt_obj:Object) {
trace("show me that button");
};
my_ti.addEventListener("change", tiListener);
You'll find more informations about this in the flash help, just look for TextInput.change
If you want to use your own text input, I'd just use a Key.listener:
var myListener:Object = new Object();
myListener.onKeyUp = function() {
if (nameOftheTextInput.length>=1) {
trace("show me the button")
}
};
Key.addListener(myListener);
In this case any time a key is pressed the listenet will check for the lenght of the text input
That's all
Hope it helps
Giano