apache-flex - 如何停止声音?

标签 apache-flex flash actionscript-3 actionscript flex3

如何停止这个声音? :

MySound.play(0,100,null);

最佳答案

play 返回一个 SoundChannel,它有一个 stop() 方法。请参阅Documentation .

Generates a new SoundChannel object to play back the sound. This method returns a SoundChannel object, which you access to stop the sound and to monitor volume.

关于apache-flex - 如何停止声音?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3168520/

相关文章:

apache-flex - 在 Flex 列表/数据网格中设置前景和背景选择颜色的样式

apache-flex - 使用 HTML 格式输出 Flex/MXML 中的变量

java - Flex 用于具有 Java/Oracle 后端的基于图表的报告

apache-flex - FireFox3 中如何打印Flex 组件?

Javascript -> Flash 抛出 "Error calling method on NPObject"

java - 用 float 替换整数的正则表达式

actionscript-3 - 带有Flash的youtube搜索控件的位置栏

linux - Linux操作系统上Flash中的多点触控架构

javascript - 在 html 中嵌入 flash 的最佳方式

actionscript-3 - SWFLoader 上的 Actionscript 3 和 Flex 4 缩放手势