<?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/"
	>

<channel>
	<title>blag</title>
	<atom:link href="http://blog.sibhod.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://blog.sibhod.com</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Tue, 05 May 2009 08:54:43 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ImageCache</title>
		<link>http://blog.sibhod.com/?p=12</link>
		<comments>http://blog.sibhod.com/?p=12#comments</comments>
		<pubDate>Tue, 05 May 2009 08:54:43 +0000</pubDate>
		<dc:creator>sibhod</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.sibhod.com/?p=12</guid>
		<description><![CDATA[In the process of building a site, I&#8217;m also attempting to build a solid library of classes I can re-use in future work to speed up the process. One simple, little class I&#8217;ve written is an internal image cache class to cache instances of loaded BitmapData keyed to their URLs. It can also be used [...]]]></description>
			<content:encoded><![CDATA[<p><span>In the process of building a site, I&#8217;m also attempting to build a solid library of classes I can re-use in future work to speed up the process. One simple, little class I&#8217;ve written is an internal image cache class to cache instances of loaded BitmapData keyed to their URLs. It can also be used to as a static reference for bitmaps you tend to reuse or need global access to; just use a unique string as the key. All methods are static, and the class cannot be instantiated. </span></p>
<p>Public static methods:</p>
<p><span> </span><strong><span><span>isCached</span></span></strong><span>(</span><span> </span>key<span>:</span>String<span> </span><span>)</span><span>:</span>Boolean<br />
Returns true if the class is storing a bitmap under the key <span>param</span>.</p>
<p><strong>store</strong><span>(</span><span> </span>key<span>:</span>String<span>, </span><span><span>bitmapData</span></span><span>:</span>BitmapData<span> </span><span>)</span><span>:</span><span>void<br />
Stores the <span>bitmapData</span> under the key, will overwrite previous values.</span></p>
<p><span><span> </span><strong>retrieve</strong><span>(</span><span> </span>key<span>:</span>String<span>, </span><span><span>forgetOnRetrieve</span></span><span>:</span>Boolean<span> </span><span>=</span><span> </span><span>false</span><span>)</span><span>:</span>BitmapData<br />
<span><span>Returns the BitmapData stored under the key. Optional forget <span>param</span> to auto-run the </span></span><strong>forget</strong> method.</span></p>
<p><strong>forget</strong><span>(</span><span>key</span><span>:</span><span>String</span><span>)</span><span>:</span>void<br />
Removes the class&#8217; reference to the key <span>param</span>.</p>
<p><strong>dispose</strong><span>(</span><span> </span>key<span>:</span>String<span> </span><span>)</span><span>:</span>Boolean<br />
Runs <strong><span>BitmapData.dispose</span></strong><span> on the key&#8217;s BitmapData. Returns true if the class contains the key. Disposing a BitmapData will also destroy any non-cloned instances of this BitmapData, so be careful. Use </span><strong>forget </strong>if you just want to delete this class&#8217; reference.</p>
<p>File here. Let me know how much it sucks:<br />
<a href="http://lab.sibhod.com/ImageCache.as">http://lab.sibhod.com/ImageCache.as</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sibhod.com/?feed=rss2&amp;p=12</wfw:commentRss>
		</item>
		<item>
		<title>Hello Blag</title>
		<link>http://blog.sibhod.com/?p=9</link>
		<comments>http://blog.sibhod.com/?p=9#comments</comments>
		<pubDate>Fri, 01 May 2009 17:34:56 +0000</pubDate>
		<dc:creator>sibhod</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.sibhod.com/?p=9</guid>
		<description><![CDATA[I&#8217;ve finally set up a wordpress blog to be able to post code, design, links, or whatever. Hopefully this will lead up to me finally finishing my personal site sibhod.com. Blag starts now.
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve finally set up a wordpress blog to be able to post code, design, links, or whatever. Hopefully this will lead up to me finally finishing my personal site <a href="http://sibhod.com">sibhod.com</a>. Blag starts now.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.sibhod.com/?feed=rss2&amp;p=9</wfw:commentRss>
		</item>
	</channel>
</rss>
