A Flash Developer Resource Site

+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Jun 2002
    Posts
    2

    Dynamic Slide Show Help Please!

    I am a beginner at best so bear with me here...

    I am creating a dynamic slide show and need an effectice way to count the max number of images to be displayed in a single directory. My goal is to allow the end user to be able to change the images, and the number of, without having to change the code.

    I have a clip made that can load any x images as long as they are named...

    image01.jpg
    image02.jpg
    image##.jpg

    It uses a simple counter loop from image 1 to "MaxNumPict" initialized as 5 for now.

    You get the idea. I want to predetermine how many files exist in the directory before the clip starts so that the index is dynamic.

    Only idea I have is to create a text file with the MaxNumPict var. That could then just be edited upon upload of the images. Needs to be easier than this.

    There has to be a simple solution...

    Any and all suggestions are welcome... Please help!

    Thanks
    [Edited by trideon on 06-01-2002 at 01:48 PM]

  2. #2
    Moderator
    Join Date
    Feb 2001
    Posts
    13,042
    Hi,

    there is a simple solution: have a cgi or php script count these images and respond to a loadvariables call....

    Musicman

  3. #3
    Junior Member
    Join Date
    Jun 2002
    Posts
    2
    Originally posted by Musicman
    Hi,

    there is a simple solution: have a cgi or php script count these images and respond to a loadvariables call....

    Musicman
    I know Null perl or cgi and have limited access to CGI directories on the server. Was hoping I could do it purely with action script... Thanks for suggestion all the same. If anyone could clue me in on the perl I might be able to make it happen.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts




Click Here to Expand Forum to Full Width


HTML5 Development Center