View Full Version : iframe and wmode = "transparent" ??
Pomme_
November 1st, 2006, 05:59 AM
Hello all :)
I have a tiny pb...
I need to have a wmode = "transparent" applied to a flash object in an iframe...
<iframe
align="left"
style="margin:4px;margin-top:2px;"
src="compteur_utc.swf"
width=87
height=58
scrolling="no"
frameborder="no"
wmode="transparent">
</iframe>
but the wmode="transparent" doesn't seem to be working... I absolutely need the iframe and I absolutely need the transparency *ON*.
Thanks for your help...
duncanhall
November 1st, 2006, 11:10 AM
Instead of trying to apply the transparency to the iframe, why not create a regular html page that contains the swf, with the swf's wmode set to transparent, and then point the iframe src to this html page?
Edit: I'm pretty sure 'wmode' isn't even a property of iframe, which is why it will not work.
Pomme_
November 3rd, 2006, 01:27 PM
Hey, thanks for the reply...
So, indeed wmode is NOT an iframe property.
I've also tried this... :
<div style="text-align:left;font: 11px/15px verdana, sans-serif; color: #222222;">
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="87" HEIGHT="58" id="compteur" ALIGN="left" style="margin:4px">
<PARAM NAME="movie" VALUE="http://medias.lemonde.fr/mmpub/edt/flash/20061101/829620_compteur_utc2.swf">
<PARAM NAME="loop" VALUE="false">
<PARAM NAME="menu" VALUE="false">
<PARAM NAME="quality" VALUE="high">
<PARAM NAME="bgcolor" VALUE="#FFFFFF">
<PARAM NAME="wmode" VALUE="transparent">
<EMBED src="http://medias.lemonde.fr/mmpub/edt/flash/20061101/829620_compteur_utc2.swf" loop="false" menu="false" quality="high" bgcolor="#FFFFFF" wmode="transparent" WIDTH="87" HEIGHT="58" NAME="compteur" ALIGN="left"
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>
<a href="/web/sequence/0,2-823448,1-0,0.html"> <font class="type">LA CAMPAGNE HEURE PAR HEURE</font></a><br>
<a href="/web/sequence/0,2-823448,1-0,0.html"> Toute l'actualité de la présidentielle</a><br>
<div style="clear:both;"></div>
</div>
but alas, to no avail, the wmode is still not working :(
I can't create an html page, the in-house editorial tool doesn't allow it... :pa:
Any other ideas??
duncanhall
November 3rd, 2006, 01:43 PM
I can't create an html page, the in-house editorial tool doesn't allow it...
Any other ideas??
Yeah, ditch the in-house editorial tool!
There's no other way round it - there's no attribute that you can assign the iframe to make it transparent (apart from possibly some absolutely mental js), and wmode can only be applied to the swf as a paramter of an object. Therefore you have to be embedding the object into a page. You have notepad - why cant you just make an html page with your swf in, make it transparent and point your frame at that. It's simple. and to me, it's the only way you can do it.
noTime
November 4th, 2006, 07:14 AM
Use pageAX (http://www.vysnia.com/tdomarkas/page.php?subaction=showfull&id=1155107878&ucat=2) to simulate your inline frame with a div tag.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.