FLV and Event Cue Points

Hi,
I am streaming and flv file with numerous event cue points.
When each cue point is reached I attach different movie clips. The
problem is I need to add custom fast forward and rewind buttons to
the video. I tried using netStream.seek(netStream.time +5) which
works, but it skips over the event cue points. So when you stop
fast forwarding the wrong movie clip is attached.
Is there another way to fast forward the video and still have
the event cue points recognized?
Thanks,
Caroline

if (index="introductionText")
I think you need double =, like this:
if (index=="introductionText")
-rich

Similar Messages

  • Actions  for  flv event cue point

    I have an flv playing back from component in a nested
    timeline (an actionscript 2 proj) and I want at the end of the
    video to gotoAndPlay the label"vidend" in the this timeline. I
    embedded the the event cue point called "end" on the last frame of
    video when I encoded it in my new CS3.I placed the following on the
    first frame of the nested timeline... The video plays fine but does
    not trigger the action. Any suggestions???...I 've found reams of
    info on navigation events but this is the result of everything I
    could find on the adobe site and I still not there.
    I'd really appreciate any direction anyone can give me.
    //leave this as is
    var listenerObject:Object = new Object();
    listenerObject.cuePoint = function(eventObject:Object):Void {
    //change this info..."end" is the name that you called your
    cuepoint when
    //you embedded it into the video
    if(eventObject.info.name == "end"){
    //tell your movie what you want it to do once your cuepoint
    has been hit
    this.gotoAndPlay("vidend");
    //_root.SessionPlay.mov_loadcard.gotoAndPlay("vidend");
    //my_FLVPB is the name of your video on the stage, the rest
    stays as is
    my_FLVPB.addEventListener("cuePoint", listenerObject);

    I have an flv playing back from component in a nested
    timeline (an actionscript 2 proj) and I want at the end of the
    video to gotoAndPlay the label"vidend" in the this timeline. I
    embedded the the event cue point called "end" on the last frame of
    video when I encoded it in my new CS3.I placed the following on the
    first frame of the nested timeline... The video plays fine but does
    not trigger the action. Any suggestions???...I 've found reams of
    info on navigation events but this is the result of everything I
    could find on the adobe site and I still not there.
    I'd really appreciate any direction anyone can give me.
    //leave this as is
    var listenerObject:Object = new Object();
    listenerObject.cuePoint = function(eventObject:Object):Void {
    //change this info..."end" is the name that you called your
    cuepoint when
    //you embedded it into the video
    if(eventObject.info.name == "end"){
    //tell your movie what you want it to do once your cuepoint
    has been hit
    this.gotoAndPlay("vidend");
    //_root.SessionPlay.mov_loadcard.gotoAndPlay("vidend");
    //my_FLVPB is the name of your video on the stage, the rest
    stays as is
    my_FLVPB.addEventListener("cuePoint", listenerObject);

  • Using event cue points to add buttons

    How do I go about having buttons display in an external flv file?  I know I can establish event cue points with Adobe media encoder.  I want the the buttons and graphics to appear and stay on the screen, even though the external flv loops.  Its been a long day and I have exhausted all other options, otherwise I would not have asked on here.  Thanks in advance.  Oh btw using Flash cs 5.5 and as 3.  thanks

    i just added x and y locations:
    Movie01.addEventListener(MetadataEvent.CUE_POINT,cuepointF);
    function cuepointF(e:MetadataEvent):void{
    trace(e.info.name);  // this will display your cuepoints when their dispatched.  you'll use if-statements below this line to add your buttons.  eg,
    if(e.info.name=="middle"){
    addChild(button1);  // assuming button1 is already created.
    button1.x=639;
    button1.y=140.5;
    it worked with no errors
    thanks again! 

  • End of FLV advance? Cue points

    Hi there.
    Have been playing around with cue points in MX2004pro to get
    my swf movie to advance once the FLV that it loaded was at its end.
    However, MX2004pro gets really confused if you use the display
    component in instances in different scenes to call different videos
    with their own cue points. (you can delete them and then they just
    always exist when you're on the component again. No reference to
    the 2nd and 3rd component's action script for cue points in script
    editor etc.) Only got the first one to work and its cue points work
    fine, but the others are hopeless. Is there any other way to
    advance & play the timeline once a FLV reached its end apart
    from cue points?

    >>Is there any other way to advance & play the
    timeline once a FLV
    reached its end apart from cue points?
    Yes, you can use the onStatus event of the NetStream object
    to know when
    play has stopped.
    Dave

  • Premiere, Media Encoder and Flash Cue Points - bug?

    I've been encoding a number of FLV On2 VP6 videos recently and using the new Media Encoder. For this project we need flash cue points (nav and event). I've discovered some weird things in Media Encoder - it's been duplicating cue points (or maybe the export from Premiere is buggy with cue points?).
    I've seen the first couple of cue points getting duplicated with the first letter of the name capitalised and moved a frame on in time - very weird.
    Anyone else seen this behaviour?
    Paul.

    OK, I think I've found out why - not a bug - user misunderstanding!!!  (although tricky to find!)
    Some of my source footage was created in After Effects. It turns out that there were a couple of cue points in the AE comp that had similar names to the cue points in Premiere - the AE comp was saved out to an AVI (with metadata enabled I think).
    Premiere wasn't seeing this metadata and the cue points, but Media Encoder was (and it couldn't be deleted in ME - just kept coming back).
    So - moral of the story - be careful with metadata!!!
    I guess that Premiere should really show this embedded data though?
    Paul.

  • Event Cue Points

    I am working with event cue points and I have it working with
    action script and embedded cue points. What I am trying to figure
    out is how to tie a specific events or movie clip with specific cue
    points. Right now all the movie clips play whenever I hit any cue
    point. I have not figured out how to tie specific cue points with
    specific events. Anyone have knowledge of this that can direct me
    properly. I would highly appreciate it. Thanks

    First of all thanks for the reply. I didn't explain myself
    well. I know about the stop frame on the first frame. My cue points
    are working. I want to be able to play different movies cued up at
    different times in the video. Right now all my movie clips play at
    all the cue points. I want a specific movie to play at a specific
    cue point then later in the video another different clip play at a
    difffent time element in the movie. Thanks. I really appreciate the
    help.

  • Director and viedo cue points

    In what formats After Effects can export cue points recognized by director?
    Thanks.

    Richard,
    Thanks for your reply. I know I need a listener to activate
    something when a cue point in my FLV is reached, it's just that
    I've never written the code for a listener before!
    If I can explain further what I intend to do...
    I will have an FLV called "advert01.flv" with a cue point at
    the very beginning called "start" being played in a FLVPlayback
    component with the instance name "ad_playback" . When the cue point
    "start" is reached (straight away) I want a dynamic text field with
    the var name "ad_description" to display some descriptive text.
    Would my code go along the lines of...
    ad_playback.onCuePointListener = function(){
    if cuePoint = "start"{
    ad_description="The advert is playing and is funny";
    ...or am I a million miles from getting it right?
    Thanks for your help.

  • VideoPlayer and adding Cue Points

    I'm having a tough time getting cue points to work with the new sparks VideoPlayer. In the documentation, it states that VideoDisplay has been replaced with VideoPlayer, but most of the examples on the web are for VideoDisplay.
    I'm calling the usual 2 classes from the mx namespace.
         import mx.events.CuePointEvent;
         import mx.controls.videoClasses.CuePointManager;
    then trying to dynamically add cue points like this:
    I then create an instance of the CuePointManager, with myVid [type sparks VideoPlayer]
         cuePointManager = new CuePointManager(myVid);
    then create a new cuePt Objectwith name and time properties and try to add it as a cue point:
         myVid.myCuePointManager.addCuePoint(cuePt);
    where
    - myVid is the VideoPlayer instance
    - myCuePointManager is an instance of CuePointManage
    - cuePt is an Object with name and time
    I get errors about cooercing myVid [type sparks VideoPlayer]
    1067: Implicit coercion of a value of type spark.components:VideoPlayer to an unrelated type mx.controls.videoClasses:VideoPlayer
    1119: Access of possibly undefined property cuePointManager through a reference with static type spark.components:VideoPlayer
    Can someone please be very kind and give me a nudge in the right direction. I've been pulling my hair on it for a day now, and couldn't find any tutorials specifically on the new sparks VideoPlayer and how to add dynamic cue points to it.
    Thanks,
    David
    P.S. Video is big on the web. I would say that sorting out the VideoPlayer should be one of the top priorities in the new version of the SDK.

    The short answer (and the official one) is that our new Spark VideoPlayer doens't support cuePoints.
    The longer answer is that as OSMF (Open Source Media Framework, which is what the Spark VideoDisplay/VideoPlayer components ship with) adds cue point support, you might be able to take a newer build of OSMF and start using cue points.  Here's some info on OSMF and cuePoints: http://blogs.adobe.com/osmf/2009/11/cue_point_support_in_osmf.html .  You could try taking one of their recent builds and playing around with it.  In order to bring those classes in to Flex, I'd probably reccomend monkey-patching on top of spark.components.VideoDisplay and changing a few things as some of the underlying OSMF APIs that Flex is dependent on have probably changed.  Then, you'd have to look at how to expose cuePoints from the spark VideoDisplay component.
    -Ryan

  • Final Cut Pro to Flash  -- Inserting and Using Cue Points

    I want to export a flash video using File - Export - Using Quick Time Conversion and selecting Flash. Under options for Flash, I see something about "Cue Points".
    My assumption is that these would be points that you can insert that are similar to chapter markers and that you could have the Flash player on a web page jump back and forth between them.
    Does anyone know of any documentation on inserting these points in Final Cut export? I couldn't figure it out. It looks like you give them a name and a timecode. I could not enter the timecode.
    How about over on the player side? I assume some sort ActionScript in Flash is required. Has anyone seen a simple example/tutorial of these capabilities?

    Apart from disabling time machine, iCal and any other programs or applications from taking focus. Time machine and software updates can certainly be told not to try as far as I recall.

  • Urgent-loading sound and setting cue point

    I'm trying to load an mps into a mediaDisplay component as i
    need to set cue points on the MP3, when i play the file there is a
    blip and the beginning:
    _root.createClassObject(MediaDisplay, "mdAudio",
    _global.intMovieDepth);
    _root.["mdAudio"].autoPlay = true;
    _root["mdAudio" + _global.intMovieDepth].setMedia(strMedia,
    "MP3");
    any ideas what i'm doing wrong?

    anyone?

  • Read and use cue point in mp3 file

    Hallo,
    it's possible to handle cue point in mp3 file with as3.
    If yes, any hint?
    Thank you.

    Thank you Ned,
    I've seen several exemple, the best I've found at: http://www.adobe.com/devnet/actionscript/articles/cue_points_audio.html
    return this error:
    Scene 1, layer 'scripts', Frame 1, Line 33 1046: Type was not found or was not a compile-time constant: CuePointEvent.
    Thanks again.

  • Flash and SoundBooth Cue Points

    I'm creating a swf with the lyrics to a native song. I used
    Soundbooth to edit the song and add markers, now I want Flash to
    take those markers to play a certain frame until the next marker is
    reached. What type of parameters (ie examples) are used in SB for
    the markers to be used in Flash.

    pisare az diar ghorbat

  • Using Cue Points to Navigate an FLV

    I am wanting to make a Scene selection menu. I have loaded
    and FLV and put cue points in at the desired times. I am having
    trouble writing the actionscript so that by pressing a button the
    movie will skip to a desired cue point

    sorry wrong section

  • Need .flv to pause on Cue Point usingActionScript 3

    I'm creating a presentaiton of a Google Earth flythru. At
    specific (cue) points I need the FLV to pause and then when the
    presenter pushes a key (space bar) the FLV continues to play. I
    have a good understanding of the Event Listener process for AS 3.0
    but am not sure how to address the the action of the pausing once
    the flv reaches the cue point. Does anyone know of any good
    tutorials? Or any helpful insight?
    Thanks,
    Mike

    NetStream events have nothing to do with cue points.
    onCuePoint method belongs to NetStream client. So, you will need
    something like this:
    client.onCuePoint = pointListener;
    function pointListener (cuePoint:Object):void {
    trace(cuePoint.name + " " + cuePoint.time);
    In a nutshell NetStream events are fired when changes occur
    in video delivery (buffer, start, pause, etc.) - not video content.
    More information:
    http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/NetStream.html
    As for your code, your syntax is not correct.
    You wrote: vid.addEventListener(NetStatusEvent.NET_STATUS,
    "myFirstCuePoint");
    If you listener function is myFirstCuePoint you need to
    write:
    vid.addEventListener(NetStatusEvent.NET_STATUS,
    myFirstCuePoint); - no quotes.
    Also, I don't use FLVPlayback - it has it's own methods and
    events. What I wrote pertains to the cases when NetSream and
    NetConnection are used stand alone.

  • FLV embeded cue points

    I cannot figure out how to get a embedded event cue point to
    advance to the next scene of a movie and have zero experience at
    writing action code. The event cue point is on the last frame of
    video and was encoded with Flash 8 video encoder. The application I
    am working on has three scenes. The first and third have audio and
    graphics. The second scene uses the FLVPlayback component to play
    the flv file. On test movie, the first scene plays fine and
    advances to the second where the video plays. When video is over
    the movie does not advance to the third scene. Thoughts? Any
    assistance would be greatly appreciated.

    I truly apperciate you assistance but I am still doing
    something wrong. I am getting the following error:
    **Error** Scene=Scene 2, layer=Actions, frame=1:Line 3:
    Identifier expected
    var.vidList : Object = new Object();
    I changed the name of the FLV instance to "vid" and changed
    the "vid.contentPath = peopleStyle.flv" for my video.
    Here's the code.
    vid.contentPath = video_PS.flv // put in your flv file here
    var.vidList : Object = new Object();
    vidList.Complete = function (){
    nextScene();// this is what will occur when the end of the
    video is reached
    vid.addEventListener ("Complete",vidList)
    T
    hanks again for your help.

Maybe you are looking for