Indigo Rose Software
  #1  
Old 09-22-2003
Desmond's Avatar
Desmond Desmond is offline
Indigo Rose Staff Member
 
Join Date: Jul 2003
Posts: 628
Grin Toggling the Background Music On and Off

Toggling the Background Music On and Off

Toggling the Background Music On and Off

Document ID: IR10004
The information in this article applies to:
  • AutoPlay Media Studio 5.0 Standard Edition
  • AutoPlay Media Studio 5.0 Professional Edition

SUMMARY

This article describes how to toggle the background music on and off.

DISCUSSION

It is possible in AutoPlay Media Studio 5.0 to have music playing in the background of your application.

To allow the user to turn off this music if they wish:

  1. Create a button.
  2. On this button's On Click event, insert the following code:

    Audio.TogglePlay(CHANNEL_BACKGROUND);

This example assumes the background music in your application is playing in channel CHANNEL_BACKGROUND. When the user clicks the button, the background music will pause if it was playing, and play if it was paused.

MORE INFORMATION

For more information please see the following topics in the AutoPlay MediaStudio 5.0 help file:

  • Program Reference | Actions | Audio | Audio.TogglePlay

KEYWORDS: AutoPlay Media Studio 5.0, Actions, Sound, Audio, Background, Music,Play, Pause, Mute


Last reviewed: September 22, 2003
Copyright © 2003 Indigo Rose Corporation. All rights reserved.
__________________
Setup Factory 8.0 comes with over 250 actions so you can create smaller, faster and more intelligent software installers than ever before.

WebHelp Guides: AMS | MSIFACT | SUF | TU | VP
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On



All times are GMT -6. The time now is 05:51 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software