you could define a function to read the images (like you already have set-up) and at the top add this code:
[script]function refreshImages(){
whatever code to refresh the images
loopmc.play(); // Play the timer loop movie again
}[/script]
Add that function and whatever code youhave to initially read the images. Then create an empty movie clip (with nothing in it except action frames) and add something like this:
loopmc
frame 1
[script]i = 30; // Amount of seconds/loops to do
cl = 1; // Current Loop Number[/script]
frame 2
[script]if (cl == i){
_parent.refreshImages(); // call the function if cl & i are the same
gotoAndStop(1); // Go to beginning of loop
} else {
gotoAndPlay(3); // Otherwise, keep looping through
}[/script]
frame 13
[script]cl++; // Add 1 to the current loop count
gotoAndPlay(2); // Make another loop[/script]
That loops through for every second. Now, if you wanted to do it at a user defined interval, you would write to a variable, and call that from the loops action script. So, you could write:
_global.i = userInputText.text;
Then, i would be whatever the user inputs, and any movie can read the i variable.
Hope that helps. I'm sure there are easier ways to do it, but this is a way that works for me.
~Brett