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?

Similar Messages

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

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

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

  • 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

  • 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]);

  • 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

  • HTML link to FLV cue point

    I am reasonably new to Flash and would like to know if I can
    create a html link to a cue point in a flash video file or to a
    particular frame in a normal swf file. If so, what is the correct
    syntax?

    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?

  • Can you link flash buttons to a embedded cue point

    I have a video that I exported to flv with 10 embedded
    navigation cue points. I also have 10 buttons in a flash file that
    I would like to link to those cue points. I can't find any info on
    how to do that. I see info on making a cue point make a event
    happen, but nothing on linking a button to a cue point. Basically
    I'm looking for the same interaction as a DVD were the user clicks
    on a chapter they want and the video goes to it.

    There are players that will play a swf with volume mute stop start that sort of thing I downloaded one a couple of years ago  I don't recall where I got it.

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

  • FLV/Mp3 Cue Points for Accessing Frame Labels on the Main Timeline in Flash 8

    Hello,
    In Flash MX2004, creating cue points for syncing locations on
    flv and mp3 files to locations on the main timeline included:
    1) Dragging a media component onto the stage
    2) Entering file path, frame label name, and time code
    information in the component inspector
    3) Creating the frame label names on the main timeline, and
    4) Enabling the Media Labeled Frame Cue Point Navigation
    Behavior
    Flash 8 documentation details a considerably different
    process of creating cue points. While it discusses how to create
    cue points in the flv, I have not been able to locate how to enable
    linking locations in flv and mp3 files with frame labels on the man
    timeline. It appears that there would need to be ActionScript
    necessary to accomplish this that is not available in the docs.
    Please advise what ActionScript/process would enable this
    function.
    Thank you!
    James
    [email protected]

    I usually start off solving problems with the livedocs, as I
    recommend for anyone. The following link will take you to the
    NetStream.onCuePoint handler. This is what you need.
    http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context= LiveDocs_Parts&file=00002561.html
    You can have this code on the main timeline. When the
    cuepoint is hit, it will invoke this event handler and inside is
    where your gotoAndPlay( ) should go.
    Your other question about the text will get activated by the
    same handler. Just have a conditional statement (if, switch, etc.)
    to differentiate between the two events. The text itself can be
    mask inside a movieclip.
    Does this help?

  • Create navigation cue points in a FLV file using Media Encoder CC

    When I export a FLV file with Navigation cue points created in Media Encoder CC (by loading a cue points XML file), upon examining the file I see that the cue points are recorded as Event type cue points in the metadata at the top of the file.
    When I load the FLV file in Flash, I can receive cue point notifications using action script while the video is played, but cannot use seekToNavCuePoint to move the play head to one of the cue points, which accords them being Events rather than Navigation points.
    I am wondering if there are any other export settings which need to be particular values in order for navigation cue points to be created properly in the exported file?

    Lestyn, thanks for the verification.  Took me a frantic 4 hours to arrive at the same conclusion.  Do these people test their software???
    Maddening.

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

  • 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);

  • Displaying previous FLV cue point during scrubbing

    I have a single FLV that has 10 different scenes in it. I've
    been able to make a "credit" list for each scene by adding
    actionscript cue points in the FLV component, and displaying the
    info using dynamic text. It all works fine.
    Now I want the dynamic text to reflect the current scene when
    the end user scrubs through the video using the seek bar. (Or at
    least after the seek bar is released and the FLV begins to play
    again.)
    I just need a head start, I think.
    Thanks for listening!
    David

    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.

Maybe you are looking for