Closed GoogleCodeExporter closed 9 years ago
here's the error with the src:
Uncaught exception: TypeError: Cannot convert 'getElementById(id).style' to
object
Error thrown at line 579, column 3 in setVisibility(id, isVisible) in
http://127.0.0.1/javascripts/swfobject.js:
getElementById(id).style.visibility = v;
called from line 682, column 7 in <anonymous function: embedSWF>() in
http://127.0.0.1/javascripts/swfobject.js:
setVisibility(replaceElemIdStr, true);
called from line 141, column 3 in addDomLoadEvent(fn) in
http://127.0.0.1/javascripts/swfobject.js:
fn();
called from line 651, column 4 in <anonymous function: embedSWF>(swfUrlStr,
replaceElemIdStr, widthStr, heightStr, swfVersionStr, xiSwfUrlStr,
flashvarsObj, parObj, attObj, callbackFn) in
http://127.0.0.1/javascripts/swfobject.js:
addDomLoadEvent(function() {
called from line 322, column 4 in <anonymous function:
WebSocket.__initialize>() in http://127.0.0.1/javascripts/web_socket.js:
swfobject.embedSWF(
Original comment by strand.e...@gmail.com
on 21 Aug 2010 at 3:41
[deleted comment]
Without seeing your code (or a link) we can't determine if this is a bug or
implementation error. However, getElementById(id).style is only used in the
setVisibility function, and can be avoided by using switchOffAutoHideShow().
http://code.google.com/p/swfobject/wiki/api#swfobject.switchOffAutoHideShow%28%2
9
I'm closing this ticket, but if you feel it needs to be investigated further,
please post a reply and we can discuss.
Thanks!
Original comment by platelu...@gmail.com
on 8 Nov 2010 at 7:19
Original issue reported on code.google.com by
strand.e...@gmail.com
on 21 Aug 2010 at 3:30