The way around that IE thing is, instead of directly declaring the Object/embed tag, use javascript to instantiate the FlashPlayer. That is why the generated wrapper calls the function in the .js file.
Tracy ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Rick Schmitty Sent: Monday, December 29, 2008 2:14 PM To: [email protected] Subject: [flexcoders] Flex Builder 3 and SWFObject with IE - blocked content I'm trying to use swfobject in Flex builder and running into some issues debugging. When I launch a debugging session, IE always says it is blocking content and I have to click to allow blocked content each time Is there some trick to get it to work? I'm assuming the built in Adobe JS gets some kinda 'pass' somewhere such that IE doesnt complain about it Here's my index.template.html <html lang="en"> <head> <title>My Flex App</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="text/javascript" src="js/swfobject.js"></script> <script type="text/javascript" src="js/swfaddress.js"></script> <style> body { margin: 0px; overflow:hidden } </style> </head> <body scroll="no"> <div id="content"> <p>In order to view this you need JavaScript and Flash Player 9 or greater</p> </div> <script type="text/javascript"> // <![CDATA[ var so = new SWFObject('${swf}.swf', '${application}', '100%', '100%', '9', '${bgcolor}'); so.useExpressInstall('playerProductInstall.swf'); so.addParam('menu', 'false'); so.write('content'); // ]]> </script> </body> </html>

