Transparent layer over flash object

  • gopan
  • Born
  • Born
  • gopan
  • Posts: 2

Post 3+ Months Ago

Hi
I am trying to setup a transparent gif image over a flash object .
I tried adding wmode = trnsparent to the object tag and param tag.
it works fine in windows.
But in kubuntu the image goes beneath the flash. (i was checking firefox)

Also i tried putting an iframe as suggested here http://blog.marcoos.com/2006/07/21/html ... -possible/

I could place a div over the flash using this method; but the flash behind the div became tranparent.

I also tried using swfobject but same results

Can someone help me out of this?

Regards
Gopan
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Posts: 1828
  • Loc: In the Great White North

Post 3+ Months Ago

It should work. I would recommend using the swfObject (make sure to set wMode in the swfObject).

Also when you add the overlay make sure to enclose the image in a div (don't try to set the image z-index on its own) and remember to add position:relative to your overlay div.
  • danyweb
  • Newbie
  • Newbie
  • danyweb
  • Posts: 9

Post 3+ Months Ago

I leave you here an example that works:

Code: [ Select ]
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="936" height="676" id="homehtml" align="middle">
      <param name="allowScriptAccess" value="sameDomain" />
      <param name="allowFullScreen" value="false" />
      <param name="movie" value="homehtml.swf" />
      <param name="quality" value="high" />
      <param name="wmode" value="transpare not">
      <embed src="homehtml.swf" wmode="transpare not" quality="high" width="936" height="676" name="homehtml" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />    
  </object>
  1. <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="936" height="676" id="homehtml" align="middle">
  2.       <param name="allowScriptAccess" value="sameDomain" />
  3.       <param name="allowFullScreen" value="false" />
  4.       <param name="movie" value="homehtml.swf" />
  5.       <param name="quality" value="high" />
  6.       <param name="wmode" value="transpare not">
  7.       <embed src="homehtml.swf" wmode="transpare not" quality="high" width="936" height="676" name="homehtml" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />    
  8.   </object>

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 41 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.