Hello kirupa,
I’ve read your Tutorials about the flash embed issue,
when will this issue rise or when will the embed and object tag be like this?
Thanks and take care
Jopiruizen
Hello kirupa,
I’ve read your Tutorials about the flash embed issue,
when will this issue rise or when will the embed and object tag be like this?
Thanks and take care
Jopiruizen
IE 7 is probably almost ready for public use. I think they are mostly keeping it in beta right now to give developers a chance to prepare older sites for its coming (well and fixing bugs, etc. of course). You can go download the beta and check your sites with it right now if you want.
Funny how IE 7 is both raising hell in the Flash arena and the Web Standards one. Web Standards because of all he hacks already in place to trick old IEs into rendering stuff correctly (now that they’ve fixed so many bugs the hacks become problematic). And the ‘click to activate’ Flash stuff is just nuts for Flash dudes.
I wasn’t aware that this was due to a patent ruling. Is this the guy who got the patent on ajax, flash, etc. (rich-media technology implementations)??
Any way, great that kirupa put up that tut.
I’ve been using a mixture of FlashObject and UFO for a long time now. UFO (UnobtrusiveFlashObject) is another method that has a very similar approach. UFO makes your html real nice and stays nicely in the head of your document. FO supports more browsers and has a lot of help available at blog.deconcept.com. They are both great for LOTS of reasons.
Anyway sorry Ive gone on so long.
IE 7 will be here soon.
Is this fix XHTML valid? Either transitional or strict?
The solution provided by Kirupa is good, and it works as stated, but the real question becomes: How to use this code, in conjunction with the Flash detection kit? I tried merging both codes together, but it didnt work.
Anyone up to it?
not sure if this helps, but i read on another post that Macromedia (errrr, Adobe!) has an update for Flash 8 that will let you publish .swf and .html files that work around that stupid “click here . . .” stuff.
check this: http://www.macromedia.com/support/flash/downloads.html
also, i re-published a couple of pages on my site with the updated Flash 8 and it fixed the internet explorer problem.
also, i uninstalled my flash player and viewed the page and it did ask me if i wanted to install the flash player and had a link to the macromedia site.
peace,
hondo311
Doesn’t the flash detection kit just use pure javascript to detect the version of the flash player running in the browser? If that’s the case it shouldn’t really be a problem which work-around method you use. You might have to modify your javascript code a little bit like this (assuming you have the flash detection javascript):
var hasRightVersion = DetectFlashVersion(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if (hasRightVersion) {
// do 'FlashOject' javascript thing
}
else
{
var alternateContent = "Can't load flash blah blah";
document.write(alternateContent);
}
Question about using UFO
I currently have this for my flash
data=“flash/logo.swf?pid={@componentid}”
This doesn’t work if i implement this in the UFO way
var FO = { movie:“flash/logo.swf?pid={@componentid}”, width:“80”, height:“80”,
majorversion:“6”, build:“40”, wmode:“transparent”, flashvars:“myName=myValue” };
UFO.create(FO, “header”);
Do i have to make use of the flashvars ? if yes, how would it look like then ?
thanks!
hondo311,
Yes you are right, with the little update flash can indeed produce the code to bypass Internet Explorer’s issue, HOWEVER, Macromedia’s/Adobe’s code fail to implement the <OBJECT> tags, it only uses the <Embed’s> from what I saw, resulting in browsers like FireFox not getting the commands they need.
For example, Im experimenting with runnning a 100% Width & Height flash movie, and it doesnt work anymore with Firefox after using the same settings as before. Then I say the <Object> tags where nowhere to be found.
=VALOR=
xsdfasasd
:: Copyright KIRUPA 2024 //--