• Home
  • About
  • Privacy Policy
  • Ask a Solution
  • Contact
Web Style Press, Best Practices from all the Web, Build Better Websites, Web VS Style
  • All In One
  • Tools
  • Javascript
  • Flash

Create Flash Login System using ActionScript

by Hiroshi on October 26th, 2008

If you want some hidden part or admin section in your flash movie then you can just create a login system for Flash using ActionScript.

Simple Flash File Login

Method 1 – Two Users

Take input fields user and pass. Create other two sections of login successful and login failed also. Create a Button and write following actionscript over it.

on (release, keyPress "<Enter>") {
if ((user=="javed" && pass=="letmein") || (user=="admin" && pass=="go")) {
gotoAndStop(10);
} else {
gotoAndStop(5);
}
}

This is simple condition example in flash actionscript. If provided login name and password will match with what are in the actionscript, the script will show success page, otherwise will return after showing login failed message.

Download Files

Method 2 – Single User, Different Actionscript

Create input fields user and pass. Create other two sections of login successful and login failed also. Take a Button and write actionscript over it.

on (release, keyPress "<Enter>") {
if (user eq"user" and pass eq"pass") {
gotoAndStop(2);
} else {
gotoAndStop(3);
}
}

Download Files

Related Posts

  • Create Flash Random 3D Text Animation
  • Flash Mouse Effects
  • Create Flash Slide Shows Using ActionScript – Example Downloads
  • Flash Window or Movie Move – Dragable Content Using ActionScript
  • Counting In Flash – Flash Counter
  • Flash – Go To Frame ActionScript
  • Date and Time In Flash
  • Image Transitions – Effects and Particle Systems In Adobe Flash
  • Flash Tooltips – Tutorial and Example Download
  • Buttons Control In Flash

Actionscript, flash, login

Google BuzzTwitterRedditFacebookStumbleuponDiggDel.icio.us

Author

Hiroshi (published 95 Posts on Web Style Press, Best Practices from all the Web, Build Better Websites)


2 Reviews

  1. alfian says:
    June 7, 2009 at 3:53 pm

    where im type that script in flash frame

    ReplyReply
    Reply
  2. Hiroshi says:
    June 8, 2009 at 9:58 pm

    @alfian: You have to select button and open actions panel and write script there. Not at frame in timeline but at button. Please download example and see this method in action.

    ReplyReply
    Reply

Leave a Review

Click here to cancel reply.

Incoming Searches

action script eq, flash login system download, flash login system php, flash loginsystem, flash tutorial as2 create login script, how to create user login system in flash, jquery examples login system, login as2, login flash as2, login form flash actionscript 2, login system actionscript for flash, login system creation, login system for website through flash, login system style, make log in system website flash, make login page on flash action script 2, on (release keyPress ) { if (user pass ==, php login system flash script, Flash login system as2, flash login system, actionscript 2 login form, actionscript login, actionscript style guide, as2 login, as2 login system, create flash login as2, create login in flash, flash action script keypress, flash action script login user, flash as2 keyPress , flash as2 login system, flash as2 login tutorial, flash based login just using actionscript 2, flash get input from user AS2, flash login example, Flash login form using as2 and php, flash login styles, Vejledning til login system
Join / Follow WebStylePress
follow webstylepress at FaceBook Subscribe RSS Feeds Receive updates in Email
Receive Updates in Email

Fresh Posts

  • Convert from InPage to Urdu Unicode Text
  • Post Audio to Your Blog Using Any Phone – Call You WordPress Blog
  • Blog Using Microsoft Word – Microsoft Word to WordPress
  • Slow VPS or PS Means Less Page Rank Less Visitors Less Earning
  • What Makes Comment – A Genuine Comment
  • Spamming Techniques Evolved
  • 15 Best Chrome Addons For Bloggers and Web Developers
  • Find out Exact Reach of Sites and Comparison with Each Other in Real Time
  • Country Select – On Change Country Flag Image Transition
  • How to Control Font Size in Percentage
  • Standard and Non-Standard Links
  • Images Not Displaying in IE, Displaying in Firefox
  • Use Any Font in Webpages As Text
  • Change Image Opacity Easily Using CSS or JS
  • Chatbox For Websites and Blogs

Sections

  • Addons
  • Adobe Flash
    • Actionscript
    • Basics
    • Browser
    • Control
    • Counter
    • Drag
    • email
    • External Load
    • Flash PHP
    • Login Systems
    • Particle Systems
    • Preloaders
    • Random
    • Slide Shows
    • Sound
    • Tips
    • Utilities
  • Adobe Photoshop
  • CMS
  • CSS
  • Design & Color
  • DIV
  • Editors
  • fonts
  • Forms
  • htaccess
  • HTML
  • Javascript
    • Advanced
    • Essentials
    • Medium
    • Tricks
  • JQuery
    • Navigation
    • Plugins & Widgets
    • Rotators
    • Scroll
  • Modrewrite
  • MooTools
    • Multiple Uploader
  • Resources
  • Security
  • SEO
  • standards
  • Tools
  • W3C
  • Web Guidelines
  • Web Hosting
  • Web Tips
  • WordPress
    • Wp Customization
  • XML

Must Visit

  • Hafeez Centre Live
  • PHP Magic Book
  • RecipeApart
  • Shahinshah
  • Smashing Solution
  • TechMynd
  • Ultimate Remedy
  • Web Development / Designing
Copyright © 2010 WebStylePress Web Style Guide for Developers and Webmasters - All Rights Reserved. RSS - Comments RSS - RSS 0.92 Feed - Atom Feed - RDF/RSS 1.0 Feed