play an mp3?

Klaus Major klaus at major-k.de
Fri Sep 5 16:00:00 EDT 2003


Hi Derek,

> I  tried this:
>
>  set the filename of player "My Player" to "anyways.mp3"
>  start player "My Player"
>
> am i missing something?

your script will only work if the mp3 is in the current directory...

type this into the message box and hit enter:

answer file "Please choose a mp3 file:"; set the filename of player "My 
Player" to it


This will let you select a file and sets the filename to the absolute 
path to your
mp3. Now the filename is set and "start player My Player" should work...

Hope that helps...


Regards

Klaus Major
klaus at major-k.de
www.major-k.de




More information about the use-livecode mailing list