Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2002
    Posts
    57

    Disabling button sounds

    Is there any way to set a button's onClick sound to mute or off programatically?

    kmartin7

  2. #2
    Join Date
    Jun 2002
    Location
    Israel
    Posts
    1,843
    As far as I know, not directly.
    But you can have a button trigger an external sound (not the build-in sound function). This way, you can have complete control when and if to play that sound (you could also play different sounds from the same button, based on previous fulfilled condition).
    Good luck.
    Yossi

  3. #3
    Join Date
    Jun 2002
    Posts
    57
    Thanks Yosik. I was hoping that I wouldn't have to manually play a sound as there are several buttons and conditions. I guess I can cut-and-paste.

    =)

  4. #4
    Join Date
    Jun 2002
    Location
    Israel
    Posts
    1,843
    Don't forget that you can use variables (and even better, a table) for your buttons<->sound pairs. Then you can condition control your sound triggering.

    Yossi

  5. #5
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    Also FUNCTIONS. It'll make life a lot easier if you roll it into a function. That way you'll only have one place to edit/change code.



    Quote Originally Posted by kmartin7
    Thanks Yosik. I was hoping that I wouldn't have to manually play a sound as there are several buttons and conditions. I guess I can cut-and-paste.

    =)

  6. #6
    Join Date
    Jun 2002
    Posts
    57
    OK. Thanks.

Similar Threads

  1. Example: Creating an on/off button to toggle background audio
    By Jonas DK in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 07-10-2004, 02:54 PM
  2. Dynamic Return Button
    By Octaine in forum AutoPlay Media Studio 5.0
    Replies: 3
    Last Post: 06-29-2004, 01:43 PM
  3. Disabling radio button....
    By cvaden in forum Setup Factory 6.0
    Replies: 1
    Last Post: 07-24-2003, 10:32 AM
  4. Button Hiding Blues
    By Tezcatlipoca in forum AutoPlay Media Studio 4.0
    Replies: 5
    Last Post: 04-11-2003, 04:57 PM
  5. INFO: The Explore Button on the Distribution Folder Dialog
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-11-2002, 12:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts