Salve!
ho questo script che se esportato con flash player 6 funziona, se con player 8 il risultato e undefined
ovviamente dal pannello delle action non mi da nessun errore
sapete aiutarmi?
posto il codice
function cerca() {
arr = new Array(frase);
arrok = new Array();
ourArray = new Array();
mystring = frase;
i = myString.split(" ");
trace(i);
Array.prototype.NoEmpty = function() {
var num;
for (a=0; a<this.length; a++) {
if (this[a] != undefined && this[a] != "" && this[a] != " " && this[a].length>3) {
num++;
arrok.push(this[a]);
ourarray.push(this[a]);
ourArray.list("uno", "due", "tre", "quattro");
}
}
}
}