Active Slideshow Pro Support Product Page

This topic was archived

I can't get it working ..

Reported 18 Jul 2008 09:12:15
1
has this problem
18 Jul 2008 09:12:15 Barry Oliel posted:
<p>it's working just fine, but I can't get it working with single record (i have user galleries separated by events, and when I use based url recordset in the xml file, the images refuse to display..)</p><p> </p><p>I'm working with PHP/MYSQL</p><p> you can check the main events: rachasheilev.org/events.php</p><p>and the url based parameter:  rachasheilev.org/events.php?eventid=11</p><p>does anyone got an idea?? my deadline has already passed... </p>

Replies

Replied 23 Jul 2008 05:01:18
23 Jul 2008 05:01:18 Barry Oliel replied:
anyone...?
Replied 23 Jul 2008 11:16:45
23 Jul 2008 11:16:45 Miroslav Zografski replied:
Hi Barry,

Have you tryed with different xml files? Like having a xml file for each event and getting its name.
Like that : xmlFile=lasteventt_&lt;?php echo $_GET['eventid']; ?&gt;_xml.php. Or define variable in begining of the page
&lt;?php
$gid =$_GET['eventid'];
?&gt;
and pass it down in flash variables with echo.
That is not tested and it is only a suggestion.
Please, give me a feedback if you deside to try it.

Regards,


M.Zografski

-----------------------------------
DMXZone.com Support Team
-----------------------------------
Replied 23 Jul 2008 19:35:58
23 Jul 2008 19:35:58 Barry Oliel replied:
Hi,

I tried using flashfars (urlendode) and it didn't work. I will try now using in your suggested format and I'll update.
Replied 23 Jul 2008 20:39:20
23 Jul 2008 20:39:20 Barry Oliel replied:
Hi again,

i didn't understand you. you want me to make a different xml for each event ?... the event are buildings automatically by the users.. I can't make some 200 xml's ...

and I tried to use the urlencode to tranfer vars but the active slideshow pro pop us some error messages (I have 4 places to changed the code - i did find and replace). maybe I should not changed them all...? do you know where ?..

I copy the code and marked the places..

&lt;script type="text/javascript"&gt;
AC_FL_RunContent( 'codebase','download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width','450','height','300','id','chooseevent','align','middle','src','slideshowpro','wmode','window','quality','best','flashvars','xmlFile=chooseevent_xml.php?&lt;?php echo (urlencode ('eventid')); ?&gt;&preloaderBackColor=0x0099FF&preloaderBorderColor=0xCCCCCC&preloaderTitle=%D7%98%D7%95%D7%A2%D7%9F%20%25s%25','scale','noscale','bgcolor','#FFFFFF','pluginspage','www.macromedia.com/go/getflashplayer','movie','slideshowpro' ); //end AC code
&lt;/script&gt;
&lt;noscript&gt;
&lt;object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="450" height="300" id="chooseevent" align="middle"&gt;
&lt;param name="FlashVars" value="xmlFile=chooseevent_xml.php&preloaderBackColor=0x0099FF&preloaderBorderColor=0xCCCCCC&preloaderTitle=%D7%98%D7%95%D7%A2%D7%9F%20%25s%25" /&gt;
&lt;param name="movie" value="slideshowpro.swf" /&gt;
&lt;param name="quality" value="best" /&gt;
&lt;param name="scale" value="noscale" /&gt;
&lt;param name="wmode" value="window" /&gt;
&lt;param name="bgcolor" value="#FFFFFF" /&gt;
&lt;embed src="slideshowpro.swf" id="chooseevent" wmode="window" quality="best" FlashVars="xmlFile=chooseevent_xml.php&preloaderBackColor=0x0099FF&preloaderBorderColor=0xCCCCCC&preloaderTitle=%D7%98%D7%95%D7%A2%D7%9F%20%25s%25" scale="noscale" bgcolor="#FFFFFF" type="application/x-shockwave-flash" width="450" height="300" pluginspage="www.macromedia.com/go/getflashplayer" /&gt;
&lt;/object&gt;
Replied 23 Jul 2008 22:56:33
23 Jul 2008 22:56:33 Barry Oliel replied:
last update..

I tried entering the code as you wrote it (?eventid=&lt;?php...) and when I tested it both Safari and Firefox got stacked...

I tried using forms and POST the vars, nothing happened... I'm lost.
Replied 24 Jul 2008 10:05:29
24 Jul 2008 10:05:29 Miroslav Zografski replied:
Hi Barry,

As I previously said it is only an idea, witch was not tested. I'm sorry that I overthought that you may want
each user to have his events. Ok, how do you generate the xml's for each event?

Regards,


M.Zografski

-----------------------------------
DMXZone.com Support Team
-----------------------------------
Replied 24 Jul 2008 17:35:24
24 Jul 2008 17:35:24 Barry Oliel replied:
Hi,

first you have nothing to be sorry about.. I'm glad you are trying to help me and I'm very grateful.
ummm... u actually gave me an idea to use the xml with parameter, but not as flashvars. I will try to change the whole thing, so the users will upload all the pictures to separated folders, and I will try to change the galleries so each event will take images from each folder. I saw that there is an option to do so, I guess it will work also with php code instead of static folder name.

I started yesterday, I hope i will finish tody. i'll lwt you know if it worked <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
Replied 25 Jul 2008 12:11:56
25 Jul 2008 12:11:56 Miroslav Zografski replied:
Hi Barry,

Glad to know I helped, even if it's only with inspiration <img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>, it will be good even iif you have enought time to let
me review the code and write an article on that, cose you're not the first person with such issue.
Thanks in advance adn good luck,

Regards,


M.Zografski

-----------------------------------
DMXZone.com Support Team
-----------------------------------

Reply to this topic