Hi,
I had to tweak the expression a little to make it work correctly. Lloyd, the expression you gave me has one flaw : Opacity turns off as soon as the next marker is closer to the current marker, no matter its duration.
This seemed to work :
n = 0;
if (marker.numKeys > 0){
n = marker.nearestKey(time).index;
if (marker.key(n).time > time){
n--;
}
}
if (n == 0){
0;
} else {
(time >= marker.key(n).time && time <= (marker.key(n).time + marker.key(n).duration))?100:0;
}
Thanks,
Salvador