I am new to Drupal so I might do something wrong here.

Here is my problem:
I am trying to enter a Flash detection script. For that I am using the online generator http://www.bobbyvandersluis.com/swfobject/generator/index.html
So in the editor in source mode with full html check I am entering the following:

		<div class="rtecenter">
			<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="860" height="980" id="myFlashContent">
				<param name="movie" value="http://bernardrodrigue.com/Galeries/slideshow45.swf" />
				<param name="play" value="true" />
				<param name="loop" value="true" />
				<param name="menu" value="true" />
				<!--[if !IE]>-->
				<object type="application/x-shockwave-flash" data="http://bernardrodrigue.com/Galeries/slideshow45.swf" width="860" height="980">
					<param name="play" value="true" />
					<param name="loop" value="true" />
					<param name="menu" value="true" />
				<!--<![endif]-->
					<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>
				<!--[if !IE]>-->
				</object>
				<!--<![endif]-->
			

and for some reason the <!--[if !IE]>--> and <!--<![endif]--> tags are messed up and appear to the user.

Any idea what is wrong?
Thanks

Comments

tdimg’s picture

There are modules available that embed flash for you. Two that come to mind:

http://drupal.org/project/swftools
http://drupal.org/project/flashnode

B.P.B’s picture

I am using a similar flash script to embed videos.

Drupal is breaking <!--<![endif]--> and <!--<![endif]--> despite the user input being set to "full html".