Check if SoundChannel is playing sound

前端 未结 3 1697
陌清茗
陌清茗 2020-12-19 08:52

How to check reliably if a SoundChannel is still playing a sound?

For example,

[Embed(source=\"song.mp3\")]
var Song: Class;

var s: Song = new Song         


        
3条回答
  •  暖寄归人
    2020-12-19 09:32

    I know this is really old but i found this link that i think is quite helpful. it explains how to monitor and play a file from a certain point.

    http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118a9b90204-7d21.html

提交回复
热议问题