get cue
private function gotCue(event:CuePointEvent):void{ //Updating the index and traces
index = cueArray.indexOf(event.cuePointTime);
ta.text+= "Cue Point Namen : "+event.cuePointName+"\n";
ta.text+= "Cue Point Time : "+event.cuePointTime+"\n";
ta.text+= "----------------------------------------------\n";
}
]]>
</mx:Script>
<mx:VideoDisplay id="myVD" source="http://cetec77.com/kannan/assets/Candy.flv" metadataReceived="addMetaCuePoints()"
cuePointManagerClass="mx.controls.videoClasses.CuePointManager" cuePoint="gotCue(event)">
<mx:cuePoints> <!-- MXML cuePoints -->
<mx:Array>
<mx:Object name="compileTimeCue0" time="1.00"/>
<mx:Object name="compileTimeCue1" time="2.45"/>
</mx:Array>
</mx:cuePoints>
</mx:VideoDisplay>