Internet Explorer 7 don’t like Swf

By | March 28, 2006

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?

     
    0 Kudos
    Don't
    move!

    15 thoughts on “Internet Explorer 7 don’t like Swf

    1. Pingback: Metah Blog

    2. Mike J

      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.

      Reply
    3. Tom Cornilliac

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

      Reply
    4. Geoff

      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.

      Reply
    5. Mike J

      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. 🙁

      Reply
    6. fixerupper

      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

      Reply
    7. Pingback: MMOWC Feedback Thread - Realityport.com - Space Resort & Club NEVERDIE Forums

    8. Lewis

      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

      Reply
    9. Lewis

      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

      Reply
    10. Lewis

      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

      Reply
    11. Pingback: Metah Blog » Blog Archive » Solving the IE - SWF: click to activate and use this control

    12. Pingback: Solving the IE - SWF: click to activate and use this control

    13. fontjunkie

      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.
      🙂

      Reply

    Thoughts?