Button parameters query

Is this possible, in flash. I have a button with predefined parameters. Once the button is clicked, The parameters are written to a textfile / database / logged.

Any Sug.

I have not used flash in a while… so any advice would be great.