<?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>Design120 &#187; flash</title>
	<atom:link href="http://www.design.aus120.com/tag/flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.design.aus120.com</link>
	<description>Sean O&#039;Brien: Pro Windsurfer, Web and Content Designer, Elite Coach.</description>
	<lastBuildDate>Tue, 24 Jan 2012 22:54:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Flash Headline in Arthemia</title>
		<link>http://www.design.aus120.com/2008/11/flash-headline-in-arthemia-theme/</link>
		<comments>http://www.design.aus120.com/2008/11/flash-headline-in-arthemia-theme/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 17:53:14 +0000</pubDate>
		<dc:creator>Sean OBrien</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[arthemia]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[premium-themes]]></category>

		<guid isPermaLink="false">http://www.design.aus120.com/?p=78</guid>
		<description><![CDATA[On a recent project I just finished  I got to try out the Arthemia Premium theme and here is what I came up with: www.followthewinds.com. I had quite a few emails from people asking me how I got the flash animation working in the Headline section. Funnily enough, I saw the script on someone else&#8217;s website [...]]]></description>
			<content:encoded><![CDATA[<p style="float:right; margin:0 0 10px 15px; width:240px;">
		<img src="http://www.design.aus120.com/wp-content/woo_uploads/3-2-follow.jpg" width="240" />
		</p><p>On a recent project I just finished  I got to try out the Arthemia Premium theme and here is what I came up with: <a href="http://www.followthewinds.com">www.followthewinds.com</a>. I had quite a few emails from people asking me how I got the flash animation working in the <span style="color: #00aeef;">Headline </span>section. Funnily enough, I saw the script on someone else&#8217;s website and figured out how to do it myself.</p>
<p>Unfortunately, its not a free script; it&#8217;s &#8220;paid&#8221; and will set you back US$15 from FlashDen:<br />
<a rel="nofollow" href="http://www.flashden.net/item/accordion-v1-xml/4332">http://www.flashden.net/item/accordion-v1-xml/4332</a></p>
<p>You can get other similar scripts for free but they&#8217;re not as complete and usually haven&#8217;t got the<span style="color: #00aeef;"> .xml file</span> attached which will let you very easily add text to the images and assign the right pictures without editing the original flash files (.swf/.fla) themselves.</p>
<p>This script was a little tricky to get to work in because (my copy at least) didn&#8217;t come with any decent instructions and it wasn&#8217;t apparent where all the files needed to be sitting in your <span style="color: #00aeef;">header.php</span> and in your source folder. Anyhow, I worked it out after all the emails I received from others asking how I did this, I decided I&#8217;ll put a quick tutorial together on how you can put it in the Arthemia theme.<br />
<span id="more-78"></span></p>
<div id="important"><strong>IMPORTANT NOTE:</strong><br />
Recently, a newer version of the flash script (v2.1) has been released, which will not work with the below instructions. This tutorial was written with v1.4.4 and has been tested up to v1.5 and works perfectly. If you have downloaded the newer version, it appears all you need do is firstly replace is the swfobject.js file with the older version. You can download my v1.4.4 file <a href="http://www.followthewinds.com/wp-content/themes/arthemia/deploy/swfobject.js">here</a>. Then put all the files (images etc) into <strong>one folder</strong> without the subfolders used in the new downloads. Then you should be able to follow these instructions as usual.</div>
<p>If you would like to attempt to get the newer v2.1 script to work, some discussions and a working tutorial can be found on this forum post, for those who are members of the Colorlabsproject Forums: <a href="http://colorlabsproject.com/forum/topic.php?id=128">http://colorlabsproject.com/forum/topic.php?id=128</a>.</p>
<p><span style="color: #00aeef;">Step 1.</span><br />
Upload the following files (which you should have the from the FlashDen download) to a directory in your wordpress folder. I used /wp-content/themes/arthemia/ to make it easier.</p>
<ul>
<li>image1.jpg</li>
<li>image2.jpg</li>
<li>image3.jpg</li>
<li>image4.jpg</li>
<li>image5.jpg</li>
<li>image6.jpg</li>
<li>image7.jpg</li>
<li>preview.swf</li>
<li>swfobject.js</li>
<li>accordion.xml</li>
</ul>
<p><span style="color: #00aeef;">Step 2.<br />
</span>Add the following piece of code to your <strong>header.php</strong> after the last carousel script. It should be somewhere around Line 22 depending on what update you have of Arthemia theme.</p>
<p><span style="color: #00aeef;"> &lt;script src=&quot;http://www.followthewinds.com/wp-content/themes/arthemia/deploy/swfobject.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt; </span></p>
<p><em>Change it to your website address obviously! And be careful that it links perfectly to the file.<br />
Try copying the address into your browser to check!</em></p>
<p><span style="color: #00aeef;">Step 3.</span><br />
Now we need to add the following code to replace everything in the <strong>Headline div. </strong>Just delete everything between line 188 &#8211; 227 in your header.php and replace it with the following code:<strong> </strong></p>
<p><img src="http://www.design.aus120.com/wp-content/uploads/2008/11/arthemia-code-2.gif" alt="arthemia code" /></p>
<p>You&#8217;ll notice I&#8217;ve changed this a little from the original code in the FlashDen download. This is because it would not validate in strict xHTML without these changes. I&#8217;ve only changed two things:</p>
<ul>
<li>delete the table value <span style="color: #00aeef;">height=&#8221;100%&#8221;</span>, this is not a valid value &#8211; you don&#8217;t need a height in this instance, the height will be defined by the size of your .swf file.</li>
<li>replace all instances of <span style="color: #00aeef;">&amp;</span> with <span style="color: #00aeef;">&amp;amp;</span>. This is the correct html special characters to use to validate your flash code.</li>
</ul>
<p><span style="color: #00aeef;">Step 4.</span><br />
Now go to your <strong>accordion.xml</strong> file and change all the <strong>image1.jpg</strong> instances to a full address (it needs to be the exact address to work, or you can use the tag <span style="font-family: Courier New;"><span style="color: #00aeef;">&lt; ?php bloginfo(&#8216;template_url&#8217;); ? &gt;. </span></span></p>
<p><span style="color: #00aeef;">Step 5.<br />
</span>Once you&#8217;ve got up to Step 4 and you&#8217;ve edited your pictures to suit, you should be able to view the player on your website.  You&#8217;ll notice the .swf file is a little wider than the Headline section and you have about 1-2px of your player being cut-off. A simple fix of your style.css file will fix this:</p>
<p>Here’s what you need to change to make it fit like mine:</p>
<p><span style="color: #00aeef;">#headline {<br />
width:600px;<br />
}</span></p>
<p><span style="color: #00aeef;">#featured {<br />
width:300px;<br />
}</span></p>
<p>And there you have it. A nice flash accordion style menu featuring whatever content you&#8217;d like!</p>
<p>If you are having any problems with this (I know I made this tutorial pretty short, and I&#8217;m having issues with my GoogleSyntaxHighlighter Plugin so you can&#8217;t copy and paste the second piece of code as I&#8217;ve had to use an image of it!) feel free to send me an email about it. I&#8217;ll try to help out where I can.</p>
<p>And props to Michael for a great theme &#8211; <a href="http://www.colorlabsproject.com">Arthemia Premium</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.design.aus120.com/2008/11/flash-headline-in-arthemia-theme/feed/</wfw:commentRss>
		<slash:comments>72</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: www.design.aus120.com @ 2012-02-06 01:29:40 -->
