Redwine311
Technical User
Ok here is my question-
I have a project that I want to only play sound if the user moves/click the mouse or keyboard. If the LastEvent > 4 then
music stops. So far I can get the the sound to FadeIn on any event and it will stop if I dont touch anything for 4 secs.
The only problem is that-
1) After the sound has stopped and I move the mouse to FadeIn the sound once again, I want the sound that is playing to resume where it left off and not restart.
2) When the LastEvent is more than 4 secs I want the sound to FadeOut instead of just cutting off abruptly.
I have tried different things and seem to get errors..I dont have the file at this computer so I cannot include the script but I will if someone needs it.
Thanks for any help anyone can offer!
Red
I have a project that I want to only play sound if the user moves/click the mouse or keyboard. If the LastEvent > 4 then
music stops. So far I can get the the sound to FadeIn on any event and it will stop if I dont touch anything for 4 secs.
The only problem is that-
1) After the sound has stopped and I move the mouse to FadeIn the sound once again, I want the sound that is playing to resume where it left off and not restart.
2) When the LastEvent is more than 4 secs I want the sound to FadeOut instead of just cutting off abruptly.
I have tried different things and seem to get errors..I dont have the file at this computer so I cannot include the script but I will if someone needs it.
Thanks for any help anyone can offer!
Red