You add it you your param object like any other required or optional param:
<script type="text/javascript">
var flashvars = {};
var params = {};
var attributes = {};
params.allowscriptaccess = "always";
swfobject.embedSWF("myContent.swf", "myContent", "300", "120",
"9.0.0","expressInstall.swf", flashvars, params, attributes);
</script>
Reading the documentation should help also... It describes all of this
Aran
Nate.
Yeah, there is a learning curve and some assumed knowledge by the authors. The library is intended for use by web developers who feel comfortable (a least a bit anyhow) with javascript and what a DOM is.
I recommend beginners check out the code generator, as it will write 90% of the code you require for you:
http://www.swffix.org/swfobject/generator/
Aran
Can you supply a code snippet? I just want to confirm that all the
params are being passed correctly.
1 with the working code, and 1 with the broken code.
Cheers,
Aran
Sent from my iPhone