使用html禁用嵌入式Flash对象的声音 [英] Disabling sound of embedded flash object with html

查看:198
本文介绍了使用html禁用嵌入式Flash对象的声音的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

想知道如何使用html禁用嵌入式Flash对象的声音?

你不能控制声音在HTML中的Flash电影恐怕。你可以做的是用Flash中的ExternalInterface对象设置Javascript函数,你可以从Javascript调用这些函数。
$ b

AS3中的ExternalInterface LangRef:
< href =http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/external/ExternalInterface.html =nofollow> http://www.adobe.com/livedocs/flash/ 9.0 / ActionScriptLangRefV3 / flash / external / ExternalInterface.html



如果您没有Flash源文件,只有SWF我认为您不会能够做到这一点。

Rob


Was wondering how to disable sound from an embedded flash object with html?

解决方案

You can't control the sound of a Flash movie in HTML I am afraid. What you can do is set up Javascript functions with the ExternalInterface object in Flash and you can call those functions from Javascript.

ExternalInterface in the AS3 LangRef: http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/external/ExternalInterface.html

If you don't have your Flash source files only the SWF I think you won't be able to do this.

Rob

这篇关于使用html禁用嵌入式Flash对象的声音的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆