Old 01-22-2009, 01:14 AM   #1 (permalink)
Junior Member
 
Join Date: Jan 2009
Posts: 3
Default IE7 blocking activex

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.
Trogdor is offline   Reply With Quote
Old 01-25-2009, 08:44 PM   #2 (permalink)
OXYLUS Staff
 
Razvan's Avatar
 
Join Date: May 2008
Posts: 1,570
Send a message via Skype™ to Razvan
Default

Hello, this is by default in ie and there is nothing I can do from flash I am really sorry.
All the best !
Razvan is offline   Reply With Quote
Old 01-28-2009, 11:50 PM   #3 (permalink)
OYXLUSFlash.com Staff Member
 
Adrian's Avatar
 
Join Date: May 2008
Posts: 2,260
Send a message via Yahoo to Adrian Send a message via Skype™ to Adrian
Default

Is this only happening when you test it locally ? I think it should work fine online.
Adrian is offline   Reply With Quote
Old 03-16-2009, 01:20 PM   #4 (permalink)
Junior Member
 
Join Date: Mar 2009
Posts: 1
Default

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.
nros is offline   Reply With Quote
Old 04-14-2009, 02:31 PM   #5 (permalink)
OXYLUS Staff
 
Razvan's Avatar
 
Join Date: May 2008
Posts: 1,570
Send a message via Skype™ to Razvan
Default

Hello nros, thanks for taking the time to help, appreciated
Razvan is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 06:59 PM.