Click to See Complete Forum and Search --> : embeding flash with dreamweaver


MrMJS
05-11-2007, 03:41 PM
Ok, I embed my flash movie in dreamweaver, then i preview in browser and everything looks just great but when i upload the html page you can't see the movie online :mad: all other html objects work fine though... any thoughts on this?

sticks464
05-11-2007, 05:28 PM
Would have to see your code or a link to the site.

MrMJS
05-11-2007, 05:53 PM
<table width="771" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><img src="images/upperbar.jpg" width="771" height="4" /></td>
</tr>
<tr>
<td><script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','771','height','190','src','swf/flash_banner','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','swf/flash_banner' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="771" height="190">
<param name="movie" value="swf/flash_banner.swf" />
<param name="quality" value="high" />
<embed src="swf/flash_banner.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="771" height="190"></embed>
</object></noscript></td>
</tr>
</table>

there is the part of the code that has the swf. I'm also using dreamweaver templates and the swf is in a editable region

sticks464
05-11-2007, 06:13 PM
I have never seen Dreamweaver do code that way. I just did one for school and this is the code generated by Flash for an html page. If you change the highlighted (and any I might have missed) areas yours should work ok.

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="550" height="400" id="skillsDemo" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="skillsDemo.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#0000ff" /><embed src="skillsDemo.swf" quality="high" bgcolor="#0000ff" width="550" height="400" name="skillsDemo" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

I don't let Dreamweaver install code that I have no use for or don't know what it controlls.

Taschen
05-11-2007, 07:22 PM
Ok, I embed my flash movie in dreamweaver, then i preview in browser and everything looks just great but when i upload the html page you can't see the movie online :mad: all other html objects work fine though... any thoughts on this?

Sounds like the movie isn't on the server or is at another location. Check you really have uploaded the swf file to where the src is pointing to.

MrMJS
05-11-2007, 07:52 PM
the movie is on the server.. i double checked

MrMJS
05-12-2007, 07:42 AM
im gonna try and upload through dreamweaver ftp, see if that does the trick

MrMJS
05-12-2007, 08:45 AM
i got it figured out.. i forgot to upload the scripts folder :o