SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    Phil fillup07's Avatar
    Join Date
    May 2002
    Location
    Jacksonville, FL
    Posts
    1,168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Looping through images in Flash from filenames in a text file

    Hi,
    What I want to do is have a text file with a list of filenames to pictures. Ex:

    /images/pic1.jpg
    /images/pic2.jpg

    And I want the Flash file to loop through showing these pictures.
    How can I do this, making them fade in and out.... I have no idea how to with using the text file. Can anyone help me out and give me some tips (or a short tutorial)?

  2. #2
    Dumb PHP codin' cat
    Join Date
    Aug 2000
    Location
    San Diego, CA
    Posts
    5,460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What part is it you are havng a problem with? First you need to get the image names into flash and into an array.

    Then you need to use loadMovie to get the first image from the array. Then you just need to loop through the array and load the next movie and so on.

    You are asking for quite a lot. I hope the above will get you started.


Bookmarks

Posting Permissions

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