Archive

Posts Tagged ‘DIV Layers’

Tip: How to send Flash elements to the back

November 24th, 2008 25 comments

I was checking the new LinkedIn search feature earlier today and noticed that the results displayed once you start typing inside the people search box were covered by the 300×250 flash ad.

This issue exists on many web sites where Flash objects appear in the front, and cover dynamic HTML content. One example are pages that have embedded YouTube videos as well as Snap Shots that appear as a layer under the video player instead in front of it .

To solve this issue, you don’t need to be a Flash development guru. All you should do is make sure the Flash object (ad, embedded video player, etc.) has a transparent background. Depending on whether you are using the OBJECT or EMBED tag:

  • Add the following parameter to the OBJECT tag: <param name="wmode" value="transparent">
  • Add the following parameter to the EMBED tag: wmode="transparent"

Once you change your code, you should not see an issue similar to the one below.