Fades with multiple this.enterOnFrame's

ok … i’m a little confused.

i’ve been using the xml photo gallery tut on this site.

the main loop for the preloader uses the following.


this.onEnterFrame = function() {
    filesize = picture.getBytesTotal();
    loaded = picture.getBytesLoaded();      
    if (loaded != filesize) {
        preload_bar._visible = true;
        preload_bar._xscale = 100*loaded/filesize;
    } else {
        preload_bar._visible = false;
        if (picture._alpha<100) {
            picture._alpha += 10;
        }
    }
}

i want to fade other movie clips in my scene, using the following function,
but it only seems to work if i use [FONT=Courier New]‘this’[/FONT] instead of ‘[FONT=Courier New]mc’[/FONT] (the movieclip name):


function fadeText() {

   this.onEnterFrame = function() {    
        
       if (mc._alpha > 0) {
           mc._alpha = mc._alpha - 20;
       } else {
           delete this.onEnterFrame;
       }      
   }

but this makes the main [FONT=Courier New]this.enterOnFrame[/FONT] stop working and my images no longer load up.

how do i get this to work?