FORUMS: list search recent posts

AS2, cuePoint, and FLVPlayback

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
AS2, cuePoint, and FLVPlayback
on Dec 11, 2005 at 4:23:15 am

Have been working with a class and have been trying to bring up ASCuepoints:

class FLVPlayer {
private var theVideo:FLVPlayback;

private function FLVPlayer ( mc:MovieClip) {
theVideo.addASCuepoint(3, "a cuepoint");
theVideo.addEventListener("cuePoint", EventDelegate.create(this, onaCuePoint));
theVideo.addEventListener("onPlayheadUpdate", EventDelegate.create(this, onPlayhead));

private function onaCuepoint(e:Object):Void{
trace("this never traces and is not working")
trace("I am expecting it to trace at 3 seconds");

private function onPlayhead(e:Object):Void{
trace("this always traces")

Does anyone have any idea why this is not working for cuepoint but is for playhead?

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved