To use the
Stream.play()
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);
}
64
Working With Media Files
method to capture and display the text of ID3 tags, see the
Need help?
Do you have a question about the FLASH MEDIA SERVER 2-DEVELOPING MEDIA and is the answer not in the manual?