Sound.ID3 629
Sound.getVolume()
Availability
Flash Player 5.
Usage
my_sound.getVolume()
Parameters
None.
Returns
An integer.
Description
Method; returns the sound volume level as an integer from 0 to 100, where 0 is off and 100 is full
volume. The default setting is 100.
See also
Sound.setVolume()
Sound.ID3
Availability
Flash Player 6; behavior updated in Flash Player 7.
Usage
my_sound.ID3
Description
Property (read-only); provides access to the metadata that is part of an MP3 file.
MP3 sound files can contain ID3 tags, which provide metadata about the file. If an MP3 sound
that you load using
Sound.attachSound() or Sound.loadSound() contains ID3 tags, you can
query these properties. Only ID3 tags that use the UTF-8 character set are supported.
Flash Player 6 release 40 and later use the
Sound.id3 property to support ID3 1.0 and ID3 1.1
tags. Flash Player 7 adds support for ID3 2.0 tags, specifically 2.3 and 2.4. For backward
compatibility, both
Sound.id3 and Sound.ID3 are supported. Code hints are supported only for
the lowercase use of id3 (see “Using code hints” on page 63).
The following table lists the standard ID3 2.0 tags and the type of content the tags represent; you
query them in the format
my_sound.ID3.COMM, my_sound.ID3.TIME, and so on. MP3 files can
contain tags other than those in this table;
Sound.ID3 provides access to those tags as well.
Property Description
COMM
Comment
TALB
Album/movie/show title
TBPM
Beats per minute