Distance between cuepoints?

Hello!
I’m approaching deadline and have a little problem to solve.

I want to calculate the distance in time between two cuepoints in flv playback.

For example when the timecursor is between cuepoint 1 and cuepoint 2 I want to show some text, and when it’s between cuepoint 2 and 4 I want to show some other text.

Do you see where I’m going?
Thanx in advance for any help at all!!

Cheers! :thumb2: