Did you notice that I changed the spot for
Code:
#import <AVFoundation/AVAudioPlayer.h>
from the source file to the .h file?
This allowed me to declare theAudio in the header. I noticed that, in the fragment of source you copied above, you were still importing the file in the source.