Forum Moderators: coopster

Message Too Old, No Replies

Php and Flash

         

asantos

3:58 pm on Jun 28, 2006 (gmt 0)

10+ Year Member



Hi.
I need a way to make a photo transition with a flash file (swf) sending the proper photo paths with php. Does anyone know where kind i find such a already made package?

Thanks,
Andres

alce

4:36 pm on Jun 28, 2006 (gmt 0)

10+ Year Member



There are a bunch of flash photo slideshows around but since most of them are commercial, I cannot post the URL. Google for flash slideshow or have a look at macromedia exchange.

Many of them use XML to load the content in. If you need to query a database and then send the data into flash, what you can do is have PHP perform the query and then write the results to an XML file to be loaded into the SWF.

asantos

4:49 pm on Jun 28, 2006 (gmt 0)

10+ Year Member



Mmm actually i need a freeware script, where the PHP can send the pictures paths to the swf.

I already have a slideshow that grabs the pics from a XML file, but it contains some errs.

alce

4:53 pm on Jun 28, 2006 (gmt 0)

10+ Year Member



Well, the php script should be very simple to write.
Can you post how the XML should be strucutred?

asantos

5:09 pm on Jun 28, 2006 (gmt 0)

10+ Year Member




<gallery timer="5" order="sequential" fadetime="2" looping="yes" xpos="0" ypos="0">
<image path="events/001.jpg" />
<image path="events/002.jpg" />
<image path="events/003.jpg" />
<image path="events/004.jpg" />
<image path="events/005.jpg" />
</gallery>

BUT, the problem is that this particulary swf has problems when you try to set different dimensions. It only works on 432 x 288 .. thats why im looking for another one, but i cant find one that is free :s

I know you cant post URL because of TOS, would it be possible for you to email some?