Flash Variables ASAP

I have a Flash form with fields (First Name and Passowrd). I’m trying to pass the variables to the query string in the url. Is there a certain action script I should be using? I know that this may seem easy but I’m at a loss right now. Does anyone have any suggestions? Thanks.