Build a Text File through a Flash Quiz

I would like to build a text file of answers selected in a Flash MX quiz.
I would like the file to be written on each PC that the Flash Movie was executed.
The Text file would contain the Student ID then a one letter character for the
answer selected by the student for each question (24 Questions). The resulting file would be a 40 character string text file. At the End I would l would like to send the text file to an email address or to a printer … I do not what to have to use Server side software… Any ideas?