google-code-export / swfobject

Automatically exported from code.google.com/p/swfobject
1 stars 1 forks source link

getting 'object expected error' javascript error in IE8 #405

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. http://extranet.frontend.pt/~frontend/tschopp_nilca/3
2.
3.

What is the expected output? What do you see instead?
everything works fine, but IE8 complains about an "object expected" error 
even when using swf object in its simplest form

What version of the product are you using? On what operating system?
2.2 - IE8 - Vista

Please provide any additional information below.
this is one of those lovely JS errors we get on IE, that it doesn't even 
say where the error is. Well it says line 1 char 1.

Original issue reported on code.google.com by frontend...@gmail.com on 20 Nov 2009 at 2:37

GoogleCodeExporter commented 9 years ago
Please post a question on the mailing list for authoring related issues. If 
there is a 
genuine bug found, then the bug will be added to the current list.

Original comment by aran.rhee@gmail.com on 21 Nov 2009 at 11:04

GoogleCodeExporter commented 9 years ago
Well, it's definitively a bug, I have the same exact problem
it only happens on IE8, not IE7 or any other browsers on the market.
thanks
This needs to be addressed as soon as possible, it looks bad for site users!
Henry

Original comment by henrygo...@gmail.com on 22 Nov 2009 at 1:39

GoogleCodeExporter commented 9 years ago
@#2 - Well, no. It is not defnitely a bug. ~9% of the top 1M sites on the web 
use 
SWFObject, so I think we would be seeing a few more complaints if things were 
definitely broken for IE8.

The original poster has errors in the way he has set up his swfobject 
definition, and 
because within his swf as he is trying to call a javascript function which does 
not 
exist on the page.

If you want to post any problem page to the list, as I said originally, then 
(helpful) people on the list can work through your problem. 

Otherwise, your "bug" report will be marked as invalid and ignored.

Original comment by aran.rhee@gmail.com on 23 Nov 2009 at 12:13

GoogleCodeExporter commented 9 years ago
@aran.rhee: I did my homework before posting this and stripped everything to 
make sure 
none of my own code could be messing up. It does only happen in IE8. IE7, 
firefox and 
chrome do fine. My swf really was calling an unidentified function, but even 
after 
removing it the error persisted. Don't know what errors you're referring to in 
the way 
I've set up my SWFO definition, perhaps you could enlighten me.

I've fixed the errors for this particular case. Wrote my own flash embed 
script, a 
sloppy one just making sure document.getElementById could find the object on 
all 
browsers. Would like to get a fix so I could continue using SWFObject though.

Original comment by frontend...@gmail.com on 23 Nov 2009 at 12:32

GoogleCodeExporter commented 9 years ago
Here is a page which uses the main swf and swfobject.js from your site. It does 
not 
seem to cause an error in IE8 for me:

http://www.misterhee.com/tests/ie8.test.html

(it will not load the XML properly as it seems you have some modrewrite and 
relative 
pathing happening on your site)

Can you confirm?
(I am using FP 10,0,32,18 and IE 8.0.6001.18828)

Original comment by aran.rhee@gmail.com on 24 Nov 2009 at 5:44

GoogleCodeExporter commented 9 years ago
DDetailed information about the error on the website

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; 
Trident/4.0; SLCC2;. NET CLR 2.0.50727;. NET CLR 3.5.30729;. NET CLR 3.0.30729; 
Media Center PC 6.0; InfoPath .2)
Time stamp: Fri, August 18 2010 16:16:38 UTC

Message: 'SWFObject' is undefined.
Row: 21
Characters: 4
Code: 0
URI: http://www.misterhee.com/tests/ie8.test.html

Original comment by flow.of....@gmail.com on 18 Aug 2010 at 4:18

GoogleCodeExporter commented 9 years ago
:) Thx

Original comment by shindetu...@gmail.com on 27 Sep 2010 at 7:18

GoogleCodeExporter commented 9 years ago
Shity ie. M$ should not build browsers anymore.

Original comment by mo.spie...@googlemail.com on 18 Nov 2011 at 7:04