Brian,

You wrote:

> I have a idea for a new computer program
> But in order to do it I need to be able to play .mp3 files & .m4a files
> is it possible to have a folder full of them and access the folder in
> a listbox
> and have a play button and when the play  button is pressed the music
> plays?


Yes, it is definitely possible.  Check out my REALbasic-made app called
Stimulus which does exactly that:

http://www.ebutterfly.com/stimulus/

Just do a loop through a directory, checking each file's format to see if it
is an MP3 file.  If it is, then add it as a row to your listbox.  Then code
your listbox to play the folderitem of a selected/double-clicked MP3 file in
a MoviePlayer control.

Regards,
Dave Wooldridge
Electric Butterfly
http://www.ebutterfly.com

----------------------------------------
RB Garage - http://www.RBGarage.com
The largest independent online resource
For REALbasic software developers!
----------------------------------------



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to