03.05.2013 Views

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Property Description<br />

TSRC ISRC (international st<strong>and</strong>ard recording code)<br />

TSSE Software/hardware <strong>and</strong> settings used for<br />

encoding<br />

TYER Year<br />

WXXX URL link frame<br />

Flash Player 6 supported several ID31.0 tags. If these tags are in not in the MP3 file, but<br />

corresponding ID3 2.0 tags are, the ID3 2.0 tags are copied into the ID3 1.0 properties, as<br />

shown in the following table. This process provides backward compatibility with scripts that<br />

you may have written already that read ID3 1.0 properties.<br />

ID3 2.0 tag Corresponding ID3 1.0 property<br />

COMM Sound.id3.comment<br />

TALB Sound.id3.album<br />

TCON Sound.id3.genre<br />

TIT2 Sound.id3.songname<br />

TPE1 Sound.id3.artist<br />

TRCK Sound.id3.track<br />

TYER Sound.id3.year<br />

Example<br />

The following example traces the ID3 properties of song.mp3 to the Output panel:<br />

var my_sound:Sound = new Sound();<br />

my_sound.onID3 = function(){<br />

for( var prop in my_sound.id3 ){<br />

trace( prop + " : "+ my_sound.id3[prop] );<br />

}<br />

}<br />

my_sound.loadSound("song.mp3", false);<br />

See also<br />

attachSound (Sound.attachSound method), loadSound (Sound.loadSound method)<br />

loadSound (Sound.loadSound method)<br />

public loadSound(url:String, isStreaming:Boolean) : Void<br />

Sound 575

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!