![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
Flash Player 6; behavior updated in Flash Player 7.
my_sound
.ID3
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).
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 |
---|---|
|
Comment |
|
Album/movie/show title |
|
Beats per minute |
|
Composer |
|
Content type |
|
Copyright message |
|
Date |
|
Playlist delay |
|
Encoded by |
|
Lyricist/text writer |
|
File type |
|
Time |
|
Content group description |
|
Title/song name/content description |
|
Subtitle/description refinement |
|
Initial key |
|
Languages |
|
Length |
|
Media type |
|
Original album/movie/show title |
|
Original filename |
|
Original lyricists/text writers |
|
Original artists/performers |
|
Original release year |
|
File owner/licensee |
|
Lead performers/soloists |
|
Band/orchestra/accompaniment |
|
Conductor/performer refinement |
|
Interpreted, remixed, or otherwise modified by |
|
Part of a set |
|
Publisher |
|
Track number/position in set |
|
Recording dates |
|
Internet radio station name |
|
Internet radio station owner |
|
Size |
|
ISRC (international standard recording code) |
|
Software/hardware and settings used for encoding |
|
Year |
|
URL link frame |
Flash Player 6 supported several ID31.0 tags. If these tags are in not in the MP3 file, but corresponding ID3 2.0 tags are, the ID3 2.0 tags are copied into the ID3 1.0 properties, as shown in the following table. This process provides backward compatibility with scripts that you may have written already that read ID3 1.0 properties.
ID3 2.0 tag |
Corresponding ID3 1.0 property |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
See Sound.onID3
for an example of the use of this property.
Sound.attachSound()
, Sound.loadSound()
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |