This tutorial is one of the oldest tutorials you can find at this site.
If you look into the loading and saving tutorial and then into this one, you will know, what to do to modernize it
If you have a direct question, just ask.
Your goal is reachable with flash and php.
But you have to make some things clear with your hosting provider.
Some hosting providers changed the process for sending mail via script, to prevent from sending spam.