<?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>Web Design - css/php/seo &#187; flash</title>
	<atom:link href="http://www.claudiocugia.com/web_design/category/flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.claudiocugia.com/web_design</link>
	<description>Articles, code, tips&#38;tricks about web design and seo</description>
	<lastBuildDate>Fri, 14 Oct 2011 14:30:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Flash and PNGs</title>
		<link>http://www.claudiocugia.com/web_design/flash-and-pngs/</link>
		<comments>http://www.claudiocugia.com/web_design/flash-and-pngs/#comments</comments>
		<pubDate>Sun, 15 Feb 2009 23:12:58 +0000</pubDate>
		<dc:creator>claudio</dc:creator>
				<category><![CDATA[copy&paste]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[optimization]]></category>
		<category><![CDATA[png]]></category>

		<guid isPermaLink="false">http://www.claudiocugia.com/web_design/?p=215</guid>
		<description><![CDATA[Today I am going to show you another way of using flash in your pages. I do not use flash that often but for my latest website (www.sirenamurano.com) I really needed a solution to manage big sized PNGs. Let&#8217;s take &#8230; <a href="http://www.claudiocugia.com/web_design/flash-and-pngs/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today I am going to show you another way of using flash in your pages.<br />
I do not use flash that often but for my latest website (www.sirenamurano.com) I really needed a solution to manage big sized PNGs.<br />
<span id="more-215"></span><br />
Let&#8217;s take the girl image for example: it&#8217;s a 271.31 kB PNG image, definitely too big, keeping in mind that it is always wise to keep the whole size of the website small for faster browsing.<br />
So I came up with this solution: I used flash to optimize the PNG and produce a SWF file that is nearly six times smaller than the original. Then I implemented the SWF in the page via the <a href="http://www.claudiocugia.com/web_design/the-swfobject-21-in-a-nutshell/">SWFobject</a>; if the browser has not the flash player installed the original PNG is shown as an alternative content. In this case the pngfix for IE6 is needed of course.</p>
<p>So this could be a good method to get a crossbrowser compatibility as well, a kind of &#8216;the progressive enhancement&#8217; concept;<br />
the browser has the flash player &#8211;> show the content with flash;<br />
the browser has not the flash player &#8211;> show the alternative content;<br />
the browser has not the flash player and is IE6 &#8211;> show the alternative content.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.claudiocugia.com/web_design/flash-and-pngs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

