Hi,
I have a very simple html page that loads an embedded object.
It in FF and shows nothing in IE.

<html>

<head>


</head> 


<body>

<object style="">

<embed style="movie" width=100% height=98% src="" FlashVars="xmlPath=picasna.com/widget/xml/&an=PlacesIVeBeenPicturesITook&ps=1024&un=effyl01&ts=163&cpad=20&tpad=20&cscheme=0&bt=0&ct=1&nick=1"
type="application/x-shockwave-flash"
allowscriptaccess="always"
allowfullscreen="true">
</embed>


</object>


</body>




</html>

Dani AI

Generated

Short diagnosis and practical fixes.

The symptom (works in Firefox, nothing in IE) usually comes from one of three things: IE either doesn’t have the Flash ActiveX enabled, IE is blocking the ActiveX at runtime, or the HTML uses non‑IE-friendly embed markup. ’s and ’s observations (IE working for them / ActiveX blocking) point toward a local/IE configuration issue; was right that IE uses a different Flash plugin type.

Quick troubleshooting (do these in order):

  • In IE go to Tools → Manage Add‑ons → Show: All add‑ons and make sure the Shockwave/Flash ActiveX is present and enabled. If an info bar appears saying add‑on blocked, click it and “Allow”.
  • Check IE security zone settings (Internet Options → Security → Custom level) for ActiveX settings; try the Trusted Sites zone for testing.
  • Verify you have the ActiveX Flash installed (Control Panel → Programs and Features) or test the machine in another IE profile/machine to rule out local policy.
  • If the SWF reads external XML, ensure the FlashVars contain correct absolute URLs (include protocol) and that any cross‑domain resources serve a proper crossdomain.xml.

Markup fix — IE needs <param> for the ActiveX to load. Replace the bare/embed-only snippet with proper object+param (example uses placeholders):

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
        codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0"
        width="100%" height="98%">
  <param name="movie" value="http://example.com/gallery.swf" />
  <param name="flashvars" value="xmlPath=http://example.com/widget/xml/&un=username" />
  <param name="allowScriptAccess" value="always" />
  <param name="allowFullScreen" value="true" />
  <embed src="http://example.com/gallery.swf"
         flashvars="xmlPath=http://example.com/widget/xml/&un=username"
         type="application/x-shockwave-flash"
         allowscriptaccess="always" allowfullscreen="true"
         width="100%" height="98%"></embed>
</object>

Notes: quote attributes (e.g., width="100%"), use absolute URLs in FlashVars when appropriate, and if the SWF loads data from another domain make sure that server has an appropriate crossdomain.xml. One reply suggested using a JS embed helper to avoid markup quirks; that approach can save time. Also remember Flash is deprecated in modern browsers — consider an HTML5 alternative for long‑term compatibility.

Recommended Answers

All 4 Replies

I tested the code and it worked fine for me in IE 7.

I tested the code and it worked fine for me in IE 7.

Works for me in IE 8, but I had to un-block activeX scripts.
Could that be your problem ?

I believe there are different versions of shockwave for IE and FF. Check to see if you have the IE plugin.

Member Avatar for Member #334542

Always embed your flash object with swfobject2.2. Need to just fill out all html boxes that will gives you the proper embed code to use in all browsers.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.