{"id":2243,"date":"2008-12-03T00:46:15","date_gmt":"2008-12-03T00:46:15","guid":{"rendered":"http:\/\/angrypirate.wordpress.com\/?p=41"},"modified":"2008-12-03T00:46:15","modified_gmt":"2008-12-03T00:46:15","slug":"adding-wmodetransparent-to-swfobjectembedswf","status":"publish","type":"post","link":"https:\/\/www.alannarisse.com\/blog\/adding-wmodetransparent-to-swfobjectembedswf\/","title":{"rendered":"Adding wmode=transparent to swfobject.embedSWF"},"content":{"rendered":"<p>Thanks to <a href=\"http:\/\/groups.google.com\/group\/swfobject\/browse_thread\/thread\/2565613b6160cab0\/f680c25d006edd53\">Aran Rhee<\/a> on google groups, my bug is fixed and I can go on with my life now!<\/p>\n<p>Problem: My css drop down nav was showing up behind my swf. I needed to add a wmode=transparent but I was using swfObject 2.1 and couldn&#8217;t figure out how to add params. Thank you Aran! I owe you a beer.<\/p>\n<p>Aran Rhee<\/p>\n<p>From: &#8220;Aran Rhee&#8221;<br \/>\nDate: Wed, 21 May 2008 09:21:51 +1000<br \/>\nLocal: Tues, May 20 2008 3:21 pm<\/p>\n<p>Subject: RE: swfobject using the param (wmode)<\/p>\n<p>You are passing the params object as the wrong argument to the embedSWF()<br \/>\nfunction. Have a look at the docs &#8211; It specifies:<\/p>\n<p>var flashvars = {};<br \/>\nvar params = {};<br \/>\nvar attributes = {};<br \/>\nswfobject.embedSWF(&#8220;myContent.swf&#8221;, &#8220;myContent&#8221;, &#8220;300&#8221;, &#8220;120&#8221;,<br \/>\n&#8220;9.0.0&#8221;,&#8221;expressInstall.swf&#8221;, flashvars, params, attributes);<\/p>\n<p>As you can see, the flashvars object goes first, THEN the params object.<\/p>\n<p>Aran<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Thanks to Aran Rhee on google groups, my bug is fixed and I can go on with my life now! Problem: My css drop down nav was showing up behind my swf. I needed to add a wmode=transparent but I was using swfObject 2.1 and couldn&#8217;t figure out how to add params. Thank you Aran! [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-2243","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.alannarisse.com\/blog\/wp-json\/wp\/v2\/posts\/2243","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.alannarisse.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.alannarisse.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.alannarisse.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.alannarisse.com\/blog\/wp-json\/wp\/v2\/comments?post=2243"}],"version-history":[{"count":0,"href":"https:\/\/www.alannarisse.com\/blog\/wp-json\/wp\/v2\/posts\/2243\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.alannarisse.com\/blog\/wp-json\/wp\/v2\/media?parent=2243"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.alannarisse.com\/blog\/wp-json\/wp\/v2\/categories?post=2243"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.alannarisse.com\/blog\/wp-json\/wp\/v2\/tags?post=2243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}