Is there any way to mute other flash objects on the same page with ActionScript or Javascript? I can understand if this would be a security issue but my flash does have a user-initiated mode which takes over the screen and I was hoping this might be an exception where it's clear it has full priority for the user.
相关问题
- Is there a limit to how many levels you can nest i
- How to toggle on Order in ReactJS
- void before promise syntax
- Keeping track of variable instances
- Can php detect if javascript is on or not?
Exposing internal controls in a Flash movie is up to the programmer who writes it. If they haven't exposed an external mute/volume control and have documented it, you're out of luck. There is no universal API that can be called.
Yes for security reasons, you cannot change parameters in other swf objects on the page, except they allow you to do this. In case if all the swf objects created by you, you can create mechanism with js were user interaction with one swf object send events to all other swf object and they change their state. But you cannot do this with 3rd parties apps.