<?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>Warm Forest Flash Blog &#187; Freebies</title>
	<atom:link href="http://www.warmforestflash.com/blog/tag/freebies/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.warmforestflash.com/blog</link>
	<description>A blog about Flash &#38; ActionScript 3 from a designer&#039;s perspective</description>
	<lastBuildDate>Thu, 29 Jul 2010 21:20:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Accessible Flash Nav: Right-Click Links to Open in New Window Using AS3</title>
		<link>http://www.warmforestflash.com/blog/2009/07/accessible-flash-nav/</link>
		<comments>http://www.warmforestflash.com/blog/2009/07/accessible-flash-nav/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 23:51:48 +0000</pubDate>
		<dc:creator>warmforest</dc:creator>
				<category><![CDATA[Freebies]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[navigation]]></category>

		<guid isPermaLink="false">http://www.warmforestflash.com/blog/?p=293</guid>
		<description><![CDATA[For a recent project I needed to create a Flash navigation menu for use in a HTML site that functioned as close as possible to a normal HTML nav. In HTML you can right-click links to open them in a new window/tab but normally with Flash menus you can&#8217;t do this. Therefore I had to [...]


Related posts:<ol><li><a href='http://www.warmforestflash.com/blog/2009/06/flash-as3-contact-form-using-php/' rel='bookmark' title='Permanent Link: Flash AS3 Contact Form Using PHP'>Flash AS3 Contact Form Using PHP</a></li>
<li><a href='http://www.warmforestflash.com/blog/2009/04/free-as3-scrollbar-fullscreen-and-resizable/' rel='bookmark' title='Permanent Link: Free AS3 Scrollbar: Fullscreen and Resizable'>Free AS3 Scrollbar: Fullscreen and Resizable</a></li>
<li><a href='http://www.warmforestflash.com/blog/2009/01/as3-dotted-line-class/' rel='bookmark' title='Permanent Link: AS3 Dotted Line Class'>AS3 Dotted Line Class</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>For a recent project I needed to create a Flash navigation menu for use in a HTML site that functioned as close as possible to a normal HTML nav. In HTML you can right-click links to open them in a new window/tab but normally with Flash menus you can&#8217;t do this. Therefore I had to try to create that functionality from scratch with ActionScript.</p>
<p>You can see a working example of what I came up with above in my blog header nav.</p>
<p>Flash links inside of text fields (usually set with CDATA and XML) support right-clicking to open links in new windows by default but setting up a nav that way usually doesn&#8217;t make sense and you would lose a lot of functionality doing it that way. So the trick I found was to take advantage of the fact that you can add a custom right-click context menu not just to the Flash stage but also to each individual sprite itself.</p>
<p>Here is some sample code that you can add to each of your nav items to achieve this:</p>
<div class="geshi no actionscript">
<ol>
<li class="li1">
<div class="de1"><span class="kw2">var</span> navItem:Sprite = <span class="kw2">new</span> Sprite<span class="br0">&#40;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="kw2">var</span> cm:<span class="kw3">ContextMenu</span> = <span class="kw2">new</span> <span class="kw3">ContextMenu</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">cm.<span class="kw3">hideBuiltInItems</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="kw2">var</span> openNewWindow:<span class="kw3">ContextMenuItem</span> = <span class="kw2">new</span> <span class="kw3">ContextMenuItem</span><span class="br0">&#40;</span><span class="st0">&quot;Open Link in New Window&quot;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">openNewWindow.<span class="me1">addEventListener</span><span class="br0">&#40;</span>ContextMenuEvent.<span class="me1">MENU_ITEM_SELECT</span>, onOpenNewWindowSelect, <span class="kw2">false</span>, <span class="nu0">0</span>, <span class="kw2">true</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">cm.<span class="kw3">customItems</span>.<span class="kw3">push</span><span class="br0">&#40;</span>openNewWindow<span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">navItem.<span class="kw3">contextMenu</span> = cm;</div>
</li>
</ol>
</div>
<p>I also tried to mimic the browser functionality of command (control on a PC) clicking to open links in new tabs and shift-clicking to open them in new windows. Using keyboard listeners I was able to get this working in Safari but sadly it doesn&#8217;t seem to work at all in Firefox for some reason. In Opera, shift-clicking opens a new tab but command-clicking just triggers the normal right-click menu. I guess it just depends on how the browser wants to handle the keyboard events.</p>
<p>I also added the ability to copy the URL to the clipboard for copying and pasting. Here is a quick snippet of code that will copy text to the system clipboard:</p>
<div class="geshi no actionscript">
<ol>
<li class="li1">
<div class="de1"><span class="kw3">System</span>.<span class="kw3">setClipboard</span><span class="br0">&#40;</span><span class="st0">&quot;Your text to copy&quot;</span><span class="br0">&#41;</span>;</div>
</li>
</ol>
</div>
<p>So why create a menu in Flash at all if HTML natively supports these features? The main reason would be nice typography &#8211; no more using the same system fonts over and over again. Plus you can create lots of neat dividers/selected state graphics/rollovers without having to open up Photoshop.</p>
<p>Here are three versions of the Flash right-click nav that you can download for free below.</p>
<p><img src="http://www.warmforestflash.com/blog/wp-content/uploads/2009/07/preview_01.gif" alt="TypeNav Font Option 1" /></p>
<p><a href="http://www.warmforestflash.com/products/typenav/free/typenav_font_option_1.zip">&raquo; Download now (zip)</a></p>
<p>&#8211;</p>
<p><img src="http://www.warmforestflash.com/blog/wp-content/uploads/2009/07/preview_06.gif" alt="TypeNav Font Option 6" /></p>
<p><a href="http://www.warmforestflash.com/products/typenav/free/typenav_font_option_6.zip">&raquo; Download now (zip)</a></p>
<p>&#8211;</p>
<p><img src="http://www.warmforestflash.com/blog/wp-content/uploads/2009/07/preview_08.gif" alt="TypeNav Font Option 8" /></p>
<p><a href="http://www.warmforestflash.com/products/typenav/free/typenav_font_option_8.zip">&raquo; Download now (zip)</a></p>
<p>&#8211;</p>
<p><em>For more info, see the <a href="http://www.warmforestflash.com/products/typenav/">TypeNav&#8482; page here</a>.</em></p>
<p>&#8211;</p>


<p>Related posts:<ol><li><a href='http://www.warmforestflash.com/blog/2009/06/flash-as3-contact-form-using-php/' rel='bookmark' title='Permanent Link: Flash AS3 Contact Form Using PHP'>Flash AS3 Contact Form Using PHP</a></li>
<li><a href='http://www.warmforestflash.com/blog/2009/04/free-as3-scrollbar-fullscreen-and-resizable/' rel='bookmark' title='Permanent Link: Free AS3 Scrollbar: Fullscreen and Resizable'>Free AS3 Scrollbar: Fullscreen and Resizable</a></li>
<li><a href='http://www.warmforestflash.com/blog/2009/01/as3-dotted-line-class/' rel='bookmark' title='Permanent Link: AS3 Dotted Line Class'>AS3 Dotted Line Class</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.warmforestflash.com/blog/2009/07/accessible-flash-nav/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Flash AS3 Contact Form Using PHP</title>
		<link>http://www.warmforestflash.com/blog/2009/06/flash-as3-contact-form-using-php/</link>
		<comments>http://www.warmforestflash.com/blog/2009/06/flash-as3-contact-form-using-php/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 18:09:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Freebies]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.warmforestflash.com/blog/?p=264</guid>
		<description><![CDATA[To continue in the tradition of my AS3 scrollbar source code I released a few months back, I&#8217;m now giving away the source code for my AS3 contact form class I&#8217;ve been using in my other Flash templates, specifically the one from Cedar. The contact form class is super-customizable and simple to use. I&#8217;ve used [...]


Related posts:<ol><li><a href='http://www.warmforestflash.com/blog/2009/04/free-as3-scrollbar-fullscreen-and-resizable/' rel='bookmark' title='Permanent Link: Free AS3 Scrollbar: Fullscreen and Resizable'>Free AS3 Scrollbar: Fullscreen and Resizable</a></li>
<li><a href='http://www.warmforestflash.com/blog/2009/01/as3-dotted-line-class/' rel='bookmark' title='Permanent Link: AS3 Dotted Line Class'>AS3 Dotted Line Class</a></li>
<li><a href='http://www.warmforestflash.com/blog/2009/07/accessible-flash-nav/' rel='bookmark' title='Permanent Link: Accessible Flash Nav: Right-Click Links to Open in New Window Using AS3'>Accessible Flash Nav: Right-Click Links to Open in New Window Using AS3</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>To continue in the tradition of my <a href="http://www.warmforestflash.com/blog/2009/04/free-as3-scrollbar-fullscreen-and-resizable/">AS3 scrollbar source code</a> I released a few months back, I&#8217;m now giving away the source code for my AS3 contact form class I&#8217;ve been using in my other Flash templates, specifically the one from <a href="http://www.warmforestflash.com/products/cedar/">Cedar</a>.</p>
<p>The contact form class is super-customizable and simple to use. I&#8217;ve used it in lots of projects and it&#8217;s easy to make it look different every time. Here is the basic usage:</p>
<div class="geshi no actionscript">
<ol>
<li class="li1">
<div class="de1"><span class="kw3">import</span> com.<span class="me1">warmforestflash</span>.<span class="me1">ContactForm</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="kw2">var</span> contactForm:ContactForm = <span class="kw2">new</span> ContactForm<span class="br0">&#40;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">addChild<span class="br0">&#40;</span>contactForm<span class="br0">&#41;</span>;</div>
</li>
</ol>
</div>
<p>And here is a preview:</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_contact_form1_117476447"
			class="flashmovie"
			width="650"
			height="230">
	<param name="movie" value="http://www.warmforestflash.com/blog/wp-content/uploads/2009/06/contact_form1.swf" />
	<param name="menu" value="false" />
	<param name="quality" value="high" />
	<param name="scale" value="noscale" />
	<param name="salign" value="tl" />
	<param name="wmode" value="window" />
	<param name="bgcolor" value="#ffffff" />
	<param name="allowscriptaccess" value="always" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.warmforestflash.com/blog/wp-content/uploads/2009/06/contact_form1.swf"
			name="fm_contact_form1_117476447"
			width="650"
			height="230">
		<param name="menu" value="false" />
		<param name="quality" value="high" />
		<param name="scale" value="noscale" />
		<param name="salign" value="tl" />
		<param name="wmode" value="window" />
		<param name="bgcolor" value="#ffffff" />
		<param name="allowscriptaccess" value="always" />
	<!--<![endif]-->
		
<p><a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p>Pretty much everything can be easily customized including all the colors and text and validation copy. Here is how you would customize it:</p>
<div class="geshi no actionscript">
<ol>
<li class="li1">
<div class="de1"><span class="kw3">import</span> com.<span class="me1">warmforestflash</span>.<span class="me1">ContactForm</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="kw2">var</span> contactForm:ContactForm = <span class="kw2">new</span> ContactForm<span class="br0">&#40;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"><span class="co1">// Label settings</span></div>
</li>
<li class="li1">
<div class="de1">contactForm.<span class="me1">nameText</span> = <span class="st0">&quot;Type your name here&quot;</span>;</div>
</li>
<li class="li1">
<div class="de1">contactForm.<span class="me1">emailText</span> = <span class="st0">&quot;Type your email here&quot;</span>;</div>
</li>
<li class="li1">
<div class="de1">contactForm.<span class="me1">messageText</span> = <span class="st0">&quot;Type your message here&quot;</span>;</div>
</li>
<li class="li1">
<div class="de1">contactForm.<span class="me1">sendButtonText</span> = <span class="st0">&quot;CONTACT ME&quot;</span>;</div>
</li>
<li class="li1">
<div class="de1">contactForm.<span class="me1">sendingText</span> = <span class="st0">&quot;Sending message&#8230;&quot;</span>;</div>
</li>
<li class="li1">
<div class="de1">contactForm.<span class="me1">errorEmailText</span> = <span class="st0">&quot;Your email is not valid.&quot;</span>;</div>
</li>
<li class="li1">
<div class="de1">contactForm.<span class="me1">errorServerText</span> = <span class="st0">&quot;Server problems.&quot;</span>;</div>
</li>
<li class="li1">
<div class="de1">contactForm.<span class="me1">confirmationText</span> = <span class="st0">&quot;Thanks for contacting me!&quot;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"><span class="co1">// Color settings</span></div>
</li>
<li class="li1">
<div class="de1">contactForm.<span class="kw3">textColor</span> = 0xffffff;</div>
</li>
<li class="li1">
<div class="de1">contactForm.<span class="kw3">borderColor</span> = 0&#215;222222;</div>
</li>
<li class="li1">
<div class="de1">contactForm.<span class="kw3">backgroundColor</span> = 0&#215;000000;</div>
</li>
<li class="li1">
<div class="de1">contactForm.<span class="me1">selectedBorderColor</span> = 0x05b59a;</div>
</li>
<li class="li1">
<div class="de1">contactForm.<span class="me1">selectedBackgroundColor</span> = 0&#215;000000;</div>
</li>
<li class="li1">
<div class="de1">contactForm.<span class="me1">selectedBlurAmount</span> = <span class="nu0">50</span>;</div>
</li>
<li class="li1">
<div class="de1">contactForm.<span class="me1">sendButtonTextColor</span> = 0xffffff;</div>
</li>
<li class="li1">
<div class="de1">contactForm.<span class="me1">sendButtonTextRollOverColor</span> = 0xffffff;</div>
</li>
<li class="li1">
<div class="de1">contactForm.<span class="me1">sendButtonColor</span> = 0x05b59a;</div>
</li>
<li class="li1">
<div class="de1">contactForm.<span class="me1">sendButtonRollOverColor</span> = 0xff4400;</div>
</li>
<li class="li1">
<div class="de1">contactForm.<span class="me1">errorColor</span> = 0xff4400;</div>
</li>
<li class="li1">
<div class="de1">contactForm.<span class="me1">confirmationColor</span> = 0x05b59a;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"><span class="co1">// Layout settings</span></div>
</li>
<li class="li1">
<div class="de1">contactForm.<span class="me1">nameWidth</span> = <span class="nu0">400</span>;</div>
</li>
<li class="li1">
<div class="de1">contactForm.<span class="me1">emailWidth</span> = <span class="nu0">400</span>;</div>
</li>
<li class="li1">
<div class="de1">contactForm.<span class="me1">messageWidth</span> = <span class="nu0">550</span>;</div>
</li>
<li class="li1">
<div class="de1">contactForm.<span class="me1">messageHeight</span> = <span class="nu0">200</span>;</div>
</li>
<li class="li1">
<div class="de1">contactForm.<span class="me1">verticalSpacing</span> = <span class="nu0">10</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">addChild<span class="br0">&#40;</span>contactForm<span class="br0">&#41;</span>;</div>
</li>
</ol>
</div>
<p>And here it is customized:</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_contact_form2_312327079"
			class="flashmovie"
			width="650"
			height="290">
	<param name="movie" value="http://www.warmforestflash.com/blog/wp-content/uploads/2009/06/contact_form2.swf" />
	<param name="menu" value="false" />
	<param name="quality" value="high" />
	<param name="scale" value="noscale" />
	<param name="salign" value="tl" />
	<param name="wmode" value="window" />
	<param name="bgcolor" value="#ffffff" />
	<param name="allowscriptaccess" value="always" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.warmforestflash.com/blog/wp-content/uploads/2009/06/contact_form2.swf"
			name="fm_contact_form2_312327079"
			width="650"
			height="290">
		<param name="menu" value="false" />
		<param name="quality" value="high" />
		<param name="scale" value="noscale" />
		<param name="salign" value="tl" />
		<param name="wmode" value="window" />
		<param name="bgcolor" value="#ffffff" />
		<param name="allowscriptaccess" value="always" />
	<!--<![endif]-->
		
<p><a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p>I&#8217;m also including an XML-powered version for people who don&#8217;t own the Flash authoring software or who don&#8217;t know any ActionScript at all. You can just drop this into an HTML page and customize everything straight through the XML without having to open Flash or mess with any ActionScript. It&#8217;s a simple way to add a contact form to any website.</p>
<p>The script that actually sends the email is written in PHP so the web server you upload it to will need to support PHP in order for the email to send.</p>
<p><a href="http://www.warmforestflash.com/blog/wp-content/uploads/2009/06/as3_contact_form.zip">&raquo; Download the contact form class and XML version</a></p>
<p>Feel free to use this code in any way you want other than selling it.</p>
<p>Have fun!</p>
<p>__</p>


<p>Related posts:<ol><li><a href='http://www.warmforestflash.com/blog/2009/04/free-as3-scrollbar-fullscreen-and-resizable/' rel='bookmark' title='Permanent Link: Free AS3 Scrollbar: Fullscreen and Resizable'>Free AS3 Scrollbar: Fullscreen and Resizable</a></li>
<li><a href='http://www.warmforestflash.com/blog/2009/01/as3-dotted-line-class/' rel='bookmark' title='Permanent Link: AS3 Dotted Line Class'>AS3 Dotted Line Class</a></li>
<li><a href='http://www.warmforestflash.com/blog/2009/07/accessible-flash-nav/' rel='bookmark' title='Permanent Link: Accessible Flash Nav: Right-Click Links to Open in New Window Using AS3'>Accessible Flash Nav: Right-Click Links to Open in New Window Using AS3</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.warmforestflash.com/blog/2009/06/flash-as3-contact-form-using-php/feed/</wfw:commentRss>
		<slash:comments>107</slash:comments>
		</item>
		<item>
		<title>Free AS3 Scrollbar: Fullscreen and Resizable</title>
		<link>http://www.warmforestflash.com/blog/2009/04/free-as3-scrollbar-fullscreen-and-resizable/</link>
		<comments>http://www.warmforestflash.com/blog/2009/04/free-as3-scrollbar-fullscreen-and-resizable/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 16:12:16 +0000</pubDate>
		<dc:creator>warmforest</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[Freebies]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[ui]]></category>

		<guid isPermaLink="false">http://www.warmforestflash.com/blog/?p=246</guid>
		<description><![CDATA[In coincidence with the launch of my new Aspen template, I&#8217;ve decided to release for free the source code for the scrollbar I&#8217;ve been using in my other Flash templates. The scrollbar is coded in AS3 and will automatically resize according to the amount of content, unlike a lot of other Flash scrollbars. You can [...]


Related posts:<ol><li><a href='http://www.warmforestflash.com/blog/2009/01/as3-dotted-line-class/' rel='bookmark' title='Permanent Link: AS3 Dotted Line Class'>AS3 Dotted Line Class</a></li>
<li><a href='http://www.warmforestflash.com/blog/2009/06/flash-as3-contact-form-using-php/' rel='bookmark' title='Permanent Link: Flash AS3 Contact Form Using PHP'>Flash AS3 Contact Form Using PHP</a></li>
<li><a href='http://www.warmforestflash.com/blog/2009/07/accessible-flash-nav/' rel='bookmark' title='Permanent Link: Accessible Flash Nav: Right-Click Links to Open in New Window Using AS3'>Accessible Flash Nav: Right-Click Links to Open in New Window Using AS3</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>In coincidence with the launch of my new <a title="Aspen template" href="http://www.warmforestflash.com/products/aspen/">Aspen template</a>, I&#8217;ve decided to release for free the source code for the scrollbar I&#8217;ve been using in my other Flash templates. The scrollbar is coded in AS3 and will automatically resize according to the amount of content, unlike a lot of other Flash scrollbars. You can set the track color, grabber color, grabber press color, grip color, track thickness, grabber thickness, ease amount and whether or not the grabber is &#8220;shiny&#8221;.</p>
<p><em>Update [6-21-2009]: Now supports mouse wheel scrolling on the Mac using <a href="http://www.libspark.org/wiki/SWFWheel/en">SWFWheel</a>.</em></p>
<p>Here is a demo of the scrollbar in use. You can click &#8220;Add Copy&#8221; to see how it resizes:</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_scrollbar_demo_1977267878"
			class="flashmovie"
			width="650"
			height="400">
	<param name="movie" value="http://www.warmforestflash.com/blog/wp-content/uploads/2009/04/scrollbar_demo.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://www.warmforestflash.com/blog/wp-content/uploads/2009/04/scrollbar_demo.swf"
			name="fm_scrollbar_demo_1977267878"
			width="650"
			height="400">
	<!--<![endif]-->
		<a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p>You can also<a title="Sycamore template" href="http://www.warmforestflash.com/products/sycamore/"> view a demo</a> of it being used fullscreen in my Sycamore template.</p>
<p>Here is the usage for the scrollbar class:</p>
<div class="geshi no actionscript">
<div class="head">// Arguments: Content to scroll, track color, grabber color, grabber press color, grip color, track thickness, grabber thickness, ease amount, whether grabber is &#8220;shiny&#8221;</div>
<ol>
<li class="li1">
<div class="de1">_scrollBar = <span class="kw2">new</span> FullScreenScrollBar<span class="br0">&#40;</span>_content, 0&#215;222222, 0xff4400, 0x05b59a, 0xffffff, <span class="nu0">15</span>, <span class="nu0">15</span>, <span class="nu0">4</span>, <span class="kw2">true</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">addChild<span class="br0">&#40;</span>_scrollBar<span class="br0">&#41;</span>;</div>
</li>
</ol>
</div>
<p><a title="AS3 Scrolbar zip" href="http://www.warmforestflash.com/blog/wp-content/uploads/2009/04/as3_scrollbar.zip">» Download the demo and source code</a></p>
<p>Feel free to use this code in any way you want other than selling it.</p>
<p>Enjoy!</p>
<p>&#8211;</p>


<p>Related posts:<ol><li><a href='http://www.warmforestflash.com/blog/2009/01/as3-dotted-line-class/' rel='bookmark' title='Permanent Link: AS3 Dotted Line Class'>AS3 Dotted Line Class</a></li>
<li><a href='http://www.warmforestflash.com/blog/2009/06/flash-as3-contact-form-using-php/' rel='bookmark' title='Permanent Link: Flash AS3 Contact Form Using PHP'>Flash AS3 Contact Form Using PHP</a></li>
<li><a href='http://www.warmforestflash.com/blog/2009/07/accessible-flash-nav/' rel='bookmark' title='Permanent Link: Accessible Flash Nav: Right-Click Links to Open in New Window Using AS3'>Accessible Flash Nav: Right-Click Links to Open in New Window Using AS3</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.warmforestflash.com/blog/2009/04/free-as3-scrollbar-fullscreen-and-resizable/feed/</wfw:commentRss>
		<slash:comments>102</slash:comments>
		</item>
		<item>
		<title>AS3 Dotted Line Class</title>
		<link>http://www.warmforestflash.com/blog/2009/01/as3-dotted-line-class/</link>
		<comments>http://www.warmforestflash.com/blog/2009/01/as3-dotted-line-class/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 03:51:39 +0000</pubDate>
		<dc:creator>warmforest</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[Freebies]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[classes]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.warmforestflash.com/blog/?p=120</guid>
		<description><![CDATA[Here is an ActionScript 3 class I use all the time to draw pixel perfect dotted lines in Flash. You can set the line width, line height, color, alpha, dot width, and dot spacing. Simple but useful! Dotted line preview: 
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_dotted_line_1443477271"
			class="flashmovie"
			width="650"
			height="20">
	<param name="movie" value="/blog/wp-content/uploads/2009/01/dotted_line.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="/blog/wp-content/uploads/2009/01/dotted_line.swf"
			name="fm_dotted_line_1443477271"
			width="650"
			height="20">
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object> Dotted line usage: import com.warmforestflash.drawing.DottedLine; var s:Shape = new DottedLine&#40;630, [...]


Related posts:<ol><li><a href='http://www.warmforestflash.com/blog/2009/04/free-as3-scrollbar-fullscreen-and-resizable/' rel='bookmark' title='Permanent Link: Free AS3 Scrollbar: Fullscreen and Resizable'>Free AS3 Scrollbar: Fullscreen and Resizable</a></li>
<li><a href='http://www.warmforestflash.com/blog/2009/06/flash-as3-contact-form-using-php/' rel='bookmark' title='Permanent Link: Flash AS3 Contact Form Using PHP'>Flash AS3 Contact Form Using PHP</a></li>
<li><a href='http://www.warmforestflash.com/blog/2009/07/accessible-flash-nav/' rel='bookmark' title='Permanent Link: Accessible Flash Nav: Right-Click Links to Open in New Window Using AS3'>Accessible Flash Nav: Right-Click Links to Open in New Window Using AS3</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Here is an ActionScript 3 class I use all the time to draw pixel perfect dotted lines in Flash. You can set the line width, line height, color, alpha, dot width, and dot spacing. Simple but useful!</p>
<p><span id="more-120"></span></p>
<p>Dotted line preview:</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_dotted_line_1679152925"
			class="flashmovie"
			width="650"
			height="20">
	<param name="movie" value="/blog/wp-content/uploads/2009/01/dotted_line.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="/blog/wp-content/uploads/2009/01/dotted_line.swf"
			name="fm_dotted_line_1679152925"
			width="650"
			height="20">
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p>Dotted line usage:</p>
<div class="geshi no actionscript">
<ol>
<li class="li1">
<div class="de1"><span class="kw3">import</span> com.<span class="me1">warmforestflash</span>.<span class="me1">drawing</span>.<span class="me1">DottedLine</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="kw2">var</span> s:Shape = <span class="kw2">new</span> DottedLine<span class="br0">&#40;</span><span class="nu0">630</span>, <span class="nu0">1</span>, 0&#215;603120, <span class="nu0">0.9</span>, <span class="nu0">1</span>, <span class="nu0">2</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">addChild<span class="br0">&#40;</span>s<span class="br0">&#41;</span>;</div>
</li>
</ol>
</div>
<p>Dashed line preview:</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_dashed_line_828060916"
			class="flashmovie"
			width="650"
			height="20">
	<param name="movie" value="/blog/wp-content/uploads/2009/01/dashed_line.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="/blog/wp-content/uploads/2009/01/dashed_line.swf"
			name="fm_dashed_line_828060916"
			width="650"
			height="20">
	<!--<![endif]-->
		
	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p>Dashed line usage:</p>
<div class="geshi no actionscript">
<ol>
<li class="li1">
<div class="de1"><span class="kw3">import</span> com.<span class="me1">warmforestflash</span>.<span class="me1">drawing</span>.<span class="me1">DottedLine</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="kw2">var</span> s:Shape = <span class="kw2">new</span> DottedLine<span class="br0">&#40;</span><span class="nu0">630</span>, <span class="nu0">1</span>, 0&#215;603120, <span class="nu0">0.9</span>, <span class="nu0">10</span>, <span class="nu0">8</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">addChild<span class="br0">&#40;</span>s<span class="br0">&#41;</span>;</div>
</li>
</ol>
</div>
<p><a href="http://www.warmforestflash.com/blog/wp-content/uploads/2009/01/as3_dotted_lines.zip">&raquo; Download the zip containing the class and the above samples</a></p>
<p>Feel free to use it in whatever way you see fit.</p>
<p>__</p>


<p>Related posts:<ol><li><a href='http://www.warmforestflash.com/blog/2009/04/free-as3-scrollbar-fullscreen-and-resizable/' rel='bookmark' title='Permanent Link: Free AS3 Scrollbar: Fullscreen and Resizable'>Free AS3 Scrollbar: Fullscreen and Resizable</a></li>
<li><a href='http://www.warmforestflash.com/blog/2009/06/flash-as3-contact-form-using-php/' rel='bookmark' title='Permanent Link: Flash AS3 Contact Form Using PHP'>Flash AS3 Contact Form Using PHP</a></li>
<li><a href='http://www.warmforestflash.com/blog/2009/07/accessible-flash-nav/' rel='bookmark' title='Permanent Link: Accessible Flash Nav: Right-Click Links to Open in New Window Using AS3'>Accessible Flash Nav: Right-Click Links to Open in New Window Using AS3</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.warmforestflash.com/blog/2009/01/as3-dotted-line-class/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
	</channel>
</rss>
