PDA

View Full Version : Lower music then raise music with focus


pailhead
08-11-2005, 08:32 AM
I have a project I'm playing with and I want to do the following.. I have music playing in the background and when I click on a button to launch something I have it set to lower the music to 25. Now what I want to be able to do is when the presentation is closed (powerpoint) and the menu has focus again the music is raised back up to 100. Is there a way to do this sort of thing?

Thanks...

yosik
08-11-2005, 01:59 PM
A solution I proposed in the past was to have a hotspot covering the whole App.
At first, it is invisible.
When clicking on button, you have 3 actions: 1. make hotspot visible, 2. lower your volume and 3. launch ppt.
You insert 2 actions in the onEnter event of the hotspot: 1. which bring your volume back to 100% and 2. make that hotspot invisible again.

What you get is the following: Click on button > vol = 25% and ppt is launched. When ppt ends, focus is back to the App, your mouse is on the screen (actually on the hotspot), thus activating the onEnter actions. Volume is back to normal, hotspot disappears and off you go...

Hope that helped.

Yossi

Macord
03-11-2008, 03:41 PM
Just tryed the fader.apz and incorporate some instructions to my app but i am a little noob for encoding and i believe i just craped the entire programe. A step by step could help a lot.