-
multiple images in sequence?
Hello everyone.
I have this script that loads 3 swf files randomly at various intervals of time (I got it from Flashkit 2 weeks ago):
__________________________________________________ ____________
// 1. define the files - as you did before
files=["first.swf","second.swf","third.swf"];
// 2. define a timing for each file, each value corresponds to a file respectively
times = [5000, 3000, 8000]; //time in milliseconds
// 3. make a custom load function
function loadNew()
{
var rand = random(files.length);
setInterval(loadNew, times[rand]);
myMc.loadMovie(files[rand]);
}
loadNew();
__________________________________________________ ____________
Can I change this so the 3 swf files load in sequence rather than randomly? Also, how do I set the alpha so each one fades in rather than just pops up?
Thank you very much.
pug
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|