How to save cookies

How do you save cookies in a flash game???
I am trying to save words, not stats. I am trying to make a flash word program that’s dumb but saves prints and so on.