Page 1 of 1

SWF in Dreamweaver

Posted: Wed Jun 11, 2008 2:01 pm
by joker_power
Hello!

I have a problem. I added some SWF videos in a page created by Dreamweaver, but when I try to render it in a browser, nothing is played. Why? I'm doing something wrong?

Here is the code:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shoc ... n=9,0,28,0" width="250" height="185">
<param name="movie" value="swf/unitplayer.swf">
<param name="quality" value="high">
<embed src="swf/unitplayer.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download ... kwaveFlash" type="application/x-shockwave-flash" width="250" height="185"></embed>
</object>



Thanks

Re: SWF in Dreamweaver

Posted: Wed Jun 18, 2008 10:57 am
by JAB Creations
Dreamweaver is a joke IMHO. You'll be on a good path once you decide to abandon it due to it's constraints such as the bad code it generates.

Make sure you pay attention to the parameters below...

Code: Select all

<object data="item.swf" id="mplayer" type="application/x-shockwave-flash"> <param name="movie" value="item.swf" /> <param name="loop" value="false" /> <param name="play" value="true" /> <param name="quality" value="high" /><a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" title="Install Flash Plugin">Install Flash Plugin</a></object>

Re: SWF in Dreamweaver

Posted: Fri Jul 11, 2008 3:57 am
by Sindarin
It's ridiculous how Dreamweaver leaves in the file unnecessary code even when the SWF files are deleted. There are many times that it placed code in the

Code: Select all

<noscript>
tag making me go nuts. And how it complains about the SWFObject script not being IE compliant. Meh.

Re: SWF in Dreamweaver

Posted: Fri Jul 11, 2008 3:59 am
by Benjamin
This would be why (one of the reasons), dreamweaver is dreaded by a large number of developers.

Re: SWF in Dreamweaver

Posted: Fri Jul 11, 2008 4:08 am
by Sindarin
To heck with this, I need to resume my own web designer program I was making. I refuse to pay for more "major" DW updates.