PDA

View Full Version : This swf works in all browsers but IE6/7???



kb1
Aug 26th, 2007, 04:05 AM
Hello

If you go to

http://www.truthandlife.info/Seminar.aspx

and scroll to the very bottom, on the right bottom is a small flash file, but it won't display in IE 6 or 7...tried many things, view source code to see the flash detection js...

So the flash file works great on all other recent browsers, Opera/Netscape/Safari/FF.

Currently on IE 6/7 it just appears as a dot...so I zoomed in and I can see it as I zoom in many times, seems it's not in a properly framed window or something...have a look..Is this a css problem - if so why does it work on all other browsers? Would love a fix.

Thanks much

KB

jlhaslip
Aug 26th, 2007, 05:45 AM
Looks the same in FF2, [email protected] with the IE Tab Extension, Opera, and IE7.

Only IE6 fails for me, and I don't know why.

effpeetee
Aug 26th, 2007, 11:46 AM
This is what it is like on my PC - IE7.0.6000.16512

Frank

with attachment.

kb1
Aug 27th, 2007, 06:45 AM
Thanks for both of your replies - good to know you can see it on IE 7 - I seem to have a problem only on IE 6 and 7 but every other browser works well - SO, any fix for IE 6 at least?

Thanks

KB

_Aerospace_Eng_
Aug 27th, 2007, 08:08 AM
Change this

<span class="imageAlign">
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','name','ClockTime','width','175','height','210','id','ClockTime','titl e','ClockTime','src','/ClockTime3','loop','false','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','play','true','movie','/ClockTime3' ); //end AC code
</script><noscript><object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
name="ClockTime" width="175" height="210" id="ClockTime" title="ClockTime">
<param name="movie" value="/ClockTime3.swf" />
<param name="quality" value="high" /><param name="LOOP" value="false"
/><param name="PLAY" value="true" />
<embed src="/ClockTime3.swf" width="175" height="210" loop="False"
quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" name="ClockTime" play="true"></embed>
</object></noscript></span>
to this

<span class="imageAlign" id="flashcontent">If you are reading this then it means you either have javascript disabled or you do not have a flash plugin installed.</span>
<script type="text/javascript">
var so = new SWFObject("/ClockTime3.swf", "ClockTime", "175", "210", "7", "#FFFFFF");
so.addParam("play", "true");
so.addParam("loop", "false");
so.write("flashcontent");
</script>

Download SWFObject 1.5 (http://blog.deconcept.com/swfobject/#download) then upload the swfobject.js file to your root directory.

Once you do that replace this

<script src="http://www.truthandlife.info/Scripts/AC_ActiveX.js" type="text/javascript"></script>
<script src="http://www.truthandlife.info/Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
with this

<script type="text/javascript" src="swfobject.js"></script>

BTW it IS showing up in IE, expect its just really small. I suspect its the Adobe active content script you used causing the problem.