User Guide
64 Working With Media Files
To use the Stream.play() method to capture and display the text of ID3 tags, see the
following example:
// Set up the server stream
application.myStream = Stream.get("description");
application.myStream.onId3 = function(info)
{
for (i in info)
{
trace(i + ": " + info[i]);
}
}
if (application.myStream)
{
// Publish the ID3 text tag data of bolero.mp3 to a stream "description".
// Use the id3: prefix in front of the stream name and specify 0 for the
startTime parameter
application.myStream.play("id3:bolero", 0, -1);
}