Hi,
I got 4 different pictures that I’d like to load randomly. The thing is that I don’t want to load the picture from an external .swf file. I’d rather load them inside the same .swf document that I’m working on.
Hi,
I got 4 different pictures that I’d like to load randomly. The thing is that I don’t want to load the picture from an external .swf file. I’d rather load them inside the same .swf document that I’m working on.
Put your clips in the library, give them linkage name, then set up an array and randomly attach one of the clips:
myClips = ["clip1","clip2","clip3"]; //linkage names
index = random(myClips.length);
this.attachMovie(myClips[index],"cl",0);
Something like that.
:: Copyright KIRUPA 2024 //--