Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Random Slideshow with unlimited photos

Posted on 2007-03-30
3
Medium Priority
?
243 Views
Last Modified: 2008-02-07
I am working on a website for my son's baseball team. They want to include a slideshow of pictures taken by parents throughout the year. I need a slide show that will run through all images in a FOLDER and include new images that are added into the folder without having to add to the code or list of the array. Pictures will be of different sizes so should be scaled down to fit into the slideshow settings.
0
Comment
Question by:katlees
3 Comments
 
LVL 63

Accepted Solution

by:
Zvonko earned 2000 total points
ID: 18825219
That is NOT possible with JavaScript.
JavaScript does run on browser side and cannot access anything on web server side.

That is normaly done with web server scripting like PHP or ASP depending on your web server that you get from your ISP.

0
 
LVL 13

Expert Comment

by:FLAASHER
ID: 18825735
As Zvonko said .... u must use server side language to read all the conents of the folader and make it ready to use it in FLASH
then flash read all the vriables from the server side script then make loop through it to display all of the iamages or pick a rundom  iamges and display it

always PHP work fine with flash but u can use any other server side language like asp or dot net or jsp

FLAASHER
0
 
LVL 4

Expert Comment

by:danieldear
ID: 18831086
u can add photos in a folder and write a xml file having the photo name and file url and then aceessed by flash. flash can read xml files...
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.
Suggested Courses

572 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question