Disabling other nav buttons

hi, hopefully someone can help me out with this one.

everything works in this script except that i’d like to be able to disable every other button than the currently selected one. i’m attaching movieClips from the library and then setting an action for each onRelease with a value in the aNavAction array.

any guidance would be great.

thanks!


#include "lmc_tween.as"
var aNavAction:Array = ["section1", "section2", "section3"];
for (var i:Number = 0; i<aNavAction.length; i++)
{
    curr_item = attachMovie("button", "button"+i+"_mc", i, {_x:i*101});
    curr_item.section = aNavAction*;
    curr_item.onRollOver = function()
    {
        this.colorTo(0x6699cc, 1, "Linear");
    };
    curr_item.onRollOut = function()
    {
        this.colorTo(0xCDE0EA, 1, "Linear");
    };
    curr_item.onRelease = function()
    {
        trace(this.section+".swf");
    };
}