I am trying to get this code to work in flash, its a password
input box for a photo hosting site. It works fine in HTML, but I am
unsure how to implement the same thing in flash. Any ideas or a
point in the right direction would be greatly appreciated.
Flash cannot render HTML forms. You would need to recreate
the form using text input components, buttons and the like. Check
out the tutorial called "ActionScript: Create a Form with
Conditional Logic and Send Data" in the Help Docs to get started: