Active Slideshow Pro Support Product Page
This topic was archived
Dynamic background
Asked 02 Oct 2006 01:07:51
1
has this question
02 Oct 2006 01:07:51 Wim Conix posted:
Hello,I'm trying to make my slideshow's background dynamic with a color retrieved from the database, which users can change.
Background starts dynamic with the correct color, but then returns to the color of the first user in the table.
Am I forgetting to make dynamic something in my code ?
Pref_SS_Image = database field with dynamic color
Code from slideshow page :
<script type="text/javascript">
AC_FL_RunContent( 'codebase','download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width','660','height','580','align','middle','id','slide_results_author_random','src','../slideshowpro','wmode','window','quality','best','flashvars','xmlFile=default_xml.asp%3Fuser=<%=(Recordset1.Fields.Item("ID"


</script><noscript><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="660" height="580" align="middle" id="slide_results_author_random">
<param name="FlashVars" value="xmlFile=default_xml.asp%3Fuser=<%=(Recordset1.Fields.Item("ID"

<param name="movie" value="../slideshowpro.swf" />
<param name="quality" value="best" />
<param name="scale" value="noscale" />
<param name="wmode" value="window" />
<param name="bgcolor" value="<%=(Recordset1.Fields.Item("Pref_SS_Image"

<embed src="../slideshowpro.swf" id="slide_results_author_random" wmode="window" quality="best" flashvars="xmlFile=default_xml.asp%3Fuser=<%=(Recordset1.Fields.Item("ID"


</object></noscript>
Code from xml-file :
<slideshow loop="false" stream="true" url="javascript:window.history.back()" target="_self" bgcolor="0x13273C">
<%
While ((Repeat1__numRows <> 0) AND (NOT Recordset1.EOF))
%>
<slide url="<%=(Recordset1.Fields.Item("Filename"




Any help would be much appreciated !
Thanks,
Wim
Wim Conix
www.image-belle.com