devlog [naru design]

プログラミングやテクニカルな内容の覚え書き。

ライブラリに読み込んだサウンドを再生/停止するサンプルです。

サウンドを再生するにはSoundクラスのplay()メソッド、停止するにはSoundChannelクラスのstop()メソッドを使います。

実行結果

This movie requires Flash Player 11

Pocket

コメントを残す

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Trackback URL: