Calling a function in a dynamically attached MC?

I am having problems with this and I can’t quite figure out what I am doing wrong.
I have the following AS inside a function in my movieclip.

this.attachMovie(“team_” + whichProfile, “team_” + whichProfile, this.getNextHighestDepth());
var teamProfile = [“team_” + whichProfile];
this[teamProfile].fadeInPhotos();

The variable whichProfile is a number. I have several movie clips with different content that are named team_0, team_1, team_2, etc. Inside those clips, I have a function called fadeInPhotos, which I am not trying to call from the timeline that team_0, team_1, team_2, etc. are getting attached to. Somehow that does not work.

I did the following cascading trace and got the following output:
//have I got the name right?
trace("teamProfile: " + teamProfile);
//is the name a string
trace("teamProfile is a string: " + ((typeof teamProfile==“string”)? “yes”: “no”));
//is the movieclip correctly pathed
trace("this[teamProfile] is: " + this[teamProfile]);
//is the function defined
trace("this[teamProfile].fadeInPhotos is: " + this[teamProfile].fadeInPhotos);
//does the function return a value
trace("this[teamProfile].fadeInPhotos() is: " + this[teamProfile].fadeInPhotos());

Output:
teamProfile: team_0
teamProfile is a string: no
this[teamProfile] is: _level0.team_0
this[teamProfile].fadeInPhotos is: undefined
this[teamProfile].fadeInPhotos() is: undefined

I even tried hardwiring this, like so, and still get an undefined:
trace("Team 0 " + this.team_0.fadeInPhotos());

What am I doing wrong?

Thanks a lot for having a look at this!!!