I have some problem with this method when I use this in ASP files. The IIS engine attempts parsing this embeded <object> element and returns error DO NOT EMBED OBJECT ELEMENTS. I cannot understand why client side code - HTML - makes service side error. So I use this method like following way in ASP project.
	<!-- Hixie method -->
	<!--[if IE]>
	<object classid="" class="moz-txt-link-rfc2396E" href="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="" class="moz-txt-link-rfc2396E" href="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0">"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="900" height="80" id="flash_movie" align="middle">
		<param name="movie" value="/images/swf/main_menu.swf" />
		<param name="wmode" value="transparent" />
	</object>
	<![endif]-->
	<!-- Hixie method -->
	<!--[if !IE]> <-->
	<object type="application/x-shockwave-flash" data="/images/swf/main_menu.swf" width="900" height="80">
		<param name="wmode" value="transparent" />
	</object>
	<!--> <![endif]-->
morten fjellman wrote:
Hi.
I have used the following code for a couple of years now, and have never had any problems with it.

<object classid="" class="moz-txt-link-rfc2396E" href="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
               codebase=""http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"> http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
               width="762" height="118">
                <param name="movie" value=" header.swf" />
                <param name="quality" value="high" />
                <!--[if !IE]> <-->
                <object data=""
                        width="762" height="118" type="application/x-shockwave-flash">
                 <param name="quality" value="high" />
                 <param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer " />
                 ERROR! There is supposed to be Flash content here.
                </object>
                <!--> <![endif]-->
          </object>

The width, height and path to the swf are just example values. Same with the Error text.

Regards Morten Fjellman

On 12/12/05, Richard Stephenson <[EMAIL PROTECTED]> wrote:
One way of getting round the problem is to use _javascript_ to add the
flash to a valid document using DOM _javascript_. Have a look at Bobby
van der Sluis's UFO

http://www.bobbyvandersluis.com/ufo/

Richard
--
DonkeyMagic: Website design & development
http://www.donkeymagic.co.uk



On 12/12/05, Joseph R. B. Taylor < [EMAIL PROTECTED]> wrote:
> Guys and Gals,
>
> A problem I have ignored all too long is Flash and XHTML.  The problem
> lies in the <embed> tag and its attributes of course.  I have of course
> read the alistapart articles on how they have taken steps to make valid
> code, but I have still found problems in Opera etc when using their methods.
>
> I wonder how you guys code in your flash on your pages - let me know!
>
> Thanks,
>
> Joe Taylor
> http://sitesbyjoe.com
> ******************************************************
> The discussion list for   http://webstandardsgroup.org/
>
>  See http://webstandardsgroup.org/mail/guidelines.cfm
>  for some hints on posting to the list & getting help
> ******************************************************
>
>
******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************




Reply via email to