views:

231

answers:

0

I'm using openAL to play audio files. I'm using a uibutton to play an audio file. I access this play method that loads and plays the audio file from an object called oalPlayback. I have connected this button and method in interface builder by dragging the object into the nib /xib window. I then shift drag the button to the object to associate button with the ibaction method in the oalPlayback object.

I want to set the properties(title, etc) dynamically from the view class where the button physically resides and not the oalplayback object where the iboutlet and ibaction are declared. Is this possible?

Also is there a way to call this oalPlayback object method besides the association in interface builder? I think this could be done in the view where the button physically resides and at this point i could change the attributes of the button.

Thanks a million!