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
- 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.
- 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.
nope, oy’d have to use some type of server side script like php, is this running from a webserver?
Yes, it will be. It will be used on website.
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?
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).
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…
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?