Editing movie clips from actionscript file

Hello Everyone.

I am currently using flash for the first time to create a digital version of a board game for a project. This is the first time I have used actionscript and flash for that matter. I have learned a lot from this website but have finally hit a roadblock.

In my game I have trivial pursuit like “pies” that the player gets pieces of as they progress. Once they get all 8 pieces, they win. I have each piece of the pie for all 4 players set as an instance of a movie clip and have their alpha set to 0 at the beginning. So i have 4 instances of each piece of the pie labeled pie0player1, pie1player1, … , pie7player1, pie0player2, … , pie7player2, etc.

I have tried just running a method from my external Game class actionscript file that would change the alpha of these respective pie piece as the player earns them so that they are visible.

My first question is: Is it possible to change the alpha of these movieclips from my external Game class file? Or do I need to make all of these changes within the timeline?

followup questions being: If I can edit these values from my class file, what would be the best way to do this? I would like to access the movieclips using something like the following code if possible:

public function tokenCheck()
{
//unhide token on player square
this[“pie” + pieCategory + “player” + (playerTurn+1)].alpha = 100;
trace(“player " +(playerTurn+1) + " got a category token!”;
}

Do i need to store these movieclips in a 2d array to access them dynamically like this? Can I even do that?

I can provide more code or context if need be. I apologize for my noobishness in this area, and greatly appreciate any help or advice.

Thanks,
Jim