title: If Statement help - Flash Actionscript 2.0
body: <p>This is probably going to be a long shot, because I'm having trouble articulating what I'm attempting, but I will try anyway. :)</p>
  
  <p>My overall concept is a basic (very basic) game; you have ingredients (4 of them) and depending on which ones you choose, the final product (in this case, a cake) looks different. </p>
  
  <p>For example: if you click the "cake mix" button, the "chocolate" button and the "water" button, you get CHOCOLATE CAKE. But if you only click the "cake mix" button and the "water" button, you get VANILLA CAKE.</p>
  
  <p>I have no idea how to code it so that, depending on which buttons are clicked, you get a different outcome. Any ideas? =/</p>
  
  <p>There is a "REVEAL" button that I'm putting all of the script on. Right now I have: </p>
  
  <pre><code>on (release) {
  if (_root.buttons.water._visible == false);
  gotoAndPlay(384);
  
  if (_root.buttons.water._visible == true);
  gotoAndPlay(383);
  </code></pre>
  
  <p>}</p>
  
  <p>I'm trying to say, if at any point the water button is clicked, go to THIS OUTCOME (frame 384). But if the water button HASN'T been clicked, go to THIS OUTCOME (frame 383).</p>
  
  <p>Hopefully someone has an idea I can try! :)</p>
  
  <p>I am using Flash CS5 and Actionscript 2.0. Thank you!</p>