How do you know the correct filepath for playing an audioClip?(Andrea George

geor9230 at saintmarys.edu geor9230 at saintmarys.edu
Wed Feb 4 20:36:56 EST 2004


I am still having trouble figuring out why I can't get my audioClip to play.  I have tried various things including changing the filepath to the song.  I know I have everything else set up for the play button correct because I can hear it trying to connect with the song, but nothing is being connected.

I have tried the following line of code in all different styles, but it is still not working.

on mouseUp
play "Macintosh HD/Users/Shared/audioClips/UnchangedMelody.aiff" looping
end mouseUp

I have also tried putting it on the desktop and it was not able to find it there.  I do know the song works because I have played in on the mac on several different occasions.

I have tried the ImyPath method and I was not able to get that to work.  Am I missing code and I am not aware of this?  What am I doing wrong?  Where can I find some examples?


Please help.
Thank you!
        



More information about the use-livecode mailing list