setTimeout? How does this work?

I am trying to get a handle on the setTimeout command and I can’t seem to get it to function at all. As a test I set up a simple movie where two objects fade in, one after the other. But whatever I try, they both fade in together. Here’s the code I’ve got so far


_global.setTimeout()

stop();

onLoad = function(){
    box1_mc._alpha = 0;
    box2_mc._alpha = 0;
    };

    function firstFade():Void{
    box1_mc._alpha = box1_mc._alpha + 5;    
    };

    function secondFade():Void{
    box2_mc._alpha = box2_mc._alpha + 5;
    };

onEnterFrame = function(){        
        firstFade();
        function timeDelay(){
        var intervalID:Number = setTimeout(this, secondFade, 3000);
        };
        secondFade();
};

clearTimeout(timeDelay);

I also tried setInterval but I’m doing something wrong, just can’t see what. Any help appreciated!