I want to embed SWF object to my HTMl file dynamically. So I'm using embedSWF function. It works in chrome browser but it doesn't work in IE. (Now I'm testing on IE11 but it must work on IE8)
Here is my javascript:
<script type="text/javascript">
swfobject.embedSWF("test.swf", "myContent", "300", "120", "9", "expressInstall.swf", "", "", "" ,console.log("flash object is created"));
</script>
here is my html:
<div id="myContent"></div>
How can I fix this issue?