Update:(July 26 2007)To avoid this behavior you need to load your Flash via Javascript. For this you can use the SWFObject, I made an extension for Dreamweaver to ease the use of it.


I just wanted to make a quick test of my website with IE7 beta 2, thinking that all would work normally but I had a bad surprised.
My Flash site is launch in a pop up, it’s a swf file and IE7 give an error: Access is denied.
This error appears every time I try to access a swf that is not embedded in an Html. If the swf is embedded it works perfectly.
So what to do if IE7 doesn’t play your swf ?

  • Just reload [ press F5 ] and then it play your file.
  • Anyway it’s seems that we have to take the habit of using Html embedding in a pop-up.
    Maybe M$ will solve this problem, if it’s an option to change I prefer to consider it may not be used by all the user, so to forget. Or am I the only one with this error?

      15 Responses to “Internet Explorer 7 don’t like Swf”

    1. Metah Blog: Freelance Webmaster Geneva, Switzerland Powered by WordPress Entries (RSS)

    2. We had a similar problem at our work. We’re using javascript to do flash detection and embedding (as well as dynamic menus). IE of course blocked this saying it’s protecting us from “potentially hazardous script”. It also helpfully displayed a bar at the top of the page saying “fix this!”, which we clicked. Then IE7 happily set security settings to “omg i can’t do anything!” and nothing worked.

      It’s pure liquid awesome.

    3. I’m seeing the same behavior on our internal sites where we link directly to MXML files vs. embedding them in an HTML page.

    4. It’s a terrible idea to link directly to swf files anyway – you get no Flash detection and there’s the potential for some nasty accesssibility issues as well.

      You should always embed your swf files in an HTML page.

      Also, to fix the new ‘active content activation’ stuff in IE7, you should use Javascript to embed your movies.

    5. That’s what we are using. There was javascript for that and the menu (show / hide sub-menu divs). Neither of those items were allowed to work by default with a fresh IE 7 install. :(

    6. Try using FlashObject – it’s been tested with the new IE changes related to the Eolas stuff.

    7. Click to activate and use this control – KB912812

      If you’re an Internet Explorer user and have recently encountered a “Click to activate and use this control” tool-tip which forces you to click on any ActiveX control, such as Flash, Java Applets and other objects then you’re not alone. Download the fix.

      GET THE FIX HERE

      GET THE FIX HERE

    8. [...] IE7 Beta… "This error appears every time I try to access a swf that is not embedded in an Html. If the swf is embedded it works perfectly." Metah Blog

    9. IE7 wont play ny second swf file? I have tried various external embeds but to no avail. It just shows a blank black screen (if i change the colour in the object tag it changes to this colour) If i hit F5 IE7 crashes everytime. This is unique to IE7 and only to this second swf that i have embeded in exactly the same way as the first?
      Any Ideas?
      I stress this is not the usual activate activeX control dilemma it is IE7 specific

    10. I have managed to solve this for my site. One movie required flash 8, as my site needed 8 and I didnt have it IE7 would show a black screen rather than the movie then any refresh or link would crash ie7. By reinstallng flash again it all worked fine. I used javascript to load the movie so it was already active too.
      links that helped:
      http://blog.deconcept.com/swfobject/
      http://www.alistapart.com/articles/byebyeembed

      Example code


      You require Flash Player 8 to view. Download here.

      var so = new SWFObject(“movie.swf”, “mymovie”, “240″, “240″, “8″, “#000000″);
      so.addParam(“quality”, “high”);
      so.write(“flashcontent”);

      Hope this helps

    11. I have managed to solve this for my site. One movie required flash 8, as my site needed 8 and I didnt have it IE7 would show a black screen rather than the movie then any refresh or link would crash ie7. By reinstallng flash again it all worked fine. I used javascript to load the movie so it was already active too.
      links that helped:
      http://blog.deconcept.com/swfobject/
      http://www.alistapart.com/articles/byebyeembed

      Example code
      open_tag =

      open_tag div id=”flashcontent” close_tag
      open_tag a href=”http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash”close_tag open_tag img src=”still_image_of_flashmovie.gif” alt=”need flash” border=”0″/close_tag open_tag br/close_tag
      You require Flash Player 8 to view. Download here. open_tag /a close_tag

      open_tag /div close_tag
      open_tag script type=”text/javascript”close_tag
      var so = new SWFObject(“movie.swf”, “mymovie”, “240″, “240″, “8″, “#000000″);
      so.addParam(“quality”, “high”);
      so.write(“flashcontent”);
      open_tag /script close_tag

      Hope this helps

    12. [...] The first time I discover the unfriendly gray border around a SWF it was when I launched the IE7 beta. I thought that it was only a IE7 bug but I were thought that it was in fact because of the Eolas lawsuit. So what does it change for web developer/publisher? Simply that our SWF will only play once the user have release his click over it. One click to much in my point of view. I know it was already solved a long time ago but I still get a lot of visitor with this query (and I observed a lot of website who haven’t made the update yet). So here’s a quick solving: Depending if your work with Flash or Dreamweaver you need to download the active content update. So first download it: [...]

    13. [...] Solving the IE – SWF: click to activate and use this control The first time I discovered the unfriendly gray border around a SWF it was when I launched the IE7 beta. I thought that it was only a IE7 bug but I were thought that it was in fact because of the Eolas lawsuit. So what does it change for web developer/publisher? Simply that our SWF will only play once the user have release his click over it. One click to much in my point of view. I know it was already solved a long time ago but I still get a lot of visitor with this query (and I observed a lot of website who haven’t made the update yet). So here’s a quick solving: Depending if your work with Flash or Dreamweaver you need to download the active content update. So first download it: [...]

    14. IE7 can be patched to never display again “click to activate and use”:

      http://erwin.ried.cl/?modo=visor&elemento=230 (In spanish)

    15. I’m having a problem with the swf file used on our index page, it used to view just fine in Internet Explorer 5 and it’s still perfect with Firefox – but for some reason some of the text dissapears in IE7. Anyone having similar problems or know how to fix it?
      Much appreciated.
      :-)

     Leave a Reply

    (required)

    (required)

    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>