<?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>plasticular inscriptor &#187; plasticware</title>
	<atom:link href="http://www.plasticstare.com/plains/category/plasticware/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.plasticstare.com/plains</link>
	<description></description>
	<lastBuildDate>Tue, 17 Aug 2010 23:57:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Applescript Show Track in Finder</title>
		<link>http://www.plasticstare.com/plains/2008/03/11/applescript-show-track-in-finder/</link>
		<comments>http://www.plasticstare.com/plains/2008/03/11/applescript-show-track-in-finder/#comments</comments>
		<pubDate>Tue, 11 Mar 2008 20:44:13 +0000</pubDate>
		<dc:creator>plains</dc:creator>
				<category><![CDATA[applescript]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[downloadable]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[plasticware]]></category>
		<category><![CDATA[quicksilver]]></category>

		<guid isPermaLink="false">http://www.plasticstare.com/plains/2008/03/11/applescript-show-track-in-finder/</guid>
		<description><![CDATA[Space has been tight lately on my laptop and I&#8217;ve been too lazy to thoroughly go through and clean up. I keep regular backups, however, so I wrote this script so that when I hear a track that I don&#8217;t care so much about in iTunes on random, I can go to the folder and [...]]]></description>
			<content:encoded><![CDATA[<p>Space has been tight lately on my laptop and I&#8217;ve been too lazy to thoroughly go through and clean up. I keep regular backups, however, so I wrote this script so that when I hear a track that I don&#8217;t care so much about in iTunes on random, I can go to the folder and kill the track or the album, or heck, all tracks by that artist, quickly. You can put this file in your iTunes scripts folder and trigger it from Quicksilver as well for easy access.</p>
<p><span class="downloadable"><em>PlasticWare Downloadable ::</em><br />
Show Track in Finder (Mar. 11, 2008)<br />
Download (~3,146 bytes) :: <a href="http://www.plasticstare.com/plasticware/applescript/ShowTrackInFinder.zip">ShowTrackInFinder.zip</a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.plasticstare.com/plains/2008/03/11/applescript-show-track-in-finder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Happy Birthday Karel Čapek (and robots)</title>
		<link>http://www.plasticstare.com/plains/2008/01/09/happy-birthday-karel-capek-and-robots/</link>
		<comments>http://www.plasticstare.com/plains/2008/01/09/happy-birthday-karel-capek-and-robots/#comments</comments>
		<pubDate>Wed, 09 Jan 2008 17:58:30 +0000</pubDate>
		<dc:creator>plains</dc:creator>
				<category><![CDATA[graffiti]]></category>
		<category><![CDATA[plasticware]]></category>
		<category><![CDATA[random]]></category>
		<category><![CDATA[science]]></category>
		<category><![CDATA[television]]></category>

		<guid isPermaLink="false">http://www.plasticstare.com/plains/2008/01/09/happy-birthday-karel-capek-and-robots/</guid>
		<description><![CDATA[Today is the birthday of Karel Čapek, who is attributed with popularizing the term &#8220;robot,&#8221; which he introduced in his 1921 play &#8220;Rossum&#8217;s Universal Robots&#8221; (or R.U.R.). He gives credit to his brother Josef for inventing the word, which has its roots in the Slovak word robota which translates literally to &#8220;serf labor.&#8221; Čapek is [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/intafon/2054715927/" title="20071118220931_w810i.jpg by ryan (-o_o-), on Flickr"><img src="http://farm3.static.flickr.com/2288/2054715927_948154a334_t.jpg" alt="20071118220931_w810i.jpg" align="left" height="100" width="75" /></a>Today is the birthday of Karel Čapek, who is attributed with popularizing the term &#8220;robot,&#8221; which he introduced in his 1921 play &#8220;Rossum&#8217;s Universal Robots&#8221; (or R.U.R.). He gives credit to his brother Josef for inventing the word, which has its roots in the Slovak word <em>robota</em> which translates literally to &#8220;serf labor.&#8221; Čapek is a fairly well known science fiction writer. Of note is one of my favorites, War with the Newts, in which a species of intelligent newts are enslaved by the humans but eventually rebel and take over the world (I always thought Vonnegut had to have read that one). Happy birthday robots everywhere!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.plasticstare.com/plains/2008/01/09/happy-birthday-karel-capek-and-robots/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Textmate (Revisited) vs. TextWrangler</title>
		<link>http://www.plasticstare.com/plains/2006/07/18/textmate-revisited-vs-textwrangler/</link>
		<comments>http://www.plasticstare.com/plains/2006/07/18/textmate-revisited-vs-textwrangler/#comments</comments>
		<pubDate>Tue, 18 Jul 2006 19:31:44 +0000</pubDate>
		<dc:creator>plains</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[downloadable]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[plasticware]]></category>
		<category><![CDATA[textmate]]></category>

		<guid isPermaLink="false">http://www.plasticstare.com/plains/?p=97</guid>
		<description><![CDATA[PlasticWare Downloadable :: PlasticCodeWrap TextMate Syntax Theme Version 1.0 (Jul. 18, 2006) Download (~1400 bytes) :: PlasticCodeWrap.zip So, now that I have moved on to working for a software company, I&#8217;ve moved on also to actually coding more javascript for work. For some quick and dirty (well, actually not so dirty, but outside the realm [...]]]></description>
			<content:encoded><![CDATA[<p><span class="downloadable"><em>PlasticWare Downloadable ::</em><br />
PlasticCodeWrap TextMate Syntax Theme Version 1.0 (Jul. 18, 2006)<br />
Download (~1400 bytes) :: <a href="http://www.plasticstare.com/plasticware/textmate/PlasticCodeWrap.zip">PlasticCodeWrap.zip</a></span></p>
<p>So, now that I have moved on to working for a software company, I&#8217;ve moved on also to actually coding more javascript for work. For some quick and dirty (well, actually not so dirty, but outside the realm of a set up project environment in Eclipse) javascript coding, I decided to give a couple of old favorites another look-see. I opted to run some tests with TextWrangler, the freeware barebones.com software offering in leiu of BBEdit, and with TextMate from macromates.com.</p>
<p><span id="more-97"></span></p>
<p>In the past and recent past in fact, I&#8217;ve opted to use TextWrangler for many tasks that I couldn&#8217;t find a way to do otherwise. Both BBEdit and TextWrangler have superior capabilities in single and multi-file grep searches for some seriously powerful search and replace functionality, and some other really nice features that are pretty handy for the code junkie. The multi-file search allows you to search any folder of files that your computer can access, while TextMate I believe only supports searching all files in a &#8220;project.&#8221; You can also use any BBEdit plug-ins for TextWrangler, although there aren&#8217;t that many out there these days that I haven&#8217;t been able to live without. From an appearance standpoint, the interface is clean and easy to use, albeit somewhat limited in the way that one can customize it.</p>
<p>Textmate, while I have read some not-so-glowing reviews about its search capabilities (I know, I&#8217;m sorry, but I really dig BBEdit/TextWrangler for searches) and diff functionality, I have to say that from an interface standpoint, its just much more comfortable to use. There are a few wonky things (such as the fact that the setting for tab stops is at the bottom of the window in a drop down), but the total gui package is just more a pleasure to use. In addition, I like the scheme for syntax coloring in TextMate better. Its more intuitive and extensible to the mid-level user, and there are already quite a few syntax &#8220;themes&#8221; out there (none of which I absolutely loved, but more on that later). TextMate also features easy to use macro editing and the &#8220;Bundle Editor&#8221; which allows the user to go crazy adding code snippets and macros to the already extensive set of &#8220;bundles&#8221; that support every code language I&#8217;ve ever wanted to use, with the ability also to integrate these macros with shell scripting.</p>
<p>SO, I have to say, I&#8217;m sticking with TextMate again, although I will undoubtedly use TextWrangler for search and replace functions at some point. TextMate&#8217;s ability to let the user build code snippets (that are accessible using short key combinations with the TAB key) and nice syntax coloring features did it for me. Strangely enough, both are pretty code junkie friendly, but both default to black text on white background. There are several syntax themes out there for both (see <a href="http://macromates.com/wiki/Themes/UserSubmittedThemes" target="extra">UserSubmittedThemes at the macromates wiki</a>). I didn&#8217;t absolutely love any of the ones I found, so I used the theme in TextMate called &#8220;Slate&#8221; and munged (Mason&#8217;s favorite word) it together with Ruby Blue, Blackboard, and Mac Classic (which is white background as well). Its called <b>PlasticCodeWrap</b> and it can be downloaded above.<br clear="all" /><br clear="all" /><img src="/plasticware/textmate/PlasticCodeWrap.jpg" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.plasticstare.com/plains/2006/07/18/textmate-revisited-vs-textwrangler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flickr.Contactr Pre-pre-alpha</title>
		<link>http://www.plasticstare.com/plains/2006/06/01/flickrcontactr-pre-pre-alpha/</link>
		<comments>http://www.plasticstare.com/plains/2006/06/01/flickrcontactr-pre-pre-alpha/#comments</comments>
		<pubDate>Thu, 01 Jun 2006 17:27:03 +0000</pubDate>
		<dc:creator>plains</dc:creator>
				<category><![CDATA[actionscript]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[plasticware]]></category>

		<guid isPermaLink="false">http://www.plasticstare.com/plains_wp/?p=83</guid>
		<description><![CDATA[FlickrContactr PRE-PRE-alpha Originally uploaded by intafon. Started working yesterday on my FlickrContactr application which can be found at my other domain, www.intafon.com. It&#8217;s kind of fun to play with so I went ahead and made it public, although it is still pretty seriously in a pre-alpha state. I don&#8217;t think it will blow up your [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin-left: 10px; margin-bottom: 10px"><a title="photo sharing" href="http://www.flickr.com/photos/intafon/158238533/"><img src="http://static.flickr.com/52/158238533_12bd071304_m.jpg" /></a><br />
<a href="http://www.flickr.com/photos/intafon/158238533/">FlickrContactr PRE-PRE-alpha</a><br />
Originally uploaded by <a href="http://www.flickr.com/people/intafon/">intafon</a>.</div>
<p>Started working yesterday on my FlickrContactr application which can be found at my other domain, www.intafon.com. It&#8217;s kind of fun to play with so I went ahead and made it public, although it is still pretty seriously in a pre-alpha state. I don&#8217;t think it will blow up your computer, but I suppose there is the possibility that it could crash your browser. Anyhow, I&#8217;ll be posting updates to it pretty frequently in the next week or so, until I get a good bit of the functionality that I want to put in there implemented. Right now, its just a fun way to quickly view your contacts (and their contacts, and theirs, etc.). See it here :: <a href="http://www.intafon.com/flickrcontactr/index.php">http://www.intafon.com/flickrcontactr/index.php</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.plasticstare.com/plains/2006/06/01/flickrcontactr-pre-pre-alpha/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Testing Syntax Coloring/ Drawing Class</title>
		<link>http://www.plasticstare.com/plains/2006/05/31/testing-syntax-coloring-drawing-class/</link>
		<comments>http://www.plasticstare.com/plains/2006/05/31/testing-syntax-coloring-drawing-class/#comments</comments>
		<pubDate>Wed, 31 May 2006 16:08:08 +0000</pubDate>
		<dc:creator>plains</dc:creator>
				<category><![CDATA[actionscript]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[plasticware]]></category>

		<guid isPermaLink="false">http://www.plasticstare.com/plains_wp/?p=82</guid>
		<description><![CDATA[The following is a drawing class that I've used for the past year or so. I'm kind of using this article to test out various ways of doing syntax coloring in this blog. I use MoveableType, and I'm currently looking for some plug-in that will allow me to automatically publish code in the blog and [...]]]></description>
			<content:encoded><![CDATA[<p>The following is a drawing class that I've used for the past year or so. I'm kind of using this article to test out various ways of doing syntax coloring in this blog. I use MoveableType, and I'm currently looking for some plug-in that will allow me to automatically publish code in the blog and have it look correct. Unfortunately, the only one I've found so far MTColorer, I wasn't able to get working. There are a few that my friend Mason and I have looked at for WordPress that work pretty well and (like many WordPress things) are easily configurable/hackable and free. The code that I've included below (as well as the other code so far in this blog) is colored using the Actionscript HIghlighter featured on <a href="http://www.shockwave-india.com/blog/services/as-highlight2/">Arul's Blog</a>, which allows you to paste in your code and hit a button to get the styled text. Arul's code does a great job, but you have to visit his site to style your code, and then also provide a download link to the text file of your code if you want to provide just a plain text version. But hey, it works. He notes on the site that there is the possibility of releasing the code once he cleans it up, so maybe there will be something one can post on their own site sometime soon.</p>
<p>As for the code below, it is a simple drawing class that allows you to easily draw a generic  box, a hairline box, and a filled rectangle. The main reason, however, that I created the class, is for those occasions where you may need a box that  is not filled and is not made up of flash lines. If you've used Flash enough, you know that if you draw a 3 pixel line box, the corners are often rounded looking, which doesn't fly unless that is what you want in your design. I have worked on several projects that were to use photos that needed a "frame" of a certain width. The drawing class drawFrame method basically draws 4 filled boxes to create a rectangular "frame" of a certain thickness, made entirely of "fill" rather than lines, so the corners are nice and sharp. Of the instances where I have used this class, I have used the drawFrame method 90% of the time. Enjoy.</p>
<div class="igBar"><span id="lactionscript-2"><a href="#" onclick="javascript:showCodeTxt('actionscript-2'); return false;">View as Plain Text<img class="poparrow" src="http://www.plasticstare.com/plains/wp-content/plugins/ig_syntax_hilite/img/poparrow.gif"/></a></span></div>
<div class="syntax_hilite"><span class="langName">Actionscript:</span>
<div id="actionscript-2">
<div class="actionscript">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">/**</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;"> * &nbsp;Drawing</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;"> *&nbsp; @author - Ryan Todd</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;"> *&nbsp; </span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;"> *&nbsp; PlasticStare PlasticWare Codebase Project (PWCB)</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;"> *&nbsp; This code is part of the PlasticStare PlasticWare codebase project. This work is Copyright (c) 2005 Ryan Todd, all rights reserved.</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;"> *&nbsp; Prior permission of the author is required in order to redistribute the source code or algorithms in a commercial product in any </span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;"> *&nbsp; form -- original or derivative, in any programming language. The source code of the equations may be distributed as part of a </span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;"> *&nbsp; non-commercial product, provided that redistributions contain the copyright notice:</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;"> *</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;"> *&nbsp; This Code is Copyright (c) 2005 Ryan Todd, all rights reserved.</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;"> *&nbsp; This work is subject to the terms in http://www.plasticstare.com/codebase_terms_of_use.html.</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;"> *</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;"> *</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;"> *&nbsp; AUTHOR :: Ryan Todd</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;"> *&nbsp; AUTHOR SITE :: http://www.plasticstare.com/</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;"> *&nbsp; CREATED :: 2005/10/15</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;"> *</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;"> *&nbsp; Drawing - this can be used to draw boxes and sometime in the future, other shapes</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;"> *</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;"> *&nbsp; Version :: v.1.0.5.20051015 for Actionscript 2.0</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #808080; font-style: italic;">*/</span> </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000; font-weight: bold;">class</span> com.<span style="color: #006600;">plasticstare</span>.<span style="color: #006600;">utils</span>.<span style="color: #006600;">Drawing</span><span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #000000; font-weight: bold;">function</span> Drawing<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// drawHairlineBox - draws a box at in the specified movieclip with the specified rect and color. the line</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// of the box is of hairline thickness</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #0066CC;">static</span> <span style="color: #000000; font-weight: bold;">function</span> drawHairlineBox<span style="color: #66cc66;">&#40;</span>_mc:<span style="color: #0066CC;">MovieClip</span>,_color:<span style="color: #0066CC;">String</span>, _rectArray:<span style="color: #0066CC;">Array</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">Void</span> <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; _mc.<span style="color: #0066CC;">lineStyle</span><span style="color: #66cc66;">&#40;</span> <span style="color: #cc66cc;color:#800000;">0</span>, <span style="color: #0066CC;">Number</span><span style="color: #66cc66;">&#40;</span>_color<span style="color: #66cc66;">&#41;</span>, <span style="color: #cc66cc;color:#800000;">100</span> <span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; Drawing.<span style="color: #006600;">drawBox</span><span style="color: #66cc66;">&#40;</span>_mc,_color, _rectArray<span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// drawBox</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #0066CC;">static</span> <span style="color: #000000; font-weight: bold;">function</span> drawBox<span style="color: #66cc66;">&#40;</span>_mc:<span style="color: #0066CC;">MovieClip</span>,_color:<span style="color: #0066CC;">String</span>, _rectArray:<span style="color: #0066CC;">Array</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">Void</span> <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; _mc.<span style="color: #0066CC;">moveTo</span><span style="color: #66cc66;">&#40;</span> _rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #66cc66;">&#93;</span>, _rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">1</span><span style="color: #66cc66;">&#93;</span> <span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; _mc.<span style="color: #0066CC;">lineTo</span><span style="color: #66cc66;">&#40;</span> _rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">2</span><span style="color: #66cc66;">&#93;</span>,_rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">1</span><span style="color: #66cc66;">&#93;</span> <span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; _mc.<span style="color: #0066CC;">lineTo</span><span style="color: #66cc66;">&#40;</span> _rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">2</span><span style="color: #66cc66;">&#93;</span>,_rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">3</span><span style="color: #66cc66;">&#93;</span> <span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; _mc.<span style="color: #0066CC;">lineTo</span><span style="color: #66cc66;">&#40;</span> _rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #66cc66;">&#93;</span>,_rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">3</span><span style="color: #66cc66;">&#93;</span> <span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; _mc.<span style="color: #0066CC;">lineTo</span><span style="color: #66cc66;">&#40;</span> _rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #66cc66;">&#93;</span>,_rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">1</span><span style="color: #66cc66;">&#93;</span> <span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// drawFilledBox</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #0066CC;">static</span> <span style="color: #000000; font-weight: bold;">function</span> drawFilledBox<span style="color: #66cc66;">&#40;</span>_mc:<span style="color: #0066CC;">MovieClip</span>,_color:<span style="color: #0066CC;">String</span>,<span style="color: #0066CC;">_alpha</span>:<span style="color: #0066CC;">Number</span>,_rectArray:<span style="color: #0066CC;">Array</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">Void</span> <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; _mc.<span style="color: #0066CC;">lineStyle</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;color:#800000;">0</span>,0x000000,<span style="color: #cc66cc;color:#800000;">0</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; _mc.<span style="color: #0066CC;">beginFill</span> <span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">Number</span><span style="color: #66cc66;">&#40;</span>_color<span style="color: #66cc66;">&#41;</span>,<span style="color: #0066CC;">_alpha</span><span style="color: #66cc66;">&#41;</span>;&nbsp; </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">//</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; _mc.<span style="color: #0066CC;">moveTo</span><span style="color: #66cc66;">&#40;</span> _rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #66cc66;">&#93;</span>,_rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">1</span><span style="color: #66cc66;">&#93;</span> <span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; _mc.<span style="color: #0066CC;">lineTo</span><span style="color: #66cc66;">&#40;</span> _rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">2</span><span style="color: #66cc66;">&#93;</span>,_rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">1</span><span style="color: #66cc66;">&#93;</span> <span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; _mc.<span style="color: #0066CC;">lineTo</span><span style="color: #66cc66;">&#40;</span> _rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">2</span><span style="color: #66cc66;">&#93;</span>,_rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">3</span><span style="color: #66cc66;">&#93;</span> <span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; _mc.<span style="color: #0066CC;">lineTo</span><span style="color: #66cc66;">&#40;</span> _rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #66cc66;">&#93;</span>,_rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">3</span><span style="color: #66cc66;">&#93;</span> <span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; _mc.<span style="color: #0066CC;">lineTo</span><span style="color: #66cc66;">&#40;</span> _rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #66cc66;">&#93;</span>,_rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">1</span><span style="color: #66cc66;">&#93;</span> <span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">//</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; _mc.<span style="color: #0066CC;">endFill</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; </div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// drawFrame - essentially draws 4 boxes inside the specified rect of the color specified. these boxes</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// align along the inside of the top, bottom, left, and right of the rect and have the thickness (from the </span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #808080; font-style: italic;">// rect border to the inner side of the box) specified</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #0066CC;">public</span> <span style="color: #0066CC;">static</span> <span style="color: #000000; font-weight: bold;">function</span> drawFrame<span style="color: #66cc66;">&#40;</span>_mc:<span style="color: #0066CC;">MovieClip</span>,_color:<span style="color: #0066CC;">String</span>, _rectArray:<span style="color: #0066CC;">Array</span>, _thickness<span style="color: #66cc66;">&#41;</span>:<span style="color: #0066CC;">Void</span> <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> topb:<span style="color: #0066CC;">Array</span> = <span style="color: #66cc66;">&#91;</span>_rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #66cc66;">&#93;</span>,_rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">1</span><span style="color: #66cc66;">&#93;</span>,_rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">2</span><span style="color: #66cc66;">&#93;</span>,_rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">1</span><span style="color: #66cc66;">&#93;</span>+_thickness<span style="color: #66cc66;">&#93;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> botb:<span style="color: #0066CC;">Array</span> = <span style="color: #66cc66;">&#91;</span>_rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #66cc66;">&#93;</span>,_rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">3</span><span style="color: #66cc66;">&#93;</span>-_thickness,_rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">2</span><span style="color: #66cc66;">&#93;</span>,_rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">3</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#93;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> lftb:<span style="color: #0066CC;">Array</span> = <span style="color: #66cc66;">&#91;</span>_rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #66cc66;">&#93;</span>,_rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">1</span><span style="color: #66cc66;">&#93;</span>,_rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #66cc66;">&#93;</span>+_thickness,_rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">3</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#93;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">var</span> rgtb:<span style="color: #0066CC;">Array</span> = <span style="color: #66cc66;">&#91;</span>_rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">2</span><span style="color: #66cc66;">&#93;</span>-_thickness,_rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">1</span><span style="color: #66cc66;">&#93;</span>,_rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">2</span><span style="color: #66cc66;">&#93;</span>,_rectArray<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">3</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#93;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; _mc.<span style="color: #0066CC;">lineStyle</span><span style="color: #66cc66;">&#40;</span> <span style="color: #cc66cc;color:#800000;">0</span>, <span style="color: #0066CC;">Number</span><span style="color: #66cc66;">&#40;</span>_color<span style="color: #66cc66;">&#41;</span>, <span style="color: #cc66cc;color:#800000;">0</span> <span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; _mc.<span style="color: #0066CC;">moveTo</span><span style="color: #66cc66;">&#40;</span>topb<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #66cc66;">&#93;</span>,topb<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">1</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; _mc.<span style="color: #0066CC;">beginFill</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">Number</span><span style="color: #66cc66;">&#40;</span>_color<span style="color: #66cc66;">&#41;</span>,<span style="color: #cc66cc;color:#800000;">100</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; Drawing.<span style="color: #006600;">drawBox</span><span style="color: #66cc66;">&#40;</span>_mc,_color, topb<span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; _mc.<span style="color: #0066CC;">endFill</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">Number</span><span style="color: #66cc66;">&#40;</span>_color<span style="color: #66cc66;">&#41;</span>,<span style="color: #cc66cc;color:#800000;">100</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; _mc.<span style="color: #0066CC;">moveTo</span><span style="color: #66cc66;">&#40;</span>botb<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #66cc66;">&#93;</span>,botb<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">1</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; _mc.<span style="color: #0066CC;">beginFill</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">Number</span><span style="color: #66cc66;">&#40;</span>_color<span style="color: #66cc66;">&#41;</span>,<span style="color: #cc66cc;color:#800000;">100</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; Drawing.<span style="color: #006600;">drawBox</span><span style="color: #66cc66;">&#40;</span>_mc,_color, botb<span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; _mc.<span style="color: #0066CC;">endFill</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">Number</span><span style="color: #66cc66;">&#40;</span>_color<span style="color: #66cc66;">&#41;</span>,<span style="color: #cc66cc;color:#800000;">100</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; _mc.<span style="color: #0066CC;">moveTo</span><span style="color: #66cc66;">&#40;</span>lftb<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #66cc66;">&#93;</span>,lftb<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">1</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; _mc.<span style="color: #0066CC;">beginFill</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">Number</span><span style="color: #66cc66;">&#40;</span>_color<span style="color: #66cc66;">&#41;</span>,<span style="color: #cc66cc;color:#800000;">100</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; Drawing.<span style="color: #006600;">drawBox</span><span style="color: #66cc66;">&#40;</span>_mc,_color, lftb<span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; _mc.<span style="color: #0066CC;">endFill</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">Number</span><span style="color: #66cc66;">&#40;</span>_color<span style="color: #66cc66;">&#41;</span>,<span style="color: #cc66cc;color:#800000;">100</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; _mc.<span style="color: #0066CC;">moveTo</span><span style="color: #66cc66;">&#40;</span>rgtb<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">0</span><span style="color: #66cc66;">&#93;</span>,rgtb<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;color:#800000;">1</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; _mc.<span style="color: #0066CC;">beginFill</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">Number</span><span style="color: #66cc66;">&#40;</span>_color<span style="color: #66cc66;">&#41;</span>,<span style="color: #cc66cc;color:#800000;">100</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; Drawing.<span style="color: #006600;">drawBox</span><span style="color: #66cc66;">&#40;</span>_mc,_color, rgtb<span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; _mc.<span style="color: #0066CC;">endFill</span><span style="color: #66cc66;">&#40;</span><span style="color: #0066CC;">Number</span><span style="color: #66cc66;">&#40;</span>_color<span style="color: #66cc66;">&#41;</span>,<span style="color: #cc66cc;color:#800000;">100</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #66cc66;">&#125;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; </div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.plasticstare.com/plains/2006/05/31/testing-syntax-coloring-drawing-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deyel PHP Photogallery Updated</title>
		<link>http://www.plasticstare.com/plains/2005/11/28/deyel-php-photogallery-updated/</link>
		<comments>http://www.plasticstare.com/plains/2005/11/28/deyel-php-photogallery-updated/#comments</comments>
		<pubDate>Tue, 29 Nov 2005 01:44:53 +0000</pubDate>
		<dc:creator>plains</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plasticware]]></category>

		<guid isPermaLink="false">http://www.plasticstare.com/plains_wp/?p=61</guid>
		<description><![CDATA[I finally got around to making some changes to the Deyel PHP photogallery. Using the template.inc class/script from the open-source PHPLib project, Deyel now utilizes templates to display its data, further moving the presentation part of the code away from the data part. In addition, the code has also been updated to utilize part of [...]]]></description>
			<content:encoded><![CDATA[<p>I finally got around to making some changes to the <a href="http://www.plasticstare.com/deyel/">Deyel</a> PHP photogallery. Using the template.inc class/script from the open-source PHPLib project, Deyel now utilizes templates to display its data, further moving the presentation part of the code away from the data part. In addition, the code has also been updated to utilize part of the image file names as a way of displaying the device used to take the photo, in addition to the date on which it was taken. (The gallery now features photos taken using the Sony-Ericsson T300, the Samsung SCH-a670, and the Palm Zire 71.) A few other under-the-hood improvements were also made. The random photo on the index page of this blog was generated using the Deyel application. The next requested feature is the ability to annotate individual images (possibly in the upcoming month or so...).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.plasticstare.com/plains/2005/11/28/deyel-php-photogallery-updated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Applescript Date/Time File Renamer Folder Action</title>
		<link>http://www.plasticstare.com/plains/2005/11/24/applescript-datetime-file-renamer-folder-action/</link>
		<comments>http://www.plasticstare.com/plains/2005/11/24/applescript-datetime-file-renamer-folder-action/#comments</comments>
		<pubDate>Thu, 24 Nov 2005 20:58:18 +0000</pubDate>
		<dc:creator>plains</dc:creator>
				<category><![CDATA[applescript]]></category>
		<category><![CDATA[plasticware]]></category>

		<guid isPermaLink="false">http://www.plasticstare.com/plains_wp/?p=60</guid>
		<description><![CDATA[This is version 1.0 of the renameToDateTimeAndMoveToDateFolder Applescript Folder Action. I created it in order to rename photos taken using a Palm Zire 71, which doesn't have very configurable file naming conventions for the photos taken. The Deyel photo gallery engine that I created in PHP reads jpg photos from directories named with the day [...]]]></description>
			<content:encoded><![CDATA[<p>This is version 1.0 of the renameToDateTimeAndMoveToDateFolder Applescript Folder Action. I created it in order to rename photos taken using a Palm Zire 71, which doesn't have very configurable file naming conventions for the photos taken. The Deyel photo gallery engine that I created in PHP reads jpg photos from directories named with the day that the photo was taken, and the file names must reflect the date/time stamp. So, I wrote this Folder Action to do the job of renaming them appropriately.</p>
<p>Place this applescript in the _root/Library/Scripts/Folder Action Scripts/ directory. Then apply it to a folder of your choice by command clicking on the folder and choosing Attach Folder Action (you must have folder actions enabled).</p>
<p>When the action has been applied to a folder, the script will take any files matching the extension list or the type list and rename them according to the creation date using the format "YYYYMMDDHHMMSS.EXT" and will place them in a folder (create it if necessary) for the day the file was created with the format "YYYY-MM-DD" inside the folder to which the action is applied.</p>
<p>This is handy for organizing digital photos, since most digital cameras give the photos non-meaningful names. This script does NOT use the jpeg EXIF metadata tag. The name is created using the creation date assigned to the file, which may or may not be passed to the file when syncing with the desktop machine. (This was originally created to rename photos synced from the Palm Zire 71). Use at your own risk.</p>
<p>Version 1.0 (Nov. 24, 2005)</p>
<p>Download :: <a href="http://www.plasticstare.com/plasticware/applescript/renametodatetimeandmovetodatefolder.zip">renameToDateTimeAndMoveToDateFolder.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.plasticstare.com/plains/2005/11/24/applescript-datetime-file-renamer-folder-action/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>AS 1.0 MovieClip Extensions</title>
		<link>http://www.plasticstare.com/plains/2005/03/18/as-10-movieclip-extensions/</link>
		<comments>http://www.plasticstare.com/plains/2005/03/18/as-10-movieclip-extensions/#comments</comments>
		<pubDate>Sat, 19 Mar 2005 05:48:59 +0000</pubDate>
		<dc:creator>plains</dc:creator>
				<category><![CDATA[actionscript]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[plasticware]]></category>

		<guid isPermaLink="false">http://www.plasticstare.com/plains_wp/?p=33</guid>
		<description><![CDATA[I decided to re-release this list of prototype functions for actionscript 1.0 that augment the feature set of the MovieClip class. To use, simply add #include "as/MovieClipExtensions.as" (if you are keeping the ".as' files in a directory called "as") to the actionscript on frame 1 of your movie. They are a bit rough and not [...]]]></description>
			<content:encoded><![CDATA[<p>I decided to re-release this list of prototype functions for actionscript 1.0 that augment the feature set of the MovieClip class. To use, simply add #include "as/MovieClipExtensions.as" (if you are keeping the ".as' files in a directory called "as") to the actionscript on frame 1 of your movie. They are a bit rough and not so commented, but they work none-the-less. I have since replaced/updated them with newer AS 2.0 classes and methods. Notable methods included are ::</p>
<ul>
<li>MovieClip.prototype.setPos :: handy for setting the position to an x,y coordinate</li>
<li>MovieClip.prototype.hideMe</li>
<li>MovieClip.prototype.showMe</li>
<li>MovieClip.prototype.loadWithFade :: for loading jpgs and fading them in</li>
<li>MovieClip.prototype.crossFadeTo :: for crossfading clips</li>
<li>MovieClip.prototype.roundCoords :: for use with pixel fonts - rounds to nearest integer coords</li>
<li>MovieClip.prototype.linearAnimate :: for doing linear animations of clip properties</li>
</ul>
<p>Version 1.5</p>
<p>Download :: <a href="http://www.plasticstare.com/plasticware/actionscript/as1/movieClipExtensions.zip"> movieClipExtensions.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.plasticstare.com/plains/2005/03/18/as-10-movieclip-extensions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
