Extends
- EventDispatcher
Members
指定されたクラスの空間名を返します。
Returns the space name of the specified class.- Default Value:
- next2d.media.Sound
既にアプリケーションにロードされているデータのバイト数です。
The number of bytes of data that have been loaded into the application.- Default Value:
- 0
アプリケーションにロードされるファイルの総バイト数。
The total size in bytes of the file being loaded into the application.- Default Value:
- 0
ループ回数の設定
Loop count setting.- Default Value:
- 0
指定されたオブジェクトの空間名を返します。
Returns the space name of the specified object.- Default Value:
- next2d.media.Sound
ボリュームです。範囲は 0(無音)~ 1(フルボリューム)です。
The volume, ranging from 0 (silent) to 1 (full volume).- Default Value:
- 1
Methods
指定されたクラスのストリングを返します。
Returns the string representation of the specified class.- Default Value:
- [class Sound]
Returns:
Type Description string Sound クラスを複製します。
Duplicate the Sound class.Returns:
Type Description Sound 指定した URL から外部 MP3 ファイルのロードを開始します。
Initiates loading of an external MP3 file from the specified URL.Name Type Description request
URLRequest Returns:
Type Description void サウンドを再生します。
Play a sound.Name Type Default Description start_time
number 0 optional Returns:
Type Description void チャンネルで再生しているサウンドを停止します。
Stops the sound playing in the channel.Returns:
Type Description void 指定されたオブジェクトのストリングを返します。
Returns the string representation of the specified object.- Default Value:
- [object Sound]
Returns:
Type Description string