I am trying to read the value of the FlashVars parameter off of a
Flash .swf file that's being embedded onto a page using swfobject. I
can't change anything about how the Flash is being put on the page so
I'm trying to manipulate it with JQuery. In Firefox the following
selector works:

$flashvars1 = $(".homepagecolumn1 embed").attr("flashvars");

In IE6 & IE7 this works:

var flashvars1 = $(".homepagecolumn1 object param
[name=FlashVars]").attr("value");

Neither one of the above code snippets works in IE8 though. Instead I
get a "variable is undefined" error. Any tips?

Thanks!

Reply via email to