Password « Actionscript Programming « Flash Tutorials

Home
Flash Tutorials
1.Actionscript Programming
2.Animals
3.Animation
4.Colors
5.Design
6.Effects
7.Game Cartoon
8.Humans
9.Models
10.Nature
11.Operations
12.Shapes
Photoshop Tutorials
Maya Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
Flash Tutorials » Actionscript Programming » Password 

Create a document. Make sure that it's in AS2.

Name this hit area MC "Hit1". You can then set the alpha of Hit1 to 0.

For this tutorial, I will be teaching you how to password protect certain areas of your .swf. This could also be used to add game codes/cheats or whatever you want.

This tutorial will teach you a very simple method for creating a password protected section in your flash movie so that you can, for example, create a restricted area in a flash website. We are going to use ActionScript conditionals to create this feature. You will be required to have some very basic ActionScript knowledge to follow this lesson, you can view our short 'if' conditionals tutorial if you would like to learn more about conditionals. Here is an example of the result we wish to generate in this tutorial.

Have you ever wanted to add password protection to your website? In this tutorial, you will learn how to add simple password protection using actionscript and the Input Text option. This is a simple way to add a little protection to your site and projects.

This tutorial was written for the Flash Designer software, which allows you to create flash animations in a much easier way than by using Macromedia Flash. You may get Flash Designer here.

This tutorial shows you how to create an input box which the user types a password. If the password is correct the user goes to a new frame in the Flash movie or a new web page. Using password protection in a file gives more security.

Important notice: This method of password varification does not provided high level of security. Since the verification is client-side, finding out the stored password in the .swf file is not impossible. Therefore, it is strongly advised not to use this method when it comes to very important and sensetive issues. A server-side verification method is the answer in that case.

Example: Download the Flash file Beg 022a

Free Flash Tutorial

Free Tutorial

w__w_w___.___j_av_a__2_s_._co___m | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.