KathyM
02-20-2007, 09:07 PM
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!