<?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>graphiceyedea &#187; flash</title>
	<atom:link href="http://graphiceyedea.co.uk/wp/category/flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://graphiceyedea.co.uk/wp</link>
	<description>prisca schmarsow - portfolio</description>
	<lastBuildDate>Sat, 20 Aug 2011 10:48:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>using flash as progressive enhancement</title>
		<link>http://graphiceyedea.co.uk/wp/using-flash-as-progressive-enhancement/</link>
		<comments>http://graphiceyedea.co.uk/wp/using-flash-as-progressive-enhancement/#comments</comments>
		<pubDate>Mon, 07 May 2007 17:20:45 +0000</pubDate>
		<dc:creator>prisca</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[handcoding]]></category>

		<guid isPermaLink="false">http://www.graphiceyedea.co.uk/wp/?p=188</guid>
		<description><![CDATA[Sorry about this abstract sounding title &#8211; just the best way to put it ;) For those of us who love Flash &#8211; it is important to understand how to implement any flash content without alienating those who cannot see it due to browser plugins, security or network settings. The times of flash being something [...]]]></description>
			<content:encoded><![CDATA[<p>Sorry about this abstract sounding title &#8211; just the best way to put it ;)<br />
<img src="http://www.graphiceyedea.co.uk/wp/wp-content/uploads/2007/05/flash.jpg" alt="flash icon" /><br />
For those of us who love Flash &#8211; it is important to understand how to implement any flash content without alienating those who cannot see it due to browser plugins, security or network settings. The times of flash being something people either love or hate should be over and we can look forward to using flash elements to visually enhance our sites while ensuring consistent design and style throughout.</p>
<p><span id="more-188"></span></p>
<p>Flash elements can be a great enhancement to any site but you should carefully plan their integration into your page. Due to the nature of this content and its reliance on the flash player plugin you will need to consider what fallback you can put in place should the flash content be blocked or fail to play. When you look at the resources, tutorials and articles online &#8211; you can find various opinions and approaches to this, see a few examples below:</p>
<ul>
<li> <a href="http://alistapart.com/articles/flashembedcagematch" title="flash embedding cage match" target="_blank">Flash Embedding Cage Match</a> by  Bobby van der Sluis [A List Apart]</li>
<li> <a href="http://perishablepress.com/press/2007/04/17/embed-flash-or-die-trying/" title="Embed Flash or Die Trying">Embed Flash or Die Trying</a> by Perishable Press</li>
<li><a href="http://www.adobe.com/devnet/flash/articles/progressive_enhancement.html" title="adobe article">Developing Flash websites using progressive enhancement</a> by  Bobby van der Sluis [Adobe Development Centre]</li>
<li><a href="http://www.bobbyvandersluis.com/ufo/" title="main UFO page">Unobtrusive Flash Objects (UFO) v3.20</a> by  Bobby van der Sluis [bobbyvandersluis.com]</li>
</ul>
<p><img src="http://www.graphiceyedea.co.uk/wp/wp-content/uploads/2007/05/vanderluis.jpg" alt="bobby van der sluis - screenshot of UFO page" /></p>
<p>You will find that you will inevitably end up looking at Bobby van der Sluis UFO script and realise its potential. Using this approach to enhance your websites will allow your site to include flash elements while displaying static visuals in case there is a problem with this type of interactive content.  His approach is to place static content on the page &#8211; which then gets replaced by the flash files if the browser uses Javascript and is found to have the required flash player plugin.</p>
<p>The best instructions you will obviously find on the original site where you can also read up on many more technical details &#8211; <a href="http://www.bobbyvandersluis.com/ufo/" title="UFO - original download and reference page" target="_blank">go to bobbyvandersluis.com/ufo </a>. Here, I will only go through the required steps one by one to sum up how this setup works.</p>
<ol>
<li>considering your layout plan &#8211; create the flash content in the required dimensions and save for web in 2 formats:
<ol>
<li>.SWF = the flash element, published for web<br />
(remember to optimise your graphics and any other elements for your file to be a light in file size as possible)</li>
<li>.JPG / .GIF / .PNG = the element as static image<br />
choose an appropriate frame in your flash movie to export the visual and keep in mind its display within your page&#8217;s layout. You might need to create and edit a new graphic for this; for vectors you will be able to swap between Flash and Illustrator quite easily.<br />
(again, it will be important to optimise the final image file for the web)</li>
</ol>
</li>
<li>set up place holder element (containing static content)<br />
To present your new visual &#8211; set up a new DIV with an unique ID and place the static image inside, see below:</p>
<pre><strong>
&lt;div id="header_anim"&gt;
    &lt;img src="images/banner.jpg" alt="header image showing clouds"
    width="760" height="120" /&gt;
&lt;/div&gt;
</strong></pre>
<p>make sure to test your setup at this point and preview the place holder content in your browser before the next steps will replace it with flash.</li>
<li>download the UFO file from <a href="http://www.bobbyvandersluis.com/ufo/" title="UFO - original download and reference page" target="_blank">bobbyvandersluis.com/ufo</a> (take a close look at all sample files included) and place the js script file into an appropriate directory within your site&#8217;s root folder<br />
=&gt; link to this file within the header tag of your HTML document:</p>
<pre> <strong>&lt;script type="text/javascript" src="js/ufo.js"&gt; &lt;/script&gt;</strong></pre>
</li>
<li>with the main javascript file linked &#8211; you will need to set up an additional bit of javascript (one for each element) within the header tag to load the flash content (FO = flash object).<br />
<strong>Note:</strong> even though IE6 does not support transparency with flash generally this script does enable transparent flash files :)</p>
<pre> <strong>
&lt;script type="text/javascript"&gt;
var FO = { movie:"flash/banner_anim.swf", width:"760", height:"120",
           majorversion:"6", build:"40",wmode:"transparent",
           bgcolor:"transparent" };
&lt;/script&gt;</strong></pre>
</li>
<li>the final javascript now will create the flash object and place the content into the place holder DIV &#8211; for each element, call the UFO.create function as shown here in bold:
<pre>
&lt;script type="text/javascript"&gt;
var FO = { movie:"flash/banner_anim.swf", width:"760", height:"120",
           majorversion:"6", build:"40", wmode:"transparent",
           bgcolor:"transparent" };
<strong>UFO.create(FO, "header_anim");</strong>
&lt;/script&gt;</pre>
</li>
</ol>
<p>Once you have completed the steps above &#8211; you can test your setup. Open the page in a browser such as Firefox and check whether your flash movie is displayed as expected. To view the placeholder content &#8211; disable Javascript and refresh the page.  If everything is working as planned &#8211; you should now see your static content displayed in place of the flash file.</p>
<p>happy flashin&#8217; ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://graphiceyedea.co.uk/wp/using-flash-as-progressive-enhancement/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>getting around problems with Flash and IE</title>
		<link>http://graphiceyedea.co.uk/wp/getting-around-problems-with-flash-and-ie/</link>
		<comments>http://graphiceyedea.co.uk/wp/getting-around-problems-with-flash-and-ie/#comments</comments>
		<pubDate>Tue, 12 Sep 2006 19:54:56 +0000</pubDate>
		<dc:creator>prisca</dc:creator>
				<category><![CDATA[IE thoughts]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[flash]]></category>

		<guid isPermaLink="false">http://www.graphiceyedea.co.uk/wp/?p=58</guid>
		<description><![CDATA[After struggling to get a consistent and stable set up for 2 small flash movies, floated next to each other, in IE &#8211; I gave up trying to figure this one out. Let&#8217;s hope for better support in future versions&#8230;. I decided to stick with the page redirection &#8211; if flash is not found on [...]]]></description>
			<content:encoded><![CDATA[<p>After struggling to get a consistent and stable set up for 2 small flash movies, floated next to each other, in IE &#8211; I gave up trying to figure this one out. Let&#8217;s hope for better support in future versions&#8230;.</p>
<p>I decided to stick with the page redirection &#8211; if flash is not found on the user machine and the browser will display a different page instead which replaces the 2 flash movies with static gifs &#8211; and add a browser detection script to re-direct IE onto this same page, avoiding the flash alignment problems.<br />
<span id="more-58"></span><br />
Just to keep track of the scripts used and some resources&#8230;</p>
<p><strong> flash detection scripts:</strong></p>
<ul>
<li>Colin Moock <a title="moock fpi" target="_blank" href="http://www.moock.org/webdesign/flash/detection/moockfpi/">MOOCK FPI [fLASH pLAYER iNSPECTOR] </a><br />
now no longer in development &#8211; I found this an excellent Flash detection script to use<br />
Colin points to the now more up-to-date flash detection from Adobe</li>
<li><a target="_blank" href="http://www.adobe.com/products/flashplayer/download/detection_kit/">Adobe Flash Player Detection Kit</a><br />
available as download &#8211; the kit contains various methods of plugin detection and more with plenty of documentation</li>
</ul>
<p><strong>browser detection:</strong></p>
<p><img id="image59" class="relative" alt="javascript snap shot" src="http://www.graphiceyedea.co.uk/wp/wp-content/uploads/2006/09/brows_detect.gif" /></p>
<blockquote>
<pre><script language="JavaScript"> <!-- var browserName=navigator.appName;  if (browserName=="Netscape")  {  window.location="http://www.site.com/flash.html";  }  else  {  if (browserName=="Microsoft Internet Explorer")  {  window.location="http://www.site.com/noflash.html";  }  else  {  window.location="http://www.site.com/flash.html";  }  }  //-->  </script></pre>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://graphiceyedea.co.uk/wp/getting-around-problems-with-flash-and-ie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

