PDA

View Full Version : Explorer doesn't show flash



g_force
09-08-2008, 04:47 PM
I am currently having a real problem displaying flash files predominantly in Internet Explorer, in Firefox it is displaying fine. It's not even a run active content problem - it's just with one particular file which is 2.4MB - is that too big for IE or something>?

BLiZZaRD
09-08-2008, 05:16 PM
have a link? I bet its a setting somewhere

link to the page and we will get it up

g_force
09-08-2008, 08:13 PM
sounds like it could be - here's a test page which works fine in Firefox and Safari but not Internet Explorer (v 7.0 for me)

Flash Test Page (http://webvertising4free.com/MFPOI/FlashTEST.html)

This is the JS file 'movie1.js' as referred to in the test page.

function RunMovie()
{
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" id="FrameCount" width="400" height="550">\n');
document.write('<param name="FrameCount" value="FrameCount.swf">\n');
document.write('<param name="quality" value="high">\n');
document.write('<param name="wmode" value="transparent">\n');
document.write('<embed type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" name="FrameCount" width="400" height="550" src="FrameCount.swf" quality="high" wmode="transparent" swliveconnect="true" allowscriptaccess="samedomain"></embed>\n');
document.write('</object>\n');
}

function getFlashMovieObject(FrameCount)
{
if (window.document[FrameCount])
{
return window.document[FrameCount];
}
if (navigator.appName.indexOf("Microsoft Internet")==-1)
{
if (document.embeds && document.embeds[FrameCount])
return document.embeds[FrameCount];
}
else // if (navigator.appName.indexOf("Microsoft Internet")!=-1)
{
return document.getElementById(FrameCount);
}
}

function PlayFlashMovie()
{
var flashMovie=getFlashMovieObject("FrameCount");
flashMovie.Play();
}

function Frame5FlashMovie()
{
var flashMovie=getFlashMovieObject("FrameCount");
// 4 is the index of the property for _currentFrame
var currentFrame=flashMovie.TGetProperty("/", 4);
var Frame5=parseInt(currentFrame);
if (Frame5>=1)
Frame5=5;
flashMovie.GotoFrame(Frame5);
flashMovie.Play();
}

function Frame11FlashMovie()
{
var flashMovie=getFlashMovieObject("FrameCount");
// 10 is the index of the property for _currentFrame
var currentFrame=flashMovie.TGetProperty("/", 0);
var Frame11=parseInt(currentFrame);
if (Frame11>=0)
Frame11=10;
flashMovie.GotoFrame(Frame11);
flashMovie.Play();
}

BLiZZaRD
09-09-2008, 02:23 PM
Well, this is a toughie. Let's start with fixing the errors (no opening <body> etc..) Sending IE into Quirks mode while trying to run embed Flash JS code doesn't help.

After that try making your images as buttons:

<input type="button" src="blah blah> In IE I can't click the images, which can be part of the problem...

g_force
09-09-2008, 04:48 PM
OK - I've done what you said.

test page (http://webvertising4free.com/MFPOI/FlashTEST.html)

It doesn't seem to have done too much just yet. Also I think not being able to click the images was because you couldn't see the effect as there was no flash displaying. But anymore advice please feel free.

BLiZZaRD
09-09-2008, 05:14 PM
Well I watched the swf so I know what it is supposed to do... I am still getting a JS error (undefined) when I test in IE... Will look closer at your JS in a little bit.

g_force
09-09-2008, 06:37 PM
appreciate that!

g_force
09-10-2008, 10:00 PM
any finds?