A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Flash is not displaying in firefox but displays in IE

  1. #1
    Junior Member
    Join Date
    Aug 2010
    Posts
    1

    Flash is not displaying in firefox but displays in IE

    Here's my code...

    <div id="header">
    <div><!--Valid flash version 8.0-->
    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,24"
    width="820" height="258">
    <param name="movie" value="flash/header_fv8.swf" />
    <param name="quality" value="high" />
    <param name="menu" value="false" />
    <param name="wmode" value="opaque" />
    <!--[if !IE]> <-->
    </object>
    <!--> <![endif]-->
    </object></div>
    </div>

  2. #2
    Senior Member vinayak.kadam's Avatar
    Join Date
    Oct 2006
    Location
    gotoAndPlay("Pune");
    Posts
    831
    Welcome to FlashKit!

    Object tag embeds your SWF in IE only. You also need to put <embed> tag so that the SWf is also embedded in other browsers. Please have a look at the link below:

    http://www.w3schools.com/flash/flash_inhtml.asp
    Last edited by vinayak.kadam; 08-18-2010 at 09:02 AM. Reason: added link!
    As ever,
    Vinayak Kadam

  3. #3
    Junior Member
    Join Date
    Jun 2010
    Posts
    29
    Please download the latest version of Adobe Flash Player (for IE browser)from: http://get.adobe.com/flashplayer/otherversions/

    If you have trouble inserting swf into IE, please check this example:

    <object classid="clsid27CDB6E-AE6D-11CF-96B8-444553540000" id="banner"codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="754" height="64"><param name="movie" value="banner.swf"><param name="quality" value="High"><embed src="http://www.domain.com/video/banner.swf"pluginspage="http://www.macromedia.com/go/getflashplayer"type="application/x-shockwave-flash" name="banner"width="754" height="64" quality="High"></object>

    Now IE uses param movie tag to download swf file and Firefox uses embed src tag to download swf. Correct code would be

    <object classid="clsid27CDB6E-AE6D-11CF-96B8-444553540000" id="banner"codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"border="0" width="754" height="64"><param name="movie" value="http://www.domain.com/video/banner.swf"><param name="quality" value="High"><embed src="http://www.domain.com/video/banner.swf"pluginspage="http://www.macromedia.com/go/getflashplayer"type="application/x-shockwave-flash"name="banner" width="754" height="64" quality="High"></object>
    ****************************************
    ****************************************
    Create standalone SWF slideshow with Premium flash templates!

    DIY slideshow template using flash template editor

    Learn more about how to make your own template and DIY fathers day ecard

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center