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
Содержание FLASH MX 2004 - ACTIONSCRIPT
Страница 1: ...ActionScript Reference Guide...
Страница 8: ...8 Contents...
Страница 12: ......
Страница 24: ...24 Chapter 1 What s New in Flash MX 2004 ActionScript...
Страница 54: ...54 Chapter 2 ActionScript Basics...
Страница 80: ...80 Chapter 3 Writing and Debugging Scripts...
Страница 82: ......
Страница 110: ...110 Chapter 5 Creating Interaction with ActionScript...
Страница 112: ......
Страница 120: ...120 Chapter 6 Using the Built In Classes...
Страница 176: ......
Страница 192: ...192 Chapter 10 Working with External Data...
Страница 202: ...202 Chapter 11 Working with External Media...
Страница 204: ......
Страница 782: ...782 Chapter 12 ActionScript Dictionary...
Страница 793: ...Other keys 793 221 222 Key Key code...
Страница 794: ...794 Appendix C Keyboard Keys and Key Code Values...
Страница 798: ...798 Appendix D Writing Scripts for Earlier Versions of Flash Player...
Страница 806: ...806 Appendix E Object Oriented Programming with ActionScript 1...
Страница 816: ...816 Index...