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>

Reply via email to