timothy.taylor
New Member
- Messages
- 11
- Reaction score
- 0
- Points
- 0
So I'm new to XML and SWFs but i managed to get my gallery working locally. I havent however, managed to get it to play in dreamweaver or in a browser as idk how to attach the xml file to my swf once imported in dreamweaver. Is there a way I can import them together or if not how can i get my gallery working. The gallery is the one found here: http://flash-gallery.com/box-flash-gallery/demo/ I am new to code, but pretty good in dreamweaver and flash as long as I am using the Graphical interface. I know VERY BASIC html code and that is it. Please help me with this, and if it is complicated please give me detailed instructions. Thanks!
Sincerly,
Timothy
Edit:
The following is my code. It is now working but how would i center the slideshow and place it into a table?
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=KOI8-R" />
<title>Flash Gallery Demo</title>
<script src="js/swfobject.js" type="text/javascript" ></script>
<style type="text/css">
<!--
body {
background-color: #000;
}
-->
</style></head>
<body>
<h1 align="center"> </h1>
<script type="text/javascript">
var flashvars = {XMLFile: "gallery.xml"};
var params = {bgcolor: "#FFFFFF"};
swfobject.embedSWF("BoxFlashGalleryDemo.swf", "myAlternativeContent","410", "380", "9.0.0",false, flashvars, params);
</script>
<div id="myAlternativeContent">
<div align="center"><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>
</div>
</div>
<div align="center"><br />
</div>
</body>
</html>
Sincerly,
Timothy
Edit:
The following is my code. It is now working but how would i center the slideshow and place it into a table?
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=KOI8-R" />
<title>Flash Gallery Demo</title>
<script src="js/swfobject.js" type="text/javascript" ></script>
<style type="text/css">
<!--
body {
background-color: #000;
}
-->
</style></head>
<body>
<h1 align="center"> </h1>
<script type="text/javascript">
var flashvars = {XMLFile: "gallery.xml"};
var params = {bgcolor: "#FFFFFF"};
swfobject.embedSWF("BoxFlashGalleryDemo.swf", "myAlternativeContent","410", "380", "9.0.0",false, flashvars, params);
</script>
<div id="myAlternativeContent">
<div align="center"><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>
</div>
</div>
<div align="center"><br />
</div>
</body>
</html>
Last edited: