This event occurs for each caption at the timestamp of the caption.
captions (Array)
An array of strings, one for each language track.
speaker (Number)
Speaker index of the caption. A value of -1 means speaker is not defined.
Example AS1/AS2/AS3
client.onCaption = function(captions,speaker){

	trace('onCaption event at '+ns.time);
	trace(' Speaker index: '+speaker);

	for (var n=0;n<captions.length;n++){
		var str=captions[n];
		trace(' Caption for track '+n+' > "'+str+'"');
See also
Events Overview, onCaptionInfo
Online URL for this page is http://www.buraks.com/captionate/help/en/index.html?p=e4.html