-
Window focus question
I have a couple of buttons on my site that open up a new site in a _blank window. Is there a way to turn off my sound in the Flash site? Perhaps a way when the Flash site loses Focus?
I would like it to be if the user is looking at the other site my sounds are off but are turned back on when the user returns to looking at my Flash site.
thanks guys
-
Why not with a stopAllSounds(); on the buttons themselves as a first action?
Turning it back on, would possibly be more complicated...
Maybe you should just set a global sound volume trigger to 0, and set it back to 100 whenever the popup(s) is closed. Otherwise, the main browser may get focus back, but the popups still being opened...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|