<?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>SofaRider &#187; wordpress flash</title>
	<atom:link href="http://rider.sofarider.com/tag/wordpress-flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://rider.sofarider.com</link>
	<description>WordPress Themes, Widgets, Development &#124; WEB &#38; Graphic Design</description>
	<lastBuildDate>Wed, 14 Oct 2009 08:40:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to connect WordPress and Flash &#8211; part #2</title>
		<link>http://rider.sofarider.com/blog/wordpress-tips/how-to-connect-wordpress-and-flash-part-2/</link>
		<comments>http://rider.sofarider.com/blog/wordpress-tips/how-to-connect-wordpress-and-flash-part-2/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 08:32:45 +0000</pubDate>
		<dc:creator>Feeleep</dc:creator>
				<category><![CDATA[Wordpress Tips]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[wordpress flash]]></category>

		<guid isPermaLink="false">http://rider.sofarider.com/?p=267</guid>
		<description><![CDATA[Finally, part 2 of this tutorial is here. Part 1 can be seen HERE. There you can find out how to prepare and format data for Flash and now we are about to do something with it. I&#8217;ve made a package of all required files for download so you can see what else will be [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-thumbnail wp-image-170" title="2connection-done-big" src="http://rider.sofarider.com/wp-content/uploads/2009/06/2connection-done-big-200x200.jpg" alt="2connection-done-big" width="200" height="200" />Finally, part 2 of this tutorial is here. Part 1 can be seen <a href="http://rider.sofarider.com/blog/wordpress-tips/how-to-connect-wordpress-and-flash-part-1/">HERE</a>. There you can find out how to prepare and format data for Flash and now we are about to do something with it. I&#8217;ve made a package of all required files for download so you can see what else will be used. Please <a href="http://rider.sofarider.com/wp-content/uploads/2009/07/WP_flash.zip">download ZIP</a>, unpack and open <strong>WP_flash.fla</strong>. Code is well commented and I am not about to explain how and why. This is just an example of my own implementation, you may develop your own and display data differently in Flash. My goal was to demonstrate WP &#8211; Flash data exchange on the simplest possible way.</p>
<h2>How to use it?</h2>
<p>Just for demo purpose upload all the files (and &#8217;script&#8217; folder as well!) to the root of your theme, it doesn&#8217;t matter which one. Now you need to call &#8216;WP_flash_holder.php&#8217; in Browser but full path to this file must be used because we are currently out of WP &#8216;native environment&#8217;:<br />
<strong>http://yourdomain.com/wp-content/themes/your_theme_name/WP_flash_holder.php</strong>.<br />
For a case you are about to include <strong>WP_flash.swf</strong> in any existing template file of your theme (for example <strong>sidebar.php</strong>), things will work normally.</p>
<p>NOTE:</p>
<p>Open <strong>WP_flash_holder.php</strong> and change path to match your domain and theme name otherwise it&#8217;ll not work. For example the line reading:</p>
<pre><code>
&lt;script src="http://your_domain.com/wp-content/themes/your_theme_name/script/swfobject.js" type="text/javascript"&gt;&lt;/script&gt;
</code></pre>
<p>As well as:</p>
<pre><code>
var so = new SWFObject( "http://your_domain.com/wp-content/themes/your_theme_name/WP_flash.swf", "wpflash", "550", "400", "8" );
</code></pre>
<p>&#8230;must be replaced with your own data!</p>
<h2>Files in package&#8230;</h2>
<ul>
<li> <strong>slidestyle.css<br />
</strong>Flash Player supports a subset of properties in the original CSS1 specification only so basic text formatting can be done here. Not much but enough for this tutorial.</li>
<li> <strong>WP_flash_holder.php </strong><br />
This file is here just to properly include/embed Flash file into HTML page. In source code you can read how to include Flash in native WordPress environment (for example <strong>sidebar.php</strong>).</li>
<li> <strong>script &gt; swfobject.js </strong><br />
As already mentioned, swf must be properly embed so this is nothing but a piece of javascript code required to avoid page errors and Browser warnings.</li>
<li> <strong>WP_flash.fla</strong> and <strong>WP_flash.swf</strong><br />
Source and rendered file used for demonstration purpose.</li>
</ul>
<h2>It&#8217;s good to know</h2>
<p>I guess some of you already plan to make a first Flash theme so it&#8217;s good to know that each and every WP theme must fulfill minimum requirements. Theme folder MUST contain the following files: <strong>index.php</strong>, <strong>style.css</strong> and <strong>functions.php</strong> (screenshot.png). In that case you can keep all of your Flash styles in <strong>style.css</strong> and embed Flash into <strong>index.php</strong>. Remember, it&#8217;s a long way to develop Flash theme and this tutorial is just a little tiny foot step on the long path up to the hill. Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://rider.sofarider.com/blog/wordpress-tips/how-to-connect-wordpress-and-flash-part-2/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>How to connect WordPress and Flash &#8211; part #1</title>
		<link>http://rider.sofarider.com/blog/wordpress-tips/how-to-connect-wordpress-and-flash-part-1/</link>
		<comments>http://rider.sofarider.com/blog/wordpress-tips/how-to-connect-wordpress-and-flash-part-1/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 12:25:20 +0000</pubDate>
		<dc:creator>Feeleep</dc:creator>
				<category><![CDATA[Wordpress Tips]]></category>
		<category><![CDATA[dynamic content]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[wordpress flash]]></category>

		<guid isPermaLink="false">http://rider.sofarider.com/?p=169</guid>
		<description><![CDATA[There&#8217;s quite easy way to connect WordPress and Flash. I&#8217;m talking about pulling dynamic content to Flash, the way you insert swf to your site is just another story. In both cases you&#8217;ll need swfobject.js in order to follow standards-friendly method of embedding Flash. I have never tried to use any of WordPress available plugins, [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://rider.sofarider.com/wp-content/uploads/2009/06/2connection-done-big-200x200.jpg" alt="2connection-done-big" title="2connection-done-big" width="200" height="200" class="alignnone size-thumbnail wp-image-170" />There&#8217;s quite easy way to connect WordPress and Flash. I&#8217;m talking about pulling dynamic content to Flash, the way you insert <strong>swf</strong> to your site is just another story. In both cases you&#8217;ll need <a href="http://code.google.com/p/swfobject/">swfobject.js</a> in order to follow standards-friendly method of embedding Flash. I have never tried to use any of <a href="http://wordpress.org/extend/plugins/tags/swfobject">WordPress available plugins</a>, somehow I rather include it manually, so at this point I&#8217;m not sure whether it&#8217;ll work with plugin. I guess it should.</p>
<h2>What&#8217;s the purpose of embeded Flash file?</h2>
<p>Are you about to replace standard, HTML navigation with Flashed one? Do you want to make some recent posts slider in sidebar? Maybe some cool tag cloud in footer? Flash can be added whenever you like and do whatever you like. The most important fact about Flash is that it&#8217;s capable to load and process XML and that&#8217;s exactly how we are about to exchange data between WordPress and Flash. Once the data has been loaded into Flash options to display it on some non-standard and interesting way are endless.</p>
<h2>Our task: Create latest Posts list</h2>
<p>For the demonstration purpose we are about to generate the list of latest Posts and send it to embeded Flash file. Each list item will have a title, post date, number of comments, thumbnail image (if any), post category and a link back to post details.</p>
<h2>Preparing backend file</h2>
<p>Let&#8217;s create and save in our theme&#8217;s folder new file called &#8216;flash_recent.php&#8217;. I don&#8217;t know which theme you are using but it doesn&#8217;t matter in deed, it&#8217;ll work with any properly activated WordPress theme. Our new file should be able to connect to database and get required information. In the same time we&#8217;ll output results in standard XML format readable to Flash.</p>
<pre>
<code>

&lt;?php

 // get connected
  require_once( '../../../wp-config.php' );


 // variables
  $xml = &quot;&quot;;
  $num_of_posts_to_display = 5;


 // query posts
  query_posts( 'showposts=' . $num_of_posts_to_display . '&amp;post_type=post&amp;post_status=publish&amp;order=DESC' );


 if( have_posts() ) : while( have_posts() ) : the_post();
  // category ID
  $category = get_the_category();
  // get first thumbnail path
  preg_match_all( '|&lt;img.*?src=[\'&quot;](.*?)[\'&quot;].*?&gt;|i', $post-&gt;post_content, $m );
  // format XML
  $xml .= '&lt;item&gt;';
  $xml .= '&lt;title&gt;' . $post-&gt;post_title . '&lt;/title&gt;';
  $xml .= '&lt;postlink&gt;' . get_permalink() . '&lt;/postlink&gt;';
  if( $m[ 1 ] ) $xml .= '&lt;image&gt;' . $m[ 1 ][ 0 ] . '&lt;/image&gt;';
  $xml .= '&lt;category&gt;' . $category[ 0 ]-&gt;cat_name . '&lt;/category&gt;';
  $xml .= '&lt;catid&gt;' . bloginfo( 'home' ) . '?cat=' . $category[ 0 ]-&gt;cat_ID . '&lt;/catid&gt;';
  $xml .= '&lt;date&gt;' . date( 'M j, Y', strtotime( $post-&gt;post_date ) ) . '&lt;/date&gt;';
  $xml .= '&lt;comments&gt;' . $post-&gt;comment_count . '&lt;/comments&gt;';
  $xml .= '&lt;excerpt&gt;' . get_the_excerpt() . '&lt;/excerpt&gt;';
  $xml .= '&lt;/item&gt;';
  endwhile; endif;


 // output results
  echo $xml;


?&gt;

</code>
</pre>
<p>In order to check whether an output is OK you should type in Browser&#8217;s address bar full path to &#8216;flash_recent.php&#8217; file. For eample: <strong>http://yourdomain.com/wp-content/themes/some_themeName/flash_recent.php.</strong></p>
<h2>What next?</h2>
<p>Well, next time we gonna learn how Flash can handle parsed XML. I bet many of you already know how but for the sake of those who doesn&#8217;t &#8211; expect to find an answer in part#2 of this tutorial.</p>
]]></content:encoded>
			<wfw:commentRss>http://rider.sofarider.com/blog/wordpress-tips/how-to-connect-wordpress-and-flash-part-1/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Designer Corner &#8211; Flash made WordPress theme</title>
		<link>http://rider.sofarider.com/work/wordpress-themes/designer-corner-flash-made-wordpress-theme/</link>
		<comments>http://rider.sofarider.com/work/wordpress-themes/designer-corner-flash-made-wordpress-theme/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 10:50:28 +0000</pubDate>
		<dc:creator>Feeleep</dc:creator>
				<category><![CDATA[WordPress Themes]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flash template]]></category>
		<category><![CDATA[flash theme]]></category>
		<category><![CDATA[wordpress flash]]></category>

		<guid isPermaLink="false">http://rider.sofarider.com/?p=20</guid>
		<description><![CDATA[
NOTE: This theme can be purchased exclusively via Themeforest!
Sofa Designer Corner is Flash made WordPress theme. It&#8217;s straight, clean and simple portfolio theme made for anyone capable to show his/her work in digital form. Beside still images, YouTube video is supported as well. This theme has also &#8216;Lightbox&#8217; for image and video preview built in [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://rider.sofarider.com/wp-content/uploads/2009/06/designer_corner.jpg" rel="shadowbox[imageset]"><img src="http://rider.sofarider.com/wp-content/uploads/2009/06/designer_corner-588x588.jpg" alt="designer_corner" title="designer_corner" width="588" height="588" class="alignnone size-medium wp-image-21" /></a><br />
<strong>NOTE:</strong> This theme can be purchased exclusively via <a href="http://themeforest.net/item/sofa-designercorner/33817">Themeforest</a>!</p>
<p>Sofa Designer Corner is Flash made WordPress theme. It&#8217;s straight, clean and simple portfolio theme made for anyone capable to show his/her work in digital form. Beside still images, YouTube video is supported as well. This theme has also &#8216;Lightbox&#8217; for image and video preview built in as well as automatic pagination control. In spite of the fact this is Flash theme, almost everything can be customized via WordPress Admin interface. With just a few clicks you can have a completely different layout and design without knowing any programming language.<br />
<strong>For those people who are not willing to setup this theme on their own or don&#8217;t have time to read manuals or don&#8217;t know how, I&#8217;ll setup demo site free of charge. Drop me an email, I&#8217;ll reply as soon as I can.</strong><br />
<br />
Before you purchase this theme please check whether your server PHP version is at least 4.4.9. It&#8217;s crucial for Flash theme to function properly!</p>
]]></content:encoded>
			<wfw:commentRss>http://rider.sofarider.com/work/wordpress-themes/designer-corner-flash-made-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sofa Realty &#8211; full Flash WordPress theme</title>
		<link>http://rider.sofarider.com/work/wordpress-themes/sofa-realty-full-flash-wordpress-theme/</link>
		<comments>http://rider.sofarider.com/work/wordpress-themes/sofa-realty-full-flash-wordpress-theme/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 10:31:23 +0000</pubDate>
		<dc:creator>Feeleep</dc:creator>
				<category><![CDATA[WordPress Themes]]></category>
		<category><![CDATA[flash template]]></category>
		<category><![CDATA[flash theme]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress flash]]></category>

		<guid isPermaLink="false">http://rider.sofarider.com/?p=7</guid>
		<description><![CDATA[
NOTE: This theme can be purchased exclusively via Themeforest!
SOFA RealEstate is full Flash made WordPress theme. It goes on behalf of Realtors or Real Estate agencies because it has been customized and made for such purpose. Theme owners are supposed to design page header and probably do some typo tuning job (CSS). Everything else can [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://rider.sofarider.com/wp-content/uploads/2009/06/sofa_realty.jpg" rel="shadowbox[imageset]"><img src="http://rider.sofarider.com/wp-content/uploads/2009/06/sofa_realty-588x438.jpg" alt="sofa_realty" title="sofa_realty" width="588" height="438" class="alignnone size-medium wp-image-8" /></a><br />
<strong>NOTE:</strong> This theme can be purchased exclusively via <a href="http://themeforest.net/item/sofa-realestate/26700">Themeforest</a>!</p>
<p>SOFA RealEstate is full Flash made WordPress theme. It goes on behalf of Realtors or Real Estate agencies because it has been customized and made for such purpose. Theme owners are supposed to design page header and probably do some typo tuning job (CSS). Everything else can be managed via WP Admin panel. Tilable backgrounds are also supported. Image and Youtube video thumbnails are generated automatically. This theme has built-in Post/Page image/video gallery (some kind of Flash Lightbox) as well as auto pagination control. It&#8217;s well documented, just follow instructions and you&#8217;ll need 10 minutes to make it ready.<br />
SOFA RealEstate theme does not include source FLA file. It&#8217;s too complex, contains custom and third party classes which are copyright protected and is almost impossible to document/cover all the aspects of this theme. Many will try to decompile SWF but I bet they&#8217;ll give up even sooner.<br />
Another thing you should know before you purchase this theme is that you will be able to use default font only. This is due to the fact that Flash does not allow embeded fonts to be replaced via CSS. I didn&#8217;t want to use shared library workaround because I guess many people do not know much about Flash. Better, yet simple solution is that I&#8217;ll re-render SWF with the font of your choice &#8211; free of charge, you only need to send it via e-mail. In case you need some extra customization &#8211; drop me a note.</p>
<h2>Features</h2>
<ul>
<li>Width: No limit (300px min.), float or fixed</li>
<li>All Flash Player and JavaScript enabled Browsers ready</li>
<li>Auto controlled/resized images and Youtube video</li>
<li>All Latin characters support (requires UTF-8 database!)</li>
<li>Many, many other options available via Admin panel</li>
</ul>
<p><b>NOTE!</b><br />
Some problems with data exchange between Flash and PHP reported on server running PHP version 4.2. At this point I&#8217;m not sure what&#8217;s an issue so I recommend &#8217;stable&#8217; versions of PHP; 4.4.9 or 5.2.8 &#8211; in order to make this theme function properly.<br /> Sorry for any inconvenience but is good to know before purchase.</p>
]]></content:encoded>
			<wfw:commentRss>http://rider.sofarider.com/work/wordpress-themes/sofa-realty-full-flash-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
