<?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>Illumifi Interactive &#187; Snippets</title>
	<atom:link href="http://dev.illumifi.net/category/snippets/feed/" rel="self" type="application/rss+xml" />
	<link>http://dev.illumifi.net</link>
	<description></description>
	<lastBuildDate>Wed, 26 May 2010 14:16:15 +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>TinyMCE in WordPress Plugins</title>
		<link>http://dev.illumifi.net/blog/snippets/php/wordpress/tinymce-wp/</link>
		<comments>http://dev.illumifi.net/blog/snippets/php/wordpress/tinymce-wp/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 02:51:55 +0000</pubDate>
		<dc:creator>Cam</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://dev.illumifi.net/?p=520</guid>
		<description><![CDATA[I&#8217;ve been to the edge of the internet and back, before I found this tidbit of code that will allow you to use TinyMCE in your WordPress plugins! 1. Add the following code to your plugin add_filter&#40;'admin_head','myplugin_tinymce'&#41;; &#160; function myplugin_tinymce&#40;&#41; &#123; wp_admin_css&#40;'thickbox'&#41;; wp_print_scripts&#40;'jquery-ui-core'&#41;; wp_print_scripts&#40;'jquery-ui-tabs'&#41;; wp_print_scripts&#40;'post'&#41;; wp_print_scripts&#40;'editor'&#41;; add_thickbox&#40;&#41;; wp_print_scripts&#40;'media-upload'&#41;; if &#40;function_exists&#40;'wp_tiny_mce'&#41;&#41; &#123; wp_tiny_mce&#40;&#41;; &#125; &#125; 2. [...]]]></description>
		<wfw:commentRss>http://dev.illumifi.net/blog/snippets/php/wordpress/tinymce-wp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>str_replace() function</title>
		<link>http://dev.illumifi.net/blog/snippets/as3/str_replace/</link>
		<comments>http://dev.illumifi.net/blog/snippets/as3/str_replace/#comments</comments>
		<pubDate>Fri, 22 May 2009 13:21:37 +0000</pubDate>
		<dc:creator>Cam</dc:creator>
				<category><![CDATA[ActionScript 3.0 Snippets]]></category>
		<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://dev.illumifi.net/?p=447</guid>
		<description><![CDATA[function str_replace&#40;search, replace, string&#41; &#123; while&#40;string.indexOf&#40;search&#41; != -1&#41; &#123; var array = string.split&#40;search&#41;; string = array.join&#40;replace&#41;; &#125; return string; &#125; &#160; // Example var str = 'testing\r\nthis'; trace&#40;str&#41;; &#160; var newString = str; newString = str_replace&#40;&#34;\r&#34;, '', newString&#41;; newString = str_replace&#40;&#34;\n&#34;, ' ', newString&#41;; &#160; trace&#40;newString&#41;;]]></description>
		<wfw:commentRss>http://dev.illumifi.net/blog/snippets/as3/str_replace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>randRange Function</title>
		<link>http://dev.illumifi.net/blog/snippets/as3/randrange/</link>
		<comments>http://dev.illumifi.net/blog/snippets/as3/randrange/#comments</comments>
		<pubDate>Sat, 28 Mar 2009 19:48:54 +0000</pubDate>
		<dc:creator>Cam</dc:creator>
				<category><![CDATA[ActionScript 3.0 Snippets]]></category>
		<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://dev.illumifi.net/?p=419</guid>
		<description><![CDATA[I find myself needing a random number between 2 numbers often. So I wrote this awhile ago and then go trotting back through code to find it. I thought it would be better if I just posted it here for quicker access function randRange&#40;minNum:Number, maxNum:Number&#41;:Number &#123; return &#40;Math.floor&#40;Math.random&#40;&#41; * &#40;maxNum - minNum + 1&#41;&#41; + [...]]]></description>
		<wfw:commentRss>http://dev.illumifi.net/blog/snippets/as3/randrange/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>loadXML() Function</title>
		<link>http://dev.illumifi.net/blog/snippets/as3/loadxml/</link>
		<comments>http://dev.illumifi.net/blog/snippets/as3/loadxml/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 19:44:14 +0000</pubDate>
		<dc:creator>Cam</dc:creator>
				<category><![CDATA[ActionScript 3.0 Snippets]]></category>
		<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://dev.illumifi.net/?p=352</guid>
		<description><![CDATA[This function takes an xml file and creates an object of its contents making it accessible after loading package &#123; // required classes import flash.events.Event; import flash.net.URLLoader; import flash.net.URLRequest; &#160; public class loadXML &#123; &#160; // supply path to xml file as only parameter private function loadXML&#40;file:String = null&#41; &#123; if &#40;!file&#41; &#123; return; &#125; [...]]]></description>
		<wfw:commentRss>http://dev.illumifi.net/blog/snippets/as3/loadxml/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Velocity &#124; Distance &#124; Time &#124; Displacement</title>
		<link>http://dev.illumifi.net/blog/snippets/velocity/</link>
		<comments>http://dev.illumifi.net/blog/snippets/velocity/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 15:06:05 +0000</pubDate>
		<dc:creator>Cam</dc:creator>
				<category><![CDATA[Flash CS3 Components]]></category>
		<category><![CDATA[Snippets]]></category>
		<category><![CDATA[blog]]></category>

		<guid isPermaLink="false">http://dev.illumifi.net/?p=272</guid>
		<description><![CDATA[Often is the case you need to calculate for one of the above. So I decided to make this easy on myself and post a note so that I don&#8217;t have to remember all the physics and pre-cal that I&#8217;ve learned just to get this basic equation. Note: I often use this to determine tween [...]]]></description>
		<wfw:commentRss>http://dev.illumifi.net/blog/snippets/velocity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
