When the script calls the images it’s going to use, it says:
[indent]// fill this array with your pics
this.pArray = [“image0.jpg”, “image1.jpg”, “image2.jpg”, “image3.jpg”, “image4.jpg”, “image5.jpg”, “image6.jpg”, “image7.jpg”, “image8.jpg”, “image9.jpg”];
[/indent]
How can I call these images’ names from a simple external text file?
Purpose: I want to have the ability to change the photos in the gallery quickly without tweaking the Flash file.
Any help is greatly, greatly appreciated. I’ve wasted so much time already. Thank you.
Thank you for your help! It works perfectly except for one problem.
Problem: The photo gallery doesn’t appear until you press the forward or backward arrow key. Initially, the target location “photo” has nothing inside of it. Originally, the first photo in the string of images automatically loaded.
To fit your example: “dog.jpg” does not appear as the first picture; nothing does. If I press forward, I see “girl.jpg”. Then, if I press back, I will see “dog.jpg”.