<?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>Activetuts+ &#187; ActionScript 3.0 Classes</title>
	<atom:link href="http://active.tutsplus.com/category/freebies/actionscript-30-classes/feed/" rel="self" type="application/rss+xml" />
	<link>http://active.tutsplus.com</link>
	<description>Flash, Flex &#38; ActionScript Tutorials</description>
	<lastBuildDate>Wed, 17 Mar 2010 20:10:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Dynamic Reflection Generator Class for AS3</title>
		<link>http://active.tutsplus.com/freebies/actionscript-30-classes/dynamic-reflection-generator-class-for-as3/</link>
		<comments>http://active.tutsplus.com/freebies/actionscript-30-classes/dynamic-reflection-generator-class-for-as3/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 08:56:09 +0000</pubDate>
		<dc:creator>Martin Christov</dc:creator>
				<category><![CDATA[ActionScript 3.0 Classes]]></category>

		<guid isPermaLink="false">http://active.tutsplus.com/?p=3138</guid>
		<description><![CDATA[<img src="http://activetuts.s3.cdn.plus.org/freebies/001_reflectionClass/preview.jpg" alt="Dynamic Reflection Generator Class for AS3">]]></description>
			<content:encoded><![CDATA[<p>Hot on the heels of our <a href="http://active.tutsplus.com/tutorials/effects/quick-tip-how-to-create-perfect-alpha-reflections/">Perfect Alpha Reflections</a> Quick Tip comes this excellent utility class for dynamically reflecting your display objects, courtesy of <a href="http://activeden.net/user/mWidgets/portfolio">Martin Christov</a>.</p>
<p><span id="more-3138"></span></p>
<div class="tutorial_image">
<a href="http://activetuts.s3.cdn.plus.org/freebies/001_reflectionClass/FreebieFiles.zip" target="_blank"><br />
<img src="http://activetuts.s3.cdn.plus.org/assets/icons/source.jpg" alt="" style="border:none"></a><br />
<a href="http://activetuts.s3.cdn.plus.org/freebies/001_reflectionClass/Preview/index.html" target="_blank"><br />
<img src="http://activetuts.s3.cdn.plus.org/assets/icons/demo.jpg" alt="" style="border:none"></a>
</div>
<h2>How do I use it?</h2>
<p><strong>Step 1:</strong><br/><br />
Copy the ReflectEffect.as file into the classpath of your Flash project (or the same directory as your FLA if you&#8217;re not using classpaths).</p>
<p><strong>Step 2:</strong><br/><br />
In your code, create a new instance of the ReflectEffect class, passing it the display object that you want it to reflect, like so:</p>
<pre name="code" class="javascript">var reflect:ReflectEffect = new ReflectEffect(movieClipToReflect);</pre>
<p><strong>Step 3:</strong><br/><br />
Create a new variable for your reflected object and add it to the stage (or wherever you like):</p>
<pre name="code" class="javascript">var reflectedDown:Bitmap = reflect.down(length, fade, offset, blur, alpha);
reflectedDown.y = movieClipToReflect.y + movieClipToReflect.height;
addChild( reflectedDown );</pre>
<p>The functions reflect.down(), reflect.up(), reflect.left() and reflect.right() will return a Bitmap of your object reflected in that direction. (Only the &#8220;length&#8221; parameter is required, the rest are optional.) As you see, you&#8217;ve got a few interesting options. </p>
<p>I think &#8220;length&#8221; is clear. So let&#8217;s take a look at &#8220;fade&#8221;. For example, if you put 40 for length and 30 for fade, the reflection is going to end 10px behind the actual reflection. Or, if you&#8217;d like you can set 40 for length and 50 for fade. This will make the reflection go from an alpha of 1.0 to something like 0.2.</p>
<p>The next is very interesting: &#8220;offset&#8221;. This basically moves your reflection up/down (or left/right) inside the Bitmap output. I use this option in the preview so that you can move your object around and see a Mac-like effect.</p>
<p>The last two parameters, &#8220;blur&#8221; and &#8220;alpha&#8221;, are pretty clear &#8212; take a look at the comments in the class for more info!</p>
<p>Enjoy, and let us know how you use this class <img src='http://active.tutsplus.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://active.tutsplus.com/freebies/actionscript-30-classes/dynamic-reflection-generator-class-for-as3/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Simple AS3 Contact Form Using PHP</title>
		<link>http://active.tutsplus.com/freebies/actionscript-30-classes/simple-as3-contact-form-using-php/</link>
		<comments>http://active.tutsplus.com/freebies/actionscript-30-classes/simple-as3-contact-form-using-php/#comments</comments>
		<pubDate>Tue, 21 Jul 2009 07:34:36 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[ActionScript 3.0 Classes]]></category>

		<guid isPermaLink="false">http://flash.tutsplus.com/?p=1408</guid>
		<description><![CDATA[<img src="http://flashtuts.s3.cdn.plus.org/freebies/010_ContactFormClass/preview.gif" alt="">]]></description>
			<content:encoded><![CDATA[<p>This contact form class is super-customizable and simple to use. I’ve used it in lots of projects and it’s easy to make it look different every time. Pretty much everything can be easily customized including all the colors and text and validation copy. Requires a server running PHP for the email to send.</p>
<p>Free for any use other than reselling.</p>
<p><span id="more-1408"></span></p>
<div class="tutorial_image">
<a href="http://flashtuts.s3.cdn.plus.org/freebies/010_ContactFormClass/as3_contact_form.zip" target="_blank"><br />
<img src="http://flashtuts.s3.cdn.plus.org/source.jpg" alt="" style="border:none"></a>
</div>
<div class="tutorial_image"><img src="http://flashtuts.s3.cdn.plus.org/freebies/010_ContactFormClass/preview600.jpg" alt="" /></div>
]]></content:encoded>
			<wfw:commentRss>http://active.tutsplus.com/freebies/actionscript-30-classes/simple-as3-contact-form-using-php/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>XMLLoader Class 3.0</title>
		<link>http://active.tutsplus.com/freebies/actionscript-30-classes/xmlloader-class-30/</link>
		<comments>http://active.tutsplus.com/freebies/actionscript-30-classes/xmlloader-class-30/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 09:54:01 +0000</pubDate>
		<dc:creator>Clemente Gomez</dc:creator>
				<category><![CDATA[ActionScript 3.0 Classes]]></category>

		<guid isPermaLink="false">http://flash.tutsplus.com/?p=472</guid>
		<description><![CDATA[<img src="http://flashtuts.s3.cdn.plus.org/freebies/004_XMLLoaderClass/flashtuts_logo.jpg" alt="">]]></description>
			<content:encoded><![CDATA[<p>Quickly load and manage Multiple XML files.</p>
<p><span id="more-472"></span></p>
<div class="tutorial_image">
<a href="http://flashtuts.s3.cdn.plus.org/freebies/004_XMLLoaderClass/XMLLoader_3.0.zip" target="_blank"><br />
<img src="http://flashtuts.s3.cdn.plus.org/source.jpg" alt="" style="border:none"></a>
</div>
<div class="tutorial_image">
<img src="http://flashtuts.s3.cdn.plus.org/freebies/004_XMLLoaderClass/flashtuts_banner.jpg" alt="">
</div>
]]></content:encoded>
			<wfw:commentRss>http://active.tutsplus.com/freebies/actionscript-30-classes/xmlloader-class-30/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>AS3 Dotted Line Class</title>
		<link>http://active.tutsplus.com/freebies/actionscript-30-classes/as3-dotted-line-class/</link>
		<comments>http://active.tutsplus.com/freebies/actionscript-30-classes/as3-dotted-line-class/#comments</comments>
		<pubDate>Thu, 02 Apr 2009 08:59:25 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[ActionScript 3.0 Classes]]></category>

		<guid isPermaLink="false">http://flash.tutsplus.com/?p=303</guid>
		<description><![CDATA[<img src="http://flashtuts.s3.cdn.plus.org/freebies/002_AS3_lines/dotted_line_preview.gif" alt="" />]]></description>
			<content:encoded><![CDATA[<p>Here is an ActionScript 3 class I use all the time to draw pixel perfect dotted lines in Flash. Free for any use other than reselling.</p>
<p><span id="more-303"></span></p>
<div class="tutorial_image">
<a href="http://flashtuts.s3.cdn.plus.org/freebies/002_AS3_lines/as3_dotted_lines.zip" target="_blank"><br />
<img src="http://flashtuts.s3.cdn.plus.org/source.jpg" alt="" style="border:none"></a>
</div>
<div class="tutorial_image"><img src="http://flashtuts.s3.cdn.plus.org/freebies/002_AS3_lines/as3_dotted_line.gif" alt="" /></div>
]]></content:encoded>
			<wfw:commentRss>http://active.tutsplus.com/freebies/actionscript-30-classes/as3-dotted-line-class/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.080 seconds -->
