Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

loading images into MovieClip from Array

Status
Not open for further replies.

ksbigfoot

Programmer
Apr 15, 2002
856
CA
I am using Flash 8.
I have loaded all my image names into a target movie clip. I then copied all the image names into an array.
Code:
loadVariables("Slideshow.txt", target_mc);
for (i in target_mc) {
    arrPicNames[i] = target_mc[i];
}
I am not sure how to load in the images that are sitting in the same folder as the .swf file, into separate movie clips and display them to the screen.
Can someone point me in the right direction.
Thanks
 
Sorry, rookie mistake.
I wasn't pointing to the correct directory where my pictures were.
I used the following line to load in my picture.
loadMovieNum("RotatingPictures/Original/DSCN2887.JPG", 2);
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top