I'm in trouble with the text's cast members and the lists. If
I want to put into a list the contain of a text cast member, I must
create a list, and send all the characters os the text step by
The text member "texto" is not empty. A loop with repeat with
from the last character os the word to the first(0); and it's addig
to the list with the command add, but the code is not correct
because director emits a message error connected with the
lista.add(member("texto").char[num_letras]). char[num_letras] is
the guilty (!?) told me the program. I don't understand why. I
don't find another command to use, getOne, append, ... there are
not avaible, totally unuseful.
somebody could help me please?
Thanks a lot!
I can post the director file too if somebody want to help me.
All of this is for an escalable project with sensors sending
signals throught the serial port with an Xtra.
> on enterframe
> repeat while (num_letras>0)
> end repeat
A few things:
'lista' is defined as a string
(lista=member("texto").char) but you
then try to add to it as if it were a list.
You define a (local?) variable 'aleatoria' but don't seem to
You define/initialise/set a (local/property?) variable
repeat with n = num_letras down to 1