<?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>Scott Rockers&#039; Blog &#187; Wordpress</title>
	<atom:link href="http://scottrockers.com/blog/tag/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://scottrockers.com/blog</link>
	<description>Website Designer and Developer, Flash, Wordpress, jQuery, and Other Scripts</description>
	<lastBuildDate>Mon, 22 Aug 2011 21:48:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>WordPress List Category Posts without Breaking Sidebar</title>
		<link>http://scottrockers.com/blog/resources/simple-code-tricks/wordpress-list-category-posts-without-breaking-sidebar</link>
		<comments>http://scottrockers.com/blog/resources/simple-code-tricks/wordpress-list-category-posts-without-breaking-sidebar#comments</comments>
		<pubDate>Wed, 20 Jul 2011 19:17:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Simple Code Tricks]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Fix]]></category>
		<category><![CDATA[loop]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[query_posts]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://scottrockers.com/blog/?p=1240</guid>
		<description><![CDATA[As I was creating a page template for wordpress, I wanted to list posts from a specific category on a page when I ran into a interesting problem, the query_posts function I was using was causing breaks in the execution of conditional tags like is_page(&#8217;25&#8242;) in the sidebar template.  I looked around on the web [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://scottrockers.com/blog/wp-content/uploads/2011/07/query_post-image.jpg" alt="query_post codex" title="query_post codex" width="590" height="300" class="aligncenter size-full wp-image-1244" /><br />
As I was creating a page template for wordpress, I wanted to list posts from a specific category on a page when I ran into a interesting problem, the query_posts function I was using was causing breaks in the execution of conditional tags like is_page(&#8217;25&#8242;) in the sidebar template.  I looked around on the web for a while before finally finding the solution that worked for me. So I am rewriting the solution here for reference and so anyone else may find it easier.</p>
<p>Here is how you list posts from a particular category in a wordpress page template, right before the &#8220;while (have_posts()) : the_post(); &#8221; call add:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> query_posts<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'category_name=name&amp;showposts=100'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #666666; font-style: italic;">/*  change name to the name of the category posts you want to display   */</span>  <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p>The reason the wordpress function query_posts() breaks the sidebar template is because its not a simple database query collecting posts from a specific category, but its resetting the query object as a whole to reflect a normal category query. </p>
<p>So to fix the sidebar template you have to go with creating a new query object through WP_Query() in your page template. So here is the before and after of the loop in a page template.</p>
<p><strong>Page Template Loop BEFORE:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> query_posts<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'category_name=name&amp;showposts=100'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span>have_posts<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> the_post<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
       &lt;!-- do stuff ... --&gt;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endwhile</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

<p><strong>Page Template Loop AFTER:</strong></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #000088;">$cat_posts</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> WP_Query<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'category_name=name'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$cat_posts</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">have_posts</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
         <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$cat_posts</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">have_posts</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000088;">$cat_posts</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">the_post</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
                 &lt;!-- do stuff ... --&gt;
         <span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endwhile</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endif</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

</pre>
<p>Hope that helps someone, cya.</p>
]]></content:encoded>
			<wfw:commentRss>http://scottrockers.com/blog/resources/simple-code-tricks/wordpress-list-category-posts-without-breaking-sidebar/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Dreamy Spoon Website</title>
		<link>http://scottrockers.com/blog/portfolio/freelance-projects/the-dreamy-spoon-website</link>
		<comments>http://scottrockers.com/blog/portfolio/freelance-projects/the-dreamy-spoon-website#comments</comments>
		<pubDate>Thu, 03 Mar 2011 21:35:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Freelance Projects]]></category>
		<category><![CDATA[Actionscript 3]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[music player]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[SWFAddress]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://scottrockers.com/blog/?p=1194</guid>
		<description><![CDATA[Yesterday, I finished developing another website called The Dreamy Spoon. The Dreamy Spoon is a Self Served Frozen Desserts Store located in Maumelle , Arkansas and it a full flash website that also has a wordpress blog with it. This has to be one the most fun websites I have done in a while, partly [...]]]></description>
			<content:encoded><![CDATA[<table border="0" cellspacing="0" cellpadding="4" width="100%">
<tbody>
<tr>
<td><a href="http://scottrockers.com/blog/wp-content/uploads/2011/03/the-dreamy-spoon-website.jpg" rel="shadowbox[post-1194];player=img;"><img class="aligncenter size-medium wp-image-1195" title="the-dreamy-spoon-website" src="http://scottrockers.com/blog/wp-content/uploads/2011/03/the-dreamy-spoon-website-300x191.jpg" alt="" width="300" height="191" /></a></td>
<td><a href="http://scottrockers.com/blog/wp-content/uploads/2011/03/the-dreamy-spoon-blog.jpg" rel="shadowbox[post-1194];player=img;"><img class="aligncenter size-medium wp-image-1196" title="the-dreamy-spoon-blog" src="http://scottrockers.com/blog/wp-content/uploads/2011/03/the-dreamy-spoon-blog-300x194.jpg" alt="" width="300" height="194" /></a></td>
</tr>
</tbody>
</table>
<p>Yesterday, I finished developing another website called <a title="The Dreamy Spoon" href="http://www.thedreamyspoon.com/" target="_blank">The Dreamy Spoon</a>. The Dreamy Spoon is a Self Served Frozen Desserts Store located in Maumelle , Arkansas and it a full flash website that also has a <a title="wordpress" href="http://wordpress.org/" target="_blank">wordpress </a>blog with it. This has to be one the most fun websites I have done in a while, partly because of the silliness of the design (which was done by Cody Scott of  <a title="Kinetic Media Solutions" href="http://web.mac.com/codylscott/iWeb/KMS/Welcome.html" target="_blank">Kinetic Media Solutions</a> ). Some of the special things about the website are they it uses <a title="SWFAddress" href="http://www.asual.com/swfaddress/" target="_blank">SWFAddress </a>to increase SEO and add the ability to go straight to a specific page, as well as a custom MP3 music player, and all the animations were pretty cool too. The website includes everything from a flavors page, a contact page, and links to the social media websites.</p>
<p>One of the hardest things to code for the website was getting the stage to resize correctly when the user resizes the browser window, because the grassy hills had to stay at the bottom and the cloud background had to scale correctly.</p>
<p>To increase SEO, I created the <a title="The Dreamy Spoon Blog" href="http://www.thedreamyspoon.com/blog" target="_blank">The Dreamy Spoon Blog</a> (made from WordPress) that the owner could add news posts and I also duplicated the flash pages  into wordpress pages and basically hide them from the user (meaning no actual links to them), but when I submit a sitemap to <a title="Google Web Mastertools" href="www.google.com/webmasters/tools" target="_blank">Google Web Mastertools</a> I will include those links so they get indexed.</p>
<p>This might be the best flash website I have done so far and it was a lot of fun to work on, let me know what you guys think.</p>
<p>Cya</p>
]]></content:encoded>
			<wfw:commentRss>http://scottrockers.com/blog/portfolio/freelance-projects/the-dreamy-spoon-website/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Richard Godwin Website</title>
		<link>http://scottrockers.com/blog/portfolio/freelance-projects/richard-godwin-website</link>
		<comments>http://scottrockers.com/blog/portfolio/freelance-projects/richard-godwin-website#comments</comments>
		<pubDate>Thu, 14 Oct 2010 20:23:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Freelance Projects]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://scottrockers.com/blog/?p=1158</guid>
		<description><![CDATA[I have finished working on another freelance website for a client, its called richardgodwin.net, and as you probably guessed it was for a person named Richard Godwin.  Richard is a really talented writer of dark crime fiction and noir,  and is about to publish his book, called &#8216;Apostle Rising.&#8217;  He had two blogs already that [...]]]></description>
			<content:encoded><![CDATA[<table border="0" width="100%">
<tbody>
<tr>
<td><a href="http://scottrockers.com/blog/wp-content/uploads/2010/10/richardgodwin-website.jpg" rel="shadowbox[post-1158];player=img;"><img class="aligncenter size-medium wp-image-1159" style="border: 1px solid white;" title="richardgodwin-website" src="http://scottrockers.com/blog/wp-content/uploads/2010/10/richardgodwin-website-300x211.jpg" alt="Richard Godwin Website" width="300" height="211" /></a></td>
<td><a href="http://scottrockers.com/blog/wp-content/uploads/2010/10/richardgodwin-blog.jpg" rel="shadowbox[post-1158];player=img;"><img class="aligncenter size-medium wp-image-1160" style="border: 1px solid white;" title="richardgodwin-blog" src="http://scottrockers.com/blog/wp-content/uploads/2010/10/richardgodwin-blog-300x211.jpg" alt="Richard Godwin Blog - Welcome to the Slaughterhouse" width="300" height="211" /></a></td>
</tr>
</tbody>
</table>
<p>I have finished working on another freelance website for a client, its called <a title="Richard Godwin Website" href="http://richardgodwin.net" target="_blank">richardgodwin.net</a>, and as you probably guessed it was for a person named Richard Godwin.  Richard is a really talented writer of dark crime fiction and noir,  and is about to publish his book, called &#8216;Apostle Rising.&#8217;  He had two blogs already that he consistently updated, so it was an obvious choice to build his site off of the <a title="Wordpress Blogging Framework" href="http://wordpress.org/" target="_blank">WordPress Framework</a>. Another reason I built the site using the WordPress framework is because of the awesome admin section it has. It really does do a great job in allowing the client to change the content on the website whenever they want, especially when they don&#8217;t have any coding knowledge.</p>
<p>As I worked on the site, Richard hired a graphic designer named <a title="Matthew Swann Website" href="http://mattswanncreative.blogspot.com/" target="_blank">Matthew Swann</a> to finalize some graphics for the site. I usually do the graphics as well for the sites I work on, but it was a nice change of pace to have some help and it was really great working with Matthew.</p>
<p>There are a few special things I did for this site, that I want to list off here. There was a great plugin called <a title="Wordpress Stats" href="http://wordpress.org/extend/plugins/stats/" target="_blank">WordPress.com Stats</a> from their old site, that I implemented into their new site that lets them view their hits and pageviews from the WordPress dashboard. There were some problems initially with it but I fixed it by going into phpMyAdmin and messing with some fields in the SQL database.  For the navigation of the website and blog, they really liked the <a title="Horizontal CSS Menus" href="http://www.cssmenumaker.com/horizontal_css_menu.php" target="_blank">CSS Horizontal Menus</a> I found on <a href="http://www.cssmenumaker.com/" target="_blank">http://www.cssmenumaker.com</a>. So I implemented one of those into the theme, and changed the color around to go with the rest of the site a little better. Another cool item on the site is the <a title="Steel Melting Flash Text Effect" href="http://activeden.net/item/xml-textlogo-steel-melting-effect/50114?ref=scottrockers" target="_blank">Steel Melting Flash Text Effect</a> in the banner. I bought the file from <a title="Flash Files for Sale" href="http://activeden.net/?ref=scottrockers" target="_blank">activeden</a> and added it to the site on two different pages. I think it looks really great and it achieved the flashy effect that Richard was wanting for announcing his upcoming book.</p>
<p>The last thing I want to talk about is the new default theme for WordPress called <a title="Twenty Ten WordPress Theme" href="http://wordpress.org/extend/themes/twentyten" target="_blank">Twenty Ten</a>. I created his blog theme from the Twenty Ten Theme and I just wanted to say that it was really easy to work with and modify, and that it comes with a ton more admin options in the dashboard area that the old default theme was really missing. My hat goes off to the WordPress team as they constantly raise the bar of their product again and again.</p>
<p>Cya</p>
]]></content:encoded>
			<wfw:commentRss>http://scottrockers.com/blog/portfolio/freelance-projects/richard-godwin-website/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress and Flash 10x Cookbook Review</title>
		<link>http://scottrockers.com/blog/portfolio/freelance-projects/wordpress-and-flash-10x-cookbook-review</link>
		<comments>http://scottrockers.com/blog/portfolio/freelance-projects/wordpress-and-flash-10x-cookbook-review#comments</comments>
		<pubDate>Fri, 25 Jun 2010 21:11:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Freelance Projects]]></category>
		<category><![CDATA[Actionscript 3]]></category>
		<category><![CDATA[Cookbook]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://scottrockers.com/blog/?p=1096</guid>
		<description><![CDATA[As you may know, I have completed quite a few projects and written several posts regarding the integration of Flash and WordPress. In fact, my latest project was a complete Flash and WordPress Website called RocFolio 2. A few weeks ago I was excited to be contacted by Packt Publishing. They asked me to review [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="https://www.packtpub.com/wordpress-and-flash-10x-cookbook/book"><img class="aligncenter size-full wp-image-1103" title="flash-cookbook" src="http://scottrockers.com/blog/wp-content/uploads/2010/06/flash-cookbook.jpg" alt="" width="590" height="300" /></a></p>
<p>As you may know, I have completed quite a few projects and written several posts regarding the integration of <a title="Adobe Flash" href="http://www.adobe.com/products/flash/" target="_blank">Flash</a> and <a title="Wordpress" href="http://wordpress.org/" target="_blank">WordPress</a>. In fact, my latest project was a complete <a title="Flash WordPress Website" href="http://activeden.net/item/rocfolio-2-flash-wordpress-template/101207?ref=-scottrockers" target="_blank">Flash and WordPress Website</a> called RocFolio 2.</p>
<p>A few weeks ago I was excited to be contacted by Packt Publishing. They asked me to review one of their books, &#8220;WordPress and Flash 10x Cookbook&#8221;. I was honored that they contacted me and excited for the opportunity to read through their book and see what I could learn. Here is the book information followed by my review.</p>
<p><strong>Book Information</strong></p>
<p>Full Title: <a title="Wordpress and Flash 10x Cookbook" href="https://www.packtpub.com/wordpress-and-flash-10x-cookbook/book" target="_blank">WordPress and Flash 10x Cookbook</a><br />
Author(s): Peter Spannagle, Sarah Soward<br />
Pages: 268<br />
Published: April 2010<br />
Publisher: <a title="Packt Publishing" href="http://www.packtpub.com/" target="_blank">Packt Publishing</a><br />
ISBN: 978-1-847198-82-2</p>
<p><strong>My Review</strong></p>
<p>The book as a whole is written well and includes over 50 simple and effective techniques on how to control certain tasks relating to Flash content in WordPress. The easy-to-follow step by step instructions, and pictures to help out those of us who are more visual, that accompany the techniques make integrating Flash and WordPress a fairly straightforward process.</p>
<p>This book is aimed at <em>new or intermediate</em> <em>WordPress users</em> who are interested in learning how to create the unique and media-rich sites that using plug-ins and Flash can provide, so much of the book’s content I was already fairly familiar with.  But for the newer user looking to enhance their personal or business sites and blogs, this book definitely contains strategies and techniques to help you do just that. Just remember that a working knowledge of XHTML, CSS, and graphic design is helpful and familiarity with WordPress is required, because the book does not address the basic mechanics of using WordPress itself. Also, any previous experience with Flash is helpful but not necessary.</p>
<p>Honestly, the Cookbook focused more on how to add, edit, and embed Flash into WordPress than an actual integration of the two, which is what I had originally thought it was going to be about. It also mentions several really nice WordPress plug-ins, some of which were strictly for helping you add and control Flash on your WordPress site, while others mentioned are to help you with SEO, Google Sitemaps, and optimizing your WordPress site as a whole. The Cookbook also delves into some Actionscript 3.0 scripting which is followed by examples paired with actual code. Here are links to some of the plug-ins the book mentions that I found to be particularly helpful tools in building a WordPress site:</p>
<p><a title="Kimili Flash Embed Plugin" href="http://kimili.com/plugins/kml_flashembed" target="_blank">Kimili Flash Embed Plugin</a><br />
<a title="Dean's FKCEditor Plugin" href="http://wordpress.org/extend/plugins/fckeditor-for-wordpress-plugin/" target="_blank">Dean&#8217;s FKCEditor  Plugin</a><br />
<a title="Google Sitemaps XML Plugin" href="http://wordpress.org/extend/plugins/google-sitemap-generator/" target="_blank">Google Sitemaps XML Plugin</a><br />
<a title="SEO Title Tags Plugin" href="http://wordpress.org/extend/plugins/seo-title-tag/" target="_blank">SEO Title Tags Plugin</a><br />
<a title="FLV Embed Plugin" href="http://wordpress.org/extend/plugins/flv-embed/" target="_blank">FLV Embed Plugin</a></p>
<p>If you don&#8217;t know how to use these plug-ins, or have an overall desire to learn more about Flash content within WordPress, the <a title="Wordpress and Flash 10x Cookbook" href="https://www.packtpub.com/wordpress-and-flash-10x-cookbook/book" target="_blank">WordPress and Flash 10x Cookbook</a> definitely explains in detail the best way to do so. Overall, this book is a great reference and would be a helpful addition to your desk or workspace, especially if you’re a new or intermediate designer/developer. Hey, even if you&#8217;re an advanced user it could still come in handy, teaching you something you might have missed along the way as you taught yourself… we all have something to learn. Right?</p>
<p>Cya</p>
]]></content:encoded>
			<wfw:commentRss>http://scottrockers.com/blog/portfolio/freelance-projects/wordpress-and-flash-10x-cookbook-review/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Housemadehome.net Website</title>
		<link>http://scottrockers.com/blog/portfolio/freelance-projects/housemadehome-net-website</link>
		<comments>http://scottrockers.com/blog/portfolio/freelance-projects/housemadehome-net-website#comments</comments>
		<pubDate>Wed, 19 May 2010 20:04:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Freelance Projects]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://scottrockers.com/blog/?p=1091</guid>
		<description><![CDATA[I have finished up another website for a client of mine (my wife), designed for her blog called housemadehome.net. The blog chronicles the renovations and decorating of our house, some recipes, and stories associated with the raising of our family. I worked really closely with her on the design of the site and I think [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://scottrockers.com/blog/wp-content/uploads/2010/05/hmh.jpg" rel="shadowbox[post-1091];player=img;"><img class="aligncenter size-medium wp-image-1092" style="border: 1px solid white;" title="house made home website" src="http://scottrockers.com/blog/wp-content/uploads/2010/05/hmh-300x211.jpg" alt="" width="300" height="211" /></a></p>
<p>I have finished up another website for a client of mine (my wife), designed for her blog called <a title="House made home " href="http://housemadehome.net" target="_blank">housemadehome.net</a>. The blog chronicles the renovations and decorating of our house, some recipes, and stories associated with the raising of our family. I worked really closely with her on the design of the site and I think it came out really well. I developed it using the <a title="wordpress" href="http://wordpress.org/" target="_blank">WordPress</a> backend, so she could easily make posts to it and handle the whole site by herself. We focused a lot on search engine optimization and the site has had a really good start so far&#8230; she has over 15 followers already.  There are tons of home design blogs out there and they are getting bigger all the time. If you are looking for a custom made blog template, contact me so we can discuss the details of the project.</p>
<p>Cya</p>
]]></content:encoded>
			<wfw:commentRss>http://scottrockers.com/blog/portfolio/freelance-projects/housemadehome-net-website/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>InVeritas Website</title>
		<link>http://scottrockers.com/blog/portfolio/freelance-projects/inveritas-website</link>
		<comments>http://scottrockers.com/blog/portfolio/freelance-projects/inveritas-website#comments</comments>
		<pubDate>Thu, 13 May 2010 15:16:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Freelance Projects]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://scottrockers.com/blog/?p=1085</guid>
		<description><![CDATA[I have recently just finished working on another freelance website for a company called InVeritas. InVeritas Research &#38; Consulting, Inc., is a national research and consulting firm specializing in strategic communications, political polling and research, government relations, grassroots/grasstops organizing, press relations and message development. This client had a very specific vision in mind about how [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://scottrockers.com/blog/wp-content/uploads/2010/05/inveritas-website.jpg" rel="shadowbox[post-1085];player=img;"><img class="aligncenter size-medium wp-image-1086" style="border: 1px solid white;" title="inveritas-website" src="http://scottrockers.com/blog/wp-content/uploads/2010/05/inveritas-website-300x220.jpg" alt="inveritas-website" width="300" height="220" /></a></p>
<p>I have recently just finished working on another freelance website for a company called <a href="http://www.inveritasinfo.com">InVeritas</a>. InVeritas Research &amp; Consulting, Inc., is a national research and  consulting firm specializing in strategic communications, political  polling and research, government relations, grassroots/grasstops  organizing, press relations and message development. This client had a very specific vision in mind about how they wanted their website to look and feel, and it was my job to make that vision come  true.</p>
<p>This website is built on top of a wordpress backend so they can easily make posts or news alerts whenever they want. I used several wordpress plugins in the development of this site. For the menu I used the <a title="PixoPoint Menu Plugin" href="http://pixopoint.com/products/pixopoint-menu/" target="_blank">PixoPoint Menu Plugin</a> which is a really great wordpress menu plugin. This plugin comes with tons of customization options and allows you to easily add your own custom dropdown menu to any WordPress site. At first it was a little difficult to work with  but in the end it did exactly what I needed for it to do. Another plugin I used was the  <a title="Redirection plugin" href="http://urbangiraffe.com/plugins/redirection/" target="_blank">Redirection Plugin</a> which is used  to manage 301 redirections, keep track of 404  errors, and generally tidy up any loose ends your site may have.  I also used the <a title="Exec-php Plugin" href="http://bluesome.net/post/2005/08/18/50/" target="_blank">Exec-PHP</a> plugin to allow me to run any php code thats in posts, pages and text widgets. The final plugin I used was the <a title="add html to pages" href="http://www.introsites.co.uk/wordpress/html-on-pages-plugin.html" target="_blank">.html on Pages</a> WordPress plugin, which adds &#8220;.html&#8221; to the end of all the pages on the site.</p>
<p>I always try to learn something new from any project I undertake, and this one was no exception. The main thing to  realize when building or creating something for a client is that its really important to work with the client and give them exactly what they want, because in the end they are the ones paying for it. It i s hard sometimes because what they want isn&#8217;t always the easiest, quickest, or best solution. Its important to tell the client what they need to know to make the best decision though.</p>
<p>I worked with Kinetic Media Solutions again on this project and I enjoyed working with InVeritas as well.</p>
<p>Cya</p>
]]></content:encoded>
			<wfw:commentRss>http://scottrockers.com/blog/portfolio/freelance-projects/inveritas-website/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flash WordPress Template called RocFolio 2</title>
		<link>http://scottrockers.com/blog/portfolio/sellable-items/flash-wordpress-template-called-rocfolio-2</link>
		<comments>http://scottrockers.com/blog/portfolio/sellable-items/flash-wordpress-template-called-rocfolio-2#comments</comments>
		<pubDate>Wed, 05 May 2010 14:24:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sellable Items]]></category>
		<category><![CDATA[Actionscript 3]]></category>
		<category><![CDATA[ActiveDen]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://scottrockers.com/blog/?p=1079</guid>
		<description><![CDATA[I have just finished my second website template, it&#8217;s a Flash WordPress Template called RocFolio 2.  This Flash WordPress Template is perfect as a portfolio or if you want to display your latest featured work in a great way. If you use wordpress, then it automatically updates itself by getting the information from your wordpress [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><a href="http://activeden.net/item/rocfolio-2-flash-wordpress-template/101207?ref=scottrockers"><img class="aligncenter size-full wp-image-1080" style="border: 1px solid white;" title="flash-wordpress-template" src="http://scottrockers.com/blog/wp-content/uploads/2010/05/flash-wordpress-template.jpg" alt="flash-wordpress-template" width="590" height="300" /></a></p>
<p>I have just finished my second website template, it&#8217;s a <a title="Flash WordPress Template" href="http://activeden.net/item/rocfolio-2-flash-wordpress-template/101207?ref=scottrockers" target="_blank">Flash WordPress Template</a> called RocFolio 2.  This Flash WordPress Template is perfect as a portfolio or if you  want to display your latest featured work in a great way. If you use wordpress, then it  automatically updates itself by getting the information from your  wordpress site after you make new posts. If you don’t have a wordpress  blog, a sample  XML  file is included that you can use. This template is  very easy to use, easy to setup, and easy to customize all through  XML  . RocFolio 2 comes with a help file and 5 different themes. The different flash themes include a Dark, Light, Bokeh, Starfield, and Two-Tone version, or  you can customize the look and feel of it very easily. Also, each templates include  a contact form with error checking, and a muic player with tons of features. This Flash WordPress Template includes navigation for going between multiple Feeds (or multiple  sample xml files) or external links, and another navigational menu  that can be used as social media menu that has a special random letter hover effect. Like I have said before, if you use wordpress then it automically updates itself through the RSS feed of the site, and then it automatically grabs the first image in the post to display. This template can be customizable through 4 simple XML files, uses tweener for smooth transitions, and has a 3 column layout layout with headers that have the ability to add an image,  use text, or both. There are tons of other features and options, and I hope you enjoy it.</p>
<p>RocFolio 2 is the second version of one of my best selling items on <a title="Flash Website Templates" href="http://activeden.net?ref=scottrockers" target="_blank">ActiveDen.net</a>.  First first version, RocFolio, is more geared towards being a <a title="flash and wordpress portfolio template" href="http://activeden.net/item/rocfolio-flash-and-wordpress-portfolio-template/75270?ref=scottrockers" target="_blank">Flash and WordPress Portfolio Template</a>, because it can only take in a single RSS Feed, unlike RocFolio 2 where you can go between multiple rss feeds or wordpress categories.  Below is a preview image of RocFolio. It its not fully customizable by XML like RocFolio 2 is but its still really easy to use and setup through  Flash.</p>
<p style="text-align: center;"><a href="http://activeden.net/item/rocfolio-flash-and-wordpress-portfolio-template/75270?ref=scottrockers"><img class="aligncenter size-full wp-image-1081" style="border: 1px solid white;" title="flash-and-wordpress-portfolio-template" src="http://scottrockers.com/blog/wp-content/uploads/2010/05/flash-and-wordpress-portfolio-template.jpg" alt="flash-and-wordpress-portfolio-template" width="590" height="300" /></a></p>
<p>Cya</p>
]]></content:encoded>
			<wfw:commentRss>http://scottrockers.com/blog/portfolio/sellable-items/flash-wordpress-template-called-rocfolio-2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Corner Pocket Farms Website</title>
		<link>http://scottrockers.com/blog/portfolio/freelance-projects/corner-pocket-farms-website</link>
		<comments>http://scottrockers.com/blog/portfolio/freelance-projects/corner-pocket-farms-website#comments</comments>
		<pubDate>Tue, 12 Jan 2010 19:31:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Freelance Projects]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://scottrockers.com/blog/?p=824</guid>
		<description><![CDATA[Happy New Year! I have finished another website for a client. The website is Corner Pocket Farm, and they offer premium duck, goose, and deer hunting and accommodations. The site has two main parts, the main corporate site and then a sub webpage that is all about hunting. I developed this site using wordpress as [...]]]></description>
			<content:encoded><![CDATA[<p>Happy New Year! I have finished another website for a client. The website is <a title="Corner Pocket Farm" href="http://cornerpocketfarm.com/" target="_blank">Corner Pocket Farm</a>, and they offer premium duck, goose, and deer hunting and accommodations. The site has two main parts, the main corporate site and then a sub webpage that is all about hunting. I developed this site using wordpress as a backend once again because of all the options it allows me and the designer was Charles Richardson, <a title="Art of Charles Richardson" href="http://www.artofcharlesrichardson.com/" target="_blank">www.artofcharlesrichardson.com</a>.   Some of the special things about this site was the use of several really nice plugins. The more I look into plugins for wordpress the more I am impressed with their ease of use as well as what they can do. One of the plugins I used is called, <a title="shadowbox js" href="http://www.shadowbox-js.com/" target="_blank">Shadowbox JS</a>, and I used it on the hunting part of the website for the Photo Gallery. Shadowbox  supports all of the web&#8217;s most popular media publishing formats and it is written entirely in JavaScript and CSS and is highly customizable. Here are some pictures of the site. I also use ShadowboxJS on my website for any images and flash files.</p>
<table border="0" width="100%">
<tbody>
<tr>
<th scope="col"><a href="http://scottrockers.com/blog/wp-content/uploads/2010/01/cornerpocketfarmwebsite.jpg" rel="shadowbox[post-824];player=img;"><img class="aligncenter size-medium wp-image-825" title="cornerpocketfarmwebsite" src="http://scottrockers.com/blog/wp-content/uploads/2010/01/cornerpocketfarmwebsite-300x225.jpg" alt="" width="300" height="225" /></a></th>
<th scope="col"><a href="http://scottrockers.com/blog/wp-content/uploads/2010/01/cpfhutingwebsite.jpg" rel="shadowbox[post-824];player=img;"><img class="aligncenter size-medium wp-image-826" title="cpfhutingwebsite" src="http://scottrockers.com/blog/wp-content/uploads/2010/01/cpfhutingwebsite-300x225.jpg" alt="" width="300" height="225" /></a></th>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://scottrockers.com/blog/portfolio/freelance-projects/corner-pocket-farms-website/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Flash Integration Portfolio Template called RocFolio</title>
		<link>http://scottrockers.com/blog/portfolio/sellable-items/wordpress-flash-integration-portfolio-template-called-rocfolio</link>
		<comments>http://scottrockers.com/blog/portfolio/sellable-items/wordpress-flash-integration-portfolio-template-called-rocfolio#comments</comments>
		<pubDate>Wed, 16 Dec 2009 18:05:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sellable Items]]></category>
		<category><![CDATA[Actionscript 2]]></category>
		<category><![CDATA[Actionscript 3]]></category>
		<category><![CDATA[ActiveDen]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://scottrockers.com/blog/?p=789</guid>
		<description><![CDATA[I have recently created a Flash template that is integrated with the WordPress backend. Click the image above to be redirected to the preview and see the flash file in action. I have added it to my activeDen Portfolio for sale. This Portfolio Template is perfect for anyone wanting to display their latest featured work. [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://activeden.net/item/rocfolio-flash-and-wordpress-portfolio-template/full_screen_preview/75270"><img class="aligncenter size-full wp-image-790" style="border: 1px solid white;" title="SRportfolioPage1Large" src="http://scottrockers.com/blog/wp-content/uploads/2009/12/SRportfolioPage1Large.jpg" alt="SRportfolioPage1Large" width="590" height="300" /></a></p>
<p>I have recently created a Flash template that is integrated with the WordPress backend. Click the image above to be redirected to the preview and see the flash file in action. I have added it to my <a href="http://activeden.net/user/scottrockers/portfolio?ref=scottrockers">activeDen Portfolio</a> for sale. This Portfolio Template is perfect for anyone wanting to display their latest featured work. It automatically updates itself by getting the information from your wordpress RSS Feed (You can even link it to a particular Category). </p>
<p>I have talked about WordPress Flash Integration before in several tutorials showing you how to do it, here are links to those:<br />
<a href="../blog/resources/tutorials/update-wordpress-and-flash-integration">Update: WordPress and Flash Integration part I</a> (AS2)<br />
<a  href="../blog/resources/tutorials/update-wordpress-and-flash-integration-part-ii">Update: WordPress and Flash Integration part II</a> (AS3)<br />
<a href="../blog/resources/tutorials/update-wordpress-and-flash-integration-part-iii">Update: WordPress and Flash Integration part III</a> (AS3)</p>
<p>If you don’t have a wordpress blog, a sample XML file is included that you can use. This template is very easy to use, easy to setup, and easy to customize. Here are some of its&#8217; features:</p>
<ul>
<li>Includes 3 Skins: Dark, Light, and Colored. Or you can customize the look and feel of it very easily</li>
<li>Includes Contact Form with error checking</li>
<li>Resizes Automatically to fit any screen size</li>
<li>One click linking</li>
<li>Automatically Updates</li>
<li>No XML Required (unless you want to use the sample XML included)</li>
<li>Automatically Grabs the first image in the post to display</li>
<li>Uses Tweener for smooth transitions</li>
</ul>
<p>External resources used in Template: <a href="http://wefunction.com/2008/07/function-free-icon-set/">Function Icon Set</a></p>
<p>Cya</p>
]]></content:encoded>
			<wfw:commentRss>http://scottrockers.com/blog/portfolio/sellable-items/wordpress-flash-integration-portfolio-template-called-rocfolio/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add .html to WordPress Pages</title>
		<link>http://scottrockers.com/blog/resources/useful-websites/add-html-to-wordpress-pages</link>
		<comments>http://scottrockers.com/blog/resources/useful-websites/add-html-to-wordpress-pages#comments</comments>
		<pubDate>Thu, 10 Dec 2009 21:59:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Useful Websites]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://scottrockers.com/blog/?p=778</guid>
		<description><![CDATA[Have you ever needed to add .html to WordPress pages? I know I did, and I found a cool plugin created by IntroSites that does this for any WordPress created page. Its a simple idea but very useful especially for the project I am currently working on. I wanted to write a quick post about [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever needed to <a title="Add html to wordpress pages" href="http://www.introsites.co.uk/33~html-wordpress-permalink-on-pages-plugin.html" target="_blank">add .html to WordPress pages</a>? I know I did, and I found a cool plugin created by <a title="IntroSites" href="http://www.introsites.co.uk/" target="_blank">IntroSites</a> that does this for any WordPress created page. Its a simple idea but very useful especially for the project I am currently working on. I wanted to write a quick post about it and kudos to them for making it.</p>
<p>Cya</p>
]]></content:encoded>
			<wfw:commentRss>http://scottrockers.com/blog/resources/useful-websites/add-html-to-wordpress-pages/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Double S Carpet &amp; Supply Website</title>
		<link>http://scottrockers.com/blog/portfolio/freelance-projects/double-s-carpet-supply-website</link>
		<comments>http://scottrockers.com/blog/portfolio/freelance-projects/double-s-carpet-supply-website#comments</comments>
		<pubDate>Wed, 04 Nov 2009 15:43:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Freelance Projects]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://scottrockers.com/blog/?p=680</guid>
		<description><![CDATA[I have finished working on another website while working with Cody Scott of Kinetic Media Solutions, its called Double S Carpet and Supply. I implemented and developed this website once again using the WordPress backend.   There are several reasons I love using the wordpress backend on these types of projects. One reason is that they [...]]]></description>
			<content:encoded><![CDATA[<p>I have finished working on another website while working with Cody Scott of <a title="Kinetic Media Solutions" href="http://www.kineticmediasolutions.net/" target="_blank">Kinetic Media Solutions</a>, its called <a title="Double S Carpet and Supply" href="http://www.doublescarpet.com/" target="_blank">Double S Carpet and Supply</a>. I implemented and developed this website once again using the WordPress backend.   There are several reasons I love using the wordpress backend on these types of projects. One reason is that they have tons of widgets or plugins to use for free, and this saves me time if the client wants a certain feature. I used the <a title="Flash Video Player Plugin" href="http://www.mac-dev.net/blog/index.php" target="_blank">Flash Video Player Plugin</a> for the video on the front page, it has some really great features like hiding the controls and auto play, and you can easily change all these settings on the settings page on the dashboard of wordpress, it doesn&#8217;t get much easier than that.</p>
<p>Cody and I each came up with a design for this site and I have attached the images below, mine is the second. For my design, I used an image called <a title="Dark Wood" href="http://zygat3r.deviantart.com/art/Dark-Wood-58266349" target="_blank">&#8220;Dark Wood&#8221; by ~zygat3r</a> from deviantART as the background but in the end we decided to go with Cody&#8217;s Design.</p>
<table border="0" width="100%">
<tbody>
<tr>
<th scope="col"><a href="http://scottrockers.com/blog/wp-content/uploads/2009/11/doubleswebsite.jpg" rel="shadowbox[post-680];player=img;"><img class="aligncenter size-medium wp-image-681" title="doubleswebsite" src="http://scottrockers.com/blog/wp-content/uploads/2009/11/doubleswebsite-300x225.jpg" alt="doubleswebsite" width="300" height="225" /></a></th>
<th scope="col"><a href="http://scottrockers.com/blog/wp-content/uploads/2009/11/doubleswebsiteV2.jpg" rel="shadowbox[post-680];player=img;"><img class="aligncenter size-medium wp-image-684" title="doubleswebsiteV2" src="http://scottrockers.com/blog/wp-content/uploads/2009/11/doubleswebsiteV2-300x215.jpg" alt="doubleswebsiteV2" width="300" height="215" /></a></th>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://scottrockers.com/blog/portfolio/freelance-projects/double-s-carpet-supply-website/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lime Aid Partnership Website</title>
		<link>http://scottrockers.com/blog/portfolio/freelance-projects/limeaid-partnership-website</link>
		<comments>http://scottrockers.com/blog/portfolio/freelance-projects/limeaid-partnership-website#comments</comments>
		<pubDate>Wed, 23 Sep 2009 15:21:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Freelance Projects]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://scottrockers.com/blog/?p=630</guid>
		<description><![CDATA[I have finished working on another website for a client named Shannon Jacuzzi. The website is LimeaidPartnership, and it&#8217;s purpose is to  promote national awareness of stress and mental health issues during May Mental Health month and year-round through community events, promotions and campaigns that help raise funds to support organizations that educate the public [...]]]></description>
			<content:encoded><![CDATA[<p>I have finished working on another website for a client named Shannon Jacuzzi. The website is <a title="Lime Aid Partnership" href="http://www.limeaidpartnership.com" target="_blank">LimeaidPartnership</a>, and it&#8217;s purpose is to  promote national awareness of stress and mental health issues during May Mental Health month and year-round through community events, promotions and campaigns that help raise funds to support organizations that educate the public about the brain, provide mental health services, and/or research treatments and causes of mental health stressors. I designed the site completely myself based off a flyer the client gave me and I developed it using the wordpress framework. Once again, thank you wordpress for building such an awesome CMS. Here I used the wordpress backend so the user could go onto the site herself and make updates as well as change any of the content on the pages.</p>
<p><a href="http://scottrockers.com/blog/wp-content/uploads/2009/09/limeaidpartnershipWebsite.jpg" rel="shadowbox[post-630];player=img;"><img class="aligncenter size-medium wp-image-631" title="limeaidpartnershipWebsite" src="http://scottrockers.com/blog/wp-content/uploads/2009/09/limeaidpartnershipWebsite-300x229.jpg" alt="limeaidpartnershipWebsite" width="300" height="229" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://scottrockers.com/blog/portfolio/freelance-projects/limeaid-partnership-website/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Flash Design Template</title>
		<link>http://scottrockers.com/blog/portfolio/experimental/wordpress-flash-design-template</link>
		<comments>http://scottrockers.com/blog/portfolio/experimental/wordpress-flash-design-template#comments</comments>
		<pubDate>Thu, 18 Jun 2009 21:47:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Experimental]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://scottrockers.com/blog/?p=570</guid>
		<description><![CDATA[For the past month or so I have been working with Patrick Segarel, who is also a web developer and designer. He had contacted me about working on a project with him, which was integrating WordPress as a Flash site&#8217;s CMS. We both want to be able to use  WordPress&#8217; functions in Flash as a [...]]]></description>
			<content:encoded><![CDATA[<p>For the past month or so I have been working with <a title="Patrick Segarel’s Blog" href="http://patrick-segarel.com/">Patrick Segarel</a>, who is also a web developer and designer. He had contacted me about working on a project with him, which was integrating WordPress as a Flash site&#8217;s CMS. We both want to be able to use  WordPress&#8217; functions in Flash as a way to access the database information. I have posted about wanting to do this before and when the opportunity arose to work with a fellow developer I quickly said yes.</p>
<p>The first thing I had to do was set up a localhost server to be able to test on, so I used <a href="http://www.wampserver.com" target="_blank">WAMP</a>. The second thing was to download the <a href="http://framework.zend.com/" target="_blank">Zend Framework</a> and put it on my localhost, and make sure it was working properly.  Patrick had been working on this a little while before me so he had a file structure in place already that I needed to mimic, so he setup a SVN on googlecode, and I downloaded it and am in the process of setting it up on my end.  Setting up the work enviroment will probably take the longest to do but as soon as we get that done it will be a lot of fun, and I look forward to it. Patrick wanted me to design a layout for the site and I came up with what&#8217;s below. I was pretty happy with the outcome, and I think I might create non-flash based WordPress template from it to sell on ThemeForest.net.</p>
<p style="text-align: center;"><a href="http://scottrockers.com/blog/wp-content/uploads/2009/06/wpdesigntemplate.jpg" rel="shadowbox[post-570];player=img;"><img class="aligncenter size-medium wp-image-571" title="wpdesigntemplate" src="http://scottrockers.com/blog/wp-content/uploads/2009/06/wpdesigntemplate-300x256.jpg" alt="wpdesigntemplate" width="300" height="256" /></a></p>
<p style="text-align: left;">Cya</p>
]]></content:encoded>
			<wfw:commentRss>http://scottrockers.com/blog/portfolio/experimental/wordpress-flash-design-template/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Update: WordPress and Flash Integration part III</title>
		<link>http://scottrockers.com/blog/resources/tutorials/update-wordpress-and-flash-integration-part-iii</link>
		<comments>http://scottrockers.com/blog/resources/tutorials/update-wordpress-and-flash-integration-part-iii#comments</comments>
		<pubDate>Wed, 11 Mar 2009 21:56:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Actionscript 3]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.scottrockers.com/blog/?p=435</guid>
		<description><![CDATA[Well, I finally had a little bit of free time and I wanted to rework all my wordpress and flash integrations stuff into ActionScript 3.  There were a couple of interesting things that came up while working on this as well.  You can&#8217;t tween the alpha property of a textfield created in actionscript (unless you [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I finally had a little bit of free time and I wanted to rework all my wordpress and flash integrations stuff into ActionScript 3.  There were a couple of interesting things that came up while working on this as well.  You can&#8217;t tween the alpha property of a textfield created in actionscript (unless you use a simple hack that I found out in the Flash live-docs online).  You have to change the blendmode style to &#8220;LAYER&#8221;, or another type, as long as its not the default style type. Weird but at least I got it to work. Also, I was going to implement the tweens using TweenLite but they also have problems accessing textfield properities, too.</p>
<p>Here is the swf, and below is the actionscript 3:</p>
<p style="text-align: center;"><a rel="shadowbox;width=400;height=200;" href="http://www.scottrockers.com/blog/wp-content/uploads/2009/03/test4.swf"><img class="aligncenter size-medium wp-image-441" title="wordpressflashex4" src="http://www.scottrockers.com/blog/wp-content/uploads/2009/03/wordpressflashex4-300x150.jpg" alt="wordpressflashex4" width="300" height="150" /></a></p>

<div class="wp_syntax"><div class="code"><pre class="actionscript3" style="font-family:monospace;"><span style="color: #9900cc; font-weight: bold;">package</span>  <span style="color: #000000;">&#123;</span>
    <span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.display</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">MovieClip</span><span style="color: #000066; font-weight: bold;">;</span>
    <span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.display</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">BlendMode</span><span style="color: #000066; font-weight: bold;">;</span>
    <span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.events</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">Event</span><span style="color: #000066; font-weight: bold;">;</span>
    <span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.net</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">URLLoader</span><span style="color: #000066; font-weight: bold;">;</span>
    <span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.net</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">URLRequest</span><span style="color: #000066; font-weight: bold;">;</span>
    <span style="color: #0033ff; font-weight: bold;">import</span> <span style="color: #004993;">flash.text</span><span style="color: #000066; font-weight: bold;">.*;</span>
    <span style="color: #0033ff; font-weight: bold;">import</span> fl<span style="color: #000066; font-weight: bold;">.</span>transitions<span style="color: #000066; font-weight: bold;">.</span>Tween<span style="color: #000066; font-weight: bold;">;</span>
    <span style="color: #0033ff; font-weight: bold;">import</span> fl<span style="color: #000066; font-weight: bold;">.</span>transitions<span style="color: #000066; font-weight: bold;">.</span>TweenEvent<span style="color: #000066; font-weight: bold;">;</span>
    <span style="color: #0033ff; font-weight: bold;">import</span> fl<span style="color: #000066; font-weight: bold;">.</span>transitions<span style="color: #000066; font-weight: bold;">.</span>easing<span style="color: #000066; font-weight: bold;">.*;</span>
&nbsp;
    <span style="color: #3f5fbf;">/*
    * Redo of scott rockers's wordpress to flash integration but in AS3 and as3wordpressFlash class file
    */</span>
    <span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #9900cc; font-weight: bold;">class</span> AS3WordpressFlash <span style="color: #0033ff; font-weight: bold;">extends</span> <span style="color: #004993;">MovieClip</span> <span style="color: #000000;">&#123;</span>
&nbsp;
        <span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> i<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">uint</span> = <span style="color: #000000; font-weight:bold;">0</span><span style="color: #000066; font-weight: bold;">;</span>
        <span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> titleList<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">XMLList</span><span style="color: #000066; font-weight: bold;">;</span>
        <span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> linkList<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">XMLList</span><span style="color: #000066; font-weight: bold;">;</span>
        <span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> tf<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">TextField</span><span style="color: #000066; font-weight: bold;">;</span>
        <span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> format<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">TextFormat</span><span style="color: #000066; font-weight: bold;">;</span>
        <span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> tweenIt<span style="color: #000066; font-weight: bold;">:</span>Tween<span style="color: #000066; font-weight: bold;">;</span>
        <span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> tweenIt2<span style="color: #000066; font-weight: bold;">:</span>Tween<span style="color: #000066; font-weight: bold;">;</span>
        <span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> theXML<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">XML</span><span style="color: #000066; font-weight: bold;">;</span>
        <span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> <span style="color: #004993;">loader</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">URLLoader</span> = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">URLLoader</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
        <span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> AS3WordpressFlash<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
            <span style="color: #004993;">loader</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><span style="color: #004993;">Event</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">COMPLETE</span><span style="color: #000066; font-weight: bold;">,</span> loadXML<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
            <span style="color: #004993;">loader</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">load</span><span style="color: #000000;">&#40;</span><span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">URLRequest</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;http://www.scottrockers.com/blog/wp-rss2.php&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        <span style="color: #000000;">&#125;</span>
&nbsp;
        <span style="color: #339966; font-weight: bold;">function</span> loadXML<span style="color: #000000;">&#40;</span>e<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">Event</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
            theXML = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">XML</span><span style="color: #000000;">&#40;</span>e<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">target</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">data</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
            titleList = theXML<span style="color: #000066; font-weight: bold;">.</span>channel<span style="color: #000066; font-weight: bold;">.</span>item<span style="color: #000066; font-weight: bold;">.</span>title<span style="color: #000066; font-weight: bold;">;</span>
            linkList = theXML<span style="color: #000066; font-weight: bold;">.</span>channel<span style="color: #000066; font-weight: bold;">.</span>item<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">link</span><span style="color: #000066; font-weight: bold;">;</span>
            createTextFields<span style="color: #000000;">&#40;</span>titleList<span style="color: #000066; font-weight: bold;">,</span> linkList<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
        <span style="color: #000000;">&#125;</span>
&nbsp;
        <span style="color: #339966; font-weight: bold;">function</span> createTextFields<span style="color: #000000;">&#40;</span>titles<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">XMLList</span><span style="color: #000066; font-weight: bold;">,</span> links<span style="color: #000066; font-weight: bold;">:</span><span style="color: #004993;">XMLList</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span> <span style="color: #000000;">&#123;</span>
            format = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">TextFormat</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
            format<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">font</span> = <span style="color: #990000;">&quot;Arial&quot;</span><span style="color: #000066; font-weight: bold;">;</span>
            format<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">color</span> = 0xFFFFFF<span style="color: #000066; font-weight: bold;">;</span>
            format<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">size</span> = <span style="color: #000000; font-weight:bold;">14</span><span style="color: #000066; font-weight: bold;">;</span>
&nbsp;
            <span style="color: #0033ff; font-weight: bold;">for</span> <span style="color: #000000;">&#40;</span>i = <span style="color: #000000; font-weight:bold;">0</span><span style="color: #000066; font-weight: bold;">;</span> i <span style="color: #000066; font-weight: bold;">&amp;</span>lt<span style="color: #000066; font-weight: bold;">;</span> <span style="color: #000000; font-weight:bold;">5</span><span style="color: #000066; font-weight: bold;">;</span> i<span style="color: #000066; font-weight: bold;">++</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
                tf = <span style="color: #0033ff; font-weight: bold;">new</span> <span style="color: #004993;">TextField</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
                tf<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">blendMode</span> = <span style="color: #004993;">BlendMode</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">LAYER</span><span style="color: #000066; font-weight: bold;">;</span>
                tf<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">width</span> = <span style="color: #000000; font-weight:bold;">10</span><span style="color: #000066; font-weight: bold;">;</span>
                tf<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">selectable</span> = <span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000066; font-weight: bold;">;</span>
                tf<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">autoSize</span> = <span style="color: #004993;">TextFieldAutoSize</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">CENTER</span><span style="color: #000066; font-weight: bold;">;</span>
                tf<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">x</span> = <span style="color: #000000;">&#40;</span><span style="color: #004993;">stage</span><span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">width</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">/</span><span style="color: #000000; font-weight:bold;">2</span><span style="color: #000066; font-weight: bold;">;</span>
                tf<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">y</span> = <span style="color: #000066; font-weight: bold;">-</span><span style="color: #000000; font-weight:bold;">20</span><span style="color: #000066; font-weight: bold;">;</span>
                tf<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">htmlText</span> = <span style="color: #990000;">&quot;&lt;a href=&quot;</span><span style="color: #000066; font-weight: bold;">&amp;</span>quot<span style="color: #000066; font-weight: bold;">;+</span> links<span style="color: #000000;">&#91;</span>i<span style="color: #000000;">&#93;</span> <span style="color: #000066; font-weight: bold;">+&amp;</span>quot<span style="color: #000066; font-weight: bold;">;</span><span style="color: #990000;">&quot; target=&quot;</span>_blank<span style="color: #990000;">&quot;&gt;&quot;</span> <span style="color: #000066; font-weight: bold;">+</span> titles<span style="color: #000000;">&#91;</span>i<span style="color: #000000;">&#93;</span> <span style="color: #000066; font-weight: bold;">+</span> <span style="color: #990000;">&quot;&lt;/a&gt;&quot;</span><span style="color: #000066; font-weight: bold;">;</span>
                tf<span style="color: #000066; font-weight: bold;">.</span><span style="color: #004993;">setTextFormat</span><span style="color: #000000;">&#40;</span>format<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
                <span style="color: #004993;">addChild</span><span style="color: #000000;">&#40;</span>tf<span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
                tweenIt = <span style="color: #0033ff; font-weight: bold;">new</span> Tween<span style="color: #000000;">&#40;</span>tf<span style="color: #000066; font-weight: bold;">,</span> <span style="color: #990000;">&quot;y&quot;</span><span style="color: #000066; font-weight: bold;">,</span> Elastic<span style="color: #000066; font-weight: bold;">.</span>easeOut<span style="color: #000066; font-weight: bold;">,</span> <span style="color: #000066; font-weight: bold;">-</span><span style="color: #000000; font-weight:bold;">20</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #000000; font-weight:bold;">50</span> <span style="color: #000066; font-weight: bold;">+</span> <span style="color: #000000;">&#40;</span>i <span style="color: #000066; font-weight: bold;">*</span> <span style="color: #000000; font-weight:bold;">30</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #000000; font-weight:bold;">30</span> <span style="color: #000066; font-weight: bold;">+</span> <span style="color: #000000;">&#40;</span>i <span style="color: #000066; font-weight: bold;">*</span> <span style="color: #000000; font-weight:bold;">15</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
                tweenIt2 = <span style="color: #0033ff; font-weight: bold;">new</span> Tween<span style="color: #000000;">&#40;</span>tf<span style="color: #000066; font-weight: bold;">,</span> <span style="color: #990000;">&quot;alpha&quot;</span><span style="color: #000066; font-weight: bold;">,</span> Strong<span style="color: #000066; font-weight: bold;">.</span>easeOut<span style="color: #000066; font-weight: bold;">,</span> <span style="color: #000000; font-weight:bold;">0</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #000000; font-weight:bold;">1</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #000000; font-weight:bold;">100</span> <span style="color: #000066; font-weight: bold;">+</span> <span style="color: #000000;">&#40;</span>i <span style="color: #000066; font-weight: bold;">*</span> <span style="color: #000000; font-weight:bold;">100</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">,</span> <span style="color: #0033ff; font-weight: bold;">false</span><span style="color: #000000;">&#41;</span><span style="color: #000066; font-weight: bold;">;</span>
            <span style="color: #000000;">&#125;</span>
        <span style="color: #000000;">&#125;</span>
    <span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://scottrockers.com/blog/resources/tutorials/update-wordpress-and-flash-integration-part-iii/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update: WordPress and Flash Integration part II</title>
		<link>http://scottrockers.com/blog/resources/tutorials/update-wordpress-and-flash-integration-part-ii</link>
		<comments>http://scottrockers.com/blog/resources/tutorials/update-wordpress-and-flash-integration-part-ii#comments</comments>
		<pubDate>Tue, 27 Jan 2009 20:23:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.rockerssoft.org/scott/blog/?p=297</guid>
		<description><![CDATA[After working on accessing WordPress through the RSS feed with Flash, I have finally achieved what I was aiming for:  I wanted to be able to tween the headings of each post individually as well as make them links to the actual post.  Also, as you will see, this swf is dynamic meaning it will [...]]]></description>
			<content:encoded><![CDATA[<p>After working on accessing WordPress through the RSS feed with Flash, I have finally achieved what I was aiming for:  I wanted to be able to tween the headings of each post individually as well as make them links to the actual post.  Also, as you will see, this swf is dynamic meaning it will update itself to have the most recent blog post headings. Here is what I came up with:</p>
<p style="text-align: center;"><a rel="shadowbox;width=400;height=200;" href="http://www.scottrockers.com/blog/wp-content/uploads/2009/01/test3.swf"><img class="aligncenter size-medium wp-image-299" title="wordpressflashex3" src="http://www.scottrockers.com/blog/wp-content/uploads/2009/01/wordpressflashex3-300x150.jpg" alt="" /></a></p>
<p style="text-align: left;">I did come across a few interesting things. When accessing the titles of each heading, I used &#8220;.nodeValue&#8221;, but when accessing the links of the headings I had to use &#8220;theNodePath.toString()&#8221;. I thought this was weird because all the information looked the same inside each node in the XML.</p>
<p style="text-align: left;">I will use this technology on my blog as well as my Flash site, once I get some time to work on them. Hopefully soon, because I am pumped that I figured out how to do this.</p>
<p style="text-align: left;">Cya</p>
]]></content:encoded>
			<wfw:commentRss>http://scottrockers.com/blog/resources/tutorials/update-wordpress-and-flash-integration-part-ii/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update: WordPress and Flash Integration part I</title>
		<link>http://scottrockers.com/blog/resources/tutorials/update-wordpress-and-flash-integration</link>
		<comments>http://scottrockers.com/blog/resources/tutorials/update-wordpress-and-flash-integration#comments</comments>
		<pubDate>Fri, 23 Jan 2009 20:48:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.rockerssoft.org/scott/blog/?p=251</guid>
		<description><![CDATA[I&#8217;ve been working on integrating my WordPress blog with Flash for the last couple days now whenever I had some free time, and I have some great things to show.  I will try explain the best I can about what I am doing.  If I do this correctly, and I think I am, then I [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working on integrating my WordPress blog with Flash for the last couple days now whenever I had some free time, and I have some great things to show.  I will try explain the best I can about what I am doing.  If I do this correctly, and I think I am, then I will be able to use my WordPress blog as a complete CMS for my flash website.</p>
<p>If you have a WordPress blog already setup, then you can do all this easy too.  All WordPress blogs have a RSS feed built into them, so what I did was access that php file that creates the RSS feed (which renders out as XML),  and thats all Flash needs to have to be able to do what we want.  The best part is that the .swf file updates itself automatically anytime it is called which makes the whole thing dynamic.</p>
<p>Click on the image below to see an example that retrieves every heading to every post on my blog and puts them into a simple list component.</p>
<p style="text-align: center;"><a rel="shadowbox;width=479;height=100;" href="http://www.scottrockers.com/blog/wp-content/uploads/2009/01/test1.swf"><img class="aligncenter size-full wp-image-260" title="WordPress and Flash Example1" src="http://www.scottrockers.com/blog/wp-content/uploads/2009/01/wordpressflashex1.jpg" alt="" width="481" height="102" /></a></p>
<p style="text-align: left;">Here is the code I used in the .FLA, its AS2:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
</pre></td><td class="code"><pre class="actionscript" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">// Create new XML Object and set ignoreWhite true</span>
<span style="color: #000000; font-weight: bold;">var</span> theXML:<span style="color: #0066CC;">XML</span> = <span style="color: #000000; font-weight: bold;">new</span> <span style="color: #0066CC;">XML</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
theXML.<span style="color: #0066CC;">ignoreWhite</span> = <span style="color: #000000; font-weight: bold;">true</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">//the function to check to see if the xml file was loaded</span>
theXML.<span style="color: #0066CC;">onLoad</span> = <span style="color: #000000; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span>success<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
     <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>success<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
          <span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'Your XML file was loaded! See its right here:'</span> + <span style="color: #ff0000;">'<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>'</span> + <span style="color: #0066CC;">this</span>.<span style="color: #0066CC;">toString</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> + <span style="color: #ff0000;">'<span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\n</span>'</span><span style="color: #66cc66;">&#41;</span>;
          processXML<span style="color: #66cc66;">&#40;</span>theXML<span style="color: #66cc66;">&#41;</span>;
     <span style="color: #66cc66;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #66cc66;">&#123;</span>
          <span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'Your XML file was not loaded'</span><span style="color: #66cc66;">&#41;</span>;
     <span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">//where to find the the xml file and loads it</span>
<span style="color: #808080; font-style: italic;">//just change the url to your rss url</span>
theXML.<span style="color: #0066CC;">load</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;http://www.scottrockers.com/blog/wp-rss2.php&quot;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">//function that puts all the posts' headers into the list component</span>
<span style="color: #000000; font-weight: bold;">function</span> processXML<span style="color: #66cc66;">&#40;</span>xmlInfo<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
     <span style="color: #808080; font-style: italic;">// xmlInfo is now a reference to the XML</span>
     <span style="color: #808080; font-style: italic;">// object where our information is stored</span>
     <span style="color: #b1b100;">for</span> <span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">var</span> n = <span style="color: #cc66cc;">0</span>; n <span style="color: #66cc66;">&lt;</span> xmlInfo.<span style="color: #0066CC;">firstChild</span>.<span style="color: #0066CC;">firstChild</span>.<span style="color: #0066CC;">childNodes</span>.<span style="color: #0066CC;">length</span>; n++<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
          <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>xmlInfo.<span style="color: #0066CC;">firstChild</span>.<span style="color: #0066CC;">firstChild</span>.<span style="color: #0066CC;">childNodes</span><span style="color: #66cc66;">&#91;</span>n<span style="color: #66cc66;">&#93;</span>.<span style="color: #0066CC;">nodeName</span> == <span style="color: #ff0000;">&quot;item&quot;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
               <span style="color: #0066CC;">trace</span><span style="color: #66cc66;">&#40;</span>xmlInfo.<span style="color: #0066CC;">firstChild</span>.<span style="color: #0066CC;">firstChild</span>.<span style="color: #0066CC;">childNodes</span><span style="color: #66cc66;">&#91;</span>n<span style="color: #66cc66;">&#93;</span>.<span style="color: #0066CC;">firstChild</span>.<span style="color: #0066CC;">firstChild</span>.<span style="color: #0066CC;">nodeValue</span><span style="color: #66cc66;">&#41;</span>;
               theList.<span style="color: #006600;">addItem</span><span style="color: #66cc66;">&#40;</span>xmlInfo.<span style="color: #0066CC;">firstChild</span>.<span style="color: #0066CC;">firstChild</span>.<span style="color: #0066CC;">childNodes</span><span style="color: #66cc66;">&#91;</span>n<span style="color: #66cc66;">&#93;</span>.<span style="color: #0066CC;">firstChild</span>.<span style="color: #0066CC;">firstChild</span>.<span style="color: #0066CC;">nodeValue</span><span style="color: #66cc66;">&#41;</span>;
          <span style="color: #66cc66;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #66cc66;">&#123;</span>
               <span style="color: #808080; font-style: italic;">//these are the parent nodes, do not print them</span>
               <span style="color: #808080; font-style: italic;">//trace(xmlInfo.firstChild.firstChild.childNodes[n].firstChild.nodeValue);</span>
          <span style="color: #66cc66;">&#125;</span>
     <span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span></pre></td></tr></table></div>

<p style="text-align: left;">I can even access certain categories by changing: theXML.load(&#8220;http://www.scottrockers.com/blog/wp-rss2.php&#8221;); to theXML.load(&#8220;http://www.scottrockers.com/blog/?cat=4&amp;feed=rss2&#8243;);</p>
<p>Click on the image below to see an example that retrieves only headings to posts under the category &#8220;Portfolio&#8221; and puts them into a simple list component.</p>
<p style="text-align: center;"><a rel="shadowbox;width=479;height=100;" href="http://www.scottrockers.com/blog/wp-content/uploads/2009/01/test2.swf"><img class="aligncenter size-full wp-image-282" title="Wordpress Flash Example2" src="http://www.scottrockers.com/blog/wp-content/uploads/2009/01/wordpressflashex2.jpg" alt="" width="481" height="102" /></a></p>
<p>Since I now know how to access those node values then I will also be able to do anything with them, such as animate them on to the stage, make them links, etc. I am sooooo pumped about this.</p>
<p>Cya</p>
]]></content:encoded>
			<wfw:commentRss>http://scottrockers.com/blog/resources/tutorials/update-wordpress-and-flash-integration/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>WordPress and Flash Integration</title>
		<link>http://scottrockers.com/blog/resources/flash-information/wordpress-and-flash-integration</link>
		<comments>http://scottrockers.com/blog/resources/flash-information/wordpress-and-flash-integration#comments</comments>
		<pubDate>Wed, 21 Jan 2009 22:59:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Flash Information]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.rockerssoft.org/scott/blog/?p=231</guid>
		<description><![CDATA[I have been trying to find a way to integrate Flash and WordPress for a while now, so when I update my wordpress blog then it goes straight onto my Flash site.  Well, I have found some files from Tim Wilson&#8217;s website and I have learned a lot so far from them.  You basically have [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.gotoandlearn.com/play?id=20"><img class="size-full wp-image-241 aligncenter" title="Wordpress and Flash" src="http://www.scottrockers.com/blog/wp-content/uploads/2009/01/wordpressflash.jpg" alt="" width="322" height="121" /></a></p>
<p style="text-align: left;">I have been trying to find a way to integrate Flash and WordPress for a while now, so when I update my wordpress blog then it goes straight onto my Flash site.  Well, I have found some files from <a title="Tim Wilson's Site" href="http://tvwonline.net/flash/#/page_id=47/" target="_blank">Tim Wilson&#8217;s website</a> and I have learned a lot so far from them.  You basically have to integrate Flash with the wordpress&#8217;s xml and have some php communicating between the two.  Hopefully this will be a big help in redesigning this blog.</p>
<p>Also, if your interested in doing this I recommend watching a video on <a title="gotoAndLearn" href="http://www.gotoandlearn.com/play?id=20" target="_blank">gotoAndLearn</a> that basically has to do with integrating mySQL, Flash, and PHP.</p>
<p>Cya</p>
]]></content:encoded>
			<wfw:commentRss>http://scottrockers.com/blog/resources/flash-information/wordpress-and-flash-integration/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

