[FONT=Verdana][SIZE=2]
I’m tryin to pull together a website to display my photographic work. While creating the gallery, I came across a problem which I haven’t been able to find any dynamic solution for:
[/SIZE][/FONT][FONT=Verdana][SIZE=2][COLOR=Black]- How can I use a single swf to load any number of different galleries from the same xml?[/COLOR][/SIZE][/FONT][FONT=Verdana][SIZE=2]
When working with html/php/mysql I always make a file (art.php) and use it to load different data into with “id”.
Example: [/SIZE][/FONT][FONT=Verdana][SIZE=2][COLOR=Red][COLOR=Black]index.php?page=art&id=61839012[/COLOR]
[COLOR=Black]This displays index.php, containing art.php, containing the data in the database filed under id [/COLOR][/COLOR][/SIZE][/FONT][FONT=Verdana][SIZE=2][COLOR=Black]61839012.
Is there a similar way of using flash/xml?
Any help will be much apreciated :rambo:
ps: My xml will be sorted like this:
[/COLOR][/SIZE][/FONT][FONT=Verdana][SIZE=2]
<gallery name="portraits">
<pics>
<item>
<image>img/01.jpg</image>
</item>
<item>
<image>img/02.jpg</image>
</item>
</pics>
</gallery>
<gallery name="people">
<pics>
<item>
<image>img/01.jpg</image>
</item>
<item>
<image>img/02.jpg</image>
</item>
</pics>
</gallery>
<gallery name="landscape">
<pics>
<item>
<image>img/01.jpg</image>
</item>
<item>
<image>img/02.jpg</image>
</item>
</pics>
</gallery>
[/SIZE][/FONT][FONT=Verdana][SIZE=2][COLOR=Black]
[/COLOR][/SIZE][/FONT]