<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Web Style Press, Best Practices from all the Web, Build Better Websites &#187; Login Systems</title>
	<atom:link href="http://www.webstylepress.com/category/adobe-flash/login-systems/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webstylepress.com</link>
	<description>Web VS Style</description>
	<lastBuildDate>Mon, 26 Dec 2011 10:35:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Create Flash Login System using ActionScript</title>
		<link>http://www.webstylepress.com/flash-login-system/</link>
		<comments>http://www.webstylepress.com/flash-login-system/#comments</comments>
		<pubDate>Sun, 26 Oct 2008 10:40:03 +0000</pubDate>
		<dc:creator>Hiroshi</dc:creator>
				<category><![CDATA[Actionscript]]></category>
		<category><![CDATA[Adobe Flash]]></category>
		<category><![CDATA[Control]]></category>
		<category><![CDATA[Login Systems]]></category>
		<category><![CDATA[Utilities]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[login]]></category>

		<guid isPermaLink="false">http://www.webstylepress.com/?p=260</guid>
		<description><![CDATA[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 &#8211; Two Users Take input fields user and pass. Create other two sections of login successful and login failed also. Create a Button and [...]<p><a href="http://www.webstylepress.com/flash-login-system/">Create Flash Login System using ActionScript</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
]]></description>
			<content:encoded><![CDATA[<p>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. </p>
<p><span id="more-260"></span></p>
<h4>Simple Flash File Login</h4>
<h4>Method 1 &#8211; Two Users</h4>
<p>Take input fields user and pass. Create other two sections of <strong>login successful</strong> and <strong>login failed</strong> also. Create a Button and write following actionscript over it.</p>
<p><img src="http://www.webstylepress.com/wp-content/uploads/2008/10/loginpass.gif" alt="" title="loginpass" width="300" height="110" class="alignnone size-full wp-image-261" /></p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">on</span> <span style="color: #66cc66;">&#40;</span>release, keyPress <span style="color: #ff0000;">&quot;&lt;Enter&gt;&quot;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span>user==<span style="color: #ff0000;">&quot;javed&quot;</span> <span style="color: #66cc66;">&amp;&amp;</span> pass==<span style="color: #ff0000;">&quot;letmein&quot;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">||</span> <span style="color: #66cc66;">&#40;</span>user==<span style="color: #ff0000;">&quot;admin&quot;</span> <span style="color: #66cc66;">&amp;&amp;</span> pass==<span style="color: #ff0000;">&quot;go&quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #0066CC;">gotoAndStop</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">10</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #0066CC;">gotoAndStop</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">5</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p>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.</p>
<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/login-pass-flash.rar'>Download Files</a></span></p>
<h4>Method 2 &#8211; Single User, Different Actionscript</h4>
<p>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.</p>

<div class="wp_syntax"><div class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #0066CC;">on</span> <span style="color: #66cc66;">&#40;</span>release, keyPress <span style="color: #ff0000;">&quot;&lt;Enter&gt;&quot;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>user <span style="color: #0066CC;">eq</span><span style="color: #ff0000;">&quot;user&quot;</span> <span style="color: #0066CC;">and</span> pass <span style="color: #0066CC;">eq</span><span style="color: #ff0000;">&quot;pass&quot;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #0066CC;">gotoAndStop</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #66cc66;">&#123;</span>
<span style="color: #0066CC;">gotoAndStop</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">3</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span></pre></div></div>

<p><span class="downloadfile"><a href='http://www.webstylepress.com/wp-content/uploads/2008/10/password-protaction-flash.rar'>Download Files</a></span></p>
<p><a href="http://www.webstylepress.com/flash-login-system/">Create Flash Login System using ActionScript</a> is a post from: <a href="http://www.webstylepress.com">Web Style Press, Best Practices from all the Web, Build Better Websites</a></p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li><a href="http://www.webstylepress.com/flash-random-text-animation/" title="Create Flash Random 3D Text Animation">Create Flash Random 3D Text Animation</a></li><li><a href="http://www.webstylepress.com/flash-mouse-effects/" title="Flash Mouse Effects">Flash Mouse Effects</a></li><li><a href="http://www.webstylepress.com/flash-slide-shows/" title="Create Flash Slide Shows Using ActionScript &#8211; Example Downloads">Create Flash Slide Shows Using ActionScript &#8211; Example Downloads</a></li><li><a href="http://www.webstylepress.com/flash-window-or-movie-move-dragable-content/" title="Flash Window or Movie Move &#8211; Dragable Content Using ActionScript">Flash Window or Movie Move &#8211; Dragable Content Using ActionScript</a></li><li><a href="http://www.webstylepress.com/counting-in-flash-flash-counter/" title="Counting In Flash &#8211; Flash Counter">Counting In Flash &#8211; Flash Counter</a></li><li><a href="http://www.webstylepress.com/flash-go-to-frame-actionscript/" title="Flash &#8211; Go To Frame ActionScript">Flash &#8211; Go To Frame ActionScript</a></li><li><a href="http://www.webstylepress.com/date-and-time-in-flash/" title="Date and Time In Flash">Date and Time In Flash</a></li><li><a href="http://www.webstylepress.com/image-transitions-effects-and-particle-systems-in-adobe-flash/" title="Image Transitions &#8211; Effects and Particle Systems In Adobe Flash">Image Transitions &#8211; Effects and Particle Systems In Adobe Flash</a></li><li><a href="http://www.webstylepress.com/flash-tooltips/" title="Flash Tooltips &#8211; Tutorial and Example Download">Flash Tooltips &#8211; Tutorial and Example Download</a></li><li><a href="http://www.webstylepress.com/buttons-control-in-flash/" title="Buttons Control In Flash">Buttons Control In Flash</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.webstylepress.com/flash-login-system/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

