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