# Button usage on conditional events

**URL:** <https://forum.kirupa.com/t/button-usage-on-conditional-events/123119>\
**Category:** Uncategorized\
**Created:** [September 20, 2004, 7:55pm UTC](https://forum.kirupa.com/t/button-usage-on-conditional-events/123119 "2004-09-20T19:55:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![w9914420](https://avatars.discourse-cdn.com/v4/letter/w/c0e974/32.png) [@w9914420](https://forum.kirupa.com/u/w9914420)\
**Post date:** [September 20, 2004, 7:55pm UTC](https://forum.kirupa.com/t/button-usage-on-conditional-events/123119/1 "2004-09-20T19:55:00Z")

</div>

Hi all

I have created two buttons which in turn control two movieclips

button A controls the fade in and out properties of called “content”  
button B controls the fade in and out properties of called “content2”

I have been able to tell button A to fade out the movieclip called “content”  
and then to fade in the movieclip called “content2”

I can also tell button B to fade out the movieclip called “content2”  
and then to fade in the movieclip called “content”

What I am struggling to do is when you FIRST press either button at the start to just play that buttons specific movieclip e.g

button A = mc\_content  
button B = mc\_content2

I know that I am needing a conditional statement of some sort but I got no clue on how to approach it. Any help, advice examples etc would be very helpful to me

thanks all

w9914420

a sample of my file
