At 22:53 +0800 04/24/2002, noelle cheng wrote:

>>>I'd strongly advise against it.
>
>Thank you for your advice.
>
>However, if you had a superior who decided that you were required to 
>do a certain job, I think you would also  try your best to produce 
>whatever  was  asked.

That is true. Contrarily, ideally the 'superior' would also 
understand that if one is learning on the fly, as it were, things 
will take time, and that making demands for immediate production is 
extremely irrational and inappropriate behavior.

>Perhaps you could advise me, then, how do  I create  volume control 
>using the Library palette behaviors and the score?

Well, I'd start by breaking the task down into discrete pieces. For 
instance, in order to control volume you need a slider and some code 
that responds to the slider's operation.

The simplest thing in the universe might be to convince the powers 
that be at your company to spring for the OSCXtra suite from 
peghole.com. These Xtras include all types of system standard 
components (or widgets), including menus, buttons and sliders.

You could insert an OSC slider in your score and attach a couple 
behaviors to it, and you'd be done. (It's not exactly that easy, but 
it's close.)

The trick with making a slider on your own is that you have to start 
by making the slider itself, and getting it to work in the way you 
want it to. Only after you get the slider working correctly as a 
slider would you want to try attaching volume controls to it.

-- 

              Warren Ockrassa | http://www.nightwares.com/
  Director help | Free files | Sample chapters | Freelance | Consulting
        Author | Director 8.5 Shockwave Studio: A Beginner's Guide
                    Published by Osborne/McGraw-Hill
          http://www.osborne.com/indexes/beginners_guides.shtml
[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