<p>This page from Adobe says to add a "wmode" parameter and set its value to "transparent": <a href="http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14201" rel="nofollow noreferrer">http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_1420</a></p>

<p>This works flawlessly in IE.  The background renders correctly in Firefox and Safari, however as soon as you use the browser's scroll bar then mouse over the Flash control you must click once to activate the control.  You can see this behavior if you try to hit the play button in Adobe's example.</p>

<p>Anyone know a way around this?</p>

[{'answer_id': 6784, 'author': 'Mark Renouf', 'author_id': 758, 'author_profile': 'https://Stackoverflow.com/users/758', 'pm_score': 0, 'selected': False, 'text': "<p>Enabling windowless mode (wmode=) makes embedded flash act and render just like other elements. Without that, it's rendered in a seperate step and just overlaid on the browser's window.</p>\n\n<p>Could the flash element be losing focus? Sounds like input focus is moved to the scollbar, then you have to move it back.</p>\n\n<p>Also you weren't clear whether the focus issue was only in FF or also in IE.</p>\n"}, {'answer_id': 7833, 'author': 'Shawn Miller', 'author_id': 247, 'author_profile': 'https://Stackoverflow.com/users/247', 'pm_score': 0, 'selected': False, 'text': '<p>The Adobe example "works" in Firefox 3.0.1 in the sense that the background is transparent.  However, in Firefox 3.0.1 and Safari 3.1.2 you must click the play button twice to see the animation.</p>\n'}, {'answer_id': 9832, 'author': 'grapefrukt', 'author_id': 914, 'author_profile': 'https://Stackoverflow.com/users/914', 'pm_score': 2, 'selected': False, 'text': "<p>On another note; setting the wmode to transparent has a few kinks. For instance it can break the scrolling (the flash stays in the same place disregarding the scroll) in some older versions of Firefox (pre 2.0). I've also had issues with ALT-key combinations in textfields not working when wmode is transparent.</p>\n\n<p>Also, if you need to place html-content above flash-content (not a good idea generally, but there are cases when it's useful) wmode=transparent is the way to go.</p>\n"}, {'answer_id': 16830, 'author': 'Shawn Miller', 'author_id': 247, 'author_profile': 'https://Stackoverflow.com/users/247', 'pm_score': 0, 'selected': False, 'text': '<p>After spending some more time on this I agree with @grapefrukt. Setting wmode to transparent leads to all sorts of strange issues and in my opinion it should be avoided.</p>\n\n<p>Instead I\'ve resorted to passing the background color as a parameter.  I use the following ActionScript to draw the background.</p>\n\n<pre><code>var parameters:Object = LoaderInfo(this.root.loaderInfo).parameters;\nopaqueBackground = parameters["background-color"];\n</code></pre>\n\n<p>EDIT: Thanks to @grapefrukt for reminding me of the bgcolor param (which makes the ActionScript above totally unnecessary)</p>\n'}, {'answer_id': 26040, 'author': 'grapefrukt', 'author_id': 914, 'author_profile': 'https://Stackoverflow.com/users/914', 'pm_score': 2, 'selected': True, 'text': '<p>You know you can set the background color when you\'re embedding?</p>\n<blockquote>\n<p>The following attributes are optional when defining the object and/or embed tags. For object , all attributes are defined in param tags unless otherwise specified:</p>\n<p><strong>bgcolor</strong> - [ hexadecimal RGB value] in the format #RRGGBB . Specifies the background color of the movie. Use this attribute to override the background color setting specified in the Flash file. This attribute does not affect the background color of the HTML page.</p>\n</blockquote>\n<p>Cut \'n paste from <a href="http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_12701&amp;sliceId=1" rel="nofollow noreferrer">http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_12701&amp;sliceId=1</a></p>\n'}]
['https://Stackoverflow.com/questions/6778', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/247/']