As you are testing locally, there are specific security settings which IE applies. There are two things you can do to get rid of these sort of messages:
1. give your page(s) the "mark of the web" - by adding this line to your HTML page. This circumvents IE's "local machine lockdown" which was introduced in XP SP2 and Vista. This line should go just after your DOCTYPE declaration. <!-- saved from url=(0014)about:internet --> More info here: http://msdn.microsoft.com/en-us/library/ms537628(VS.85).aspx OR 2. In IE, go to internet options > advanced > check "allow active content to run files on My computer". *** Notice the default template you supplied a link to has the "mark of the web" as its first line :) Cheers, Aran -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Rick Sent: Wednesday, 31 December 2008 11:33 PM To: SWFObject Subject: IE7 Security Warning with Flex Builder & SWFObject 2.1 When I try to debug a AS3 or Flex app from Flex Builder, I get the following error in Internet Explorer "To help protect your security, Internet Explorer has restricted this webpage from running scripts or ActiveX controls that could access your computer. Click here for options..." The click here just lets you do "allow blocked content" I have tried the included index_dynamic.html from the swfobject 2.1 download I have tried the generator from swfobject code base http://code.google.com/p/swfobject/downloads/list I have tried this template someone made for flex builder http://code.google.com/p/visualplaygroundmedia/source/browse/trunk/html-temp late/index.template.html When I revert back to the adobe default it works fine in IE for those without flex builder, here is the default template: http://pastebin.com/f537facd8 The debugger uses C:\Rick\My Documents\Flex Builder 3\test\bin-debug \test.html as the launching URL if that matters. I'm wondering if Adobe gets a pass somewhere with IE security? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/swfobject?hl=en -~----------~----~----~----~------~----~------~--~---
