I had a digital video with volumeUp and volumeDown buttons.
In a movie script I set up a global variable:
on startmovie
global vol
set the vol to ___ ( some midrange vale)
set the volume of sprite___ to vol
end


and on volumeDown button
global vol
if the vol>0 then
set vol to vol-10 (or whatever)
set the volume of sprite___ to vol
end if
end

and for volumeUp, the opposite

I don't know whether this is the best way of doing it but it seems to work on both
Mac and PC




[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