Flv cue points

Hello.
It’s first time i’m working with cue points and i have a problem. I’ve made a f4v with media encoder from cs4, i’ve added 3 cue points as events and some variables for each of them.
when onMetaData method is called i see 3 empty arrays for the cuePoints.
but the cuePoint method is never called.

any thoughts on this? i set:

ns.client = this;

and i have two methods:

function onMetaData
function onCuePoint