<?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>SavageLook.com &#187; kuler</title>
	<atom:link href="http://savagelook.com/blog/tag/kuler/feed" rel="self" type="application/rss+xml" />
	<link>http://savagelook.com/blog</link>
	<description>Blowing your mind, one line of code at a time</description>
	<lastBuildDate>Wed, 18 Jan 2012 13:38:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Adobe Swatch Exchange (ASE) Files in AS3</title>
		<link>http://savagelook.com/blog/actionscript3/adobe-swatch-exchange-ase-files-in-as3</link>
		<comments>http://savagelook.com/blog/actionscript3/adobe-swatch-exchange-ase-files-in-as3#comments</comments>
		<pubDate>Sat, 07 Aug 2010 15:48:02 +0000</pubDate>
		<dc:creator>Tony Lukasavage</dc:creator>
				<category><![CDATA[ActionScript3]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[ase]]></category>
		<category><![CDATA[kuler]]></category>
		<category><![CDATA[swatchloader]]></category>

		<guid isPermaLink="false">http://savagelook.com/blog/?p=127</guid>
		<description><![CDATA[Download the AS3 Class: SwatchLoader.as Source Code: View Source SwatchLoader.as is an AS3 class for FP10 that loads Adobe Swatch Exchange (ASE) files into an object.  From this object you can access all group and color information for the swatch.  It handles RGB, CMYK, and grayscale color modes. This demo was inspired by the work [...]<p><a href="http://savagelook.com/blog/actionscript3/adobe-swatch-exchange-ase-files-in-as3">Adobe Swatch Exchange (ASE) Files in AS3</a> is a post from: <a href="http://savagelook.com/blog">SavageLook.com</a></p>
]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><div id="attachment_128" class="wp-caption aligncenter" style="width: 448px"><a href="http://savagelook.com/demos/swatch_loader/swatch_loader_test.html" rel="shadowbox;height=250;width=800;"><img class="size-full wp-image-128   " title="swatch" src="http://savagelook.com/blog/wp-content/uploads/2010/07/swatch.jpg" alt="" width="438" height="127" /></a><p class="wp-caption-text">SwatchLoader.as in action (click image for demo)</p></div>
<p>Download the AS3 Class: <a href="http://savagelook.com/demos/swatch_loader/SwatchLoader.zip" target="_self">SwatchLoader.as</a><br />
Source Code: <a href="http://savagelook.com/demos/swatch_loader/srcview/index.html" target="_blank">View Source</a></p>
<p>SwatchLoader.as is an AS3 class for FP10 that loads Adobe Swatch Exchange (ASE) files into an object.  From this object you can access all group and color information for the swatch.  It handles RGB, CMYK, and grayscale color modes.</p>
<p>This demo was inspired by the work of Jerome at <a href="http://wemakedotcoms.com" target="_blank">wemakedotcoms.com</a> (AKA, elguapoloco at the Away3D dev list) who recently posted an Away3D site that used the Kuler RSS feed.  Sites like <a href="http://kuler.adobe.com" target="_blank">Kuler</a> and <a href="http://www.colourlovers.com/" target="_blank">ColourLovers</a> provide community supported collections of free color swatches.  Though the idea of creating a swatch of 5 colors is simple, it acts as creative inspiration.  And as such I was inspired to use these swatches as themes or skins for future Flash projects.</p>
<div id="attachment_156" class="wp-caption aligncenter" style="width: 462px"><a href="http://kuler.adobe.com" target="_blank"><img class="size-full wp-image-156   " title="kuler" src="http://savagelook.com/blog/wp-content/uploads/2010/07/kuler1.jpg" alt="" width="452" height="311" /></a><p class="wp-caption-text">kuler.adobe.com</p></div>
<p>Not wanting to be at the mercy of the RSS (Jerome mentioned that he had some responsiveness issues with it) I decided to write a parser for ASE.  While the format is relatively simple and can be used by almost any Adobe CS 3+ product, it is proprietary.  Fortunately I was pointed to<a href="http://www.selapa.net/couleurs/fileformats.php" target="_blank"> this site</a>, where the binary format of many image types can be found.  Armed with this second hand specification and my trusty hex editor, I churned out the finalized code in just a few hours.  Now it can successfully handle ASE formatted swatches from Kuler and ColourLovers.  In theory it should work for any ASE, but I have not yet tested it on anything but swatches from those 2 sites.</p>
<p>With a little luck (and free time) you&#8217;ll probably see this included in some of my demos in the near future.  Send a comment if you find it useful or if you run into any problems.</p>
<p><em>One last note, its not error that the ColourLovers&#8217; swatch name is always &#8220;unknown.&#8221;  The ASE files generated by ColourLovers do not include the name of the swatch.</em></p>
<p><a href="http://savagelook.com/blog/actionscript3/adobe-swatch-exchange-ase-files-in-as3">Adobe Swatch Exchange (ASE) Files in AS3</a> is a post from: <a href="http://savagelook.com/blog">SavageLook.com</a></p>
<div class="shr-publisher-127"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://savagelook.com/blog/actionscript3/adobe-swatch-exchange-ase-files-in-as3/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
