[F8] How can I target this movieClip that I loaded onto the stage?

I’m trying to target a .swf that I loaded into a movie clip (mc_container) but it seems like I’m missing something. Can you take a look and see where I went wrong?


//homepage Animation Swap Images
function photoSwapAni(){
        case 0:
        trace("case 0");
        case 1:
        trace("case 1");
        case 2:
        trace("case 2");
var intervalID:Number = setInterval(photoSwapAni, 2000);

Also I see I’m going to have an issue with the random part because it could call the same animation twice or more times in a row. Should I ad some sort of if statement or is there a better way to do this random part of the code?