I got flash 2004 and need help with action script

Right First of all.

  1. i tryed this code so that u input something and the dynamic box would say the same thing after a buton click. This was its action script.
    dynamic1 = input;

2.I was wondering if anyone knew the for where flash sends a password and login information to a file on your website. I have a login page but no one can register because i dont know how to make flash send information to a file. Got any idea wat i would have to type to do it?