Attempting to use javascript to embed a flash object. The following code works when removed from Expression Engine and placed in an index.html file on the server, but does not work when inserted into the site index page within EE.
...
var flashvars = {};
flashvars.xml = "includes/config.xml";
flashvars.font = "includes/miso_font.swf";
var attributes = {};
attributes.wmode = "transparent";
attributes.id = "slider";
swfobject.embedSWF("http://www.sitename.com/includes/cu3er.swf", "cu3er-container", "920", "247", "9", "includes/expressInstall.swf", flashvars, attributes);
...Does it have to do with trying to find the “cu3er-container” parameter as the flash file (on the server) relates to the css file (in Expression Engine)? Is this causing incorrect file paths? Yet, I have hard-coded paths to files and images with no luck.