Memorize var

[COLOR=black][FONT=Arial]Hello[/FONT][/COLOR]
[COLOR=black][FONT=Arial]I saw this tutorial that Jeremy Moseley put http://www.kirupa.com/developer/actionscript/shared_objects.htm[/FONT][/COLOR][COLOR=black][FONT=Arial]
My knowledge in flash is not sufficient to achieve certain objectives.
I wonder if anyone can help me create a flash file that uses the same principles of storage of variables that the tutorial Jeremy Moseley.
What I want is a flash file in CS2 to do the following:
1 - The first time I run the file it will assign to a variable numerical value “1” and records.
2 - Whenever I re-run the file it will add “+1” to the variable and return the record.
Briefly it is a counter that counts how many times I ran the “swf”.[/FONT][/COLOR]</SPAN></SPAN>
[COLOR=black][FONT=Arial]Thanks[/FONT][/COLOR]</SPAN></SPAN>