Black_Dog_Design
asked on
embed flash file in dreamweaver
i am having trouble embedding a flash file in a dreamweaver file. The file was purchased from flashden. I have attached my code snippet, the designer's code snippet (which is where I copied the code from) and a snapshot of my root folder. You can view the page at http://enroutetravel.com/vacation_destinations.html The flash file should be under the text on the right and therein lies my problem.
MY CODE SNIPPET (DESIGNER'S BELOW):
<td><script type="text/javascript">
AC_FL_RunContent( 'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',
'width', '590',
'height', '300',
'src', '/vacation_destinations/world_assets/_flash/KIZoomSlideshow',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', '/vacation_destinations/world_assets/_flash/KIZoomSlideshow',
'bgcolor', '#ffffff',
'name', '/vacation_destinations/world_assets/_flash/KIZoomSlideshow',
'menu', 'true',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', '/vacation_destinations/world_assets/_flash/KIZoomSlideshow',
'flashvars', 'xml_data=/vacation_destinations/world_assets/_flash/slides2.xml',
'salign', ''
); //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=8,0,0,0" width="590" height="300" id="/vacation_destinations/world_assets/_flash/KIZoomSlideshow" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="flashvars" value="xml_data=/vacation_destinations/world_assets/_flash/slides2.xml" />
<param name="movie" value="/vacation_destinations/world_assets/_flash/KIZoomSlideshow.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /> <embed src="/vacation_destinations/world_assets/_flash/KIZoomSlideshow.swf" flashvars="xml_data=/vacation_destinations/world_assets/_flash/slides2.xml" quality="high" bgcolor="#ffffff" width="590" height="300" name="/vacation_destinations/world_assets/_flash/KIZoomSlideshow" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</noscript></td>
DESIGNER'S CODE SNIPPET:
<script src="AC_RunActiveContent.js" language="javascript"></script>
<style>
body{
margin: 0px;
padding: 10px;
}
</style>
</head>
<body bgcolor="#333333">
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<div id="flashcontent" align="center">
<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js.");
} else {
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',
'width', '590',
'height', '300',
'src', 'KIZoomSlideshow',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'KIZoomSlideshow',
'bgcolor', '#ffffff',
'name', 'KIZoomSlideshow',
'menu', 'true',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', 'KIZoomSlideshow',
'flashvars', 'xml_data=slides2.xml',
'salign', ''
); //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=8,0,0,0" width="590" height="300" id="KIZoomSlideshow" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="flashvars" value="xml_data=slides2.xml" />
<param name="movie" value="KIZoomSlideshow.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /> <embed src="KIZoomSlideshow.swf" flashvars="xml_data=slides2.xml" quality="high" bgcolor="#ffffff" width="590" height="300" name="KIZoomSlideshow" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</noscript>
</div>
</body>
</html>
root-folder-snapshot.jpg
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://enroutetravel.com/vacation_destinations/world_assets/_flash/KIZoomSlideshow.swf
returns a 404.
Here's the parameter that leads me to try that path:
'movie','/vacation_destina
The initial / indicates the public site root.