Hi,

 >>Oh and one last thing,  I have saved  all your useful replies as
 >>references.
 >
 >And discarded mine, I assume. After all I am a *Macintosh* user. ;)


No, I didn't do that.  I did save it. Actually this is  the first time I 
know that you are a Mac user.

Also, I think that the book you wrote did not even  have the word 'Mac' at 
all on the front, back cover  or initial few pages.  At least I don't 
remember seeing it. (But I'll check on it)

 >
 >>Adjusting volume with a slider
 >>
 >>http://www.director-online.com/accessArticle.cfm?id=233
 >>
 >>
 >>I am a little lost.  Actually, I wanted to create a horizontal
 >>slider. This article shows a vertical one.
 >>
 >>So I substituted all the locV for locH ,  mouseV for mouseH and
 >>pSliderBottom for pSliderLeft in the  code.
 >
 >Not a bad start... OK, here's the code, reworked, with some
 >comments.
 >


 >Enjoy!


Thank you. This is  indeed a nice surprise.

But I am still not quite sure how to use  this behavior.

  I attach it to the sprite,  in this case, the volume control button I 
have created.

The button is in a single frame in  the score.

I think I do not need to specify which sound channel it is in. (as the 
getPropertyDescriptionList states that the channels are from 1 - 8)

So I dragged the sound into the score as well.

In the article, it reads:

'In this behavior, I'll make the assumption that the slider trough member 
is in the sprite channel just below the slider knob.'

Am I correct to assume that  this means that the sound channel is in channel 1?

I tried this but it didn't work. So I tried it in channel 2 but it didn't 
work either. I know that channels 3 to 8 must be set  by lingo.

Sorry, but how do I go about it? Which of the  steps I took are wrong?

Noelle.

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/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