Results 1 to 8 of 8

Thread: Explorer doesn't show flash

  1. #1
    Join Date
    Aug 2008
    Posts
    29
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question Explorer doesn't show flash

    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>?

  2. #2
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    have a link? I bet its a setting somewhere

    link to the page and we will get it up
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  3. #3
    Join Date
    Aug 2008
    Posts
    29
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question

    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

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

    function RunMovie()
    {
    document.write('<object classid="clsid27CDB6E-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();
    }

  4. #4
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    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...
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  5. #5
    Join Date
    Aug 2008
    Posts
    29
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question

    OK - I've done what you said.

    test page

    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.

  6. #6
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    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.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  7. #7
    Join Date
    Aug 2008
    Posts
    29
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    appreciate that!

  8. #8
    Join Date
    Aug 2008
    Posts
    29
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    any finds?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •