Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 8 of 8
  1. #1
    Join Date
    Nov 2002
    Posts
    1

    Grin Temporary pause of background music

    Hi,

    Is there a way to pause a MP3 that is the background music for the menu when the menu is minimized? Then when the menu is restored, the music begins where it left off.

    Example:

    Someone clicks a button that opens a video in Quicktime (outside of Autoplay menu). If there is background music for the menu, it plays during the Quicktime video......not good. Wanted: the background music on the menu paused while playing the video then resume when menu is restored (maximized).

    KEEP IN MIND, video is opened with Quicktime (not within menu)

    Thanks for any help/advice in advance

  2. #2
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746

    Re: Temporary pause of background music

    Well you can pause it on minimize by omitting the title bar, adding your own minimize button, and adding actions to that button which:

    a. pause the MP3
    b. minimize the window.

    Not sure how you're going to "unpause" your MP3 when the window is restored.

    That being said it's a safe bet that no one will start an application which plays music and then start watching a movie on top of that and then be confused as to how to solve the problem should they disenjoy the noise. I think you are worrying too much.

    Corey Milner
    Creative Director, Indigo Rose Software

  3. #3
    Join Date
    Jun 2002
    Location
    Southeast USA
    Posts
    1,804

    Re: Temporary pause of background music

    What about converting your QT movie to MPEG-1, and keeping it all inside AMS? Just a thought.
    Eric Darling
    eThree Media
    http://www.ethreemedia.com

  4. #4
    Corey is offline Indigo Rose Staff Alumni
    Join Date
    Aug 2002
    Posts
    9,746

    Re: Temporary pause of background music

    Oh I see, I misunderstood this.

    OK here's a solution:

    Put your quicktime video on page 2 inside a web browser object.

    Have no background music on page 2.

    Simple enough...

    Corey Milner
    Creative Director, Indigo Rose Software

  5. #5
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959

    Re: Temporary pause of background music

    Going off Corey's original suggestion of having your own minimize button, you could use the IsIconic function from the User32.dll to determine when the window was restored.

    See the attached sample.



    14545-mini.zip

  6. #6
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959

    Re: Temporary pause of background music

    I just noticed there is a hesitation before the loop cycles to let the call determine whether the app is minimized. I would guess that it will depend on the speed of the machine in how fast the restore triggers the variable change.

  7. #7
    Join Date
    Apr 2004
    Location
    Taiwan
    Posts
    83
    Hi Worm:
    I can't found this zip files. Can you tell me the zip file detail address again. Thanks you for advance.

    {Going off Corey's original suggestion of having your own minimize button, you could use the IsIconic function from the User32.dll to determine when the window was restored.}

    See the attached sample.



    14545-mini.zip
    Pierre

  8. #8
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    That was uploaded to the forums a while ago. It looks like it got lost when IR switched to the new forum software.

Posting Permissions

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