# \[FLASH 8\]Unlimited amount of images in slideshow

**URL:** <https://forum.kirupa.com/t/flash-8-unlimited-amount-of-images-in-slideshow/183106>\
**Category:** flash\
**Created:** [March 23, 2006, 9:17pm UTC](https://forum.kirupa.com/t/flash-8-unlimited-amount-of-images-in-slideshow/183106 "2006-03-23T21:17:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ScionStatic](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@ScionStatic](https://forum.kirupa.com/u/ScionStatic)\
**Post date:** [March 23, 2006, 9:17pm UTC](https://forum.kirupa.com/t/flash-8-unlimited-amount-of-images-in-slideshow/183106/1 "2006-03-23T21:17:09Z")

</div>

Hello,

I’m trying to do the following to a flash banner, I’d like to know if it’s possible and how I would code it/do it

1. Unlimited amount of slide support. The banner must look for 01.jpg, 02.jpg, 03.jpg… etc.

Let’s say the current slidshow has 4 photos, they want to be able to just upload another image and create a new .as file to make it appear in the flash slideshow.

1. each link must be in its own independent script. For example 01link.as, 02link.as, 03link.as etc

Any links to tutorials or help would be appreciated.

---

<div class="post-metadata">

**Author:** ![JoshuaJonah](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/joshuajonah/32/1775_2.png) [@JoshuaJonah](https://forum.kirupa.com/u/JoshuaJonah)\
**Post date:** [March 23, 2006, 9:19pm UTC](https://forum.kirupa.com/t/flash-8-unlimited-amount-of-images-in-slideshow/183106/2 "2006-03-23T21:19:18Z")

</div>

nope, oy’d have to use some type of server side script like php, is this running from a webserver?

---

<div class="post-metadata">

**Author:** ![ScionStatic](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@ScionStatic](https://forum.kirupa.com/u/ScionStatic)\
**Post date:** [March 23, 2006, 9:26pm UTC](https://forum.kirupa.com/t/flash-8-unlimited-amount-of-images-in-slideshow/183106/3 "2006-03-23T21:26:40Z")

</div>

Yes, it will be. It will be used on website.

---

<div class="post-metadata">

**Author:** ![ScionStatic](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@ScionStatic](https://forum.kirupa.com/u/ScionStatic)\
**Post date:** [March 24, 2006, 11:16pm UTC](https://forum.kirupa.com/t/flash-8-unlimited-amount-of-images-in-slideshow/183106/4 "2006-03-24T23:16:39Z")

</div>

Anyone know where I could find a script to use, or what needs to be coded in the script? I can get a coder, but what needs to be incorporated in the script?

---

<div class="post-metadata">

**Author:** ![v2ikematu](https://avatars.discourse-cdn.com/v4/letter/v/3d9bf3/32.png) [@v2ikematu](https://forum.kirupa.com/u/v2ikematu)\
**Post date:** [March 24, 2006, 11:36pm UTC](https://forum.kirupa.com/t/flash-8-unlimited-amount-of-images-in-slideshow/183106/5 "2006-03-24T23:36:23Z")

</div>

well you could use XML structure to tell flash which images to use and which links they should open. You probably should consider using PHP and mysql for that. Maybe a simple administration panel where the user could upload an image and set a link for that. It’s quite easy to do(the flash and also the PHP side).

---

<div class="post-metadata">

**Author:** ![joakimlinden](https://avatars.discourse-cdn.com/v4/letter/j/51bf81/32.png) [@joakimlinden](https://forum.kirupa.com/u/joakimlinden)\
**Post date:** [March 25, 2006, 10:58am UTC](https://forum.kirupa.com/t/flash-8-unlimited-amount-of-images-in-slideshow/183106/6 "2006-03-25T10:58:39Z")

</div>

Yes, I solved this by getting a friend to help me understand the php and MySQL-side of things. The php-code (when it’s run from flash) calls the database, gets the imagepaths, thumbpaths and some text. Then we format that info in the same php-script so that it gets inserted into an xml-structure. The xml-formatted code is then recieved by flash. It may sound hard, but it’s actually only a few lines of code…

Try, as I did, to find the simplest tutorials about php-MySql-Flash, so that you understand the basics first.

If you need a server to test on, I recommend WAMP. WAMP is a free, pre-configured php/MySQL installation. Just run the setup and you’re ready to experiment. You’ll probably also want a MySQL editor like “MySQL Front”.

I’m sorry for not being able to post any code/examples right now. Partly because those files are at work, and partly because the site that they are used on isn’t released yet.

I just wanted to assure you that it’s possible to do, even for a medium-level AS programmer like me…

---

<div class="post-metadata">

**Author:** ![ScionStatic](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@ScionStatic](https://forum.kirupa.com/u/ScionStatic)\
**Post date:** [March 26, 2006, 7:10pm UTC](https://forum.kirupa.com/t/flash-8-unlimited-amount-of-images-in-slideshow/183106/7 "2006-03-26T19:10:20Z")

</div>

Thanks for responding…instead of a mysql database, could it be a “flatfile”? Where there is a text file that they just insert the names of the images and actionscript files?
