|
|
#1 (permalink) |
|
Junior Member
Join Date: Jan 2009
Posts: 3
|
Every time I load my page with the flash I have a drop down in IE7 informing me it has restricted the web page from running scripts or activex controls. I have to click the bar, allow blocked content and answer yes to the next popup. All security settings are set to default in IE and the code was copied directly out of the index.html that came with the files. The only addition is a change in title and a flashvars variable.
How do I prevent this from happening, it does not happen in firefox. I've searched the Inet for answers and tried a few different "fixes" and "workarounds", none of which works. I searched the forums here and could not find it either. Below is a copy of my code: Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Drawings</title> <!-- SWFObject embed by Geoff Stearns geoff@deconcept.com deconcept » You’ve got your good thing, and I’ve got mine --> <script type="text/javascript" src="swfobject.js"></script> <style type="text/css"> #flashcontent { font: 12px 'Trebuchet MS', arial, sans-serif; font-weight: bold; color: #999; text-align:center; line-height: 200px; height: 100%; width: 100%; } body { margin: 0; padding: 0; background-color: #282828; height: 100%; width: 100%; } #flash{ display: block; margin: 0; height: 100%; width: 100%; } html{ margin:0; padding:0; height: 100%; width: 100%; } </style> </head> <body> <div id="flashcontent"> If the images do not load you may need to allow blocked content or upgrade your Flash Player</div> <script type="text/javascript"> // <![CDATA[ var so = new SWFObject("index.swf", "flash", "100%", "100%", "8", "#282828"); so.addVariable("xmlFile","drawings.xml"); so.write("flashcontent"); // ]]> </script> </body> </html> Last edited by Adrian; 01-28-2009 at 11:52 PM. |
|
|
|
|
|
#4 (permalink) |
|
Junior Member
Join Date: Mar 2009
Posts: 1
|
The problems stems from Internet Explorer's handling of Flash content as a potential ActiveX threat. However, you can't disable this warning from within the Security tab, as you might expect. Instead, you have to go to Tools > Options > Advanced and click on "allow active content to run in files on My Computer". You may also wish to tick the "allow active content from CDs to run on My Computer". You can find out more (including screenshots) on ActiveX Warning in Internet Explorer | Internet Explorer has restricted this webpage from running scripts or ActiveX controls
Hope this helps you out, N. |
|
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT. The time now is 06:59 PM.









Linear Mode
