Turns out that the swfobject config was wrong to begin with, thus it
was causing multiple problems. Both scripts, swfobject.js and
superfish.js are able to work seamlessly and on top of that,
swfobject.js will not cause any conflicts, and still perfom flash
detection, if you wrap it in a factory function:

$(document).ready(function(){
                                var so = new SWFObject("flash/promo_area.swf", 
"sotester", "706",
"155", "7", false);
                                so.addParam("menu", false);
                                so.addParam("wmode", "transparent");
                                so.addParam("FlashVars", 
"xml_path=/flash/xml_files/my.xml");
                                so.addVariable("pageContent", location.href);
                                so.write("promo_area");
                        });

Reply via email to