title: Playing mp3 on iphone sdk?
body: <pre><code>-(IBAction)musiconButtonClicked:(id)sender{
      NSString *path = [[NSBundle mainBundle] pathForResource:@"NextRevIt" ofType:@"mp3"];
      AVAudioPlayer* audioPlayer = [[AVAudioPlayer alloc ] initWithContentsOfURL:[NSURL fileURLWithPath:path] error:NULL];
      [audioPlayer play];
  }
  
  
  -(IBAction)musicoffButtonClicked:(id)sender{
      [audioPlayer stop]; &lt;----says this is undeclared?
  }
  </code></pre>
  
  <p>I can get the audio to play fine, but how do i make a button that stops the audio?</p>