Answered
Create XML
I have a flash Slideshow that gets its data from an xml page.
I can I use coldfusion to create the page on the fly. I will have a drop down box that wil tell what cateogry was chosen. Here is my xml page.
<gallery>
<!-- The line below sets the path to the folder where the images are stored -->
<setup path="images/">
<!-- The the following lines are used to customize the look of the gallery -->
<imgWidth>450</imgWidth>
<imgHeight>300</imgHeight>
<imgLink> http://www.yahoo.com</imgLink>
<thumbWidth>50</thumbWidth>
<thumbHeight>40</thumbHeight>
<transitionType>fade</transitionType>
<thumbnailRows>1</thumbnailRows>
<thumbPosition>left</thumbPosition>
<captionPosition>bottom</captionPosition>
<showControls>true</showControls>
<--This is the default pic -->
t6.jpg
<img>6.jpg
<caption>
xxx
</caption>
<-- These are the thumbnails -->
<item>
<thumb>1.jpg</thumb>
<img>11.jpg
<caption>xxx</caption>
</item>
</gallery>
I just need to know how to pass the variables to the XML page on the fly, I have not worked with this before so any help would be great.
Thanks
jim
I can I use coldfusion to create the page on the fly. I will have a drop down box that wil tell what cateogry was chosen. Here is my xml page.
<gallery>
<!-- The line below sets the path to the folder where the images are stored -->
<setup path="images/">
<!-- The the following lines are used to customize the look of the gallery -->
<imgWidth>450</imgWidth>
<imgHeight>300</imgHeight>
<imgLink> http://www.yahoo.com</imgLink>
<thumbWidth>50</thumbWidth>
<thumbHeight>40</thumbHeight>
<transitionType>fade</transitionType>
<thumbnailRows>1</thumbnailRows>
<thumbPosition>left</thumbPosition>
<captionPosition>bottom</captionPosition>
<showControls>true</showControls>
<--This is the default pic -->
t6.jpg
<img>6.jpg
<caption>
xxx
</caption>
<-- These are the thumbnails -->
<item>
<thumb>1.jpg</thumb>
<img>11.jpg
<caption>xxx</caption>
</item>
</gallery>
I just need to know how to pass the variables to the XML page on the fly, I have not worked with this before so any help would be great.
Thanks
jim