Custom Search

Tuesday, December 11, 2007

Basic Flash Password Protection

Here in this tutorial I show you how to protect you password in flash. My final impression was amazing. I really liked this thing.


Part 1

In order to use password protection, you’ll need first a scene, then an input field. Once you’ve set your scene, then draw a new text field with the Text Tool. Set the type to Input Text, using the dropdown in the Properties pane.

An Input Text field isn’t like a normal text field; instead of displaying text we specify as part of the movie, it exists so that the user can enter text. In this case, they’re going to enter password text so that our Flash movie can check to see if it’s the correct value.

Part 2

With the Input Text field selected, select Password from the display type dropdown (usual options are Single Line, Multiline, and Multiline no wrap). This is an added security option that causes all characters entered to be displayed as asterisks (*) instead of as alpha characters.

Click the icon to display the bounding box (the little box with horizontal lines), and then in the Var field, type the name of a variable by which you’ll reference the value of your password.

Don’t confuse this with an instance name; the instance name would be referring to the actual text box itself, but the variable is used to refer to the text entered into the input field. So if I typed “purple monkeys” into the input field, then password=”purple monkeys”.


This tutorial is in 10 parts. I'll post new two part tomorrow, and it will be going like that until the end of the tutorial. I hope you will be satisfied with thi tutorial.
See yaaa :)

No comments: