0 Replies Latest reply on Apr 24, 2008 8:58 AM by Handycam

    Video Cue Point problem

    Handycam Level 1
      I have an FLV loaded into a video player component. The FLV has embedded cue points, from Flash video encoder:

      <mx:VideoDisplay id="vidScreen" cuePoint="cpHandler(event)" />

      And the handler:
      private function cpHandler(event:CuePointEvent):void {
      Alert.show(event.cuePointName);
      }

      It works, since the Alert boxes open on cue and show the name of the cue point. However, if I try to get the array of cue points with something like trace(vidScreen.cuePoints) I get null. I need to get the array, since I want to do something on each of the items in the array of cue points. What am I missing here?