A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Using Cue Points in FLV

  1. #1
    Junior Member
    Join Date
    Nov 2008
    Posts
    24

    Using Cue Points in FLV

    So I'm sort of a beginner and trying to do something that seems like it should be fairly simple, but am having trouble finding any help online.

    I used Adobe Media Encoder to put a cue point in my fly. The cue point is called CuePoint1.

    Basically I just want to have my video play until CuePoint1, and always pause at that point, then continue to play the video when the user clicks on a "next" movieclip (or button) on the stage.

    Help please?

  2. #2
    Dignitary rynoe's Avatar
    Join Date
    Jan 2003
    Location
    Earth
    Posts
    760
    This may be missing something but if I remember right:

    Code:
    import fl.video.MetadataEvent; 
    
    myVID.addEventListener(MetadataEvent.CUE_POINT, cp_listener);
    
    function cp_listener(e:MetadataEvent):void{
       if(e.name=="CuePoint1")
          myVID.stop();
    }
    [SIGPIC][/SIGPIC]

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center