Player Problems
Eric Chatonet
eric.chatonet at sosmartsoftware.com
Thu Dec 8 06:11:19 EST 2005
Hi John,
To have a player playing a file, you have to set its filename
property to the path of any sound file on your hard disk.
Unfortunately, if you use the property inspector to set it, it only
allows to choose video files :-(
A quick workaround in the message box or by script:
answer file "Choose a sound file:";set the fileName of player <player
name> to it
About managing music players, the "How to Monitor a QuickTime Player
by Script" tutorial might help you:
This stack shows you how to monitor a QT player to play music (mp3
included) and provide all the usual commands, and more, to the user.
How to know if the right version of QT is installed, manage
durations, progress, quick searches, sound level, loops, play-lists,
etc.
The main commands are embedded in a scripted group, which you can
export into any project. This scripted group is able to monitor, not
only sound files, but also the video files as well.
Print function included.
You will access this tutorial through "Tutorials Picker" a free
plugin that interfaces with the So Smart Software website in order to
display all available tutorials directly from the web.
You will find it by going to http://www.sosmartsoftware.com/.
Revolution/Plugins or Tutorials section.
Best Regards from Paris,
Eric Chatonet.
Le 8 déc. 05 à 11:55, John Miller a écrit :
> I am trying to create a player that can be used to play a song
> chosen from a from a playlist. The audio files are NOT a part of
> the stack but will be kept in a separate folder.
>
> When I create a player, all I see is a transparent frame. If I
> move it around in the window, I can see everything underneath it.
> What am I doing wrong?
----------------------------------------------------------------
Web site http://www.sosmartsoftware.com/
Email eric.chatonet at sosmartsoftware.com/
More information about the use-livecode
mailing list