Did you try the Sound Volume Control behavior that shipped w/d8?

-Buzz

At 5:37 PM -0400 6/6/01, Carl West wrote:
>John Trentini wrote:
>>
>>  Hi guys,
>>
>>  My project needs a sound control Vertical slider constrained
>>  by the locV of a moveable graphic; no problem here but..
>>
>>  Setting the volume of sound(1) to the locV of a sprite makes
>>  the volume increase as the locV increases.
>>
>>  I need the slider to work in reverse; that is I need the volume
>>  to increase as the slider moves from the bottom-Up and vice versa.
>>
>>  Any help?
>
>-Measure the distance the slider is from the bottom of the track
>-divide that by the length of the track
>-multiply the maximum sound number (7 or 255, depending on the commands
>you're using) by the result
>-That's your new sound setting
>--
>Carl West    [EMAIL PROTECTED]
>617.262.8830 x246   
>
>I have no superfluous leisure; my stay must be
>stolen out of other affairs; but I will attend you awhile.
>
>            - Isabella, Measure for Measure, Act 3 Scene 1
>
>[To remove yourself from this list, or to change to digest mode, go to
>http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
>email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
>Lingo-L is for learning and helping with programming Lingo.  Thanks!]


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to