We have two frames, one for the login and one for the memopad. I will not go into details how to make the login stage. You can easily find out and there are other tutorials explaining this. The login script is attached to the submit button and is very simple. Just as a precaution when you make the textfields for the login, set the number of maximum characters to 0 so you are not limited to any length of your login and password.
The second frame contains all the parts for the memopad. There is first of all a textfield, which will show the date, then 7 radiobuttons and a movieclip box, which holds the input textfield and two buttons. We name all these parts of course and you can see the names by clicking on the objects and looking in the property inspector.
The movieclip box has a textfield with a scrollbar. We name the textfield rather than giving a var name. This is important when we use the scrollbar. Then there is a reset button, which gets the name (resetButton). We need this button if we decide to eliminate the text in the textfield and finally a close window button to unload the movie. You can, therefore, put this movie into your main movie.
|» Level Basic|
Rating: 7 Votes: 30
|The author is a scientist in cancer research|
|Download the files used in this tutorial.|
|Download (197 kb)|
|More help? Search our boards for quick answers!|