Search a word in a txt document

Hi everyone at KIRUPA!!
My problem is this! i create a .txt document whit some variables,
witch variables have some text!! i want to do is:
i want to search in flash a word that i want that is in the .txt document. if the word is found in the txt.document i want flash output in to flash interface , all the text that is associated to the variable were the flash found the word that is seacrh above!!!
is this possible!! and if its possible please help-me to do that!!!
thank very much to all!!!

Não viste akela cena do post de ontem ? Basta-te importar as variáveis com o loadVariables e depois fazer variavel.indexOf(palavraaProcurar) e se te retornar -1, é sinal que a palavra não existe naquela variável, se retornar diferente de -1 quer dizer que encontrou a palavra dentro daquela variável. Depois basta-te mandar o conteúdo da variável para uma caixa de texto. Aprende que não duro sempre :). Tou a brincar ctg :wink:

tens uma piada do caralho!!!:slight_smile:
já viste o nosso site ou não?:slight_smile:

isso funciona mas apenas para uma variávél!!!
:slight_smile:

Já o mandaste para o meu mail ??
Se tiveres as variáveis todas renomeadas como var1, var2, var3, etc… dá para procurar. Simplesmente se não encontrares na var1, passas para a var2. Mais fácil não há :).

eu sei, já tentei isso e não dá
já tentei por ciclos e o caralho
mas não dá, escreve-me o código e manda-me para aqui
já manderi o site par o teu mail v~e lá se ouves com som se não, não tem piada

Hmm, how knowledge is passed from language to langauge.

ve se isto funciona

És português flex ? :slight_smile:

Nao mas os meus sogros sao . My first language is English though. I don’t speak much Portuguese.

Tasse bem então, quando precisar de alguma coisa que seja dificil de explicar em inglês falo contigo ok ? Xau

Yes I think that would be easier for me.