.swf files

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am looking at ways of preventing having to click onto swf files to operate
them in the latest browers IE7. I have been given some code but just wanted
to know if anybody else has other ways?

To fix the problem
1) Just below the last <object> in your HTML page, insert the following
Javascript:

<script type="text/javascript" src="ieupdate.js"></script>

2) Add a small .js file to your website directory. You can download the
zipped .js file here
3) Save this file as ieupdate.js to the root of your website
(4) Upload both files to your webserver, and the problem should be solved.

Copy below into a new file and save as ieupdate.js

objects = document.getElementsByTagName("object");
for (var i = 0; i < objects.length; i++)
{
objects.outerHTML = objects.outerHTML;
}
 
That's the nature of the browser. It's a security feature, you can't turn
it off (well you probably can, but it's at your own risk).
 
Back
Top