Volume control Question
Klaus Major
klaus at major-k.de
Sun Jun 5 13:33:23 EDT 2005
Hi Vuddy,
> I was wondering is there was a way to control the volume of
> something with a
> slider so that if the slider was one the value 0 there would be no
> sound, and
> if it was on 100, the sounds was as high as it could go
>
> For the script, I tried something like "set the playLoudness of
> player 1 to
> value" Which obviously didn't work, and so yeah, I'm asking for
> your help...
> again
put this into the script of your scrollbar:
on scrollbardrag t_value
set the playloudness of player 1 to t_value
end scrollbardrag
Hope that helps...
Best
Klaus Major
klaus at major-k.de
http://www.major-k.de
More information about the use-livecode
mailing list