In IE9, the page below renders the same as in FF for me (I don't readily have access to IE8 right now)
I noticed on this page that there is no <form> element like in your original post. Has the code changed? The allow activeX dialog box is displayed based on the users security settings etc. This can vary for system to system... Cheers, Aran On Mon, Nov 14, 2011 at 10:03 AM, srees <[email protected]> wrote: > normally there is a allow activex component in IE but here this doesnt > show up. Is there any difference between loading a swfobject in > Firefox and IE. Is there any way to show the swf object in normal way. > I have used the swf object from the below mentioned link > http://www.crilance.com/zviewer/ > > I am really stuck here kindly help. > > Peace!! > Srees > > On 14 Nov, 19:36, Aran Rhee <[email protected]> wrote: > > I am not sure if the swf is trying to communicate back with the page or > > not, but FAQ #7 is a fix if that is the case: > > > > http://code.google.com/p/swfobject/wiki/faq > > > > If your swf is not trying to communicate with the page, then perhaps you > > can post a link to your page so people can see what is going on. > > > > Cheers, > > Aran > > > > > > > > > > > > > > > > On Mon, Nov 14, 2011 at 7:30 AM, srees <[email protected]> wrote: > > > 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. > > -- > 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. > > -- 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.
