
onMarkerList
Description
This event occurs at time zero and lists all the markers that will follow.
Parameters
markers(Array)
An array of objects. Each object has two properties:
- timestamp (Number)
- label (String)
Note that the time values at which you'll receive the markers will be different than the values received in this event due to latency.
Example
nets.onMarkerList = function(markers){
trace('onMarkerList event at '+nets.time);
for (n=0;n<markers.length;n++){
obj=markers[n];
trace(' Marker '+n+' > '+
' Time: '+obj.timestamp+
' Label: "'+obj.label+'"');
}
}
See also
onMarker