title: AS3 Access of undefined property
body: <p>First of all I am completely new to AS3. I want to create a simple website, with 3 buttons.</p>
  
  <p>Once you click on the button, content should appear next to it. But i have trouble
  programming even one button.</p>
  
  <p>Here is the script:</p>
  
  <pre><code>stop();
  photography_btn.addEventListener(MouseEvent.CLICK, photoclick);
  function photoclick(event:MouseEvent) {
     gotoAndPlay("photography");
  }
  </code></pre>
  
  <p>But Flash says: 1120: Access of undenfined property photography_btn.
  I have looked everywhere on the internet for the past two days, but since I am so new at this, other people's solutions don't really help me.</p>
  
  <p>Also, I integrated a stop action, but the script won't stop!
  I have put the actions on the first frame.</p>
  
  <p>Please, I need some help, getting really desperate otherwise... </p>
  
  <p>Thank you!!
  Jennifer</p>