Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2005
    Posts
    2

    Huh? pause audio background

    Hi, I have a button, when I click on it a video begin and the music background will paused! I want the music background will played when i close the video!
    how I can do it?

    thanks, I'm sorry for my english...

  2. #2
    Join Date
    Aug 2003
    Location
    Maine, USA
    Posts
    1,695
    Take a look at your actions in the Video Object (assuming this is what you're using). On stop, pause, finish -> you could restart your background audio there.

  3. #3
    Join Date
    Apr 2005
    Posts
    2
    I have this code:

    File.Open("AutoPlay\\Videos\\2x02.avi", "AutoPlay\\Videos", SW_SHOWNORMAL);
    Audio.Pause(CHANNEL_BACKGROUND);

  4. #4
    Join Date
    Aug 2003
    Location
    Maine, USA
    Posts
    1,695
    Sheesh, you had to make it hard

    The only thing I can think of is to get the title of the window and monitor it for close, then start your bg audio when the window exits.

    Actually, thinking about it, there's really no way to achieve this as the avi opening like that can open with many different players. Why not use the Video Object? Your project and all, just curious. More control that way.

  5. #5
    Join Date
    Sep 2002
    Location
    Sol 3
    Posts
    3,160
    I would suggest that you use the internal video object in AMS due to the fact that you will have more control over what happens with the video. You can look for the active windows and find the title of your video as it is being played and monitor the window to see when it is closed. The problem being you would have to check to see what the title windows look like for WMP - several different versions, Real Player, WMP Classic and what ever else someone might be using as a video player.

    Tigg
    TJ-Tigger
    "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
    "Draco dormiens nunquam titillandus."
    Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

Similar Threads

  1. prob with togle background audio with button
    By Jonas DK in forum AutoPlay Media Studio 5.0
    Replies: 4
    Last Post: 04-11-2005, 08:06 PM
  2. Background music: Global Settings or Audio Settings ?
    By Eric P in forum AutoPlay Media Studio 5.0
    Replies: 10
    Last Post: 09-08-2004, 11:30 AM
  3. 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
  4. Pausing the Background Music
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 09-26-2003, 01:14 PM
  5. Background music + mouse action audio
    By Disc-man in forum AutoPlay Menu Studio 3.0
    Replies: 4
    Last Post: 04-04-2002, 01:47 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