Answer 1: Shared objects. This is the only way Flash allows you to store something on users hard drive which again can be only accessed from Flash.

Answer 2: Janus-Flash. It allows you to write a text file on users hard drive.