This is really not how things are done in C2...
You need to learn to use instances, instance variables, containers, behaviors.
Here, I updated and optimized your capx, take a look:
https://www.dropbox.com/s/59q3cqvmfjwdm ... .capx?dl=0
Thanks very much for your help dop2000 This way the capx works nice!!!
And you are right!! I found several problems for working in the right way wiht C2. I have to learn to think before make the first event and learn to organize how to use the elements (functions, instance variables, containers, behaviors, etc) correctly. Any advice? any tutorial or document?
Thanks again for your help!!!!