Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Draw This
($0.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 07-23-2009, 12:44 PM   #3 (permalink)
helios
New Member
 
Join Date: Jul 2009
Posts: 6
helios is on a distinguished road
Default

sorry but im a complete noob.. can you show me how to do the coding? at the moment i have this for each button:

NSString *path = [[NSBundle mainBundle] pathForResource:@"song" ofType:@"m4a"];
AVAudioPlayer* theAudio1 = [[AVAudioPlayer alloc] initWithContentsOfURL:[NSURL fileURLWithPathath] error:NULL];
theAudio1.delegate = self;
[theAudio1 play];
helios is offline   Reply With Quote
 

» Advertisements
» Online Users: 611
13 members and 598 guests
armmzz, chiataytuday, christina2c, Domele, Droverson, Dump3, Fstuff, iamwayne5, jerrasen, kanishadg35, linkmx, Techgirl-52, ThistleCoast
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 174,552
Threads: 93,729
Posts: 401,269
Top Poster: BrianSlick (7,954)
Welcome to our newest member, christina2c
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 11:15 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.