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

Similar Messages

  • 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

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

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

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

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

  • Rendering .flv with cue points but maintaining video size

    When I render an .flv by exporting in After Effects I cannot get cue points however when I import the .flv to a Flash doc, the controller is the same width as the video.
    However, in order to get cue points, you have to add the video to the Render Queue in AE in order to see the cue points in Flash. But the video controller ends up wider than the video itself when imported to Flash.
    My video is 495 wide by 360 high. When I render in AE in the Render Queue, and then import to a Flash doc, the video controller is about 30 pixels wider on both the left and right of the video. This looks goofy. Is their a way to resolve this?
    Thank you.

    Thank you for responding. I tried to but what happens is that that there is about 15 pixels of black space on the left and 15 pixels on the right side of he video. This does not happen when I export to Flash, only when I add to the Render Queue.
    So If I adjust the video size in Flash, the video size changes however the black space still remains. Somehow AE is creating extra space black space on both sides of the .flv. Again, this does not happen when export to .flv.

  • Exporting FLV With Cue Points In Adobe Premiere Pro CS5

    Hello
    I am currently using Adobe Premiere Pro CS5 to export to a FLV file with flash cue points. I have managed to do this but I also want to export (separately) a list of all the time codes of the cue points in the clip. I see that you can save the cue points to an xml file but it doesn't come up with the time codes (well it does, but it is in milliseconds and amongst other things). Is there any way I can save a list of the time codes of the cue points on my FLV file, rather than having to manually type it out?
    Thanks,
    Rvnistelrooy

    I don't think there is any easy way to do this, but one thing I could suggest is to export the metadata as an xml side car and then use the text editor to extract the times.  I'm not sure this would work, but it's worth a try.
    Cheers,
    Dennis

  • 1013 error for buttons finding cue points

    Using the code below I get an error message
    1013: The private attribute may be used only on class property definitions.

    import fl.video.*;
    // Video component instance name
    var flvControl:FLVPlayback = display;
    var flvSource:String = "lou.flv";
    // Set video
    flvControl.source = flvSource;
    // Add seek functionality to the button
    function seekHandler(event:MouseEvent):void
       flvControl.seekToNavCuePoint("lou1")
    seek_btn.addEventListener(MouseEvent.CLICK, seekHandler);
    seek_btn1.cuePointName = new String();
    seek_btn1.cuePointName = "lue1";
    seek_btn1.addEventListener(MouseEvent.CLICK, onButtonPress);
    seek_btn2.cuePointName = new String();
    seek_btn2.cuePointName = "lue2";
    seek_btn2.addEventListener(MouseEvent.CLICK, onButtonPress);
    // onButtonPress function
    private function onButtonPress(evt:MouseEvent):void {
         flvControl.seekToNavCuePoint(evt.target.cuePointName);

  • Cue points - listener vs event?

    I'm a little over my head here...
    I have a movie that loads an external flv. In the flv I have
    a cue point at
    the very end to mark the end of the movie. Once the flv is
    done playing,
    I'd like to advance to the next frame.
    There are a few posts here and there and I'm not sure if I'd
    be better
    testing for the end cue point with a listener or if it could
    be an event.
    Any help would be appreciated.
    I'm using Flash 8 Pro/PC

    David,
    >> There are a few posts here and there and I'm not
    sure
    >> if I'd be better testing for the end cue point with
    a
    >> listener or if it could be an event.
    Cue points are events, no matter how you handle them. There
    are three
    basic categeories of object functionality: properties
    (characteristics),
    methods (things the object can do), and events (things the
    object can react
    to). An "end" cuepoint is something your video object reacts
    to, so it's an
    event. How you *handle* (that is, manage) this event depends
    on how the
    object was written. Some objects, such as Button, TextField,
    and MovieClip
    instances require event handlers. Some require event
    listeners.
    I blogged on this just the other day, so for what it's
    worth, take a
    look here ...
    http://www.quip.net/blog/2006/flash/event-handlers-listeners
    Hope that helps.
    David
    stiller (at) quip (dot) net
    Dev essays:
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Cue point Woes.

    I just can't understand it. I've read though the help docs
    and looked at numerous code samples but i just can't find out what
    the hell i'm doing wrong. Help!
    ok. so on my stage i've got this.
    <mx:VideoDisplay
    x="438"
    y="11"
    width="400"
    height="300"
    id="theVideo"
    name="theVideo"
    playheadUpdate="updateTimer();"
    ready="theVideo_init();"
    cuePoint="theVideo_cuePoint(event)"
    />
    on my application initalize, i've got
    theVideo.source = "edit.flv";
    ..my video plays fine.
    I've got a button to set up cue points.
    private function updateCuePoints():void {
    var i:int = new int;
    for(i=0; i<1; i++) {
    var cueObj:Object = new Object;
    cueObj.cueTitle = "cue1";
    cueObj.cueTime = 10;
    createCuePoint(cueObj.cueTitle, cueObj.cueTime);
    private function createCuePoint(cTitle:String,
    cTime:String):void {
    var cuePt:Object = new Object(); //create cue point object
    cuePt.time = Number(cTime);
    cuePt.name = cTitle;
    cuePt.type = "actionscript";
    theVideo.cuePointManager.addCuePoint(cuePt); //add AS cue
    point
    this is where i get the error ...it insists i'm referencing a
    null object or method, but all the livedocs says otherwise. Also,
    that button is a manual click until i get this bloody thing
    working. (and no, its not clicked before the video is playing.)-
    Of course, I have my imports too..
    import mx.events.CuePointEvent;
    import mx.controls.videoClasses.CuePointManager;
    somebody PLEASE help :<

    Howdy,
    Firstly, I haven't got to video in Flex yet, but here's a
    crack at it for you.
    Looking at:
    cuePt.time = Number(cTime);
    cuePt.name = cTitle;
    cuePt.type = "actionscript";
    According to the
    CuePointManager reference, the function
    addCuePoint() requests the parameters:
    array - the Array of all cue points.
    index - the index into the Array for the returned cue point.
    Therefore, if I'm right, it's giving you the error because it
    has no idea what you mean by
    time, name or
    type.
    Hopefully, that helps you.
    Let me know how you go, and if I'm off the mark, I'll give it
    another look for you.
    Cheers.
    Oz

  • Cue Point Trigger

    I have actionscript below that works perfectly to trigger cue
    points in the order they fall...
    BUT...., for the life of me I can't figure out how to make
    it trigger from a specific cue point name. I have EVENT cue point
    named SPRING. I need that to trigger the timeline to go to and stop
    on frame 20.
    ANY HELP is greatly appreciated. I have researched this and
    worked on it for two days now.
    playback_media.contentPath =
    "rtmp://flash20.audiovideoweb.com/ca70fls25122/_definst_/Bouquet_400.flv";
    var playback_mediaList:Object = new Object();
    var playback_mediaList:Object = new Object();
    playback_media.cuePoint = function(cues) {
    gotoAndStop(20);
    playback_media.addEventListener("cuepoint",playback_mediaList);

    You don't even need a cuepoint to do this.
    Using the FLVComponent or the VideoPlayer object, use the
    "complete" event to execute code. You set up an event listener
    object to listen to the video object (using
    videoobject.addEventListener(listenerObject) ), and create a
    function for the listener object to do when the "complete" event
    occurs (such as listenerObject.complete = function() { do whatever
    Here's a link to a useful pdf about the VideoPlayer object.
    http://download.macromedia.com/pub/documentation/en/flash/fl8/VideoPlayer.pdf

  • Using cue points

    What is proper syntax and functions for dealing with cue points within an flv and what do the various parts mean and act?
    I want to have flv files with cue points in them that I can catch to do other things within the swf file and I want to know how to set them up on both ends including what needs importing, what type of events catch cue points and such..

    Ok, let's say that I made a cue point in an flv with Media Encoder
    which has the cuepoint name of wingsdown and the parameter of WI
    NGSDOWN  with a value of 0.  How would I be able to use that with an evenListener
    to get something to happen elswhere on the stage?

  • Calculating duration between cue point?

    I'm using Flash Pro CS3. My project is AS2 targeting FP8.
    I have an flv component on stage. My .flv has cue points and
    I have buttons underneath the component that show the title of each
    navigation cuepoint in a dynamic text field. I have another dynamic
    text field that shows the cuepoint time for each cuepoint,
    positioned next the the title of the cuepoint. That all works well
    but hoping to accomplish a bit more and can't find any code help.
    The three things I'm trying to do are:
    1. Instead of showing current time at a particular cuepoint,
    show the duration of the section/chapter, if you will. How can I
    calculate duration between two cuepoints and display it in my
    dynamic text field? Is there something I should do when
    encoding/adding the cuepoints or can I use AS with the cuepoints I
    have?
    2. Once I get that duration and have it display instead of
    the actual cuepoint time, have it countdown backwards when the
    playhead is in that "chapter"?
    3. Show these times in the mm:ss format?
    Thanks for any help or links you think might be helpful...
    -Scott

    Function Modules related to Date and Time Calculations
    CALCULATE_DATE : Calculates the future date based on the input .
    DATE_TO_DAY : Returns the Day for the entered date.
    DATE_COMPUTE_DAY : Returns weekday for a date
    DATE_GET_WEEK : Returns week for a date

  • Reading cue point parameters on video start

    Im trying to create a table of contents to navigate to various points in an .FLV file.  I've encoded the flv with cue points in media encoder. I've also added a parameter to each cue called toc_title with the lable that should represent the time in the video to jump to. It occurred to me though that those parameters might not be available to my flash player until the frame of the cue was reached. I need my toc to be visible when the video starts. First of all, is this entirely the wrong approach? I want to make this video player as dynamic as I can and would like to reuse it for several different videos with different TOCs. Is the parameter data set on cue points available at any time in the video playback or only when the cue is reached?  Thanks, John

    Hi John, You may receive more advice and help on the Flash forum. You can start a thread there or perhaps some threads may already be discussing your concerns.
    http://forums.adobe.com/community/flash/flash_general?view=discussions&start=0
    Hope that helps.
    eidnolb

Maybe you are looking for

  • Sharepoint foundation 2013, IIS Logging can't logging excel file problem

    Hello, I am new in SharePoint 2013,  When I was using SharePoint foundation 2010, I am using IIS for audit log. That can logging user name and what they clicked. some like: 2014-05-28 08:09:40 10.161.121.247 GET /folder/subfolder/file.PDF - 80 domain

  • Apple Newbie : Creating consistent material with Pages, Keynote, Web page

    Hi All, I am a recovering XP user with iLife and iWork developing materials for my business. I would like to project a uniform image from printed materials, to Keynote presentations, to web-site. I do not want to go down the wrong path - can someone

  • Orders on credit block for multiple times

    Released documents are unchecked is set up deviation of 5 % and no of days 30 in OVA8 and use static credit check. customer is over the credit limit, when i create an order will go on credit block. After first release, if i change any other fields su

  • In ALV  list box

    How to set the List box to the field in ALV Grid/List display.

  • Need some help regarding value date

    hiii experts...i want little clarification about value date and its effects... i searched scn and google but my issue is like...when we receive cheque today i.e 11/06/2014... it will be come in bank a/cs nearly on 14/06/2014... so if we write the val