Advertisement

06.07.2008 at 04:46AM PDT, ID: 23465924
[x]
Attachment Details

how to detect if mouse is not on stage when the stage is fullscreen

Asked by mankis in ActionScript, Macromedia Flash

Tags: Adobe, Flash, 8, CS3, Actionscript 2

I have an exe file that opens fullscreen. When I press button on that exe file opens another exe file but the first one stays in the back. Both have background music, so when the other one opens you hear both background musics.
I made an function when you press a button that volume of the first exe file sets to 0
on(release){
      fscommand("exec", "newexe.exe");
      soundVolume=0;      
}
and on main actionscript I put this code, so when someone closes the second exe and returnes to the first one and makes first mouse move that sound again apears
onMouseMove = function () {
      soundVolume=25;
};

But :)
if someone clikcs a button that opens new exe and also makes a quick move with mouse before the second exe opens the sound will play anyway.
Please help and thank you for any suggestions?Start Free Trial
[+][-]06.07.2008 at 05:41AM PDT, ID: 21735237

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.07.2008 at 06:14AM PDT, ID: 21735331

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: ActionScript, Macromedia Flash
Tags: Adobe, Flash, 8, CS3, Actionscript 2
Sign Up Now!
Solution Provided By: tomaugerdotcom
Participating Experts: 1
Solution Grade: A
 
 
[+][-]06.07.2008 at 06:29AM PDT, ID: 21735378

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.07.2008 at 08:07AM PDT, ID: 21735796

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.08.2008 at 02:58AM PDT, ID: 21738001

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628