# Conditional statements in AS3

**URL:** <https://forum.kirupa.com/t/conditional-statements-in-as3/298864>\
**Category:** flash\
**Created:** [October 26, 2009, 3:17pm UTC](https://forum.kirupa.com/t/conditional-statements-in-as3/298864 "2009-10-26T15:17:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![FunkyMunky](https://avatars.discourse-cdn.com/v4/letter/f/ecccb3/32.png) [@FunkyMunky](https://forum.kirupa.com/u/FunkyMunky)\
**Post date:** [October 26, 2009, 3:17pm UTC](https://forum.kirupa.com/t/conditional-statements-in-as3/298864/1 "2009-10-26T15:17:34Z")

</div>

Hi Guys,

I’m attempting to get MC’s to interact with each other so that when a dropdown menu is clicked others return to their original state. You can see an example of where I am upto here

[http://www.compressionartifacts.co.uk/index.php?id=18](http://www.compressionartifacts.co.uk/index.php?id=18)

So basically what I want to do is something similar to the following.

\*User clicks on button 1  
\*Flash checks states of buttons 2 and 3  
\*If buttons 2 and 3 are closed flash opens button 1  
\*If buttons 2 or 3 are open flash closes them and opens button 1.

The fla can be supplied if required but be warned I’m a designer not a coder so the AS might be impenetrable.

I hope someone can help.
