View Full Version : Tip: toogle music on/off when focus is on AMS

02-12-2004, 08:51 AM
Sharing a tip with you, guys. Maybe someone can use it:
I wanted to have a background music playing and when I click a button which launches an EXTERNAL file (for example a video in Media player, but anything alse goes), the music would stop. That's easy!
But I wanted the music to start again when the external app is closed and the user is back to AMS.
Solution: (mine anyway..)
1. have a hotspot made visible when button is clicked, just before going to app. (allow a small delay for app to start).
2. onEnter this hotspot, a) the hotspot disappears, b) music starts again.

02-12-2004, 12:11 PM
Nifty. So does the hotspot cover the whole page?

02-12-2004, 02:03 PM
Exactly. It may not be "elegant", but it was the way I found to "wake up" the background music when focusing back to AMS

Silver Zero
02-14-2004, 09:23 AM
Excellent tip!