The first thing that you need to do once you have created your new Flash project
is include the library needed for the secure hash operation. Obtain the file called "md5.as" from the source
for this project, available for download from the left "Tutorial Resources" box, and make sure it is in the
same directory as your Flash project. Create a layer called "Script" and
create a keyframe on the first frame on this layer. Paste the following code into the actions box:
Figure 2: Including the MD5 secure hash library
You also need to set up the text fields, with a username input text field, a
password input text field, a variable text field for the server response, and a login button.
Figure 3: Possible layout of the project.