Use SWFObject!
http://blog.deconcept.com/swfobject/
It's by far the easiest, most effective, cross browser way of doing it (and the defacto industry standard from my experience).
Use SWFObject!
http://blog.deconcept.com/swfobject/
It's by far the easiest, most effective, cross browser way of doing it (and the defacto industry standard from my experience).
Twey,
I put it at the bottom, within the <BODY></BODY> tags and nothing happned.
Last edited by Jon101; 06-03-2007 at 05:18 PM.
I guess it doesn't work too well then.
I know a lot of people with Firefox who go to the trouble of downloading an extension specifically for this purpose, it can't be that much of a bother to people.
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
include this as js file and add after the flash
Code:<script type="text/javascript" src="includes/ieupdate.js"></script>Code:theObjects = document.getElementsByTagName("object"); for (var i = 0; i < theObjects.length; i++) { theObjects[i].outerHTML = theObjects[i].outerHTML; }
ops, some one already posted...)
xxlfm, as Twey said, the following line would create an error in non-IE browsers:
Code:theObjects[i].outerHTML = theObjects[i].outerHTML;
Thou com'st in such a questionable shape
Hamlet, Act 1, Scene 4
really? I use this code for quite a few web sites.
and I tested in all Gecko browsers, FF, Opera, and NS newset version, maybe in the old version?
check it at http://www.1000knots.net/topic.php?t...s&m1=portfolio
Lot's of great solutions, soem a little more complex than others!
If any one is still having trouble working out some of these javascript add-ins you can get Creative Media to do a quick fix for you. Costs £25, but might save you a lot of time in the long run if your not that fluent in javascript!
http://www.creativemedianetwork.co.u.../flashfix.html
if I use the SWFobject fix I get IE's security warning (IE6).
Is this normal and is there another way that works?
What exact security working are you getting? You're probably implementing it wrong. SWFObject should not give a security error.
There are a lot of other ways though. Have a look at this: http://blog.jrvisuals.com/?p=8
Bookmarks