<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">
<mx:VBox width="400" height="300">
<mx:Script>
import mx.events.CuePointEvent;
private function onCuePoint(event:CuePointEvent):void {
trace(event.cuePointName+" "+event.cuePointTime+" "+event.cuePointType+" ");
}
</mx:Script>
<mx:VideoDisplay id="vid" cuePoint="onCuePoint(event)"/>
</mx:VBox>
</mx:Application>
|