swfobject error in php files

Discussion in 'PHP' started by martinvidic, Jul 10, 2009.

  1. #1
    Hi there.

    On flashmavi.com/index.php i have a flash swfobject.

    <script type="text/javascript" src="swfobject.js"></script>
    <script type="text/javascript">
    swfobject.registerObject("FlashIDMain", "9.0.0", "expressInstall.swf");
    </script>
    Code (markup):
    It works, but on some IE browsers it throws back an error.

    While,,, when I have a html file and put the code over the <head> tag I never get an error. Does anybody know how to fix this.

    Thanx.
     
    martinvidic, Jul 10, 2009 IP