I was running and debugging my asp program with Firefox it goes all correct. But unfortunately when i use IE (my version is 8) it throws an error. Any help much appreciated.
Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/ 4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; InfoPath.2; .NET4.0E) Timestamp: Mon, 14 Nov 2011 09:21:29 UTC Message: Unexpected call to method or property access. Line: 1 Char: 8014 Code: 0 URI: http://sreepc/swfobject/swfobject.js ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Here is my JavaScript form the asp page it calls a js file "swfobject.js" also <head runat="server"> <title>View Vision</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="text/javascript" src="/swfobject/swfobject.js"></ script> <script type="text/javascript"> var filePAth = '/SwfFiles/' var fileName= '<%= jsvar %>' var files= filePAth+fileName; var flashvars = { doc_url: files, }; var params = { menu: "false", bgcolor: '#efefef', allowFullScreen: 'true' }; var attributes = { id: 'website' }; swfobject.embedSWF('/SwfFiles/zviewer.swf', 'website', '800', '800', '9.0.45', '/swfobject/expressinstall.swf', flashvars, params, attributes); </script> </head> <body> <form id="form1" runat="server"> <div align=center> <div id="website"> <p align="center" class="style1">In order to view this page you need Flash Player 9+ support!</p> <p align="center"> <a href="http://www.adobe.com/go/getflashplayer"> <img src="http://www.adobe.com/images/shared/ download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /> </a> </p> </div> </div> </form> </body> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++ I am really not able to find out the error . Any possible help very much appreciated.. Thanks in advance.. -- You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.
