Attach movie clips then play with delay

I’m looking for a simple method to control the fade in animation of dynamically attached clips. In other words a menu where the attached items (xml driven) attach and then the first menu button fades in and then the second, third, etc. (the animation/fade would simply be frames in each clip)

I imagine there’s a simple way to do this but I haven’t been able to figure out how.

thanks for any input!

You’d have a counter for which clip is currently fading in, and use setInterval to call each one with a delay. eg lets say u hav 10 clips called item1, item2, item3 etc. and you want a delay of 100ms. You could do:

counter = 1;
numItems = 10;
myInterval = setInterval(fadeInClip, 100);

function fadeInClip()
{
[INDENT]// Fade in next clip
_root[“item” + counter].play();

// If all clips done, stop calling this function,
// otherwise increment the counter
if(counter == numItems) clearInterval(myInterval);
else counter++;
[/INDENT] }

okay, that makes sense… i’ll give that a try. thank you.