Complex array...for me at least!

Hey peeps.
below is a snippet of my code where I need some help. The 2nd array I added this morning based purely on what I had in the 1st array. I’m new at AS therefore the finer details i’m not so good at ironing out. The first array is set to determin which SWF is loaded depending on what button is clicked. In this case we can see the code for awards_btn. The first array works fine and does load in the correct file. My 2nd array is, I think working as it should but it seems I need to add in some more code.

e.g. when awards_btn is released the awards_MC does become 100% and when I click the next button, being charity_btn the charity_MC does become 100% but unfortunately the previous MC stays in sight. SO what I require is somewhere in the arrSub to state that the other MC’s need to go back to 0% when the other button is clicked!?

Does that make sense? Anyone wanting to see the FLA’s, I can email them.
Hope someone can help.:look: :h:

ActionScript Code:
[FONT=Courier New]

[LEFT]arrName = [COLOR=#000000][[/COLOR][COLOR=#ff0000]“awards.swf”[/COLOR],[COLOR=#ff0000]“charity.swf”[/COLOR],[COLOR=#ff0000]“publications.swf”[/COLOR][COLOR=#000000]] [/COLOR][/LEFT]

[LEFT]arrSub = [COLOR=#000000][[/COLOR][COLOR=#0000ff]_root[/COLOR].[COLOR=#000080]main_cntr[/COLOR].[COLOR=#000080]PAGE[/COLOR].[COLOR=#000080]SUB[/COLOR].[COLOR=#000080]awards_MC[/COLOR], [COLOR=#0000ff]_root[/COLOR].[COLOR=#000080]main_cntr[/COLOR].[COLOR=#000080]PAGE[/COLOR].[COLOR=#000080]SUB[/COLOR].[COLOR=#000080]charity_MC[/COLOR],[COLOR=#0000ff]_root[/COLOR].[COLOR=#000080]main_cntr[/COLOR].[COLOR=#000080]PAGE[/COLOR].[COLOR=#000080]SUB[/COLOR].[COLOR=#000080]pub_MC[/COLOR][COLOR=#000000]][/COLOR];[/LEFT]

[LEFT]function sub_menu[COLOR=#000000]([/COLOR]refName, refSub[COLOR=#000000])[/COLOR] [COLOR=#000000]{[/COLOR]
[COLOR=#0000ff]_root[/COLOR].[COLOR=#000080]sub_cntr[/COLOR].[COLOR=#0000ff]_alpha[/COLOR] = [COLOR=#000080]0[/COLOR];
[COLOR=#0000ff]_root[/COLOR].[COLOR=#000080]main_cntr[/COLOR].[COLOR=#000080]main_txt[/COLOR].[COLOR=#0000ff]_alpha[/COLOR] = [COLOR=#000080]0[/COLOR];
[COLOR=#0000ff]_root[/COLOR].[COLOR=#000080]sub_cntr[/COLOR].[COLOR=#000080]main_txt[/COLOR].[COLOR=#0000ff]_alpha[/COLOR] = [COLOR=#000080]0[/COLOR];
[COLOR=#0000ff]_root[/COLOR].[COLOR=#000080]main_cntr[/COLOR].[COLOR=#000080]PAGE[/COLOR].[COLOR=#000080]SUB[/COLOR].[COLOR=#000080]group_picMC[/COLOR].[COLOR=#0000ff]_alpha[/COLOR] = [COLOR=#000080]0[/COLOR];
[COLOR=#0000ff]_root[/COLOR].[COLOR=#000080]main_cntr[/COLOR].[COLOR=#000080]PAGE[/COLOR].[COLOR=#000080]SUB[/COLOR].[COLOR=#000080]sub_txt[/COLOR].[COLOR=#0000ff]_alpha[/COLOR] = [COLOR=#000080]0[/COLOR];
[COLOR=#0000ff]_root[/COLOR].[COLOR=#000080]sub_cntr[/COLOR].[COLOR=#000080]sub_txt[/COLOR].[COLOR=#0000ff]_alpha[/COLOR] = [COLOR=#000080]0[/COLOR];
[COLOR=#0000ff]_root[/COLOR].[COLOR=#000080]main_cntr[/COLOR].[COLOR=#000080]btns_mc[/COLOR].[COLOR=#0000ff]_alpha[/COLOR] = [COLOR=#000080]100[/COLOR];
[COLOR=#0000ff]_root[/COLOR].[COLOR=#000080]sub_cntr[/COLOR].[COLOR=#0000ff]loadMovie[/COLOR]COLOR=#000000[/COLOR];
COLOR=#000000[/COLOR].[COLOR=#000080]alphaTo[/COLOR]COLOR=#000000[/COLOR]
[COLOR=#0000ff]_root[/COLOR].[COLOR=#000080]sub_cntr[/COLOR].[COLOR=#000080]alphaTo[/COLOR]COLOR=#000000 [/COLOR]

_root.[COLOR=#000080]main_cntr[/COLOR].[COLOR=#000080]btns_mc[/COLOR].[COLOR=#000080]awards_btn[/COLOR].[COLOR=#0000ff]onRelease[/COLOR] = [COLOR=#000000]function[/COLOR] COLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR][/LEFT]
sub_menu[COLOR=#000000]([/COLOR]arrName[COLOR=#000000][[/COLOR][COLOR=#000080]0[/COLOR][COLOR=#000000]][/COLOR], arrSub[COLOR=#000000][[/COLOR][COLOR=#000080]0[/COLOR][COLOR=#000000]][/COLOR][COLOR=#000000])[/COLOR][COLOR=#000000]} [/COLOR]
[LEFT][COLOR=#0000ff]_root[/COLOR].[COLOR=#000080]sub_cntr[/COLOR].[COLOR=#0000ff]unloadMovie[/COLOR][COLOR=#000000]([/COLOR][COLOR=#ff0000]“charity.swf”[/COLOR], [COLOR=#ff0000]“publications.swf”[/COLOR][COLOR=#000000]) [/COLOR]
[COLOR=#0000ff]_root[/COLOR].[COLOR=#000080]main_cntr[/COLOR].[COLOR=#000080]PAGE[/COLOR].[COLOR=#000080]SUB[/COLOR].[COLOR=#000080]group_picMC[/COLOR].[COLOR=#000080]alphaTo[/COLOR]COLOR=#000000[/COLOR][/LEFT]

[/FONT]