Graphics Flex



    
        
            import mx.utils.ObjectUtil;
            import mx.events.CuePointEvent;
            private function vidDisp_cuePoint(evt:CuePointEvent):void {
                var cuePointObj:Object = null;
                var obj:Object;
                var cuePointArr:Array = vidDisp.metadata.cuePoints;
                var idx:uint;
                var len:int = cuePointArr.length;
                for (idx = 0; idx < len; idx++) {
                    if (cuePointArr[idx].name == evt.cuePointName) {
                        cuePointObj = cuePointArr[idx];
                    }
                }
                trace(evt.cuePointName, ObjectUtil.toString(cuePointObj));
            }
      
    

                source="http://s.com/s.flv"
            cuePoint="vidDisp_cuePoint(event);" />