How to mute other flash objects on the page with A

2019-08-09 02:30发布

问题:

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.

回答1:

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.



回答2:

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.