Hi, At 01:14 PM 5/9/2002 -0500, you wrote: >Some of you might have noticed I've been discussing behavior communication >with Noelle, and she asked after an example of a relay behavior. > >So here it is. This is another take on the volume button behavior for >QuickTime audio. There are three behaviors here. One is attached to the >volume button; one is attached to the target QuikckTime audio sprite(s); >the third is a framescript behavior and goes into channel 0. This third >behavior is the intermediary that prevents direct communication amongst >behaviors and thus forestalls script error occurrences.
Thank you. This is appreciated. >As you can see this is relatively intricate, but it's got the distinct >advantage of being pretty flexible. You can actually have as many QT >sprites as you want in a frame, and you can change their channel numbers >at will, and as long as the settings for the behaviors in the PI are >correct, everything should work in a completely error-free way. Sadly, it does not. I regret posting this but I have spending the last half hour trying to debug. My whole movie has hung again... The playhead does not move forward... >All you have to do once these behaviors are made is attach the QT one to >your QT sprites, and name each one however you want to; then attach the >volume one to the volume buttons, specifying the name of the QT sprite >whose volume is to be adjusted (this would be the name you already gave to >the QT sprite). Then put the channel 0 script into the frame script >channel, hit play, and off you go. > >-- For the volume buttons > > PROPERTY pyMyDirection > PROPERTY psTargetName [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!]
