-
Information for Developers about Changes to Internet Explorer
-
Example 1
Old Embed Code:
Code:
<object classid="clsid:D27CDB6E..." ...>
<param name="movie" value="foo.swf">
</object>
New Embed Code
Create and place the external JS file on your site. In this example, call it foo.js . This script needs to document.write the full object/embed tag that was previously in your HTML file:
Code:
function RunFoo()
{
document.write('<object classid="clsid:D27CDB6E..." ...>\n');
document.write('<param name="movie" value="foo.swf" />\n');
document.write('</object>\n');
}
Add a JavaScript include statement that points to the JavaScript file from Step 1 to the <HEAD> section of the web page that embeds the content.
Code:
<script src="foo.js" language="JavaScript" type="text/javascript"></script>
Replace each <object> , <embed> , or <applet> tag with a call to the appropriate external files as follows:
Code:
<script language="JavaScript" type="text/javascript">RunFoo();</script>
-
Senior Member
Thanks for the info
I think I sticky a link to this in general help.
-
Moderator
What a pain in the ass. Thanks for the head's up (sure we'lll be hearing plenty about it in the next few days/weeks).
-
Harmony & Justice
Will definitely change the code of
millions of sites out there. Great
information for all to read. Thanks so
very much.
Flash Kit Moderator . Duke University
Thomas Jefferson High School for Science and Technology
-
supervillain
oh how goofy of a work around, MS.
thanks for the link dude. but this is all just an annoyance that could have been avoided.
bleh.
-
Retired SCORM Guru
Oh motherF*#$&@!!!!!!!!!!!!
How many of my clients are going to upgrade when this happens?
How much courseware am I going to have to fix?
How much REALLY old courseware that my idiot of an ex-boss built using frames with 26 pages of show/hide div layers with embedded Flash movies am I going to have to sift through?!
MORE importantly...how many LMS systems are effed, now that their tracking applets have to be deployed differently? And how is this going to mess up the timing of the applet initializing BEFORE my flash movies? I don't even want to THINK about HACP tracking.
Last edited by PAlexC; 10-06-2003 at 11:57 PM.
"What really bugs me is that my mom had the audacity to call Flash Kit a bunch of 'inept jack-asses'." - sk8Krog
...and now I have tape all over my face.
-
supervillain
-
Retired SCORM Guru
Originally posted by gerbick
wow.
Sorry.
Maybe I'm overreacting. I did read both articles quickly, but if I got it right, I need to change everything to dynamically write the object/embed tags?
Simple enough. Just thinking of the MOUNTAIN of work head of me, not so much with the newer courseware, but the older stuff, I can't just run a find/replace on it, it was so poorly built.
Am I overreacting? Or did I read it right?
"What really bugs me is that my mom had the audacity to call Flash Kit a bunch of 'inept jack-asses'." - sk8Krog
...and now I have tape all over my face.
-
supervillain
you read it right. I just have yet to let it settle in, and affect me the same way.
-
Retired SCORM Guru
I tend to be very reactionary.
I hope nordberg catches wind of this thread
What happens to the onLoad event of a page in this case? Will it still occur after the Flash movie is initialized? Or only when the script is done doing it's write statements? That's a HUGE issue for me.
Last edited by PAlexC; 10-07-2003 at 12:08 AM.
"What really bugs me is that my mom had the audacity to call Flash Kit a bunch of 'inept jack-asses'." - sk8Krog
...and now I have tape all over my face.
-
No!
I didn't read the articles, I'm not in the mood to read a lot right now, but why does this need to be done. I read something about the new IE prompts for each object/embed tag? What's the point when there is such a simple work around?
It just seems like a worthless pain that's just stupid. Like getting png's with transparency in IE.
-
Of course everyone's going to blame Microsoft...
-
Another way around it which i previously have done to make my html 4.1 compliant, and now use to make XHTML Compliant, is the following
<object type="application/x-shockwave-flash" data="container.swf?path=code-d.swf" width="955" height="600">
<param name="movie" value="container.swf?path=code-d.swf">
<img src="noflash.gif" width="200" height="100" alt="noflash">
this method wont allow the full swf to stream, so by putting a load movie action on the first frame of a blank movie (container.swf) this over comes the problem.
one draw back to this method.
That is i doesnt tell the user who has an old version of flash or none, to upgrade or take them to the macromedia site.
However for the minority who dont have flash, have created small logo
hope this helps
-
Of course everyone's going to blame Microsoft...
Yeah but if MS had applied to Eolas and maybe asked if they could do it or paid them! They woudnt have been in court.
Seems like were MS we are the richest blah blah we can do what we want attitude to me
-
I would rather have a workaround than nothing at all
-
Danny Gomez Creations ®
-
Information Architect
Damn, this world is just wrong. (Switching now to a parallel world)
Fredi
-
Retired Mod
stickying this for a while.
-
An Inconvenient Serving Size
And I suppose this latest, greatest update that XP is begging me to install for IE is going to remove support for any object or embed tags that are not dynamically placed in the page holding the Flash content?
Stand by for emergency synapse rerouting
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|