Sean:
I sent a very short and buggy example before. I send now my real problem, it´s a little long but the idea is clear. It's almost the same code as before. Functions within Mathematica, but it does not work when I am trying to produce my CDF file. That is the real problem.
I am in search of an error out of my reach.
I thank you for your time.
Attachments: