quik
1
Okay, trying to make this load certain jpg files based on a variable, but I can’t make it loop through?
[AS]
artistName = “Grace Jones”;
for(i=1; i<4; i++){
filename = artistName+"/"+i+".jpg";
trace(filename);
loadMovie(""+artistName+"/2.jpg", root.images); //this works
loadMovie(""+filename+"", images.holder+i); //this does not
trace(artistName+"/2.jpg");
}
[/AS]
any ideas?
system
2
oh and I’m trying to put them each on a different frame… any ideas there?
thats the idea of holder_1, 2, 3… to make a holder for it to load into?
system
3
is it also possible to load a jpg to a frame inside a movie clip?
that way I can dynamically have the amount of images create the frames?
system
4
What exactly are you trying to laod in what ? Because there are artistname and filename and images and imageholder 1 2 3 4 … I’m getting confused.
system
5
artistName = “Grace Jones”;
for(i=1; i<4; i++){
filename = artistName+"/"+i+".jpg";
trace(filename);
loadMovie( filename, root.image["holder"+i]); //This should work now
trace(artistName+"/2.jpg");
}
I think that will do what you need now