as2.0 expand/collapse menu help needed

Hi,

I’m working on an expand/collapse menu in as2.0, so far the menu expands properly but when I click on the next heading it doesn’t collapse the same way it expanded, which is the effect I am trying to achieve. How can I change the script so the menu expands/collapses in the same way, and is it possible to speed up the expansion/collapse? I have attached a zip of the fla and swf.

thanks for the help
Greg

Here is my as for each menu (header) button…

stop();

this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}
this.onRollOver = function(){
rewind = false;
play();
}
this.onRollOut = function(){
rewind = true;
}
this.onRelease = function(){
tellTarget ("/main")
gotoAndPlay(15);
}
stop();