<head>
<meta name="verify-v1" content="jdXlNhTAizhbBbTGh41NjO2QUe5Mm/bf2bkz3sed4eU=" />
</head>
<?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>Manjit Singh - Flash Developer &#187; AS3</title>
	<atom:link href="http://www.msinghinteractive.com/blog/category/as3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.msinghinteractive.com/blog</link>
	<description>Flash/Air AS2, AS3 Developer</description>
	<lastBuildDate>Sun, 06 Dec 2009 01:40:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Easy to use Flash AS3 Contact Us form class</title>
		<link>http://www.msinghinteractive.com/blog/2009/09/easy-to-use-flash-as3-contact-us-form-class/</link>
		<comments>http://www.msinghinteractive.com/blog/2009/09/easy-to-use-flash-as3-contact-us-form-class/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 15:12:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AS3]]></category>
		<category><![CDATA[AS3 Contact us form]]></category>
		<category><![CDATA[as3 contact us form flash tutorial]]></category>
		<category><![CDATA[Flash and php Contact us form]]></category>
		<category><![CDATA[Flash Contact us form]]></category>
		<category><![CDATA[Simple Flash-Php contact us form]]></category>

		<guid isPermaLink="false">http://www.msinghinteractive.com/blog/?p=3</guid>
		<description><![CDATA[I have created a new easy to use Flash AS3 Contact Us Class. This clas creates all the required elements of a flash contact us form like Name, Email, Subject, Message Input fields and Submit and Reset buttons. On backend I am using php script to post the flash email form data to server. Here [...]]]></description>
			<content:encoded><![CDATA[<p>I have created a new easy to use Flash AS3 Contact Us Class. This clas creates all the required elements of a flash contact us form like Name, Email, Subject, Message Input fields and Submit and Reset buttons. On backend I am using php script to post the flash email form data to server. Here is the sample code how to create an instance of this class and your contact us form is ready with minimum efforts. Below I will show you how to use this code to create the dynamic contact us form.</p>
<div class="codecolorer-container actionscript3 default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br /></div></td><td><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #9900cc; font-weight: bold;">package</span><span style="color: #000000;">&#123;</span><br />
<span style="color: #0033ff; font-weight: bold;">import</span> classes<span style="color: #000066; font-weight: bold;">.*;</span><br />
<span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.display</span><span style="color: #000066; font-weight: bold;">.*;</span><br />
<br />
<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #9900cc; font-weight: bold;">class</span> main <span style="color: #0033ff; font-weight: bold;">extends</span> <a href="http://www.google.com/search?q=sprite%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:sprite.html"><span style="color: #004993;">Sprite</span></a><span style="color: #000000;">&#123;</span><br />
<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> contactForm<span style="color: #000066; font-weight: bold;">:</span>ContactUsForm<span style="color: #000066; font-weight: bold;">;</span><br />
<br />
<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#123;</span><br />
contactForm=<span style="color: #0033ff; font-weight: bold;">new</span> ContactUsForm<span style="color: #000000;">&#40;</span>400<span style="color: #000066; font-weight: bold;">,</span>450<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
<span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>contactForm<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span><br />
contactForm<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">x</span>=<span style="color: #000000; font-weight:bold;">100</span><span style="color: #000066; font-weight: bold;">;</span><br />
<span style="color: #000000;">&#125;</span><br />
<span style="color: #000000;">&#125;</span><br />
<span style="color: #000000;">&#125;</span></div></td></tr></tbody></table></div>
<p>This Action Script code is free and available to download below but  you need to do few things before it can be fully functional according to your requirement.</p>
<p>1. Edit the send_email.php file and change $receiver variable and put your email id there.</p>
<p>2. Or you can change the send_email.php file path in ContactUsForm to point it to the folder wher you upload php file.</p>
<p>3. Make sure send_email.php is in same folder as the contact us form swf  is on server.</p>
<p>And your contact us form ready:</p>
<p><img src="http://www.msinghinteractive.com/blog/wp-content/uploads/2009/09/contactus.jpg" alt="" /></p>
<p><strong>Soure Code</strong> <a title="Flash AS3 Contact Us form" href="http://www.msinghinteractive.com/downloads/AS3 ContactUs Form.zip" target="_self">Download</a></p>
<p>Enjoy!</p>
<p>M</p>
]]></content:encoded>
			<wfw:commentRss>http://www.msinghinteractive.com/blog/2009/09/easy-to-use-flash-as3-contact-us-form-class/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
