0 Replies Latest reply on Jul 8, 2008 6:53 AM by dremann

    Problem with CuePointManager

    dremann
      hi, maybe there is somebody, who is able to tell me, why the following isn't working:

      code is for as 3.0 in combination with flex and it deals with adding a CuePointManager to a VideoDisplay:

      var d : VideoDisplay = new VideoDisplay();
      d.source="video1.flv";
      d.autoplay=true;
      this.videoArea.addChild(d);
      d.cuePointManagerClass=mx.controls.videoClasses.CuePointManager;
      trace(d.cuePointManager);

      for some <mx:Panel id="videoArea" ................/>

      the trace method always returns "null" and so it seems like there is no cuePointManager associated with the videodisplay, so that it isn't possible to call methods like addCuePoint or setCuepoints on d.........
      how can i solve this problem?

      thank you in advance