I have worked it out!

thanks to Carl for putting me on the right track.

here's how I did it; not very elegant but it works lika a charm:

(D7)

on exitFrame
   sprite(the currentSpriteNum).moveableSprite = True
     sprite(the currentSpriteNum).constraint =  the currentSpriteNum +1
     set the volume of sound(1) = (255 - (the locV of the currentSpriteNum -
380)*3)
-- 380 is the top of the constraining track -- *3 is a value arrived by dividing
255 (volume)
--by the total lenght of the track.

end






[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