use-revolution digest, Vol 1 #596 - 7 msgs
MFitz53 at cs.com
MFitz53 at cs.com
Sun Aug 11 13:42:01 EDT 2002
In a message dated 8/11/02 1:01:04 PM Eastern Daylight Time,
use-revolution-request at lists.runrev.com writes:
> From: "Ken Ray" <kray at sonsothunder.com>
> To: <use-revolution at lists.runrev.com>
> Subject: Re: Can I automate the process of getting New Reference Controls?
> Date: Sun, 11 Aug 2002 08:50:27 -0600
> Reply-To: use-revolution at lists.runrev.com
> This is a multi-part message in MIME format.
> Content-Type: text/plain;
> Content-Transfer-Encoding: quoted-printable
> Are you bringing in one player per music file? You don't need to do that =
> (unless that's how you want it). You can have one Player control and =
> then point the control to the music file by setting its 'filename' =
> Hope this helps,
> Ken Ray
> Sons of Thunder Software
Would I have to supply a filepath for each title? Up to this point, I have
been working withing my own little stack world, and have not ventured out
much into looking for files in the rest of the hard drive. Below is the
script of the field that contains all of the music titles in the music
folder. This works fine to simply play songs individually(with a player for
each). Of course, if nothing is screwing up I fix it with this playlist
thing. I'm wondering how I could incorporate changing to the option you
mention from this.... then again, I have been looking at this screen for too
long. Maybe an Old Nick is in order.
global muse --keeps me from specifying each title
if muse is not empty then --gets an error without this if nothing is in muse
stop player muse --stops current player
set the currentTime of player muse to 0 --resets the player to the beginning
get the value of the clickLine --song title
put it into muse --puts the player name(song title) into muse
put it into field"currentplay" --just a field with current title playing
start player muse --plays new song
Thanks. I am going to play with your idea a while.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Use-livecode