Password Protection

Home Food Mates • Members Tutorials Forum Buy Templates Contact Us 

 


Flash Tutorials

   

Flash Tutorial - Password Protect


 

Free Flash Tutorial


Page 7     <<   Previous    Intro   1   2   3   4   5   6   7   8   9   Security    Next   >>       >>   Webwasp Mates

 

Step Seven: Button Actions - Enter Frame 1

  1. Select: Frame 1
  2. Select the button called: Enter
  3. If the Action panel is closed, open: Window > Development Panel > Action (F9)
  4. Note: This will not work in Test Mode as Enter has a preset meaning: Play the movie. But it will work when the movie is published to a web page.

  5. Place the following ActionScript

          on (release, keyPress "<Enter>") {
              if (password eq "webwasp") {
                  getURL("http://www.webwasp.co.uk");
              } else if (password eq "forum") {
                  getURL("http://www.webwasp.co.uk/forum");   
              } else if
    (password eq "private") {
                gotoAndStop("private");
              } else {
                  gotoAndStop("wrong");
              }
          }  

         

Page 7     <<   Previous    Intro   1   2   3   4   5   6   7   8   9   Security    Next   >>       >>   Webwasp Mates


Webwasp Community: Webwasp Mates & Dates

Why not try out webwasp's new community. Meet new people, find friends in your area: Webwasp Mates & Dates

 Top of Page Home Food Mates Members Tutorials Forum Buy Templates Contact Us 
 All material on this site is protected under international copyright © law. DO NOT reproduce any material from this site without written permission. Please ask as permission is often granted.