<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Flash on Flash for hybrid sites</title>
	<atom:link href="http://www.lostinactionscript.com/blog/index.php/2007/03/23/flash-on-flash-for-hybrid-sites/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lostinactionscript.com/blog/index.php/2007/03/23/flash-on-flash-for-hybrid-sites/</link>
	<description>Lost In Actionscript</description>
	<lastBuildDate>Fri, 27 Aug 2010 18:35:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jon B</title>
		<link>http://www.lostinactionscript.com/blog/index.php/2007/03/23/flash-on-flash-for-hybrid-sites/comment-page-1/#comment-66</link>
		<dc:creator>Jon B</dc:creator>
		<pubDate>Mon, 26 Mar 2007 01:13:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashdynamix.com/blog/index.php/2007/03/23/flash-on-flash-for-hybrid-sites/#comment-66</guid>
		<description>Hi Shane that works perfectly on Safari and Firefox on my Mac, once again it seems to be  a case of the Mac Flash Player playing catch-up after initial neglect by Macromedia.</description>
		<content:encoded><![CDATA[<p>Hi Shane that works perfectly on Safari and Firefox on my Mac, once again it seems to be  a case of the Mac Flash Player playing catch-up after initial neglect by Macromedia.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shane McCartney</title>
		<link>http://www.lostinactionscript.com/blog/index.php/2007/03/23/flash-on-flash-for-hybrid-sites/comment-page-1/#comment-62</link>
		<dc:creator>Shane McCartney</dc:creator>
		<pubDate>Fri, 23 Mar 2007 14:04:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashdynamix.com/blog/index.php/2007/03/23/flash-on-flash-for-hybrid-sites/#comment-62</guid>
		<description>Thanks for that Jon, didn&#039;t have the chance to test Mac. It appears the only solution on a Mac is to set the wmode anything other than default with the SWF embedded in the iframe. I would suggest not to use wmode transparent as it is the quirkest of them all &lt;a href=&quot;http://www.5etdemi.com/blog/archives/2005/06/firefox-wmodetransparent-is-completely-screwy-and-breaks-textfields/&quot; rel=&quot;nofollow&quot;&gt;http://www.5etdemi.com/blog/archives/2005/06/firefox-wmodetransparent-is-completely-screwy-and-breaks-textfields/&lt;/a&gt;.

So if you use this code in the iframe (content.html) this sets the wmode based on OS being a Mac hence fixing it :
&lt;code&gt;var isMac = /Mac/.test(navigator.userAgent);
if(isMac){
	so.addParam(&quot;wmode&quot;, &quot;opaque&quot;);
}&lt;/code&gt;

Something also interesting found along the way to controlling depths with Flash in HTML is done by using wmode &#039;opaque&#039; it allows for the z-index of the flash to be altered. Unlike the default which floats the Flash over HTML content regardless of the CSS used.

Considering the worst quirk for using wmode &#039;opaque&#039; is lack of scroll wheel support(PC only) and Macs don&#039;t natively support scroll wheel in Flash it&#039;s not a bad solution. Cause for PC all browsers the previous solution works fine. 

This post is also an interesting read on furthering knowledge on the quirks of using the wmode parameter &lt;a href=&quot;http://www.asserttrue.com/articles/2006/11/17/firefox-and-flash-swf-selection-and-focus-problems&quot; rel=&quot;nofollow&quot;&gt;http://www.asserttrue.com/articles/2006/11/17/firefox-and-flash-swf-selection-and-focus-problems&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Thanks for that Jon, didn&#8217;t have the chance to test Mac. It appears the only solution on a Mac is to set the wmode anything other than default with the SWF embedded in the iframe. I would suggest not to use wmode transparent as it is the quirkest of them all <a href="http://www.5etdemi.com/blog/archives/2005/06/firefox-wmodetransparent-is-completely-screwy-and-breaks-textfields/" rel="nofollow">http://www.5etdemi.com/blog/archives/2005/06/firefox-wmodetransparent-is-completely-screwy-and-breaks-textfields/</a>.</p>
<p>So if you use this code in the iframe (content.html) this sets the wmode based on OS being a Mac hence fixing it :<br />
<code>var isMac = /Mac/.test(navigator.userAgent);<br />
if(isMac){<br />
	so.addParam("wmode", "opaque");<br />
}</code></p>
<p>Something also interesting found along the way to controlling depths with Flash in HTML is done by using wmode &#8216;opaque&#8217; it allows for the z-index of the flash to be altered. Unlike the default which floats the Flash over HTML content regardless of the CSS used.</p>
<p>Considering the worst quirk for using wmode &#8216;opaque&#8217; is lack of scroll wheel support(PC only) and Macs don&#8217;t natively support scroll wheel in Flash it&#8217;s not a bad solution. Cause for PC all browsers the previous solution works fine. </p>
<p>This post is also an interesting read on furthering knowledge on the quirks of using the wmode parameter <a href="http://www.asserttrue.com/articles/2006/11/17/firefox-and-flash-swf-selection-and-focus-problems" rel="nofollow">http://www.asserttrue.com/articles/2006/11/17/firefox-and-flash-swf-selection-and-focus-problems</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon B</title>
		<link>http://www.lostinactionscript.com/blog/index.php/2007/03/23/flash-on-flash-for-hybrid-sites/comment-page-1/#comment-60</link>
		<dc:creator>Jon B</dc:creator>
		<pubDate>Thu, 22 Mar 2007 22:44:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.flashdynamix.com/blog/index.php/2007/03/23/flash-on-flash-for-hybrid-sites/#comment-60</guid>
		<description>Unfortunately the Mac flash player doesn&#039;t seem to like this method, I tried the example in Safari (2.0.4) &amp; Firefox (2.0.0.3) on OS X 10.4.9 and  got the same result which was flickering during animation, which maybe suggests something to do with the flash redraw causing the z-index to momentarily change?</description>
		<content:encoded><![CDATA[<p>Unfortunately the Mac flash player doesn&#8217;t seem to like this method, I tried the example in Safari (2.0.4) &amp; Firefox (2.0.0.3) on OS X 10.4.9 and  got the same result which was flickering during animation, which maybe suggests something to do with the flash redraw causing the z-index to momentarily change?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
