SWF in Dreamweaver

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
joker_power
Forum Newbie
Posts: 1
Joined: Wed Jun 11, 2008 1:48 pm

SWF in Dreamweaver

Post 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
User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

Re: SWF in Dreamweaver

Post 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>
User avatar
Sindarin
Forum Regular
Posts: 521
Joined: Tue Sep 25, 2007 8:36 am
Location: Greece

Re: SWF in Dreamweaver

Post 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.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: SWF in Dreamweaver

Post by Benjamin »

This would be why (one of the reasons), dreamweaver is dreaded by a large number of developers.
User avatar
Sindarin
Forum Regular
Posts: 521
Joined: Tue Sep 25, 2007 8:36 am
Location: Greece

Re: SWF in Dreamweaver

Post 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.
Post Reply