"Logging" Text

Yes… im trying to make sort of a message system but i want flash to write the text a user inputs to a text field… i have 2 fields one called “name” and the other “message”. Is there any way to have what a user enters into those fields be written to a text file?

Thanks for your time.

Matt