If else "button problem"

Hello, I need some help.
I have three buttons, btn_1,btn_2,btn_3, and two movie clips, image_1,image_2. The names listed btn_1,btn_2,btn_3, image_1,image_2. are all instance names. All buttons and movie clips are on their own layer in a single frame on the main time line. the movie clips have a stop action on the first and last frame, with a frame label, on the first frame in the sub time line. For image_1 the frame label is image_1_1 and for image_2 the frame label is image_2_1.
I would like btn_1 and btn_2 to control the movie clips, image_1,image_2. Either button should be able to close the other buttons movie clip and play it’s own movie clip. Also i am trying to make the movie clips themselves have the ability to be closed by clicking on the movie clip image area that is playing. Both movie clips when not playing hide behind the appropriate button with an alfa of 0. When playing they expand to the middle of the window and are at 100% alfa, using a tween. The third button, btn_3 should only be visible when one or the other movie clisp are playing. btn_3 dose nothing else but this for now.
As of now, my movies continuously loop and btn_3 is always visible. I can’t seem to figure this out. my code for this action is:

var button1Open:Boolean = false;
var button2Open:Boolean = false;

btn_3.visible = false;

//button 2\
btn_2.addEventListener(MouseEvent.CLICK, bClick);
btn_2.buttonMode = true;

function bClick(e:MouseEvent):void
{
image_2.gotoAndPlay(“image_2_1”);
image_1.gotoAndStop(“image_1_1”);

if (button2Open == false)

{
button2Open = true;
}
else
{
button2Open = false;
}

if ((button2Open == true) && (button1Open == true))
{
btn_3.visible = true;
else
{
btn_3.visible = false;
}

}

image_2.addEventListener(MouseEvent.CLICK, eClick);
image_2.buttonMode = true;

function eClick(e:MouseEvent):void{
image_2.gotoAndStop(“image_2_1”);
}

//button 1\

btn_1.addEventListener(MouseEvent.CLICK, cClick);
btn_1.buttonMode = true;

function cClick(e:MouseEvent):void
{
image_1.gotoAndPlay(“image_1_1”);
image_2.gotoAndStop(“image_2_1”);

if (button1Open == false)

{
button1Open = true;
}
else
{
button1Open = false;
}

if ((button2Open == true) && (button1Open == true))
{
btn_3.visible = true;
else
{
btn_3.visible = false;
}
}

image_1.addEventListener(MouseEvent.CLICK, fClick);
image_1.buttonMode = true;

function fClick(e:MouseEvent):void{
image_1.gotoAndStop(“image_1_1”);
}

//what am i doing wrong?