Cue Point in FLV Help

I have a progresive flv with an instance name of myVid which
is already on the stage and set to autoplay via the component
parameters tab. When the video plays and gets to a cue point I want
the flv to pause. The cue point names (embedded when I used Flash
Video Encoder) are cp01, cp02, and cp03. The video doens't stop on
the specified cue point and instead just keeps playing. Can anyone
help me with my code? Is there a better way to do it? Here is what
I have so far:

necie,
> The video doens't stop on the specified cue point and
instead
> just keeps playing. Can anyone help me with my code?
This is definitely the best Adobe forum for your question,
but since you
happened to post in the General forum first, I answered your
thread there.
David Stiller
Adobe Community Expert
Dev blog,
http://www.quip.net/blog/
"Luck is the residue of good design."

Similar Messages

  • Need help with embedded cue points in FLV please (quickly/ :-))

    Here is my scenario - I have a flv streaming in a swf. All I
    want to do is to is call the cuepoint (event) in the flv, so that
    it will go to and play somewhere else further down the timeline of
    the swf - I don't think it should require much AS, but I haven't
    done much communication of this sort between an flv and it's parent
    swf. Any help would be greatly appreciated! Thanks.

    I figured it out. If anyone is interested, this the code snippet I found in Adobes help that allows you to access cue points and trigger events on flv's brought in with netstream:
    function onCuePoint(infoObject:Object):void
    trace("onCuePoint:");
    for (var propName:String in infoObject) {
    if (propName != "Run")
    RunCuePoint.visible=true
    else
    trace("parameters =");
    if (infoObject.parameters != undefined) {
    for (var paramName:String in infoObject.parameters)
    trace(" " + paramName + ": " + infoObject.parameters[paramName]);

  • Video cue point navigation please help

    OK I need major help here. I am trying to get a video to
    stream and show pictures that are cued to the video playing. The
    thing is I need to have a next and prev btn for the pictures and
    the video to go to the next and previous cue points. The cue points
    are inbedded in the FLV. Please help

    before the function add the following line:
    import fl.video.MetadataEvent;

  • How to insert cue point in flv with cloud applications

    Hello,
    I'm new in creative cloud.
    With my previous version of adobe suite, with adobe media encoder, it was possible to insert cue point.
    In Adobe media encoder CC 2014 it seems not to be possible.
    Could you help me?
    Thanks.

    Thank you again Dima!!!
    Now I've CS6 now but the only way that I see to have flv is: Creates (I'm translating from my language) => Flash, from menu file.
    I need to insert cue point ("navigation" like in Media Encore Cs5.5).
    But the only marker that I see in CS6 is named "Chapter" (translating form my language).
    If I create an flv file (like above) I obtain two different flv files (one for chapter).
    Is there a way to insert inside the flv file the "navigation" cue points?
    Thank you again Dima.

  • Worked out cue points now flV won't reset

    Hi all,
    I worked out how to put in and use cuepoints in my FLV video- I am baking them in with premiere.  I am using them to trigger events, but now I have wierd behaviour that when I stop and play the video it does not restart from the beginning..
    So I even went back in and put a nav cue point right at the start and put in a skip to cue command but now there is a second or so where it starts playing from where it left off and then goes back to the beginning..
    How can I get it to start from the beginning every time it plays?
    I really appreciate any help here, I have spent a day trying everything I can think of... looks like it is going to be a long night..
    I have tried using the .source command and haveing the film picked from the prefs.. no difference..
    I guess my next attempt will be to have a little balnd film and try to load that up in between..
    but there has got to be an easier way..
    when there were no cuepoints the .stop and .play commands would automatically make it start from the beginning.. I am hoping that this is something simple I am missing
    Cheers

    Ok so my workaround of having a blank film and using .source to load it up between playing the real film is working, but it seems a pretty silly solution.
    If anyone know how to do it properly I would like to know.
    cheers

  • Link to a cue point in flv

    Hi everyone, I imported a video into flash and set three
    navigation cue points. Is it possible to linke to these cuepoints
    using buttons on my stage?

    Ok, I seemed to have succesfully linked to the cuepoints
    using, for example, the code below.
    [CODE]
    programsa.addEventListener(MouseEvent.CLICK,programsaClick);
    function programsaClick(event:MouseEvent):void {
    movie1.seekToNavCuePoint("Programs");
    [/CODE]
    However, now I have another issue. The FLV is on frame 2 and
    I want to navigate to it using buttons on frame 1. However when I
    try the following:
    [CODE]
    programsa.addEventListener(MouseEvent.CLICK,programsaClick);
    function programsaClick(event:MouseEvent):void {
    gotoAndStop("movie");
    movie1.seekToNavCuePoint("Programs");
    [/CODE]
    I get the error:
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at videobig_fla::MainTimeline/programsClick()
    So, how can I tell a button to go to a cuepoint for a movie
    that's on a different frame?

  • Add cue points to FLV without recompressing

    Hello All,
    I'm using the standalone cs4 AME and I'm wondering if there is a way to add cue points to an existing FLV file and save it without recompressing. Seems like I must be missing something simple.
    Thanks,
    Rick

    Thanks Jim,
    I'll have to check the Flash workflow.
    I know in AME I can keep the same size and frame rate, so I figured somehow I could eliminate further compression.
    Moyea has a product that does this:
    "The program does not re-encode the files for output, making it using the original source file without compression. Since there is no conversion from the source file to the output file, you can create Flash videos with original quality."
    Just looking to use a simple tool I already own...

  • How do I create cue point in FLV component

    Ok team,
    I have a video clip that needs to have sound with it, I also want to put motion graphics at certain points in the clip using Flash.
    Ok so if I embed the clip into the timeline so that I can use another layer on top to do the graphics I get problems with the sound- I have even tried to have the sound as a separate file and play it using script starting the video and sound at the same time, but it gets out of whack..
    If I import the video externally there is no way I can see what is going on so that I can do the graphics on top....
    I am looking at adding cuepoints to the video to try to trigger my graphics in this way, it says online to go to the property inspector and right click on the cuepoints option, but when I go to the properties inspector it is telling me that this is not supported in AS3? so WTF! I am nearly ready to start punching myself in the head here...  The online Adobe help I am looking at is for Actionscript 3 compnents so something is goig very very wrong
    Please help, is there an easier way to do this?  I am compositing in Premiere pro and adding text but when I export as FLV it is looking fuzzy- and also the text becomes interactive at a later stage so it would be much better if it could happen in Flash.
    PLease please help
    Cheers
    sub

    The topic of audio / video syncing is often mentioned in the Forum. The usual suspect is the audio...." but it gets out of whack".
    That is a fundamental mis-understanding.. it's NOT the audio that gets out of whack... it's the video!
    You can embed video with (streaming type) sound into the main timeline and get very good syncing results provided you understand and build on the fact that the vdeo must match up and sync with the audio, NOT the other way around.
    For your review (from an earlier post):
    Also remember that it's the animation that gets out of sync, not the audio.
    The reason I say that is because the audio MUST play at one and only one frequency... or in other words, the audio will have an exact length of time that it takes to play the sound. If you shorten that time in an attempt to match the animation, that's sort of like pushing the sound together, that increases the frequency and raises the pitch... making it sound like Alvin and the Chipmunks.
    On the other hand, if you streeeeetch out the sound over a longer period of time, decreasing the frequency, you looowweer the pitch.
    So knowing that sound must play back at only one rate (or frequency), you'll need to match the animation to the playback speed (frequency) of the audio, not the other way around.
    While it's often recommeded that you not embed video into the main timeline because of this same audio/video syncing problem ("audio gets out of sync"), I've had no problems with syncing the audio and video as long as I set the Flash doc frame rate to exactly match the original video Frame rate (29.97 frames per sec for mini-DV).
    Here's an example of a video embedded directly into the timeline, yet the audio stays in sync.
    http://www.cidigitalmedia.com/tutorials/vid_sync/vid_sync.html
    Now I realize you may not be using video, but the principle is the same. Match the animation to the audio, not the other way around.
    This may mean that you need to play with the document frame rate to find the sweet spot where the audio and animation stay in sync. Test your .swf with higher and lower frame rates to see the effect. It may take some experimentaion but you should be able to greatly improve the sync.
    So in your case, if the video origianlly had audio with it (as many videos do), the frames per second of the Flash document must match exactly that of the original video or the video will either get ahead of the audio or fall behind the audio. Again, it's the video that is out of sync, NOT the audio.
    Best wishes,
    Adninjastrator

  • Streaming .flv cue point problem

    I’ve been working with Flash video with synced slide
    presentations since February, which have been exclusively download
    streaming, all based on the presentation available at the adobe web
    site:
    http://www.adobe.com/devnet/flash/articles/vidtemplate_corppreso.html
    My issue has come up when using this template with streaming
    flv’s, the buttons that I use to reference the cue points in
    the video and slides on the timeline do not work reliably;
    sometimes they will shuttle the video and slides to the correct
    point, usually they move the slides on timeline to the appropriate
    spot and the video jumps back to the beginning. Besides this
    sizable problem, the presentation plays the way it is supposed to.
    Is there a setting in the component inspector that I’m
    missing? Should I re-encode the video with Navigation cue points?
    Any help would be appreciated.
    L

    If you look at the source code for the first link you'll find this at line 71:
    <p id="player1" style="margin: 0px; padding: 0px; text-align:center;"><embed type="application/x-shockwave-flash" src="http://www.thebellyfatsolution.com/flvplayer.swf" style="" id="player1" name="player1" quality="high" wmode="transparent" allowscriptaccess="always" allowfullscreen="true" flashvars="height=390&amp;width=504&amp;file=http://www.thebellyfatsolution.com/beta/video/BellyFatFINAL_6_30_nL.flv&link=http://www.th ebellyfatsolution.com/beta/video/BellyFatFINAL_6_30_nL.flv" height="390" width="504"></p>
    <p><noscript>
    Apparently your video has been encapsulated in JWPlayer. You can find out more about JWPlayer here: http://www.longtailvideo.com/players
    This seems to be yet another solution to a problem that doesn't exist, and whoever runs that website fell for the sales pitch.

  • Cue Points Lost When FLV URL Is Relative

    hi all
    i've got an flv which i have put a cue point in at the end
    (to launch a new swf when the flv is finished). everything works
    fine but my contentPath displays an absolute url. when i change
    this to a relative url the cuePoints field goes blank and loses the
    information previously inserted.
    i need to upload the swf to a proof, development and live
    server so i need the url to be relative, but retain the cue point
    info.
    any help greatly appreciated.
    ;-)

    ok so i managed to get it working by bypassing the cue points
    in the flv, putting the following actionscript into the timeline
    and changing the flv contentPath to a relative location. while this
    works fine for a single action at the end of the film im still
    unsure what to do to retain the flv cuepoints when specifying a
    relative contentPath... any ideas?!
    var listenerObject:Object = new Object();
    listenerObject.complete = function(eventObject:Object):Void {
    // insert event-handling code here
    my_FLV.addEventListener("complete", listenerObject);

  • Flv cue points

    Hi all,
    I'm having a problem with the FLVPlayback
    component...everytime i call findCuePt it returns null
    (undefined)...
    i double checked that the cue points are enabled, and still
    no dice...is this because it's a navigation cue point?
    any help appreciated
    etg

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

  • 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.

  • Navigating from Cue Points in a FLV

    I am using Flash CS3 and AS2 on a PC. I am making a CD in Flash, for a client. The CD has videos, images and text. What I need is be able to go to the next scene once an FLV has finished playing. Also if a new FLV can be loaded once the curent ends. The FLV is in the FLVPlayback component. I need to add Cue Points which I can use to navigate with. The client would prefer a minimum of buttons, and thus auto navigation once a point is reached. I am not an expert with ActionScript, so please make your answers idiot friendly. I would prefer to avoid the need for me to use third party software or add-ons unless absolutely necessary. Thanks in advance.

    open the as2 help files, click on "actionscript 2.0 component language reference", click on flvplayback component and click on flvplayback class.  you only need to check the following sections:
    flvplayback.complete (to detect when an flv has completed play so you can start your next flv)
    flvplayback.addascuepoints (to add cuepoints that you can use to navigate).
    there is sample code in the help files.  copy the sample code and adjust the instance name(s) to match your project.  if you have any trouble, return with your code attempt and the issue.

  • Use cue points to automatically pause flv

    I have a video that I would like to make play in steps. I
    already have a custom flv playbar, so I would like to use cue
    points to control it
    Thanks in advance

    i am looking for this same answer. i am not a pro at flash
    but good enough to make my way around. Here is what I have done so
    far....
    using components i dragged the FLVPlayBack onto stage, i set
    the source of the playback to my flv. as of right now, 'cuepoints'
    is set to none. i'd like to be able to set in about 5 cue points
    and have them auto pause each time they come up. any help would be
    appreciated!
    thanks,
    travis

Maybe you are looking for