1) You will need to use somekind of server script as well as
the Flash stuff to be able to update a Database or XML (or text)
file on the server.
2) You should probably have each use log in everytime they
If you use an IP for identification then you would not be
able to certain which person was accessing your site. For example,
the company I work for uses a Proxy server, so the thousands of
people who work here all access the web with the same 1 or 2 IP
numbers because it is actually the Proxy servers that are making
the page requests.
Anyway, you should look at some PHP or ASP or .NET scripts.
Kirupa.com has some PHP and .NET tutorials that should get you