metti su un fotogramma chiave :
codice:
pulsante.onPress = function() {
	var ok = nomeTestoInput.text.indexOf("@");
	if (ok != -1) {
		trace("ok");
                // fai quello che vuoi tu
	}
};
ciao