No, the prepareStringForFileWrite should be a movie script so that it
can be called from anywhere.
You could put it in the save button (assuming this is where you mouseUp
handler is) and it will work. But if you put it in a movie script then
you can call it from any other handler as needed.
Dave it works, the notepad is taking the information from my text fields, but
it is not doing the line brake, it just gives me the weird symbol. I did what
you suggested, I opened the same file in word pad, and it does keep the line
I placed the code you gave me on a time line script on enterFrame me, do I
have to put it on the "save" button?