Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2007
    Posts
    13

    How do I stop backgrond music on web button?

    I have a button that when clicked on opens a website. My project has continual background music playing, and I want the music to stop when the website is opened, but then I want the music to return when the website is closed and user returns to the page. I added the action to the button, on click, audio.stop, and on leave, audio play. However, it seems like "on leave" also means when the mouse "leaves" or passes over the button. So if the user has used the optional music on/off button I have on the top of the page to turn off the music, as soon as their mouse passes over the website button the music starts again. Any suggestions? Thanks!

  2. #2
    Join Date
    Sep 2002
    Location
    Sol 3
    Posts
    3,160
    You are correct about the On Leave part of the actions. That event is fired when the mouse pointer leaves the area of the button. How are you opening your web page? Is it within AMS(web object) or outside of AMS(systems default browser)?

    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

  3. #3
    Join Date
    Feb 2007
    Posts
    13
    When I made the button, I put a quick action on it to open a website. So it opens with the systems default browser.

Similar Threads

  1. button play and stop
    By white sky in forum AutoPlay Media Studio 5.0
    Replies: 11
    Last Post: 10-25-2005, 04:41 PM
  2. 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
  3. How do I add a working "Favorites" button to my Web Browser
    By JBS in forum AutoPlay Media Studio 5.0
    Replies: 3
    Last Post: 05-04-2004, 09:31 PM
  4. Simple web button getting errors
    By MWMTex in forum AutoPlay Media Studio 5.0
    Replies: 3
    Last Post: 02-03-2004, 07:18 PM
  5. HOW TO: Return a Web Browser Object to the Original URL after a Page Jump
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 02-03-2003, 09:18 AM

Posting Permissions

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