Now I think I've got it!
Your post was a bit confusing. May I suggest , next time,
you start with explaining what you want to acheive and then
what you need help with.
If you just want to play certain sounds on mouse events (mouseUp/
Down, etc.) then you don't need a toggle button but a command that
palys a specific sound on any 'user defined' event.
Example:
on mouseEnter me
puppestSound 1, "Tra-La-La" -- Tra-La-La is the name of the sound file in
your cast.
end
on mouseLeave me
puppestSound 2, "Oh my Dear"
end
on mouseDown me
puppestSound 1, "Why me?"
end
on mouseUp me
puppestSound 2, "Rhapsody in Blue"
end
Use short sounds for these effects or you' end up demending too much of
director.
Also make sure that the sound files are not set to Loop in the cast property
dialaogue panel.
Is this helpful?
JohnT
William Miller wrote:
> Well I finally got the multistate button behavior in the Dir lib to
> work and it works great but......on the different states I need the
> sound to be turned off and on! The sounds I need off and on are for
> buttons and effects and they are all in my cast...
>
> The control section of the behavior is where I believe the code
> should go but I am confused as to how to insert it and as to exactly
> what to write.....I think that "soundEnabled" is the way to go
> --
> William J. Miller
> P.O. Box 540303
> Houston Texas 77254
> 214-476-5111
> [EMAIL PROTECTED]
>
> [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!]
[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!]